ublo-lib 1.20.17 → 1.21.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/esf/components/loyal-customers/api.js +4 -4
- package/es/lbm/lumiplan/api.d.ts +8 -0
- package/es/lbm/lumiplan/api.d.ts.map +1 -0
- package/es/lbm/lumiplan/api.js +33 -0
- package/es/lbm/lumiplan/domain.d.ts +8 -0
- package/es/lbm/lumiplan/domain.d.ts.map +1 -0
- package/es/lbm/lumiplan/domain.js +30 -0
- package/es/lbm/lumiplan/domain.module.css +111 -0
- package/es/lbm/lumiplan/i18n/en.json +1 -0
- package/es/lbm/lumiplan/i18n/fr.json +255 -0
- package/es/lbm/lumiplan/i18n/translations.d.ts +7 -0
- package/es/lbm/lumiplan/i18n/translations.d.ts.map +1 -0
- package/es/lbm/lumiplan/i18n/translations.js +20 -0
- package/es/lbm/lumiplan/icons/alert.js +23 -0
- package/es/lbm/lumiplan/icons/avalanche-risk.js +16 -0
- package/es/lbm/lumiplan/icons/cabin.js +16 -0
- package/es/lbm/lumiplan/icons/check.js +18 -0
- package/es/lbm/lumiplan/icons/close.js +23 -0
- package/es/lbm/lumiplan/icons/cloud.js +18 -0
- package/es/lbm/lumiplan/icons/cloud.module.css +9 -0
- package/es/lbm/lumiplan/icons/dawn.js +21 -0
- package/es/lbm/lumiplan/icons/fog.js +37 -0
- package/es/lbm/lumiplan/icons/fog.module.css +34 -0
- package/es/lbm/lumiplan/icons/information.js +23 -0
- package/es/lbm/lumiplan/icons/isothermal.js +27 -0
- package/es/lbm/lumiplan/icons/lifts/index.js +5 -0
- package/es/lbm/lumiplan/icons/lifts/tapis-roulant.js +18 -0
- package/es/lbm/lumiplan/icons/lifts/telecabine.js +18 -0
- package/es/lbm/lumiplan/icons/lifts/telesiege-debrayable.js +29 -0
- package/es/lbm/lumiplan/icons/lifts/telesiege.js +18 -0
- package/es/lbm/lumiplan/icons/lifts/teleski.js +18 -0
- package/es/lbm/lumiplan/icons/night.js +16 -0
- package/es/lbm/lumiplan/icons/rain.js +27 -0
- package/es/lbm/lumiplan/icons/rain.module.css +27 -0
- package/es/lbm/lumiplan/icons/rainy.js +31 -0
- package/es/lbm/lumiplan/icons/rainy.module.css +33 -0
- package/es/lbm/lumiplan/icons/reload.js +32 -0
- package/es/lbm/lumiplan/icons/road-condition.js +30 -0
- package/es/lbm/lumiplan/icons/slopes.js +16 -0
- package/es/lbm/lumiplan/icons/snow-cover.js +18 -0
- package/es/lbm/lumiplan/icons/snow.js +33 -0
- package/es/lbm/lumiplan/icons/snow.module.css +28 -0
- package/es/lbm/lumiplan/icons/storm.js +27 -0
- package/es/lbm/lumiplan/icons/storm.module.css +25 -0
- package/es/lbm/lumiplan/icons/sun.js +23 -0
- package/es/lbm/lumiplan/icons/sun.module.css +14 -0
- package/es/lbm/lumiplan/icons/sunny.js +29 -0
- package/es/lbm/lumiplan/icons/sunny.module.css +11 -0
- package/es/lbm/lumiplan/icons/time.js +23 -0
- package/es/lbm/lumiplan/icons/trails/boarder-cross.js +22 -0
- package/es/lbm/lumiplan/icons/trails/champ-de-bosse.js +20 -0
- package/es/lbm/lumiplan/icons/trails/freeride.js +17 -0
- package/es/lbm/lumiplan/icons/trails/index.js +12 -0
- package/es/lbm/lumiplan/icons/trails/luge.js +17 -0
- package/es/lbm/lumiplan/icons/trails/pieton.js +17 -0
- package/es/lbm/lumiplan/icons/trails/piste-eclairee.js +20 -0
- package/es/lbm/lumiplan/icons/trails/raquette.js +66 -0
- package/es/lbm/lumiplan/icons/trails/ski-alpin.js +17 -0
- package/es/lbm/lumiplan/icons/trails/ski-fond.js +17 -0
- package/es/lbm/lumiplan/icons/trails/snowpark.js +17 -0
- package/es/lbm/lumiplan/icons/trails/vtt.js +20 -0
- package/es/lbm/lumiplan/icons/trails/zone-freeride.js +17 -0
- package/es/lbm/lumiplan/icons/warning.js +23 -0
- package/es/lbm/lumiplan/icons/wind.js +30 -0
- package/es/lbm/lumiplan/index.d.ts +3 -0
- package/es/lbm/lumiplan/index.d.ts.map +1 -0
- package/es/lbm/lumiplan/index.js +2 -0
- package/es/lbm/lumiplan/lumiplan.d.ts +2 -0
- package/es/lbm/lumiplan/lumiplan.d.ts.map +1 -0
- package/es/lbm/lumiplan/lumiplan.js +118 -0
- package/es/lbm/lumiplan/lumiplan.module.css +3 -0
- package/es/lbm/lumiplan/opening.d.ts +8 -0
- package/es/lbm/lumiplan/opening.d.ts.map +1 -0
- package/es/lbm/lumiplan/opening.js +33 -0
- package/es/lbm/lumiplan/opening.module.css +88 -0
- package/es/lbm/lumiplan/pois.d.ts +8 -0
- package/es/lbm/lumiplan/pois.d.ts.map +1 -0
- package/es/lbm/lumiplan/pois.js +150 -0
- package/es/lbm/lumiplan/pois.module.css +137 -0
- package/es/lbm/lumiplan/resort-selector.d.ts +12 -0
- package/es/lbm/lumiplan/resort-selector.d.ts.map +1 -0
- package/es/lbm/lumiplan/resort-selector.js +18 -0
- package/es/lbm/lumiplan/resort-selector.module.css +28 -0
- package/es/lbm/lumiplan/road-condition.d.ts +8 -0
- package/es/lbm/lumiplan/road-condition.d.ts.map +1 -0
- package/es/lbm/lumiplan/road-condition.js +26 -0
- package/es/lbm/lumiplan/road-condition.module.css +79 -0
- package/es/lbm/lumiplan/todays-tips.d.ts +8 -0
- package/es/lbm/lumiplan/todays-tips.d.ts.map +1 -0
- package/es/lbm/lumiplan/todays-tips.js +23 -0
- package/es/lbm/lumiplan/todays-tips.module.css +35 -0
- package/es/lbm/lumiplan/types.d.ts +281 -0
- package/es/lbm/lumiplan/types.d.ts.map +1 -0
- package/es/lbm/lumiplan/types.js +1 -0
- package/es/lbm/lumiplan/weather/avalanche-risk.d.ts +4 -0
- package/es/lbm/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/avalanche-risk.js +12 -0
- package/es/lbm/lumiplan/weather/avalanche-risk.module.css +21 -0
- package/es/lbm/lumiplan/weather/index.d.ts +3 -0
- package/es/lbm/lumiplan/weather/index.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/index.js +2 -0
- package/es/lbm/lumiplan/weather/snow-data.d.ts +8 -0
- package/es/lbm/lumiplan/weather/snow-data.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/snow-data.js +8 -0
- package/es/lbm/lumiplan/weather/snow-data.module.css +41 -0
- package/es/lbm/lumiplan/weather/weather-data.d.ts +9 -0
- package/es/lbm/lumiplan/weather/weather-data.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/weather-data.js +8 -0
- package/es/lbm/lumiplan/weather/weather-data.module.css +61 -0
- package/es/lbm/lumiplan/weather/weather-icon.d.ts +23 -0
- package/es/lbm/lumiplan/weather/weather-icon.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/weather-icon.js +30 -0
- package/es/lbm/lumiplan/weather/weather.d.ts +8 -0
- package/es/lbm/lumiplan/weather/weather.d.ts.map +1 -0
- package/es/lbm/lumiplan/weather/weather.js +74 -0
- package/es/lbm/lumiplan/weather/weather.module.css +118 -0
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Data from "./data";
|
|
2
|
-
|
|
2
|
+
async function createGescoFile(payload, integration) {
|
|
3
3
|
const host = integration ? Data.HOSTS.TEST : Data.HOSTS.PROD;
|
|
4
4
|
const res = await fetch(`${host}/api/gesco/files/new-with-generic-lines`, {
|
|
5
5
|
method: "POST",
|
|
@@ -9,8 +9,8 @@ const createGescoFile = async (payload, integration) => {
|
|
|
9
9
|
body: JSON.stringify(payload)
|
|
10
10
|
});
|
|
11
11
|
return res.json();
|
|
12
|
-
}
|
|
13
|
-
export
|
|
12
|
+
}
|
|
13
|
+
export async function sendFile(payload, integration) {
|
|
14
14
|
const {
|
|
15
15
|
action,
|
|
16
16
|
error
|
|
@@ -19,4 +19,4 @@ export const sendFile = async (payload, integration) => {
|
|
|
19
19
|
action,
|
|
20
20
|
error
|
|
21
21
|
};
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function getResortOpening(resort: number): Promise<any>;
|
|
2
|
+
export declare function getWeather(resort: number): Promise<any>;
|
|
3
|
+
export declare function getSnow(resort: number): Promise<any>;
|
|
4
|
+
export declare function getResortAccess(resort: number): Promise<any>;
|
|
5
|
+
export declare function getSlopes(resort: number): Promise<any>;
|
|
6
|
+
export declare function getLifts(resort: number): Promise<any>;
|
|
7
|
+
export declare function getPois(resort: number): Promise<any>;
|
|
8
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/lbm/lumiplan/api.ts"],"names":[],"mappings":"AAOA,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,gBAGpD;AAED,wBAAsB,UAAU,CAAC,MAAM,EAAE,MAAM,gBAG9C;AAED,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,gBAG3C;AAED,wBAAsB,eAAe,CAAC,MAAM,EAAE,MAAM,gBAGnD;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,gBAG7C;AAED,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,gBAG5C;AAED,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,gBAG3C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import getConfig from "next/config";
|
|
2
|
+
// import * as Fetcher from "ublo-lib/es/common/utils/fetcher";
|
|
3
|
+
import * as Fetcher from "../../common/utils/fetcher";
|
|
4
|
+
const { publicRuntimeConfig } = getConfig();
|
|
5
|
+
const { lumiplanApiV2 } = publicRuntimeConfig;
|
|
6
|
+
export async function getResortOpening(resort) {
|
|
7
|
+
const endpoint = `${lumiplanApiV2}/resort-opening`;
|
|
8
|
+
return Fetcher.get(endpoint, { resort });
|
|
9
|
+
}
|
|
10
|
+
export async function getWeather(resort) {
|
|
11
|
+
const endpoint = `${lumiplanApiV2}/weather`;
|
|
12
|
+
return Fetcher.get(endpoint, { resort });
|
|
13
|
+
}
|
|
14
|
+
export async function getSnow(resort) {
|
|
15
|
+
const endpoint = `${lumiplanApiV2}/snow`;
|
|
16
|
+
return Fetcher.get(endpoint, { resort });
|
|
17
|
+
}
|
|
18
|
+
export async function getResortAccess(resort) {
|
|
19
|
+
const endpoint = `${lumiplanApiV2}/resort-access`;
|
|
20
|
+
return Fetcher.get(endpoint, { resort });
|
|
21
|
+
}
|
|
22
|
+
export async function getSlopes(resort) {
|
|
23
|
+
const endpoint = `${lumiplanApiV2}/slopes`;
|
|
24
|
+
return Fetcher.get(endpoint, { resort });
|
|
25
|
+
}
|
|
26
|
+
export async function getLifts(resort) {
|
|
27
|
+
const endpoint = `${lumiplanApiV2}/lifts`;
|
|
28
|
+
return Fetcher.get(endpoint, { resort });
|
|
29
|
+
}
|
|
30
|
+
export async function getPois(resort) {
|
|
31
|
+
const endpoint = `${lumiplanApiV2}/pois`;
|
|
32
|
+
return Fetcher.get(endpoint, { resort });
|
|
33
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { DomainInfo } from "./types";
|
|
3
|
+
type Props = {
|
|
4
|
+
domain?: DomainInfo | null;
|
|
5
|
+
};
|
|
6
|
+
declare const Domain: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export default Domain;
|
|
8
|
+
//# sourceMappingURL=domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../../src/lbm/lumiplan/domain.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAK1C,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,MAAM,8EA4EV,CAAC;AAIH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import Loader from "dt-design-system/es/loader";
|
|
6
|
+
import T, { t } from "./i18n/translations";
|
|
7
|
+
import TelecabineIcon from "./icons/lifts/telecabine";
|
|
8
|
+
import SlopesIcon from "./icons/slopes";
|
|
9
|
+
import css from "./domain.module.css";
|
|
10
|
+
const Domain = React.forwardRef(({ domain }, ref) => {
|
|
11
|
+
const { lang } = useUbloContext();
|
|
12
|
+
if (domain === undefined) {
|
|
13
|
+
return (_jsx("div", { ref: ref, className: css.loader, "data-tags": t(lang, "domain.navigation-title"), children: _jsx(Loader, { variant: "overlay" }) }));
|
|
14
|
+
}
|
|
15
|
+
if (!domain?.lifts || !domain?.slopes) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
const { lifts, slopes } = domain;
|
|
19
|
+
return (_jsx("div", { ref: ref, className: css.domain, "data-tags": t(lang, "domain.navigation-title"), children: _jsxs("div", { className: css.inner, children: [_jsx("div", { className: css.title, dangerouslySetInnerHTML: {
|
|
20
|
+
__html: t(lang, "domain.title"),
|
|
21
|
+
} }), _jsxs("div", { className: css.info, children: [_jsxs("div", { className: css.card, children: [_jsx(TelecabineIcon, {}), _jsx("span", { className: css.cardTitle, children: _jsx(T, { id: "domain.lifts.title" }) }), _jsxs("div", { className: css.cardCount, children: [_jsx("b", { children: lifts.count.open }), " / ", lifts.count.total] })] }), _jsxs("div", { className: css.card, children: [_jsx(SlopesIcon, {}), _jsx("span", { className: css.cardTitle, children: _jsx(T, { id: "domain.slopes.title" }) }), _jsxs("div", { className: css.cardCount, children: [_jsx("b", { children: slopes.count.open }), " / ", slopes.count.total] })] })] }), _jsx("div", { className: css.slopes, children: Object.keys(slopes.slopes).map((key) => {
|
|
22
|
+
const { open, total } = slopes.slopes[key];
|
|
23
|
+
const classes = classNames(css.slope, {
|
|
24
|
+
[css[key]]: key,
|
|
25
|
+
});
|
|
26
|
+
return (_jsxs("div", { className: classes, children: [_jsx("div", { className: css.slopePill }), _jsx("div", { className: css.slopeKind, children: _jsx(T, { id: `domain.slopes.${key}` }) }), _jsxs("div", { className: css.slopeCount, children: [_jsx("b", { children: open }), " / ", total] })] }, key));
|
|
27
|
+
}) })] }) }));
|
|
28
|
+
});
|
|
29
|
+
Domain.displayName = "Domain";
|
|
30
|
+
export default Domain;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.loader {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 500px;
|
|
5
|
+
margin-top: 30px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.domain {
|
|
9
|
+
width: 100%;
|
|
10
|
+
margin-top: 30px;
|
|
11
|
+
padding: 40px 10px;
|
|
12
|
+
color: hsl(var(--grey-000));
|
|
13
|
+
background-color: hsl(var(--primary));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.inner {
|
|
17
|
+
width: 100%;
|
|
18
|
+
max-width: 1200px;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 26px;
|
|
22
|
+
margin: 0 auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.title {
|
|
26
|
+
padding: 10px 18px;
|
|
27
|
+
background-color: hsla(var(--grey-800), 30%);
|
|
28
|
+
font-size: 38px;
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.info {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
gap: 36px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.card {
|
|
41
|
+
flex: 0 0 300px;
|
|
42
|
+
width: 300px;
|
|
43
|
+
height: 300px;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
gap: 17px;
|
|
49
|
+
text-align: center;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
background-color: hsla(var(--grey-800), 30%);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.card > svg {
|
|
55
|
+
flex: 0 0 90px;
|
|
56
|
+
width: 90px;
|
|
57
|
+
height: 90px;
|
|
58
|
+
fill: currentColor;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.cardTitle {
|
|
62
|
+
font-size: 20px;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cardCount {
|
|
67
|
+
font-size: 50px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.slopes {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
flex-wrap: wrap;
|
|
75
|
+
gap: 22px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.slope {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 6px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.slope.GREEN {
|
|
85
|
+
--color: #00a52c;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.slope.BLUE {
|
|
89
|
+
--color: #0062ae;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.slope.RED {
|
|
93
|
+
--color: #f4000f;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.slope.BLACK {
|
|
97
|
+
--color: #000;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.slopePill {
|
|
101
|
+
flex: 0 0 16px;
|
|
102
|
+
width: 16px;
|
|
103
|
+
height: 16px;
|
|
104
|
+
border-radius: 50%;
|
|
105
|
+
background-color: var(--color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.slopeKind,
|
|
109
|
+
.slopeCount {
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"todays-tips": {
|
|
3
|
+
"title": "<b>Conseil</b> du jour"
|
|
4
|
+
},
|
|
5
|
+
"road-conditions": {
|
|
6
|
+
"title": "<b>Conditions</b> routières",
|
|
7
|
+
"navigation-title": "Conditions routières",
|
|
8
|
+
"status": {
|
|
9
|
+
"OPENED": "Ouverte",
|
|
10
|
+
"CLOSED": "Fermée"
|
|
11
|
+
},
|
|
12
|
+
"surface": {
|
|
13
|
+
"title": "Route : ",
|
|
14
|
+
"states": {
|
|
15
|
+
"UNDEF": "",
|
|
16
|
+
"CLEAR_DRY": "claire et sèche",
|
|
17
|
+
"CLEAR_WET": "claire et humide",
|
|
18
|
+
"SOGGY": "détrempée",
|
|
19
|
+
"PART_SNOW": "partiellement enneigée",
|
|
20
|
+
"SNOWY": "enneigée",
|
|
21
|
+
"PACKED": "tassée",
|
|
22
|
+
"ICY": "verglacée",
|
|
23
|
+
"CLOSED": "fermée"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"equipment": {
|
|
27
|
+
"title": "Équipements : ",
|
|
28
|
+
"states": {
|
|
29
|
+
"NORM": "aucun",
|
|
30
|
+
"CHAIN": "chaînes ou pneus neige",
|
|
31
|
+
"RECO_CHAIN_RESORT": "chaînes recommandées",
|
|
32
|
+
"RECO_CHAIN": "chaînes obligatoires",
|
|
33
|
+
"ICY": "chaînes obligatoires (route gelée)",
|
|
34
|
+
"CLOSED": "fermée"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"domain": {
|
|
39
|
+
"title": "Domaine <b>skiable</b>",
|
|
40
|
+
"navigation-title": "Domaine skiable",
|
|
41
|
+
"lifts": {
|
|
42
|
+
"title": "Remontées mécaniques"
|
|
43
|
+
},
|
|
44
|
+
"slopes": {
|
|
45
|
+
"title": "Pistes",
|
|
46
|
+
"GREEN": "Pistes vertes",
|
|
47
|
+
"BLUE": "Pistes bleues",
|
|
48
|
+
"RED": "Pistes rouges",
|
|
49
|
+
"BLACK": "Pistes noires"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"weather": {
|
|
53
|
+
"title": "Météo/Neige",
|
|
54
|
+
"today": "Aujourd'hui",
|
|
55
|
+
"avalanche-risk": {
|
|
56
|
+
"title": "Risque d'avalanche",
|
|
57
|
+
"states": {
|
|
58
|
+
"LOW": "1 - Faible",
|
|
59
|
+
"MODERATE": "2 - Limité",
|
|
60
|
+
"CONSIDERABLE": "3 - Marqué",
|
|
61
|
+
"HIGH": "4 - Fort",
|
|
62
|
+
"VERY_HIGH": "5 - Très fort"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"sky-status": {
|
|
66
|
+
"title": "État du ciel",
|
|
67
|
+
"states": {
|
|
68
|
+
"SUNNY": "Soleil",
|
|
69
|
+
"MOSTLY_SUNNY": "Soleil voilé",
|
|
70
|
+
"FAIR_WEATHER_PARTLY_CLOUDY": "Belles éclaircies, passages nuageux",
|
|
71
|
+
"MOSTLY_CLOUDY_SOME_SUN": "Très nuageux, courtes éclaircies",
|
|
72
|
+
"MOSTLY_CLOUDY_LIGHT_RAIN": "Ciel variable, faibles averses de pluie",
|
|
73
|
+
"CLOUDY_LIGHT_RAIN": "Couvert, pluies faibles",
|
|
74
|
+
"CLOUDY": "Couvert",
|
|
75
|
+
"VARIABLE_SKY_LIGHT_SNOWFALL": "Ciel variable, faibles chutes de neige",
|
|
76
|
+
"CLOUDY_LIGHT_SNOWFALL": "Couvert, faibles chutes de neige",
|
|
77
|
+
"CLOUDY_MODERATE_HEAVY_SNOWFALL": "Couvert, chutes de neige modérées ou fortes",
|
|
78
|
+
"CLOUDY_MODERATE_HEAVY_RAIN": "Couvert, pluies modérées ou fortes",
|
|
79
|
+
"FOG": "Brouillards",
|
|
80
|
+
"THUNDERSTORMS": "Orages",
|
|
81
|
+
"VARIABLE_SKY_SCATTERED_THUNDERSTORMS": "Ciel variable, orages isolés"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"wind-direction": {
|
|
85
|
+
"title": "Direction du vent",
|
|
86
|
+
"states": {
|
|
87
|
+
"NORTH": "Nord",
|
|
88
|
+
"NORTH_EAST": "Nord-Est",
|
|
89
|
+
"EAST": "Est",
|
|
90
|
+
"SOUTH_EAST": "Sud-Est",
|
|
91
|
+
"SOUTH": "Sud",
|
|
92
|
+
"SOUTH_WEST": "Sud-Ouest",
|
|
93
|
+
"WEST": "Ouest",
|
|
94
|
+
"NORTH_WEST": "Nord-Ouest"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"visibility": {
|
|
98
|
+
"title": "Visibilité",
|
|
99
|
+
"states": {
|
|
100
|
+
"VISIBILITE_0": "- de 100m",
|
|
101
|
+
"VISIBILITE_25": "de 100m à 500m",
|
|
102
|
+
"VISIBILITE_50": "de 500m à 4km",
|
|
103
|
+
"VISIBILITE_75": "de 4km à 10km",
|
|
104
|
+
"VISIBILITE_100": "+ de 10km"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"am": "Matin",
|
|
108
|
+
"pm": "Après-midi",
|
|
109
|
+
"feels-like": "Ressenti",
|
|
110
|
+
"index-uv": "Indice UV",
|
|
111
|
+
"temperature": "Température",
|
|
112
|
+
"wind": "Vent",
|
|
113
|
+
"wind-max": "Rafales",
|
|
114
|
+
"limit-rain-snow-fall": "Limite pluie/neige",
|
|
115
|
+
"limit-isothermic-0": "Limite isotherme 0°C",
|
|
116
|
+
"limit-isothermic-minus-10": "Limite isotherme -10°C"
|
|
117
|
+
},
|
|
118
|
+
"snow": {
|
|
119
|
+
"grooming": {
|
|
120
|
+
"states": {
|
|
121
|
+
"GROOMED": "Damée",
|
|
122
|
+
"PARTIALLY_GROOMED": "Partiellement damée",
|
|
123
|
+
"MORNING_GROOMED ": "Damée du matin",
|
|
124
|
+
"EVENING_GROOMED ": "Damée du soir",
|
|
125
|
+
"H48_GROOMED ": "Damée il y a 48H",
|
|
126
|
+
"GROOMING_FORECAST": "Damage prévu",
|
|
127
|
+
"NOT_GROOMED ": "Non damée"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"snow-quality": {
|
|
131
|
+
"title": "Neige",
|
|
132
|
+
"states": {
|
|
133
|
+
"FRESH": "Fraîche",
|
|
134
|
+
"ARTIFICIAL": "Artificielle",
|
|
135
|
+
"CRUSTED": "Croûtée",
|
|
136
|
+
"DRIFTED": "Sablée",
|
|
137
|
+
"EARLY_SEASON": "Faible enneignement, début de saison",
|
|
138
|
+
"FROZEN": "Verglacée",
|
|
139
|
+
"GRADIENT": "Dégradée",
|
|
140
|
+
"HARD_PACKED": "Dure",
|
|
141
|
+
"LOW_SNOWFALL": "Absence de neige",
|
|
142
|
+
"PACKED_POWDER": "Douce",
|
|
143
|
+
"POWDER": "Poudreuse",
|
|
144
|
+
"SNOW_GROOMED": "Neige dammée",
|
|
145
|
+
"SPRING": "De printemps",
|
|
146
|
+
"VARIABLE": "Conditions variables",
|
|
147
|
+
"WET_SNOW": "Humide"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"fresh-snow-fall": "Hauteur neige fraîche"
|
|
151
|
+
},
|
|
152
|
+
"pois": {
|
|
153
|
+
"opening-statuses": {
|
|
154
|
+
"OPEN": "Ouvert",
|
|
155
|
+
"OPEN_PEDESTRIAN_ONLY": "Ouvert piéton seulement",
|
|
156
|
+
"OPEN_DOWNHILL_ONLY": "Ouvert descente seulement",
|
|
157
|
+
"FORECAST": "Prévision d'ouverture",
|
|
158
|
+
"FORECAST_AURORA_SKI": "Prévision aurore",
|
|
159
|
+
"FORECAST_NIGHT_SKI": "Prévision nuit",
|
|
160
|
+
"DELAYED": "Retardé",
|
|
161
|
+
"DELAYED_TECHNICAL_ISSUE": "Retardé pour cause de problème technique",
|
|
162
|
+
"DELAYED_SECURING": "Retardé pour cause de problème de sécurité",
|
|
163
|
+
"DELAYED_WEATHER": "Retardé pour cause météo",
|
|
164
|
+
"DELAYED_WIND": "Retardé pour cause de vent",
|
|
165
|
+
"STOPPED": "Arrêté",
|
|
166
|
+
"STOPPED_TECHNICAL_ISSUE": "Arrêté pour cause de problème technique",
|
|
167
|
+
"STOPPED_SECURING": "Arrêté pour cause de problème de sécurité",
|
|
168
|
+
"STOPPED_WEATHER": "Arrêté pour cause météo",
|
|
169
|
+
"STOPPED_WIND": "Arrêté pour cause de vent",
|
|
170
|
+
"CLOSED": "Fermé",
|
|
171
|
+
"CLOSED_CONTEST": "Fermé pour compétition",
|
|
172
|
+
"OUT_OF_PERIOD": "Hors période",
|
|
173
|
+
"OUT_OF_PERIOD_SEASON_BEGINNING": "Début de la période hors-saison",
|
|
174
|
+
"OUT_OF_PERIOD_SEASON_ENDING": "Fin de la période hors-saison"
|
|
175
|
+
},
|
|
176
|
+
"trails": {
|
|
177
|
+
"BIKE_PARK": "Bike Park",
|
|
178
|
+
"BOARDERCROSS": "Boardercross",
|
|
179
|
+
"BUMP_TRAIL": "Champ de bosse",
|
|
180
|
+
"CROSS_COUNTRY_MOUNTAIN_BIKING": "VTT Cross Country",
|
|
181
|
+
"CROSS_COUNTRY_SKIING": "Ski de fond",
|
|
182
|
+
"DOWNHILL_MOUNTAIN_BIKING": "VTT descente en montagne",
|
|
183
|
+
"DOWNHILL_SKIING": "Ski alpin",
|
|
184
|
+
"EBIKE": "VTT électrique",
|
|
185
|
+
"ENDURO": "Enduro",
|
|
186
|
+
"FREERIDE_AREA_OFF_PIST": "Zone Freeride et Hors Piste",
|
|
187
|
+
"FREERIDE_SKI_ITINERARY": "Freeride en intinéraire",
|
|
188
|
+
"FUN_ZONE": "Zone ludique",
|
|
189
|
+
"GATE": "Porte",
|
|
190
|
+
"GLADES": "Forêt",
|
|
191
|
+
"ILLUMINATED_TRAIL": "Piste éclairée",
|
|
192
|
+
"MULTI_USE_TRAIL": "Piste multi-activités",
|
|
193
|
+
"MTB_ENDURO": "VTT Enduro",
|
|
194
|
+
"PATH": "Chemin",
|
|
195
|
+
"PEDESTRIAN": "Piéton",
|
|
196
|
+
"ROUTE_OF_CROSS_COUNTRY": "Route de ski de fond",
|
|
197
|
+
"SKI_TOURING": "Ski de randonnée",
|
|
198
|
+
"SLEDDING_HILL": "Luge",
|
|
199
|
+
"SNOWPARK": "Snowpark",
|
|
200
|
+
"SNOWPARK_LINE": "Ligne Snowpark",
|
|
201
|
+
"SNOWSHOE": "Raquette",
|
|
202
|
+
"TERRAIN_PARK": "Snowpark",
|
|
203
|
+
"TERRAIN_PARK_US": "Snowpark",
|
|
204
|
+
"TRAIL_RUNNING": "Trail",
|
|
205
|
+
"VIDEO_ZONE": "Zone vidéo"
|
|
206
|
+
},
|
|
207
|
+
"trailLevels": {
|
|
208
|
+
"GREEN": "Verte",
|
|
209
|
+
"BLUE": "Bleue",
|
|
210
|
+
"RED": "Rouge",
|
|
211
|
+
"BLACK": "Noire",
|
|
212
|
+
"YELLOW": "Jaune"
|
|
213
|
+
},
|
|
214
|
+
"lifts": {
|
|
215
|
+
"TRAIN": "Train",
|
|
216
|
+
"FUNICULAR": "Funiculaire",
|
|
217
|
+
"FUNITEL": "Funite",
|
|
218
|
+
"TRAM": "Tramway",
|
|
219
|
+
"LIFT": "Télécabine",
|
|
220
|
+
"PEDESTRIAN_SKI_LIFT": "Remontée piéton",
|
|
221
|
+
"CABRIOLET_GONDOLA": "Télébenne",
|
|
222
|
+
"GONDOLA": "Télécabine",
|
|
223
|
+
"COMBINED_CHAIR_GONDOLA_LIFT": "Télémix",
|
|
224
|
+
"DETACHABLE_BUBBLE_CHAIRLIFT": "Télésiège débrayable à bulle",
|
|
225
|
+
"DETACHABLE_CHAIRLIFT": "Télésiège débrayable",
|
|
226
|
+
"CHAIRLIFT": "Télésiège",
|
|
227
|
+
"SURFACE_LIFT": "Téléski",
|
|
228
|
+
"MAGIC_CARPET": "Tapis roulant",
|
|
229
|
+
"ROPE_TO": "Télécorde"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"opening": {
|
|
233
|
+
"title": "Aurore/Nocturne :",
|
|
234
|
+
"navigation-title": "Aurore/Nocturne",
|
|
235
|
+
"dawn": "Aurore",
|
|
236
|
+
"night": "Nocturne",
|
|
237
|
+
"days": {
|
|
238
|
+
"Monday": "Lundi",
|
|
239
|
+
"Tuesday": "Mardi",
|
|
240
|
+
"Wednesday": "Mercredi",
|
|
241
|
+
"Thursday": "Jeudi",
|
|
242
|
+
"Friday": "Vendredi",
|
|
243
|
+
"Saturday": "Samedi",
|
|
244
|
+
"Sunday": "Dimanche"
|
|
245
|
+
},
|
|
246
|
+
"available": "Disponible",
|
|
247
|
+
"unavailable": "Indispo"
|
|
248
|
+
},
|
|
249
|
+
"METER": "m",
|
|
250
|
+
"KMH": "km/h",
|
|
251
|
+
"CENTIMETER": "cm",
|
|
252
|
+
"CELSIUS": "°C",
|
|
253
|
+
"see-more": "Voir plus",
|
|
254
|
+
"see-less": "Réduire"
|
|
255
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/lbm/lumiplan/i18n/translations.tsx"],"names":[],"mappings":"AAOA,wBAAgB,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,OAQ5C;AAED,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,2CAGtC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
3
|
+
import fr from "./fr.json";
|
|
4
|
+
import en from "./en.json";
|
|
5
|
+
const dictionaries = { fr, en };
|
|
6
|
+
export function t(lang, key) {
|
|
7
|
+
if (!lang || !key)
|
|
8
|
+
return "";
|
|
9
|
+
const translations = dictionaries[lang];
|
|
10
|
+
const keys = key.split(".");
|
|
11
|
+
return keys.reduce((acc, key) => {
|
|
12
|
+
if (typeof acc === "string")
|
|
13
|
+
return acc;
|
|
14
|
+
return acc[key];
|
|
15
|
+
}, translations);
|
|
16
|
+
}
|
|
17
|
+
export default function T({ id }) {
|
|
18
|
+
const { lang } = useUbloContext();
|
|
19
|
+
return _jsx(_Fragment, { children: t(lang, id) });
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
const AlertIcon = ({
|
|
5
|
+
width = 24,
|
|
6
|
+
height = 24
|
|
7
|
+
}) => {
|
|
8
|
+
return _jsxs("svg", {
|
|
9
|
+
height: height,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
width: width,
|
|
12
|
+
children: [_jsx("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
clipRule: "evenodd",
|
|
15
|
+
d: "M10.528 2.283a3 3 0 0 1 4.037 1.058l.003.005 8.47 14.14.008.014a3.001 3.001 0 0 1-2.565 4.5H3.519a2.999 2.999 0 0 1-2.565-4.5l.008-.014 8.47-14.14.858.514-.855-.519a3 3 0 0 1 1.093-1.058Zm.618 2.094L2.683 18.506A1 1 0 0 0 3.536 20h16.928a1 1 0 0 0 .853-1.494L12.855 4.379l-.001-.002a1 1 0 0 0-1.708 0Z"
|
|
16
|
+
}), _jsx("path", {
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
clipRule: "evenodd",
|
|
19
|
+
d: "M11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1ZM12 8a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Z"
|
|
20
|
+
})]
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export default AlertIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
const AvalancheRiskIcon = ({
|
|
4
|
+
width = 24,
|
|
5
|
+
height = 24
|
|
6
|
+
}) => {
|
|
7
|
+
return _jsx("svg", {
|
|
8
|
+
height: height,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
width: width,
|
|
11
|
+
children: _jsx("path", {
|
|
12
|
+
d: "M12.18 1.4l.06.04 10.31 10.32c.12.12.15.3.05.43L12.24 22.56a.3.3 0 01-.24.1.33.33 0 01-.19-.06l-.05-.04L1.44 12.24a.35.35 0 01-.1-.24c0-.07.03-.14.06-.19l.04-.05 10.3-10.32c.12-.12.3-.13.44-.04zM22.13 12H1.86l.03.09 10 10c.03.04.06.05.1.05.02 0 .07-.01.08-.04L22.1 12.09c.03-.03.03-.06.03-.1zm-10.1 6.82a.9.9 0 01.88.88c0 .5-.4.89-.88.89a.89.89 0 010-1.77zm.12-5.97c.4 0 .77.07 1.1.2l.17.07c.31.15.57.36.77.6l.1.14c.17.26.28.56.3.87v.16c0 .23-.03.44-.1.64l-.07.14c-.09.16-.19.3-.3.44l-.11.12-.66.6-.14.13-.19.19-.05.05a.64.64 0 00-.08.1l-.04.06a.41.41 0 00-.04.1l-.01.04a2.8 2.8 0 00-.06.22l-.02.08a.72.72 0 01-.6.64l-.1.01c0-.02-.02-.02-.04-.03a.81.81 0 01-.45-.13l-.1-.08a.74.74 0 01-.2-.5l-.01-.1c0-.23.02-.43.08-.62l.05-.13c.07-.16.15-.3.25-.44l.1-.13.42-.4.13-.11.37-.34.04-.05.14-.16.05-.09c.03-.05.05-.1.06-.16v-.09a.58.58 0 00-.14-.4l-.06-.07a.8.8 0 00-.46-.2h-.12c-.26 0-.43.05-.55.14l-.05.04c-.11.11-.21.3-.3.53l-.06.15c-.1.37-.34.63-.68.66h-.1a.82.82 0 01-.5-.16l-.08-.07a.8.8 0 01-.22-.43l-.01-.1c0-.3.07-.57.23-.85l.08-.14c.18-.3.43-.53.74-.72l.16-.1c.34-.18.71-.28 1.14-.31h.22zm-.17-11.01c-.02 0-.07.01-.09.04l-.19.2-5.78 5.78L9.22 6l2.41 1.13 2.64-2.05.12.09 4.46 4.46c.13.13.35.13.5 0a.37.37 0 00-.01-.49l-7.25-7.25a.13.13 0 00-.1-.04z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
export default AvalancheRiskIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
const CabinIcon = ({
|
|
4
|
+
width = 24,
|
|
5
|
+
height = 24
|
|
6
|
+
}) => {
|
|
7
|
+
return _jsx("svg", {
|
|
8
|
+
height: height,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
width: width,
|
|
11
|
+
children: _jsx("path", {
|
|
12
|
+
d: "M10.77 4.9c-.12.1-.17.24-.08.36.08.1.21.04.32-.01l.04-.05c-.04-.14-.11-.25-.28-.3zm.92 10.98c.1-.43.1-.43 0-.66-.27.2-.44.5-.34.64l.34.02zm-2.45-1.96c-.04.2.04.29.19.32.15.04.27 0 .34-.13a.74.74 0 00.09-.25c0-.05-.02-.13-.06-.16a.18.18 0 00-.16-.01l-.4.23zm5.36 1c.11 0 .23-.02.33-.13.15-.16.1-.37-.1-.46-.17-.06-.33 0-.45.18-.14.18 0 .4.22.41zm-8.27-1.06c.02-.2-.12-.33-.3-.27-.1.03-.22.09-.31.16-.14.1-.1.33.05.4.24.13.54-.02.56-.3zm7 .26c.01-.15-.15-.33-.33-.35a.38.38 0 00-.4.33c-.02.16.19.38.35.39.16 0 .38-.2.39-.37zm1.98 1.77c-.04-.38-.28-.62-.6-.6a.68.68 0 00-.46.24c-.1.11-.2.25-.17.42.5.06.9.04 1.23-.06zM10.22 5.01h-.54c-.1 0-.16-.05-.18-.15-.03-.1.04-.2.16-.23l.3-.04c.08-.02.15-.07.24-.1a.76.76 0 00-.85-.2.59.59 0 00-.38.64c.05.44.3.62.73.56a.9.9 0 00.25-.08c.16-.07.25-.2.27-.4zm2.8 10.95c.11-.28 0-.52-.05-.76-.05-.23-.23-.37-.42-.48-.2-.1-.44.03-.47.25l-.04.35c-.04.2-.02.38.07.59l.91.05zm-3.1-.15c.05-.24 0-.47-.08-.7-.12-.33-.44-.43-.75-.24l-.11.07a.6.6 0 00-.27.4c-.03.16-.07.34.05.5.56.07.85.07 1.16-.03zm-3.5.02l.07-.6a.62.62 0 00-.25-.54c-.17-.15-.31-.15-.47 0-.24.23-.4.52-.48.84-.02.07 0 .16 0 .24.46.13.77.15 1.13.06zm4.91-10.95c.14.15.28.28.47.26.2-.02.42-.05.6-.15.26-.14.34-.55.22-.83-.12-.27-.54-.54-.79-.49a.9.9 0 00-.53.3c-.09.1-.18.2-.12.37l.21-.01c.2-.04.38-.1.57-.13.1-.01.2 0 .3.02.1.03.14.18.06.26-.04.04-.08.1-.14.1-.15.05-.31.1-.47.12-.13.02-.27 0-.38.18zm-.33.76c-.46.01-.67.15-.76.54-.08.4-.13.79-.19 1.19l.05.1c.47.05.95.14 1.44.07.04 0 .07-.05.12-.08-.1-.66-.39-1.24-.66-1.82zm-1.75 5.07c.18.03.35.03.53.02l.44-.01 2.18.02.12-.03c.04-.28.02-.37-.2-.85-.09 0-.2.02-.3.01L10 9.7c-.19-.01-.38-.05-.57.05-.14.3-.24.6-.17.96zm.35-1.45l.28.08c.58.09 1.96.13 2.32.07 0-.5-.24-.94-.39-1.4l-1.7-.18c-.13-.02-.21.05-.26.2l-.23.76a.74.74 0 00-.02.47zm.77 6.56c.35.12.52.02.64-.23.15-.31.34-.6.6-.83.1-.08.16-.18.15-.3l-.04-1.8c0-.09-.05-.18-.09-.3-.98-.07-1.94.03-2.9.05-.02.06-.05.1-.04.15.08.63 0 1.27.02 1.9 0 .05.03.09.04.13.17-.03.17-.03.28-.13l-.1-.77c.2-.11.36-.24.55-.32.28-.13.54-.01.65.27.07.18.08.35-.03.52l-.22.4c.4.34.34.85.5 1.26zm5.59-4.02c-.27-.33-.77-.5-1.07-.51-.3-.02-.58-.1-.87-.14-.31-.04-.63-.02-.94-.03-.06 0-.13.01-.18-.01-.25-.13-.52-.05-.78-.03-.35.03-.7-.04-1.05 0-.16.02-.33-.02-.49 0a5.4 5.4 0 01-1.16-.01h-.3l-.76.05H7.7c-.65 0-1.3.05-1.96.03a2.69 2.69 0 00-1.69.58c-.04.04-.06.12-.1.21l.44.03H5.4l1.3.02 1.2.02c.74 0 1.48.03 2.23.02 1.02-.01 2.05-.04 3.07-.07l2.5-.05c.09 0 .18.01.26-.1zm-3.45 1.74l.3-.05c.35-.05.55.03.69.29.14.27.17.55-.09.82l-.17.2.18.9c.01.08.02.16.06.22.02.04.09.05.17.1.07-.4.27-.68.52-.93-.26-.52-.26-.52-.15-.89.12-.05.24-.11.37-.15.35-.11.62-.01.8.29.09.15.12.3.07.47-.06.16 0 .29.1.4.1.1.18.2.25.32.08.12.13.26.2.41l.75-.07c.03-.05.07-.09.07-.12-.03-1.06-.04-2.11-.16-3.16 0-.09-.05-.17-.08-.27-.72 0-1.43-.03-2.15-.02-.7.01-1.42-.05-2.14.05-.07.63-.01 1.25 0 1.87 0 .03.06.06.12.1.08-.27.03-.56.3-.78zm-.95 6.7c.01-.05.04-.1.04-.16.08-1.26.1-2.52.09-3.78l-.02-.04-.05-.06c-.88-.05-1.78-.03-2.69-.06-.05 0-.1.03-.18.05a7.3 7.3 0 00-.07 1.56c.05.73.07 1.45.05 2.18l.03.32.36.03h.89c.39 0 .77.03 1.16.04.13 0 .27.03.39-.08zM5.4 13.48c.16-.06.32-.13.5-.17.12-.03.26-.04.39-.02.07.01.17.07.21.14.14.2.18.44.06.67-.04.08-.1.15-.13.2l.04.12c.3.31.4.68.35 1.1-.02.12-.04.25.06.34.34.03 1.2 0 1.43-.06l.04-.34c0-.32-.03-.65 0-.97.06-.5.03-.98.04-1.47 0-.21-.02-.41-.13-.63a7.94 7.94 0 00-1.6-.06l-.57.01-1.96-.01c-.13 0-.27 0-.38.12v.44c.03.37 0 .74-.02 1.1-.04.44-.05.87-.06 1.3 0 .14-.02.3.11.46.32 0 .67.06 1 .01l.7-1.38c-.22-.27-.39-.56-.08-.9zm6.67 2.8l-.05.3c-.01 1.19-.04 2.37-.03 3.56 0 .04.02.08.05.15.12.01.25.03.38.03.43 0 .87-.03 1.3.02.44.06.88 0 1.32-.03.32-.03.62-.13.88-.3.47-.31.76-.72.73-1.33-.04-.71-.03-1.43-.05-2.14 0-.04-.02-.08-.04-.15-.33-.1-.7-.1-1.04-.1-.53 0-1.06.1-1.6 0l-.13.01c-.5.01-1 .05-1.5-.04l-.22.02zm-3.85 4c.15-.47.19-.9.18-1.32-.03-.82-.08-1.64-.03-2.45 0-.09-.04-.17-.06-.27l-.36-.03-.5-.03a2.46 2.46 0 00-.96.04c-.23.05-.45.03-.67 0l-1.73-.15c-.14 0-.3 0-.42.17.02.56.03 1.16.07 1.75.02.32.07.65.12.97.04.24.1.47.28.64.33.31.72.55 1.16.64.42.08.86.06 1.29.08l.89-.02.74-.02zm.55-9.57c.08-.23.16-.44.22-.65.22-.84.44-1.67.63-2.51.11-.46.17-.94.25-1.4.01-.06-.01-.12-.03-.2-.36-.03-.7-.12-1.06-.05-1.05.2-2.1.4-3.16.57l-1.77.27c-.22.03-.43.1-.65.14-.1.02-.17-.02-.2-.12a.17.17 0 01.1-.21.53.53 0 01.18-.04c.39 0 .77-.07 1.15-.14l2.07-.31 2.1-.39c.05 0 .08-.04.14-.08l-.11-.33c-.26-.62.15-1.44.99-1.4l.35.04c.21.03.4.1.54.29.03.04.08.07.12.1.13-.02.11-.13.15-.2.11-.29.28-.53.55-.68a.83.83 0 01.6-.13c.46.1.9.25 1.06.76.05.13.06.28.07.43l-.02.43h.27c1.22-.2 2.44-.4 3.64-.67.83-.18 1.66-.34 2.5-.5l1.32-.19.18.01c.07.18.05.25-.06.29l-.35.07c-1.07.18-2.15.34-3.22.53-.64.1-1.28.25-1.92.36l-2.3.4c-.2.04-.43.1-.63.19-.25.11-.5.17-.78.11-.08-.01-.17.02-.27.03 0 .1 0 .17.03.24.54 1.62.96 3.28 1.5 4.86.21.14.4.17.6.18l1.11.07c.25.02.5.05.75.1.31.07.57.24.77.5.07.1.16.17.25.25a1 1 0 01.34.61c.03.2.07.41.08.62.04.79.08 1.57.1 2.36.02.46 0 .92 0 1.39 0 .67.03 1.33.03 2a1.9 1.9 0 01-1.05 1.75c-.22.12-.46.2-.71.23-.57.06-1.13.05-1.7.02-.58-.03-1.18-.14-1.77-.04-.09.02-.18.01-.27 0l-1.87-.1c-.18-.01-.36 0-.53.03-.25.04-.5.05-.76.02a2.08 2.08 0 00-.35-.02c-.34.01-.68.09-1.02 0a.24.24 0 00-.13 0c-.4.14-.8.05-1.2.04-.25-.01-.5-.05-.73-.2a.77.77 0 00-.29-.1c-.42-.06-.7-.34-.89-.68-.11-.2-.18-.44-.21-.67-.12-.92-.15-1.84-.14-2.76l.03-3.08c0-.14 0-.28-.03-.4-.1-.33 0-.62.1-.92a.81.81 0 01.23-.32c.45-.39.95-.68 1.55-.73.4-.03.8-.02 1.2-.02l2.33-.05z"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
export default CabinIcon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
const CheckIcon = ({
|
|
4
|
+
width = 24,
|
|
5
|
+
height = 24
|
|
6
|
+
}) => {
|
|
7
|
+
return _jsx("svg", {
|
|
8
|
+
height: height,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
width: width,
|
|
11
|
+
children: _jsx("path", {
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
clipRule: "evenodd",
|
|
14
|
+
d: "M20.707 5.293a1 1 0 0 1 0 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L9 15.586 19.293 5.293a1 1 0 0 1 1.414 0Z"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
export default CheckIcon;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
const CloseIcon = ({
|
|
5
|
+
width = 24,
|
|
6
|
+
height = 24
|
|
7
|
+
}) => {
|
|
8
|
+
return _jsxs("svg", {
|
|
9
|
+
height: height,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
width: width,
|
|
12
|
+
children: [_jsx("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
clipRule: "evenodd",
|
|
15
|
+
d: "M18.707 5.293a1 1 0 0 1 0 1.414l-12 12a1 1 0 0 1-1.414-1.414l12-12a1 1 0 0 1 1.414 0Z"
|
|
16
|
+
}), _jsx("path", {
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
clipRule: "evenodd",
|
|
19
|
+
d: "M5.293 5.293a1 1 0 0 1 1.414 0l12 12a1 1 0 0 1-1.414 1.414l-12-12a1 1 0 0 1 0-1.414Z"
|
|
20
|
+
})]
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export default CloseIcon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import styles from "./cloud.module.css";
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
+
const CloudIcon = ({
|
|
5
|
+
width = 24,
|
|
6
|
+
height = 24
|
|
7
|
+
}) => {
|
|
8
|
+
return _jsx("svg", {
|
|
9
|
+
className: styles.cloud,
|
|
10
|
+
height: height,
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
width: width,
|
|
13
|
+
children: _jsx("path", {
|
|
14
|
+
d: "M14.6806 10.3806C14.634 10.2237 14.5863 10.0419 14.5262 9.86454C13.4671 6.72712 10.4764 4.93682 7.25847 5.51216C3.79353 6.13164 1.42751 9.72261 2.17697 13.2242C2.83701 16.3076 5.39871 18.4172 8.50967 18.4251C11.3056 18.4323 14.1018 18.4325 16.8977 18.4201C17.2942 18.4184 17.7003 18.3685 18.0851 18.2721C20.367 17.7001 21.732 15.3039 21.1322 12.9542C20.551 10.6774 18.1772 9.26444 15.9434 9.88505C15.5159 10.0038 15.1116 10.2089 14.6806 10.3806ZM-0.108398 12.2982V11.5504C-0.0611514 11.1811 -0.0252926 10.8101 0.0348486 10.4433C0.82619 5.61757 5.48163 2.38595 10.1884 3.40919C12.6247 3.93889 14.4888 5.30868 15.7883 7.46661C15.8833 7.62454 15.9742 7.66623 16.1565 7.65268C16.6432 7.61607 17.137 7.56505 17.6203 7.60854C21.6636 7.97249 24.356 12.1167 23.1173 16.0464C22.2482 18.8035 19.8202 20.5839 16.9013 20.5907C14.1213 20.5971 11.3412 20.5942 8.56116 20.5893C8.1941 20.5887 7.82525 20.5692 7.46036 20.5288C3.82694 20.1271 0.785719 17.2901 0.0845428 13.6464C-0.00101019 13.2013 -0.0450573 12.7478 -0.108398 12.2982Z"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
export default CloudIcon;
|