ublo-lib 1.47.38 → 1.47.40
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":"AAKA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,GAAG,EAAE,GAAG,CAAC;KACV;CACF;AAED,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACpC,CAAC;AAeF,QAAA,MAAM,UAAU,oBAAqB,KAAK,4CA2GzC,CAAC;
|
|
1
|
+
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":"AAKA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,GAAG,EAAE,GAAG,CAAC;KACV;CACF;AAED,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACpC,CAAC;AAeF,QAAA,MAAM,UAAU,oBAAqB,KAAK,4CA2GzC,CAAC;AAOF,eAAe,UAAU,CAAC"}
|
|
@@ -28,7 +28,7 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
28
28
|
},
|
|
29
29
|
fileManager: {
|
|
30
30
|
name: "Photothèque",
|
|
31
|
-
onClick:
|
|
31
|
+
onClick: openFileManagerUploadOnly,
|
|
32
32
|
},
|
|
33
33
|
plausible: {
|
|
34
34
|
name: "Statistiques",
|
|
@@ -72,4 +72,9 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
72
72
|
}) }))] }));
|
|
73
73
|
})] }))] })) }));
|
|
74
74
|
};
|
|
75
|
+
const openFileManagerUploadOnly = async () => {
|
|
76
|
+
if (typeof window === "undefined")
|
|
77
|
+
return;
|
|
78
|
+
window.Cms?.fileManagerUploadOnly();
|
|
79
|
+
};
|
|
75
80
|
export default AdminLinks;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAO,QAAQ,EAAQ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAO,QAAQ,EAAQ,MAAM,SAAS,CAAC;AA6DnD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AAeF,QAAA,MAAM,IAAI,8EAoQR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -43,11 +43,11 @@ const TRAIL_ICONS = {
|
|
|
43
43
|
ENDURO: TrailIcons.VTT,
|
|
44
44
|
FREERIDE_AREA_OFF_PIST: TrailIcons.SkiAlpin,
|
|
45
45
|
FREERIDE_SKI_ITINERARY: TrailIcons.SkiAlpin,
|
|
46
|
-
FUN_ZONE: TrailIcons.
|
|
46
|
+
FUN_ZONE: TrailIcons.Pieton,
|
|
47
47
|
GATE: TrailIcons.Freeride,
|
|
48
48
|
GLADES: TrailIcons.Freeride,
|
|
49
49
|
ILLUMINATED_TRAIL: TrailIcons.PisteEclairee,
|
|
50
|
-
MULTI_USE_TRAIL: TrailIcons.
|
|
50
|
+
MULTI_USE_TRAIL: TrailIcons.Pieton,
|
|
51
51
|
MTB_ENDURO: TrailIcons.VTT,
|
|
52
52
|
PATH: TrailIcons.Pieton,
|
|
53
53
|
PEDESTRIAN: TrailIcons.Pieton,
|
|
@@ -60,6 +60,7 @@ const TRAIL_ICONS = {
|
|
|
60
60
|
SNOWTUBING: TrailIcons.Snowtubing,
|
|
61
61
|
TERRAIN_PARK: TrailIcons.Snowpark,
|
|
62
62
|
TERRAIN_PARK_US: TrailIcons.Snowpark,
|
|
63
|
+
THEME_TRAIL: TrailIcons.Pieton,
|
|
63
64
|
TRAIL_RUNNING: TrailIcons.Pieton,
|
|
64
65
|
TREETOP_ADVENTURE_PARK: TrailIcons.Accrobranche,
|
|
65
66
|
TYROLEAN: TrailIcons.Tyrolienne,
|
|
@@ -77,6 +78,9 @@ const SPECIAL_TRAILS = {
|
|
|
77
78
|
"Schlitte Mountain": `${lumiplanApi}/pistes-ludiques/schlitte-mountain.png`,
|
|
78
79
|
Boris: `${lumiplanApi}/pistes-ludiques/boris.png`,
|
|
79
80
|
"Rail Park": `${lumiplanApi}/pistes-ludiques/rail-park.png`,
|
|
81
|
+
"Mountain Kart": `${lumiplanApi}/activites-ete/mountain-kart.png`,
|
|
82
|
+
"Labell'aire": `${lumiplanApi}/activites-ete/labellaire.svg`,
|
|
83
|
+
"Roule Ma Boule": `${lumiplanApi}/activites-ete/roule-ma-boule.png`,
|
|
80
84
|
};
|
|
81
85
|
const Pois = React.forwardRef(({ pois }, ref) => {
|
|
82
86
|
const { lang } = useUbloContext();
|