ublo-lib 1.12.7 → 1.12.8
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/admin-links/admin-links.d.ts.map +1 -1
- package/es/common/components/admin-links/admin-links.js +2 -2
- package/es/esf/components/parcours-esf/parcours-esf.js +1 -1
- package/es/esf/components/period-picker/messages.js +3 -3
- package/es/esf/components/period-picker/title.js +5 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":";AAMA,aAAK,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,aAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACpC,CAAC;AAeF,QAAA,MAAM,UAAU,oBAAqB,KAAK,
|
|
1
|
+
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":";AAMA,aAAK,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,aAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACpC,CAAC;AAeF,QAAA,MAAM,UAAU,oBAAqB,KAAK,gBA8EzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -19,7 +19,7 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
19
19
|
},
|
|
20
20
|
tutoriels: {
|
|
21
21
|
name: "Tutoriels",
|
|
22
|
-
onClick: "
|
|
22
|
+
onClick: "https://www.valraiso.net/toolbox/?auth=my-toolbox&filter=tools",
|
|
23
23
|
target: "_blank",
|
|
24
24
|
},
|
|
25
25
|
popup: {
|
|
@@ -42,7 +42,7 @@ const AdminLinks = ({ customLinks }) => {
|
|
|
42
42
|
return (_jsx("div", { className: styles.root, children: cmsMode && (_jsxs(_Fragment, { children: [_jsx("div", { className: styles.toggle, onClick: () => setOpen(!open), children: _jsx(ToggleIcon, {}) }), open && (_jsxs("div", { className: styles.links, children: [_jsx("div", { className: styles.linksTitle, children: "Liens utiles" }), Object.keys(links).map((key, i) => {
|
|
43
43
|
const link = links[key];
|
|
44
44
|
if (!link)
|
|
45
|
-
return;
|
|
45
|
+
return null;
|
|
46
46
|
const { name, onClick, target } = link;
|
|
47
47
|
const isHrefValid = typeof onClick === "string" && onClick !== "";
|
|
48
48
|
const isFunction = typeof onClick === "function";
|
|
@@ -9,7 +9,7 @@ export default function ParcoursEsf({ parcours, constraints = [], noeudsExclus =
|
|
|
9
9
|
const { lang } = useUbloContext();
|
|
10
10
|
const [loaded, setLoaded] = React.useState(false);
|
|
11
11
|
// const parcoursLang = lang === "fr" ? "fr" : "en";
|
|
12
|
-
const parcoursLang =
|
|
12
|
+
const parcoursLang = "fr"; // seul le fr est pris en charge pour le moment
|
|
13
13
|
const startParcours = () => {
|
|
14
14
|
window.EsfParcours.onLoad(() => {
|
|
15
15
|
setLoaded(true);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const messages = {
|
|
2
2
|
fr: {
|
|
3
3
|
title: "<b>A quelle période</b> souhaitez-vous venir ?",
|
|
4
|
-
"selected-title": "
|
|
4
|
+
"selected-title": "Vous venez du",
|
|
5
5
|
warn: "Attention, modifier vos dates de séjour entraine la suppression du contenu du panier",
|
|
6
6
|
ok: "Confirmer",
|
|
7
7
|
cancel: "Annuler",
|
|
@@ -12,7 +12,7 @@ const messages = {
|
|
|
12
12
|
},
|
|
13
13
|
en: {
|
|
14
14
|
title: "<span>When</span> are you coming?",
|
|
15
|
-
"selected-title": "
|
|
15
|
+
"selected-title": "You are coming from",
|
|
16
16
|
warn: "Warning, if you change your dates of stay, products in your cart will be removed",
|
|
17
17
|
ok: "Confirm",
|
|
18
18
|
cancel: "Cancel",
|
|
@@ -23,7 +23,7 @@ const messages = {
|
|
|
23
23
|
},
|
|
24
24
|
nl: {
|
|
25
25
|
title: "<span>Wanneer</span> kom je?",
|
|
26
|
-
"selected-title": "
|
|
26
|
+
"selected-title": "Je komt van",
|
|
27
27
|
warn: "Waarschuwing, als u uw verblijfsdata wijzigt, wordt uw winkelwagentje gewist",
|
|
28
28
|
ok: "Aanpassen",
|
|
29
29
|
cancel: "Annuleren",
|
|
@@ -4,6 +4,7 @@ import * as Messages from "./messages";
|
|
|
4
4
|
import * as Stay from "./services/stay";
|
|
5
5
|
import css from "./title.module.css";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
8
|
const Title = ({
|
|
8
9
|
stay
|
|
9
10
|
}) => {
|
|
@@ -19,11 +20,11 @@ const Title = ({
|
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
22
|
const formatedStay = Stay.formatStay(lang, stay);
|
|
22
|
-
return
|
|
23
|
+
return _jsxs("div", {
|
|
23
24
|
className: css.title,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
25
|
+
children: [Messages.get(lang, "selected-title"), " ", _jsx("b", {
|
|
26
|
+
children: formatedStay
|
|
27
|
+
})]
|
|
27
28
|
});
|
|
28
29
|
};
|
|
29
30
|
export default Title;
|