@useinsider/guido 3.17.0-beta.6cedc6c → 3.17.0-beta.6f780fd
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/dist/@types/config/schemas.js +15 -13
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue.js +6 -6
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue2.js +40 -35
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +17 -0
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +21 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +34 -50
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +39 -0
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +28 -23
- package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
- package/dist/components/organisms/header/MiddleSlot.vue2.js +8 -7
- package/dist/components/organisms/header/RightSlot.vue.js +7 -6
- package/dist/components/organisms/header/RightSlot.vue2.js +17 -15
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +18 -0
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +37 -0
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +24 -0
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +48 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +18 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +74 -0
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +43 -34
- package/dist/composables/useAccessibilityApi.js +31 -0
- package/dist/composables/useCustomInterfaceAppearance.js +31 -28
- package/dist/composables/useStripo.js +14 -14
- package/dist/config/i18n/en/labels.json.js +29 -5
- package/dist/config/migrator/index.js +9 -8
- package/dist/config/migrator/recommendation/compositionMapper.js +20 -20
- package/dist/config/migrator/recommendation/extractors.js +29 -24
- package/dist/config/migrator/recommendation/htmlBuilder.js +116 -130
- package/dist/config/migrator/recommendationMigrator.js +30 -25
- package/dist/config/migrator/recommendationTitleMigrator.js +119 -0
- package/dist/extensions/Blocks/Recommendation/block.js +12 -11
- package/dist/extensions/Blocks/Recommendation/constants/blockIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/controlIds.js +1 -1
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +24 -22
- package/dist/extensions/Blocks/Recommendation/constants/selectors.js +35 -28
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +329 -257
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +107 -105
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +1 -0
- package/dist/extensions/Blocks/Recommendation/controls/title/index.js +44 -0
- package/dist/extensions/Blocks/Recommendation/extension.js +31 -29
- package/dist/extensions/Blocks/Recommendation/settingsPanel.js +23 -4
- package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +3 -3
- package/dist/extensions/Blocks/Recommendation/templates/titleRows.js +33 -0
- package/dist/extensions/Blocks/Recommendation/templates/utils.js +85 -107
- package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +9 -9
- package/dist/guido.css +1 -1
- package/dist/node_modules/@vueuse/core/index.js +102 -0
- package/dist/node_modules/@vueuse/shared/index.js +40 -28
- package/dist/sprite.svg +6 -0
- package/dist/src/@types/config/schemas.d.ts +4 -0
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +2 -0
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +2 -0
- package/dist/src/composables/useAccessibilityApi.d.ts +15 -0
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/config/migrator/recommendation/extractors.d.ts +8 -0
- package/dist/src/config/migrator/recommendationTitleMigrator.d.ts +5 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/blockIds.d.ts +2 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/controlIds.d.ts +7 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +12 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +11 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/title/index.d.ts +86 -0
- package/dist/src/extensions/Blocks/Recommendation/templates/titleRows.d.ts +13 -0
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +6 -0
- package/dist/src/stores/config.d.ts +18 -0
- package/dist/src/stores/editor.d.ts +76 -0
- package/dist/src/stores/onboarding.d.ts +377 -0
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +10 -0
- package/dist/static/styles/components/accessibility.css.js +137 -0
- package/dist/static/styles/customEditorStyle.css.js +3 -1
- package/dist/static/styles/variables.css.js +1 -0
- package/dist/stores/editor.js +4 -1
- package/dist/stores/onboarding.js +16 -11
- package/dist/utils/timeUtil.js +7 -17
- package/package.json +1 -1
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +0 -22
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +0 -19
- /package/dist/src/components/organisms/header/{AutoSaveToggle.vue.d.ts → AutoSaveStatus.vue.d.ts} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ATTR_PRODUCT_PRICE as l, ATTR_PRODUCT_OLD_PRICE as a, ATTR_CUSTOM_PREFIX as T, ATTR_PRODUCT_IMAGE as
|
|
1
|
+
import { ATTR_PRODUCT_PRICE as l, ATTR_PRODUCT_OLD_PRICE as a, ATTR_CUSTOM_PREFIX as T, ATTR_PRODUCT_IMAGE as b, ATTR_PRODUCT_NAME as _, ATTR_PRODUCT_OMNIBUS_PRICE as C, ATTR_PRODUCT_OMNIBUS_DISCOUNT as A, ATTR_PRODUCT_BUTTON as p, PRODUCT_ATTRIBUTE_PREFIX as I } from "../constants/selectors.js";
|
|
2
2
|
import { useRecommendationExtensionStore as L } from "../store/recommendation.js";
|
|
3
|
-
import { compositionKeyToProductAttr as
|
|
3
|
+
import { compositionKeyToProductAttr as y, isDefaultProductAttr as f, bareAttributeName as S, findFilterByBareName as $, productAttrToCompositionKey as P } from "../utils/compositionKeys.js";
|
|
4
4
|
import { formatPrice as B } from "../utils/priceFormatter.js";
|
|
5
|
-
|
|
5
|
+
import { buildTitleRows as k } from "./titleRows.js";
|
|
6
|
+
function x() {
|
|
6
7
|
const t = L(), { currencySettings: e } = t.recommendationConfigs;
|
|
7
8
|
return {
|
|
8
9
|
code: e.value,
|
|
@@ -13,17 +14,17 @@ function k() {
|
|
|
13
14
|
thousandSeparator: e.thousandSeparator
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
const o =
|
|
17
|
+
function m(t, e = "price") {
|
|
18
|
+
const o = x(), n = t[e], c = (n == null ? void 0 : n[o.code]) ?? Object.values(n ?? {})[0] ?? 0;
|
|
18
19
|
return B({
|
|
19
20
|
price: c,
|
|
20
21
|
currency: o
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
function q(t) {
|
|
24
|
-
return
|
|
25
|
+
return m(t, "price") === m(t, "original_price");
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
+
function N(t) {
|
|
27
28
|
return t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase());
|
|
28
29
|
}
|
|
29
30
|
function J(t) {
|
|
@@ -34,115 +35,114 @@ function J(t) {
|
|
|
34
35
|
skip: n ? l : a
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
+
function F(t) {
|
|
38
39
|
const e = Array.isArray(t) ? t[t.length - 1] : t;
|
|
39
40
|
if (typeof e == "string")
|
|
40
41
|
return e;
|
|
41
42
|
if (typeof e == "number")
|
|
42
43
|
return String(e);
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function v(t, e) {
|
|
45
46
|
var o;
|
|
46
47
|
return ((o = $(t, e)) == null ? void 0 : o.type) === "defaultAttribute";
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
49
|
+
function w(t, e) {
|
|
50
|
+
return v(t, e) ? t : `${I}${t}`;
|
|
50
51
|
}
|
|
51
52
|
function Q(t) {
|
|
52
|
-
return
|
|
53
|
+
return P(t);
|
|
53
54
|
}
|
|
54
|
-
const
|
|
55
|
+
const M = Symbol("customCellHtml");
|
|
55
56
|
function Z(t, e, o = {}) {
|
|
56
|
-
const n = t[
|
|
57
|
+
const n = t[M];
|
|
57
58
|
if (!n)
|
|
58
59
|
return { ...t };
|
|
59
60
|
const c = { ...t };
|
|
60
|
-
return e.filter((
|
|
61
|
-
const
|
|
62
|
-
c[
|
|
61
|
+
return e.filter((i) => i.startsWith(T) && !c[i]).forEach((i) => {
|
|
62
|
+
const s = y(i), r = f(s) ? w(s, o) : s, u = S(r), h = N(u), D = f(r);
|
|
63
|
+
c[i] = (d, U) => {
|
|
63
64
|
var g;
|
|
64
|
-
const
|
|
65
|
-
return n(r,
|
|
65
|
+
const O = D ? d[u] : (g = d.product_attributes) == null ? void 0 : g[u], E = F(O) ?? h;
|
|
66
|
+
return n(r, E, U);
|
|
66
67
|
};
|
|
67
68
|
}), c;
|
|
68
69
|
}
|
|
69
70
|
function tt(t, e, o = []) {
|
|
70
|
-
const n = t.startsWith(T) ?
|
|
71
|
+
const n = t.startsWith(T) ? P(S(y(t))) : t, i = n !== t && !o.includes(n) ? n : t, s = (r) => (r == null ? void 0 : r[t]) ?? (r == null ? void 0 : r[i]);
|
|
71
72
|
return {
|
|
72
73
|
cellPadding: e.cellPadding,
|
|
73
74
|
cardBackgroundColor: e.cardBackgroundColor,
|
|
74
|
-
cellBackgroundColor:
|
|
75
|
-
cellAlignment:
|
|
76
|
-
cellClasses:
|
|
77
|
-
omnibusText:
|
|
78
|
-
styleTemplate:
|
|
75
|
+
cellBackgroundColor: s(e.cellBackgroundColors),
|
|
76
|
+
cellAlignment: s(e.cellAlignments),
|
|
77
|
+
cellClasses: s(e.cellClasses),
|
|
78
|
+
omnibusText: s(e.omnibusTexts),
|
|
79
|
+
styleTemplate: s(e.styleTemplates)
|
|
79
80
|
};
|
|
80
81
|
}
|
|
81
82
|
const et = {
|
|
82
83
|
TITLE: "You May Also Like!"
|
|
83
84
|
}, ot = [
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
b,
|
|
86
|
+
_,
|
|
86
87
|
a,
|
|
87
88
|
l,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
C,
|
|
90
|
+
A,
|
|
91
|
+
p
|
|
91
92
|
], nt = {
|
|
92
|
-
[
|
|
93
|
-
[
|
|
93
|
+
[b]: !0,
|
|
94
|
+
[_]: !0,
|
|
94
95
|
[l]: !0,
|
|
95
96
|
[a]: !0,
|
|
96
|
-
[
|
|
97
|
-
[
|
|
98
|
-
[
|
|
99
|
-
},
|
|
100
|
-
function
|
|
97
|
+
[C]: !1,
|
|
98
|
+
[A]: !1,
|
|
99
|
+
[p]: !0
|
|
100
|
+
}, W = 10;
|
|
101
|
+
function rt(t = W) {
|
|
101
102
|
return `
|
|
102
103
|
<tr>
|
|
103
104
|
<td class="spacer" style="height: ${t}px;"></td>
|
|
104
105
|
</tr>
|
|
105
106
|
`;
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
function V(t, e) {
|
|
108
|
+
function H(t, e) {
|
|
109
109
|
return e ? e.pStyle ?? "" : t;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const n =
|
|
113
|
-
return `<p contenteditable="false" style="${n}">${c}${t}${
|
|
111
|
+
function it(t, e, o) {
|
|
112
|
+
const n = H(e.pStyle, o), c = o ? o.openTags ?? "" : e.openTags, i = o ? o.closeTags ?? "" : e.closeTags;
|
|
113
|
+
return `<p contenteditable="false" style="${n}">${c}${t}${i}</p>`;
|
|
114
114
|
}
|
|
115
115
|
function st(t, e) {
|
|
116
116
|
const o = [];
|
|
117
117
|
return t && o.push(t), e && o.push(`background-color: ${e};`), o.join(" ");
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function V(t) {
|
|
120
120
|
return t ? ` background-color: ${t};` : "";
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
const e =
|
|
122
|
+
function ct(t) {
|
|
123
|
+
const e = V(t);
|
|
124
124
|
return e ? ` style="${e.trim()}"` : "";
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function lt(t, e = "") {
|
|
127
127
|
return {
|
|
128
128
|
before: (t == null ? void 0 : t.before) ?? e,
|
|
129
129
|
after: (t == null ? void 0 : t.after) ?? ""
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function at(t, e) {
|
|
133
133
|
return `${(e == null ? void 0 : e.openTags) ?? ""}${t}${(e == null ? void 0 : e.closeTags) ?? ""}`;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function ut(t) {
|
|
136
136
|
return t != null && t.buttonFitToContainer ? "es-button-border es-fw" : "es-button-border";
|
|
137
137
|
}
|
|
138
|
-
const
|
|
139
|
-
function
|
|
140
|
-
return !t || typeof t != "string" || t.trim() === "" ?
|
|
138
|
+
const dt = "display: block; max-width: 100%; height: auto;", gt = "border-width: 1px; background: rgb(217, 234, 211); border-color: rgb(106, 168, 79);", ft = "color: rgb(56, 118, 29); background: rgb(217, 234, 211); font-family: arial, 'helvetica neue', helvetica, sans-serif; font-size: 16px; font-weight: normal; line-height: 120%; mso-border-alt: 10px solid rgb(217, 234, 211); mso-padding-alt: 0;", R = "https://email-static.useinsider.com/stripo/modules/email-recommendation-v3/assets/images/image-placeholder.png";
|
|
139
|
+
function mt(t) {
|
|
140
|
+
return !t || typeof t != "string" || t.trim() === "" ? R : t.startsWith("http://") ? t.replace("http://", "https://") : t;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Y(t) {
|
|
143
143
|
return {
|
|
144
144
|
name: "Product Name",
|
|
145
|
-
image_url:
|
|
145
|
+
image_url: R,
|
|
146
146
|
price: { USD: 18 },
|
|
147
147
|
original_price: { USD: 20 },
|
|
148
148
|
discount: { USD: 2 },
|
|
@@ -154,19 +154,20 @@ function G(t) {
|
|
|
154
154
|
category: []
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Tt(t = 6) {
|
|
158
158
|
return Array.from(
|
|
159
159
|
{ length: t },
|
|
160
|
-
(e, o) =>
|
|
160
|
+
(e, o) => Y(String(o + 1))
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function bt(t = "grid", e) {
|
|
164
164
|
const o = t === "list" ? `
|
|
165
|
-
data-layout="list"` : "", n = e ? ` ${e}` : ""
|
|
165
|
+
data-layout="list"` : "", n = e ? ` ${e}` : "", i = `recommendation-block-v2 esd-block-recommendation-v3-block es-p20${t === "list" ? " es-m-p0 ins-recommendation-list-layout" : ""}${n}`, s = t === "list" ? "" : `
|
|
166
|
+
{-{-MOBILE_PRODUCT_ROWS-}-}`, r = t === "list" ? ' style="display: none;"' : "";
|
|
166
167
|
return `
|
|
167
168
|
<td
|
|
168
169
|
align="left"
|
|
169
|
-
class="${
|
|
170
|
+
class="${i}"${o}>
|
|
170
171
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
171
172
|
<tr>
|
|
172
173
|
<td align="center">
|
|
@@ -177,28 +178,7 @@ function Tt(t = "grid", e) {
|
|
|
177
178
|
cellspacing="0"
|
|
178
179
|
border="0">
|
|
179
180
|
<tbody>
|
|
180
|
-
|
|
181
|
-
<td>
|
|
182
|
-
<table
|
|
183
|
-
width="100%"
|
|
184
|
-
cellpadding="0"
|
|
185
|
-
cellspacing="0"
|
|
186
|
-
border="0">
|
|
187
|
-
<tbody>
|
|
188
|
-
<tr>
|
|
189
|
-
<td
|
|
190
|
-
class="esd-block-text es-p10t es-p10b es-p20l es-p20r"
|
|
191
|
-
align="center">
|
|
192
|
-
<p style="font-size: 28px; color: #333333;">
|
|
193
|
-
<strong>{-{-TITLE-}-}</strong>
|
|
194
|
-
</p>
|
|
195
|
-
</td>
|
|
196
|
-
</tr>
|
|
197
|
-
</tbody>
|
|
198
|
-
</table>
|
|
199
|
-
</td>
|
|
200
|
-
</tr>
|
|
201
|
-
${H}
|
|
181
|
+
${k()}
|
|
202
182
|
<tr>
|
|
203
183
|
<td>
|
|
204
184
|
<table
|
|
@@ -213,7 +193,7 @@ function Tt(t = "grid", e) {
|
|
|
213
193
|
</table>
|
|
214
194
|
</td>
|
|
215
195
|
</tr>
|
|
216
|
-
<tr class="ins-recommendation-mobile-row"${
|
|
196
|
+
<tr class="ins-recommendation-mobile-row"${r}>
|
|
217
197
|
<td>
|
|
218
198
|
<table
|
|
219
199
|
class="ins-recommendation-product-container
|
|
@@ -223,8 +203,7 @@ function Tt(t = "grid", e) {
|
|
|
223
203
|
cellspacing="0"
|
|
224
204
|
border="0"
|
|
225
205
|
style="display: none;"
|
|
226
|
-
>${
|
|
227
|
-
{-{-MOBILE_PRODUCT_ROWS-}-}`}
|
|
206
|
+
>${s}
|
|
228
207
|
</table>
|
|
229
208
|
</td>
|
|
230
209
|
</tr>
|
|
@@ -237,37 +216,36 @@ function Tt(t = "grid", e) {
|
|
|
237
216
|
`;
|
|
238
217
|
}
|
|
239
218
|
export {
|
|
240
|
-
|
|
219
|
+
M as CUSTOM_CELL_HTML,
|
|
241
220
|
et as DEFAULTS,
|
|
242
|
-
|
|
243
|
-
|
|
221
|
+
ft as DEFAULT_BUTTON_ANCHOR_STYLE,
|
|
222
|
+
gt as DEFAULT_BUTTON_BORDER_STYLE,
|
|
244
223
|
ot as DEFAULT_CARD_COMPOSITION,
|
|
245
224
|
nt as DEFAULT_CARD_VISIBILITY,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
225
|
+
dt as DEFAULT_IMG_STYLE,
|
|
226
|
+
W as DEFAULT_ROW_SPACING_PX,
|
|
227
|
+
R as PLACEHOLDER_IMAGE,
|
|
228
|
+
V as bgColorFragment,
|
|
250
229
|
tt as buildCellOptions,
|
|
251
230
|
Z as buildElementRenderer,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
231
|
+
rt as buildSpacer,
|
|
232
|
+
ct as cellBgStyleAttr,
|
|
233
|
+
bt as createBlockTemplate,
|
|
234
|
+
m as formatProductPrice,
|
|
235
|
+
x as getCurrentCurrencyConfig,
|
|
236
|
+
Tt as getDefaultProducts,
|
|
237
|
+
v as isDefaultAttribute,
|
|
259
238
|
q as isSamePrice,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
239
|
+
at as renderButtonLabel,
|
|
240
|
+
it as renderStyledParagraph,
|
|
241
|
+
ut as resolveButtonBorderClass,
|
|
263
242
|
J as resolveInlinePriceOrder,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
243
|
+
lt as resolveOmnibusText,
|
|
244
|
+
H as resolvePStyle,
|
|
245
|
+
w as resolveProductAttrValue,
|
|
267
246
|
st as resolveSegmentBgStyle,
|
|
268
|
-
|
|
269
|
-
H as spacer,
|
|
247
|
+
mt as sanitizeImageUrl,
|
|
270
248
|
Q as toCustomCompositionKey,
|
|
271
|
-
|
|
272
|
-
|
|
249
|
+
N as toDisplayName,
|
|
250
|
+
F as toDisplayableAttributeValue
|
|
273
251
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ModificationDescription as f } from "../../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { RECOMMENDATION_ID_ATTR as m } from "../constants/selectors.js";
|
|
3
|
+
import { isPartnerManagedBlock as a, updateProductContentInPlace as d, regenerateProductRowsWithStyles as l } from "../controls/main/utils.js";
|
|
4
|
+
import { RecommendationConfigService as s } from "../services/configService.js";
|
|
5
5
|
let e = null;
|
|
6
|
-
function
|
|
6
|
+
function N(r) {
|
|
7
7
|
e = r;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function D(r, c, i, u) {
|
|
10
10
|
const n = e == null ? void 0 : e.getDocumentRootHtmlNode();
|
|
11
11
|
if (!e || !n || !("querySelector" in n))
|
|
12
12
|
return !1;
|
|
13
|
-
const t = n.querySelector(`[${
|
|
13
|
+
const t = n.querySelector(`[${m}="${r}"]`);
|
|
14
14
|
if (!t)
|
|
15
15
|
return !1;
|
|
16
16
|
const o = e.getDocumentModifier();
|
|
17
|
-
return
|
|
17
|
+
return s.stageConfig(o, t, c), a(t) ? (o.apply(new f(u)), !0) : (d({ currentNode: t, documentModifier: o, products: i }) || l({ currentNode: t, documentModifier: o, products: i }), !0);
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
D as commitBlockChangeOutsidePanel,
|
|
21
|
+
N as registerNodeConfigWriter
|
|
22
22
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-
|
|
1
|
+
@charset "UTF-8";.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-2f127fb6] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__menu[data-v-869e2871]{top:calc(100% + 4px);left:0;z-index:20;width:387px;padding:8px 0;border-radius:8px;background-color:#fff;box-shadow:0 4px 12px #39393926}.color-vision-select__option[data-v-869e2871]{width:100%;padding:4px 12px;border:none;background-color:transparent;text-align:left;cursor:pointer}.color-vision-select__option[data-v-869e2871]:hover,.color-vision-select__option_selected[data-v-869e2871]{background-color:#f1f3fe}.color-vision-select__option_selected .color-vision-select__option-label[data-v-869e2871],.color-vision-select__option_selected .color-vision-select__option-description[data-v-869e2871]{color:#0a2ecc}.color-vision-select__option-label[data-v-869e2871]{line-height:24px}.color-vision-select__option-description[data-v-869e2871]{line-height:16px}.accessibility-toolbar[data-v-4e1e854b]{gap:16px}.view-options-wrapper[data-v-87033101]{position:relative;display:inline-block}.new-tag[data-v-87033101]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-87033101] .guido__view-option-selection-desktop svg,[data-v-87033101] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-87033101] .in-segments-wrapper__button_selected,[data-v-87033101] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-87033101] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-fad98586]{gap:8px}.version-history__toolbar[data-v-fad98586]{gap:4px}.view-options-wrapper[data-v-6ebabfe4]{position:relative;display:inline-block}.new-tag[data-v-6ebabfe4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-6ebabfe4] .guido__verion-history-view-option-selection-desktop svg,[data-v-6ebabfe4] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-6ebabfe4] .in-segments-wrapper__button_selected,[data-v-6ebabfe4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-6ebabfe4] .in-tooltip-wrapper-v2__icon{cursor:pointer}.editor-actions-menu__panel[data-v-f1952caa]{top:calc(100% + 4px);right:0;z-index:20;width:222px;padding:8px 0;border-radius:8px;background-color:#fff;box-shadow:0 4px 12px #39393926}.editor-actions-menu__section[data-v-f1952caa]{padding:8px 12px 4px;text-transform:uppercase;letter-spacing:.4px}.editor-actions-menu__icon[data-v-f1952caa]{color:#666;fill:currentColor}.editor-actions-menu__row[data-v-f1952caa]{width:100%;padding:4px 12px;border:none;background-color:transparent;color:#292929;line-height:24px;text-align:left;cursor:pointer}.editor-actions-menu__row[data-v-f1952caa]:not(.editor-actions-menu__row_static):hover{background-color:#f1f3fe}.editor-actions-menu__row_static[data-v-f1952caa]{cursor:default}.editor-actions-menu__row[data-v-f1952caa]:disabled{cursor:not-allowed;opacity:.6}.editor-actions-menu__divider[data-v-f1952caa]{height:1px;margin:4px 0;background-color:#e1e1e1}.editor-actions[data-v-8aa5b2ca]{gap:16px}.editor-actions__divider[data-v-8aa5b2ca]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-1ad38e93]{gap:16px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-5c588dc5]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-5c588dc5]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-5c588dc5]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-2580a7d9]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-2580a7d9] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { noop as b, isIOS as F, isClient as O, toValue as h, isObject as T, tryOnScopeDispose as C } from "../shared/index.js";
|
|
2
|
+
import { createFilterWrapper as x, debounceFilter as D, useDebounceFn as j } from "../shared/index.js";
|
|
3
|
+
import "../../vue-demi/lib/index.js";
|
|
4
|
+
import { watch as I } from "vue";
|
|
5
|
+
const P = O ? window : void 0;
|
|
6
|
+
function p(n) {
|
|
7
|
+
var i;
|
|
8
|
+
const o = h(n);
|
|
9
|
+
return (i = o == null ? void 0 : o.$el) != null ? i : o;
|
|
10
|
+
}
|
|
11
|
+
function k(...n) {
|
|
12
|
+
let i, o, r, d;
|
|
13
|
+
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, r, d] = n, i = P) : [i, o, r, d] = n, !i)
|
|
14
|
+
return b;
|
|
15
|
+
Array.isArray(o) || (o = [o]), Array.isArray(r) || (r = [r]);
|
|
16
|
+
const m = [], y = () => {
|
|
17
|
+
m.forEach((c) => c()), m.length = 0;
|
|
18
|
+
}, a = (c, l, u, f) => (c.addEventListener(l, u, f), () => c.removeEventListener(l, u, f)), E = I(
|
|
19
|
+
() => [p(i), h(d)],
|
|
20
|
+
([c, l]) => {
|
|
21
|
+
if (y(), !c)
|
|
22
|
+
return;
|
|
23
|
+
const u = T(l) ? { ...l } : l;
|
|
24
|
+
m.push(
|
|
25
|
+
...o.flatMap((f) => r.map((w) => a(c, f, w, u)))
|
|
26
|
+
);
|
|
27
|
+
},
|
|
28
|
+
{ immediate: !0, flush: "post" }
|
|
29
|
+
), A = () => {
|
|
30
|
+
E(), y();
|
|
31
|
+
};
|
|
32
|
+
return C(A), A;
|
|
33
|
+
}
|
|
34
|
+
let L = !1;
|
|
35
|
+
function $(n, i, o = {}) {
|
|
36
|
+
const { window: r = P, ignore: d = [], capture: m = !0, detectIframe: y = !1 } = o;
|
|
37
|
+
if (!r)
|
|
38
|
+
return b;
|
|
39
|
+
F && !L && (L = !0, Array.from(r.document.body.children).forEach((e) => e.addEventListener("click", b)), r.document.documentElement.addEventListener("click", b));
|
|
40
|
+
let a = !0;
|
|
41
|
+
const E = (e) => h(d).some((t) => {
|
|
42
|
+
if (typeof t == "string")
|
|
43
|
+
return Array.from(r.document.querySelectorAll(t)).some((s) => s === e.target || e.composedPath().includes(s));
|
|
44
|
+
{
|
|
45
|
+
const s = p(t);
|
|
46
|
+
return s && (e.target === s || e.composedPath().includes(s));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
function A(e) {
|
|
50
|
+
const t = h(e);
|
|
51
|
+
return t && t.$.subTree.shapeFlag === 16;
|
|
52
|
+
}
|
|
53
|
+
function c(e, t) {
|
|
54
|
+
const s = h(e), v = s.$.subTree && s.$.subTree.children;
|
|
55
|
+
return v == null || !Array.isArray(v) ? !1 : v.some((g) => g.el === t.target || t.composedPath().includes(g.el));
|
|
56
|
+
}
|
|
57
|
+
const l = (e) => {
|
|
58
|
+
const t = p(n);
|
|
59
|
+
if (e.target != null && !(!(t instanceof Element) && A(n) && c(n, e)) && !(!t || t === e.target || e.composedPath().includes(t))) {
|
|
60
|
+
if (e.detail === 0 && (a = !E(e)), !a) {
|
|
61
|
+
a = !0;
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
i(e);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
let u = !1;
|
|
68
|
+
const f = [
|
|
69
|
+
k(r, "click", (e) => {
|
|
70
|
+
u || (u = !0, setTimeout(() => {
|
|
71
|
+
u = !1;
|
|
72
|
+
}, 0), l(e));
|
|
73
|
+
}, { passive: !0, capture: m }),
|
|
74
|
+
k(r, "pointerdown", (e) => {
|
|
75
|
+
const t = p(n);
|
|
76
|
+
a = !E(e) && !!(t && !e.composedPath().includes(t));
|
|
77
|
+
}, { passive: !0 }),
|
|
78
|
+
y && k(r, "blur", (e) => {
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
var t;
|
|
81
|
+
const s = p(n);
|
|
82
|
+
((t = r.document.activeElement) == null ? void 0 : t.tagName) === "IFRAME" && !(s != null && s.contains(r.document.activeElement)) && i(e);
|
|
83
|
+
}, 0);
|
|
84
|
+
})
|
|
85
|
+
].filter(Boolean);
|
|
86
|
+
return () => f.forEach((e) => e());
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
x as createFilterWrapper,
|
|
90
|
+
D as debounceFilter,
|
|
91
|
+
P as defaultWindow,
|
|
92
|
+
O as isClient,
|
|
93
|
+
F as isIOS,
|
|
94
|
+
T as isObject,
|
|
95
|
+
b as noop,
|
|
96
|
+
$ as onClickOutside,
|
|
97
|
+
h as toValue,
|
|
98
|
+
C as tryOnScopeDispose,
|
|
99
|
+
p as unrefElement,
|
|
100
|
+
j as useDebounceFn,
|
|
101
|
+
k as useEventListener
|
|
102
|
+
};
|
|
@@ -1,45 +1,57 @@
|
|
|
1
1
|
import "../../vue-demi/lib/index.js";
|
|
2
|
-
import { unref as p } from "vue";
|
|
3
|
-
function
|
|
2
|
+
import { unref as p, getCurrentScope as w, onScopeDispose as m } from "vue";
|
|
3
|
+
function T(t) {
|
|
4
|
+
return w() ? (m(t), !0) : !1;
|
|
5
|
+
}
|
|
6
|
+
function a(t) {
|
|
4
7
|
return typeof t == "function" ? t() : p(t);
|
|
5
8
|
}
|
|
9
|
+
const g = typeof window < "u" && typeof document < "u";
|
|
6
10
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
7
|
-
const
|
|
8
|
-
};
|
|
9
|
-
function h(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
const b = Object.prototype.toString, j = (t) => b.call(t) === "[object Object]", f = () => {
|
|
12
|
+
}, x = /* @__PURE__ */ h();
|
|
13
|
+
function h() {
|
|
14
|
+
var t, n;
|
|
15
|
+
return g && ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((n = window == null ? void 0 : window.navigator) == null ? void 0 : n.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
16
|
+
}
|
|
17
|
+
function v(t, n) {
|
|
18
|
+
function o(...e) {
|
|
19
|
+
return new Promise((r, i) => {
|
|
20
|
+
Promise.resolve(t(() => n.apply(this, e), { fn: n, thisArg: this, args: e })).then(r).catch(i);
|
|
13
21
|
});
|
|
14
22
|
}
|
|
15
|
-
return
|
|
23
|
+
return o;
|
|
16
24
|
}
|
|
17
|
-
function
|
|
18
|
-
let
|
|
19
|
-
const
|
|
20
|
-
clearTimeout(u),
|
|
25
|
+
function S(t, n = {}) {
|
|
26
|
+
let o, e, r = f;
|
|
27
|
+
const i = (u) => {
|
|
28
|
+
clearTimeout(u), r(), r = f;
|
|
21
29
|
};
|
|
22
30
|
return (u) => {
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
e &&
|
|
29
|
-
},
|
|
31
|
+
const s = a(t), c = a(n.maxWait);
|
|
32
|
+
return o && i(o), s <= 0 || c !== void 0 && c <= 0 ? (e && (i(e), e = null), Promise.resolve(u())) : new Promise((l, d) => {
|
|
33
|
+
r = n.rejectOnCancel ? d : l, c && !e && (e = setTimeout(() => {
|
|
34
|
+
o && i(o), e = null, l(u());
|
|
35
|
+
}, c)), o = setTimeout(() => {
|
|
36
|
+
e && i(e), e = null, l(u());
|
|
37
|
+
}, s);
|
|
30
38
|
});
|
|
31
39
|
};
|
|
32
40
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
35
|
-
|
|
41
|
+
function A(t, n = 200, o = {}) {
|
|
42
|
+
return v(
|
|
43
|
+
S(n, o),
|
|
36
44
|
t
|
|
37
45
|
);
|
|
38
46
|
}
|
|
39
47
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
48
|
+
v as createFilterWrapper,
|
|
49
|
+
S as debounceFilter,
|
|
50
|
+
g as isClient,
|
|
51
|
+
x as isIOS,
|
|
52
|
+
j as isObject,
|
|
53
|
+
f as noop,
|
|
54
|
+
a as toValue,
|
|
55
|
+
T as tryOnScopeDispose,
|
|
56
|
+
A as useDebounceFn
|
|
45
57
|
};
|
package/dist/sprite.svg
CHANGED
|
@@ -3107,6 +3107,12 @@
|
|
|
3107
3107
|
<symbol viewBox="0 0 24 24" data-token-name="line-replace-dynamic-content" id="line-replace-dynamic-content">
|
|
3108
3108
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8327 5.42341C11.2222 5.81502 11.221 6.44877 10.8301 6.83894C10.8013 6.86765 10.7712 6.89425 10.74 6.91873L8.70549 8.95706C8.31533 9.34795 7.68275 9.34795 7.29259 8.95706C6.90243 8.56617 6.90243 7.93242 7.29259 7.54153L7.73664 7.09666L7.00053 7.09662C6.44823 7.0966 6.00049 7.54432 6.00049 8.09662V10.0001C6.00049 10.5524 5.55277 11.0001 5.00049 11.0001C4.4482 11.0001 4.00049 10.5524 4.00049 10.0001V8.09662C4.00049 6.43972 5.34372 5.09655 7.00062 5.09662L7.6872 5.09665L7.30179 4.70909C6.91235 4.31748 6.91353 3.68372 7.30442 3.29356C7.69531 2.9034 8.32788 2.90458 8.71732 3.29619L10.8327 5.42341ZM12 6.00024C12 4.89567 12.8954 4.00024 14 4.00024H18C19.1046 4.00024 20 4.89567 20 6.00024V10.0002C20 11.1048 19.1046 12.0002 18 12.0002H14C12.8954 12.0002 12 11.1048 12 10.0002V6.00024ZM14 6.00024H18V10.0002H14V6.00024ZM4 14.0002C4 12.8957 4.89543 12.0002 6 12.0002H10C11.1046 12.0002 12 12.8957 12 14.0002V18.0002C12 19.1048 11.1046 20.0002 10 20.0002H6C4.89543 20.0002 4 19.1048 4 18.0002V14.0002ZM6 14.0002H10V18.0002H6V14.0002ZM13.2939 17.1612C12.9031 17.5513 12.9019 18.1851 13.2913 18.5767L15.4067 20.7039C15.7961 21.0955 16.4287 21.0967 16.8196 20.7065C17.2105 20.3164 17.2117 19.6826 16.8222 19.291L16.4368 18.9034L17.1234 18.9035C18.7803 18.9035 20.1235 17.5604 20.1235 15.9035V14C20.1235 13.4477 19.6758 13 19.1235 13C18.5713 13 18.1235 13.4477 18.1235 14L18.1235 15.9035C18.1235 16.4558 17.6758 16.9035 17.1235 16.9035L16.3874 16.9034L16.8314 16.4586C17.2216 16.0677 17.2216 15.4339 16.8314 15.043C16.4413 14.6522 15.8087 14.6522 15.4185 15.043L13.384 17.0814C13.3528 17.1058 13.3227 17.1324 13.2939 17.1612Z"/>
|
|
3109
3109
|
</symbol>
|
|
3110
|
+
<symbol viewBox="0 0 24 24" id="line-accessibility">
|
|
3111
|
+
<g transform="translate(2 2)">
|
|
3112
|
+
<rect x="1" y="1" width="18" height="18" rx="9" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
3113
|
+
<path fill="currentColor" d="M14.8125 6.08473C15.332 5.94828 15.6875 6.47668 15.6875 6.95875C15.6873 7.44052 15.2498 7.66778 14.8125 7.8318C14.798 7.83727 14.7826 7.84147 14.7676 7.84547L12.3262 8.69898C12.013 8.81663 11.8784 8.93913 11.8486 8.99391C11.848 8.99533 11.8475 8.9975 11.8467 8.99879C11.8153 9.05489 11.7235 9.29227 11.8379 10.0076L11.9961 11.238L12.8887 16.0154C12.8969 16.0521 12.9036 16.0895 12.9092 16.1267C12.9741 16.5696 12.6498 16.9997 12.0342 16.9998C11.4983 16.9998 11.2617 16.63 11.1592 16.1267C11.1592 16.1267 10.3701 11.8181 9.9873 11.8181C9.60444 11.8205 8.94137 15.6235 8.83887 16.1267C8.7363 16.63 8.49971 16.9998 7.96387 16.9998C7.34999 16.9996 7.02548 16.5711 7.08887 16.1296L7.0957 16.0955C7.09789 16.0818 7.09981 16.0676 7.10254 16.0545L7.9834 11.2371L8.1416 10.0066C8.17359 9.80644 8.26392 9.23379 8.15137 8.9441C8.11665 8.85389 8.0452 8.7492 7.7793 8.64723L5.17962 7.83495C5.17734 7.83424 5.17578 7.83212 5.17578 7.82972C5.17578 7.82745 5.17437 7.82541 5.17224 7.8246C4.74007 7.66146 4.31254 7.43412 4.3125 6.95777C4.31258 6.47553 4.66813 5.9482 5.1875 6.08473C5.26161 6.10405 5.33481 6.12744 5.40625 6.15504C6.12486 6.3593 8.37146 6.9607 9.98828 6.9607C11.7281 6.96068 14.1981 6.26431 14.707 6.115C14.7342 6.10658 14.7619 6.09917 14.7891 6.09156L14.7998 6.08766L14.8125 6.08473ZM9.70117 3.02906C9.99821 2.96998 10.3061 3.00106 10.5859 3.11695C10.8657 3.23286 11.1052 3.42866 11.2734 3.68043C11.4416 3.93217 11.5312 4.22828 11.5312 4.53101C11.5308 4.93693 11.369 5.326 11.082 5.61305C10.795 5.9001 10.406 6.06183 10 6.06226C9.69721 6.06226 9.40119 5.97264 9.14941 5.80445C8.89762 5.63621 8.70086 5.39673 8.58496 5.11695C8.46918 4.83725 8.439 4.52909 8.49805 4.23219C8.55716 3.93526 8.70292 3.6621 8.91699 3.44801C9.13112 3.23391 9.4042 3.08814 9.70117 3.02906Z"/>
|
|
3114
|
+
</g>
|
|
3115
|
+
</symbol>
|
|
3110
3116
|
<svg viewBox="0 0 24 24" data-token-name="line-advanced-settings" id="line-advanced-settings">
|
|
3111
3117
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M16 3C15.4477 3 15 3.44772 15 4V6V8C15 8.55228 15.4477 9 16 9C16.5523 9 17 8.55228 17 8V7H20C20.5523 7 21 6.55228 21 6C21 5.44772 20.5523 5 20 5H17V4C17 3.44772 16.5523 3 16 3ZM3 6C3 5.44772 3.44772 5 4 5H12C12.5523 5 13 5.44772 13 6C13 6.55228 12.5523 7 12 7H4C3.44772 7 3 6.55228 3 6ZM16 15C15.4477 15 15 15.4477 15 16V18V20C15 20.5523 15.4477 21 16 21C16.5523 21 17 20.5523 17 20V19H20C20.5523 19 21 18.5523 21 18C21 17.4477 20.5523 17 20 17H17V16C17 15.4477 16.5523 15 16 15ZM3 18C3 17.4477 3.44772 17 4 17H12C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19H4C3.44772 19 3 18.5523 3 18ZM7 10C7 9.44772 7.44772 9 8 9C8.55228 9 9 9.44772 9 10V12V14C9 14.5523 8.55228 15 8 15C7.44772 15 7 14.5523 7 14V13H4C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11H7V10ZM12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13H20C20.5523 13 21 12.5523 21 12C21 11.4477 20.5523 11 20 11H12Z"/>
|
|
3112
3118
|
</svg>
|
|
@@ -391,6 +391,8 @@ export declare const FeaturesSchema: v.ObjectSchema<{
|
|
|
391
391
|
readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
392
392
|
/** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
|
|
393
393
|
readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
394
|
+
/** Enable the Stripo Accessibility Checker control in the editor toolbar. */
|
|
395
|
+
readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
394
396
|
/** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
|
|
395
397
|
readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
396
398
|
/** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
|
|
@@ -791,6 +793,8 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
|
|
|
791
793
|
readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
792
794
|
/** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
|
|
793
795
|
readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
796
|
+
/** Enable the Stripo Accessibility Checker control in the editor toolbar. */
|
|
797
|
+
readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
794
798
|
/** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
|
|
795
799
|
readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
796
800
|
/** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|