ublo-lib 1.19.10 → 1.19.12
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/plausible/services/callback.js +9 -1
- package/es/esf/components/instructors-book/instructor.js +3 -10
- package/es/esf/components/instructors-book/instructor.module.css +3 -16
- package/es/esf/components/instructors-book/sheet.js +3 -10
- package/es/esf/components/instructors-book/sheet.module.css +3 -16
- package/package.json +1 -1
|
@@ -16,6 +16,14 @@ export const MseM = ({
|
|
|
16
16
|
cartId
|
|
17
17
|
}) => {
|
|
18
18
|
const hoteId = getBusinessProvider();
|
|
19
|
+
console.log("MseM", {
|
|
20
|
+
event,
|
|
21
|
+
payment_type,
|
|
22
|
+
execcode,
|
|
23
|
+
items,
|
|
24
|
+
orderId,
|
|
25
|
+
cartId
|
|
26
|
+
});
|
|
19
27
|
let name = EVENT_NAMES[event];
|
|
20
28
|
switch (event) {
|
|
21
29
|
case "view_item":
|
|
@@ -116,7 +124,7 @@ export const MseM = ({
|
|
|
116
124
|
const PURCHASE_ATTEMPTS_STORAGE_KEY = "purchase_attempts";
|
|
117
125
|
function getPurchaseAttempts() {
|
|
118
126
|
try {
|
|
119
|
-
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY));
|
|
127
|
+
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY) || "{}");
|
|
120
128
|
} catch (e) {
|
|
121
129
|
return {};
|
|
122
130
|
}
|
|
@@ -60,16 +60,9 @@ export default function Instructor({
|
|
|
60
60
|
children: [_jsxs(Tag, {
|
|
61
61
|
className: css.card,
|
|
62
62
|
...props,
|
|
63
|
-
children: [
|
|
63
|
+
children: [_jsx("div", {
|
|
64
64
|
className: css.imageContainer,
|
|
65
|
-
children:
|
|
66
|
-
loading: "lazy",
|
|
67
|
-
src: picture,
|
|
68
|
-
className: css.imageBackground,
|
|
69
|
-
alt: `${prenom} ${nom}`,
|
|
70
|
-
width: "170",
|
|
71
|
-
height: "220"
|
|
72
|
-
}), picture ? _jsxs(_Fragment, {
|
|
65
|
+
children: picture ? _jsxs(_Fragment, {
|
|
73
66
|
children: [loading && _jsx(Icons.Loader2, {
|
|
74
67
|
className: css.imageLoader
|
|
75
68
|
}), _jsx(Image, {
|
|
@@ -87,7 +80,7 @@ export default function Instructor({
|
|
|
87
80
|
children: _jsx(Icons.User, {
|
|
88
81
|
className: css.imagePlaceholderIcon
|
|
89
82
|
})
|
|
90
|
-
})
|
|
83
|
+
})
|
|
91
84
|
}), _jsx("div", {
|
|
92
85
|
className: css.information,
|
|
93
86
|
children: _jsxs("div", {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.imageContainer {
|
|
10
10
|
position: relative;
|
|
11
|
-
height:
|
|
11
|
+
height: 150px;
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: center;
|
|
@@ -17,24 +17,11 @@
|
|
|
17
17
|
overflow: hidden;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
position:
|
|
22
|
-
top: 0;
|
|
23
|
-
left: 0;
|
|
20
|
+
.image {
|
|
21
|
+
position: relative;
|
|
24
22
|
width: 100%;
|
|
25
23
|
height: 100%;
|
|
26
24
|
object-fit: cover;
|
|
27
|
-
opacity: 0.7;
|
|
28
|
-
transform: scale(1.2);
|
|
29
|
-
filter: blur(3px);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.image {
|
|
33
|
-
position: relative;
|
|
34
|
-
width: 90%;
|
|
35
|
-
max-width: 100%;
|
|
36
|
-
min-width: 110px;
|
|
37
|
-
height: auto;
|
|
38
25
|
}
|
|
39
26
|
|
|
40
27
|
.imageLoader {
|
|
@@ -59,16 +59,9 @@ export default function Sheet({
|
|
|
59
59
|
children: [_jsx(Icons.ChevronLeft, {}), message(lang, "go-back")]
|
|
60
60
|
}), _jsxs("div", {
|
|
61
61
|
className: css.header,
|
|
62
|
-
children: [
|
|
62
|
+
children: [_jsx("div", {
|
|
63
63
|
className: css.imageContainer,
|
|
64
|
-
children:
|
|
65
|
-
loading: "lazy",
|
|
66
|
-
src: picture,
|
|
67
|
-
className: css.imageBackground,
|
|
68
|
-
alt: `${prenom} ${nom}`,
|
|
69
|
-
width: "170",
|
|
70
|
-
height: "220"
|
|
71
|
-
}), picture ? _jsxs(_Fragment, {
|
|
64
|
+
children: picture ? _jsxs(_Fragment, {
|
|
72
65
|
children: [loading && _jsx(Icons.Loader2, {
|
|
73
66
|
className: css.imageLoader
|
|
74
67
|
}), _jsx(Image, {
|
|
@@ -86,7 +79,7 @@ export default function Sheet({
|
|
|
86
79
|
children: _jsx(Icons.User, {
|
|
87
80
|
className: css.imagePlaceholderIcon
|
|
88
81
|
})
|
|
89
|
-
})
|
|
82
|
+
})
|
|
90
83
|
}), _jsxs("div", {
|
|
91
84
|
className: css.information,
|
|
92
85
|
children: [_jsxs("div", {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
.imageContainer {
|
|
40
40
|
position: relative;
|
|
41
41
|
width: 130px;
|
|
42
|
-
height:
|
|
42
|
+
height: 180px;
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
justify-content: center;
|
|
@@ -47,24 +47,11 @@
|
|
|
47
47
|
overflow: hidden;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
51
|
-
position:
|
|
52
|
-
top: 0;
|
|
53
|
-
left: 0;
|
|
50
|
+
.image {
|
|
51
|
+
position: relative;
|
|
54
52
|
width: 100%;
|
|
55
53
|
height: 100%;
|
|
56
54
|
object-fit: cover;
|
|
57
|
-
opacity: 0.7;
|
|
58
|
-
transform: scale(1.2);
|
|
59
|
-
filter: blur(3px);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.image {
|
|
63
|
-
position: relative;
|
|
64
|
-
max-width: 100%;
|
|
65
|
-
min-width: 100px;
|
|
66
|
-
height: auto;
|
|
67
|
-
max-height: 100%;
|
|
68
55
|
}
|
|
69
56
|
|
|
70
57
|
.imageLoader {
|