@useinsider/guido 1.0.3-beta.185718d → 1.0.3-beta.193d365

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.
@@ -10,7 +10,7 @@ var n = function() {
10
10
  a,
11
11
  !1,
12
12
  null,
13
- "244e7935"
13
+ "58044839"
14
14
  );
15
15
  const p = i.exports;
16
16
  export {
@@ -10,8 +10,8 @@ import b from "./version-history/RestoreButton.vue.js";
10
10
  const h = /* @__PURE__ */ c({
11
11
  __name: "LeftSlot",
12
12
  setup(_) {
13
- const e = l(), r = m(), { closeVersionHistory: t } = d(), { closePreviewMode: i } = p(), { isUnsubscribePages: s } = u(), o = f(), n = a(() => e.isVersionHistoryOpen || e.isPreviewModeOpen ? o("email-editor.back-to-editor") : s() ? o("email-editor.back-to-unsubscribe-pages") : o("email-editor.back-to-design"));
14
- return { __sfc: !0, editorStore: e, handleBack: r, closeVersionHistory: t, closePreviewMode: i, isUnsubscribePages: s, trans: o, backButtonLabel: n, handleBackClick: () => {
13
+ const e = l(), r = m(), { closeVersionHistory: t } = d(), { closePreviewMode: i } = p(), { isUnsubscribePage: s } = u(), o = f(), n = a(() => e.isVersionHistoryOpen || e.isPreviewModeOpen ? o("email-editor.back-to-editor") : s() ? o("email-editor.back-to-unsubscribe-pages") : o("email-editor.back-to-design"));
14
+ return { __sfc: !0, editorStore: e, handleBack: r, closeVersionHistory: t, closePreviewMode: i, isUnsubscribePage: s, trans: o, backButtonLabel: n, handleBackClick: () => {
15
15
  if (e.isVersionHistoryOpen) {
16
16
  t();
17
17
  return;
@@ -3,7 +3,7 @@ import a from "../../../_virtual/_plugin-vue2_normalizer.js";
3
3
  var l = function() {
4
4
  var o, i;
5
5
  var s = this, e = s._self._c, t = s._self._setupProxy;
6
- return e("div", { staticClass: "d-f" }, [(o = t.config.features) != null && o.versionHistory ? e(t.InButtonV2, { attrs: { id: "guido__history-button", "left-icon": "line-architect-version-history", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isVersionHistoryButtonDisabled, "label-text-status": !1, "selected-status": t.editorStore.isVersionHistoryOpen, "tooltip-options": t.getTooltipOptions("guido__history-button"), "tooltip-text": t.versionHistoryTooltipText }, on: { click: t.handleVersionHistory } }) : s._e(), e(t.InButtonV2, { attrs: { id: "guido__export-button", "left-icon": "line-export", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isExportButtonDisabled, "label-text-status": !1, "loading-status": t.isExporting, "tooltip-options": t.getTooltipOptions("guido__export-button"), "tooltip-text": t.trans("newsletter.export") }, on: { click: t.handleExport } }), (i = t.config.features) != null && i.saveAsTemplate ? e(t.InButtonV2, { attrs: { id: "guido__save-as-button", "left-icon": "line-newsletter-save-as-template", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isSaveAsButtonDisabled, "label-text-status": !1, "tooltip-options": t.getTooltipOptions("guido__save-as-button"), "tooltip-text": t.trans("newsletter.save-templates") }, on: { click: t.handleSaveAs } }) : s._e(), t.isUnsubscribePages() ? s._e() : 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"), "tooltip-text": t.trans("newsletter.test-email") } }), e(t.InButtonV2, { staticClass: "ml-3", attrs: { id: "guido__save-button", "label-text": "Save", "disabled-status": !t.isSaving && t.editorStore.isSaveButtonDisabled, "loading-status": t.isSaving }, on: { click: function(p) {
6
+ return e("div", { staticClass: "d-f" }, [(o = t.config.features) != null && o.versionHistory ? e(t.InButtonV2, { attrs: { id: "guido__history-button", "left-icon": "line-architect-version-history", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isVersionHistoryButtonDisabled, "label-text-status": !1, "selected-status": t.editorStore.isVersionHistoryOpen, "tooltip-options": t.getTooltipOptions("guido__history-button"), "tooltip-text": t.versionHistoryTooltipText }, on: { click: t.handleVersionHistory } }) : s._e(), e(t.InButtonV2, { attrs: { id: "guido__export-button", "left-icon": "line-export", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isExportButtonDisabled, "label-text-status": !1, "loading-status": t.isExporting, "tooltip-options": t.getTooltipOptions("guido__export-button"), "tooltip-text": t.trans("newsletter.export") }, on: { click: t.handleExport } }), (i = t.config.features) != null && i.saveAsTemplate ? e(t.InButtonV2, { attrs: { id: "guido__save-as-button", "left-icon": "line-newsletter-save-as-template", styling: "ghost", type: "secondary", "disabled-status": t.editorStore.isSaveAsButtonDisabled, "label-text-status": !1, "tooltip-options": t.getTooltipOptions("guido__save-as-button"), "tooltip-text": t.trans("newsletter.save-templates") }, on: { click: t.handleSaveAs } }) : s._e(), t.isUnsubscribePage() ? s._e() : 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"), "tooltip-text": t.trans("newsletter.test-email") } }), e(t.InButtonV2, { staticClass: "ml-3", attrs: { id: "guido__save-button", "label-text": "Save", "disabled-status": !t.isSaving && t.editorStore.isSaveButtonDisabled, "loading-status": t.isSaving }, on: { click: function(p) {
7
7
  return t.handleSave(!1);
8
8
  } } })], 1);
9
9
  }, r = [], u = /* @__PURE__ */ a(
@@ -11,7 +11,7 @@ import { InButtonV2 as b } from "@useinsider/design-system-vue";
11
11
  const F = /* @__PURE__ */ H({
12
12
  __name: "RightSlot",
13
13
  setup(C, { expose: m }) {
14
- const { config: u } = h(), { exportHtml: r } = V(), { save: n } = w(), { openVersionHistory: i, closeVersionHistory: a } = E(), { isUnsubscribePages: c } = x(), o = O(), t = T(), e = l(!1), s = l(!1), f = () => {
14
+ const { config: u } = h(), { exportHtml: r } = V(), { save: n } = w(), { openVersionHistory: i, closeVersionHistory: a } = E(), { isUnsubscribePage: c } = x(), o = O(), t = T(), e = l(!1), s = l(!1), f = () => {
15
15
  if (o.isVersionHistoryOpen) {
16
16
  a();
17
17
  return;
@@ -28,7 +28,7 @@ const F = /* @__PURE__ */ H({
28
28
  };
29
29
  return m({
30
30
  handleSave: p
31
- }), { __sfc: !0, config: u, exportHtml: r, save: n, openVersionHistory: i, closeVersionHistory: a, isUnsubscribePages: c, editorStore: o, trans: t, isExporting: e, isSaving: s, handleVersionHistory: f, handleExport: v, handleSaveAs: d, versionHistoryTooltipText: y, handleSave: p, getTooltipOptions: A, InButtonV2: b };
31
+ }), { __sfc: !0, config: u, exportHtml: r, save: n, openVersionHistory: i, closeVersionHistory: a, isUnsubscribePage: c, editorStore: o, trans: t, isExporting: e, isSaving: s, handleVersionHistory: f, handleExport: v, handleSaveAs: d, versionHistoryTooltipText: y, handleSave: p, getTooltipOptions: A, InButtonV2: b };
32
32
  }
33
33
  });
34
34
  export {
@@ -1,10 +1,4 @@
1
- import c from "../extensions/Blocks/Checkbox/extension.js";
2
- import r from "../extensions/Blocks/CouponBlock/extension.js";
3
- import i from "../extensions/Blocks/RadioButton/extension.js";
4
- import l from "../extensions/Blocks/Recommendation/extension.js";
5
- import s from "../extensions/Blocks/Unsubscribe/extension.js";
6
- import b from "../extensions/DynamicContent/extension.js";
7
- const a = {
1
+ const l = {
8
2
  "amp-accordion": "ampAccordionEnabled",
9
3
  "amp-carousel": "ampCarouselEnabled",
10
4
  "amp-form-controls": "ampFormControlsEnabled",
@@ -18,41 +12,38 @@ const a = {
18
12
  "text-block": "textEnabled",
19
13
  "timer-block": "timerEnabled",
20
14
  "video-block": "videoEnabled"
21
- }, m = {
22
- "dynamic-content": b,
23
- "checkbox-block": c,
24
- "radio-button-block": i,
25
- "recommendation-block": l,
26
- "unsubscribe-block": s,
27
- "coupon-block": r,
15
+ }, c = {
16
+ "dynamic-content": () => import("../extensions/DynamicContent/extension.js"),
17
+ "checkbox-block": () => import("../extensions/Blocks/Checkbox/extension.js"),
18
+ "radio-button-block": () => import("../extensions/Blocks/RadioButton/extension.js"),
19
+ "recommendation-block": () => import("../extensions/Blocks/Recommendation/extension.js"),
20
+ "unsubscribe-block": () => import("../extensions/Blocks/Unsubscribe/extension.js"),
21
+ "coupon-block": () => import("../extensions/Blocks/CouponBlock/extension.js"),
28
22
  "items-block": null
29
23
  // TODO: Add ItemsBlock extension when available
30
- }, E = (n) => {
24
+ }, a = (n) => {
31
25
  if (!n || !n.length)
32
26
  return {};
33
27
  const o = {};
34
28
  return n.forEach((e) => {
35
- const t = a[e];
29
+ const t = l[e];
36
30
  t && (o[t] = !1);
37
31
  }), o;
38
- }, d = (n) => {
39
- if (!n || !n.length)
40
- return [];
41
- const o = [];
42
- return n.forEach((e) => {
43
- const t = m[e];
44
- t && o.push(t);
45
- }), o;
46
- }, C = () => ({
47
- getStripoBlocksConfig: () => {
32
+ }, r = async (n) => !n || !n.length ? [] : (await Promise.all(
33
+ n.map(async (e) => {
34
+ const t = c[e];
35
+ return t ? (await t()).default : null;
36
+ })
37
+ )).filter((e) => e !== null), s = () => ({
38
+ getStripoBlocksConfig: async () => {
48
39
  var e;
49
40
  const o = (e = window.GuidoConfig) == null ? void 0 : e.blocks;
50
41
  return {
51
- baseBlocks: E(o == null ? void 0 : o.excludeDefaults),
52
- extensions: d(o == null ? void 0 : o.includeCustoms)
42
+ baseBlocks: a(o == null ? void 0 : o.excludeDefaults),
43
+ extensions: await r(o == null ? void 0 : o.includeCustoms)
53
44
  };
54
45
  }
55
46
  });
56
47
  export {
57
- C as useBlocksConfig
48
+ s as useBlocksConfig
58
49
  };
@@ -1,19 +1,22 @@
1
- import { ProductIds as r, TEST_PARTNER_LIST as n, DefaultProductType as o } from "../enums/defaults.js";
2
- const u = () => {
3
- const e = () => window.location.hostname.split(".")[0] || "", s = () => {
4
- const t = window.location.pathname.split("/").filter(Boolean)[0] || o;
5
- return r[t] || 0;
6
- };
1
+ import { ProductIds as n, TEST_PARTNER_LIST as o, DefaultProductType as s } from "../enums/defaults.js";
2
+ const p = () => {
3
+ const e = () => window.location.hostname.split(".")[0] || "";
7
4
  return {
8
5
  getPartnerName: e,
9
- getProductType: s,
6
+ getProductType: () => {
7
+ const t = window.location.pathname.split("/").filter(Boolean)[0] || s;
8
+ return n[t] || 0;
9
+ },
10
10
  isTestPartner: () => {
11
11
  const t = e();
12
- return n.includes(t);
12
+ return o.includes(t);
13
13
  },
14
- isUnsubscribePages: () => s() === r.unsubscribePages
14
+ isUnsubscribePage: () => {
15
+ var t, r;
16
+ return ((r = (t = window.GuidoConfig) == null ? void 0 : t.partner) == null ? void 0 : r.productType) === n.unsubscribePages;
17
+ }
15
18
  };
16
19
  };
17
20
  export {
18
- u as usePartner
21
+ p as usePartner
19
22
  };
@@ -1,7 +1,7 @@
1
- import { useActionsApi as E } from "./useActionsApi.js";
2
- import { useBlocksConfig as y } from "./useBlocksConfig.js";
3
- import { useCustomInterfaceAppearance as h } from "./useCustomInterfaceAppearance.js";
4
- import { useStripoEventHandler as w } from "./useStripoEventHandler.js";
1
+ import { useActionsApi as y } from "./useActionsApi.js";
2
+ import { useBlocksConfig as E } from "./useBlocksConfig.js";
3
+ import { useCustomInterfaceAppearance as w } from "./useCustomInterfaceAppearance.js";
4
+ import { useStripoEventHandler as h } from "./useStripoEventHandler.js";
5
5
  import { useToaster as b } from "./useToaster.js";
6
6
  import { displayConditions as k } from "../enums/displayConditions.js";
7
7
  import { useStripoApi as B } from "../services/stripoApi.js";
@@ -10,8 +10,8 @@ import { useEditorStore as _ } from "../stores/editor.js";
10
10
  import { dynamicContentToMergeTags as F } from "../utils/genericUtil.js";
11
11
  import A from "../package.json.js";
12
12
  const L = (d) => {
13
- const { handleError: u } = b(), { getToken: p, getCustomFonts: m } = B(), { handleEvent: g } = w(), { getStripoBlocksConfig: f } = y(), S = (r, i = []) => {
14
- const t = _(), { html: n, css: l, forceRecreate: a } = r, { baseBlocks: e, extensions: c } = f();
13
+ const { handleError: u } = b(), { getToken: p, getCustomFonts: m } = B(), { handleEvent: g } = h(), { getStripoBlocksConfig: f } = E(), S = async (r, i = []) => {
14
+ const t = _(), { html: n, css: l, forceRecreate: a } = r, { baseBlocks: e, extensions: c } = await f();
15
15
  window.UIEditor.initEditor(
16
16
  document.querySelector("#guido-editor"),
17
17
  {
@@ -56,7 +56,7 @@ const L = (d) => {
56
56
  },
57
57
  onTemplateLoaded() {
58
58
  try {
59
- const { importCss: o } = h(), { activateCustomViewStyles: s } = E();
59
+ const { importCss: o } = w(), { activateCustomViewStyles: s } = y();
60
60
  o(), s(), d.onReady(), t.isStripoInitialized = !0, t.loadingStatus = !1, setTimeout(() => {
61
61
  t.hasChanges = !1;
62
62
  }, 1e3);
@@ -101,7 +101,7 @@ const L = (d) => {
101
101
  return { initPlugin: async (r) => {
102
102
  await C(async () => {
103
103
  const i = await m();
104
- S(r, i);
104
+ await S(r, i);
105
105
  });
106
106
  } };
107
107
  };
@@ -3,7 +3,7 @@ import { CheckboxBlock as t } from "./block.js";
3
3
  import { CheckboxControl as e } from "./control.js";
4
4
  import { CheckboxIconsRegistry as r } from "./iconsRegistry.js";
5
5
  import { CheckboxBlockSettings as i } from "./settingsPanel.js";
6
- const k = new o().addBlock(t).withSettingsPanelRegistry(i).addControl(e).withIconsRegistry(r).build();
6
+ const d = new o().addBlock(t).withSettingsPanelRegistry(i).addControl(e).withIconsRegistry(r).build();
7
7
  export {
8
- k as default
8
+ d as default
9
9
  };
@@ -2,7 +2,7 @@ import { ExtensionBuilder as o } from "../../../node_modules/@stripoinc/ui-edito
2
2
  import { CouponBlock as t } from "./block.js";
3
3
  import { CouponIconsRegistry as i } from "./iconsRegistry.js";
4
4
  import { CouponBlockSettings as n } from "./settingsPanel.js";
5
- const m = new o().addBlock(t).withSettingsPanelRegistry(n).withIconsRegistry(i).build();
5
+ const p = new o().addBlock(t).withSettingsPanelRegistry(n).withIconsRegistry(i).build();
6
6
  export {
7
- m as default
7
+ p as default
8
8
  };
@@ -1,10 +1,10 @@
1
1
  import { ExtensionBuilder as o } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
2
  import { RecommendationBlock as t } from "./block.js";
3
3
  import { RecommendationBlockControl as e } from "./control.js";
4
- import { RecommendationIconsRegistry as n } from "./iconsRegistry.js";
5
- import i from "./recommendation.css.js";
6
- import { SettingsPanel as m } from "./settingsPanel.js";
7
- const f = new o().addBlock(t).withSettingsPanelRegistry(m).addControl(e).addStyles(i).withIconsRegistry(n).build();
4
+ import { RecommendationIconsRegistry as i } from "./iconsRegistry.js";
5
+ import n from "./recommendation.css.js";
6
+ import { SettingsPanel as r } from "./settingsPanel.js";
7
+ const f = new o().addBlock(t).withSettingsPanelRegistry(r).addControl(e).addStyles(n).withIconsRegistry(i).build();
8
8
  export {
9
9
  f as default
10
10
  };
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- .gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-244e7935] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.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}.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}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-e8d51dec],.guido-editor__container[data-v-e8d51dec]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-e8d51dec]{height:calc(100vh - 75px)}[data-v-70835920] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-dd57102d] .guido__verion-history-view-option-selection-desktop svg,[data-v-dd57102d] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-dd57102d] .in-segments-wrapper__button_selected,[data-v-dd57102d] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
1
+ .gap-16[data-v-6562e38c],.gap-16[data-v-1ccb6d4a]{gap:16px}[data-v-58044839] .in-button-v2__wrapper{line-height:0}[data-v-b5997368] .in-segments-wrapper .in-tooltip-wrapper__box{text-align:left}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history-wrapper[data-v-52a77eec]{gap:8px}.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}.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}.guido-loading__wrapper[data-v-dced5582]{height:100%;top:75px}.guido-editor__wrapper[data-v-e8d51dec],.guido-editor__container[data-v-e8d51dec]{width:100%;height:calc(100vh - 128px)}.guido-editor__no-header[data-v-e8d51dec]{height:calc(100vh - 75px)}[data-v-70835920] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-a86fc486]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-a86fc486]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-a86fc486]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-a86fc486]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-a86fc486]{object-fit:cover;transform:scale(1)}[data-v-dd57102d] .guido__verion-history-view-option-selection-desktop svg,[data-v-dd57102d] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-dd57102d] .in-segments-wrapper__button_selected,[data-v-dd57102d] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-7a09985c]{gap:16px}[data-v-c2adc57d] .in-progress-wrapper__progress p span:last-child{display:none!important}.desktop-preview-container[data-v-2dd60b0c],[data-v-2dd60b0c] .desktop-preview-container .in-container{min-height:720px!important;height:100%}.cropped-text[data-v-f20b3a9b]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d3c52b44] .vueperslides__bullets,[data-v-a408dcea] .vueperslides__bullets{pointer-events:none!important}[data-v-a408dcea] .vueperslides__parallax-wrapper{height:110px!important}
@@ -4,8 +4,8 @@ import type { Extension } from '@stripoinc/ui-editor-extensions';
4
4
  * Converts GuidoConfig blocks settings to Stripo-compatible format
5
5
  */
6
6
  export declare const useBlocksConfig: () => {
7
- getStripoBlocksConfig: () => {
7
+ getStripoBlocksConfig: () => Promise<{
8
8
  baseBlocks: Record<string, boolean>;
9
9
  extensions: Extension[];
10
- };
10
+ }>;
11
11
  };
@@ -2,5 +2,5 @@ export declare const usePartner: () => {
2
2
  getPartnerName: () => string;
3
3
  getProductType: () => number;
4
4
  isTestPartner: () => boolean;
5
- isUnsubscribePages: () => boolean;
5
+ isUnsubscribePage: () => boolean;
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "1.0.3-beta.185718d",
3
+ "version": "1.0.3-beta.193d365",
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",