@useinsider/guido 3.21.0-beta.c433290 → 3.21.0-beta.db22471
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 +0 -1
- package/dist/@types/config/schemas.js +10 -11
- package/dist/components/Guido.vue.js +2 -2
- package/dist/components/Guido.vue2.js +106 -117
- package/dist/components/organisms/AutoSaveController.vue2.js +10 -20
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +22 -0
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +19 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +73 -58
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +17 -9
- package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
- package/dist/components/organisms/header/LeftSlot.vue2.js +23 -28
- package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
- package/dist/components/organisms/header/MiddleSlot.vue2.js +7 -8
- package/dist/components/organisms/header/RightSlot.vue.js +10 -11
- package/dist/components/organisms/header/RightSlot.vue2.js +18 -13
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +35 -60
- package/dist/composables/useCustomInterfaceAppearance.js +41 -42
- package/dist/config/compiler/utils/recommendationCompilerUtils.js +55 -53
- package/dist/config/i18n/en/labels.json.js +4 -36
- package/dist/config/i18n/en/tooltips.json.js +1 -2
- package/dist/extensions/Blocks/Recommendation/block.js +223 -138
- package/dist/extensions/Blocks/Recommendation/controls/image/index.js +76 -16
- package/dist/extensions/Blocks/Recommendation/utils/captureStyleTemplates.js +16 -15
- package/dist/extensions/Blocks/Recommendation/utils/strategyCommit.js +52 -31
- package/dist/guido.css +1 -1
- package/dist/sprite.svg +0 -10
- package/dist/src/@types/config/schemas.d.ts +0 -2
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +1 -19
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +19 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +19 -1
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +25 -7
- package/dist/src/extensions/Blocks/Recommendation/controls/image/index.d.ts +31 -17
- package/dist/src/extensions/Blocks/Recommendation/utils/strategyCommit.d.ts +11 -0
- package/dist/src/stores/autosave.d.ts +1 -73
- package/dist/src/stores/config.d.ts +0 -20
- package/dist/src/stores/editor.d.ts +0 -109
- package/dist/src/stores/onboarding.d.ts +33 -964
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +8 -5
- package/dist/static/styles/variables.css.js +0 -2
- package/dist/stores/autosave.js +7 -12
- package/dist/stores/editor.js +3 -8
- package/dist/stores/onboarding.js +22 -48
- package/dist/utils/timeUtil.js +17 -6
- package/package.json +1 -1
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +0 -17
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +0 -25
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +0 -20
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +0 -98
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +0 -18
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +0 -37
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +0 -22
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +0 -48
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +0 -19
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +0 -90
- package/dist/composables/useAccessibilityApi.js +0 -51
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +0 -2
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +0 -2
- package/dist/src/composables/useAccessibilityApi.d.ts +0 -13
- package/dist/static/styles/components/accessibility.css.js +0 -234
- /package/dist/src/components/organisms/header/{AutoSaveStatus.vue.d.ts → AutoSaveToggle.vue.d.ts} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import p from "../static/assets/icons/filled-arrow-rising.svg.js";
|
|
2
2
|
import s from "../static/assets/icons/line-change.svg.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import a from "../static/assets/icons/line-delete.svg.js";
|
|
4
|
+
import f from "../static/assets/icons/line-info.svg.js";
|
|
5
5
|
import c from "../static/assets/icons/line-plus.svg.js";
|
|
6
6
|
import l from "../static/styles/base.css.js";
|
|
7
|
-
import C from "../static/styles/components/
|
|
8
|
-
import d from "../static/styles/components/
|
|
9
|
-
import u from "../static/styles/components/
|
|
10
|
-
import h from "../static/styles/components/
|
|
11
|
-
import I from "../static/styles/components/button
|
|
12
|
-
import g from "../static/styles/components/
|
|
13
|
-
import w from "../static/styles/components/
|
|
14
|
-
import y from "../static/styles/components/
|
|
15
|
-
import A from "../static/styles/components/
|
|
16
|
-
import $ from "../static/styles/components/
|
|
17
|
-
import b from "../static/styles/components/
|
|
18
|
-
import B from "../static/styles/components/
|
|
19
|
-
import D from "../static/styles/components/
|
|
20
|
-
import R from "../static/styles/components/
|
|
21
|
-
import P from "../static/styles/components/
|
|
22
|
-
import T from "../static/styles/components/
|
|
23
|
-
import x from "../static/styles/components/
|
|
24
|
-
import M from "../static/styles/components/
|
|
25
|
-
import O from "../static/styles/
|
|
26
|
-
import V from "../static/styles/variables.css.js";
|
|
7
|
+
import C from "../static/styles/components/alert-message.css.js";
|
|
8
|
+
import d from "../static/styles/components/amp-block.css.js";
|
|
9
|
+
import u from "../static/styles/components/base-input.css.js";
|
|
10
|
+
import h from "../static/styles/components/button-group.css.js";
|
|
11
|
+
import I from "../static/styles/components/button.css.js";
|
|
12
|
+
import g from "../static/styles/components/combobox.css.js";
|
|
13
|
+
import w from "../static/styles/components/counter.css.js";
|
|
14
|
+
import y from "../static/styles/components/dropdown-menu.css.js";
|
|
15
|
+
import A from "../static/styles/components/loader.css.js";
|
|
16
|
+
import $ from "../static/styles/components/narrow-panel.css.js";
|
|
17
|
+
import b from "../static/styles/components/popup.css.js";
|
|
18
|
+
import B from "../static/styles/components/recommendation-strategy.css.js";
|
|
19
|
+
import D from "../static/styles/components/skeleton.css.js";
|
|
20
|
+
import R from "../static/styles/components/switcher.css.js";
|
|
21
|
+
import P from "../static/styles/components/tabs.css.js";
|
|
22
|
+
import T from "../static/styles/components/tools.css.js";
|
|
23
|
+
import x from "../static/styles/components/version-history.css.js";
|
|
24
|
+
import M from "../static/styles/components/wide-panel.css.js";
|
|
25
|
+
import O from "../static/styles/variables.css.js";
|
|
27
26
|
function o(i, r) {
|
|
28
27
|
return `--guido-icon-${i}: url("data:image/svg+xml,${encodeURIComponent(r.trim())}");`;
|
|
29
28
|
}
|
|
30
|
-
const
|
|
29
|
+
const V = `:host {
|
|
31
30
|
${o("line-change", s)}
|
|
32
|
-
${o("line-delete",
|
|
31
|
+
${o("line-delete", a)}
|
|
33
32
|
${o("filled-arrow-rising", p)}
|
|
34
|
-
${o("line-info",
|
|
33
|
+
${o("line-info", f)}
|
|
35
34
|
${o("line-plus", c)}
|
|
36
|
-
}`,
|
|
37
|
-
|
|
35
|
+
}`, W = [
|
|
36
|
+
O,
|
|
38
37
|
// Must be on top
|
|
39
|
-
|
|
38
|
+
V,
|
|
40
39
|
l,
|
|
41
40
|
// Must be on top
|
|
41
|
+
C,
|
|
42
42
|
d,
|
|
43
43
|
u,
|
|
44
44
|
h,
|
|
@@ -49,34 +49,33 @@ const W = `:host {
|
|
|
49
49
|
A,
|
|
50
50
|
$,
|
|
51
51
|
b,
|
|
52
|
-
|
|
52
|
+
D,
|
|
53
53
|
R,
|
|
54
54
|
P,
|
|
55
55
|
T,
|
|
56
56
|
x,
|
|
57
57
|
M,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
C
|
|
58
|
+
B
|
|
59
|
+
// Last: overrides button.css / wide-panel.css defaults
|
|
61
60
|
].join(`
|
|
62
61
|
|
|
63
|
-
`),
|
|
62
|
+
`), _ = 3e4;
|
|
64
63
|
let e = null;
|
|
65
|
-
function
|
|
66
|
-
return e || (e = new CSSStyleSheet(), e.replaceSync(
|
|
64
|
+
function k() {
|
|
65
|
+
return e || (e = new CSSStyleSheet(), e.replaceSync(W)), e;
|
|
67
66
|
}
|
|
68
|
-
const
|
|
69
|
-
const r =
|
|
70
|
-
var
|
|
71
|
-
const t = (
|
|
67
|
+
const po = () => ({ importCss: () => {
|
|
68
|
+
const r = k(), S = Date.now() + _, n = () => {
|
|
69
|
+
var m;
|
|
70
|
+
const t = (m = document.querySelector("ui-editor")) == null ? void 0 : m.shadowRoot;
|
|
72
71
|
if (t) {
|
|
73
72
|
t.adoptedStyleSheets.includes(r) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, r]);
|
|
74
73
|
return;
|
|
75
74
|
}
|
|
76
|
-
Date.now() < S && requestAnimationFrame(
|
|
75
|
+
Date.now() < S && requestAnimationFrame(n);
|
|
77
76
|
};
|
|
78
|
-
|
|
77
|
+
n();
|
|
79
78
|
} });
|
|
80
79
|
export {
|
|
81
|
-
|
|
80
|
+
po as useCustomInterfaceAppearance
|
|
82
81
|
};
|
|
@@ -7,13 +7,13 @@ function L(t, r, e, o, c = "") {
|
|
|
7
7
|
const i = `{{${c}${t}_${r}_${e}}}`, n = `{{${c}${t}_${r}_currency}}`;
|
|
8
8
|
return o === "before" ? `${n} ${i}` : `${i} ${n}`;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function A(t) {
|
|
11
11
|
let r = t;
|
|
12
12
|
for (; r.children.length === 1; )
|
|
13
13
|
[r] = r.children;
|
|
14
14
|
return r;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function y(t, r, e, o, c, i) {
|
|
17
17
|
switch (r) {
|
|
18
18
|
case "productImage": {
|
|
19
19
|
const n = t.querySelector("img");
|
|
@@ -24,7 +24,7 @@ function A(t, r, e, o, c, i) {
|
|
|
24
24
|
}
|
|
25
25
|
case "productName": {
|
|
26
26
|
const n = t.querySelector("p");
|
|
27
|
-
n && (
|
|
27
|
+
n && (A(n).textContent = `{{${i}${e}_${o}_name}}`);
|
|
28
28
|
break;
|
|
29
29
|
}
|
|
30
30
|
// Inline mode ("Move to next line" OFF) merges BOTH prices into one row
|
|
@@ -32,16 +32,16 @@ function A(t, r, e, o, c, i) {
|
|
|
32
32
|
// substitute by cell content, not by the row's anchor (SD-145161).
|
|
33
33
|
case "productPrice":
|
|
34
34
|
case "productOldPrice": {
|
|
35
|
-
const n = (
|
|
36
|
-
|
|
35
|
+
const n = (a, l) => {
|
|
36
|
+
a && (A(a).textContent = L(
|
|
37
37
|
e,
|
|
38
38
|
o,
|
|
39
|
-
|
|
39
|
+
l,
|
|
40
40
|
c,
|
|
41
41
|
i
|
|
42
42
|
));
|
|
43
|
-
}, s = t.querySelector(".product-price p"),
|
|
44
|
-
n(s ?? (r === "productPrice" ? u : null), "price"), n(
|
|
43
|
+
}, s = t.querySelector(".product-price p"), d = t.querySelector(".product-old-price p"), u = !s && !d ? t.querySelector("p") : null;
|
|
44
|
+
n(s ?? (r === "productPrice" ? u : null), "price"), n(d ?? (r === "productOldPrice" ? u : null), "original_price");
|
|
45
45
|
break;
|
|
46
46
|
}
|
|
47
47
|
case "productButton": {
|
|
@@ -70,8 +70,8 @@ function A(t, r, e, o, c, i) {
|
|
|
70
70
|
default: {
|
|
71
71
|
const n = t.getAttribute("product-attr") ? t : t.querySelector("[product-attr]");
|
|
72
72
|
if (n) {
|
|
73
|
-
const s = n.getAttribute("product-attr"),
|
|
74
|
-
|
|
73
|
+
const s = n.getAttribute("product-attr"), d = n.querySelector("p");
|
|
74
|
+
d && (A(d).textContent = `{{${i}${e}_${o}_${s}}}`);
|
|
75
75
|
}
|
|
76
76
|
break;
|
|
77
77
|
}
|
|
@@ -88,54 +88,54 @@ function b(t, r, e, o) {
|
|
|
88
88
|
function R(t, r, e) {
|
|
89
89
|
return b(t, r, 0, e);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function w(t, r, e, o) {
|
|
92
92
|
if (!t.innerHTML.includes("{{"))
|
|
93
93
|
return;
|
|
94
94
|
const { open: c, close: i } = b(t.ownerDocument, r, e, o);
|
|
95
95
|
t.insertBefore(c, t.firstChild), t.appendChild(i);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function D(t, r, e, o) {
|
|
98
98
|
var n, s;
|
|
99
99
|
if (!t.innerHTML.includes("{{"))
|
|
100
100
|
return;
|
|
101
101
|
const { open: c, close: i } = b(t.ownerDocument, r, e, o);
|
|
102
102
|
(n = t.parentNode) == null || n.insertBefore(c, t), (s = t.parentNode) == null || s.insertBefore(i, t.nextSibling);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function v(t, r, e, o) {
|
|
105
105
|
t.querySelectorAll(".recommendation-product-row").forEach((i, n) => {
|
|
106
|
-
i.querySelectorAll("[data-attribute-type]").forEach((
|
|
107
|
-
const u =
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}) :
|
|
111
|
-
}),
|
|
106
|
+
i.querySelectorAll("[data-attribute-type]").forEach((d) => {
|
|
107
|
+
const u = d.getAttribute("data-attribute-type") || "", a = d.querySelectorAll(".attribute-cell");
|
|
108
|
+
a.length > 0 ? a.forEach((l) => {
|
|
109
|
+
y(l, u, r, n, e, o);
|
|
110
|
+
}) : y(d, u, r, n, e, o);
|
|
111
|
+
}), D(i, r, n, o);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function H(t, r, e, o) {
|
|
115
115
|
const c = t.querySelectorAll(".recommendation-product-row");
|
|
116
116
|
if (!c.length)
|
|
117
117
|
return;
|
|
118
118
|
const [i] = c, n = i.querySelector("[data-attribute-type]"), s = n ? n.querySelectorAll(".attribute-cell").length : 1;
|
|
119
|
-
c.forEach((
|
|
120
|
-
|
|
121
|
-
const p =
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
|
|
119
|
+
c.forEach((d, u) => {
|
|
120
|
+
d.querySelectorAll("[data-attribute-type]").forEach((l) => {
|
|
121
|
+
const p = l.getAttribute("data-attribute-type") || "";
|
|
122
|
+
l.querySelectorAll(".attribute-cell").forEach((f, h) => {
|
|
123
|
+
const S = u * s + h;
|
|
124
|
+
y(f, p, r, S, e, o), w(f, r, S, o);
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function W(t, r, e, o) {
|
|
130
130
|
t.querySelectorAll(".ins-recommendation-product-container").forEach((i) => {
|
|
131
|
-
|
|
131
|
+
H(i, r, e, o);
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
function F(t, r, e) {
|
|
135
135
|
const o = t.getAttribute("data-layout") || "grid", c = t.getAttribute("currency-alignment") || "after";
|
|
136
|
-
o === "list" ?
|
|
136
|
+
o === "list" ? v(t, r, c, e) : W(t, r, c, e);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function _(t, r, e) {
|
|
139
139
|
const o = new RegExp(`${r}\\s*:\\s*(\\d+)\\s*px`, "i"), c = t.match(o);
|
|
140
140
|
return c ? parseInt(c[1]) : e;
|
|
141
141
|
}
|
|
@@ -150,7 +150,7 @@ function C(t) {
|
|
|
150
150
|
const e = (t.getAttribute("style") || "").match(/(?:^|[;\s])width\s*:\s*(\d+(?:\.\d+)?(?:px|%))/i);
|
|
151
151
|
return e && $(e[1]) ? e[1] : null;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function x(t, r) {
|
|
154
154
|
let e = t.parentElement;
|
|
155
155
|
for (; e && e !== r; ) {
|
|
156
156
|
if (e.tagName === "TD" && C(e))
|
|
@@ -159,35 +159,37 @@ function G(t, r) {
|
|
|
159
159
|
}
|
|
160
160
|
return null;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
const r = t.getAttribute("style") || "", e =
|
|
162
|
+
function G(t) {
|
|
163
|
+
const r = t.getAttribute("style") || "", e = _(r, "width", 600), o = _(r, "padding", 0) * 2, c = Math.max(0, e - o);
|
|
164
164
|
c !== 0 && t.querySelectorAll("img.adapt-img").forEach((i) => {
|
|
165
165
|
if (i.hasAttribute("width"))
|
|
166
166
|
return;
|
|
167
|
-
const n =
|
|
167
|
+
const n = x(i, t);
|
|
168
168
|
if (!n)
|
|
169
169
|
return;
|
|
170
|
-
const s = C(n),
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
const s = C(n), d = _(n.getAttribute("style") || "", "padding", 0) * 2, u = s.endsWith("%") ? Math.floor(c * parseFloat(s) / 100) : parseInt(s), a = Math.max(1, u - d), l = i.getAttribute("style") || "", p = /(?:^|[;\s])max-height\s*:\s*(\d+(?:\.\d+)?)px/i.exec(l);
|
|
171
|
+
if (p) {
|
|
172
|
+
i.setAttribute("width", String(Math.max(1, Math.min(a, Math.floor(parseFloat(p[1])))))), i.removeAttribute("height");
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
if (i.setAttribute("width", String(a)), !/\bwidth\s*:\s*\d/i.test(l)) {
|
|
176
|
+
const m = l && !l.trim().endsWith(";") ? "; " : "";
|
|
177
|
+
i.setAttribute("style", `${l}${m}width: ${a}px`);
|
|
176
178
|
}
|
|
177
179
|
});
|
|
178
180
|
}
|
|
179
|
-
const E = "MSO_MOBILE_HIDE_START",
|
|
180
|
-
function
|
|
181
|
+
const E = "MSO_MOBILE_HIDE_START", V = "MSO_MOBILE_HIDE_END";
|
|
182
|
+
function U(t, r) {
|
|
181
183
|
t.querySelectorAll(q).forEach((e) => {
|
|
182
184
|
var i, n;
|
|
183
185
|
const o = e.querySelector(M);
|
|
184
186
|
if (!o || o.children.length === 0)
|
|
185
187
|
return;
|
|
186
188
|
const c = e.previousSibling;
|
|
187
|
-
(c == null ? void 0 : c.nodeType) === Node.COMMENT_NODE && c.data === E || ((i = e.parentNode) == null || i.insertBefore(r.createComment(E), e), (n = e.parentNode) == null || n.insertBefore(r.createComment(
|
|
189
|
+
(c == null ? void 0 : c.nodeType) === Node.COMMENT_NODE && c.data === E || ((i = e.parentNode) == null || i.insertBefore(r.createComment(E), e), (n = e.parentNode) == null || n.insertBefore(r.createComment(V), e.nextSibling));
|
|
188
190
|
});
|
|
189
191
|
}
|
|
190
|
-
function
|
|
192
|
+
function X(t, r) {
|
|
191
193
|
const e = t.match(/<!DOCTYPE[^>]*>/i);
|
|
192
194
|
return (e ? `${e[0]}
|
|
193
195
|
` : "") + r.documentElement.outerHTML;
|
|
@@ -200,17 +202,17 @@ function Q(t) {
|
|
|
200
202
|
i.recommendationCampaignUrls = {};
|
|
201
203
|
const { isFeatureEnabled: n } = g(), s = n("liquidSyntax") ? "reco_" : "";
|
|
202
204
|
return o.forEach((u) => {
|
|
203
|
-
var
|
|
204
|
-
const
|
|
205
|
-
if (
|
|
206
|
-
if ((
|
|
207
|
-
F(u,
|
|
208
|
-
const { open:
|
|
209
|
-
(
|
|
205
|
+
var l, p, m, f;
|
|
206
|
+
const a = u.getAttribute("recommendation-id");
|
|
207
|
+
if (a) {
|
|
208
|
+
if ((l = u.parentNode) == null || l.insertBefore(e.createComment("REC_START"), u), (p = u.parentNode) == null || p.insertBefore(e.createComment("REC_END"), u.nextSibling), u.querySelectorAll('[data-visibility="0"]').forEach((h) => h.remove()), c(a), U(u, e), !T(u)) {
|
|
209
|
+
F(u, a, s);
|
|
210
|
+
const { open: h, close: S } = R(e, a, s);
|
|
211
|
+
(m = u.parentNode) == null || m.insertBefore(h, u), (f = u.parentNode) == null || f.insertBefore(S, u.nextSibling);
|
|
210
212
|
}
|
|
211
|
-
|
|
213
|
+
G(u);
|
|
212
214
|
}
|
|
213
|
-
}),
|
|
215
|
+
}), X(r, e).replaceAll("<!--{%", "{%").replaceAll("%}-->", "%}").replaceAll("<!--{%", "{%").replaceAll("%}-->", "%}");
|
|
214
216
|
}
|
|
215
217
|
export {
|
|
216
218
|
L as formatPriceVariable,
|
|
@@ -1,51 +1,19 @@
|
|
|
1
|
-
const e = "Items", o = "Default",
|
|
1
|
+
const e = "Items", o = "Default", t = "Custom", s = {
|
|
2
2
|
"Global Styles & Layout": "Global Styles and Layout",
|
|
3
3
|
"Structures & Modules": "Structures and Modules",
|
|
4
4
|
"Recommendation Block": "Recommendation Block",
|
|
5
5
|
Items: e,
|
|
6
6
|
"This block is switched from the Old Version to the New Version. We recommend you check the Recommendation block and test your message to ensure it works properly.": "This block is switched from the Old Version to the New Version. We recommend you check the Recommendation block and test your message to ensure it works properly.",
|
|
7
7
|
"This block is switched from the Old Version to the New Version. We recommend you check the Items block and test your message to ensure it works properly.": "This block is switched from the Old Version to the New Version. We recommend you check the Items block and test your message to ensure it works properly.",
|
|
8
|
-
"email-editor.a11y-hide-images": "Hide images",
|
|
9
|
-
"email-editor.a11y-show-images": "Show images",
|
|
10
|
-
"email-editor.cvd-none": "No Color Deficiency",
|
|
11
|
-
"email-editor.cvd-protanopia": "Protanopia",
|
|
12
|
-
"email-editor.cvd-protanopia-description": "Causes red-green confusion and makes reds appear darker.",
|
|
13
|
-
"email-editor.cvd-deuteranopia": "Deuteranopia",
|
|
14
|
-
"email-editor.cvd-deuteranopia-description": "Causes red-green confusion.",
|
|
15
|
-
"email-editor.cvd-tritanopia": "Tritanopia",
|
|
16
|
-
"email-editor.cvd-tritanopia-description": "Causes blue-yellow confusion.",
|
|
17
|
-
"email-editor.cvd-achromatopsia": "Achromatopsia",
|
|
18
|
-
"email-editor.cvd-achromatopsia-description": "Causes complete color blindness.",
|
|
19
|
-
"email-editor.more-actions": "More actions",
|
|
20
|
-
"email-editor.preferences": "Preferences",
|
|
21
|
-
"email-editor.actions": "Actions",
|
|
22
|
-
"email-editor.accessibility-test": "Accessibility Test",
|
|
23
|
-
"email-editor.autosaved-at-today": "{boldStart}Autosaved{boldEnd} at {time}, Today",
|
|
24
|
-
"email-editor.autosaved-at-date": "{boldStart}Autosaved{boldEnd} at {date}",
|
|
25
|
-
"email-editor.export-html": "Export HTML",
|
|
26
|
-
"email-editor.onboarding-kebab-title": "Discover Preferences and Actions",
|
|
27
|
-
"email-editor.onboarding-kebab-description": "You can now access your Preferences and Actions easily such as Autosave, Export HTML, Version History, Accessibility Test and Save As Template.",
|
|
28
|
-
"email-editor.onboarding-autosave-title": "Autosave Your Design",
|
|
29
|
-
"email-editor.onboarding-autosave-description": "You can save your design automatically by enabling Autosave without losing your work.",
|
|
30
|
-
"email-editor.onboarding-accessibility-title": "Test Accessibility of Your Design",
|
|
31
|
-
"email-editor.onboarding-accessibility-description": "You can test the accessibility of your design to see the Failed, Passed items and update the Failed ones accordingly.",
|
|
32
8
|
"Pixel Tracking Opt-in": "Pixel Tracking Opt-in",
|
|
33
9
|
"OPT-IN SELECTION": "OPT-IN SELECTION",
|
|
34
10
|
"UNSUBSCRIBE GROUPS": "UNSUBSCRIBE GROUPS",
|
|
35
11
|
Default: o,
|
|
36
|
-
Custom:
|
|
37
|
-
"Foreground color": "Foreground Color",
|
|
38
|
-
"Contrast ratio": "Contrast Ratio",
|
|
39
|
-
"You’ve fixed all issues!": `No Failed Items
|
|
40
|
-
You have no failed items.`,
|
|
41
|
-
"No accessibility issues found": `No Failed Items
|
|
42
|
-
You have no failed items.`,
|
|
43
|
-
"You have no ignored issues yet": `No Ignored Items
|
|
44
|
-
You have no ignored items.`
|
|
12
|
+
Custom: t
|
|
45
13
|
};
|
|
46
14
|
export {
|
|
47
|
-
|
|
15
|
+
t as Custom,
|
|
48
16
|
o as Default,
|
|
49
17
|
e as Items,
|
|
50
|
-
|
|
18
|
+
s as default
|
|
51
19
|
};
|
|
@@ -76,8 +76,7 @@ const e = {
|
|
|
76
76
|
"The data source link is unavailable. Please, make sure there is an access to the data source.": "Enter an accessible Data Source Link to contiue.",
|
|
77
77
|
"The file should not exceed the maximum resolution of {maxImageResolution}px.": "Upload files up to 1024x512 pixels to continue.",
|
|
78
78
|
"The option is disabled because was overridden in the Code editor": "The option is disabled because it was overridden in the Code Editor.",
|
|
79
|
-
"Dropdown with a list of available data services, preliminarily created in the Data section → Services tab of the Account.": "Service for Data Collection lets you enter a form submission URL for the recipients to submit."
|
|
80
|
-
'Read more about the issue on <a target="_blank" rel="noopener noreferrer" href="{url}">ACT Rules Community Group forum</a>': 'Read more about the issue on <a target="_blank" rel="noopener noreferrer" href="{url}">ACT Rules Community Group forum.</a>'
|
|
79
|
+
"Dropdown with a list of available data services, preliminarily created in the Data section → Services tab of the Account.": "Service for Data Collection lets you enter a form submission URL for the recipients to submit."
|
|
81
80
|
};
|
|
82
81
|
export {
|
|
83
82
|
e as default
|