Commit 8ca4f4d2 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

switched to dasf-web npm dependency

parent 6bf22154
{
"name": "de-app-template",
"name": "dasf-app-template",
"version": "0.0.1",
"description": "Application template for Digital Earth",
"description": "Application template for the data analytics software framework",
"author": "daniel.eggert@gfz-potsdam.de",
"private": true,
"scripts": {
"dev": "nuxt-ts",
"dev": "nuxt",
"dev-debug": "node --inspect node_modules/.bin/nuxt",
"build": "nuxt-ts build",
"build": "nuxt build",
"heroku-postbuild": "nuxt build",
"test": "jest",
"lint": "eslint . --ext .vue,.ts,.js",
"start": "nuxt-ts start",
"generate": "nuxt-ts generate"
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@digital-earth/frontend-framework": "../de-frontend-framework/",
"@mdi/font": "^4.9.95",
"@nuxt/typescript-runtime": "latest",
"@nuxtjs/axios": "^5.12.0",
"@nuxtjs/style-resources": "~1.0.0",
"axios": "^0.19.2",
"d3": "^5.16.0",
"@mdi/font": "5.9.55",
"@nuxtjs/axios": "5.13.6",
"@nuxtjs/style-resources": "1.1.0",
"dasf-web": "0.1.0",
"axios": "0.21.1",
"d3": "5.16.0",
"nuxt": "2.15.7",
"nuxt-client-init-module": "0.3.0",
"ol": "6.4.3",
"nuxt": "latest",
"nuxt-client-init-module": "^0.1.8",
"vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.0.0"
"vue-class-component": "7.2.6",
"vue-property-decorator": "9.1.2"
},
"devDependencies": {
"@nuxt/types": "^2.13.3",
"@nuxt/typescript-build": "latest",
"@nuxtjs/vuetify": "^1.11.2",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.135",
"@types/node": "11.13.7",
"@typescript-eslint/eslint-plugin": "~1.4.2",
"@types/ol": "^6.4.2",
"@vue/test-utils": "^1.0.0-beta.31",
"eslint": "~5.15.1",
"eslint-config-prettier": "~4.1.0",
"eslint-plugin-vue": "^5.2.3",
"jest": "~24.5.0",
"nodemon": "^1.18.11",
"prettier": "~1.16.4",
"stylus": "~0.54.5",
"stylus-loader": "~3.0.2",
"surge": "^0.21.3",
"typescript": "^3.9.7"
"@nuxt/types": "2.15.7",
"@nuxt/typescript-build": "2.1.0",
"@nuxtjs/vuetify": "1.12.1",
"@types/jest": "26.0.23",
"@types/lodash": "4.14.170",
"@types/node": "15.12.2",
"@typescript-eslint/eslint-plugin": "4.27.0",
"@types/ol": "6.4.2",
"@vue/test-utils": "1.2.1",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-vue": "7.11.1",
"jest": "27.0.4",
"nodemon": "2.0.7",
"prettier": "2.3.1",
"stylus": "0.54.8",
"stylus-loader": "6.1.0",
"surge": "0.23.0",
"typescript": "4.3.3"
}
}
<template>
<v-container style="margin-bottom: 35px">
<v-container style="margin-bottom: 35px; padding-top: 100px; padding-bottom: 20px;">
<v-overlay :value="progressReport != null && showProgress">
<v-card>
<progress-tree :progress="progressReport" title="Request Progress" />
......@@ -13,7 +13,7 @@
</v-card>
</v-overlay>
<v-row>
<!-- <v-row>
<demap
class="nav-offset"
show-osm
......@@ -49,6 +49,9 @@
>The response message is printed in the developer console only!
(ctrl+shift+i)</span
>
</v-row> -->
<v-row>
<radar-chart chart-title="radar chart" />
</v-row>
</v-container>
</template>
......@@ -61,18 +64,28 @@
<script lang='ts'>
import { Component, Vue } from 'vue-property-decorator';
import Demap from '@digital-earth/frontend-framework/lib/map/Demap.vue';
import ProgressTree from '@digital-earth/frontend-framework/lib/messaging/ProgressTree.vue';
import ExampleModuleMessaging from '@digital-earth/frontend-framework/lib/messaging/ExampleModuleMessaging';
import { PulsarProgressReport } from '@digital-earth/frontend-framework/lib/messaging/PulsarMessages';
// import Demap from 'dasf-web/lib/map/Demap.vue';
import RadarChart from 'dasf-web/lib/charts/RadarChart.vue';
import ProgressTree from 'dasf-web/lib/messaging/ProgressTree.vue';
import ExampleModuleMessaging from 'dasf-web/lib/messaging/ExampleModuleMessaging';
import { PulsarProgressReport } from 'dasf-web/lib/messaging/PulsarMessages';
@Component({
components: { Demap, ProgressTree },
components: { RadarChart, ProgressTree },
})
export default class Workflow extends Vue {
private exampleModule: ExampleModuleMessaging = new ExampleModuleMessaging();
private progressReport: PulsarProgressReport = null;
private showProgress = false;
private radarChartData: Map<string, Map<string, number>> = Workflow.initData();
private static initData(): Map<string, Map<string, number>> {
const e1 = new Map([['size', 3], ['height', 10], ['width', 100]]);
const e2 = new Map([['size', 1], ['height', 20], ['width', 20]]);
const e3 = new Map([['size', 2], ['height', 5], ['width', 10]]);
return new Map([['first', e1], ['second', e2], ['third', e3]]);
}
protected sendRequest(): void {
this.showProgress = true;
......
import DEFramework from '@digital-earth/frontend-framework/lib/DEFrameworkInit';
import DEFramework from 'dasf-web/lib/DEFrameworkInit';
DEFramework.init();
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment