@provoly/dashboard 0.18.1 → 0.18.3
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/clear_filter.svg +12 -0
- package/assets/svgs/refresh_data.svg +15 -0
- package/assets/svgs/refresh_filter.svg +13 -0
- package/components/color-picker/color-picker.component.d.ts +58 -0
- package/components/color-picker/color-picker.module.d.ts +9 -0
- package/components/color-picker/index.d.ts +5 -0
- package/components/color-picker/public-api.d.ts +2 -0
- package/components/scheme-picker/index.d.ts +5 -0
- package/components/scheme-picker/public-api.d.ts +3 -0
- package/components/scheme-picker/scheme-picker.component.d.ts +34 -0
- package/components/scheme-picker/scheme-picker.module.d.ts +11 -0
- package/components/scheme-picker/scheme.service.d.ts +12 -0
- package/dataset/components/dataset-card/dataset-card.component.d.ts +11 -3
- package/dataset/i18n/en.translations.d.ts +1 -0
- package/dataset/i18n/fr.translations.d.ts +1 -0
- package/dataset/style/_o-pry-dataset-card.scss +16 -1
- package/dataset/style/_o-pry-dataset.scss +18 -3
- package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +7 -5
- package/esm2022/components/color-picker/color-picker.component.mjs +314 -0
- package/esm2022/components/color-picker/color-picker.module.mjs +20 -0
- package/esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs +5 -0
- package/esm2022/components/color-picker/public-api.mjs +3 -0
- package/esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs +5 -0
- package/esm2022/components/scheme-picker/public-api.mjs +4 -0
- package/esm2022/components/scheme-picker/scheme-picker.component.mjs +104 -0
- package/esm2022/components/scheme-picker/scheme-picker.module.mjs +22 -0
- package/esm2022/components/scheme-picker/scheme.service.mjs +47 -0
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +26 -9
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/dataset/components/dataset.component.mjs +3 -3
- package/esm2022/dataset/i18n/en.translations.mjs +2 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +2 -1
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/i18n/en.translations.mjs +6 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +6 -2
- package/esm2022/lib/core/model/widget-aggregated-chart-manifest.interface.mjs +1 -1
- package/esm2022/lib/core/model/widget-chart-manifest.interface.mjs +2 -1
- package/esm2022/lib/core/store/aggregation/backend-aggregation.service.mjs +4 -1
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +1 -1
- package/esm2022/restitution/components/restitution/restitution.component.mjs +11 -20
- package/esm2022/restitution/model/restitution.model.mjs +1 -1
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +149 -31
- package/esm2022/widgets/widget-aggregated-chart/i18n/en.translations.mjs +19 -2
- package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +19 -2
- package/esm2022/widgets/widget-aggregated-chart/widget-aggregated-chart.module.mjs +16 -5
- package/esm2022/widgets/widget-chart/i18n/en.translations.mjs +3 -2
- package/esm2022/widgets/widget-chart/i18n/fr.translations.mjs +3 -2
- package/fesm2022/provoly-dashboard-admin.mjs +6 -4
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-color-picker.mjs +337 -0
- package/fesm2022/provoly-dashboard-components-color-picker.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +171 -0
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-dataset.mjs +29 -14
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +10 -19
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +198 -35
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +4 -2
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +16 -2
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +4 -0
- package/lib/core/i18n/fr.translations.d.ts +4 -0
- package/lib/core/model/widget-aggregated-chart-manifest.interface.d.ts +7 -0
- package/lib/core/model/widget-chart-manifest.interface.d.ts +1 -0
- package/lib/core/store/data-source/data-source.model.d.ts +0 -2
- package/package.json +47 -35
- package/restitution/components/restitution/restitution.component.d.ts +0 -2
- package/restitution/model/restitution.model.d.ts +1 -1
- package/styles/components/_a-color-picker.scss +62 -0
- package/styles/components/_m-color-scheme.scss +20 -0
- package/styles/main.scss +2 -0
- package/styles-theme/components-theme/_o-pry-admin-classes-customize.theme.scss +4 -0
- package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +18 -5
- package/widgets/widget-aggregated-chart/i18n/en.translations.d.ts +17 -0
- package/widgets/widget-aggregated-chart/i18n/fr.translations.d.ts +17 -0
- package/widgets/widget-aggregated-chart/widget-aggregated-chart.module.d.ts +3 -1
- package/widgets/widget-chart/i18n/en.translations.d.ts +1 -0
- package/widgets/widget-chart/i18n/fr.translations.d.ts +1 -0
|
@@ -234,7 +234,11 @@ const enTranslations$1 = {
|
|
|
234
234
|
},
|
|
235
235
|
modalTitle: 'Do you want to confirm?',
|
|
236
236
|
itemId: 'Id',
|
|
237
|
-
class: 'Class'
|
|
237
|
+
class: 'Class',
|
|
238
|
+
colorScheme: 'Color scheme',
|
|
239
|
+
custom: 'Custom n°{{id}}',
|
|
240
|
+
addColor: 'Add color',
|
|
241
|
+
removeColor: 'Remove color'
|
|
238
242
|
},
|
|
239
243
|
view: {
|
|
240
244
|
name: 'Tab n°{{rank}}'
|
|
@@ -578,7 +582,11 @@ const frTranslations$1 = {
|
|
|
578
582
|
},
|
|
579
583
|
modalTitle: 'Voulez-vous confirmer ?',
|
|
580
584
|
itemId: 'Id',
|
|
581
|
-
class: 'Classe'
|
|
585
|
+
class: 'Classe',
|
|
586
|
+
colorScheme: 'Schéma de couleur',
|
|
587
|
+
custom: 'Personalisé n°{{id}}',
|
|
588
|
+
addColor: 'Ajouter une couleur',
|
|
589
|
+
removeColor: 'Supprimer une couleur'
|
|
582
590
|
},
|
|
583
591
|
view: {
|
|
584
592
|
name: 'Page n°{{rank}}'
|
|
@@ -1412,6 +1420,7 @@ var VegaType;
|
|
|
1412
1420
|
})(VegaType || (VegaType = {}));
|
|
1413
1421
|
var VegaColorType;
|
|
1414
1422
|
(function (VegaColorType) {
|
|
1423
|
+
VegaColorType["PROVOLY"] = "Provoly";
|
|
1415
1424
|
VegaColorType["ACCENT"] = "accent";
|
|
1416
1425
|
VegaColorType["SET2"] = "set2";
|
|
1417
1426
|
VegaColorType["DARK2"] = "dark2";
|
|
@@ -2163,6 +2172,7 @@ const enTranslations = {
|
|
|
2163
2172
|
api: 'API',
|
|
2164
2173
|
returnToList: 'Back to catalog',
|
|
2165
2174
|
refresh: 'Refresh',
|
|
2175
|
+
since_day: 'Last update :',
|
|
2166
2176
|
version: {
|
|
2167
2177
|
title: 'Title',
|
|
2168
2178
|
INDEXING: 'Loading',
|
|
@@ -2231,6 +2241,7 @@ const frTranslations = {
|
|
|
2231
2241
|
api: 'API',
|
|
2232
2242
|
returnToList: 'Retour au catalogue',
|
|
2233
2243
|
refresh: 'Actualiser',
|
|
2244
|
+
since_day: 'Dernière mise à jour :',
|
|
2234
2245
|
version: {
|
|
2235
2246
|
title: 'Intitulé',
|
|
2236
2247
|
INDEXING: 'En chargement',
|
|
@@ -5213,6 +5224,9 @@ class PryBackendAggregationService extends PryAggregationService {
|
|
|
5213
5224
|
if (options.groupBy) {
|
|
5214
5225
|
params = params.set('groupBy', options.groupBy.attribute);
|
|
5215
5226
|
}
|
|
5227
|
+
if (options.graph.sort) {
|
|
5228
|
+
params = params.set('sort', `${options.graph.sort.direction},${options.graph.sort.attribute === options.abscissa.attribute ? 'KEY' : 'VALUE'}`);
|
|
5229
|
+
}
|
|
5216
5230
|
params = this.searchService.getItemsFilter(targetDatasource, params);
|
|
5217
5231
|
const key = `${this.dataUrl}_${params.toString()}`;
|
|
5218
5232
|
if (!this.cache[key] || this.cache[key].time + 1000 < new Date().getTime()) {
|