@provoly/dashboard 0.12.3 → 0.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/svgs/datasource.svg +4 -0
- package/assets/svgs/datasources.svg +4 -0
- package/assets/svgs/loader.svg +13 -0
- package/dataset/style/_o-pry-dataset-detail.scss +11 -2
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/upload/upload.component.mjs +1 -1
- package/esm2022/lib/core/i18n/en.translations.mjs +3 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +3 -2
- package/esm2022/lib/dashboard/components/dashboard.component.mjs +4 -3
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -2
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +4 -3
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +19 -2
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +4 -2
- package/esm2022/pipeline/components/pipeline-list/pipeline-list.component.mjs +1 -7
- package/esm2022/pipeline/factory/pipeline-component-factory.service.mjs +5 -5
- package/esm2022/pipeline-components/filter/filter.module.mjs +2 -2
- package/esm2022/pipeline-components/filter/node-class/filter-node.class.mjs +2 -2
- package/esm2022/pipeline-components/input-datasource/input-datasource.module.mjs +2 -2
- package/esm2022/pipeline-components/input-datasource/node-class/input-datasourse-node.class.mjs +2 -2
- package/esm2022/pipeline-components/noop/noop.module.mjs +2 -2
- package/esm2022/pipeline-components/output-dataset/output-dataset.module.mjs +2 -2
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +2 -2
- package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +2 -2
- package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-noop.mjs +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-noop.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline.mjs +5 -11
- package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +2 -2
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +32 -8
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +1 -0
- package/lib/core/i18n/fr.translations.d.ts +1 -0
- package/lib/dashboard/components/dashboard.component.d.ts +1 -0
- package/lib/dashboard/store/dashboard.actions.d.ts +3 -2
- package/lib/dashboard/store/dashboard.effects.d.ts +1 -0
- package/lib/dashboard/store/dashboard.reducers.d.ts +1 -0
- package/lib/dashboard/store/dashboard.selectors.d.ts +16 -0
- package/package.json +42 -38
- package/pipeline/components/pipeline-list/pipeline-list.component.d.ts +1 -2
- package/pipeline/factory/pipeline-component-factory.service.d.ts +1 -2
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +202 -0
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/index.spec.d.ts +1 -0
- package/schematics/ng-add/index.spec.js +42 -0
- package/schematics/ng-add/index.spec.js.map +1 -0
- package/schematics/ng-add/schema.d.ts +10 -0
- package/schematics/ng-add/schema.js +3 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-add/schema.json +62 -0
- package/schematics/utils/file-contents.function.d.ts +2 -0
- package/schematics/utils/file-contents.function.js +12 -0
- package/schematics/utils/file-contents.function.js.map +1 -0
- package/schematics/utils/package-json.interface.d.ts +6 -0
- package/schematics/utils/package-json.interface.js +3 -0
- package/schematics/utils/package-json.interface.js.map +1 -0
- package/styles-theme/components-theme/_o-dashboard.theme.scss +12 -0
- package/styles-theme/main-theme.scss +1 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Setup the project for @provoly/dashboard use",
|
|
3
|
+
"properties": {
|
|
4
|
+
"projectName": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"x-prompt": "What is your project name ? (leave blank for manual addition)",
|
|
7
|
+
"default": ""
|
|
8
|
+
},
|
|
9
|
+
"widgets": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"description": "Widgets",
|
|
12
|
+
"x-prompt": {
|
|
13
|
+
"type": "list",
|
|
14
|
+
"message": "Which widgets would you like to include ?",
|
|
15
|
+
"multiselect": true,
|
|
16
|
+
"items": [
|
|
17
|
+
"widget-aggregated-chart",
|
|
18
|
+
"widget-detail",
|
|
19
|
+
"widget-graph",
|
|
20
|
+
"widget-iframe",
|
|
21
|
+
"widget-image",
|
|
22
|
+
"widget-map",
|
|
23
|
+
"widget-table",
|
|
24
|
+
"widget-template",
|
|
25
|
+
"widget-tile"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"default": []
|
|
29
|
+
},
|
|
30
|
+
"pipeline": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Using pipelines",
|
|
33
|
+
"x-prompt": "Do you want to include pipelines ?",
|
|
34
|
+
"default": false
|
|
35
|
+
},
|
|
36
|
+
"pryUrl": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"x-prompt": "What is your backend url ? (blank for none)",
|
|
39
|
+
"default": ""
|
|
40
|
+
},
|
|
41
|
+
"path": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"x-prompt": "Want a simple path for dashboards ? (blank for none, else route)",
|
|
44
|
+
"default": ""
|
|
45
|
+
},
|
|
46
|
+
"mapUrl": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"x-prompt": "What is your map server url ? (blank for none)",
|
|
49
|
+
"default": ""
|
|
50
|
+
},
|
|
51
|
+
"wsServerUrl": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"x-prompt": "What is your websocket server url ? (blank for none)",
|
|
54
|
+
"default": ""
|
|
55
|
+
},
|
|
56
|
+
"geoServerUrl": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"x-prompt": "What is your geoserver url ? (for geolayers - blank for none)",
|
|
59
|
+
"default": ""
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFileContent = void 0;
|
|
4
|
+
function getFileContent(tree, filePath) {
|
|
5
|
+
const contentBuffer = tree.read(filePath);
|
|
6
|
+
if (!contentBuffer) {
|
|
7
|
+
throw new Error(`Cannot read "${filePath}" because it does not exist.`);
|
|
8
|
+
}
|
|
9
|
+
return contentBuffer.toString();
|
|
10
|
+
}
|
|
11
|
+
exports.getFileContent = getFileContent;
|
|
12
|
+
//# sourceMappingURL=file-contents.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-contents.function.js","sourceRoot":"","sources":["../../../../../projects/provoly/dashboard/schematics/utils/file-contents.function.ts"],"names":[],"mappings":";;;AAEA,SAAgB,cAAc,CAAC,IAAU,EAAE,QAAgB;IACzD,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAE1C,IAAI,CAAC,aAAa,EAAE;QAClB,MAAM,IAAI,KAAK,CAAC,gBAAgB,QAAQ,8BAA8B,CAAC,CAAC;KACzE;IAED,OAAO,aAAa,CAAC,QAAQ,EAAE,CAAC;AAClC,CAAC;AARD,wCAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-json.interface.js","sourceRoot":"","sources":["../../../../../projects/provoly/dashboard/schematics/utils/package-json.interface.ts"],"names":[],"mappings":""}
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
/* Organisms */
|
|
37
37
|
@use 'components-theme/o-card.theme' as *;
|
|
38
38
|
@use 'components-theme/o-catalog.theme' as *;
|
|
39
|
+
@use 'components-theme/o-dashboard.theme' as *;
|
|
39
40
|
@use 'components-theme/o-date-picker.theme' as *;
|
|
40
41
|
@use 'components-theme/o-datasources.theme' as *;
|
|
41
42
|
@use 'components-theme/o-draggable-menu.theme' as *;
|