@useinsider/guido 3.23.0-beta.2595053 → 3.23.0-beta.2df7606
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 +1 -0
- package/dist/@types/config/schemas.js +9 -8
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +111 -100
- package/dist/components/organisms/AutoSaveController.vue2.js +20 -10
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue.js +1 -1
- package/dist/components/organisms/display-conditions/DisplayConditionCreateDrawer.vue2.js +28 -28
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue.js +1 -1
- package/dist/components/organisms/display-conditions/DisplayConditionSelectDrawer.vue2.js +25 -25
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +17 -0
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +25 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +58 -73
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +99 -0
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +9 -17
- package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
- 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 +11 -10
- package/dist/components/organisms/header/RightSlot.vue2.js +13 -18
- 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 +22 -0
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +48 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +19 -0
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +90 -0
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +60 -35
- package/dist/composables/useAccessibilityApi.js +51 -0
- package/dist/composables/useCustomInterfaceAppearance.js +42 -41
- package/dist/composables/useDisplayConditions.js +42 -41
- package/dist/composables/useTranslations.js +2 -1
- package/dist/config/i18n/en/labels.json.js +36 -4
- package/dist/config/i18n/en/tooltips.json.js +2 -1
- package/dist/extensions/DisplayConditions/control.js +32 -22
- package/dist/extensions/LinkTracking/writer.js +29 -23
- package/dist/guido.css +1 -1
- package/dist/package.json.js +1 -1
- package/dist/sprite.svg +10 -0
- package/dist/src/@types/config/schemas.d.ts +2 -0
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +19 -1
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +1 -19
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +1 -19
- 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 +13 -0
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/composables/useDisplayConditions.d.ts +1 -0
- package/dist/src/extensions/DisplayConditions/control.d.ts +1 -0
- package/dist/src/extensions/LinkTracking/writer.d.ts +1 -1
- package/dist/src/stores/autosave.d.ts +73 -1
- package/dist/src/stores/config.d.ts +21 -0
- package/dist/src/stores/editor.d.ts +109 -0
- package/dist/src/stores/onboarding.d.ts +966 -35
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/displayCondition.d.ts +2 -2
- package/dist/src/utils/linkTrackingIds.d.ts +2 -0
- package/dist/src/utils/templatePreparation.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +5 -8
- package/dist/static/stripo-runtime-manifest.json.js +1 -1
- package/dist/static/styles/components/accessibility.css.js +234 -0
- package/dist/static/styles/variables.css.js +2 -0
- package/dist/stores/autosave.js +12 -7
- package/dist/stores/editor.js +8 -3
- package/dist/stores/onboarding.js +48 -22
- package/dist/utils/displayCondition.js +11 -11
- package/dist/utils/linkTrackingIds.js +60 -59
- package/dist/utils/templatePreparation.js +61 -52
- package/dist/utils/timeUtil.js +6 -17
- package/package.json +2 -2
- 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,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 f from "../static/assets/icons/line-delete.svg.js";
|
|
4
|
+
import a 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.css.js";
|
|
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/
|
|
7
|
+
import C from "../static/styles/components/accessibility.css.js";
|
|
8
|
+
import d from "../static/styles/components/alert-message.css.js";
|
|
9
|
+
import u from "../static/styles/components/amp-block.css.js";
|
|
10
|
+
import h from "../static/styles/components/base-input.css.js";
|
|
11
|
+
import I from "../static/styles/components/button-group.css.js";
|
|
12
|
+
import g from "../static/styles/components/button.css.js";
|
|
13
|
+
import w from "../static/styles/components/combobox.css.js";
|
|
14
|
+
import y from "../static/styles/components/counter.css.js";
|
|
15
|
+
import A from "../static/styles/components/dropdown-menu.css.js";
|
|
16
|
+
import $ from "../static/styles/components/loader.css.js";
|
|
17
|
+
import b from "../static/styles/components/narrow-panel.css.js";
|
|
18
|
+
import B from "../static/styles/components/popup.css.js";
|
|
19
|
+
import D from "../static/styles/components/recommendation-strategy.css.js";
|
|
20
|
+
import R from "../static/styles/components/skeleton.css.js";
|
|
21
|
+
import P from "../static/styles/components/switcher.css.js";
|
|
22
|
+
import T from "../static/styles/components/tabs.css.js";
|
|
23
|
+
import x from "../static/styles/components/tools.css.js";
|
|
24
|
+
import M from "../static/styles/components/version-history.css.js";
|
|
25
|
+
import O from "../static/styles/components/wide-panel.css.js";
|
|
26
|
+
import V from "../static/styles/variables.css.js";
|
|
26
27
|
function o(i, r) {
|
|
27
28
|
return `--guido-icon-${i}: url("data:image/svg+xml,${encodeURIComponent(r.trim())}");`;
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
+
const W = `:host {
|
|
30
31
|
${o("line-change", s)}
|
|
31
|
-
${o("line-delete",
|
|
32
|
+
${o("line-delete", f)}
|
|
32
33
|
${o("filled-arrow-rising", p)}
|
|
33
|
-
${o("line-info",
|
|
34
|
+
${o("line-info", a)}
|
|
34
35
|
${o("line-plus", c)}
|
|
35
|
-
}`,
|
|
36
|
-
O,
|
|
37
|
-
// Must be on top
|
|
36
|
+
}`, _ = [
|
|
38
37
|
V,
|
|
38
|
+
// Must be on top
|
|
39
|
+
W,
|
|
39
40
|
l,
|
|
40
41
|
// Must be on top
|
|
41
|
-
C,
|
|
42
42
|
d,
|
|
43
43
|
u,
|
|
44
44
|
h,
|
|
@@ -49,33 +49,34 @@ const V = `:host {
|
|
|
49
49
|
A,
|
|
50
50
|
$,
|
|
51
51
|
b,
|
|
52
|
-
|
|
52
|
+
B,
|
|
53
53
|
R,
|
|
54
54
|
P,
|
|
55
55
|
T,
|
|
56
56
|
x,
|
|
57
57
|
M,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
O,
|
|
59
|
+
D,
|
|
60
|
+
C
|
|
60
61
|
].join(`
|
|
61
62
|
|
|
62
|
-
`),
|
|
63
|
+
`), k = 3e4;
|
|
63
64
|
let e = null;
|
|
64
|
-
function
|
|
65
|
-
return e || (e = new CSSStyleSheet(), e.replaceSync(
|
|
65
|
+
function q() {
|
|
66
|
+
return e || (e = new CSSStyleSheet(), e.replaceSync(_)), e;
|
|
66
67
|
}
|
|
67
|
-
const
|
|
68
|
-
const r =
|
|
69
|
-
var
|
|
70
|
-
const t = (
|
|
68
|
+
const fo = () => ({ importCss: () => {
|
|
69
|
+
const r = q(), S = Date.now() + k, m = () => {
|
|
70
|
+
var n;
|
|
71
|
+
const t = (n = document.querySelector("ui-editor")) == null ? void 0 : n.shadowRoot;
|
|
71
72
|
if (t) {
|
|
72
73
|
t.adoptedStyleSheets.includes(r) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, r]);
|
|
73
74
|
return;
|
|
74
75
|
}
|
|
75
|
-
Date.now() < S && requestAnimationFrame(
|
|
76
|
+
Date.now() < S && requestAnimationFrame(m);
|
|
76
77
|
};
|
|
77
|
-
|
|
78
|
+
m();
|
|
78
79
|
} });
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
fo as useCustomInterfaceAppearance
|
|
81
82
|
};
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import { useToaster as
|
|
1
|
+
import { useToaster as M } from "./useToaster.js";
|
|
2
2
|
import { useTranslations as x } from "./useTranslations.js";
|
|
3
3
|
import { ACADEMY_LINKS as L } from "../enums/academy.js";
|
|
4
|
-
import { DisplayConditionSourceType as
|
|
4
|
+
import { DisplayConditionSourceType as y, DISPLAY_CONDITION_LIMITS as s, DisplayConditionEvent as I } from "../enums/display-condition.js";
|
|
5
5
|
import { ToasterTypeOptions as l } from "../enums/toaster.js";
|
|
6
6
|
import { useDisplayConditionApi as O } from "../services/displayConditionApi.js";
|
|
7
7
|
import { useConfigStore as q } from "../stores/config.js";
|
|
8
|
-
import { useDisplayConditionStore as
|
|
9
|
-
import { findInvalidCodeFields as
|
|
8
|
+
import { useDisplayConditionStore as P } from "../stores/display-condition.js";
|
|
9
|
+
import { findInvalidCodeFields as Y, nextConditionId as w } from "../utils/displayCondition.js";
|
|
10
10
|
import { escapeHtml as R } from "../utils/htmlEscape.js";
|
|
11
|
-
import { computed as
|
|
12
|
-
const
|
|
13
|
-
id:
|
|
11
|
+
import { computed as B } from "vue";
|
|
12
|
+
const X = "email-editor.display-conditions", i = X, b = 409, S = (n, m, r) => ({
|
|
13
|
+
id: w(),
|
|
14
14
|
name: n.name.trim(),
|
|
15
15
|
description: n.description.trim(),
|
|
16
16
|
beforeScript: n.codeBefore,
|
|
17
17
|
afterScript: n.codeAfter,
|
|
18
|
-
extraData: JSON.stringify(
|
|
19
|
-
}),
|
|
18
|
+
extraData: JSON.stringify(r === void 0 ? { source: m } : { source: m, savedId: r })
|
|
19
|
+
}), v = (n) => ({
|
|
20
20
|
name: n.name,
|
|
21
21
|
description: n.description,
|
|
22
22
|
codeBefore: n.codeBefore,
|
|
23
23
|
codeAfter: n.codeAfter
|
|
24
|
-
}),
|
|
25
|
-
const n =
|
|
24
|
+
}), ne = () => {
|
|
25
|
+
const n = P(), m = q(), r = O(), o = x(), { showToaster: p } = M(), u = B(() => {
|
|
26
26
|
var e;
|
|
27
27
|
return (e = m.features) != null && e.liquidSyntax ? "liquid" : "pongo";
|
|
28
28
|
}), f = (e) => {
|
|
29
29
|
const t = { condition: e };
|
|
30
|
-
return document.dispatchEvent(new CustomEvent(
|
|
31
|
-
},
|
|
32
|
-
n.view !== "none" && (document.dispatchEvent(new CustomEvent(
|
|
33
|
-
},
|
|
30
|
+
return document.dispatchEvent(new CustomEvent(I.APPLY, { detail: t })), n.close(), t.applied === !0;
|
|
31
|
+
}, D = () => {
|
|
32
|
+
n.view !== "none" && (document.dispatchEvent(new CustomEvent(I.CANCEL)), n.close());
|
|
33
|
+
}, N = (e) => {
|
|
34
34
|
if (e.mode === "select") {
|
|
35
35
|
n.openSelect();
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
n.openCreate(e.mode === "edit" ? e.current : null);
|
|
39
|
-
},
|
|
39
|
+
}, $ = async () => {
|
|
40
40
|
const e = ++n.listRequest;
|
|
41
41
|
n.listStatus = "loading";
|
|
42
42
|
try {
|
|
43
|
-
const t = await
|
|
43
|
+
const t = await r.list(u.value);
|
|
44
44
|
e === n.listRequest && (n.list = t, n.listStatus = "loaded");
|
|
45
45
|
} catch (t) {
|
|
46
46
|
console.warn("Display conditions could not be loaded.", t), e === n.listRequest && (n.listStatus = "error");
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, h = (e) => {
|
|
49
49
|
const t = {}, d = e.name.trim();
|
|
50
|
-
d ? d.length <
|
|
51
|
-
const { DESCRIPTION_MAX: C } =
|
|
50
|
+
d ? d.length < s.NAME_MIN ? t.name = o(`${i}.error-name-min`, { min: s.NAME_MIN }) : d.length > s.NAME_MAX && (t.name = o(`${i}.error-name-max`, { max: s.NAME_MAX })) : t.name = o(`${i}.error-name-required`);
|
|
51
|
+
const { DESCRIPTION_MAX: C } = s;
|
|
52
52
|
e.description.trim().length > C && (t.description = o(`${i}.error-description-max`, { max: C }));
|
|
53
|
-
const
|
|
53
|
+
const g = Y(e.codeBefore, e.codeAfter, u.value);
|
|
54
54
|
return ["codeBefore", "codeAfter"].forEach((a) => {
|
|
55
|
-
e[a].trim() ?
|
|
55
|
+
e[a].trim() ? g.includes(a) ? t[a] = o(`${i}.error-code-invalid`) : e[a].length > s.CODE_MAX && (t[a] = o(`${i}.error-code-max`, { max: s.CODE_MAX })) : t[a] = o(`${i}.error-code-required`);
|
|
56
56
|
}), t;
|
|
57
|
-
},
|
|
57
|
+
}, A = (e, t) => {
|
|
58
58
|
p(e ? { type: l.Success, message: t } : { type: l.Error, message: o("products.something-went-wrong") });
|
|
59
|
-
},
|
|
59
|
+
}, T = (e) => o(
|
|
60
60
|
`${i}.${e}`,
|
|
61
61
|
{
|
|
62
62
|
academyLink: `<a href="${L.EMAIL_DISPLAY_CONDITIONS}" target="_blank" style="color: #0A2ECC; text-decoration: underline;">${o(`${i}.academy`)}</a>`
|
|
63
63
|
}
|
|
64
|
-
),
|
|
64
|
+
), _ = () => {
|
|
65
65
|
p({ type: l.Error, message: o(`${i}.validation-failed`) });
|
|
66
66
|
}, c = (e) => ({ name: R(e) }), E = (e, t) => {
|
|
67
67
|
e != null && e.authReported || (console.warn(t, e), p({ type: l.Error, message: t }));
|
|
68
68
|
};
|
|
69
69
|
return {
|
|
70
70
|
syntax: u,
|
|
71
|
-
handleOpen:
|
|
72
|
-
cancel:
|
|
73
|
-
loadList:
|
|
74
|
-
validate:
|
|
75
|
-
notifyInvalid:
|
|
76
|
-
describeWithAcademyLink:
|
|
71
|
+
handleOpen: N,
|
|
72
|
+
cancel: D,
|
|
73
|
+
loadList: $,
|
|
74
|
+
validate: h,
|
|
75
|
+
notifyInvalid: _,
|
|
76
|
+
describeWithAcademyLink: T,
|
|
77
77
|
createInline: (e) => {
|
|
78
|
-
|
|
79
|
-
f(S(e,
|
|
78
|
+
A(
|
|
79
|
+
f(S(e, y.INLINE)),
|
|
80
80
|
o(`${i}.created`, c(e.name.trim()))
|
|
81
81
|
);
|
|
82
82
|
},
|
|
83
83
|
createAndSave: async (e) => {
|
|
84
84
|
try {
|
|
85
|
-
const t = await
|
|
86
|
-
return n.list = [t, ...n.list.filter((d) => d.id !== t.id)],
|
|
87
|
-
f(S(
|
|
85
|
+
const t = await r.create(e, u.value);
|
|
86
|
+
return n.list = [t, ...n.list.filter((d) => d.id !== t.id)], A(
|
|
87
|
+
f(S(v(t), y.SAVED, t.id)),
|
|
88
88
|
o(`${i}.created-and-saved`, c(t.name))
|
|
89
89
|
), {};
|
|
90
90
|
} catch (t) {
|
|
91
|
-
return (t == null ? void 0 : t.status) ===
|
|
91
|
+
return (t == null ? void 0 : t.status) === b ? { name: o(`${i}.error-name-exists`) } : (E(t, o(`${i}.save-failed`, c(e.name.trim()))), null);
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
select: (e) => {
|
|
95
|
-
|
|
96
|
-
f(S(
|
|
95
|
+
A(
|
|
96
|
+
f(S(v(e), y.SAVED, e.id)),
|
|
97
97
|
o(`${i}.applied`, c(e.name))
|
|
98
98
|
);
|
|
99
99
|
},
|
|
100
100
|
deleteSaved: async (e) => {
|
|
101
101
|
try {
|
|
102
|
-
await
|
|
102
|
+
await r.remove(e.id), n.list = n.list.filter((t) => t.id !== e.id), p({
|
|
103
103
|
type: l.Success,
|
|
104
104
|
message: o(`${i}.deleted`, c(e.name))
|
|
105
105
|
});
|
|
@@ -112,5 +112,6 @@ const i = "email-editor.display-conditions", Y = 409, S = (n, m, s) => ({
|
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
X as DISPLAY_CONDITIONS_TRANS_KEY,
|
|
116
|
+
ne as useDisplayConditions
|
|
116
117
|
};
|
|
@@ -9,7 +9,8 @@ const useTranslations = () => {
|
|
|
9
9
|
var s;
|
|
10
10
|
const r = (s = translations.value) == null ? void 0 : s[t];
|
|
11
11
|
return r ? n ? Object.entries(n).reduce(
|
|
12
|
-
|
|
12
|
+
// A function replacer keeps `$&`, `$$` and `$1` in the value literal.
|
|
13
|
+
(i, [a, l]) => i.replace(new RegExp(`{${a}}`, "g"), () => String(l)),
|
|
13
14
|
r
|
|
14
15
|
) : r : (console.warn(`Translation key not found: ${t}`), t);
|
|
15
16
|
};
|
|
@@ -1,19 +1,51 @@
|
|
|
1
|
-
const e = "Items", o = "Default",
|
|
1
|
+
const e = "Items", o = "Default", i = "Custom", t = {
|
|
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.",
|
|
8
32
|
"Pixel Tracking Opt-in": "Pixel Tracking Opt-in",
|
|
9
33
|
"OPT-IN SELECTION": "OPT-IN SELECTION",
|
|
10
34
|
"UNSUBSCRIBE GROUPS": "UNSUBSCRIBE GROUPS",
|
|
11
35
|
Default: o,
|
|
12
|
-
Custom:
|
|
36
|
+
Custom: i,
|
|
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.`
|
|
13
45
|
};
|
|
14
46
|
export {
|
|
15
|
-
|
|
47
|
+
i as Custom,
|
|
16
48
|
o as Default,
|
|
17
49
|
e as Items,
|
|
18
|
-
|
|
50
|
+
t as default
|
|
19
51
|
};
|
|
@@ -76,7 +76,8 @@ 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."
|
|
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>'
|
|
80
81
|
};
|
|
81
82
|
export {
|
|
82
83
|
e as default
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
var $ = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var c = (s, a, i) =>
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
var w = (s, a, i) => a in s ? $(s, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[a] = i;
|
|
3
|
+
var c = (s, a, i) => w(s, typeof a != "symbol" ? a + "" : a, i);
|
|
4
|
+
import { useToaster as S } from "../../composables/useToaster.js";
|
|
5
|
+
import { useTranslations as N } from "../../composables/useTranslations.js";
|
|
6
|
+
import { DisplayConditionSourceType as D } from "../../enums/display-condition.js";
|
|
7
|
+
import { ToasterTypeOptions as I } from "../../enums/toaster.js";
|
|
8
|
+
import { CommonControl as T } from "../Blocks/common-control.js";
|
|
9
|
+
import { toAppliedCondition as E, parseSource as x } from "../../utils/displayCondition.js";
|
|
7
10
|
import { escapeHtml as b } from "../../utils/htmlEscape.js";
|
|
8
|
-
import { ModificationDescription as
|
|
9
|
-
import { requestDisplayCondition as
|
|
10
|
-
import { CONDITIONS_CONTROL_ID as
|
|
11
|
-
const l = ".guido-display-conditions",
|
|
12
|
-
class
|
|
11
|
+
import { ModificationDescription as M, UIElementType as v, UEAttr as R } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
12
|
+
import { requestDisplayCondition as L } from "./bridge.js";
|
|
13
|
+
import { CONDITIONS_CONTROL_ID as H, APPLIED_DESCRIPTION as q, EMPTY_DESCRIPTION as A, MAX_COLLAPSED_LINES as O, CONDITION_ICONS as g } from "./constants.js";
|
|
14
|
+
const l = ".guido-display-conditions", k = { id: 0, name: "", description: "", beforeScript: "", afterScript: "" }, _ = (s) => `<${v.ICON} ${R.ICON.src}="${s}"></${v.ICON}>`, p = (s, a, i, t = !1) => `<button type="button" class="${a}" id="${s}"${t ? " hidden" : ""}>${i}</button>`;
|
|
15
|
+
class K extends T {
|
|
13
16
|
constructor() {
|
|
14
17
|
super(...arguments);
|
|
15
18
|
c(this, "expanded", !1);
|
|
@@ -19,7 +22,7 @@ class V extends w {
|
|
|
19
22
|
c(this, "detachRequest", null);
|
|
20
23
|
}
|
|
21
24
|
getId() {
|
|
22
|
-
return
|
|
25
|
+
return H;
|
|
23
26
|
}
|
|
24
27
|
getTemplate() {
|
|
25
28
|
return `
|
|
@@ -84,7 +87,7 @@ class V extends w {
|
|
|
84
87
|
`;
|
|
85
88
|
}
|
|
86
89
|
onRender() {
|
|
87
|
-
this.forgetLastPanelNode(), this.teardown(), this.wire("#guido__btn-add-display-condition", () => this.toggleMenu()), this.wire("#guido__btn-display-condition-create", () => this.openDrawer("create")), this.wire("#guido__btn-display-condition-select", () => this.openDrawer("select")), this.wire("#guido__btn-edit-display-condition", () => this.openDrawer("edit")), this.wire("#guido__btn-remove-display-condition", () => this.
|
|
90
|
+
this.forgetLastPanelNode(), this.teardown(), this.wire("#guido__btn-add-display-condition", () => this.toggleMenu()), this.wire("#guido__btn-display-condition-create", () => this.openDrawer("create")), this.wire("#guido__btn-display-condition-select", () => this.openDrawer("select")), this.wire("#guido__btn-edit-display-condition", () => this.openDrawer("edit")), this.wire("#guido__btn-remove-display-condition", () => this.removeCondition()), this.wire("#guido__btn-display-condition-toggle", () => {
|
|
88
91
|
this.expanded = !this.expanded, this.paint();
|
|
89
92
|
}), this.observeCodeSize();
|
|
90
93
|
}
|
|
@@ -99,7 +102,7 @@ class V extends w {
|
|
|
99
102
|
getCondition() {
|
|
100
103
|
var t;
|
|
101
104
|
const i = this.currentNode;
|
|
102
|
-
return
|
|
105
|
+
return E((t = i == null ? void 0 : i.getDisplayCondition) == null ? void 0 : t.call(i));
|
|
103
106
|
}
|
|
104
107
|
toggleMenu(i) {
|
|
105
108
|
var n, d, o;
|
|
@@ -121,18 +124,25 @@ class V extends w {
|
|
|
121
124
|
}
|
|
122
125
|
openDrawer(i) {
|
|
123
126
|
const t = this.currentNode;
|
|
124
|
-
this.toggleMenu(!1), this.detachRequest =
|
|
127
|
+
this.toggleMenu(!1), this.detachRequest = L(
|
|
125
128
|
{ mode: i, current: i === "edit" ? this.getCondition() : null },
|
|
126
129
|
{ onApply: (e) => this.applyCondition(e, t) }
|
|
127
130
|
);
|
|
128
131
|
}
|
|
132
|
+
// The drawer flows toast through useDisplayConditions; Remove has no drawer, so it toasts here.
|
|
133
|
+
removeCondition() {
|
|
134
|
+
this.applyCondition(null) || S().showToaster({
|
|
135
|
+
type: I.Error,
|
|
136
|
+
message: N()("products.something-went-wrong")
|
|
137
|
+
});
|
|
138
|
+
}
|
|
129
139
|
// The panel can move to another block while the drawer is open; apply onto the block it was opened for.
|
|
130
140
|
applyCondition(i, t = this.currentNode) {
|
|
131
141
|
if (!t)
|
|
132
142
|
return !1;
|
|
133
143
|
try {
|
|
134
144
|
const e = this.api.getDocumentModifier().modifyHtml(t);
|
|
135
|
-
return e.setDisplayCondition(i ||
|
|
145
|
+
return e.setDisplayCondition(i || k), e.apply(new M(
|
|
136
146
|
i ? `Set display condition ${i.name}` : "Remove display condition"
|
|
137
147
|
)), !0;
|
|
138
148
|
} catch (e) {
|
|
@@ -158,20 +168,20 @@ class V extends w {
|
|
|
158
168
|
}));
|
|
159
169
|
}
|
|
160
170
|
paint() {
|
|
161
|
-
var
|
|
162
|
-
const i = (
|
|
171
|
+
var C;
|
|
172
|
+
const i = (C = this.getContainer()) == null ? void 0 : C.querySelector(l);
|
|
163
173
|
if (!i)
|
|
164
174
|
return;
|
|
165
175
|
const t = this.getCondition(), e = (h) => i.querySelector(h);
|
|
166
|
-
if (e("[data-dc-empty]").hidden = !!t, e("[data-dc-applied]").hidden = !t, e("[data-dc-description]").textContent = this.api.translate(t ?
|
|
176
|
+
if (e("[data-dc-empty]").hidden = !!t, e("[data-dc-applied]").hidden = !t, e("[data-dc-description]").textContent = this.api.translate(t ? q : A), !t)
|
|
167
177
|
return;
|
|
168
178
|
e("[data-dc-name]").textContent = t.name;
|
|
169
|
-
const n =
|
|
179
|
+
const n = x(t) === D.INLINE;
|
|
170
180
|
e("#guido__btn-edit-display-condition").hidden = !n;
|
|
171
181
|
const d = e("[data-dc-sections]"), o = e("[data-dc-before]"), r = e("[data-dc-after]");
|
|
172
182
|
o.innerHTML = b(t.beforeScript), r.innerHTML = b(t.afterScript), r.hidden = !t.afterScript, e("[data-dc-after-label]").hidden = !t.afterScript, d.style.maxHeight = "";
|
|
173
|
-
const u = parseFloat(getComputedStyle(o).lineHeight) || 24, y = (h) => h.hidden ? 0 : Math.round(h.scrollHeight / u), m = y(o) + y(r) > O,
|
|
174
|
-
|
|
183
|
+
const u = parseFloat(getComputedStyle(o).lineHeight) || 24, y = (h) => h.hidden ? 0 : Math.round(h.scrollHeight / u), m = y(o) + y(r) > O, f = e("#guido__btn-display-condition-toggle");
|
|
184
|
+
f.hidden = !m, f.classList.toggle("is-expanded", this.expanded), e("[data-dc-toggle-label]").textContent = this.api.translate(this.expanded ? "Show Less" : "Show More"), m && !this.expanded && (d.style.maxHeight = `${this.collapsedHeight(d, [o, r], u)}px`);
|
|
175
185
|
}
|
|
176
186
|
// Labels do not count toward the line limit, so the cut lands after the 10th rendered code line.
|
|
177
187
|
collapsedHeight(i, t, e) {
|
|
@@ -186,5 +196,5 @@ class V extends w {
|
|
|
186
196
|
}
|
|
187
197
|
}
|
|
188
198
|
export {
|
|
189
|
-
|
|
199
|
+
K as DisplayConditionsControl
|
|
190
200
|
};
|
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
import { TRACK_ID_ATTRIBUTE as
|
|
2
|
-
import { ModificationDescription as
|
|
3
|
-
let
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
|
|
1
|
+
import { TRACK_ID_ATTRIBUTE as h, TRACK_SEQ_ATTRIBUTE as I } from "../../utils/linkTrackingIds.js";
|
|
2
|
+
import { ModificationDescription as k } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
3
|
+
let s = null;
|
|
4
|
+
const q = (e) => {
|
|
5
|
+
s = e;
|
|
6
|
+
}, C = () => {
|
|
7
|
+
s = null;
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function w(e) {
|
|
10
10
|
return "getTagName" in e && e.getTagName().toLowerCase() === "a";
|
|
11
11
|
}
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
if (!
|
|
12
|
+
const T = (e, r) => (w(e) && r.push(e), e.children().forEach((i) => T(i, r)), r), E = ({ anchorIds: e, inComment: r, plan: i }) => {
|
|
13
|
+
const g = s == null ? void 0 : s();
|
|
14
|
+
if (!g)
|
|
15
15
|
return !1;
|
|
16
16
|
try {
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
const c = g.getDocumentRootHtmlNode(), f = T(c, []), l = f.map((t) => t.getAttribute(h) ?? ""), o = /* @__PURE__ */ new Map();
|
|
18
|
+
e.forEach((t, n) => {
|
|
19
|
+
r[n] || o.set(n, o.size);
|
|
20
|
+
});
|
|
21
|
+
const d = e.filter((t, n) => o.has(n)), p = l.length === d.length && l.every((t, n) => t === d[n]), u = [...i.assignments.keys()].some((t) => !o.has(t)), a = i.seqChanged ? c.querySelector("body") : void 0;
|
|
22
|
+
if (!p || u || i.seqChanged && !a)
|
|
19
23
|
return console.debug(
|
|
20
24
|
"In-place tracking-id write skipped, replacing the document instead:",
|
|
21
|
-
`live [${
|
|
25
|
+
`live [${l.join(",")}] planned [${d.join(",")}]`,
|
|
26
|
+
`commentWrite ${String(u)} seqHost ${String(!!a)}`
|
|
22
27
|
), !1;
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
const m = g.getDocumentModifier();
|
|
29
|
+
return i.assignments.forEach((t, n) => {
|
|
30
|
+
const A = f[o.get(n)];
|
|
31
|
+
m.modifyHtml(A).setAttribute(h, String(t));
|
|
32
|
+
}), a && m.modifyHtml(a).setAttribute(I, String(i.nextSeq)), m.apply(new k("Assign link tracking ids").asHidden()), !0;
|
|
33
|
+
} catch (c) {
|
|
34
|
+
return console.warn("In-place tracking-id write failed, replacing the document instead:", c), !1;
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
C as disposeTrackingIdWriter,
|
|
39
|
+
q as registerTrackingIdWriter,
|
|
40
|
+
E as writeTrackingIdsInPlace
|
|
35
41
|
};
|
package/dist/guido.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-
|
|
1
|
+
@charset "UTF-8";.auth-error-modal[data-v-b4d7ae51]{position:relative;z-index:145}.gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-9d988e4b] .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__dropdown[data-v-64cb50da]{z-index:20;width:387px}.accessibility-toolbar[data-v-391019bc]{gap:16px}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button svg{margin-right:0}.accessibility-toolbar[data-v-391019bc] .in-segments-wrapper__button .clearfix:after{content:none}.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__dropdown[data-v-bdb3b37a]{z-index:20;width:222px}.editor-actions[data-v-9a028d08]{gap:16px}.editor-actions__divider[data-v-9a028d08]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-77451c9a]{gap:16px}.header-wrapper[data-v-3c713746]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.validation-error-list[data-v-e48cebe9]{gap:16px}.validation-error-row[data-v-e48cebe9]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-e48cebe9]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-e48cebe9]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-ab777dca]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-ab777dca]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-ab777dca]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-eaf8e461]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-eaf8e461]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-eaf8e461]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-eaf8e461]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-eaf8e461]{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}.guido-tab-bar-onboarding[data-v-219b4f7c]{z-index:21}[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-19d8cb42] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[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-6ce48dfd]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .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}.guido-code-editor-field__label[data-v-c262cac4]{margin:0 0 8px;color:#2c3546;font-size:13px;line-height:16px}[data-v-cf448043] .guido-display-condition-create__optional{color:#666}.guido-display-condition-create__separator[data-v-cf448043]{height:1px;margin:0 0 24px;background-image:linear-gradient(to right,#91949F 1px,transparent 1px);background-size:5px 1px}.guido-display-condition-create__method-title[data-v-cf448043]{margin:0 0 24px;color:#292929;font-size:13px;font-weight:600;letter-spacing:1.2px;line-height:20px;text-transform:uppercase}.guido-display-condition-create__methods[data-v-cf448043]{display:flex;gap:16px;margin-bottom:24px}.guido-display-condition-select-root[data-v-21acc8d8] .in-drawer__footer{justify-content:flex-start}.guido-display-condition-select__delete-modal[data-v-21acc8d8]{position:relative;z-index:145}.guido-display-condition-select__delete-modal[data-v-21acc8d8] .in-modal-v2-wrapper__header-title{margin-bottom:0}.guido-display-condition-select__delete-text[data-v-21acc8d8]{margin:0;color:#292929}.guido-display-condition-select-root[data-v-21acc8d8] .in-drawer__content>div{display:flex;flex-direction:column;min-height:100%}.guido-display-condition-select__list[data-v-21acc8d8]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none}.guido-display-condition-card[data-v-21acc8d8]{border:1px solid #E1E1E1;border-radius:4px;background-color:#fff}.guido-display-condition-card__header[data-v-21acc8d8]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px}.guido-display-condition-card__text[data-v-21acc8d8]{min-width:0}.guido-display-condition-card__name[data-v-21acc8d8]{margin:0;overflow:hidden;color:#292929;font-size:16px;font-weight:600;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__description[data-v-21acc8d8]{margin:4px 0 0;overflow:hidden;color:#666;font-size:13px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__actions[data-v-21acc8d8]{display:flex;flex-shrink:0;align-items:center;gap:16px}.guido-display-condition-card__split[data-v-21acc8d8]{position:relative;display:flex;gap:1px}.guido-display-condition-card__menu[data-v-21acc8d8]{position:absolute;z-index:2;top:calc(100% + 2px);right:0;min-width:115px;padding:4px 0;border-radius:4px;background-color:#fff;box-shadow:0 4px 16px #22293829}.guido-display-condition-card__menu-item[data-v-21acc8d8]{width:100%;padding:8px 16px;border:0;background:none;color:#222938;cursor:pointer;font-size:14px;line-height:24px;text-align:left}.guido-display-condition-card__menu-item[data-v-21acc8d8]:hover,.guido-display-condition-card__menu-item[data-v-21acc8d8]:focus-visible{background-color:#eff2f4}.guido-display-condition-card__divider[data-v-21acc8d8]{width:1px;height:24px;background-color:#dcdee6}.guido-display-condition-card__expand[data-v-21acc8d8]{display:flex;padding:0;border:0;background:none;cursor:pointer}.guido-display-condition-card__code[data-v-21acc8d8]{margin:1px 15px 15px;padding:8px;border:1px solid #E1E1E1;border-radius:4px;background-color:#fff;color:#101727;font-family:inherit;font-size:15px;line-height:24px;white-space:pre-wrap;word-break:break-word}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}
|
package/dist/package.json.js
CHANGED