@provoly/dashboard 0.21.4 → 0.21.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/layers.svg +3 -2
- package/assets/svgs/legend.svg +14 -3
- package/dataset/style/_o-pry-dataset.scss +6 -9
- package/esm2022/dataset/components/dataset.component.mjs +3 -3
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/store/field/field.interface.mjs +2 -1
- package/esm2022/lib/core/store/search/search.reducer.mjs +2 -2
- package/esm2022/lib/dashboard/components/widgets/widget-instanciator/widget-instanciator.component.mjs +12 -3
- package/esm2022/lib/dashboard/dashboard.module.mjs +5 -4
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +3 -2
- package/esm2022/lib/dashboard/store/manifest.service.mjs +4 -3
- package/esm2022/notification/components/notification/content/notification-content.component.mjs +12 -8
- package/esm2022/notification/components/notification/notification.component.mjs +2 -1
- package/esm2022/notification/style/css.component.mjs +2 -2
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +3 -3
- package/esm2022/presentation/components/presentation.component.mjs +11 -9
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution/restitution.component.mjs +5 -5
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +12 -6
- package/esm2022/toolbox/components/share/share.component.mjs +8 -5
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +57 -17
- package/esm2022/widgets/widget-map/i18n/en.translations.mjs +5 -2
- package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +5 -2
- package/esm2022/widgets/widget-map/interaction/interaction-manager.class.mjs +3 -2
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +12 -4
- package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +3 -2
- package/fesm2022/provoly-dashboard-dataset.mjs +4 -4
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-notification.mjs +14 -9
- package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +14 -12
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +8 -8
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +17 -8
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +80 -27
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +22 -10
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/manifest.interface.d.ts +3 -1
- package/lib/core/store/field/field.interface.d.ts +1 -0
- package/lib/dashboard/components/widgets/widget-instanciator/widget-instanciator.component.d.ts +1 -0
- package/lib/dashboard/store/dashboard.actions.d.ts +3 -0
- package/lib/dashboard/store/manifest.service.d.ts +2 -1
- package/notification/components/notification/content/notification-content.component.d.ts +4 -2
- package/notification/style/_m-notifications.scss +6 -7
- package/package.json +24 -24
- package/presentation/components/presentation.component.d.ts +3 -1
- package/presentation/style/_o-pry-presentation.scss +0 -16
- package/restitution/components/restitution/restitution.component.d.ts +1 -1
- package/restitution/style/_o-restitution.scss +12 -42
- package/styles/components/_a-page-loader.scss +1 -1
- package/styles/components/_o-pry-stepper.scss +9 -10
- package/styles/components/_o-widget.scss +7 -3
- package/styles/layout/_o-manifest-layout.scss +20 -0
- package/styles-theme/components-theme/_o-widget.theme.scss +1 -1
- package/toolbox/components/save-view/save-view.component.d.ts +3 -2
- package/toolbox/components/share/share.component.d.ts +2 -1
- package/widgets/widget-chart/component/widget-chart.component.d.ts +1 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +5 -1
- package/widgets/widget-map/i18n/en.translations.d.ts +3 -0
- package/widgets/widget-map/i18n/fr.translations.d.ts +3 -0
- package/widgets/widget-map/style/_o-layer-legend.scss +43 -54
- package/widgets/widget-map/utils/cql-utils.class.d.ts +2 -2
- package/widgets/widget-map/utils/widget-map.utils.d.ts +2 -0
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
@use '../../../styles/abstracts/index' as *;
|
|
2
2
|
|
|
3
|
-
.m-layer-
|
|
3
|
+
.m-map-layer-action {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: toRem(6);
|
|
4
6
|
z-index: 2;
|
|
5
7
|
right: toRem(8);
|
|
6
8
|
|
|
7
9
|
&.ol-control {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: flex-start;
|
|
11
|
-
|
|
12
10
|
border: none;
|
|
13
|
-
background:
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
button {
|
|
17
|
-
background-color: #fafafa !important;
|
|
18
|
-
color: black;
|
|
11
|
+
background-color: transparent;
|
|
19
12
|
}
|
|
20
13
|
|
|
21
14
|
.-hidden {
|
|
@@ -23,17 +16,45 @@
|
|
|
23
16
|
}
|
|
24
17
|
|
|
25
18
|
&__toggle {
|
|
26
|
-
|
|
19
|
+
order: 2;
|
|
27
20
|
width: toRem(30);
|
|
28
21
|
height: toRem(30);
|
|
29
22
|
}
|
|
30
23
|
|
|
24
|
+
button {
|
|
25
|
+
background-color: #fafafa !important;
|
|
26
|
+
color: #113b6e;
|
|
27
|
+
}
|
|
28
|
+
|
|
31
29
|
&__title {
|
|
32
30
|
display: flex;
|
|
33
31
|
flex-direction: row;
|
|
34
32
|
align-items: center;
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
background-color: #fafafa !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__container {
|
|
42
|
+
color: #113b6e;
|
|
35
43
|
background-color: white;
|
|
36
|
-
|
|
44
|
+
border-radius: toRem(2);
|
|
45
|
+
padding: toRem(5) toRem(8);
|
|
46
|
+
|
|
47
|
+
.a-h4 {
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
button.m-map-layer-action__toggle {
|
|
52
|
+
border-radius: 50%;
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
outline: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
37
58
|
}
|
|
38
59
|
|
|
39
60
|
&__image {
|
|
@@ -47,53 +68,21 @@
|
|
|
47
68
|
}
|
|
48
69
|
}
|
|
49
70
|
|
|
50
|
-
.m-layer-
|
|
51
|
-
z-index: 2;
|
|
52
|
-
right: toRem(8);
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
align-items: normal;
|
|
56
|
-
|
|
57
|
-
&.ol-control {
|
|
58
|
-
border: none;
|
|
59
|
-
background: white;
|
|
60
|
-
align-self: flex-end;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
button {
|
|
64
|
-
background-color: #fafafa !important;
|
|
65
|
-
color: black;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.-hidden {
|
|
69
|
-
display: none;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&__toggle {
|
|
73
|
-
width: toRem(30);
|
|
74
|
-
height: toRem(30);
|
|
75
|
-
align-self: flex-end;
|
|
76
|
-
}
|
|
77
|
-
|
|
71
|
+
.m-layer-legend {
|
|
78
72
|
&__title {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
background-color: white;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
gap: toRem(10);
|
|
84
|
-
padding: 5px;
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
gap: toRem(5);
|
|
85
75
|
}
|
|
86
76
|
|
|
87
|
-
&
|
|
88
|
-
|
|
89
|
-
overflow: scroll;
|
|
77
|
+
&__dropdown-icon {
|
|
78
|
+
margin-top: toRem(2);
|
|
90
79
|
}
|
|
80
|
+
}
|
|
91
81
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
82
|
+
.m-layer-switcher {
|
|
83
|
+
&__title {
|
|
84
|
+
align-items: flex-start;
|
|
95
85
|
}
|
|
96
|
-
|
|
97
86
|
}
|
|
98
87
|
|
|
99
88
|
.m-map-slide-legend {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Class, FilterContext } from '@provoly/dashboard';
|
|
1
|
+
import { Class, Field, FilterContext } from '@provoly/dashboard';
|
|
2
2
|
export declare class CqlUtils {
|
|
3
3
|
static getCQLParamsFor(datasourceId: string, filters: {
|
|
4
4
|
[p: string]: FilterContext[];
|
|
5
|
-
}, classes: Class[]): string | null;
|
|
5
|
+
}, classes: Class[], fields: Field[]): string | null;
|
|
6
6
|
}
|
|
@@ -4,7 +4,9 @@ import { Circle, LineString, Point } from 'ol/geom';
|
|
|
4
4
|
import { Style } from 'ol/style';
|
|
5
5
|
import { ProjectionLike } from 'ol/proj';
|
|
6
6
|
import Geometry from 'ol/geom/Geometry';
|
|
7
|
+
import { GeoJSON } from 'ol/format';
|
|
7
8
|
export declare class WidgetMapUtils {
|
|
9
|
+
static geoJSON: GeoJSON;
|
|
8
10
|
static populateLocationAttribute(layer: MapWidgetLayerOptions, resultSet: ResultSet, classesNotFiltered: Class[], fields: Field[]): void;
|
|
9
11
|
static populateIntensityAttribute(layer: MapWidgetLayerOptions, resultSet: ResultSet, classesNotFiltered: Class[], fields: Field[]): void;
|
|
10
12
|
static getFeatureFromItem(projection: ProjectionLike, item: Item, type: string, locationAttribute: Attribute, iconStyle?: Style, selectedIconStyle?: Style): Feature<Geometry>;
|