@useinsider/guido 3.26.0-beta.eba5834 → 3.26.0-beta.f774fae
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/Guido.vue.js +1 -1
- package/dist/components/Guido.vue2.js +25 -26
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.js +1 -1
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue2.js +25 -43
- package/dist/guido.css +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/stores/onboarding.d.ts +0 -1
- package/dist/stores/onboarding.js +6 -9
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ge, defineAsyncComponent as a, ref as W, computed as l, watch as G, onMounted as be, onUnmounted as ve } from "vue";
|
|
2
2
|
import { useCortexBlueprintBridge as Se } from "../composables/useCortexBlueprintBridge.js";
|
|
3
3
|
import { useEditorLock as he } from "../composables/useEditorLock.js";
|
|
4
4
|
import { startEditorOpenMetrics as Ee } from "../composables/useEditorOpenMetrics.js";
|
|
@@ -9,10 +9,10 @@ import { useSaveValidationRollout as Te } from "../composables/useSaveValidation
|
|
|
9
9
|
import { useStripo as ke } from "../composables/useStripo.js";
|
|
10
10
|
import { useTimerClone as Fe } from "../composables/useTimerClone.js";
|
|
11
11
|
import { useToaster as Ie } from "../composables/useToaster.js";
|
|
12
|
-
import { useTranslations as
|
|
13
|
-
import { migrate as
|
|
12
|
+
import { useTranslations as Me } from "../composables/useTranslations.js";
|
|
13
|
+
import { migrate as Re } from "../config/migrator/index.js";
|
|
14
14
|
import { ModuleFolderDefaults as $ } from "../enums/defaults.js";
|
|
15
|
-
import { RIBBON_SELECTOR as
|
|
15
|
+
import { RIBBON_SELECTOR as Le } from "../enums/onboarding.js";
|
|
16
16
|
import { ToasterTypeOptions as Ue } from "../enums/toaster.js";
|
|
17
17
|
import { useRecommendationExtensionStore as z, disposeStrategyPageReturnListeners as Oe } from "../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
18
18
|
import { disposeUnsubscribeListeners as Ne } from "../extensions/Blocks/Unsubscribe/block.js";
|
|
@@ -30,13 +30,12 @@ import { useStripoApi as ze } from "../services/stripoApi.js";
|
|
|
30
30
|
import { useConfigStore as qe } from "../stores/config.js";
|
|
31
31
|
import { useDynamicContentStore as Ke } from "../stores/dynamic-content.js";
|
|
32
32
|
import { useEditorStore as C } from "../stores/editor.js";
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { useUnsubscribeStore as Ye } from "../stores/unsubscribe.js";
|
|
33
|
+
import { usePreviewStore as je } from "../stores/preview.js";
|
|
34
|
+
import { useSaveValidationStore as Je } from "../stores/save-validation.js";
|
|
35
|
+
import { useTemplateStore as Qe } from "../stores/template.js";
|
|
36
|
+
import { useUnsubscribeStore as Xe } from "../stores/unsubscribe.js";
|
|
38
37
|
import { readTrackFloor as q } from "../utils/linkTrackingIds.js";
|
|
39
|
-
const
|
|
38
|
+
const _t = /* @__PURE__ */ ge({
|
|
40
39
|
__name: "Guido",
|
|
41
40
|
props: {
|
|
42
41
|
config: null,
|
|
@@ -58,9 +57,9 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
58
57
|
() => import("./organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js")
|
|
59
58
|
), te = a(
|
|
60
59
|
() => import("./organisms/unsubscribe/LegacyUnsubscribeConvertedModal.vue.js")
|
|
61
|
-
),
|
|
60
|
+
), y = W(), g = Ke(), w = Xe(), o = qe();
|
|
62
61
|
c.ready && o.init(c.config);
|
|
63
|
-
const d = C(), oe =
|
|
62
|
+
const d = C(), oe = je(), p = l(() => d.hasChanges), { isTestPartner: ne } = we(), { isEnabled: re, loadRollout: T } = Te(), { showToaster: k } = Ie(), F = Me(), I = () => {
|
|
64
63
|
var t;
|
|
65
64
|
if (d.isVersionHistoryOpen) {
|
|
66
65
|
console.debug("guido:save:silent:blocked", { isVersionHistoryOpen: !0 }), k({
|
|
@@ -70,7 +69,7 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
70
69
|
return;
|
|
71
70
|
}
|
|
72
71
|
return (t = D.value) == null ? void 0 : t.saveSilent();
|
|
73
|
-
},
|
|
72
|
+
}, M = (t) => {
|
|
74
73
|
d.loadingStatus = t;
|
|
75
74
|
};
|
|
76
75
|
Se(), De();
|
|
@@ -84,7 +83,7 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
84
83
|
savedModulesFolderName: ((t = o.editor) == null ? void 0 : t.savedModulesFolderName) || $.SAVED_MODULES,
|
|
85
84
|
defaultModulesFolderName: ((e = o.editor) == null ? void 0 : e.defaultModulesFolderName) || $.DEFAULT_MODULES
|
|
86
85
|
};
|
|
87
|
-
}, { initPlugin:
|
|
86
|
+
}, { initPlugin: R, preloadRuntime: L } = ke(r), { runExclusive: U, beginMount: O, isCurrentMount: v } = he();
|
|
88
87
|
let f = 0;
|
|
89
88
|
const { getDefaultTemplate: N } = ze(), { cloneTimersOnSave: _, hasTimerBlocks: A } = Fe(), se = l(() => {
|
|
90
89
|
var t;
|
|
@@ -110,7 +109,7 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
110
109
|
}
|
|
111
110
|
});
|
|
112
111
|
const P = (t) => {
|
|
113
|
-
console.debug("dynamic-content:close", t),
|
|
112
|
+
console.debug("dynamic-content:close", t), g.setSelectedDynamicContent(t), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: t }));
|
|
114
113
|
}, x = () => {
|
|
115
114
|
console.debug("dynamic-content:close", "Without Data"), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: { text: "", value: "" } }));
|
|
116
115
|
};
|
|
@@ -124,8 +123,8 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
124
123
|
let m = null;
|
|
125
124
|
const h = () => {
|
|
126
125
|
var e;
|
|
127
|
-
const t = document.querySelector(
|
|
128
|
-
(e =
|
|
126
|
+
const t = document.querySelector(Le);
|
|
127
|
+
(e = y.value) == null || e.style.setProperty("--ribbon-offset", `${(t == null ? void 0 : t.offsetHeight) ?? 0}px`);
|
|
129
128
|
}, E = async () => {
|
|
130
129
|
var t;
|
|
131
130
|
r.mark("host_ready");
|
|
@@ -144,9 +143,9 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
144
143
|
rrsEnabled: o.isFeatureEnabled("reusableRecommendationStrategy")
|
|
145
144
|
}, ue = {
|
|
146
145
|
itemsPriceFormatting: o.isFeatureEnabled("itemsPriceFormatting")
|
|
147
|
-
}, V = (
|
|
146
|
+
}, V = (ye) => r.timed(
|
|
148
147
|
"migration",
|
|
149
|
-
() =>
|
|
148
|
+
() => Re(ye, me, le, ue)
|
|
150
149
|
);
|
|
151
150
|
let n = {
|
|
152
151
|
html: i && await V(i),
|
|
@@ -161,16 +160,16 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
161
160
|
console.debug("guido:ready"), s("ready");
|
|
162
161
|
}
|
|
163
162
|
};
|
|
164
|
-
f = O(), await
|
|
163
|
+
f = O(), await R(n, b(), fe, n.html !== i), g.selectedDynamicContentList = B;
|
|
165
164
|
} catch (e) {
|
|
166
165
|
console.error("Failed to initialize Stripo editor:", e), r.markFailed();
|
|
167
166
|
}
|
|
168
167
|
};
|
|
169
168
|
return be(async () => {
|
|
170
169
|
var e;
|
|
171
|
-
console.debug("Guido says happy coding 🎉"), console.debug("🚗 Ka-Chow"), z().$reset(), C().$reset(),
|
|
172
|
-
const t = (e =
|
|
173
|
-
if (t && (m = new ResizeObserver(h), m.observe(t)),
|
|
170
|
+
console.debug("Guido says happy coding 🎉"), console.debug("🚗 Ka-Chow"), z().$reset(), C().$reset(), Qe().$reset(), Je().$reset(), T(), h();
|
|
171
|
+
const t = (e = y.value) == null ? void 0 : e.parentElement;
|
|
172
|
+
if (t && (m = new ResizeObserver(h), m.observe(t)), L(), c.ready)
|
|
174
173
|
await E();
|
|
175
174
|
else {
|
|
176
175
|
const i = G(() => c.ready, (u) => {
|
|
@@ -203,10 +202,10 @@ const Pt = /* @__PURE__ */ ye({
|
|
|
203
202
|
},
|
|
204
203
|
hasChanges: p,
|
|
205
204
|
saveSilent: I,
|
|
206
|
-
setLoading:
|
|
207
|
-
}), { __sfc: !0, openMetrics: r, PreviewContainer: J, OnboardingWrapper: Q, AssignStrategyDrawer: X, RemoveStrategyModal: Y, DisplayConditionsHost: Z, autoSaveControllerRef: D, LegacyStrategyUpdatedModal: ee, LegacyUnsubscribeConvertedModal: te, wrapperRef:
|
|
205
|
+
setLoading: M
|
|
206
|
+
}), { __sfc: !0, openMetrics: r, PreviewContainer: J, OnboardingWrapper: Q, AssignStrategyDrawer: X, RemoveStrategyModal: Y, DisplayConditionsHost: Z, autoSaveControllerRef: D, LegacyStrategyUpdatedModal: ee, LegacyUnsubscribeConvertedModal: te, wrapperRef: y, dynamicContentStore: g, unsubscribeStore: w, props: c, configStore: o, editorStore: d, previewStore: oe, hasChanges: p, isTestPartner: ne, isSaveValidationEnabled: re, loadRollout: T, showToaster: k, trans: F, saveSilent: I, setLoading: M, emit: s, buildMetadata: b, initPlugin: R, preloadRuntime: L, runExclusive: U, beginMount: O, isCurrentMount: v, mountGeneration: f, getDefaultTemplate: N, cloneTimersOnSave: _, hasTimerBlocks: A, noHeader: se, isRrsEnabled: ie, isExternalDisplayConditionsEnabled: ae, isLegacyUnsubscribeConversionEnabled: ce, hasAssignedStrategy: de, insertDynamicContent: P, closeDynamicContent: x, handleDynamicContentOpen: S, ribbonObserver: m, updateRibbonOffset: h, startEditor: E, AutoSaveController: Ae, AuthErrorModal: Pe, Toaster: xe, FilterSelectionDrawer: Be, HeaderWrapper: He, LoadingWrapper: Ve, SaveAsTemplateDrawer: We, UnsubscribeWrapper: Ge, ValidationErrorDrawer: $e };
|
|
208
207
|
}
|
|
209
208
|
});
|
|
210
209
|
export {
|
|
211
|
-
|
|
210
|
+
_t as default
|
|
212
211
|
};
|
|
@@ -1,64 +1,46 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRibbonOffset as
|
|
3
|
-
import { useTranslations as
|
|
4
|
-
import { ACADEMY_LINKS as
|
|
5
|
-
import { useOnboardingStore as
|
|
6
|
-
import { InOnboard as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as g, watch as l } from "vue";
|
|
2
|
+
import { useRibbonOffset as b } from "../../../composables/useRibbonOffset.js";
|
|
3
|
+
import { useTranslations as p } from "../../../composables/useTranslations.js";
|
|
4
|
+
import { ACADEMY_LINKS as u } from "../../../enums/academy.js";
|
|
5
|
+
import { useOnboardingStore as y } from "../../../stores/onboarding.js";
|
|
6
|
+
import { InOnboard as f } from "@useinsider/design-system-vue";
|
|
7
|
+
const A = /* @__PURE__ */ d({
|
|
8
8
|
__name: "RecommendationLegacyStrategyOnboarding",
|
|
9
|
-
setup(
|
|
10
|
-
const
|
|
9
|
+
setup(O) {
|
|
10
|
+
const n = "recommendationLegacyStrategyOnboarding", o = p(), t = y(), { getTopPosition: i } = b(), r = `<a href="${u.EMAIL_RECOMMENDATION_BLOCK}" target="_blank" rel="noopener noreferrer">${o("action-builder.visit-academy")}</a>`, a = () => [
|
|
11
11
|
{
|
|
12
12
|
classes: "guido-recommendation-legacy-strategy-onboarding",
|
|
13
13
|
right: "40px",
|
|
14
|
-
top:
|
|
14
|
+
top: i(485),
|
|
15
15
|
position: "Top Right",
|
|
16
|
-
title:
|
|
17
|
-
description:
|
|
18
|
-
academyLink:
|
|
16
|
+
title: o("email-editor.onboarding-recommendation-strategy-legacy-title"),
|
|
17
|
+
description: o("email-editor.onboarding-recommendation-strategy-legacy-description", {
|
|
18
|
+
academyLink: r
|
|
19
19
|
}),
|
|
20
20
|
imageSource: "",
|
|
21
21
|
backButtonClick: () => {
|
|
22
22
|
},
|
|
23
23
|
nextButtonType: "text",
|
|
24
|
-
nextButtonText:
|
|
24
|
+
nextButtonText: o("action-builder.ok"),
|
|
25
25
|
nextButtonClick: () => {
|
|
26
|
-
t.close(
|
|
26
|
+
t.close(n);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
],
|
|
29
|
+
], s = g(
|
|
30
30
|
() => t.onboardings.recommendationLegacyStrategyOnboarding.config.length > 0 && t.onboardings.recommendationLegacyStrategyOnboarding.isActive
|
|
31
|
-
),
|
|
32
|
-
var
|
|
33
|
-
(
|
|
31
|
+
), m = () => {
|
|
32
|
+
var e, c;
|
|
33
|
+
(c = (e = t.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : e.nextButtonClick) == null || c.call(e);
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
let o = null;
|
|
40
|
-
const d = () => {
|
|
41
|
-
var n;
|
|
42
|
-
return !!((n = e == null ? void 0 : e.querySelector(l)) != null && n.getClientRects().length);
|
|
43
|
-
}, i = ({ target: n }) => {
|
|
44
|
-
!(n instanceof Element) || !n.closest("ue-control-panel") || o !== null || (o = requestAnimationFrame(() => {
|
|
45
|
-
o = null, d() || t.closeForSession(a);
|
|
46
|
-
}));
|
|
47
|
-
}, s = () => {
|
|
48
|
-
e == null || e.removeEventListener("scroll", c, !0), e == null || e.removeEventListener("click", i, !0), e == null || e.removeEventListener("keyup", i, !0), e = null, o !== null && (cancelAnimationFrame(o), o = null);
|
|
49
|
-
}, p = () => {
|
|
50
|
-
var n;
|
|
51
|
-
e = ((n = document.querySelector("ui-editor")) == null ? void 0 : n.shadowRoot) ?? null, e == null || e.addEventListener("scroll", c, !0), e == null || e.addEventListener("click", i, !0), e == null || e.addEventListener("keyup", i, !0);
|
|
52
|
-
};
|
|
53
|
-
return L(
|
|
54
|
-
() => t.isActive(a),
|
|
55
|
-
(n) => {
|
|
56
|
-
n ? (t.setConfig(a, g()), p()) : s();
|
|
35
|
+
return l(
|
|
36
|
+
() => t.isActive(n),
|
|
37
|
+
(e) => {
|
|
38
|
+
e && t.setConfig(n, a());
|
|
57
39
|
},
|
|
58
40
|
{ immediate: !0 }
|
|
59
|
-
),
|
|
41
|
+
), { __sfc: !0, ONBOARDING_TYPE: n, trans: o, onboardingStore: t, getTopPosition: i, academyLink: r, buildOnboardingCards: a, isVisible: s, handleNext: m, InOnboard: f };
|
|
60
42
|
}
|
|
61
43
|
});
|
|
62
44
|
export {
|
|
63
|
-
|
|
45
|
+
A as default
|
|
64
46
|
};
|
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-
|
|
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-ed74fdf8]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-ed74fdf8]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-ed74fdf8]{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-f16f20f8] .vueperslides__bullets{pointer-events:none!important}[data-v-f16f20f8] .vueperslides__parallax-wrapper{padding-bottom:110px!important}[data-v-bb3cca55] .vueperslides__bullets{pointer-events:none!important}[data-v-bb3cca55] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-19d8cb42] .vueperslides__bullets,[data-v-ec2027ff] .vueperslides__bullets,[data-v-b09e80c4] .vueperslides__bullets{pointer-events:none!important}[data-v-b09e80c4] .vueperslides__parallax-wrapper{height:110px!important;padding-bottom:110px!important}[data-v-9bdef600] .vueperslides__parallax-wrapper{padding-bottom:110px!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd]{width:100%;max-width:none}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-skeleton{width:100%!important}.assign-strategy-drawer-content .assign-strategy-select[data-v-6ce48dfd] .in-dropdown-box__container{width:413px}.assign-strategy-drawer .spaced-dot-sep{background-image:linear-gradient(90deg,#91949f 20%,#fff0 0);background-position:center bottom;background-repeat:repeat-x;background-size:5px 1px}.assign-strategy-drawer .spaced-dot-sep--top{background-position:center top}.assign-strategy-drawer .spaced-dot-sep--fc-n:first-child{background:none}.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}
|
package/dist/package.json.js
CHANGED
|
@@ -3120,7 +3120,6 @@ export declare const useOnboardingStore: import("pinia").StoreDefinition<"guidoO
|
|
|
3120
3120
|
start(type: OnboardingType): void;
|
|
3121
3121
|
startOnboarding(type: OnboardingType): void;
|
|
3122
3122
|
closeForSession(type: OnboardingType): void;
|
|
3123
|
-
forgetSessionClose(type: OnboardingType): void;
|
|
3124
3123
|
close(type: OnboardingType): Promise<void>;
|
|
3125
3124
|
next(type: OnboardingType): void;
|
|
3126
3125
|
previous(type: OnboardingType): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useOnboardingApi as
|
|
2
|
-
import { defineStore as
|
|
1
|
+
import { useOnboardingApi as t } from "../services/onboardingApi.js";
|
|
2
|
+
import { defineStore as s } from "pinia";
|
|
3
3
|
const e = () => ({
|
|
4
4
|
cardIndex: 0,
|
|
5
5
|
isActive: !1,
|
|
@@ -20,7 +20,7 @@ const e = () => ({
|
|
|
20
20
|
userModalState: {},
|
|
21
21
|
isFetched: !1,
|
|
22
22
|
closedThisSession: []
|
|
23
|
-
}), g =
|
|
23
|
+
}), g = s("guidoOnboarding", {
|
|
24
24
|
state: () => a(),
|
|
25
25
|
getters: {
|
|
26
26
|
/** @deprecated Components use the type-specific getters. Slated for deletion, see the SD-667788 dead-code ledger. */
|
|
@@ -86,14 +86,11 @@ const e = () => ({
|
|
|
86
86
|
this.closeOtherOnboardings(n), this.onboardings[n].cardIndex = 0, this.onboardings[n].isActive = !0;
|
|
87
87
|
},
|
|
88
88
|
startOnboarding(n) {
|
|
89
|
-
this.shouldShowOnboarding(n) && !this.isActive(n) &&
|
|
89
|
+
this.shouldShowOnboarding(n) && !this.isActive(n) && this.start(n);
|
|
90
90
|
},
|
|
91
91
|
closeForSession(n) {
|
|
92
92
|
this.closedThisSession.includes(n) || this.closedThisSession.push(n), this.onboardings[n].isActive = !1, this.onboardings[n].cardIndex = 0, this.onboardings[n].config = [], this.onboardings[n].cardOffset = 0;
|
|
93
93
|
},
|
|
94
|
-
forgetSessionClose(n) {
|
|
95
|
-
this.closedThisSession = this.closedThisSession.filter((o) => o !== n);
|
|
96
|
-
},
|
|
97
94
|
async close(n) {
|
|
98
95
|
this.closeForSession(n);
|
|
99
96
|
try {
|
|
@@ -136,7 +133,7 @@ const e = () => ({
|
|
|
136
133
|
async fetchUserModalState() {
|
|
137
134
|
if (this.isFetched)
|
|
138
135
|
return;
|
|
139
|
-
const { fetchUserModalState: n } =
|
|
136
|
+
const { fetchUserModalState: n } = t();
|
|
140
137
|
try {
|
|
141
138
|
const o = await n();
|
|
142
139
|
this.userModalState = o, this.isFetched = !0;
|
|
@@ -144,7 +141,7 @@ const e = () => ({
|
|
|
144
141
|
}
|
|
145
142
|
},
|
|
146
143
|
async setUserModalState(n, o, i) {
|
|
147
|
-
const { setUserModalState: r } =
|
|
144
|
+
const { setUserModalState: r } = t();
|
|
148
145
|
await r(n, o, i), this.isFetched = !1, await this.fetchUserModalState();
|
|
149
146
|
}
|
|
150
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/guido",
|
|
3
|
-
"version": "3.26.0-beta.
|
|
3
|
+
"version": "3.26.0-beta.f774fae",
|
|
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",
|