@useinsider/guido 3.20.1-beta.5e7765e → 3.20.1-beta.6344e9a
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 +11 -10
- package/dist/components/Guido.vue.js +4 -4
- package/dist/components/Guido.vue2.js +58 -51
- package/dist/components/organisms/AutoSaveController.vue2.js +19 -9
- 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 +57 -72
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +98 -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 +9 -8
- 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 +56 -38
- package/dist/composables/useAccessibilityApi.js +45 -0
- package/dist/composables/useCustomInterfaceAppearance.js +42 -41
- package/dist/config/i18n/en/labels.json.js +36 -4
- package/dist/config/i18n/en/tooltips.json.js +2 -1
- package/dist/extensions/Blocks/Unsubscribe/block.js +83 -82
- package/dist/guido.css +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/extensions/Blocks/Unsubscribe/block.d.ts +2 -0
- package/dist/src/stores/autosave.d.ts +73 -1
- package/dist/src/stores/config.d.ts +20 -0
- package/dist/src/stores/editor.d.ts +109 -0
- package/dist/src/stores/onboarding.d.ts +952 -21
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +5 -0
- 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 +7 -4
- package/dist/stores/onboarding.js +43 -21
- package/dist/utils/timeUtil.js +6 -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,41 +1,42 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { useToaster as
|
|
5
|
-
import { ToasterTypeOptions as
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
|
+
var f = (c, o, e) => o in c ? S(c, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[o] = e;
|
|
3
|
+
var a = (c, o, e) => f(c, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { useToaster as L } from "../../../composables/useToaster.js";
|
|
5
|
+
import { ToasterTypeOptions as A } from "../../../enums/toaster.js";
|
|
6
6
|
import { PAGE_TYPES as h } from "../../../enums/unsubscribe.js";
|
|
7
|
-
import { useEditorStore as
|
|
8
|
-
import { useUnsubscribeStore as
|
|
9
|
-
import { Block as
|
|
10
|
-
import { getDefaultTemplate as
|
|
11
|
-
import { UNSUBSCRIBE_BLOCK_SELECTOR as
|
|
12
|
-
import { parsePageList as
|
|
13
|
-
const
|
|
7
|
+
import { useEditorStore as y } from "../../../stores/editor.js";
|
|
8
|
+
import { useUnsubscribeStore as l } from "../../../stores/unsubscribe.js";
|
|
9
|
+
import { Block as T, BlockCompositionType as I, ContextActionType as B, ModificationDescription as d, BlockType as v } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
10
|
+
import { getDefaultTemplate as C } from "./template.js";
|
|
11
|
+
import { UNSUBSCRIBE_BLOCK_SELECTOR as m, DATA_ATTRIBUTES as n, UNSUBSCRIBE_EVENTS as b } from "./utils/constants.js";
|
|
12
|
+
import { parsePageList as _ } from "./utils/utils.js";
|
|
13
|
+
const N = "unsubscribe-block", E = 'a[data-unsubscribe-link="true"]', U = "{{ins-unsubscribe-link}}", R = "https://academy.insiderone.com/docs/adding-unsubscribe-pages-into-emails", D = "Removing the unsubscribe text leaves an empty block, but an active unsubscribe link is required. Undo your last action to restore the text, or delete the unsubscribe block entirely.", w = {
|
|
14
14
|
[h.GLOBAL_UNSUBSCRIBE]: "{{ins-global-unsubscribe-link}}",
|
|
15
15
|
[h.SUBSCRIPTION_PREFERENCE_CENTER]: "{{ins-preferences-unsubscribe-link}}"
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
class j extends C {
|
|
16
|
+
}, P = 3;
|
|
17
|
+
class W extends T {
|
|
19
18
|
constructor() {
|
|
20
19
|
super();
|
|
21
|
-
|
|
20
|
+
a(this, "selectEventListener", null);
|
|
21
|
+
a(this, "cancelEventListener", null);
|
|
22
|
+
a(this, "currentNode");
|
|
22
23
|
// Per-block "did this instance have a link last time we saw it?" tracking.
|
|
23
24
|
// Keyed by the stable `data-unsubscribe-block-id` we assign, because
|
|
24
25
|
// ImmutableHtmlNode instances are recreated on every document mutation and
|
|
25
26
|
// can't be used as Map keys directly. A singleton boolean here would be
|
|
26
27
|
// polluted across blocks since Stripo fires onDocumentChanged per-instance.
|
|
27
|
-
|
|
28
|
+
a(this, "linkStateByBlockId", /* @__PURE__ */ new Map());
|
|
28
29
|
// Per-block prepend retry counter for the leading text guard (SD-143097).
|
|
29
|
-
|
|
30
|
+
a(this, "guardAttemptsByBlockId", /* @__PURE__ */ new Map());
|
|
30
31
|
}
|
|
31
32
|
getId() {
|
|
32
|
-
return
|
|
33
|
+
return N;
|
|
33
34
|
}
|
|
34
35
|
getIcon() {
|
|
35
36
|
return "unsubscribe-icon";
|
|
36
37
|
}
|
|
37
38
|
getBlockCompositionType() {
|
|
38
|
-
return
|
|
39
|
+
return I.BLOCK;
|
|
39
40
|
}
|
|
40
41
|
getName() {
|
|
41
42
|
return this.api.translate("Unsubscribe Block");
|
|
@@ -44,16 +45,16 @@ class j extends C {
|
|
|
44
45
|
return this.api.translate("Unsubscribe Block Description");
|
|
45
46
|
}
|
|
46
47
|
getTemplate() {
|
|
47
|
-
return
|
|
48
|
+
return C();
|
|
48
49
|
}
|
|
49
50
|
getContextActionsIds() {
|
|
50
|
-
return [
|
|
51
|
+
return [B.MOVE, B.REMOVE];
|
|
51
52
|
}
|
|
52
53
|
onSelect(e) {
|
|
53
|
-
if (this.currentNode = e,
|
|
54
|
+
if (this.currentNode = e, y().isPreviewModeOpen)
|
|
54
55
|
return;
|
|
55
56
|
const t = this._getOrAssignBlockId(e);
|
|
56
|
-
t && this.linkStateByBlockId.set(t, this._hasUnsubscribeLink(e)), this._setupSelectEventListener(), this._setupCancelEventListener(t), !("getAttribute" in e && e.getAttribute("data-migration")) && (this._resetStoreState(), t && (
|
|
57
|
+
t && this.linkStateByBlockId.set(t, this._hasUnsubscribeLink(e)), this._setupSelectEventListener(), this._setupCancelEventListener(t), !("getAttribute" in e && e.getAttribute("data-migration")) && (this._resetStoreState(), t && (l().pendingBlockId = t), this._loadBlockState(e), this._checkExistingBlocks(), this._openDrawer());
|
|
57
58
|
}
|
|
58
59
|
onCreated(e) {
|
|
59
60
|
this._ensureLeadingTextGuard(e);
|
|
@@ -61,7 +62,7 @@ class j extends C {
|
|
|
61
62
|
onDocumentInit() {
|
|
62
63
|
try {
|
|
63
64
|
const e = this.api.getDocumentRoot();
|
|
64
|
-
e && "querySelectorAll" in e && e.querySelectorAll(
|
|
65
|
+
e && "querySelectorAll" in e && e.querySelectorAll(m).forEach((t) => {
|
|
65
66
|
this._ensureLeadingTextGuard(t);
|
|
66
67
|
});
|
|
67
68
|
} catch {
|
|
@@ -72,8 +73,8 @@ class j extends C {
|
|
|
72
73
|
const t = this._getOrAssignBlockId(e);
|
|
73
74
|
if (!t)
|
|
74
75
|
return;
|
|
75
|
-
const
|
|
76
|
-
this.linkStateByBlockId.get(t) === !0 && !
|
|
76
|
+
const s = this._hasUnsubscribeLink(e);
|
|
77
|
+
this.linkStateByBlockId.get(t) === !0 && !s && this._warnLinkRemoved(), this.linkStateByBlockId.set(t, s);
|
|
77
78
|
}
|
|
78
79
|
onDelete(e) {
|
|
79
80
|
this._removeEventListeners(), this._removeBlockTemplatesFromStore(e), this._resetStoreState();
|
|
@@ -94,27 +95,27 @@ class j extends C {
|
|
|
94
95
|
const t = e.querySelector(E);
|
|
95
96
|
if (!t)
|
|
96
97
|
return;
|
|
97
|
-
let
|
|
98
|
+
let s = t, r = s.parent();
|
|
98
99
|
for (; r && "getTagName" in r && r.getTagName().toLowerCase() !== "p"; )
|
|
99
|
-
|
|
100
|
+
s = r, r = r.parent();
|
|
100
101
|
if (!r || !("getTagName" in r) || r.getTagName().toLowerCase() !== "p")
|
|
101
102
|
return;
|
|
102
|
-
const
|
|
103
|
-
if (!!(
|
|
104
|
-
const
|
|
105
|
-
|
|
103
|
+
const i = s.previousSibling();
|
|
104
|
+
if (!!(i && i.getType() === "text" && i.getTextContent())) {
|
|
105
|
+
const p = this._readBlockId(e);
|
|
106
|
+
p && this.guardAttemptsByBlockId.delete(p);
|
|
106
107
|
return;
|
|
107
108
|
}
|
|
108
|
-
const
|
|
109
|
-
if (!
|
|
109
|
+
const g = this._getOrAssignBlockId(e);
|
|
110
|
+
if (!g)
|
|
110
111
|
return;
|
|
111
|
-
const
|
|
112
|
-
if (!(
|
|
113
|
-
this.guardAttemptsByBlockId.set(
|
|
112
|
+
const k = this.guardAttemptsByBlockId.get(g) ?? 0;
|
|
113
|
+
if (!(k >= P)) {
|
|
114
|
+
this.guardAttemptsByBlockId.set(g, k + 1);
|
|
114
115
|
try {
|
|
115
|
-
this.api.getDocumentModifier().modifyHtml(r).prepend(" ").apply(new
|
|
116
|
-
} catch (
|
|
117
|
-
console.warn("[UnsubscribeBlock] Failed to ensure link text guard:",
|
|
116
|
+
this.api.getDocumentModifier().modifyHtml(r).prepend(" ").apply(new d("Ensure unsubscribe link text guard"));
|
|
117
|
+
} catch (p) {
|
|
118
|
+
console.warn("[UnsubscribeBlock] Failed to ensure link text guard:", p);
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
121
|
}
|
|
@@ -136,13 +137,13 @@ class j extends C {
|
|
|
136
137
|
return t;
|
|
137
138
|
if (!("getAttribute" in e))
|
|
138
139
|
return null;
|
|
139
|
-
const
|
|
140
|
+
const s = this._generateNextBlockId();
|
|
140
141
|
try {
|
|
141
|
-
this.api.getDocumentModifier().modifyHtml(e).setAttribute(n.BLOCK_ID,
|
|
142
|
+
this.api.getDocumentModifier().modifyHtml(e).setAttribute(n.BLOCK_ID, s).apply(new d(`Assign unsubscribe block id ${s}`));
|
|
142
143
|
} catch (r) {
|
|
143
144
|
return console.warn("[UnsubscribeBlock] Failed to assign block id:", r), null;
|
|
144
145
|
}
|
|
145
|
-
return
|
|
146
|
+
return s;
|
|
146
147
|
}
|
|
147
148
|
/**
|
|
148
149
|
* Generates a unique id by scanning the document for the highest existing
|
|
@@ -153,10 +154,10 @@ class j extends C {
|
|
|
153
154
|
let e = 0;
|
|
154
155
|
try {
|
|
155
156
|
const t = this.api.getDocumentRoot();
|
|
156
|
-
t && "querySelectorAll" in t && t.querySelectorAll(
|
|
157
|
+
t && "querySelectorAll" in t && t.querySelectorAll(m).forEach((r) => {
|
|
157
158
|
if ("getAttribute" in r) {
|
|
158
|
-
const
|
|
159
|
-
|
|
159
|
+
const i = r.getAttribute(n.BLOCK_ID), u = i ? parseInt(i) : 0;
|
|
160
|
+
u > e && (e = u);
|
|
160
161
|
}
|
|
161
162
|
});
|
|
162
163
|
} catch {
|
|
@@ -165,14 +166,14 @@ class j extends C {
|
|
|
165
166
|
}
|
|
166
167
|
_warnLinkRemoved() {
|
|
167
168
|
try {
|
|
168
|
-
const { showToaster: e } =
|
|
169
|
+
const { showToaster: e } = L();
|
|
169
170
|
e({
|
|
170
|
-
type:
|
|
171
|
-
message: this.api.translate(
|
|
171
|
+
type: A.Warning,
|
|
172
|
+
message: this.api.translate(D),
|
|
172
173
|
actionButton: {
|
|
173
174
|
text: this.api.translate("Visit Academy"),
|
|
174
175
|
onClick: () => {
|
|
175
|
-
window.open(
|
|
176
|
+
window.open(R, "_blank", "noopener,noreferrer");
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
});
|
|
@@ -181,28 +182,28 @@ class j extends C {
|
|
|
181
182
|
}
|
|
182
183
|
}
|
|
183
184
|
_setupSelectEventListener() {
|
|
184
|
-
this._removeSelectEventListener(),
|
|
185
|
-
const t = e, { collectionType:
|
|
186
|
-
this._updateBlock(
|
|
187
|
-
}, document.addEventListener(
|
|
185
|
+
this._removeSelectEventListener(), this.selectEventListener = (e) => {
|
|
186
|
+
const t = e, { collectionType: s, selectedPages: r } = t.detail;
|
|
187
|
+
this._updateBlock(s, r.join(","));
|
|
188
|
+
}, document.addEventListener(b.SELECT, this.selectEventListener);
|
|
188
189
|
}
|
|
189
190
|
_removeSelectEventListener() {
|
|
190
|
-
|
|
191
|
+
this.selectEventListener && (document.removeEventListener(b.SELECT, this.selectEventListener), this.selectEventListener = null);
|
|
191
192
|
}
|
|
192
193
|
_setupCancelEventListener(e) {
|
|
193
|
-
this._removeCancelEventListener(),
|
|
194
|
-
const { detail:
|
|
195
|
-
((
|
|
196
|
-
}, document.addEventListener(
|
|
194
|
+
this._removeCancelEventListener(), this.cancelEventListener = (t) => {
|
|
195
|
+
const { detail: s } = t;
|
|
196
|
+
((s == null ? void 0 : s.blockId) ?? null) === e && this._handleCancel();
|
|
197
|
+
}, document.addEventListener(b.CANCEL, this.cancelEventListener);
|
|
197
198
|
}
|
|
198
199
|
_removeCancelEventListener() {
|
|
199
|
-
|
|
200
|
+
this.cancelEventListener && (document.removeEventListener(b.CANCEL, this.cancelEventListener), this.cancelEventListener = null);
|
|
200
201
|
}
|
|
201
202
|
_handleCancel() {
|
|
202
203
|
try {
|
|
203
204
|
if (!this.currentNode)
|
|
204
205
|
return;
|
|
205
|
-
this.api.getDocumentModifier().modifyHtml(this.currentNode).replaceWith(`<${
|
|
206
|
+
this.api.getDocumentModifier().modifyHtml(this.currentNode).replaceWith(`<${v.EMPTY_CONTAINER}/>`).apply(new d("Removed unsubscribe block due to cancel"));
|
|
206
207
|
} catch (e) {
|
|
207
208
|
console.warn("[UnsubscribeBlock] Failed to remove unsubscribe block:", e);
|
|
208
209
|
}
|
|
@@ -213,32 +214,32 @@ class j extends C {
|
|
|
213
214
|
_updateBlock(e, t) {
|
|
214
215
|
if (!this.currentNode || !("querySelector" in this.currentNode))
|
|
215
216
|
return;
|
|
216
|
-
const
|
|
217
|
-
if (!
|
|
217
|
+
const s = this.currentNode.querySelector(E);
|
|
218
|
+
if (!s)
|
|
218
219
|
return;
|
|
219
220
|
const r = this._getMergeTag(e);
|
|
220
|
-
this.api.getDocumentModifier().modifyHtml(
|
|
221
|
+
this.api.getDocumentModifier().modifyHtml(s).setAttribute("href", r).apply(new d(`Updated unsubscribe link to ${r}`)), this.api.getDocumentModifier().modifyHtml(this.currentNode).setAttribute(n.PAGE_TYPE, e.toString()).setAttribute(n.PAGE_LIST, t).apply(new d("Updated unsubscribe block metadata"));
|
|
221
222
|
}
|
|
222
223
|
_getMergeTag(e) {
|
|
223
|
-
return
|
|
224
|
+
return w[e] ?? U;
|
|
224
225
|
}
|
|
225
226
|
_openDrawer() {
|
|
226
227
|
if (!(this.currentNode && this.currentNode.getAttribute("data-unsubscribe-page-type")))
|
|
227
228
|
try {
|
|
228
|
-
const e =
|
|
229
|
+
const e = l();
|
|
229
230
|
e.typeSelectionDrawerStatus = !0;
|
|
230
231
|
} catch (e) {
|
|
231
232
|
console.error("[UnsubscribeBlock] Failed to open drawer:", e);
|
|
232
233
|
}
|
|
233
234
|
}
|
|
234
235
|
_checkExistingBlocks() {
|
|
235
|
-
const e =
|
|
236
|
-
e.isGlobalUnsubscribeDisabled = !1, e.isSubscriptionPreferencesCenterDisabled = !1, this.api.getDocumentRoot().querySelectorAll(
|
|
237
|
-
if ("getAttribute" in
|
|
238
|
-
const r =
|
|
236
|
+
const e = l();
|
|
237
|
+
e.isGlobalUnsubscribeDisabled = !1, e.isSubscriptionPreferencesCenterDisabled = !1, this.api.getDocumentRoot().querySelectorAll(m).forEach((s) => {
|
|
238
|
+
if ("getAttribute" in s) {
|
|
239
|
+
const r = s.getAttribute(n.PAGE_TYPE);
|
|
239
240
|
if (r) {
|
|
240
|
-
const
|
|
241
|
-
|
|
241
|
+
const i = Number(r);
|
|
242
|
+
i === h.GLOBAL_UNSUBSCRIBE ? e.isGlobalUnsubscribeDisabled = !0 : i === h.SUBSCRIPTION_PREFERENCE_CENTER && (e.isSubscriptionPreferencesCenterDisabled = !0);
|
|
242
243
|
}
|
|
243
244
|
}
|
|
244
245
|
});
|
|
@@ -246,14 +247,14 @@ class j extends C {
|
|
|
246
247
|
async _loadBlockState(e) {
|
|
247
248
|
if (!("getAttribute" in e))
|
|
248
249
|
return;
|
|
249
|
-
const t = e.getAttribute(n.PAGE_TYPE),
|
|
250
|
-
if (!t || !
|
|
250
|
+
const t = e.getAttribute(n.PAGE_TYPE), s = e.getAttribute(n.PAGE_LIST);
|
|
251
|
+
if (!t || !s)
|
|
251
252
|
return;
|
|
252
|
-
const r =
|
|
253
|
-
await r.fetchTemplates(), r.setCollectionWithoutAutoSelection(
|
|
253
|
+
const r = l(), i = Number(t), u = _(s);
|
|
254
|
+
await r.fetchTemplates(), r.setCollectionWithoutAutoSelection(i), r.loadSelectedTemplates(u);
|
|
254
255
|
}
|
|
255
256
|
_resetStoreState() {
|
|
256
|
-
|
|
257
|
+
l().$reset();
|
|
257
258
|
}
|
|
258
259
|
_removeBlockTemplatesFromStore(e) {
|
|
259
260
|
if (!("getAttribute" in e))
|
|
@@ -261,11 +262,11 @@ class j extends C {
|
|
|
261
262
|
const t = e.getAttribute(n.PAGE_LIST);
|
|
262
263
|
if (!t)
|
|
263
264
|
return;
|
|
264
|
-
const
|
|
265
|
-
|
|
265
|
+
const s = l(), r = _(t);
|
|
266
|
+
s.removeUnsubscribePages(r);
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
269
|
export {
|
|
269
|
-
|
|
270
|
-
|
|
270
|
+
N as UNSUBSCRIBE_BLOCK_ID,
|
|
271
|
+
W as UnsubscribeBlock
|
|
271
272
|
};
|
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-d0e6b57a]{z-index:20;width:222px}.editor-actions[data-v-f36a9d0c]{gap:16px}.editor-actions__divider[data-v-f36a9d0c]{width:1px;height:40px;background-color:#e1e1e1}.right-slot[data-v-efc32e0d]{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-c5ff3804]{gap:16px}.validation-error-row[data-v-c5ff3804]{gap:8px;padding:24px;border:1px solid #E1E1E1;border-radius:8px}.validation-error-row__icon[data-v-c5ff3804]{flex-shrink:0;font-size:24px;line-height:0}.validation-error-row__text[data-v-c5ff3804]{font-size:13px;line-height:16px;color:#292929;word-break:break-word}.guido-editor__wrapper[data-v-6a54dbe6]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-6a54dbe6]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-6a54dbe6]{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}.guido-tab-bar-onboarding[data-v-42f02a1f]{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}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}
|
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>
|
|
@@ -3130,4 +3136,8 @@
|
|
|
3130
3136
|
</clipPath>
|
|
3131
3137
|
</defs>
|
|
3132
3138
|
</svg>
|
|
3139
|
+
<symbol viewBox="0 0 24 24" id="line-no-image-v2">
|
|
3140
|
+
<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M19.9062 4.1875C20.1565 3.9376 20.5624 3.93741 20.8125 4.1875C21.0626 4.4376 21.0624 4.84353 20.8125 5.09375L19.9062 6L20.8125 6.90625C21.0624 7.15645 21.0626 7.56238 20.8125 7.8125C20.5624 8.06262 20.1565 8.06246 19.9062 7.8125L19 6.90625L18.0938 7.8125C17.8435 8.06241 17.4376 8.0626 17.1875 7.8125C16.9374 7.5624 16.9376 7.15647 17.1875 6.90625L18.0938 6L17.1875 5.09375C16.9376 4.84352 16.9374 4.43759 17.1875 4.1875C17.4376 3.93746 17.8435 3.93766 18.0938 4.1875L19 5.09375L19.9062 4.1875ZM14 4C14.5523 4 15 4.44772 15 5C15 5.55228 14.5523 6 14 6C13.4477 6 13 5.55228 13 5C13 4.44772 13.4477 4 14 4Z"/>
|
|
3141
|
+
<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M14 6H5V18H6.43652L10.2764 12.6182C10.8633 11.8405 11.9837 11.7886 12.6357 12.5088L14.6504 14.7734L18.3545 10.3965L18.4424 10.3008C19.3653 9.37025 21 10.0117 21 11.3652V18C21 19.1046 20.1046 20 19 20H5C3.89543 20 3 19.1046 3 18V6C3 4.89543 3.89543 4 5 4H14V6ZM9.00098 18H14.7109L11.5371 14.4268L9.00098 18ZM15.9932 16.2822L17.5205 18H19V12.7295L15.9932 16.2822ZM8.5 8C9.32843 8 10 8.67157 10 9.5C10 10.3284 9.32843 11 8.5 11C7.67157 11 7 10.3284 7 9.5C7 8.67157 7.67157 8 8.5 8Z"/>
|
|
3142
|
+
</symbol>
|
|
3133
3143
|
</svg>
|
|
@@ -407,6 +407,7 @@ export declare const FeaturesSchema: v.ObjectSchema<{
|
|
|
407
407
|
readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
408
408
|
/** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
|
|
409
409
|
readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
410
|
+
readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
410
411
|
/** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
|
|
411
412
|
readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
412
413
|
/** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
|
|
@@ -825,6 +826,7 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
|
|
|
825
826
|
readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
826
827
|
/** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
|
|
827
828
|
readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
829
|
+
readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
828
830
|
/** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
|
|
829
831
|
readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
830
832
|
/** Enable persistent link tracking-id assignment for the click heatmap (opt-in) */
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
saveSilent: () => Promise<{
|
|
3
|
+
dynamicContentList: import("../../@types/generic").DynamicContent[];
|
|
4
|
+
compiledHtml: string;
|
|
5
|
+
rawHtml: string;
|
|
6
|
+
css: string;
|
|
7
|
+
ampHtml: string;
|
|
8
|
+
ampErrors: string[];
|
|
9
|
+
modules: number[];
|
|
10
|
+
recommendation: {
|
|
11
|
+
campaignUrls: Record<string, import("../../@types/recommendation").RecommendationCampaignUrlValue>;
|
|
12
|
+
configs: Record<string, string>;
|
|
13
|
+
};
|
|
14
|
+
unsubscribe: {
|
|
15
|
+
status: boolean;
|
|
16
|
+
config: number[];
|
|
17
|
+
};
|
|
18
|
+
} | undefined>;
|
|
19
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
20
|
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;
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
handleSave: (isSilent: boolean) => Promise<{
|
|
3
|
-
dynamicContentList: import("../../../@types/generic.js").DynamicContent[];
|
|
4
|
-
compiledHtml: string;
|
|
5
|
-
rawHtml: string;
|
|
6
|
-
css: string;
|
|
7
|
-
ampHtml: string;
|
|
8
|
-
ampErrors: string[];
|
|
9
|
-
modules: number[];
|
|
10
|
-
recommendation: {
|
|
11
|
-
campaignUrls: Record<string, import("../../../@types/recommendation.js").RecommendationCampaignUrlValue>;
|
|
12
|
-
configs: Record<string, string>;
|
|
13
|
-
};
|
|
14
|
-
unsubscribe: {
|
|
15
|
-
status: boolean;
|
|
16
|
-
config: number[];
|
|
17
|
-
};
|
|
18
|
-
} | undefined> | undefined;
|
|
19
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
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<{}>>, {}>;
|
|
20
2
|
export default _default;
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
handleSave: (isSilent: boolean) => Promise<{
|
|
3
|
-
dynamicContentList: import("../../../@types/generic.js").DynamicContent[];
|
|
4
|
-
compiledHtml: string;
|
|
5
|
-
rawHtml: string;
|
|
6
|
-
css: string;
|
|
7
|
-
ampHtml: string;
|
|
8
|
-
ampErrors: string[];
|
|
9
|
-
modules: number[];
|
|
10
|
-
recommendation: {
|
|
11
|
-
campaignUrls: Record<string, import("../../../@types/recommendation.js").RecommendationCampaignUrlValue>;
|
|
12
|
-
configs: Record<string, string>;
|
|
13
|
-
};
|
|
14
|
-
unsubscribe: {
|
|
15
|
-
status: boolean;
|
|
16
|
-
config: number[];
|
|
17
|
-
};
|
|
18
|
-
} | undefined> | undefined;
|
|
19
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
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<{}>>, {}>;
|
|
20
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ColorVisionDeficiency } from '@@/Types/api/accessibility-api';
|
|
2
|
+
export declare const useAccessibilityApi: () => {
|
|
3
|
+
openAccessibilityTestingMode: () => void;
|
|
4
|
+
closeAccessibilityTestingMode: () => void;
|
|
5
|
+
toggleAccessibilityTestingMode: () => void;
|
|
6
|
+
showImages: () => void;
|
|
7
|
+
hideImages: () => void;
|
|
8
|
+
toggleImages: () => void;
|
|
9
|
+
setColorVisionDeficiency: (type: ColorVisionDeficiency) => void;
|
|
10
|
+
switchToDesktopPreview: () => void;
|
|
11
|
+
switchToMobilePreview: () => void;
|
|
12
|
+
toggleCodeEditor: () => void;
|
|
13
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CompileEmailOptions } from '@@/Types/actions-api';
|
|
2
|
-
import { GetCompiledEmailOptions, CompiledEmailResult, TemplateData } from '@@/Types/actions-api';
|
|
1
|
+
import type { CompileEmailOptions } from '@@/Types/api/actions-api';
|
|
2
|
+
import { GetCompiledEmailOptions, CompiledEmailResult, TemplateData } from '@@/Types/api/actions-api';
|
|
3
3
|
export declare const useActionsApi: () => {
|
|
4
4
|
getCompiledEmail: (options?: GetCompiledEmailOptions) => Promise<CompiledEmailResult>;
|
|
5
5
|
getTemplateData: () => Promise<TemplateData>;
|
|
@@ -100,6 +100,7 @@ export declare const useConfig: () => {
|
|
|
100
100
|
modulesDisabled: boolean;
|
|
101
101
|
liquidSyntax: boolean;
|
|
102
102
|
autosave: boolean;
|
|
103
|
+
accessibilityTesting: boolean;
|
|
103
104
|
allowlistEnabled: boolean;
|
|
104
105
|
linkTrackingIds: boolean;
|
|
105
106
|
allowSaveWithErrors: boolean;
|
|
@@ -239,6 +240,7 @@ export declare const useConfig: () => {
|
|
|
239
240
|
modulesDisabled: boolean;
|
|
240
241
|
liquidSyntax: boolean;
|
|
241
242
|
autosave: boolean;
|
|
243
|
+
accessibilityTesting: boolean;
|
|
242
244
|
allowlistEnabled: boolean;
|
|
243
245
|
linkTrackingIds: boolean;
|
|
244
246
|
allowSaveWithErrors: boolean;
|
|
@@ -2,6 +2,8 @@ import type { ImmutableHtmlElementNode, ImmutableHtmlNode } from '@stripoinc/ui-
|
|
|
2
2
|
import { Block, BlockCompositionType } from '@stripoinc/ui-editor-extensions';
|
|
3
3
|
export declare const UNSUBSCRIBE_BLOCK_ID = "unsubscribe-block";
|
|
4
4
|
export declare class UnsubscribeBlock extends Block {
|
|
5
|
+
private selectEventListener;
|
|
6
|
+
private cancelEventListener;
|
|
5
7
|
private currentNode?;
|
|
6
8
|
private linkStateByBlockId;
|
|
7
9
|
private guardAttemptsByBlockId;
|
|
@@ -9,4 +9,76 @@ export declare const useAutosaveStore: import("pinia").StoreDefinition<"guidoAut
|
|
|
9
9
|
isOn: boolean;
|
|
10
10
|
lastSavedAt: Date | null;
|
|
11
11
|
status: AutosaveStatus;
|
|
12
|
-
}, {
|
|
12
|
+
}, {
|
|
13
|
+
hasStatusLabel: (state: {
|
|
14
|
+
isOn: boolean;
|
|
15
|
+
lastSavedAt: {
|
|
16
|
+
toString: () => string;
|
|
17
|
+
toDateString: () => string;
|
|
18
|
+
toTimeString: () => string;
|
|
19
|
+
toLocaleString: {
|
|
20
|
+
(): string;
|
|
21
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
22
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
23
|
+
};
|
|
24
|
+
toLocaleDateString: {
|
|
25
|
+
(): string;
|
|
26
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
27
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
28
|
+
};
|
|
29
|
+
toLocaleTimeString: {
|
|
30
|
+
(): string;
|
|
31
|
+
(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
|
|
32
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
33
|
+
};
|
|
34
|
+
valueOf: () => number;
|
|
35
|
+
getTime: () => number;
|
|
36
|
+
getFullYear: () => number;
|
|
37
|
+
getUTCFullYear: () => number;
|
|
38
|
+
getMonth: () => number;
|
|
39
|
+
getUTCMonth: () => number;
|
|
40
|
+
getDate: () => number;
|
|
41
|
+
getUTCDate: () => number;
|
|
42
|
+
getDay: () => number;
|
|
43
|
+
getUTCDay: () => number;
|
|
44
|
+
getHours: () => number;
|
|
45
|
+
getUTCHours: () => number;
|
|
46
|
+
getMinutes: () => number;
|
|
47
|
+
getUTCMinutes: () => number;
|
|
48
|
+
getSeconds: () => number;
|
|
49
|
+
getUTCSeconds: () => number;
|
|
50
|
+
getMilliseconds: () => number;
|
|
51
|
+
getUTCMilliseconds: () => number;
|
|
52
|
+
getTimezoneOffset: () => number;
|
|
53
|
+
setTime: (time: number) => number;
|
|
54
|
+
setMilliseconds: (ms: number) => number;
|
|
55
|
+
setUTCMilliseconds: (ms: number) => number;
|
|
56
|
+
setSeconds: (sec: number, ms?: number) => number;
|
|
57
|
+
setUTCSeconds: (sec: number, ms?: number) => number;
|
|
58
|
+
setMinutes: (min: number, sec?: number, ms?: number) => number;
|
|
59
|
+
setUTCMinutes: (min: number, sec?: number, ms?: number) => number;
|
|
60
|
+
setHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
|
61
|
+
setUTCHours: (hours: number, min?: number, sec?: number, ms?: number) => number;
|
|
62
|
+
setDate: (date: number) => number;
|
|
63
|
+
setUTCDate: (date: number) => number;
|
|
64
|
+
setMonth: (month: number, date?: number) => number;
|
|
65
|
+
setUTCMonth: (month: number, date?: number) => number;
|
|
66
|
+
setFullYear: (year: number, month?: number, date?: number) => number;
|
|
67
|
+
setUTCFullYear: (year: number, month?: number, date?: number) => number;
|
|
68
|
+
toUTCString: () => string;
|
|
69
|
+
toISOString: () => string;
|
|
70
|
+
toJSON: (key?: any) => string;
|
|
71
|
+
[Symbol.toPrimitive]: {
|
|
72
|
+
(hint: "default"): string;
|
|
73
|
+
(hint: "string"): string;
|
|
74
|
+
(hint: "number"): number;
|
|
75
|
+
(hint: string): string | number;
|
|
76
|
+
};
|
|
77
|
+
} | null;
|
|
78
|
+
status: AutosaveStatus;
|
|
79
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
80
|
+
isOn: boolean;
|
|
81
|
+
lastSavedAt: Date | null;
|
|
82
|
+
status: AutosaveStatus;
|
|
83
|
+
}>) => boolean;
|
|
84
|
+
}, {}>;
|