@useinsider/guido 3.13.0-beta.b66d46a → 3.13.0-beta.d43fc77

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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/dist/@types/config/defaults.js +6 -2
  3. package/dist/@types/config/schemas.js +11 -9
  4. package/dist/components/organisms/header/AutoSaveStatus.vue.js +17 -0
  5. package/dist/components/organisms/header/AutoSaveStatus.vue2.js +21 -0
  6. package/dist/components/organisms/header/EditorActions.vue.js +11 -11
  7. package/dist/components/organisms/header/EditorActions.vue2.js +34 -50
  8. package/dist/components/organisms/header/EditorActionsMenu.vue.js +20 -0
  9. package/dist/components/organisms/header/EditorActionsMenu.vue2.js +39 -0
  10. package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
  11. package/dist/components/organisms/header/LeftSlot.vue2.js +28 -23
  12. package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
  13. package/dist/components/organisms/header/MiddleSlot.vue2.js +8 -7
  14. package/dist/components/organisms/header/RightSlot.vue.js +6 -6
  15. package/dist/components/organisms/header/RightSlot.vue2.js +17 -15
  16. package/dist/components/organisms/header/ViewOptions.vue.js +1 -1
  17. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +18 -0
  18. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +37 -0
  19. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +24 -0
  20. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +48 -0
  21. package/dist/components/organisms/header/version-history/ViewOptions.vue.js +1 -1
  22. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +18 -0
  23. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +74 -0
  24. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +43 -34
  25. package/dist/composables/useAccessibilityApi.js +31 -0
  26. package/dist/composables/useTranslations.js +7 -5
  27. package/dist/config/i18n/en/labels.json.js +23 -0
  28. package/dist/guido.css +1 -1
  29. package/dist/node_modules/@vueuse/core/index.js +102 -0
  30. package/dist/node_modules/@vueuse/shared/index.js +40 -28
  31. package/dist/src/@types/config/schemas.d.ts +4 -0
  32. package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +2 -0
  33. package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +2 -0
  34. package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +2 -0
  35. package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +2 -0
  36. package/dist/src/composables/useAccessibilityApi.d.ts +15 -0
  37. package/dist/src/composables/useActionsApi.d.ts +2 -2
  38. package/dist/src/composables/useConfig.d.ts +2 -0
  39. package/dist/src/composables/useModuleDynamicContentRepair.d.ts +0 -5
  40. package/dist/src/stores/config.d.ts +18 -0
  41. package/dist/src/stores/editor.d.ts +105 -0
  42. package/dist/src/stores/onboarding.d.ts +377 -0
  43. package/dist/src/stores/version-history.d.ts +1 -1
  44. package/dist/src/utils/timeUtil.d.ts +10 -0
  45. package/dist/stores/editor.js +5 -1
  46. package/dist/stores/onboarding.js +18 -13
  47. package/dist/utils/timeUtil.js +6 -17
  48. package/package.json +2 -2
  49. package/dist/components/organisms/header/AutoSaveToggle.vue.js +0 -22
  50. package/dist/components/organisms/header/AutoSaveToggle.vue2.js +0 -19
  51. /package/dist/src/components/organisms/header/{AutoSaveToggle.vue.d.ts → AutoSaveStatus.vue.d.ts} +0 -0
@@ -0,0 +1,37 @@
1
+ import { defineComponent as d, computed as n } from "vue";
2
+ import { useAccessibilityApi as c } from "../../../../composables/useAccessibilityApi.js";
3
+ import { useTranslations as g } from "../../../../composables/useTranslations.js";
4
+ import { useEditorStore as u } from "../../../../stores/editor.js";
5
+ import { getTooltipOptions as e } from "../../../../utils/tooltipUtils.js";
6
+ import { InSegments as _, InButtonV2 as f } from "@useinsider/design-system-vue";
7
+ import w from "./ColorVisionSelect.vue.js";
8
+ const A = /* @__PURE__ */ d({
9
+ __name: "AccessibilityToolbar",
10
+ setup(b) {
11
+ const t = u(), o = g(), {
12
+ toggleImages: r,
13
+ toggleCodeEditor: m,
14
+ switchToDesktopPreview: i,
15
+ switchToMobilePreview: s
16
+ } = c(), l = n(() => [
17
+ {
18
+ text: "",
19
+ icon: "line-desktop",
20
+ value: "desktop",
21
+ tooltipText: o("newsletter.desktop"),
22
+ tooltipOptions: e("guido__a11y-view-desktop")
23
+ },
24
+ {
25
+ text: "",
26
+ icon: "line-menu-mobileapp",
27
+ value: "mobile",
28
+ tooltipText: o("newsletter.mobile"),
29
+ tooltipOptions: e("guido__a11y-view-mobile")
30
+ }
31
+ ]), p = n(() => t.imagesHidden ? o("email-editor.a11y-show-images") : o("email-editor.a11y-hide-images"));
32
+ return { __sfc: !0, editorStore: t, trans: o, toggleImages: r, toggleCodeEditor: m, switchToDesktopPreview: i, switchToMobilePreview: s, segmentList: l, imagesTooltip: p, handleView: (a) => a === "mobile" ? s() : i(), getTooltipOptions: e, InButtonV2: f, InSegments: _, ColorVisionSelect: w };
33
+ }
34
+ });
35
+ export {
36
+ A as default
37
+ };
@@ -0,0 +1,24 @@
1
+ import i from "./ColorVisionSelect.vue2.js";
2
+ /* empty css */
3
+ import n from "../../../../_virtual/_plugin-vue2_normalizer.js";
4
+ var l = function() {
5
+ var e = this, t = e._self._c, s = e._self._setupProxy;
6
+ return t("div", { ref: "root", staticClass: "color-vision-select p-r" }, [t("button", { staticClass: "color-vision-select__trigger d-f a-i-c", attrs: { id: "guido__a11y-color-vision-trigger", type: "button", disabled: s.editorStore.loadingStatus }, on: { click: function(o) {
7
+ s.isOpen = !s.isOpen;
8
+ } } }, [t(s.InIcons, { staticClass: "mr-2", attrs: { name: "line-show-on", size: "16" } }), t("span", { staticClass: "color-vision-select__label f-s-2" }, [e._v(e._s(s.selectedLabel))]), t(s.InIcons, { staticClass: "ml-2", attrs: { name: "line-chevron-small-down", size: "16" } })], 1), s.isOpen ? t("div", { staticClass: "color-vision-select__menu p-a" }, e._l(s.OPTIONS, function(o) {
9
+ return t("button", { key: o.value || "none", staticClass: "color-vision-select__option d-f f-d-c", class: { "color-vision-select__option_selected": o.value === s.editorStore.colorVisionDeficiency }, attrs: { type: "button" }, on: { click: function(_) {
10
+ return s.select(o.value);
11
+ } } }, [t("span", { staticClass: "color-vision-select__option-label f-s-2" }, [e._v(e._s(s.trans(o.labelKey)))]), o.descriptionKey ? t("span", { staticClass: "color-vision-select__option-description f-s-1 t-c-55" }, [e._v(" " + e._s(s.trans(o.descriptionKey)) + " ")]) : e._e()]);
12
+ }), 0) : e._e()]);
13
+ }, c = [], r = /* @__PURE__ */ n(
14
+ i,
15
+ l,
16
+ c,
17
+ !1,
18
+ null,
19
+ "383f6378"
20
+ );
21
+ const p = r.exports;
22
+ export {
23
+ p as default
24
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as p, ref as c, computed as m } from "vue";
2
+ import { useAccessibilityApi as u } from "../../../../composables/useAccessibilityApi.js";
3
+ import { useTranslations as v } from "../../../../composables/useTranslations.js";
4
+ import { useEditorStore as f } from "../../../../stores/editor.js";
5
+ import { InIcons as y } from "@useinsider/design-system-vue";
6
+ import { onClickOutside as K } from "../../../../node_modules/@vueuse/core/index.js";
7
+ const V = /* @__PURE__ */ p({
8
+ __name: "ColorVisionSelect",
9
+ setup(b) {
10
+ const e = [
11
+ {
12
+ value: "",
13
+ labelKey: "email-editor.cvd-none"
14
+ },
15
+ {
16
+ value: "protanopia",
17
+ labelKey: "email-editor.cvd-protanopia",
18
+ descriptionKey: "email-editor.cvd-protanopia-description"
19
+ },
20
+ {
21
+ value: "deuteranopia",
22
+ labelKey: "email-editor.cvd-deuteranopia",
23
+ descriptionKey: "email-editor.cvd-deuteranopia-description"
24
+ },
25
+ {
26
+ value: "tritanopia",
27
+ labelKey: "email-editor.cvd-tritanopia",
28
+ descriptionKey: "email-editor.cvd-tritanopia-description"
29
+ },
30
+ {
31
+ value: "achromatopsia",
32
+ labelKey: "email-editor.cvd-achromatopsia",
33
+ descriptionKey: "email-editor.cvd-achromatopsia-description"
34
+ }
35
+ ], t = f(), a = v(), { setColorVisionDeficiency: r } = u(), o = c(!1), n = c(null), s = m(() => {
36
+ const i = e.find((d) => d.value === t.colorVisionDeficiency) ?? e[0];
37
+ return a(i.labelKey);
38
+ }), l = (i) => {
39
+ r(i), o.value = !1;
40
+ };
41
+ return K(n, () => {
42
+ o.value = !1;
43
+ }), { __sfc: !0, OPTIONS: e, editorStore: t, trans: a, setColorVisionDeficiency: r, isOpen: o, root: n, selectedLabel: s, select: l, InIcons: y };
44
+ }
45
+ });
46
+ export {
47
+ V as default
48
+ };
@@ -10,7 +10,7 @@ var n = function() {
10
10
  r,
11
11
  !1,
12
12
  null,
13
- "6ebabfe4"
13
+ "d405ca59"
14
14
  );
15
15
  const d = a.exports;
16
16
  export {
@@ -0,0 +1,18 @@
1
+ import b from "./EditorTabBarOnboarding.vue2.js";
2
+ import g from "../../../_virtual/_plugin-vue2_normalizer.js";
3
+ var l = function() {
4
+ var t, a, n, i, e, s;
5
+ var r = this, d = r._self._c, o = r._self._setupProxy;
6
+ return o.isVisible ? d(o.InOnboard, { key: "guido__tab-bar-onboard", staticClass: "w-21-s p-a z-11", class: (t = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : t.classes, attrs: { id: "guido__tab-bar-onboard", "is-multiple-page": "", visible: "", "image-source": "", title: "", "bottom-position": (a = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : a.bottom, "left-position": (n = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : n.left, "pages-config": o.onboardingStore.onboardings.editorTabBarOnboarding.config, "pointer-position": (i = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : i.position, "right-position": (e = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : e.right, "top-position": (s = o.onboardingStore.getEditorTabBarCurrentCard) == null ? void 0 : s.top }, on: { backButtonClick: o.handleBack, close: o.finish, nextButtonClick: o.handleNext } }) : r._e();
7
+ }, _ = [], p = /* @__PURE__ */ g(
8
+ b,
9
+ l,
10
+ _,
11
+ !1,
12
+ null,
13
+ null
14
+ );
15
+ const f = p.exports;
16
+ export {
17
+ f as default
18
+ };
@@ -0,0 +1,74 @@
1
+ import { defineComponent as p, computed as d, watch as x } from "vue";
2
+ import { useRibbonOffset as B } from "../../../composables/useRibbonOffset.js";
3
+ import { useTranslations as m } from "../../../composables/useTranslations.js";
4
+ import { useOnboardingStore as k } from "../../../stores/onboarding.js";
5
+ import { InOnboard as T } from "@useinsider/design-system-vue";
6
+ const y = /* @__PURE__ */ p({
7
+ __name: "EditorTabBarOnboarding",
8
+ setup(f) {
9
+ const n = "editorTabBarOnboarding", t = m(), i = k(), { getTopPosition: a } = B(), r = () => i.next(n), c = () => i.previous(n), s = () => void i.close(n), b = d(() => [
10
+ {
11
+ classes: "guido-tab-bar-onboarding",
12
+ right: "150px",
13
+ top: a(56),
14
+ position: "Right Top",
15
+ title: t("email-editor.onboarding-kebab-title"),
16
+ description: t("email-editor.onboarding-kebab-description"),
17
+ imageSource: "",
18
+ backButtonClick: () => {
19
+ },
20
+ nextButtonType: "text",
21
+ nextButtonText: t("action-builder.next"),
22
+ nextButtonClick: r
23
+ },
24
+ {
25
+ classes: "guido-tab-bar-onboarding",
26
+ right: "320px",
27
+ top: a(56),
28
+ position: "Right Top",
29
+ title: t("email-editor.onboarding-autosave-title"),
30
+ description: t("email-editor.onboarding-autosave-description"),
31
+ imageSource: "",
32
+ backButtonType: "text",
33
+ backButtonText: t("action-builder.back"),
34
+ backButtonClick: c,
35
+ nextButtonType: "text",
36
+ nextButtonText: t("action-builder.next"),
37
+ nextButtonClick: r
38
+ },
39
+ {
40
+ classes: "guido-tab-bar-onboarding",
41
+ right: "150px",
42
+ top: a(56),
43
+ position: "Right Top",
44
+ title: t("email-editor.onboarding-accessibility-title"),
45
+ description: t("email-editor.onboarding-accessibility-description"),
46
+ imageSource: "",
47
+ backButtonType: "text",
48
+ backButtonText: t("action-builder.back"),
49
+ backButtonClick: c,
50
+ nextButtonType: "text",
51
+ nextButtonText: t("action-builder.ok"),
52
+ nextButtonClick: s
53
+ }
54
+ ]), u = d(
55
+ () => i.onboardings.editorTabBarOnboarding.config.length > 0 && i.onboardings.editorTabBarOnboarding.isActive
56
+ ), g = () => {
57
+ var o, e;
58
+ (e = (o = i.getEditorTabBarCurrentCard) == null ? void 0 : o.nextButtonClick) == null || e.call(o);
59
+ }, l = () => {
60
+ var o, e;
61
+ (e = (o = i.getEditorTabBarCurrentCard) == null ? void 0 : o.backButtonClick) == null || e.call(o);
62
+ };
63
+ return x(
64
+ () => i.onboardings.editorTabBarOnboarding.isActive,
65
+ (o) => {
66
+ o && i.setConfig(n, b.value);
67
+ },
68
+ { immediate: !0 }
69
+ ), { __sfc: !0, ONBOARDING: n, trans: t, onboardingStore: i, getTopPosition: a, goNext: r, goBack: c, finish: s, onboardingCardsConfig: b, isVisible: u, handleNext: g, handleBack: l, InOnboard: T };
70
+ }
71
+ });
72
+ export {
73
+ y as default
74
+ };
@@ -1,46 +1,55 @@
1
- import { defineComponent as b, computed as e, onMounted as O, watch as t } from "vue";
2
- import u from "./AMPOnboarding.vue.js";
3
- import v from "./GenericOnboarding.vue.js";
4
- import l from "./ItemsOnboarding.vue.js";
5
- import y from "./NewVersionPopup.vue.js";
6
- import S from "./TextBlockOnboarding.vue.js";
7
- import h from "./VersionHistoryOnboarding.vue.js";
8
- import { usePartner as w } from "../../../composables/usePartner.js";
9
- import { useEditorStore as P } from "../../../stores/editor.js";
10
- import { useOnboardingStore as _ } from "../../../stores/onboarding.js";
11
- import { usePreviewStore as A } from "../../../stores/preview.js";
12
- const G = /* @__PURE__ */ b({
1
+ import { defineComponent as O, computed as a, onMounted as u, watch as e } from "vue";
2
+ import l from "./AMPOnboarding.vue.js";
3
+ import v from "./EditorTabBarOnboarding.vue.js";
4
+ import y from "./GenericOnboarding.vue.js";
5
+ import S from "./ItemsOnboarding.vue.js";
6
+ import h from "./NewVersionPopup.vue.js";
7
+ import w from "./TextBlockOnboarding.vue.js";
8
+ import P from "./VersionHistoryOnboarding.vue.js";
9
+ import { useConfig as A } from "../../../composables/useConfig.js";
10
+ import { usePartner as T } from "../../../composables/usePartner.js";
11
+ import { useEditorStore as _ } from "../../../stores/editor.js";
12
+ import { useOnboardingStore as H } from "../../../stores/onboarding.js";
13
+ import { usePreviewStore as B } from "../../../stores/preview.js";
14
+ const j = /* @__PURE__ */ O({
13
15
  __name: "OnboardingWrapper",
14
16
  emits: ["onboarding-finished"],
15
- setup(H, { emit: f }) {
16
- const o = _(), r = P(), s = A(), { isTestPartner: a } = w(), p = e(() => r.isStripoInitialized), d = e(() => a()), m = [
17
- { type: "newVersionPopup", component: y },
18
- { type: "genericOnboarding", component: v },
19
- { type: "textBlockOnboarding", component: S },
20
- { type: "versionHistoryOnboarding", component: h },
21
- { type: "ampOnboarding", component: u },
22
- { type: "itemsOnboarding", component: l }
23
- ], c = (n) => d.value || !p.value ? !1 : n === "newVersionPopup" ? o.shouldShowOnboarding(n) : o.isActive(n), g = e(() => m.filter((n) => c(n.type)));
24
- return O(async () => {
17
+ setup(M, { emit: g }) {
18
+ const o = H(), i = _(), d = B(), { isTestPartner: p } = T(), { isFeatureEnabled: m } = A(), t = a(() => i.isStripoInitialized), s = a(() => p()), b = [
19
+ { type: "newVersionPopup", component: h },
20
+ { type: "genericOnboarding", component: y },
21
+ { type: "textBlockOnboarding", component: w },
22
+ { type: "versionHistoryOnboarding", component: P },
23
+ { type: "ampOnboarding", component: l },
24
+ { type: "itemsOnboarding", component: S },
25
+ { type: "editorTabBarOnboarding", component: v }
26
+ ], c = (n) => s.value || !t.value ? !1 : n === "newVersionPopup" ? o.shouldShowOnboarding(n) : o.isActive(n), f = a(() => b.filter((n) => c(n.type)));
27
+ return u(async () => {
25
28
  await o.fetchUserModalState();
26
- }), t(
27
- () => r.isVersionHistoryOpen,
28
- (n, i) => {
29
- n && !i && o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding"), !n && i && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
29
+ }), e(
30
+ () => i.isVersionHistoryOpen,
31
+ (n, r) => {
32
+ n && !r && o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding"), !n && r && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
30
33
  }
31
- ), t(
32
- () => s.emailFormat,
33
- (n, i) => {
34
- i !== "AMP" && n === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
34
+ ), e(
35
+ () => d.emailFormat,
36
+ (n, r) => {
37
+ r !== "AMP" && n === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
35
38
  }
36
- ), t(
37
- () => r.isPreviewModeOpen,
39
+ ), e(
40
+ () => i.isPreviewModeOpen,
38
41
  (n) => {
39
42
  !n && o.isActive("ampOnboarding") && o.close("ampOnboarding");
40
43
  }
41
- ), { __sfc: !0, emit: f, onboardingStore: o, editorStore: r, previewStore: s, isTestPartner: a, isStripoReady: p, isTestPartnerActive: d, onboardingConfigs: m, shouldShow: c, visibleOnboardings: g };
44
+ ), e(
45
+ t,
46
+ (n) => {
47
+ n && m("accessibilityTesting") && !s.value && !o.isOnboardingActive() && o.shouldShowOnboarding("editorTabBarOnboarding") && o.start("editorTabBarOnboarding");
48
+ },
49
+ { immediate: !0 }
50
+ ), { __sfc: !0, emit: g, onboardingStore: o, editorStore: i, previewStore: d, isTestPartner: p, isFeatureEnabled: m, isStripoReady: t, isTestPartnerActive: s, onboardingConfigs: b, shouldShow: c, visibleOnboardings: f };
42
51
  }
43
52
  });
44
53
  export {
45
- G as default
54
+ j as default
46
55
  };
@@ -0,0 +1,31 @@
1
+ import { useEditorStore as r } from "../stores/editor.js";
2
+ const A = () => {
3
+ const e = r(), i = () => window.StripoEditorApi.accessibilityApi, s = () => {
4
+ i().openAccessibilityTestingMode(), e.isAccessibilityTestingOpen = !0;
5
+ }, o = () => {
6
+ i().closeAccessibilityTestingMode(), e.isAccessibilityTestingOpen = !1, e.imagesHidden = !1, e.colorVisionDeficiency = "";
7
+ }, g = () => e.isAccessibilityTestingOpen ? o() : s(), l = () => i().isAccessibilityTestingModeOpen(), t = () => {
8
+ i().showImages(), e.imagesHidden = !1;
9
+ }, c = () => {
10
+ i().hideImages(), e.imagesHidden = !0;
11
+ };
12
+ return {
13
+ openAccessibilityTestingMode: s,
14
+ closeAccessibilityTestingMode: o,
15
+ toggleAccessibilityTestingMode: g,
16
+ isAccessibilityTestingModeOpen: l,
17
+ showImages: t,
18
+ hideImages: c,
19
+ toggleImages: () => e.imagesHidden ? t() : c(),
20
+ setColorVisionDeficiency: (n) => {
21
+ i().setColorVisionDeficiency(n), e.colorVisionDeficiency = n;
22
+ },
23
+ getColorVisionDeficiency: () => i().getColorVisionDeficiency(),
24
+ switchToDesktopPreview: () => i().switchToDesktopPreview(),
25
+ switchToMobilePreview: () => i().switchToMobilePreview(),
26
+ toggleCodeEditor: () => i().emitToggleCodeEditor()
27
+ };
28
+ };
29
+ export {
30
+ A as useAccessibilityApi
31
+ };
@@ -1,18 +1,20 @@
1
+ import "../@types/config/schemas.js";
2
+ import { DEFAULT_EDITOR } from "../@types/config/defaults.js";
1
3
  import memoize from "../node_modules/lodash-es/memoize.js";
2
4
  import { ref } from "vue";
3
5
  import { useConfig } from "./useConfig.js";
4
6
  const useTranslations = () => {
5
7
  var o, e;
6
- const { config } = useConfig(), translationsPath = ((e = (o = config.value) == null ? void 0 : o.editor) == null ? void 0 : e.translationsPath) || "window.trans.en", translations = ref(eval(translationsPath)), trans = (n, t) => {
7
- const r = translations.value[n];
8
- return r ? t ? Object.entries(t).reduce(
8
+ const { config } = useConfig(), translationsPath = ((e = (o = config.value) == null ? void 0 : o.editor) == null ? void 0 : e.translationsPath) || DEFAULT_EDITOR.translationsPath, translations = ref(eval(translationsPath)), trans = (t, n) => {
9
+ const r = translations.value[t];
10
+ return r ? n ? Object.entries(n).reduce(
9
11
  (s, [i, a]) => s.replace(new RegExp(`{${i}}`, "g"), String(a)),
10
12
  r
11
- ) : r : (console.warn(`Translation key not found: ${n}`), n);
13
+ ) : r : (console.warn(`Translation key not found: ${t}`), t);
12
14
  };
13
15
  return memoize(
14
16
  trans,
15
- (n, t) => !t || Object.keys(t).length === 0 ? n : JSON.stringify({ key: n, params: t })
17
+ (t, n) => !n || Object.keys(n).length === 0 ? t : JSON.stringify({ key: t, params: n })
16
18
  );
17
19
  };
18
20
  export {
@@ -5,6 +5,29 @@ const e = "Items", o = {
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": "Autosaved at {time}, Today",
24
+ "email-editor.autosaved-at-date": "Autosaved at {date}",
25
+ "email-editor.onboarding-kebab-title": "More actions, tidied up",
26
+ "email-editor.onboarding-kebab-description": "Version history, templates, export and preferences now live in this menu.",
27
+ "email-editor.onboarding-autosave-title": "Auto-save is on",
28
+ "email-editor.onboarding-autosave-description": "Your changes are saved automatically. You can turn this off from the menu.",
29
+ "email-editor.onboarding-accessibility-title": "Check accessibility",
30
+ "email-editor.onboarding-accessibility-description": "Run the accessibility checker to find and fix issues like alt text and color contrast.",
8
31
  "Pixel Tracking Opt-in": "Pixel Tracking Opt-in",
9
32
  "OPT-IN SELECTION": "OPT-IN SELECTION",
10
33
  "UNSUBSCRIBE GROUPS": "UNSUBSCRIBE GROUPS"
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- .gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .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}.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}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-6e711fd7]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-5079a1c8]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-5079a1c8]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-5079a1c8]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}
1
+ .gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-2f127fb6] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.color-vision-select__trigger[data-v-383f6378]{height:32px;padding:0 8px;border:none;border-radius:6px;background-color:#f1f3fe;cursor:pointer}.color-vision-select__trigger[data-v-383f6378]:disabled{cursor:not-allowed;opacity:.6}.color-vision-select__label[data-v-383f6378]{white-space:nowrap}.color-vision-select__menu[data-v-383f6378]{top:calc(100% + 4px);left:0;z-index:20;width:320px;padding:8px;border-radius:8px;background-color:#fff;box-shadow:0 4px 16px #0000001f}.color-vision-select__option[data-v-383f6378]{width:100%;padding:8px;border:none;border-radius:6px;background-color:transparent;text-align:left;cursor:pointer}.color-vision-select__option[data-v-383f6378]:hover,.color-vision-select__option_selected[data-v-383f6378]{background-color:#f1f3fe}.color-vision-select__option-description[data-v-383f6378]{margin-top:2px}.accessibility-toolbar[data-v-e222d603]{gap:8px}.accessibility-toolbar__divider[data-v-e222d603]{width:1px;height:24px;background-color:#e5e7f0}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.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-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.editor-actions-menu__panel[data-v-10896837]{top:calc(100% + 4px);right:0;z-index:20;width:222px;padding:8px;border-radius:8px;background-color:#fff;box-shadow:0 4px 16px #0000001f}.editor-actions-menu__section[data-v-10896837]{padding:8px 8px 4px;text-transform:uppercase;letter-spacing:.4px}.editor-actions-menu__row[data-v-10896837]{width:100%;padding:8px;border:none;border-radius:6px;background-color:transparent;text-align:left;cursor:pointer}.editor-actions-menu__row[data-v-10896837]:not(.editor-actions-menu__row_static):hover{background-color:#f1f3fe}.editor-actions-menu__row_static[data-v-10896837]{cursor:default}.editor-actions-menu__row[data-v-10896837]:disabled{cursor:not-allowed;opacity:.6}.editor-actions-menu__divider[data-v-10896837]{height:1px;margin:4px 0;background-color:#e5e7f0}.editor-actions[data-v-d51fb931]{gap:4px}.header-wrapper[data-v-d11dd577]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-5079a1c8]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-5079a1c8]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-5079a1c8]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-91a26acd]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-91a26acd]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-91a26acd]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-91a26acd]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-91a26acd]{object-fit:cover;transform:scale(1)}[data-v-b9a93c6e] .guido__verion-history-view-option-selection-desktop svg,[data-v-b9a93c6e] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-b9a93c6e] .in-segments-wrapper__button_selected,[data-v-b9a93c6e] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-cf946232]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-cf946232]{min-height:504px}.iframe-wrapper[data-v-f255b2bb]{width:258px}.iframe-scaled[data-v-f255b2bb]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-6bcaca8a] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}
@@ -0,0 +1,102 @@
1
+ import { noop as b, isIOS as F, isClient as O, toValue as h, isObject as T, tryOnScopeDispose as C } from "../shared/index.js";
2
+ import { createFilterWrapper as x, debounceFilter as D, useDebounceFn as j } from "../shared/index.js";
3
+ import "../../vue-demi/lib/index.js";
4
+ import { watch as I } from "vue";
5
+ const P = O ? window : void 0;
6
+ function p(n) {
7
+ var i;
8
+ const o = h(n);
9
+ return (i = o == null ? void 0 : o.$el) != null ? i : o;
10
+ }
11
+ function k(...n) {
12
+ let i, o, r, d;
13
+ if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, r, d] = n, i = P) : [i, o, r, d] = n, !i)
14
+ return b;
15
+ Array.isArray(o) || (o = [o]), Array.isArray(r) || (r = [r]);
16
+ const m = [], y = () => {
17
+ m.forEach((c) => c()), m.length = 0;
18
+ }, a = (c, l, u, f) => (c.addEventListener(l, u, f), () => c.removeEventListener(l, u, f)), E = I(
19
+ () => [p(i), h(d)],
20
+ ([c, l]) => {
21
+ if (y(), !c)
22
+ return;
23
+ const u = T(l) ? { ...l } : l;
24
+ m.push(
25
+ ...o.flatMap((f) => r.map((w) => a(c, f, w, u)))
26
+ );
27
+ },
28
+ { immediate: !0, flush: "post" }
29
+ ), A = () => {
30
+ E(), y();
31
+ };
32
+ return C(A), A;
33
+ }
34
+ let L = !1;
35
+ function $(n, i, o = {}) {
36
+ const { window: r = P, ignore: d = [], capture: m = !0, detectIframe: y = !1 } = o;
37
+ if (!r)
38
+ return b;
39
+ F && !L && (L = !0, Array.from(r.document.body.children).forEach((e) => e.addEventListener("click", b)), r.document.documentElement.addEventListener("click", b));
40
+ let a = !0;
41
+ const E = (e) => h(d).some((t) => {
42
+ if (typeof t == "string")
43
+ return Array.from(r.document.querySelectorAll(t)).some((s) => s === e.target || e.composedPath().includes(s));
44
+ {
45
+ const s = p(t);
46
+ return s && (e.target === s || e.composedPath().includes(s));
47
+ }
48
+ });
49
+ function A(e) {
50
+ const t = h(e);
51
+ return t && t.$.subTree.shapeFlag === 16;
52
+ }
53
+ function c(e, t) {
54
+ const s = h(e), v = s.$.subTree && s.$.subTree.children;
55
+ return v == null || !Array.isArray(v) ? !1 : v.some((g) => g.el === t.target || t.composedPath().includes(g.el));
56
+ }
57
+ const l = (e) => {
58
+ const t = p(n);
59
+ if (e.target != null && !(!(t instanceof Element) && A(n) && c(n, e)) && !(!t || t === e.target || e.composedPath().includes(t))) {
60
+ if (e.detail === 0 && (a = !E(e)), !a) {
61
+ a = !0;
62
+ return;
63
+ }
64
+ i(e);
65
+ }
66
+ };
67
+ let u = !1;
68
+ const f = [
69
+ k(r, "click", (e) => {
70
+ u || (u = !0, setTimeout(() => {
71
+ u = !1;
72
+ }, 0), l(e));
73
+ }, { passive: !0, capture: m }),
74
+ k(r, "pointerdown", (e) => {
75
+ const t = p(n);
76
+ a = !E(e) && !!(t && !e.composedPath().includes(t));
77
+ }, { passive: !0 }),
78
+ y && k(r, "blur", (e) => {
79
+ setTimeout(() => {
80
+ var t;
81
+ const s = p(n);
82
+ ((t = r.document.activeElement) == null ? void 0 : t.tagName) === "IFRAME" && !(s != null && s.contains(r.document.activeElement)) && i(e);
83
+ }, 0);
84
+ })
85
+ ].filter(Boolean);
86
+ return () => f.forEach((e) => e());
87
+ }
88
+ export {
89
+ x as createFilterWrapper,
90
+ D as debounceFilter,
91
+ P as defaultWindow,
92
+ O as isClient,
93
+ F as isIOS,
94
+ T as isObject,
95
+ b as noop,
96
+ $ as onClickOutside,
97
+ h as toValue,
98
+ C as tryOnScopeDispose,
99
+ p as unrefElement,
100
+ j as useDebounceFn,
101
+ k as useEventListener
102
+ };
@@ -1,45 +1,57 @@
1
1
  import "../../vue-demi/lib/index.js";
2
- import { unref as p } from "vue";
3
- function f(t) {
2
+ import { unref as p, getCurrentScope as w, onScopeDispose as m } from "vue";
3
+ function T(t) {
4
+ return w() ? (m(t), !0) : !1;
5
+ }
6
+ function a(t) {
4
7
  return typeof t == "function" ? t() : p(t);
5
8
  }
9
+ const g = typeof window < "u" && typeof document < "u";
6
10
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7
- const m = () => {
8
- };
9
- function h(t, n) {
10
- function r(...e) {
11
- return new Promise((i, o) => {
12
- Promise.resolve(t(() => n.apply(this, e), { fn: n, thisArg: this, args: e })).then(i).catch(o);
11
+ const b = Object.prototype.toString, j = (t) => b.call(t) === "[object Object]", f = () => {
12
+ }, x = /* @__PURE__ */ h();
13
+ function h() {
14
+ var t, n;
15
+ return g && ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((n = window == null ? void 0 : window.navigator) == null ? void 0 : n.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
16
+ }
17
+ function v(t, n) {
18
+ function o(...e) {
19
+ return new Promise((r, i) => {
20
+ Promise.resolve(t(() => n.apply(this, e), { fn: n, thisArg: this, args: e })).then(r).catch(i);
13
21
  });
14
22
  }
15
- return r;
23
+ return o;
16
24
  }
17
- function T(t, n = {}) {
18
- let r, e, i = m;
19
- const o = (u) => {
20
- clearTimeout(u), i(), i = m;
25
+ function S(t, n = {}) {
26
+ let o, e, r = f;
27
+ const i = (u) => {
28
+ clearTimeout(u), r(), r = f;
21
29
  };
22
30
  return (u) => {
23
- const a = f(t), l = f(n.maxWait);
24
- return r && o(r), a <= 0 || l !== void 0 && l <= 0 ? (e && (o(e), e = null), Promise.resolve(u())) : new Promise((c, s) => {
25
- i = n.rejectOnCancel ? s : c, l && !e && (e = setTimeout(() => {
26
- r && o(r), e = null, c(u());
27
- }, l)), r = setTimeout(() => {
28
- e && o(e), e = null, c(u());
29
- }, a);
31
+ const s = a(t), c = a(n.maxWait);
32
+ return o && i(o), s <= 0 || c !== void 0 && c <= 0 ? (e && (i(e), e = null), Promise.resolve(u())) : new Promise((l, d) => {
33
+ r = n.rejectOnCancel ? d : l, c && !e && (e = setTimeout(() => {
34
+ o && i(o), e = null, l(u());
35
+ }, c)), o = setTimeout(() => {
36
+ e && i(e), e = null, l(u());
37
+ }, s);
30
38
  });
31
39
  };
32
40
  }
33
- function P(t, n = 200, r = {}) {
34
- return h(
35
- T(n, r),
41
+ function A(t, n = 200, o = {}) {
42
+ return v(
43
+ S(n, o),
36
44
  t
37
45
  );
38
46
  }
39
47
  export {
40
- h as createFilterWrapper,
41
- T as debounceFilter,
42
- m as noop,
43
- f as toValue,
44
- P as useDebounceFn
48
+ v as createFilterWrapper,
49
+ S as debounceFilter,
50
+ g as isClient,
51
+ x as isIOS,
52
+ j as isObject,
53
+ f as noop,
54
+ a as toValue,
55
+ T as tryOnScopeDispose,
56
+ A as useDebounceFn
45
57
  };
@@ -383,6 +383,8 @@ export declare const FeaturesSchema: v.ObjectSchema<{
383
383
  readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
384
384
  /** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
385
385
  readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
386
+ /** Enable the Stripo Accessibility Checker control in the editor toolbar. */
387
+ readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
386
388
  /** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
387
389
  readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
388
390
  }, undefined>;
@@ -772,6 +774,8 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
772
774
  readonly liquidSyntax: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
773
775
  /** Enable autosave (3-min interval + tab-hide). User toggles on/off from the header. */
774
776
  readonly autosave: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
777
+ /** Enable the Stripo Accessibility Checker control in the editor toolbar. */
778
+ readonly accessibilityTesting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
775
779
  /** Enable pre-save domain-allowlist validation (opt-in; Guido self-serves the block toaster) */
776
780
  readonly allowlistEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
777
781
  }, undefined>, {}>;
@@ -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;