@useinsider/guido 3.30.0-beta.8b760fc → 3.30.0-beta.a1f329f

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 CHANGED
@@ -174,6 +174,7 @@ const config: GuidoConfigInput = {
174
174
  allowSaveWithErrors?: boolean, // Default: true - Allow the validation drawer's "Save and Continue" soft-save. Set false to hard-block invalid saves (transactional + unsubscribe pages).
175
175
  reusableRecommendationStrategy?: boolean, // Default: false - Assign an RRS strategy to recommendation blocks instead of per-block algorithm/filters/shuffle/product-count settings.
176
176
  legacyUnsubscribeConversion?: boolean, // Default: false - Convert legacy unsubscribe blocks that have no unsubscribe link into text blocks (on load and on module drop/copy) and show a warning modal.
177
+ readonly?: boolean, // Default: false - Opens the design with Save disabled: no save path persists (toolbar Save, "Save and Continue", autosave, saveSilent() resolves undefined), no save:start / save:complete, and edits never emit on-change, so the host shows no leave-page warning. Read at mount; to change it, remount Guido.
177
178
  accessibilityTesting?: boolean, // Default: false - Show the Accessibility Test entry in the header kebab menu (Stripo's checker: contrast, image alternatives, colour-vision simulation) and the tab-bar onboarding tour that points at it.
178
179
  itemsPriceFormatting?: boolean, // Default: false - Items block price formatting: thousand/decimal separator + decimal count on the block root, raw price tags in the export (formatted at send time).
179
180
  blockUnsubscribeLinks?: boolean, // Default: false - Warn on save when the design carries an Insider unsubscribe link or code ({{ins-*-unsubscribe-link}}, <%asm_*_raw_url%>, <%unsub%>): the legacy save is rejected with a warning toaster; with the validation drawer on it is a warning row that "Save and Continue" can skip. Launch blocking is up to the host. Set true for accounts whose unsubscribes are managed outside Insider (SFMC).
@@ -1,5 +1,5 @@
1
1
  import { ModuleFolderDefaults as y } from "../../enums/defaults.js";
2
- import { object as o, number as c, optional as e, string as t, picklist as m, pipe as r, minLength as p, custom as k, boolean as a, array as n, transform as S, unknown as i, record as g, fallback as R, literal as u, lazy as T, looseObject as C, variant as I, union as h } from "../../node_modules/valibot/dist/index.js";
2
+ import { object as o, number as c, optional as e, string as t, picklist as m, pipe as i, minLength as p, custom as k, boolean as a, array as n, transform as S, unknown as r, record as g, fallback as R, literal as u, lazy as T, looseObject as C, variant as I, union as h } from "../../node_modules/valibot/dist/index.js";
3
3
  const b = {
4
4
  /** Promotional/marketing emails */
5
5
  PROMOTIONAL: 1,
@@ -14,12 +14,12 @@ const b = {
14
14
  UNSUBSCRIBE_PAGES: 97
15
15
  }, A = o({
16
16
  /** Unique identifier for the template being edited */
17
- templateId: r(
17
+ templateId: i(
18
18
  t(),
19
19
  p(1, "templateId is required")
20
20
  ),
21
21
  /** Unique identifier for the user editing the template */
22
- userId: r(
22
+ userId: i(
23
23
  t(),
24
24
  p(1, "userId is required")
25
25
  ),
@@ -40,7 +40,7 @@ const b = {
40
40
  family: t()
41
41
  }), E = o({
42
42
  /** Partner/organization name (required) */
43
- name: r(
43
+ name: i(
44
44
  t(),
45
45
  p(1, "partner.name is required")
46
46
  ),
@@ -93,23 +93,23 @@ const b = {
93
93
  /** Decimal places for price display (legacy data may use string or number) */
94
94
  decimalCount: e(h([t(), c()])),
95
95
  /** Pinned product IDs (empty array when filter-driven) */
96
- productIds: e(n(i())),
96
+ productIds: e(n(r())),
97
97
  /** Whether the block requested live products at send time */
98
98
  sendProductRequestFlag: e(a()),
99
99
  /** Whether to randomize product order */
100
100
  shuffleProducts: e(a()),
101
101
  /** Filter rules driving product selection */
102
- filters: e(n(i())),
102
+ filters: e(n(r())),
103
103
  /** Currency code (e.g. 'EUR') — sometimes absent in legacy data */
104
104
  currency: e(t()),
105
105
  /** Currency display settings (separators, alignment, decimals) */
106
- currencySettings: e(i()),
106
+ currencySettings: e(r()),
107
107
  /** Locale (e.g. 'nl_NL') */
108
108
  language: e(t()),
109
109
  /** Recommendation strategy key (e.g. 'newArrivals') */
110
110
  strategy: e(t()),
111
111
  /** Snapshot of products as rendered by the legacy block */
112
- recommendedProducts: e(n(i())),
112
+ recommendedProducts: e(n(r())),
113
113
  /** Number of product cards per row */
114
114
  cardsInRow: e(c()),
115
115
  /** Mobile-only padding (right) */
@@ -174,7 +174,7 @@ const b = {
174
174
  * mount. Non-numbers still fail, like every other field in this schema.
175
175
  */
176
176
  trackIdCounter: e(
177
- r(
177
+ i(
178
178
  c(),
179
179
  S((s) => Number.isFinite(s) ? Math.max(0, Math.floor(s)) : 0)
180
180
  ),
@@ -188,8 +188,8 @@ const b = {
188
188
  * cannot be undone. Hosts send `[]` for an empty map.
189
189
  */
190
190
  recommendationCampaignUrls: e(
191
- r(
192
- i(),
191
+ i(
192
+ r(),
193
193
  S((s) => s && typeof s == "object" ? { ...s } : void 0)
194
194
  )
195
195
  ),
@@ -249,6 +249,8 @@ const b = {
249
249
  reusableRecommendationStrategy: e(a(), !1),
250
250
  /** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
251
251
  legacyUnsubscribeConversion: e(a(), !1),
252
+ /** Disable every save path and the unsaved-changes signal; read at mount only. */
253
+ readonly: e(a(), !1),
252
254
  /** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
253
255
  itemsPriceFormatting: e(a(), !1),
254
256
  /** Warn on save when the design carries an Insider unsubscribe link or code (host sets true for SFMC accounts) */
@@ -4,7 +4,7 @@ import r from "../../../_virtual/_plugin-vue2_normalizer.js";
4
4
  var d = function() {
5
5
  var o, s;
6
6
  var i = this, e = i._self._c, t = i._self._setupProxy;
7
- return e("div", { staticClass: "d-f a-i-c editor-actions" }, [!t.editorStore.isPreviewModeOpen && t.hasContentOnTheLeft ? e("div", { staticClass: "editor-actions__divider" }) : i._e(), (s = (o = t.config) == null ? void 0 : o.features) != null && s.testMessage ? e(t.InButtonV2, { attrs: { id: "guido__test-button", "left-icon": "line-architect-test-journey", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isTestButtonDisabled, "label-text-status": !1, "tooltip-options": t.getTooltipOptions("guido__test-button", { staticPosition: "bottom right" }), "tooltip-text": t.trans("newsletter.test-email") }, on: { click: t.handleTestEmail } }) : i._e(), e(t.EditorActionsMenu), t.editorStore.isPreviewModeOpen ? i._e() : e("div", { staticClass: "editor-actions__divider" }), t.editorStore.isPreviewModeOpen ? i._e() : e(t.InButtonV2, { staticClass: "ml-3", attrs: { id: "guido__save-button", "disabled-status": !t.isSaving && t.editorStore.isSaveButtonDisabled, "label-text": t.saveLabel, "loading-status": t.isSaving }, on: { click: function(n) {
7
+ return e("div", { staticClass: "d-f a-i-c editor-actions" }, [!t.editorStore.isPreviewModeOpen && t.hasContentOnTheLeft ? e("div", { staticClass: "editor-actions__divider" }) : i._e(), (s = (o = t.config) == null ? void 0 : o.features) != null && s.testMessage ? e(t.InButtonV2, { attrs: { id: "guido__test-button", "left-icon": "line-architect-test-journey", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isTestButtonDisabled, "label-text-status": !1, "tooltip-options": t.getTooltipOptions("guido__test-button", { staticPosition: "bottom right" }), "tooltip-text": t.trans("newsletter.test-email") }, on: { click: t.handleTestEmail } }) : i._e(), e(t.EditorActionsMenu), t.editorStore.isPreviewModeOpen ? i._e() : e("div", { staticClass: "editor-actions__divider" }), t.editorStore.isPreviewModeOpen ? i._e() : e(t.InButtonV2, { staticClass: "ml-3", attrs: { id: "guido__save-button", "disabled-status": t.isFeatureEnabled("readonly") || !t.isSaving && t.editorStore.isSaveButtonDisabled, "label-text": t.saveLabel, "loading-status": t.isSaving }, on: { click: function(n) {
8
8
  return t.handleSave(!1);
9
9
  } } }), e(t.MigrationConfirmModal, { ref: "migrationModalRef", on: { confirm: function(n) {
10
10
  return t.executeSave(!1);
@@ -15,7 +15,7 @@ var d = function() {
15
15
  l,
16
16
  !1,
17
17
  null,
18
- "9a028d08"
18
+ "b3603ae4"
19
19
  );
20
20
  const p = c.exports;
21
21
  export {
@@ -1,101 +1,101 @@
1
- import { useActionsApi as O } from "./useActionsApi.js";
2
- import { useConfig as D } from "./useConfig.js";
3
- import { useEditorLock as F } from "./useEditorLock.js";
4
- import { useSaveStart as I, useSaveComplete as N } from "./useGuidoActions.js";
5
- import { useSaveValidation as j } from "./useSaveValidation.js";
6
- import { useSaveValidationRollout as z } from "./useSaveValidationRollout.js";
7
- import { useSyncModuleExtractor as G } from "./useSyncModuleExtractor.js";
8
- import { ToasterTypeOptions as J } from "../enums/toaster.js";
9
- import { useStripoApi as K } from "../services/stripoApi.js";
10
- import { useConfigStore as Q } from "../stores/config.js";
11
- import { useDynamicContentStore as X } from "../stores/dynamic-content.js";
12
- import { useSaveValidationStore as Y } from "../stores/save-validation.js";
13
- import { useTemplatePreparation as Z, getHtmlReferencedUnsubscribePages as _ } from "../utils/templatePreparation.js";
14
- import { useAllowlist as $ } from "./useAllowlist.js";
15
- import { useHtmlValidator as tt } from "./useHtmlValidator.js";
16
- import { useToaster as et } from "./useToaster.js";
17
- import { useCouponBlockValidator as ot } from "./validators/useCouponBlockValidator.js";
18
- import { useHtmlDocumentCountValidator as it } from "./validators/useHtmlDocumentCountValidator.js";
19
- import { useLiquidValidator as rt } from "./validators/useLiquidValidator.js";
20
- import { useSyncModuleBlockValidator as st } from "./validators/useSyncModuleBlockValidator.js";
21
- import { useUnsubscribeBlockValidator as at } from "./validators/useUnsubscribeBlockValidator.js";
22
- const Pt = () => {
23
- const n = I(), S = N(), { validateHtml: y } = tt(), { validateLiquidSyntax: b } = rt(), { validateCouponBlockTags: H } = ot(), {
24
- validateUnsubscribeBlockUniqueness: E,
25
- validateUnsubscribeBlockHasTemplate: g,
26
- validateNoInsiderUnsubscribeCode: V
27
- } = at(), { validateSyncModuleBlocks: l } = st(), { validateSingleHtmlDocument: c } = it(), { callbacks: a, isFeatureEnabled: u } = D(), { extractSyncModuleData: x } = G(), { setSyncModuleUnsubscriptionPages: k } = K(), { editorSave: C, getTemplateData: m } = O(), { showToaster: h } = et(), { getBlockedDomains: B, resolveToast: T } = $(), { prepareTemplateDetails: p } = Z(), { collectSaveValidationErrors: L } = j(), { isEnabled: P } = z(), U = Y(), A = X(), w = Q(), { runExclusive: d } = F(), f = async (t, e, i) => {
28
- if (!u("allowlistEnabled"))
1
+ import { useActionsApi as D } from "./useActionsApi.js";
2
+ import { useConfig as F } from "./useConfig.js";
3
+ import { useEditorLock as I } from "./useEditorLock.js";
4
+ import { useSaveStart as N, useSaveComplete as j } from "./useGuidoActions.js";
5
+ import { useSaveValidation as z } from "./useSaveValidation.js";
6
+ import { useSaveValidationRollout as G } from "./useSaveValidationRollout.js";
7
+ import { useSyncModuleExtractor as J } from "./useSyncModuleExtractor.js";
8
+ import { ToasterTypeOptions as K } from "../enums/toaster.js";
9
+ import { useStripoApi as Q } from "../services/stripoApi.js";
10
+ import { useConfigStore as X } from "../stores/config.js";
11
+ import { useDynamicContentStore as Y } from "../stores/dynamic-content.js";
12
+ import { useSaveValidationStore as Z } from "../stores/save-validation.js";
13
+ import { useTemplatePreparation as _, getHtmlReferencedUnsubscribePages as $ } from "../utils/templatePreparation.js";
14
+ import { useAllowlist as ee } from "./useAllowlist.js";
15
+ import { useHtmlValidator as te } from "./useHtmlValidator.js";
16
+ import { useToaster as oe } from "./useToaster.js";
17
+ import { useCouponBlockValidator as ie } from "./validators/useCouponBlockValidator.js";
18
+ import { useHtmlDocumentCountValidator as se } from "./validators/useHtmlDocumentCountValidator.js";
19
+ import { useLiquidValidator as re } from "./validators/useLiquidValidator.js";
20
+ import { useSyncModuleBlockValidator as ae } from "./validators/useSyncModuleBlockValidator.js";
21
+ import { useUnsubscribeBlockValidator as ne } from "./validators/useUnsubscribeBlockValidator.js";
22
+ const Ue = () => {
23
+ const l = N(), S = j(), { validateHtml: b } = te(), { validateLiquidSyntax: H } = re(), { validateCouponBlockTags: E } = ie(), {
24
+ validateUnsubscribeBlockUniqueness: g,
25
+ validateUnsubscribeBlockHasTemplate: V,
26
+ validateNoInsiderUnsubscribeCode: x
27
+ } = ne(), { validateSyncModuleBlocks: c } = ae(), { validateSingleHtmlDocument: u } = se(), { callbacks: a, isFeatureEnabled: n } = F(), { extractSyncModuleData: k } = J(), { setSyncModuleUnsubscriptionPages: C } = Q(), { editorSave: h, getTemplateData: d } = D(), { showToaster: B } = oe(), { getBlockedDomains: P, resolveToast: T } = ee(), { prepareTemplateDetails: w } = _(), { collectSaveValidationErrors: L } = z(), { isEnabled: U } = G(), A = Z(), M = Y(), y = X(), { runExclusive: m } = I(), f = async (e, t, i) => {
28
+ if (!n("allowlistEnabled"))
29
29
  return !1;
30
- const o = await B(t, e);
30
+ const o = await P(e, t);
31
31
  if (!o.length)
32
32
  return !1;
33
33
  if (!i) {
34
- const r = await T(o);
35
- r != null && r.message && h({
36
- type: J.Warning,
37
- message: r.message,
38
- actionButton: r.actionButton
34
+ const s = await T(o);
35
+ s != null && s.message && B({
36
+ type: K.Warning,
37
+ message: s.message,
38
+ actionButton: s.actionButton
39
39
  });
40
40
  }
41
41
  return !0;
42
- }, M = async (t, e) => !H(t.compiledHtml) || u("blockUnsubscribeLinks") && !V(t.rawHtml, e) || !E(t.compiledHtml) || !g(t.compiledHtml) ? !1 : u("liquidSyntax") ? b(t.compiledHtml) : y(t.compiledHtml, t.dynamicContentList, !0), v = async (t, e) => {
43
- if (!await C())
42
+ }, R = async (e, t) => !E(e.compiledHtml) || n("blockUnsubscribeLinks") && !x(e.rawHtml, t) || !g(e.compiledHtml) || !V(e.compiledHtml) ? !1 : n("liquidSyntax") ? H(e.compiledHtml) : b(e.compiledHtml, e.dynamicContentList, !0), v = async (e, t) => {
43
+ if (!await h())
44
44
  return;
45
- const { unsubscribePayload: o, stripoModules: r } = x(t.rawHtml);
46
- if (await k(o), t.modules = r, !e.suppress) {
47
- const s = e.blankCompiled ? { compiledHtml: "", ampHtml: "" } : {};
48
- S({ ...t, ...s, silent: e.silent });
45
+ const { unsubscribePayload: o, stripoModules: s } = k(e.rawHtml);
46
+ if (await C(o), e.modules = s, !t.suppress) {
47
+ const r = t.blankCompiled ? { compiledHtml: "", ampHtml: "" } : {};
48
+ S({ ...e, ...r, silent: t.silent });
49
49
  }
50
- return t;
51
- }, W = async (t, e) => {
52
- var r;
53
- n();
54
- const i = await m();
55
- if (!c(i.html, e))
50
+ return e;
51
+ }, W = async (e, t) => {
52
+ var s;
53
+ l();
54
+ const i = await d();
55
+ if (!u(i.html, t))
56
56
  return;
57
- const o = await p(i);
58
- if (l(o.rawHtml, e)) {
59
- if (P.value && !e) {
60
- const s = await L(
57
+ const o = await w(i);
58
+ if (c(o.rawHtml, t)) {
59
+ if (U.value && !t) {
60
+ const r = await L(
61
61
  o.compiledHtml,
62
62
  o.dynamicContentList,
63
63
  o.rawHtml
64
64
  );
65
- if (!s)
65
+ if (!r)
66
66
  return;
67
- if (s.length) {
68
- U.open(s, "save");
67
+ if (r.length) {
68
+ A.open(r, "save");
69
69
  return;
70
70
  }
71
- } else if (!await M(o, e))
71
+ } else if (!await R(o, t))
72
72
  return;
73
- if (!((r = a.value) != null && r.externalValidation && !await a.value.externalValidation(o)) && !await f(o.compiledHtml, o.css, e))
74
- return v(o, { silent: e, suppress: t });
73
+ if (!((s = a.value) != null && s.externalValidation && !await a.value.externalValidation(o)) && !await f(o.compiledHtml, o.css, t))
74
+ return v(o, { silent: t, suppress: e });
75
75
  }
76
- }, R = async () => {
76
+ }, q = async () => {
77
77
  var i;
78
- if (!w.allowSaveWithErrors)
78
+ if (!y.allowSaveWithErrors)
79
79
  return;
80
- n();
81
- const t = await m();
82
- if (!c(t.html, !1))
80
+ l();
81
+ const e = await d();
82
+ if (!u(e.html, !1))
83
83
  return;
84
- const e = await p(t);
85
- if (l(e.rawHtml, !1) && !((i = a.value) != null && i.externalValidation && !await a.value.externalValidation(e)) && !await f(e.compiledHtml, e.css, !1))
86
- return v(e, { silent: !1, blankCompiled: !0 });
87
- }, q = async () => {
88
- if (!w.allowSaveWithErrors)
84
+ const t = await w(e);
85
+ if (c(t.rawHtml, !1) && !((i = a.value) != null && i.externalValidation && !await a.value.externalValidation(t)) && !await f(t.compiledHtml, t.css, !1))
86
+ return v(t, { silent: !1, blankCompiled: !0 });
87
+ }, O = async () => {
88
+ if (!y.allowSaveWithErrors)
89
89
  return;
90
- n();
91
- const { html: t, css: e } = await m();
92
- if (!c(t, !0) || !l(t, !0) || await f(t, e, !0))
90
+ l();
91
+ const { html: e, css: t } = await d();
92
+ if (!u(e, !0) || !c(e, !0) || await f(e, t, !0))
93
93
  return;
94
- const i = _(t), o = {
95
- dynamicContentList: A.getSelectedDynamicContentList,
94
+ const i = $(e), o = {
95
+ dynamicContentList: M.getSelectedDynamicContentList,
96
96
  compiledHtml: "",
97
- rawHtml: t,
98
- css: e,
97
+ rawHtml: e,
98
+ css: t,
99
99
  ampHtml: "",
100
100
  ampErrors: [],
101
101
  modules: [],
@@ -107,11 +107,9 @@ const Pt = () => {
107
107
  }
108
108
  };
109
109
  return v(o, { silent: !0 });
110
- };
111
- return { save: (t = !1, e = !1) => d(
112
- () => W(t, e)
113
- ), saveWithErrors: () => d(R), saveRawOnly: () => d(q) };
110
+ }, p = () => n("readonly");
111
+ return { save: (e = !1, t = !1) => p() ? Promise.resolve(void 0) : m(() => W(e, t)), saveWithErrors: () => p() ? Promise.resolve(void 0) : m(q), saveRawOnly: () => p() ? Promise.resolve(void 0) : m(O) };
114
112
  };
115
113
  export {
116
- Pt as useSave
114
+ Ue as useSave
117
115
  };
@@ -18,37 +18,37 @@ import { buildMergeTagEntries as oe, flattenDynamicContentList as re } from "../
18
18
  import { getStripoRuntimeBaseUrl as ie } from "../utils/stripoRuntime.js";
19
19
  let d = null, F = !1;
20
20
  const ve = (t) => {
21
- const { features: u, template: m, isFeatureEnabled: p } = G(), { handleError: f, showToaster: A } = W(), { getToken: P, getCustomFonts: R, getSyncModulesStatus: D } = ee(), { handleEvent: U } = K(), { handleModuleAdd: V } = J(), { restorePending: I } = z(), { getStripoBlocksConfig: L } = $(), { getStripoNotifications: q } = Q(), g = () => d || (d = new Promise((n, s) => {
21
+ const { features: m, template: p, isFeatureEnabled: c } = G(), { handleError: f, showToaster: A } = W(), { getToken: P, getCustomFonts: R, getSyncModulesStatus: D } = ee(), { handleEvent: U } = K(), { handleModuleAdd: V } = J(), { restorePending: I } = z(), { getStripoBlocksConfig: L } = $(), { getStripoNotifications: q } = Q(), g = () => d || (d = new Promise((n, a) => {
22
22
  if (document.getElementById("UiEditorScript")) {
23
23
  n();
24
24
  return;
25
25
  }
26
26
  const i = ie();
27
27
  if (!i) {
28
- s(
28
+ a(
29
29
  new Error("guido.stripo.version is not set in package.json. Please configure the Stripo version.")
30
30
  );
31
31
  return;
32
32
  }
33
- const a = `${i}UIEditor.js`, e = document.createElement("script");
34
- e.id = "UiEditorScript", e.type = "module", e.src = a, e.onload = () => {
33
+ const s = `${i}UIEditor.js`, e = document.createElement("script");
34
+ e.id = "UiEditorScript", e.type = "module", e.src = s, e.onload = () => {
35
35
  F = !0, n();
36
36
  }, e.onerror = () => {
37
- e.remove(), s(new Error(`Failed to load Stripo UIEditor script from S3: ${a}`));
37
+ e.remove(), a(new Error(`Failed to load Stripo UIEditor script from S3: ${s}`));
38
38
  }, document.body.appendChild(e);
39
39
  }), d.catch(() => {
40
40
  d = null;
41
- }), d), x = async (n, s, i, a = [], e = !1, c = !1) => {
41
+ }), d), x = async (n, a, i, s = [], e = !1, u = !1) => {
42
42
  var w, k, b, _;
43
- const o = T(), { html: S, css: y } = n, { baseBlocks: E, extensions: O } = await L();
43
+ const o = T(), { html: y, css: S } = n, { baseBlocks: E, extensions: O } = await L();
44
44
  t.mark("blocks_config_ready");
45
- const h = ((w = u.value) == null ? void 0 : w.displayConditions) ?? !0, H = ((k = u.value) == null ? void 0 : k.modulesDisabled) ?? !1, C = c || (((b = m.value) == null ? void 0 : b.forceRecreate) ?? !1), M = "https://email-static.useinsider.com https://edge.fullstory.com https://rs.fullstory.com";
46
- t.setTemplate({ html: S, css: y, forceRecreate: C }), v().importCss(), t.mark("init_editor"), await window.UIEditor.initEditor(
45
+ const h = ((w = m.value) == null ? void 0 : w.displayConditions) ?? !0, H = ((k = m.value) == null ? void 0 : k.modulesDisabled) ?? !1, C = u || (((b = p.value) == null ? void 0 : b.forceRecreate) ?? !1), M = "https://email-static.useinsider.com https://edge.fullstory.com https://rs.fullstory.com";
46
+ t.setTemplate({ html: y, css: S, forceRecreate: C }), v().importCss(), t.mark("init_editor"), await window.UIEditor.initEditor(
47
47
  document.querySelector("#guido-editor"),
48
48
  {
49
- metadata: s,
50
- html: S,
51
- css: y,
49
+ metadata: a,
50
+ html: y,
51
+ css: S,
52
52
  forceRecreate: C,
53
53
  locale: "en",
54
54
  undoButtonSelector: "#guido__undo-button",
@@ -56,7 +56,7 @@ const ve = (t) => {
56
56
  mobileViewButtonSelector: ".guido__view-option-selection-mobile",
57
57
  desktopViewButtonSelector: ".guido__view-option-selection-desktop",
58
58
  codeEditorButtonSelector: "#guido__code-button",
59
- customAppearanceMergetags: !p("liquidSyntax"),
59
+ customAppearanceMergetags: !c("liquidSyntax"),
60
60
  customAppearanceMergetagsBorderColor: "#f1f3fe",
61
61
  customAppearanceMergetagsBackgroundColor: "#f1f3fe",
62
62
  customViewStyles: te,
@@ -79,14 +79,14 @@ const ve = (t) => {
79
79
  editorFonts: {
80
80
  showDefaultStandardFonts: !0,
81
81
  showDefaultNotStandardFonts: !0,
82
- customFonts: a
82
+ customFonts: s
83
83
  },
84
84
  mergeTags: [
85
85
  {
86
86
  entries: oe(
87
87
  i.preselectedDynamicContentList,
88
- re((_ = m.value) == null ? void 0 : _.dynamicContentList),
89
- p("liquidSyntax")
88
+ re((_ = p.value) == null ? void 0 : _.dynamicContentList),
89
+ c("liquidSyntax")
90
90
  )
91
91
  }
92
92
  ],
@@ -119,7 +119,7 @@ const ve = (t) => {
119
119
  o.isVersionHistoryOpen = r;
120
120
  },
121
121
  onDataChanged() {
122
- o.hasChanges = !0, o.changeSeq += 1;
122
+ c("readonly") || (o.hasChanges = !0), o.changeSeq += 1;
123
123
  },
124
124
  onEvent: U,
125
125
  onModuleAdd: V,
@@ -138,15 +138,15 @@ const ve = (t) => {
138
138
  }
139
139
  );
140
140
  };
141
- return { initPlugin: async (n, s, i, a = !1) => {
141
+ return { initPlugin: async (n, a, i, s = !1) => {
142
142
  const e = T();
143
143
  try {
144
144
  t.mark("plugin_start"), t.setScriptPreloaded(F), await g(), t.mark("script_ready");
145
- const [c, o] = await Promise.all([
145
+ const [u, o] = await Promise.all([
146
146
  R(),
147
147
  D()
148
148
  ]);
149
- t.mark("fonts_sync_ready"), e.syncModulesEnabled = o, await x(n, s, i, c, o, a);
149
+ t.mark("fonts_sync_ready"), e.syncModulesEnabled = o, await x(n, a, i, u, o, s);
150
150
  } catch {
151
151
  e.loadingStatus = !1, A({
152
152
  type: Z.Error,
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-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-0c5f11a1]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-0c5f11a1]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-0c5f11a1]{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-fcba7e99] .vueperslides__bullets{pointer-events:none!important}[data-v-fcba7e99] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-1a34025a] .vueperslides__bullets{pointer-events:none!important}[data-v-1a34025a] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-8fc96a58] .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 .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-display-condition-create__separator[data-v-929822bc]{height:1px;margin:0 0 24px;background-image:linear-gradient(to right,currentColor 1px,transparent 1px);background-size:5px 1px}.guido-display-condition-create__methods[data-v-929822bc]{gap:16px}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__footer{justify-content:flex-start}.guido-display-condition-select__delete-modal[data-v-0d740001]{position:relative;z-index:145}.guido-display-condition-select__delete-modal[data-v-0d740001] .in-modal-v2-wrapper__header-title{margin-bottom:0}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__content>div{display:flex;flex-direction:column;min-height:100%}.guido-display-condition-select__list[data-v-0d740001]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none}.guido-display-condition-card__header[data-v-0d740001]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px}.guido-display-condition-card__text[data-v-0d740001]{min-width:0}.guido-display-condition-card__name[data-v-0d740001],.guido-display-condition-card__description[data-v-0d740001]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__actions[data-v-0d740001]{display:flex;flex-shrink:0;align-items:center;gap:16px}.guido-display-condition-card__split[data-v-0d740001]{position:relative;display:flex;gap:1px}.guido-display-condition-card__menu[data-v-0d740001]{z-index:2;min-width:115px}.guido-display-condition-card__divider[data-v-0d740001]{width:1px;height:24px}.guido-display-condition-card__code[data-v-0d740001]{margin:1px 15px 15px;padding:8px;font-family:inherit;white-space:pre-wrap;word-break:break-word}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}.ambiguous-dynamic-content-modal__content[data-v-2643213c]{padding-bottom:150px}
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-b3603ae4]{gap:16px}.editor-actions__divider[data-v-b3603ae4]{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-0c5f11a1]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-0c5f11a1]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-0c5f11a1]{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-fcba7e99] .vueperslides__bullets{pointer-events:none!important}[data-v-fcba7e99] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-1a34025a] .vueperslides__bullets{pointer-events:none!important}[data-v-1a34025a] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-8fc96a58] .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 .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-display-condition-create__separator[data-v-929822bc]{height:1px;margin:0 0 24px;background-image:linear-gradient(to right,currentColor 1px,transparent 1px);background-size:5px 1px}.guido-display-condition-create__methods[data-v-929822bc]{gap:16px}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__footer{justify-content:flex-start}.guido-display-condition-select__delete-modal[data-v-0d740001]{position:relative;z-index:145}.guido-display-condition-select__delete-modal[data-v-0d740001] .in-modal-v2-wrapper__header-title{margin-bottom:0}.guido-display-condition-select-root[data-v-0d740001] .in-drawer__content>div{display:flex;flex-direction:column;min-height:100%}.guido-display-condition-select__list[data-v-0d740001]{display:flex;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none}.guido-display-condition-card__header[data-v-0d740001]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px}.guido-display-condition-card__text[data-v-0d740001]{min-width:0}.guido-display-condition-card__name[data-v-0d740001],.guido-display-condition-card__description[data-v-0d740001]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guido-display-condition-card__actions[data-v-0d740001]{display:flex;flex-shrink:0;align-items:center;gap:16px}.guido-display-condition-card__split[data-v-0d740001]{position:relative;display:flex;gap:1px}.guido-display-condition-card__menu[data-v-0d740001]{z-index:2;min-width:115px}.guido-display-condition-card__divider[data-v-0d740001]{width:1px;height:24px}.guido-display-condition-card__code[data-v-0d740001]{margin:1px 15px 15px;padding:8px;font-family:inherit;white-space:pre-wrap;word-break:break-word}.legacy-strategy-updated-modal[data-v-da2225a1]{position:relative;z-index:145}.ambiguous-dynamic-content-modal__content[data-v-2643213c]{padding-bottom:150px}
@@ -1,4 +1,4 @@
1
- const o = "3.30.0-beta.8b760fc", s = { stripo: { version: "2.87.0" } }, t = {
1
+ const o = "3.30.0-beta.a1f329f", s = { stripo: { version: "2.87.0" } }, t = {
2
2
  version: o,
3
3
  guido: s
4
4
  };
@@ -419,6 +419,8 @@ export declare const FeaturesSchema: v.ObjectSchema<{
419
419
  readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
420
420
  /** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
421
421
  readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
422
+ /** Disable every save path and the unsaved-changes signal; read at mount only. */
423
+ readonly readonly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
422
424
  /** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
423
425
  readonly itemsPriceFormatting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
424
426
  /** Warn on save when the design carries an Insider unsubscribe link or code (host sets true for SFMC accounts) */
@@ -846,6 +848,8 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
846
848
  readonly reusableRecommendationStrategy: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
847
849
  /** Convert linkless legacy unsubscribe blocks into text blocks and warn with a modal (opt-in) */
848
850
  readonly legacyUnsubscribeConversion: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
851
+ /** Disable every save path and the unsaved-changes signal; read at mount only. */
852
+ readonly readonly: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
849
853
  /** Items block: Recommendation-style price formatting (root currency-* attrs, raw price tags). Released dark. */
850
854
  readonly itemsPriceFormatting: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
851
855
  /** Warn on save when the design carries an Insider unsubscribe link or code (host sets true for SFMC accounts) */
@@ -107,6 +107,7 @@ export declare const useConfig: () => {
107
107
  allowSaveWithErrors: boolean;
108
108
  reusableRecommendationStrategy: boolean;
109
109
  legacyUnsubscribeConversion: boolean;
110
+ readonly: boolean;
110
111
  itemsPriceFormatting: boolean;
111
112
  blockUnsubscribeLinks: boolean;
112
113
  };
@@ -251,6 +252,7 @@ export declare const useConfig: () => {
251
252
  allowSaveWithErrors: boolean;
252
253
  reusableRecommendationStrategy: boolean;
253
254
  legacyUnsubscribeConversion: boolean;
255
+ readonly: boolean;
254
256
  itemsPriceFormatting: boolean;
255
257
  blockUnsubscribeLinks: boolean;
256
258
  } | null>;
@@ -112,6 +112,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
112
112
  allowSaveWithErrors: boolean;
113
113
  reusableRecommendationStrategy: boolean;
114
114
  legacyUnsubscribeConversion: boolean;
115
+ readonly: boolean;
115
116
  itemsPriceFormatting: boolean;
116
117
  blockUnsubscribeLinks: boolean;
117
118
  };
@@ -262,6 +263,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
262
263
  allowSaveWithErrors: boolean;
263
264
  reusableRecommendationStrategy: boolean;
264
265
  legacyUnsubscribeConversion: boolean;
266
+ readonly: boolean;
265
267
  itemsPriceFormatting: boolean;
266
268
  blockUnsubscribeLinks: boolean;
267
269
  };
@@ -412,6 +414,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
412
414
  allowSaveWithErrors: boolean;
413
415
  reusableRecommendationStrategy: boolean;
414
416
  legacyUnsubscribeConversion: boolean;
417
+ readonly: boolean;
415
418
  itemsPriceFormatting: boolean;
416
419
  blockUnsubscribeLinks: boolean;
417
420
  };
@@ -562,6 +565,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
562
565
  allowSaveWithErrors: boolean;
563
566
  reusableRecommendationStrategy: boolean;
564
567
  legacyUnsubscribeConversion: boolean;
568
+ readonly: boolean;
565
569
  itemsPriceFormatting: boolean;
566
570
  blockUnsubscribeLinks: boolean;
567
571
  };
@@ -712,6 +716,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
712
716
  allowSaveWithErrors: boolean;
713
717
  reusableRecommendationStrategy: boolean;
714
718
  legacyUnsubscribeConversion: boolean;
719
+ readonly: boolean;
715
720
  itemsPriceFormatting: boolean;
716
721
  blockUnsubscribeLinks: boolean;
717
722
  };
@@ -862,6 +867,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
862
867
  allowSaveWithErrors: boolean;
863
868
  reusableRecommendationStrategy: boolean;
864
869
  legacyUnsubscribeConversion: boolean;
870
+ readonly: boolean;
865
871
  itemsPriceFormatting: boolean;
866
872
  blockUnsubscribeLinks: boolean;
867
873
  };
@@ -1012,6 +1018,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1012
1018
  allowSaveWithErrors: boolean;
1013
1019
  reusableRecommendationStrategy: boolean;
1014
1020
  legacyUnsubscribeConversion: boolean;
1021
+ readonly: boolean;
1015
1022
  itemsPriceFormatting: boolean;
1016
1023
  blockUnsubscribeLinks: boolean;
1017
1024
  };
@@ -1162,6 +1169,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1162
1169
  allowSaveWithErrors: boolean;
1163
1170
  reusableRecommendationStrategy: boolean;
1164
1171
  legacyUnsubscribeConversion: boolean;
1172
+ readonly: boolean;
1165
1173
  itemsPriceFormatting: boolean;
1166
1174
  blockUnsubscribeLinks: boolean;
1167
1175
  };
@@ -1312,6 +1320,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1312
1320
  allowSaveWithErrors: boolean;
1313
1321
  reusableRecommendationStrategy: boolean;
1314
1322
  legacyUnsubscribeConversion: boolean;
1323
+ readonly: boolean;
1315
1324
  itemsPriceFormatting: boolean;
1316
1325
  blockUnsubscribeLinks: boolean;
1317
1326
  };
@@ -1462,6 +1471,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1462
1471
  allowSaveWithErrors: boolean;
1463
1472
  reusableRecommendationStrategy: boolean;
1464
1473
  legacyUnsubscribeConversion: boolean;
1474
+ readonly: boolean;
1465
1475
  itemsPriceFormatting: boolean;
1466
1476
  blockUnsubscribeLinks: boolean;
1467
1477
  };
@@ -1612,6 +1622,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1612
1622
  allowSaveWithErrors: boolean;
1613
1623
  reusableRecommendationStrategy: boolean;
1614
1624
  legacyUnsubscribeConversion: boolean;
1625
+ readonly: boolean;
1615
1626
  itemsPriceFormatting: boolean;
1616
1627
  blockUnsubscribeLinks: boolean;
1617
1628
  };
@@ -1762,6 +1773,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1762
1773
  allowSaveWithErrors: boolean;
1763
1774
  reusableRecommendationStrategy: boolean;
1764
1775
  legacyUnsubscribeConversion: boolean;
1776
+ readonly: boolean;
1765
1777
  itemsPriceFormatting: boolean;
1766
1778
  blockUnsubscribeLinks: boolean;
1767
1779
  };
@@ -1912,6 +1924,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
1912
1924
  allowSaveWithErrors: boolean;
1913
1925
  reusableRecommendationStrategy: boolean;
1914
1926
  legacyUnsubscribeConversion: boolean;
1927
+ readonly: boolean;
1915
1928
  itemsPriceFormatting: boolean;
1916
1929
  blockUnsubscribeLinks: boolean;
1917
1930
  };
@@ -2062,6 +2075,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2062
2075
  allowSaveWithErrors: boolean;
2063
2076
  reusableRecommendationStrategy: boolean;
2064
2077
  legacyUnsubscribeConversion: boolean;
2078
+ readonly: boolean;
2065
2079
  itemsPriceFormatting: boolean;
2066
2080
  blockUnsubscribeLinks: boolean;
2067
2081
  };
@@ -2212,6 +2226,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2212
2226
  allowSaveWithErrors: boolean;
2213
2227
  reusableRecommendationStrategy: boolean;
2214
2228
  legacyUnsubscribeConversion: boolean;
2229
+ readonly: boolean;
2215
2230
  itemsPriceFormatting: boolean;
2216
2231
  blockUnsubscribeLinks: boolean;
2217
2232
  };
@@ -2362,6 +2377,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2362
2377
  allowSaveWithErrors: boolean;
2363
2378
  reusableRecommendationStrategy: boolean;
2364
2379
  legacyUnsubscribeConversion: boolean;
2380
+ readonly: boolean;
2365
2381
  itemsPriceFormatting: boolean;
2366
2382
  blockUnsubscribeLinks: boolean;
2367
2383
  };
@@ -2512,6 +2528,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2512
2528
  allowSaveWithErrors: boolean;
2513
2529
  reusableRecommendationStrategy: boolean;
2514
2530
  legacyUnsubscribeConversion: boolean;
2531
+ readonly: boolean;
2515
2532
  itemsPriceFormatting: boolean;
2516
2533
  blockUnsubscribeLinks: boolean;
2517
2534
  };
@@ -2674,6 +2691,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2674
2691
  allowSaveWithErrors: boolean;
2675
2692
  reusableRecommendationStrategy: boolean;
2676
2693
  legacyUnsubscribeConversion: boolean;
2694
+ readonly: boolean;
2677
2695
  itemsPriceFormatting: boolean;
2678
2696
  blockUnsubscribeLinks: boolean;
2679
2697
  };
@@ -2824,6 +2842,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2824
2842
  allowSaveWithErrors: boolean;
2825
2843
  reusableRecommendationStrategy: boolean;
2826
2844
  legacyUnsubscribeConversion: boolean;
2845
+ readonly: boolean;
2827
2846
  itemsPriceFormatting: boolean;
2828
2847
  blockUnsubscribeLinks: boolean;
2829
2848
  };
@@ -2974,6 +2993,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
2974
2993
  allowSaveWithErrors: boolean;
2975
2994
  reusableRecommendationStrategy: boolean;
2976
2995
  legacyUnsubscribeConversion: boolean;
2996
+ readonly: boolean;
2977
2997
  itemsPriceFormatting: boolean;
2978
2998
  blockUnsubscribeLinks: boolean;
2979
2999
  };
@@ -3126,6 +3146,7 @@ export declare const useConfigStore: import("pinia").StoreDefinition<"guido-conf
3126
3146
  allowSaveWithErrors: boolean;
3127
3147
  reusableRecommendationStrategy: boolean;
3128
3148
  legacyUnsubscribeConversion: boolean;
3149
+ readonly: boolean;
3129
3150
  itemsPriceFormatting: boolean;
3130
3151
  blockUnsubscribeLinks: boolean;
3131
3152
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "3.30.0-beta.8b760fc",
3
+ "version": "3.30.0-beta.a1f329f",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",