@provoly/dashboard 0.15.12 → 0.18.0

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.
Files changed (36) hide show
  1. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +3 -3
  2. package/esm2022/dataset/i18n/en.translations.mjs +2 -2
  3. package/esm2022/dataset/i18n/fr.translations.mjs +2 -2
  4. package/esm2022/lib/core/errors/http-error-interceptor.service.mjs +2 -2
  5. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  6. package/esm2022/lib/core/store/aggregation/frontend-aggregation/frontend-aggregation.service.mjs +1 -3
  7. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +15 -8
  8. package/esm2022/search/search-home/search-home.component.mjs +3 -3
  9. package/esm2022/search/style/css.component.mjs +2 -2
  10. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +4 -4
  11. package/esm2022/widgets/widget-aggregated-chart/i18n/en.translations.mjs +3 -3
  12. package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +3 -3
  13. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +19 -18
  14. package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +47 -35
  15. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +2 -2
  16. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  17. package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
  18. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  19. package/fesm2022/provoly-dashboard-presentation.mjs +14 -7
  20. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  21. package/fesm2022/provoly-dashboard-search.mjs +4 -4
  22. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  23. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +7 -7
  24. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  25. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +64 -51
  26. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  27. package/fesm2022/provoly-dashboard.mjs +3 -5
  28. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  29. package/lib/core/model/widget-map-manifest.interface.d.ts +1 -0
  30. package/package.json +31 -31
  31. package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +1 -0
  32. package/search/style/_o-pry-search-home.scss +1 -1
  33. package/styles/components/_a-tooltip.scss +2 -2
  34. package/styles/components/_o-pry-card.scss +8 -1
  35. package/styles/components/_o-pry-expand-panel.scss +2 -2
  36. package/widgets/widget-map/utils/widget-map.utils.d.ts +2 -7
@@ -26,6 +26,7 @@ export interface BaseWidgetMapLayerOptions {
26
26
  maxZoom?: number;
27
27
  opacity?: number;
28
28
  order?: number;
29
+ background?: boolean;
29
30
  }
30
31
  export interface MapWidgetHeatMapLayerOptions extends BaseWidgetMapLayerOptions {
31
32
  type: 'heatmap';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.15.12",
3
+ "version": "0.18.0",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -85,18 +85,18 @@
85
85
  "esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
86
86
  "default": "./fesm2022/provoly-dashboard-admin.mjs"
87
87
  },
88
- "./dataset": {
89
- "types": "./dataset/index.d.ts",
90
- "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
91
- "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
92
- "default": "./fesm2022/provoly-dashboard-dataset.mjs"
93
- },
94
88
  "./import": {
95
89
  "types": "./import/index.d.ts",
96
90
  "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
97
91
  "esm": "./esm2022/import/provoly-dashboard-import.mjs",
98
92
  "default": "./fesm2022/provoly-dashboard-import.mjs"
99
93
  },
94
+ "./dataset": {
95
+ "types": "./dataset/index.d.ts",
96
+ "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
97
+ "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
98
+ "default": "./fesm2022/provoly-dashboard-dataset.mjs"
99
+ },
100
100
  "./notification": {
101
101
  "types": "./notification/index.d.ts",
102
102
  "esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
@@ -139,30 +139,6 @@
139
139
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
140
140
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
141
141
  },
142
- "./filters/date": {
143
- "types": "./filters/date/index.d.ts",
144
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
145
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
146
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
147
- },
148
- "./filters/list": {
149
- "types": "./filters/list/index.d.ts",
150
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
151
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
152
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
153
- },
154
- "./filters/number": {
155
- "types": "./filters/number/index.d.ts",
156
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
157
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
158
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
159
- },
160
- "./filters/text": {
161
- "types": "./filters/text/index.d.ts",
162
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
163
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
164
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
165
- },
166
142
  "./components/card": {
167
143
  "types": "./components/card/index.d.ts",
168
144
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -205,6 +181,30 @@
205
181
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
206
182
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
207
183
  },
184
+ "./filters/date": {
185
+ "types": "./filters/date/index.d.ts",
186
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
187
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
188
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
189
+ },
190
+ "./filters/list": {
191
+ "types": "./filters/list/index.d.ts",
192
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
193
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
194
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
195
+ },
196
+ "./filters/number": {
197
+ "types": "./filters/number/index.d.ts",
198
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
199
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
200
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
201
+ },
202
+ "./filters/text": {
203
+ "types": "./filters/text/index.d.ts",
204
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
205
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
206
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
207
+ },
208
208
  "./pipeline-components/filter": {
209
209
  "types": "./pipeline-components/filter/index.d.ts",
210
210
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -23,6 +23,7 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
23
23
  ngOnInit(): void;
24
24
  ngAfterViewInit(): void;
25
25
  save(): void;
26
+ dispatchSave(): ManifestDescription;
26
27
  configureDashboard(selectedPresentation: ManifestDescription): void;
27
28
  addMetadata(metadata: MetaEventType): void;
28
29
  removeMetadata(metadata: MetaEventType): void;
@@ -15,7 +15,7 @@
15
15
  overflow: auto;
16
16
 
17
17
  &__card {
18
- overflow: auto;
18
+ //overflow: auto;
19
19
  max-height: 100%;
20
20
 
21
21
  &__load {
@@ -47,8 +47,8 @@
47
47
  transform: translate(-50%, -4px);
48
48
  }
49
49
 
50
- &[data-tooltip-position="bottom"]::after {
51
- top: calc(100%);
50
+ &[data-tooltip-position="bottom"]::after {
51
+ top: calc(100%);
52
52
  left: 50%;
53
53
  -webkit-transform: translate(-50%, 8px);
54
54
  transform: translate(-50%, 8px);
@@ -6,7 +6,7 @@
6
6
 
7
7
  .o-pry-card {
8
8
  display: block;
9
- overflow-x: hidden;
9
+ //overflow-x: hidden;
10
10
 
11
11
  .o-pry-card-header {
12
12
  display: flex;
@@ -39,6 +39,13 @@
39
39
  font-size: toRem(12);
40
40
  border-width: 1px;
41
41
  border-radius: toRem(15);
42
+
43
+ &.-override-tooltip-position {
44
+ &::after {
45
+ top: calc(100%);
46
+ left: -150%;
47
+ }
48
+ }
42
49
  }
43
50
 
44
51
  &__text {
@@ -26,11 +26,11 @@
26
26
  }
27
27
 
28
28
  &__content-wrapper {
29
- overflow: auto;
29
+ //overflow: auto;
30
30
  }
31
31
 
32
32
  &__content {
33
- overflow: hidden;
33
+ //overflow: hidden;
34
34
  max-height: toRem(540);
35
35
  }
36
36
  }
@@ -2,12 +2,6 @@ import { Attribute, Class, Field, Item, MapWidgetLayerOptions, Relation, ResultS
2
2
  import { Feature, Map } from 'ol';
3
3
  import { Circle, LineString, Point } from 'ol/geom';
4
4
  import { Style } from 'ol/style';
5
- export type LatLonCandidate = {
6
- min: number;
7
- max: number;
8
- name: string;
9
- type: string;
10
- };
11
5
  export declare const populateLocationAttribute: (layer: MapWidgetLayerOptions, resultSet: ResultSet, classesNotFiltered: Class[], fields: Field[]) => void;
12
6
  export declare const populateIntensityAttribute: (layer: MapWidgetLayerOptions, resultSet: ResultSet, classesNotFiltered: Class[], fields: Field[]) => void;
13
7
  export declare const getFeatureFromItem: (item: Item, type: string, locationAttribute: Attribute, iconStyle?: Style, selectedIconStyle?: Style) => Feature<import("ol/geom/Geometry").default>;
@@ -16,10 +10,11 @@ export declare const getLinkFeature: (relation: Relation, featureSource: Feature
16
10
  export declare const getMapAsPng: (map: Map) => Promise<string>;
17
11
  export declare const exportMapAsImage: (map: Map, filename: string) => void;
18
12
  export declare const geometryForLayer: (layer: MapWidgetLayerOptions) => string;
19
- export declare const getLayerOrder: (layer: MapWidgetLayerOptions, index: number, array: MapWidgetLayerOptions[]) => number;
13
+ export declare const assignLayersOrder: (_layers: MapWidgetLayerOptions[]) => MapWidgetLayerOptions[];
20
14
  export declare const DEFAULT_HEATMAP_RADIUS = 25;
21
15
  export declare const DEFAULT_RADIUS_INTENSITY_FACTOR = 10000;
22
16
  export declare const DEFAULT_ZOOM_MIN = 3;
23
17
  export declare const DEFAULT_ZOOM_START = 10;
24
18
  export declare const DEFAULT_ZOOM_MAX = 18;
25
19
  export declare const DEFAULT_MAP_CENTER: number[];
20
+ export declare const BACKGROUND_ORDER = 9999;