@useinsider/guido 2.0.0-beta.d170da6 → 2.0.0-beta.dbde199
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/README.md +2 -0
- package/dist/@types/config/schemas.js +3 -1
- package/dist/components/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +15 -17
- package/dist/composables/useStripo.js +40 -40
- package/dist/extensions/Blocks/Items/controls/cardComposition.js +13 -4
- package/dist/extensions/Blocks/Recommendation/cardCompositionControl.js +12 -6
- package/dist/extensions/Blocks/Recommendation/constants.js +8 -7
- package/dist/extensions/Blocks/Recommendation/control.js +19 -4
- package/dist/extensions/Blocks/Recommendation/controls/index.js +123 -96
- package/dist/extensions/Blocks/Recommendation/controls/priceHideControl.js +60 -0
- package/dist/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.js +160 -0
- package/dist/extensions/Blocks/Recommendation/extension.js +17 -15
- package/dist/extensions/Blocks/Recommendation/settingsPanel.js +41 -33
- package/dist/extensions/Blocks/Recommendation/templates/blockTemplate.js +15 -12
- package/dist/extensions/Blocks/Recommendation/templates/migrationTemplate.js +8 -8
- package/dist/extensions/Blocks/controlFactories.js +70 -70
- package/dist/guido.css +1 -1
- package/dist/node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js +364 -286
- package/dist/package.json.js +1 -1
- package/dist/services/stripoApi.js +6 -10
- package/dist/src/@types/config/schemas.d.ts +4 -0
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/cardCompositionControl.d.ts +4 -0
- package/dist/src/extensions/Blocks/Recommendation/constants.d.ts +9 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +62 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/priceHideControl.d.ts +16 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/priceInlineLayoutControl.d.ts +50 -0
- package/dist/src/extensions/Blocks/Recommendation/templates/blockTemplate.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/templates/migrationTemplate.d.ts +1 -1
- package/dist/src/stores/config.d.ts +17 -0
- package/package.json +3 -3
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { SettingsPanelRegistry as
|
|
1
|
+
import { SettingsPanelRegistry as E, SettingsPanelTab as I, SettingsTab as N, ContainerControls as S, TextControls as C } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
2
|
import { BLOCK_ID as R } from "./block.js";
|
|
3
3
|
import { COMPOSITION_CONTROL_BLOCK_ID as L } from "./cardCompositionControl.js";
|
|
4
|
-
import { RecommendationBlockId as
|
|
5
|
-
import { CONTROL_BLOCK_ID as
|
|
6
|
-
import { CARD_BACKGROUND_COLOR_CONTROL_ID as
|
|
7
|
-
import {
|
|
8
|
-
|
|
4
|
+
import { RecommendationBlockId as T, RecommendationControlId as _ } from "./constants.js";
|
|
5
|
+
import { CONTROL_BLOCK_ID as A } from "./control.js";
|
|
6
|
+
import { CARD_BACKGROUND_COLOR_CONTROL_ID as U } from "./controls/cardBackgroundColorControl.js";
|
|
7
|
+
import { PRICE_INLINE_LAYOUT_CONTROL_ID as D } from "./controls/priceInlineLayoutControl.js";
|
|
8
|
+
import { SPACING_CONTROL_ID as B } from "./controls/spacingControl.js";
|
|
9
|
+
class Y extends E {
|
|
9
10
|
registerBlockControls(O) {
|
|
10
11
|
O[R] = [
|
|
11
12
|
new I(
|
|
12
|
-
|
|
13
|
+
N.SETTINGS,
|
|
13
14
|
[
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
A,
|
|
16
|
+
D,
|
|
17
|
+
S.EXTERNAL_INDENTS
|
|
16
18
|
]
|
|
17
19
|
),
|
|
18
20
|
new I(
|
|
19
|
-
|
|
21
|
+
N.STYLES,
|
|
20
22
|
[
|
|
21
23
|
C.TEXT_BLOCK_BACKGROUND_COLOR,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
U,
|
|
25
|
+
B
|
|
24
26
|
]
|
|
25
27
|
),
|
|
26
28
|
new I(
|
|
@@ -29,9 +31,9 @@ class m extends S {
|
|
|
29
31
|
L
|
|
30
32
|
]
|
|
31
33
|
).withLabel("Card Composition")
|
|
32
|
-
], O[
|
|
34
|
+
], O[T.NAME] = [
|
|
33
35
|
new I(
|
|
34
|
-
|
|
36
|
+
N.SETTINGS,
|
|
35
37
|
[
|
|
36
38
|
_.NAME_STYLE,
|
|
37
39
|
_.NAME_ALIGN,
|
|
@@ -40,35 +42,38 @@ class m extends S {
|
|
|
40
42
|
]
|
|
41
43
|
),
|
|
42
44
|
new I(
|
|
43
|
-
|
|
45
|
+
N.STYLES,
|
|
44
46
|
[
|
|
45
47
|
_.NAME_BACKGROUND,
|
|
46
48
|
_.NAME_FONT_FAMILY,
|
|
49
|
+
_.NAME_LINE_SPACING,
|
|
47
50
|
_.NAME_SIZE,
|
|
48
51
|
_.NAME_COLOR
|
|
49
52
|
]
|
|
50
53
|
)
|
|
51
|
-
], O[
|
|
54
|
+
], O[T.PRICE] = [
|
|
52
55
|
new I(
|
|
53
|
-
|
|
56
|
+
N.SETTINGS,
|
|
54
57
|
[
|
|
55
58
|
_.PRICE_STYLE,
|
|
56
59
|
_.PRICE_ALIGN,
|
|
60
|
+
_.PRICE_HIDE_IF_SAME,
|
|
57
61
|
_.PRICE_PADDINGS
|
|
58
62
|
]
|
|
59
63
|
),
|
|
60
64
|
new I(
|
|
61
|
-
|
|
65
|
+
N.STYLES,
|
|
62
66
|
[
|
|
63
67
|
_.PRICE_BACKGROUND,
|
|
64
68
|
_.PRICE_FONT_FAMILY,
|
|
69
|
+
_.PRICE_LINE_SPACING,
|
|
65
70
|
_.PRICE_SIZE,
|
|
66
71
|
_.PRICE_COLOR
|
|
67
72
|
]
|
|
68
73
|
)
|
|
69
|
-
], O[
|
|
74
|
+
], O[T.OLD_PRICE] = [
|
|
70
75
|
new I(
|
|
71
|
-
|
|
76
|
+
N.SETTINGS,
|
|
72
77
|
[
|
|
73
78
|
_.OLD_PRICE_STYLE,
|
|
74
79
|
_.OLD_PRICE_ALIGN,
|
|
@@ -76,17 +81,18 @@ class m extends S {
|
|
|
76
81
|
]
|
|
77
82
|
),
|
|
78
83
|
new I(
|
|
79
|
-
|
|
84
|
+
N.STYLES,
|
|
80
85
|
[
|
|
81
86
|
_.OLD_PRICE_BACKGROUND,
|
|
82
87
|
_.OLD_PRICE_FONT_FAMILY,
|
|
88
|
+
_.OLD_PRICE_LINE_SPACING,
|
|
83
89
|
_.OLD_PRICE_SIZE,
|
|
84
90
|
_.OLD_PRICE_COLOR
|
|
85
91
|
]
|
|
86
92
|
)
|
|
87
|
-
], O[
|
|
93
|
+
], O[T.OMNIBUS_PRICE] = [
|
|
88
94
|
new I(
|
|
89
|
-
|
|
95
|
+
N.SETTINGS,
|
|
90
96
|
[
|
|
91
97
|
_.OMNIBUS_PRICE_TEXT_BEFORE,
|
|
92
98
|
_.OMNIBUS_PRICE_TEXT_AFTER,
|
|
@@ -96,17 +102,18 @@ class m extends S {
|
|
|
96
102
|
]
|
|
97
103
|
),
|
|
98
104
|
new I(
|
|
99
|
-
|
|
105
|
+
N.STYLES,
|
|
100
106
|
[
|
|
101
107
|
_.OMNIBUS_PRICE_BACKGROUND,
|
|
102
108
|
_.OMNIBUS_PRICE_FONT_FAMILY,
|
|
109
|
+
_.OMNIBUS_PRICE_LINE_SPACING,
|
|
103
110
|
_.OMNIBUS_PRICE_SIZE,
|
|
104
111
|
_.OMNIBUS_PRICE_COLOR
|
|
105
112
|
]
|
|
106
113
|
)
|
|
107
|
-
], O[
|
|
114
|
+
], O[T.OMNIBUS_DISCOUNT] = [
|
|
108
115
|
new I(
|
|
109
|
-
|
|
116
|
+
N.SETTINGS,
|
|
110
117
|
[
|
|
111
118
|
_.OMNIBUS_DISCOUNT_TEXT_BEFORE,
|
|
112
119
|
_.OMNIBUS_DISCOUNT_TEXT_AFTER,
|
|
@@ -116,17 +123,18 @@ class m extends S {
|
|
|
116
123
|
]
|
|
117
124
|
),
|
|
118
125
|
new I(
|
|
119
|
-
|
|
126
|
+
N.STYLES,
|
|
120
127
|
[
|
|
121
128
|
_.OMNIBUS_DISCOUNT_BACKGROUND,
|
|
122
129
|
_.OMNIBUS_DISCOUNT_FONT_FAMILY,
|
|
130
|
+
_.OMNIBUS_DISCOUNT_LINE_SPACING,
|
|
123
131
|
_.OMNIBUS_DISCOUNT_SIZE,
|
|
124
132
|
_.OMNIBUS_DISCOUNT_COLOR
|
|
125
133
|
]
|
|
126
134
|
)
|
|
127
|
-
], O[
|
|
135
|
+
], O[T.BUTTON] = [
|
|
128
136
|
new I(
|
|
129
|
-
|
|
137
|
+
N.SETTINGS,
|
|
130
138
|
[
|
|
131
139
|
_.BUTTON_TEXT,
|
|
132
140
|
_.BUTTON_ALIGN,
|
|
@@ -135,7 +143,7 @@ class m extends S {
|
|
|
135
143
|
]
|
|
136
144
|
),
|
|
137
145
|
new I(
|
|
138
|
-
|
|
146
|
+
N.STYLES,
|
|
139
147
|
[
|
|
140
148
|
_.BUTTON_COLOR,
|
|
141
149
|
_.BUTTON_FONT_FAMILY,
|
|
@@ -146,9 +154,9 @@ class m extends S {
|
|
|
146
154
|
_.BUTTON_BORDER
|
|
147
155
|
]
|
|
148
156
|
)
|
|
149
|
-
], O[
|
|
157
|
+
], O[T.IMAGE] = [
|
|
150
158
|
new I(
|
|
151
|
-
|
|
159
|
+
N.SETTINGS,
|
|
152
160
|
[
|
|
153
161
|
_.IMAGE_SIZE,
|
|
154
162
|
_.IMAGE_MARGINS
|
|
@@ -158,5 +166,5 @@ class m extends S {
|
|
|
158
166
|
}
|
|
159
167
|
}
|
|
160
168
|
export {
|
|
161
|
-
|
|
169
|
+
Y as SettingsPanel
|
|
162
170
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { BlockType as e, BlockAttr as o } from "../../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
-
import { RecommendationBlockId as s, ATTR_PRODUCT_BUTTON as r, ATTR_PRODUCT_OMNIBUS_DISCOUNT as c, ATTR_PRODUCT_OMNIBUS_PRICE as p, ATTR_PRODUCT_OLD_PRICE as i, ATTR_PRODUCT_PRICE as d, ATTR_PRODUCT_NAME as T, ATTR_PRODUCT_IMAGE as b } from "../constants.js";
|
|
3
|
-
import { generateTemplate as
|
|
4
|
-
import { DEFAULT_CARD_COMPOSITION as
|
|
2
|
+
import { RecommendationBlockId as s, ATTR_PRODUCT_BUTTON as r, ATTR_PRODUCT_OMNIBUS_DISCOUNT as c, ATTR_PRODUCT_OMNIBUS_PRICE as p, ATTR_PRODUCT_OLD_PRICE as i, ATTR_PRODUCT_PRICE as d, ATTR_PRODUCT_NAME as T, ATTR_PRODUCT_IMAGE as b, ATTR_DATA_PRICE_INLINE as _ } from "../constants.js";
|
|
3
|
+
import { generateTemplate as O, prepareProductRows as u, spacer as C, DEFAULTS as f, getDefaultProducts as R } from "./templateUtils.js";
|
|
4
|
+
import { DEFAULT_CARD_COMPOSITION as A, DEFAULT_CARD_VISIBILITY as h } from "./templateUtils.js";
|
|
5
5
|
const g = `
|
|
6
|
-
<td
|
|
6
|
+
<td
|
|
7
|
+
align="left"
|
|
8
|
+
class="ins-recommendation-v3-block-v2 es-p20"
|
|
9
|
+
${_}="0">
|
|
7
10
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
8
11
|
<tr>
|
|
9
12
|
<td align="center">
|
|
@@ -33,7 +36,7 @@ const g = `
|
|
|
33
36
|
</table>
|
|
34
37
|
</td>
|
|
35
38
|
</tr>
|
|
36
|
-
${
|
|
39
|
+
${C}
|
|
37
40
|
<tr>
|
|
38
41
|
<td>
|
|
39
42
|
<table
|
|
@@ -153,8 +156,8 @@ const g = `
|
|
|
153
156
|
`
|
|
154
157
|
};
|
|
155
158
|
function x() {
|
|
156
|
-
const t =
|
|
157
|
-
return
|
|
159
|
+
const t = R();
|
|
160
|
+
return O(
|
|
158
161
|
g,
|
|
159
162
|
t,
|
|
160
163
|
3,
|
|
@@ -162,8 +165,8 @@ function x() {
|
|
|
162
165
|
f.TITLE
|
|
163
166
|
);
|
|
164
167
|
}
|
|
165
|
-
function
|
|
166
|
-
return
|
|
168
|
+
function $(t, a, l) {
|
|
169
|
+
return u(
|
|
167
170
|
t,
|
|
168
171
|
a,
|
|
169
172
|
n,
|
|
@@ -172,10 +175,10 @@ function E(t, a, l) {
|
|
|
172
175
|
}
|
|
173
176
|
export {
|
|
174
177
|
f as DEFAULTS,
|
|
175
|
-
|
|
178
|
+
A as DEFAULT_CARD_COMPOSITION,
|
|
176
179
|
h as DEFAULT_CARD_VISIBILITY,
|
|
177
180
|
g as default,
|
|
178
|
-
|
|
181
|
+
R as getDefaultProducts,
|
|
179
182
|
x as getDefaultTemplate,
|
|
180
|
-
|
|
183
|
+
$ as prepareProductRows
|
|
181
184
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ATTR_PRODUCT_BUTTON as o, ATTR_PRODUCT_OMNIBUS_DISCOUNT as a, ATTR_PRODUCT_OMNIBUS_PRICE as s, ATTR_PRODUCT_OLD_PRICE as l, ATTR_PRODUCT_PRICE as
|
|
1
|
+
import { ATTR_PRODUCT_BUTTON as o, ATTR_PRODUCT_OMNIBUS_DISCOUNT as a, ATTR_PRODUCT_OMNIBUS_PRICE as s, ATTR_PRODUCT_OLD_PRICE as l, ATTR_PRODUCT_PRICE as r, ATTR_PRODUCT_NAME as c, ATTR_PRODUCT_IMAGE as d } from "../constants.js";
|
|
2
2
|
import { prepareProductRows as i } from "./templateUtils.js";
|
|
3
|
-
import { DEFAULTS as
|
|
3
|
+
import { DEFAULTS as f, getDefaultProducts as k } from "./templateUtils.js";
|
|
4
4
|
const g = `
|
|
5
5
|
<td
|
|
6
6
|
align="left"
|
|
7
7
|
esd-extension-block-id="recommendation-block"
|
|
8
8
|
esd-handler-name="esd-extension-RecommendationBlock"
|
|
9
|
-
class="ins-recommendation-v3-block-v2 esd-
|
|
10
|
-
|
|
9
|
+
class="ins-recommendation-v3-block-v2 es-p20 esd-recommendation-block esd-extension-block esd-container-frame"
|
|
10
|
+
data-price-inline="0">
|
|
11
11
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
12
12
|
<tr>
|
|
13
13
|
<td align="center">
|
|
@@ -74,7 +74,7 @@ const g = `
|
|
|
74
74
|
</td>
|
|
75
75
|
</tr>
|
|
76
76
|
`,
|
|
77
|
-
[
|
|
77
|
+
[c]: (t) => `
|
|
78
78
|
<tr>
|
|
79
79
|
<td
|
|
80
80
|
class="esd-block-text product-name"
|
|
@@ -89,7 +89,7 @@ const g = `
|
|
|
89
89
|
</td>
|
|
90
90
|
</tr>
|
|
91
91
|
`,
|
|
92
|
-
[
|
|
92
|
+
[r]: () => `
|
|
93
93
|
<tr>
|
|
94
94
|
<td
|
|
95
95
|
class="esd-block-text product-price"
|
|
@@ -182,8 +182,8 @@ function u(t, e, n) {
|
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
184
|
export {
|
|
185
|
-
|
|
185
|
+
f as DEFAULTS,
|
|
186
186
|
g as default,
|
|
187
|
-
|
|
187
|
+
k as getDefaultProducts,
|
|
188
188
|
u as prepareProductRows
|
|
189
189
|
};
|
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
import { TextAlignBuiltInControl as o, TextColorBuiltInControl as l, TextSizeBuiltInControl as s, TextStyleBuiltInControl as u, TextFontFamilyBuiltInControl as i, ButtonBackgroundColorBuiltInControl as c, TextPaddingsBuiltInControl as d, ImageSizeBuiltInControl as a, ImageMarginsBuiltInControl as g, ButtonAlignBuiltInControl as x, ButtonBorderBuiltInControl as C, ButtonBorderRadiusBuiltInControl as
|
|
2
|
-
function $(r,
|
|
1
|
+
import { TextAlignBuiltInControl as o, TextColorBuiltInControl as l, TextSizeBuiltInControl as s, TextStyleBuiltInControl as u, TextFontFamilyBuiltInControl as i, ButtonBackgroundColorBuiltInControl as c, TextPaddingsBuiltInControl as d, ImageSizeBuiltInControl as a, ImageMarginsBuiltInControl as g, ButtonAlignBuiltInControl as x, ButtonBorderBuiltInControl as C, ButtonBorderRadiusBuiltInControl as T, ButtonColorBuiltInControl as B, ButtonFontFamilyBuiltInControl as I, ButtonMarginsBuiltInControl as f, ButtonPaddingsBuiltInControl as y, ButtonTextBuiltInControl as m, ButtonTextSizeBuiltInControl as A, ButtonTextStyleAndFontColorBuiltInControl as S, ButtonFitToContainerBuiltInControl as b, TextLineSpacingBuiltInControl as q } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
+
function $(r, e, t) {
|
|
3
3
|
return class extends o {
|
|
4
4
|
getId() {
|
|
5
5
|
return r;
|
|
6
6
|
}
|
|
7
|
-
getTargetNodes(
|
|
8
|
-
return !
|
|
7
|
+
getTargetNodes(n) {
|
|
8
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
function k(r,
|
|
12
|
+
function k(r, e, t) {
|
|
13
13
|
return class extends l {
|
|
14
14
|
getId() {
|
|
15
15
|
return r;
|
|
16
16
|
}
|
|
17
|
-
getTargetNodes(
|
|
18
|
-
return !
|
|
17
|
+
getTargetNodes(n) {
|
|
18
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function p(r,
|
|
22
|
+
function p(r, e, t) {
|
|
23
23
|
return class extends s {
|
|
24
24
|
getId() {
|
|
25
25
|
return r;
|
|
26
26
|
}
|
|
27
|
-
getTargetNodes(
|
|
28
|
-
return !
|
|
27
|
+
getTargetNodes(n) {
|
|
28
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
function F(r,
|
|
32
|
+
function F(r, e, t) {
|
|
33
33
|
return class extends u {
|
|
34
34
|
getId() {
|
|
35
35
|
return r;
|
|
36
36
|
}
|
|
37
|
-
getTargetNodes(
|
|
38
|
-
return !
|
|
37
|
+
getTargetNodes(n) {
|
|
38
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function z(r,
|
|
42
|
+
function z(r, e, t) {
|
|
43
43
|
return class extends i {
|
|
44
44
|
getId() {
|
|
45
45
|
return r;
|
|
46
46
|
}
|
|
47
|
-
getTargetNodes(
|
|
48
|
-
return !
|
|
47
|
+
getTargetNodes(n) {
|
|
48
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function M(r,
|
|
52
|
+
function M(r, e, t) {
|
|
53
53
|
return class extends c {
|
|
54
54
|
getId() {
|
|
55
55
|
return r;
|
|
56
56
|
}
|
|
57
|
-
getTargetNodes(
|
|
58
|
-
return !
|
|
57
|
+
getTargetNodes(n) {
|
|
58
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function P(r,
|
|
62
|
+
function P(r, e, t) {
|
|
63
63
|
return class extends d {
|
|
64
64
|
getId() {
|
|
65
65
|
return r;
|
|
66
66
|
}
|
|
67
|
-
getTargetNodes(
|
|
68
|
-
return !
|
|
67
|
+
getTargetNodes(n) {
|
|
68
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
function L(r,
|
|
73
|
-
return class extends
|
|
72
|
+
function L(r, e, t) {
|
|
73
|
+
return class extends q {
|
|
74
74
|
getId() {
|
|
75
75
|
return r;
|
|
76
76
|
}
|
|
77
|
-
getTargetNodes(
|
|
78
|
-
return [e];
|
|
77
|
+
getTargetNodes(n) {
|
|
78
|
+
return !e || !t ? [n] : n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function R(r,
|
|
82
|
+
function R(r, e, t = ".ins-recommendation-product-container") {
|
|
83
83
|
return class extends x {
|
|
84
84
|
getId() {
|
|
85
85
|
return r;
|
|
86
86
|
}
|
|
87
|
-
getTargetNodes(
|
|
88
|
-
return
|
|
87
|
+
getTargetNodes(n) {
|
|
88
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function h(r,
|
|
93
|
-
return class extends
|
|
92
|
+
function h(r, e, t = ".ins-recommendation-product-container") {
|
|
93
|
+
return class extends B {
|
|
94
94
|
getId() {
|
|
95
95
|
return r;
|
|
96
96
|
}
|
|
97
|
-
getTargetNodes(
|
|
98
|
-
return
|
|
97
|
+
getTargetNodes(n) {
|
|
98
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
function j(r,
|
|
102
|
+
function j(r, e, t = ".ins-recommendation-product-container") {
|
|
103
103
|
return class extends C {
|
|
104
104
|
getId() {
|
|
105
105
|
return r;
|
|
106
106
|
}
|
|
107
|
-
getTargetNodes(
|
|
108
|
-
return
|
|
107
|
+
getTargetNodes(n) {
|
|
108
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function v(r,
|
|
113
|
-
return class extends
|
|
112
|
+
function v(r, e, t = ".ins-recommendation-product-container") {
|
|
113
|
+
return class extends T {
|
|
114
114
|
getId() {
|
|
115
115
|
return r;
|
|
116
116
|
}
|
|
117
|
-
getTargetNodes(
|
|
118
|
-
return
|
|
117
|
+
getTargetNodes(n) {
|
|
118
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
function w(r,
|
|
122
|
+
function w(r, e, t = ".ins-recommendation-product-container") {
|
|
123
123
|
return class extends I {
|
|
124
124
|
getId() {
|
|
125
125
|
return r;
|
|
126
126
|
}
|
|
127
|
-
getTargetNodes(
|
|
128
|
-
return
|
|
127
|
+
getTargetNodes(n) {
|
|
128
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function D(r,
|
|
132
|
+
function D(r, e, t = ".ins-recommendation-product-container") {
|
|
133
133
|
return class extends f {
|
|
134
134
|
getId() {
|
|
135
135
|
return r;
|
|
136
136
|
}
|
|
137
|
-
getTargetNodes(
|
|
138
|
-
return
|
|
137
|
+
getTargetNodes(n) {
|
|
138
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
function E(r,
|
|
143
|
-
return class extends
|
|
142
|
+
function E(r, e, t = ".ins-recommendation-product-container") {
|
|
143
|
+
return class extends y {
|
|
144
144
|
getId() {
|
|
145
145
|
return r;
|
|
146
146
|
}
|
|
147
|
-
getTargetNodes(
|
|
148
|
-
return
|
|
147
|
+
getTargetNodes(n) {
|
|
148
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
function G(r,
|
|
153
|
-
return class extends
|
|
152
|
+
function G(r, e, t = ".ins-recommendation-product-container") {
|
|
153
|
+
return class extends m {
|
|
154
154
|
getId() {
|
|
155
155
|
return r;
|
|
156
156
|
}
|
|
157
|
-
getTargetNodes(
|
|
158
|
-
return
|
|
157
|
+
getTargetNodes(n) {
|
|
158
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
|
-
function H(r,
|
|
162
|
+
function H(r, e, t = ".ins-recommendation-product-container") {
|
|
163
163
|
return class extends A {
|
|
164
164
|
getId() {
|
|
165
165
|
return r;
|
|
166
166
|
}
|
|
167
|
-
getTargetNodes(
|
|
168
|
-
return
|
|
167
|
+
getTargetNodes(n) {
|
|
168
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function J(r,
|
|
172
|
+
function J(r, e, t) {
|
|
173
173
|
return class extends S {
|
|
174
174
|
getId() {
|
|
175
175
|
return r;
|
|
176
176
|
}
|
|
177
|
-
getTargetNodes(
|
|
178
|
-
return
|
|
177
|
+
getTargetNodes(n) {
|
|
178
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
|
-
function K(r,
|
|
183
|
-
return class extends
|
|
182
|
+
function K(r, e, t) {
|
|
183
|
+
return class extends b {
|
|
184
184
|
getId() {
|
|
185
185
|
return r;
|
|
186
186
|
}
|
|
187
|
-
getTargetNodes(
|
|
188
|
-
return
|
|
187
|
+
getTargetNodes(n) {
|
|
188
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
function O(r,
|
|
192
|
+
function O(r, e, t) {
|
|
193
193
|
return class extends a {
|
|
194
194
|
getId() {
|
|
195
195
|
return r;
|
|
196
196
|
}
|
|
197
|
-
getTargetNodes(
|
|
198
|
-
return
|
|
197
|
+
getTargetNodes(n) {
|
|
198
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
function Q(r,
|
|
202
|
+
function Q(r, e, t) {
|
|
203
203
|
return class extends g {
|
|
204
204
|
getId() {
|
|
205
205
|
return r;
|
|
206
206
|
}
|
|
207
|
-
getTargetNodes(
|
|
208
|
-
return
|
|
207
|
+
getTargetNodes(n) {
|
|
208
|
+
return n.closest(t).querySelectorAll(`[esd-extension-block-id="${e}"]`);
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
}
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-06e6f7a7] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-
|
|
1
|
+
.gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-06e6f7a7] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-890b5336]{position:relative;width:100%;height:calc(100vh - 128px)}.guido-editor__container[data-v-890b5336]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-890b5336]{height:calc(100vh - 75px)}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-bb3bb07c] .guido__verion-history-view-option-selection-desktop svg,[data-v-bb3bb07c] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-bb3bb07c] .in-segments-wrapper__button_selected,[data-v-bb3bb07c] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-4b876c1b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-dd1a237a] .vueperslides__bullets{pointer-events:none!important}[data-v-dd1a237a] .vueperslides__parallax-wrapper{height:110px!important}[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
|