ublo-lib 1.41.0 → 1.42.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.
- package/es/common/components/breadcrumb.js +14 -2
- package/es/common/components/cookie-consent/cookie-consent.d.ts +2 -1
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -1
- package/es/common/components/editable-calendar/index.d.ts +2 -1
- package/es/common/components/editable-calendar/index.d.ts.map +1 -1
- package/es/common/components/gesco-contact-form/services/form.d.ts.map +1 -1
- package/es/common/components/image-with-loader/image-with-loader.d.ts +1 -0
- package/es/common/components/image-with-loader/image-with-loader.d.ts.map +1 -1
- package/es/common/utils/file-manager.d.ts +1 -6
- package/es/common/utils/file-manager.d.ts.map +1 -1
- package/es/common/utils/url-parameters.d.ts.map +1 -1
- package/es/esf/components/instant-search/hooks/use-search.d.ts +0 -1
- package/es/esf/components/instant-search/hooks/use-search.d.ts.map +1 -1
- package/es/esf/components/instant-search/links.js +1 -1
- package/es/esf/components/instant-search/products.js +1 -1
- package/es/esf/components/period-picker/popup.d.ts +2 -1
- package/es/esf/components/period-picker/popup.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/services/offers.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/services/url-params.d.ts.map +1 -1
- package/es/future/utils/fetcher.d.ts.map +1 -1
- package/es/future/utils/url-parameters.d.ts.map +1 -1
- package/es/lbm/components/instant-search/faqs.js +1 -1
- package/es/lbm/components/instant-search/google-results.js +1 -1
- package/es/lbm/components/instant-search/hooks/use-google-search.d.ts +0 -1
- package/es/lbm/components/instant-search/hooks/use-google-search.d.ts.map +1 -1
- package/es/lbm/components/instant-search/hooks/use-search.d.ts +0 -1
- package/es/lbm/components/instant-search/hooks/use-search.d.ts.map +1 -1
- package/es/lbm/components/instant-search/links.js +1 -1
- package/es/lbm/components/instant-search/products.js +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.js +1 -1
- package/es/market-place/components/instant-search/google-results.js +1 -1
- package/es/market-place/components/instant-search/hooks/use-google-search.d.ts +0 -1
- package/es/market-place/components/instant-search/hooks/use-google-search.d.ts.map +1 -1
- package/es/market-place/components/instant-search/hooks/use-search.d.ts +0 -1
- package/es/market-place/components/instant-search/hooks/use-search.d.ts.map +1 -1
- package/es/market-place/components/instant-search/links.js +1 -1
- package/es/market-place/components/instant-search/products.js +1 -1
- package/package.json +27 -35
- package/es/common/components/editable-map/cluster.d.ts +0 -5
- package/es/common/components/editable-map/cluster.d.ts.map +0 -1
- package/es/common/components/editable-map/cluster.js +0 -8
- package/es/common/components/editable-map/edit-form.d.ts +0 -7
- package/es/common/components/editable-map/edit-form.d.ts.map +0 -1
- package/es/common/components/editable-map/edit-form.js +0 -30
- package/es/common/components/editable-map/edit-form.module.css +0 -28
- package/es/common/components/editable-map/editable-map.d.ts +0 -6
- package/es/common/components/editable-map/editable-map.d.ts.map +0 -1
- package/es/common/components/editable-map/editable-map.js +0 -65
- package/es/common/components/editable-map/editable-map.module.css +0 -206
- package/es/common/components/editable-map/full-screen-button.d.ts +0 -6
- package/es/common/components/editable-map/full-screen-button.d.ts.map +0 -1
- package/es/common/components/editable-map/full-screen-button.js +0 -71
- package/es/common/components/editable-map/full-screen-button.module.css +0 -11
- package/es/common/components/editable-map/helper.d.ts +0 -2
- package/es/common/components/editable-map/helper.d.ts.map +0 -1
- package/es/common/components/editable-map/helper.js +0 -7
- package/es/common/components/editable-map/helper.module.css +0 -62
- package/es/common/components/editable-map/icon-picker.d.ts +0 -6
- package/es/common/components/editable-map/icon-picker.d.ts.map +0 -1
- package/es/common/components/editable-map/icon-picker.js +0 -31
- package/es/common/components/editable-map/icon-picker.module.css +0 -59
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts +0 -51
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/esf-pralognan.js +0 -155
- package/es/common/components/editable-map/icons/esf.d.ts +0 -39
- package/es/common/components/editable-map/icons/esf.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/esf.js +0 -119
- package/es/common/components/editable-map/icons/index.d.ts +0 -7
- package/es/common/components/editable-map/icons/index.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/index.js +0 -6
- package/es/common/components/editable-map/icons/lavovelo.d.ts +0 -5
- package/es/common/components/editable-map/icons/lavovelo.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/lavovelo.js +0 -17
- package/es/common/components/editable-map/icons/sata-huez.d.ts +0 -29
- package/es/common/components/editable-map/icons/sata-huez.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/sata-huez.js +0 -89
- package/es/common/components/editable-map/icons/sedev-vars.d.ts +0 -29
- package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/sedev-vars.js +0 -89
- package/es/common/components/editable-map/icons/viarmonia.d.ts +0 -3
- package/es/common/components/editable-map/icons/viarmonia.d.ts.map +0 -1
- package/es/common/components/editable-map/icons/viarmonia.js +0 -11
- package/es/common/components/editable-map/index.d.ts +0 -5
- package/es/common/components/editable-map/index.d.ts.map +0 -1
- package/es/common/components/editable-map/index.js +0 -67
- package/es/common/components/editable-map/input-marker.d.ts +0 -4
- package/es/common/components/editable-map/input-marker.d.ts.map +0 -1
- package/es/common/components/editable-map/input-marker.js +0 -16
- package/es/common/components/editable-map/input-marker.module.css +0 -17
- package/es/common/components/editable-map/map-events.d.ts +0 -18
- package/es/common/components/editable-map/map-events.d.ts.map +0 -1
- package/es/common/components/editable-map/map-events.js +0 -35
- package/es/common/components/editable-map/marker-list.d.ts +0 -7
- package/es/common/components/editable-map/marker-list.d.ts.map +0 -1
- package/es/common/components/editable-map/marker-list.js +0 -64
- package/es/common/components/editable-map/marker-list.module.css +0 -114
- package/es/common/components/editable-map/markers.d.ts +0 -7
- package/es/common/components/editable-map/markers.d.ts.map +0 -1
- package/es/common/components/editable-map/markers.js +0 -44
- package/es/common/components/editable-map/markers.module.css +0 -26
- package/es/common/components/editable-map/popup-data.d.ts +0 -4
- package/es/common/components/editable-map/popup-data.d.ts.map +0 -1
- package/es/common/components/editable-map/popup-data.js +0 -12
- package/es/common/components/editable-map/popup-data.module.css +0 -26
- package/es/common/components/editable-map/slopes-toggle.d.ts +0 -5
- package/es/common/components/editable-map/slopes-toggle.d.ts.map +0 -1
- package/es/common/components/editable-map/slopes-toggle.js +0 -13
- package/es/common/components/editable-map/slopes-toggle.module.css +0 -14
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
.container,
|
|
2
|
-
.map {
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
font-family: inherit !important;
|
|
6
|
-
border-radius: var(--ds-radius-100, 6px);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.container {
|
|
10
|
-
position: relative;
|
|
11
|
-
display: flex;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
button.resetCenter {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 86px;
|
|
17
|
-
left: 10px;
|
|
18
|
-
background-color: var(--ds-grey-000, #fff);
|
|
19
|
-
box-shadow: var(--ds-shadow-100, 0px 3px 6px rgba(0, 0, 0, 0.12));
|
|
20
|
-
user-select: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
button.resetCenter:hover {
|
|
24
|
-
background-color: var(--ds-grey-100, #f8f8f8);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.map {
|
|
28
|
-
flex: 1 1 100%;
|
|
29
|
-
z-index: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.map :global(.leaflet-top),
|
|
33
|
-
.map :global(.leaflet-bottom) {
|
|
34
|
-
position: static;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.map :global(.leaflet-control-attribution) {
|
|
38
|
-
position: absolute;
|
|
39
|
-
left: 50%;
|
|
40
|
-
bottom: 4px;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
border-radius: var(--ds-radius-100, 6px);
|
|
43
|
-
transform: translateX(-50%);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:global(:is(.cms--connected, .cms--info)) .container:empty::after {
|
|
47
|
-
content: "Activez le mode édition pour modifier la carte, déconnectez-vous pour la consulter.";
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: 50%;
|
|
50
|
-
left: 50%;
|
|
51
|
-
width: 400px;
|
|
52
|
-
max-width: 100%;
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
align-items: center;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
color: hsl(var(--grey-600));
|
|
58
|
-
font-size: 17px;
|
|
59
|
-
letter-spacing: 1px;
|
|
60
|
-
text-align: center;
|
|
61
|
-
transform: translate(-50%, -50%);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.map :global(.leaflet-popup-tip-container),
|
|
65
|
-
.map :global(.leaflet-tooltip::before) {
|
|
66
|
-
content: none;
|
|
67
|
-
display: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.map :global(.leaflet-popup-content-wrapper) {
|
|
71
|
-
position: relative;
|
|
72
|
-
background-color: transparent;
|
|
73
|
-
backdrop-filter: brightness(110%) contrast(90%) blur(var(--ds-blur, 5px));
|
|
74
|
-
box-shadow: var(--ds-shadow-100, 0px 3px 6px rgba(0, 0, 0, 0.12));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.map :global(.leaflet-popup-content-wrapper::before) {
|
|
78
|
-
content: "";
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
width: 100%;
|
|
83
|
-
height: 100%;
|
|
84
|
-
background-color: var(--ds-grey-000, #fff);
|
|
85
|
-
border-radius: inherit;
|
|
86
|
-
opacity: 0.8;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.map:global(.leaflet-container) :global(a.leaflet-popup-close-button) {
|
|
90
|
-
top: 5px;
|
|
91
|
-
right: 5px;
|
|
92
|
-
color: var(--ds-grey-700, #232324);
|
|
93
|
-
font-size: 22px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.map :global(.leaflet-tile-pane > :first-child) {
|
|
97
|
-
filter: var(
|
|
98
|
-
--editable-map-filter,
|
|
99
|
-
saturate(0.05) hue-rotate(100deg) contrast(1.2)
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.map :global(.marker-cluster) {
|
|
104
|
-
color: var(--ds-grey-000, #fff);
|
|
105
|
-
background-color: transparent;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.map :global(.marker-cluster::before) {
|
|
109
|
-
content: "";
|
|
110
|
-
position: absolute;
|
|
111
|
-
top: 1px;
|
|
112
|
-
left: 1px;
|
|
113
|
-
width: calc(100% - 2px);
|
|
114
|
-
height: calc(100% - 2px);
|
|
115
|
-
background-color: var(--ds-grey-000, #fff);
|
|
116
|
-
border-radius: 50%;
|
|
117
|
-
opacity: 0.85;
|
|
118
|
-
pointer-events: none;
|
|
119
|
-
filter: drop-shadow(var(--ds-shadow-100, 0px 3px 6px rgba(0, 0, 0, 0.12)));
|
|
120
|
-
transition: transform 160ms
|
|
121
|
-
var(--ds-transition-easing, cubic-bezier(0.4, 0.1, 0.2, 0.9));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.map :global(.marker-cluster:hover::before) {
|
|
125
|
-
transform: scale(1.08);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.map :global(.marker-cluster > div) {
|
|
129
|
-
position: relative;
|
|
130
|
-
font-weight: 700;
|
|
131
|
-
font-size: 16px;
|
|
132
|
-
background-color: var(--ds-secondary, var(--ds-blue-400, #4177f6));
|
|
133
|
-
transition: transform 160ms
|
|
134
|
-
var(--ds-transition-easing, cubic-bezier(0.4, 0.1, 0.2, 0.9));
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.map :global(.marker-cluster:hover > div) {
|
|
138
|
-
transform: scale(1.1);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.map :global(.leaflet-tooltip) {
|
|
142
|
-
padding: 10px 16px;
|
|
143
|
-
font-size: 15px;
|
|
144
|
-
font-weight: 700;
|
|
145
|
-
font-family: inherit;
|
|
146
|
-
text-shadow: -1px 0px 1px white, 0px -1px 1px white, 1px 0px 1px white,
|
|
147
|
-
0px 1px 1px white;
|
|
148
|
-
background-color: transparent;
|
|
149
|
-
box-shadow: none;
|
|
150
|
-
border: 0;
|
|
151
|
-
animation: leaflet-tooltip-appearance 320ms
|
|
152
|
-
var(--ds-transition-easing, cubic-bezier(0.4, 0.1, 0.2, 0.9));
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@keyframes leaflet-tooltip-appearance {
|
|
156
|
-
0% {
|
|
157
|
-
opacity: 0;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@media (max-width: 992px) {
|
|
162
|
-
.map :global(.leaflet-tooltip) {
|
|
163
|
-
display: none !important;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.map:global(.leaflet-touch .leaflet-control-layers),
|
|
168
|
-
.map:global(.leaflet-touch .leaflet-bar) {
|
|
169
|
-
border: 0;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.map:global(.leaflet-touch .leaflet-control-layers a),
|
|
173
|
-
.map:global(.leaflet-touch .leaflet-bar a) {
|
|
174
|
-
width: 33px;
|
|
175
|
-
height: 33px;
|
|
176
|
-
box-shadow: var(--ds-shadow-100, 0px 3px 6px rgba(0, 0, 0, 0.12));
|
|
177
|
-
transition: background-color 160ms
|
|
178
|
-
var(--ds-transition-easing, cubic-bezier(0.4, 0.1, 0.2, 0.9));
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.map:global(.leaflet-touch .leaflet-control-layers a[aria-disabled="true"]),
|
|
182
|
-
.map:global(.leaflet-touch .leaflet-bar a[aria-disabled="true"]) {
|
|
183
|
-
cursor: not-allowed;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.map:global(.leaflet-touch .leaflet-control-layers a:hover),
|
|
187
|
-
.map:global(.leaflet-touch .leaflet-bar a:hover) {
|
|
188
|
-
background-color: var(--ds-grey-100, #f8f8f8);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.map:global(.leaflet-touch .leaflet-control-layers a:first-child),
|
|
192
|
-
.map:global(.leaflet-touch .leaflet-bar a:first-child) {
|
|
193
|
-
border-top-left-radius: var(--ds-radius-200, 10px);
|
|
194
|
-
border-top-right-radius: var(--ds-radius-200, 10px);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.map:global(.leaflet-touch .leaflet-control-layers a:last-child),
|
|
198
|
-
.map:global(.leaflet-touch .leaflet-bar a:last-child) {
|
|
199
|
-
border-bottom-left-radius: var(--ds-radius-200, 10px);
|
|
200
|
-
border-bottom-right-radius: var(--ds-radius-200, 10px);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.map:global(.leaflet-touch .leaflet-control-layers a span),
|
|
204
|
-
.map:global(.leaflet-touch .leaflet-bar a span) {
|
|
205
|
-
font-size: 18px;
|
|
206
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"full-screen-button.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-map/full-screen-button.js"],"names":[],"mappings":"AAKA;;;;4CA8CC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import Button from "dt-design-system/es/button";
|
|
4
|
-
import * as Icons from "dt-design-system/es/icons";
|
|
5
|
-
import css from "./full-screen-button.module.css";
|
|
6
|
-
export default function FullScreenButton({ fullScreen, setFullScreen, containerRef, }) {
|
|
7
|
-
const [fullScreenCompatible, setFullScreenCompatible] = React.useState(true);
|
|
8
|
-
const cleanupFullScreen = React.useCallback(() => {
|
|
9
|
-
if (!document.fullscreenElement) {
|
|
10
|
-
setFullScreen(false);
|
|
11
|
-
}
|
|
12
|
-
}, [setFullScreen]);
|
|
13
|
-
React.useEffect(() => {
|
|
14
|
-
setFullScreenCompatible(isFullScreenCompatible());
|
|
15
|
-
return () => {
|
|
16
|
-
document.removeEventListener("fullscreenchange", cleanupFullScreen);
|
|
17
|
-
};
|
|
18
|
-
}, [cleanupFullScreen]);
|
|
19
|
-
if (!fullScreenCompatible)
|
|
20
|
-
return null;
|
|
21
|
-
const Icon = Icons[fullScreen ? "Minimize" : "Maximize"];
|
|
22
|
-
const toggleFullScreen = (e) => {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
e.stopPropagation();
|
|
25
|
-
if (!fullScreen) {
|
|
26
|
-
enterFullScreen(containerRef.current, setFullScreen);
|
|
27
|
-
document.addEventListener("fullscreenchange", cleanupFullScreen);
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
exitFullScreen(setFullScreen);
|
|
31
|
-
document.removeEventListener("fullscreenchange", cleanupFullScreen);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
return (_jsx(Button, { variant: "secondary", type: "button", className: css.button, onClick: toggleFullScreen, children: _jsx(Icon, {}) }));
|
|
35
|
-
}
|
|
36
|
-
function isFullScreenCompatible() {
|
|
37
|
-
return (document.fullscreenEnabled ||
|
|
38
|
-
document.webkitFullscreenEnabled ||
|
|
39
|
-
document.mozFullscreenEnabled ||
|
|
40
|
-
document.msFullscreenEnabled);
|
|
41
|
-
}
|
|
42
|
-
function enterFullScreen(el, setFullScreen) {
|
|
43
|
-
if (el.requestFullscreen) {
|
|
44
|
-
el.requestFullscreen();
|
|
45
|
-
}
|
|
46
|
-
else if (el.mozRequestFullScreen) {
|
|
47
|
-
el.mozRequestFullScreen();
|
|
48
|
-
}
|
|
49
|
-
else if (el.webkitRequestFullscreen) {
|
|
50
|
-
el.webkitRequestFullscreen();
|
|
51
|
-
}
|
|
52
|
-
else if (el.msRequestFullscreen) {
|
|
53
|
-
el.msRequestFullscreen();
|
|
54
|
-
}
|
|
55
|
-
setFullScreen(true);
|
|
56
|
-
}
|
|
57
|
-
function exitFullScreen(setFullScreen) {
|
|
58
|
-
if (document.exitFullscreen) {
|
|
59
|
-
document.exitFullscreen();
|
|
60
|
-
}
|
|
61
|
-
else if (document.webkitExitFullscreen) {
|
|
62
|
-
document.webkitExitFullscreen();
|
|
63
|
-
}
|
|
64
|
-
else if (document.mozCancelFullScreen) {
|
|
65
|
-
document.mozCancelFullScreen();
|
|
66
|
-
}
|
|
67
|
-
else if (document.msExitFullscreen) {
|
|
68
|
-
document.msExitFullscreen();
|
|
69
|
-
}
|
|
70
|
-
setFullScreen(false);
|
|
71
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
button.button {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 130px;
|
|
4
|
-
left: 10px;
|
|
5
|
-
background-color: var(--ds-grey-000, #fff);
|
|
6
|
-
box-shadow: var(--ds-shadow-100, 0px 3px 6px rgba(0, 0, 0, 0.12));
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
button.button:hover {
|
|
10
|
-
background-color: var(--ds-grey-100, #f8f8f8);
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-map/helper.js"],"names":[],"mappings":"AAIA,0EAwBC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as Icons from "dt-design-system/es/icons";
|
|
4
|
-
import css from "./helper.module.css";
|
|
5
|
-
export default function Helper() {
|
|
6
|
-
return (_jsxs("div", { className: css.helper, children: [_jsx("div", { className: css.helperButton, children: _jsx(Icons.Question, { className: css.helperIcon }) }), _jsxs("div", { className: css.helperMessage, children: [_jsx("div", { children: "Cliquez n'importe o\u00F9 sur la carte pour ajouter un point d'int\u00E9r\u00EAt. Vous pouvez d\u00E9placer ces derniers gr\u00E2ce au \"glisser-d\u00E9poser\". Cliquez sur un point d'int\u00E9r\u00EAt existant pour modifier ses informations." }), _jsxs("div", { children: [_jsx("b", { children: "Attention" }), ", la carte sera affich\u00E9e \u00E0 vos client exactement dans l'\u00E9tat dans laquelle vous l'enregistrez (niveau de zoom, points d'int\u00E9r\u00EAts, centrage)."] }), _jsx("div", { children: "En mode consultation, les points tr\u00E8s proches sont automatiquement regroup\u00E9s afin d'am\u00E9liorer la lisibilit\u00E9 de la carte." })] })] }));
|
|
7
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
.helper {
|
|
2
|
-
position: absolute;
|
|
3
|
-
bottom: 10px;
|
|
4
|
-
left: 10px;
|
|
5
|
-
z-index: 1;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.helperButton {
|
|
9
|
-
width: 50px;
|
|
10
|
-
height: 50px;
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
background: var(
|
|
15
|
-
--ublo-blue-gradient,
|
|
16
|
-
linear-gradient(
|
|
17
|
-
175deg,
|
|
18
|
-
var(--ublo-blue-400, #4177f6),
|
|
19
|
-
var(--ublo-blue-500, #073ff8)
|
|
20
|
-
)
|
|
21
|
-
);
|
|
22
|
-
border-radius: 50%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.helperIcon {
|
|
26
|
-
width: 42px;
|
|
27
|
-
height: 42px;
|
|
28
|
-
fill: var(--ds-grey-000, #ffffff);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.helperMessage {
|
|
32
|
-
position: absolute;
|
|
33
|
-
bottom: 0;
|
|
34
|
-
left: 0;
|
|
35
|
-
width: 350px;
|
|
36
|
-
max-width: 65vw;
|
|
37
|
-
padding: 14px;
|
|
38
|
-
color: var(--ds-grey-000, #ffffff);
|
|
39
|
-
text-align: justify;
|
|
40
|
-
font-size: 13px;
|
|
41
|
-
font-family: var(--ublo-content-font);
|
|
42
|
-
background: var(
|
|
43
|
-
--ublo-blue-gradient,
|
|
44
|
-
linear-gradient(
|
|
45
|
-
175deg,
|
|
46
|
-
var(--ublo-blue-400, #4177f6),
|
|
47
|
-
var(--ublo-blue-500, #073ff8)
|
|
48
|
-
)
|
|
49
|
-
);
|
|
50
|
-
border-radius: var(--ds-radius-200, 10px);
|
|
51
|
-
opacity: 0;
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
touch-action: none;
|
|
54
|
-
transition: opacity 160ms
|
|
55
|
-
var(--ds-transition-easing, cubic-bezier(0.4, 0.1, 0.2, 0.9));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.helperButton:hover + .helperMessage,
|
|
59
|
-
.helperMessage:hover {
|
|
60
|
-
opacity: 1;
|
|
61
|
-
pointer-events: auto;
|
|
62
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon-picker.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-map/icon-picker.js"],"names":[],"mappings":"AAMA;;;;4CA2DC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import Button from "dt-design-system/es/button";
|
|
4
|
-
import * as DSIcons from "dt-design-system/es/icons";
|
|
5
|
-
import * as Icons from "./icons";
|
|
6
|
-
import css from "./icon-picker.module.css";
|
|
7
|
-
export default function IconPicker({ selectedIcon, callback, iconSet }) {
|
|
8
|
-
const [opened, setOpened] = React.useState(false);
|
|
9
|
-
const Icon = Icons[iconSet][selectedIcon] || Icons[iconSet].Location;
|
|
10
|
-
const keys = Object.keys(Icons[iconSet]).sort((a, b) => {
|
|
11
|
-
const { key: aKey } = Icons[iconSet][a]();
|
|
12
|
-
const { key: bKey } = Icons[iconSet][b]();
|
|
13
|
-
return Number(aKey) - Number(bKey);
|
|
14
|
-
});
|
|
15
|
-
const togglePicker = () => {
|
|
16
|
-
setOpened(!opened);
|
|
17
|
-
};
|
|
18
|
-
const closePicker = (e) => {
|
|
19
|
-
e.stopPropagation();
|
|
20
|
-
setOpened(false);
|
|
21
|
-
};
|
|
22
|
-
return (_jsxs("div", { className: css.picker, children: [_jsx(Button, { variant: "secondary", onClick: togglePicker, children: _jsx(Icon, { className: css.selectedIcon }) }), opened && (_jsxs("div", { className: css.list, children: [_jsxs(Button, { variant: "link", className: css.back, onClick: closePicker, compact: true, children: [_jsx(DSIcons.ArrowLeft, {}), "Retour"] }), keys.map((key) => {
|
|
23
|
-
const updateSelected = (e) => {
|
|
24
|
-
e.stopPropagation();
|
|
25
|
-
callback(key);
|
|
26
|
-
setOpened(false);
|
|
27
|
-
};
|
|
28
|
-
const Icon = Icons[iconSet][key];
|
|
29
|
-
return (_jsx(Button, { className: css.iconButton, variant: "secondary", onClick: updateSelected, children: _jsx(Icon, { className: css.icon }) }, key));
|
|
30
|
-
}), _jsx("div", { className: css.helper, children: "Cliquez sur une ic\u00F4ne pour la s\u00E9lectioner" })] }))] }));
|
|
31
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
svg.selectedIcon {
|
|
2
|
-
flex: 0 0 44px;
|
|
3
|
-
width: 44px;
|
|
4
|
-
height: 44px;
|
|
5
|
-
fill: var(--ds-secondary, var(--ds-blue-400, #4177f6));
|
|
6
|
-
z-index: initial !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.list {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
|
|
17
|
-
grid-template-rows: max-content;
|
|
18
|
-
justify-items: start;
|
|
19
|
-
gap: 10px;
|
|
20
|
-
background-color: var(--ds-grey-000, #fff);
|
|
21
|
-
border-radius: var(--ds-radius-100, 6px);
|
|
22
|
-
overflow: auto;
|
|
23
|
-
overscroll-behavior: contain;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.back {
|
|
28
|
-
grid-column: 1 / -1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.helper {
|
|
32
|
-
position: sticky;
|
|
33
|
-
bottom: 0;
|
|
34
|
-
grid-column: 1 / -1;
|
|
35
|
-
width: 100%;
|
|
36
|
-
margin-top: auto;
|
|
37
|
-
padding-top: 6px;
|
|
38
|
-
text-align: center;
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
font-family: var(--ds-sans-serif-font, "Montserrat", sans-serif);
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
background-color: white;
|
|
43
|
-
z-index: 1;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.iconButton {
|
|
47
|
-
width: 60px;
|
|
48
|
-
height: 60px;
|
|
49
|
-
padding: 0;
|
|
50
|
-
margin: 0 auto;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.icon {
|
|
54
|
-
flex: 0 0 50px !important;
|
|
55
|
-
width: 50px !important;
|
|
56
|
-
height: 50px !important;
|
|
57
|
-
fill: var(--ds-secondary, var(--ds-blue-400, #4177f6)) !important;
|
|
58
|
-
z-index: 0 !important;
|
|
59
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export function Location(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export function Location2(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export function Location3(props: any): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export function Location4(props: any): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export function ESFOffice(props: any): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export function Bear(props: any): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export function MeetingPoint(props: any): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export function SnowMan(props: any): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export function NordicSkiingRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export function BiathlonRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export function SnowshoesRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export function SnowboardRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export function FeedingBottle(props: any): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export function Plate(props: any): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export function IglooRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export function CompassRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export function StarsRed(props: any): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export function ClubPiouPiou(props: any): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export function Chairlift(props: any): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export function CableCar(props: any): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export function ClubPiouPiouBlue(props: any): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export function NordicSkiing(props: any): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export function CrossCountry(props: any): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export function AlpineSki(props: any): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export function Teleski(props: any): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export function Biathlon(props: any): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export function Snowshoes(props: any): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export function SkiPass(props: any): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export function PiouPiouMat(props: any): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export function MeetingPointGrey(props: any): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export function Cabin(props: any): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export function Building(props: any): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export function SkiMask(props: any): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export function SkiShoe(props: any): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
export function SkiHelmet(props: any): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
export function Skis(props: any): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export function Snowboard(props: any): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export function Parking(props: any): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export function Bus(props: any): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export function IglooGrey(props: any): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export function CompassGrey(props: any): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export function StarsGrey(props: any): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export function EastDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export function WestDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export function NorthDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
export function SouthDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
export function NorthEastDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export function NorthWestDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export function SouthWestDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
export function SouthEastDirection(props: any): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
//# sourceMappingURL=esf-pralognan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"esf-pralognan.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/editable-map/icons/esf-pralognan.js"],"names":[],"mappings":"AAEA,8EAYC;AAED,+EAYC;AAED,+EAYC;AAED,+EAYC;AAID,+EAkBC;AAED,0EA4BC;AAED,kFAsBC;AAED,6EAgBC;AAED,qFAgBC;AAED,iFAoBC;AAED,kFAgBC;AAED,kFAgBC;AAED,mFAgBC;AAED,2EAgBC;AAED,8EAgBC;AAED,gFAwBC;AAED,8EAgBC;AAED,kFAyLC;AAMD,+EAgBC;AAED,8EAkBC;AAED,sFAyLC;AAED,kFAgBC;AAED,kFAkBC;AAED,+EAgBC;AAED,6EAsBC;AAED,8EAoBC;AAED,+EAgBC;AAED,6EA8BC;AAED,iFAgBC;AAMD,sFAsBC;AAED,2EAkBC;AAED,8EAkBC;AAED,6EAoBC;AAED,6EAgBC;AAED,+EAkBC;AAED,0EAgBC;AAED,+EAgBC;AAED,6EAgBC;AAED,yEAkBC;AAED,+EAgBC;AAED,iFAwBC;AAED,+EAgBC;AAKD,mFAgBC;AAED,mFAgBC;AAED,oFAgBC;AAED,oFAgBC;AAED,wFAgBC;AAED,wFAgBC;AAED,wFAgBC;AAED,wFAgBC"}
|