@useinsider/guido 1.0.3-beta.193d365 → 1.0.3-beta.1cd6abc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/organisms/header/LeftSlot.vue.js +1 -1
- package/dist/components/organisms/header/LeftSlot.vue2.js +2 -2
- package/dist/components/organisms/header/RightSlot.vue.js +1 -1
- package/dist/components/organisms/header/RightSlot.vue2.js +2 -2
- package/dist/composables/useBlocksConfig.js +29 -20
- package/dist/composables/usePartner.js +10 -13
- package/dist/composables/useStripo.js +8 -8
- package/dist/enums/defaults.js +5 -4
- package/dist/extensions/Blocks/Checkbox/extension.js +2 -2
- package/dist/extensions/Blocks/CouponBlock/extension.js +2 -2
- package/dist/extensions/Blocks/Recommendation/extension.js +4 -4
- package/dist/guido.css +1 -1
- package/dist/src/composables/useBlocksConfig.d.ts +2 -2
- package/dist/src/composables/usePartner.d.ts +1 -1
- package/dist/src/enums/defaults.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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(), {
|
|
14
|
-
return { __sfc: !0, editorStore: e, handleBack: r, closeVersionHistory: t, closePreviewMode: i,
|
|
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: () => {
|
|
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.
|
|
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) {
|
|
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(), {
|
|
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 = () => {
|
|
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,
|
|
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 };
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
export {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
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 = {
|
|
2
8
|
"amp-accordion": "ampAccordionEnabled",
|
|
3
9
|
"amp-carousel": "ampCarouselEnabled",
|
|
4
10
|
"amp-form-controls": "ampFormControlsEnabled",
|
|
@@ -12,38 +18,41 @@ const l = {
|
|
|
12
18
|
"text-block": "textEnabled",
|
|
13
19
|
"timer-block": "timerEnabled",
|
|
14
20
|
"video-block": "videoEnabled"
|
|
15
|
-
},
|
|
16
|
-
"dynamic-content":
|
|
17
|
-
"checkbox-block":
|
|
18
|
-
"radio-button-block":
|
|
19
|
-
"recommendation-block":
|
|
20
|
-
"unsubscribe-block":
|
|
21
|
-
"coupon-block":
|
|
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,
|
|
22
28
|
"items-block": null
|
|
23
29
|
// TODO: Add ItemsBlock extension when available
|
|
24
|
-
},
|
|
30
|
+
}, E = (n) => {
|
|
25
31
|
if (!n || !n.length)
|
|
26
32
|
return {};
|
|
27
33
|
const o = {};
|
|
28
34
|
return n.forEach((e) => {
|
|
29
|
-
const t =
|
|
35
|
+
const t = a[e];
|
|
30
36
|
t && (o[t] = !1);
|
|
31
37
|
}), o;
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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: () => {
|
|
39
48
|
var e;
|
|
40
49
|
const o = (e = window.GuidoConfig) == null ? void 0 : e.blocks;
|
|
41
50
|
return {
|
|
42
|
-
baseBlocks:
|
|
43
|
-
extensions:
|
|
51
|
+
baseBlocks: E(o == null ? void 0 : o.excludeDefaults),
|
|
52
|
+
extensions: d(o == null ? void 0 : o.includeCustoms)
|
|
44
53
|
};
|
|
45
54
|
}
|
|
46
55
|
});
|
|
47
56
|
export {
|
|
48
|
-
|
|
57
|
+
C as useBlocksConfig
|
|
49
58
|
};
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { ProductIds as
|
|
2
|
-
const
|
|
3
|
-
const e = () => window.location.hostname.split(".")[0] || ""
|
|
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
|
+
};
|
|
4
7
|
return {
|
|
5
8
|
getPartnerName: e,
|
|
6
|
-
getProductType:
|
|
7
|
-
const t = window.location.pathname.split("/").filter(Boolean)[0] || s;
|
|
8
|
-
return n[t] || 0;
|
|
9
|
-
},
|
|
9
|
+
getProductType: s,
|
|
10
10
|
isTestPartner: () => {
|
|
11
11
|
const t = e();
|
|
12
|
-
return
|
|
12
|
+
return n.includes(t);
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
var t, r;
|
|
16
|
-
return ((r = (t = window.GuidoConfig) == null ? void 0 : t.partner) == null ? void 0 : r.productType) === n.unsubscribePages;
|
|
17
|
-
}
|
|
14
|
+
isUnsubscribePages: () => s() === r.unsubscribePages
|
|
18
15
|
};
|
|
19
16
|
};
|
|
20
17
|
export {
|
|
21
|
-
|
|
18
|
+
u as usePartner
|
|
22
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useActionsApi as
|
|
2
|
-
import { useBlocksConfig as
|
|
3
|
-
import { useCustomInterfaceAppearance as
|
|
4
|
-
import { useStripoEventHandler as
|
|
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";
|
|
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 } =
|
|
14
|
-
const t = _(), { html: n, css: l, forceRecreate: a } = r, { baseBlocks: e, extensions: c } =
|
|
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();
|
|
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 } =
|
|
59
|
+
const { importCss: o } = h(), { activateCustomViewStyles: s } = E();
|
|
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
|
-
|
|
104
|
+
S(r, i);
|
|
105
105
|
});
|
|
106
106
|
} };
|
|
107
107
|
};
|
package/dist/enums/defaults.js
CHANGED
|
@@ -20,10 +20,11 @@ const e = {
|
|
|
20
20
|
}, t = {
|
|
21
21
|
promotional: 1,
|
|
22
22
|
transactional: 2
|
|
23
|
-
}, a = "
|
|
23
|
+
}, a = "unsubscribePages", o = "Guido User", s = t.promotional, n = 2, i = {
|
|
24
24
|
email: 60,
|
|
25
25
|
architect: 49,
|
|
26
|
-
unsubscribePages: 97
|
|
26
|
+
unsubscribePages: 97,
|
|
27
|
+
"unsubscribe-pages": 97
|
|
27
28
|
}, u = [
|
|
28
29
|
"alfredtesting",
|
|
29
30
|
"electio",
|
|
@@ -58,10 +59,10 @@ const e = {
|
|
|
58
59
|
];
|
|
59
60
|
export {
|
|
60
61
|
e as DefaultGuidoConfig,
|
|
61
|
-
|
|
62
|
+
s as DefaultMessageType,
|
|
62
63
|
a as DefaultProductType,
|
|
63
64
|
o as DefaultUsername,
|
|
64
|
-
|
|
65
|
+
n as EditorType,
|
|
65
66
|
i as ProductIds,
|
|
66
67
|
u as TEST_PARTNER_LIST,
|
|
67
68
|
t as TemplateTypes
|
|
@@ -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
|
|
6
|
+
const k = new o().addBlock(t).withSettingsPanelRegistry(i).addControl(e).withIconsRegistry(r).build();
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
k 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
|
|
5
|
+
const m = new o().addBlock(t).withSettingsPanelRegistry(n).withIconsRegistry(i).build();
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m 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
|
|
5
|
-
import
|
|
6
|
-
import { SettingsPanel as
|
|
7
|
-
const f = new o().addBlock(t).withSettingsPanelRegistry(
|
|
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();
|
|
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-
|
|
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}
|
|
@@ -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: () => {
|
|
8
8
|
baseBlocks: Record<string, boolean>;
|
|
9
9
|
extensions: Extension[];
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ export declare const TemplateTypes: {
|
|
|
4
4
|
promotional: number;
|
|
5
5
|
transactional: number;
|
|
6
6
|
};
|
|
7
|
-
export declare const DefaultProductType = "
|
|
7
|
+
export declare const DefaultProductType = "unsubscribePages";
|
|
8
8
|
export declare const DefaultUsername = "Guido User";
|
|
9
9
|
export declare const DefaultMessageType: number;
|
|
10
10
|
export declare const EditorType: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "1.0.3-beta.
|
|
3
|
+
"version": "1.0.3-beta.1cd6abc",
|
|
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",
|