@useinsider/guido 3.19.0 → 3.20.0-beta.0849ec7
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 +22 -3
- package/dist/@types/config/schemas.js +76 -53
- package/dist/components/Guido.vue.js +4 -4
- package/dist/components/Guido.vue2.js +102 -86
- package/dist/components/organisms/AutoSaveController.vue2.js +9 -8
- package/dist/components/organisms/base/AuthErrorModal.vue.js +18 -0
- package/dist/components/organisms/base/AuthErrorModal.vue2.js +42 -0
- package/dist/components/organisms/base/Toaster.vue2.js +13 -12
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +13 -11
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +78 -57
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js +18 -0
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue2.js +25 -0
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue2.js +28 -42
- package/dist/components/organisms/header/EditorActions.vue.js +5 -5
- package/dist/components/organisms/header/EditorActions.vue2.js +90 -57
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +16 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +28 -24
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue2.js +46 -0
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.js +21 -0
- package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue2.js +47 -0
- package/dist/components/organisms/validation/ValidationErrorDrawer.vue.js +20 -0
- package/dist/components/organisms/validation/ValidationErrorDrawer.vue2.js +49 -0
- package/dist/components/wrappers/WpDrawer.vue.js +9 -7
- package/dist/components/wrappers/WpDrawer.vue2.js +1 -1
- package/dist/components/wrappers/WpModal.vue.js +1 -1
- package/dist/components/wrappers/WpModal.vue2.js +4 -3
- package/dist/composables/useActionsApi.js +52 -47
- package/dist/composables/useAuthError.js +52 -0
- package/dist/composables/useAutoSave.js +11 -11
- package/dist/composables/useCodeEditorApi.js +23 -9
- package/dist/composables/useCortexBlueprintBridge.js +122 -54
- package/dist/composables/useCustomInterfaceAppearance.js +65 -51
- package/dist/composables/useEmailTemplateApplier.js +111 -50
- package/dist/composables/useHtmlCompiler.js +37 -26
- package/dist/composables/useHtmlValidator.js +89 -82
- package/dist/composables/useHttp.js +64 -54
- package/dist/composables/useLegacyStrategyConversion.js +65 -0
- package/dist/composables/useRecommendation.js +40 -35
- package/dist/composables/useSave.js +90 -45
- package/dist/composables/useSaveValidation.js +282 -0
- package/dist/composables/useSaveValidationRollout.js +9 -0
- package/dist/composables/useStripo.js +43 -39
- package/dist/composables/useToaster.js +18 -22
- package/dist/composables/useTranslations.js +3 -2
- package/dist/composables/useVersionHistoryApi.js +33 -24
- package/dist/composables/validators/useCouponBlockValidator.js +24 -21
- package/dist/composables/validators/useLiquidValidator.js +15 -15
- package/dist/composables/validators/useUnsubscribeBlockValidator.js +34 -27
- package/dist/config/migrator/index.js +14 -13
- package/dist/config/migrator/itemsBlockMigrator.js +236 -248
- package/dist/config/migrator/recommendationMigrator.js +28 -21
- package/dist/config/migrator/recommendationPartnerMigrator.js +56 -0
- package/dist/enums/extensions/recommendationBlock.js +51 -34
- package/dist/enums/save-validation.js +4 -0
- package/dist/extensions/Blocks/Items/constants/cardLayout.js +20 -0
- package/dist/extensions/Blocks/Items/controls/name/trimming.js +18 -17
- package/dist/extensions/Blocks/Items/controls/settingsControl.js +114 -105
- package/dist/extensions/Blocks/Items/enums/productEnums.js +14 -9
- package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +11 -9
- package/dist/extensions/Blocks/Items/template.js +219 -204
- package/dist/extensions/Blocks/Recommendation/block.js +65 -45
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +21 -20
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +103 -90
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +150 -52
- package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +74 -74
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +274 -92
- package/dist/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.js +42 -0
- package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +26 -16
- package/dist/extensions/Blocks/Recommendation/utils/partnerCustomizations.js +3 -1
- package/dist/extensions/Blocks/Recommendation/utils/partnerScope.js +25 -0
- package/dist/extensions/Blocks/Recommendation/utils/productIds.js +5 -3
- package/dist/extensions/Blocks/Recommendation/utils/strategyCommit.js +24 -0
- package/dist/extensions/Blocks/Recommendation/validation/requiredFields.js +21 -12
- package/dist/guido.css +1 -1
- package/dist/services/recommendationApi.js +46 -37
- package/dist/src/@types/config/schemas.d.ts +36 -0
- package/dist/src/@types/save-validation.d.ts +19 -0
- package/dist/src/components/Guido.vue.d.ts +17 -1
- package/dist/src/components/organisms/base/AuthErrorModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/header/EditorActions.vue.d.ts +17 -1
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +17 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +17 -1
- package/dist/src/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.d.ts +2 -0
- package/dist/src/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.d.ts +2 -0
- package/dist/src/components/organisms/validation/ValidationErrorDrawer.vue.d.ts +2 -0
- package/dist/src/components/wrappers/WpDrawer.vue.d.ts +4 -3
- package/dist/src/components/wrappers/WpModal.vue.d.ts +5 -1
- package/dist/src/composables/useAuthError.d.ts +12 -0
- package/dist/src/composables/useConfig.d.ts +8 -0
- package/dist/src/composables/useCortexBlueprintBridge.d.ts +2 -3
- package/dist/src/composables/useEmailTemplateApplier.d.ts +18 -5
- package/dist/src/composables/useGuidoActions.d.ts +2 -0
- package/dist/src/composables/useHtmlValidator.d.ts +21 -0
- package/dist/src/composables/useHttp.d.ts +2 -0
- package/dist/src/composables/useLegacyStrategyConversion.d.ts +3 -0
- package/dist/src/composables/useSave.d.ts +6 -1
- package/dist/src/composables/useSaveValidation.d.ts +6 -0
- package/dist/src/composables/useSaveValidationRollout.d.ts +3 -0
- package/dist/src/composables/validators/useCouponBlockValidator.d.ts +3 -0
- package/dist/src/composables/validators/useUnsubscribeBlockValidator.d.ts +10 -0
- package/dist/src/config/migrator/index.d.ts +2 -1
- package/dist/src/config/migrator/recommendationPartnerMigrator.d.ts +19 -0
- package/dist/src/enums/extensions/recommendationBlock.d.ts +7 -1
- package/dist/src/enums/save-validation.d.ts +27 -0
- package/dist/src/extensions/Blocks/Items/constants/cardLayout.d.ts +44 -0
- package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +3 -0
- package/dist/src/extensions/Blocks/Items/template.d.ts +19 -0
- package/dist/src/extensions/Blocks/Recommendation/block.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +10 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +7 -2
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +162 -1
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +6 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.d.ts +32 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/partnerScope.d.ts +33 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/productIds.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/strategyCommit.d.ts +14 -0
- package/dist/src/extensions/Blocks/Recommendation/validation/requiredFields.d.ts +4 -0
- package/dist/src/mock/cortexChatStore.d.ts +12 -0
- package/dist/src/services/recommendationApi.d.ts +2 -1
- package/dist/src/stores/config.d.ts +374 -0
- package/dist/src/stores/guido-email-editor.d.ts +20 -10
- package/dist/src/stores/onboarding.d.ts +812 -10
- package/dist/src/stores/recommendation.d.ts +5 -0
- package/dist/src/stores/save-validation.d.ts +22 -0
- package/dist/src/utils/dateUtil.d.ts +10 -0
- package/dist/src/utils/genericUtil.d.ts +3 -0
- package/dist/src/utils/stripoEditorApi.d.ts +4 -0
- package/dist/src/utils/templatePreparation.d.ts +30 -0
- package/dist/static/assets/icons/filled-arrow-rising.svg.js +5 -0
- package/dist/static/assets/icons/line-info.svg.js +5 -0
- package/dist/static/styles/components/recommendation-strategy.css.js +113 -9
- package/dist/static/styles/components/skeleton.css.js +23 -0
- package/dist/static/styles/components/version-history.css.js +2 -6
- package/dist/stores/config.js +55 -24
- package/dist/stores/guido-email-editor.js +3 -1
- package/dist/stores/onboarding.js +50 -36
- package/dist/stores/save-validation.js +30 -0
- package/dist/stores/unsubscribe.js +3 -3
- package/dist/utils/pairProductVariables.js +71 -71
- package/dist/utils/stripoEditorApi.js +11 -0
- package/dist/utils/templatePreparation.js +54 -51
- package/package.json +2 -1
|
@@ -1,74 +1,80 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useCortexBlueprintBridge as
|
|
3
|
-
import { useEditorLock as
|
|
4
|
-
import { provideGuidoActions as
|
|
5
|
-
import { useGuidoStateBridge as
|
|
6
|
-
import { usePartner as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
|
|
1
|
+
import { defineComponent as se, defineAsyncComponent as m, ref as W, computed as p, watch as G, onMounted as ie, onUnmounted as ce } from "vue";
|
|
2
|
+
import { useCortexBlueprintBridge as de } from "../composables/useCortexBlueprintBridge.js";
|
|
3
|
+
import { useEditorLock as me } from "../composables/useEditorLock.js";
|
|
4
|
+
import { provideGuidoActions as le } from "../composables/useGuidoActions.js";
|
|
5
|
+
import { useGuidoStateBridge as ue } from "../composables/useGuidoStateBridge.js";
|
|
6
|
+
import { usePartner as pe } from "../composables/usePartner.js";
|
|
7
|
+
import { useSaveValidationRollout as fe } from "../composables/useSaveValidationRollout.js";
|
|
8
|
+
import { useStripo as ye } from "../composables/useStripo.js";
|
|
9
|
+
import { useTimerClone as ge } from "../composables/useTimerClone.js";
|
|
10
|
+
import { migrate as V } from "../config/migrator/index.js";
|
|
11
|
+
import { ModuleFolderDefaults as $ } from "../enums/defaults.js";
|
|
12
|
+
import { RIBBON_SELECTOR as Se } from "../enums/onboarding.js";
|
|
13
|
+
import { useRecommendationExtensionStore as E } from "../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
14
|
+
import ve from "./organisms/AutoSaveController.vue.js";
|
|
15
|
+
import be from "./organisms/base/AuthErrorModal.vue.js";
|
|
16
|
+
import he from "./organisms/base/Toaster.vue.js";
|
|
17
|
+
import Ee from "./organisms/extensions/recommendation/FilterSelectionDrawer.vue.js";
|
|
18
|
+
import we from "./organisms/header/HeaderWrapper.vue.js";
|
|
19
|
+
import De from "./organisms/LoadingWrapper.vue.js";
|
|
20
|
+
import Ce from "./organisms/save-as-template/SaveAsTemplateDrawer.vue.js";
|
|
21
|
+
import ke from "./organisms/unsubscribe/UnsubscribeWrapper.vue.js";
|
|
22
|
+
import Fe from "./organisms/validation/ValidationErrorDrawer.vue.js";
|
|
23
|
+
import { useStripoApi as Re } from "../services/stripoApi.js";
|
|
24
|
+
import { useConfigStore as Me } from "../stores/config.js";
|
|
25
|
+
import { useDynamicContentStore as Te } from "../stores/dynamic-content.js";
|
|
26
|
+
import { useEditorStore as w } from "../stores/editor.js";
|
|
27
|
+
import { usePreviewStore as Ie } from "../stores/preview.js";
|
|
28
|
+
import { useSaveValidationStore as Le } from "../stores/save-validation.js";
|
|
29
|
+
import { useTemplateStore as Ue } from "../stores/template.js";
|
|
30
|
+
import { useUnsubscribeStore as Ae } from "../stores/unsubscribe.js";
|
|
31
|
+
import { readTrackFloor as z } from "../utils/linkTrackingIds.js";
|
|
32
|
+
const lt = /* @__PURE__ */ se({
|
|
29
33
|
__name: "Guido",
|
|
30
34
|
props: {
|
|
31
35
|
config: null,
|
|
32
36
|
ready: { type: Boolean, default: !0 }
|
|
33
37
|
},
|
|
34
38
|
emits: ["dynamic-content:open", "back", "save:start", "save:complete", "on-change", "ready", "onboarding:finished", "test-email:click"],
|
|
35
|
-
setup(
|
|
36
|
-
const
|
|
39
|
+
setup(H, { expose: q, emit: r }) {
|
|
40
|
+
const s = H, K = m(
|
|
37
41
|
() => import("./organisms/email-preview/PreviewContainer.vue.js")
|
|
38
|
-
),
|
|
42
|
+
), j = m(
|
|
39
43
|
() => import("./organisms/onboarding/OnboardingWrapper.vue.js")
|
|
40
|
-
),
|
|
44
|
+
), J = m(
|
|
41
45
|
() => import("./organisms/extensions/recommendation/AssignStrategyDrawer.vue.js")
|
|
42
|
-
),
|
|
46
|
+
), Q = m(
|
|
43
47
|
() => import("./organisms/extensions/recommendation/RemoveStrategyModal.vue.js")
|
|
44
|
-
),
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
), X = m(
|
|
49
|
+
() => import("./organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js")
|
|
50
|
+
), D = W(), f = W(), y = Te(), C = Ae(), o = Me();
|
|
51
|
+
s.ready && o.init(s.config);
|
|
52
|
+
const c = w(), Y = Ie(), l = p(() => c.hasChanges), { isTestPartner: Z } = pe(), { isEnabled: ee } = fe(), k = () => {
|
|
47
53
|
var t;
|
|
48
|
-
return (t =
|
|
49
|
-
},
|
|
54
|
+
return (t = D.value) == null ? void 0 : t.handleSave(!0);
|
|
55
|
+
}, F = (t) => {
|
|
50
56
|
c.loadingStatus = t;
|
|
51
57
|
};
|
|
52
|
-
|
|
53
|
-
const
|
|
58
|
+
de(), ue();
|
|
59
|
+
const g = () => {
|
|
54
60
|
var t, e;
|
|
55
61
|
return {
|
|
56
62
|
emailId: o.templateId,
|
|
57
63
|
userId: o.userId,
|
|
58
64
|
username: o.username,
|
|
59
65
|
partnerName: o.partnerName,
|
|
60
|
-
savedModulesFolderName: ((t = o.editor) == null ? void 0 : t.savedModulesFolderName) ||
|
|
61
|
-
defaultModulesFolderName: ((e = o.editor) == null ? void 0 : e.defaultModulesFolderName) ||
|
|
66
|
+
savedModulesFolderName: ((t = o.editor) == null ? void 0 : t.savedModulesFolderName) || $.SAVED_MODULES,
|
|
67
|
+
defaultModulesFolderName: ((e = o.editor) == null ? void 0 : e.defaultModulesFolderName) || $.DEFAULT_MODULES
|
|
62
68
|
};
|
|
63
|
-
}, { initPlugin:
|
|
64
|
-
let
|
|
65
|
-
const { getDefaultTemplate:
|
|
69
|
+
}, { initPlugin: R, preloadRuntime: M } = ye(), { runExclusive: T, beginMount: I, isCurrentMount: S } = me();
|
|
70
|
+
let u = 0;
|
|
71
|
+
const { getDefaultTemplate: L } = Re(), { cloneTimersOnSave: U, hasTimerBlocks: A } = ge(), te = p(() => {
|
|
66
72
|
var t;
|
|
67
73
|
return !((t = o.ui) != null && t.showHeader);
|
|
68
|
-
}),
|
|
69
|
-
() => !!
|
|
74
|
+
}), oe = p(() => o.isFeatureEnabled("reusableRecommendationStrategy")), ne = p(
|
|
75
|
+
() => !!E().recommendationConfigs.strategyId
|
|
70
76
|
);
|
|
71
|
-
|
|
77
|
+
le({
|
|
72
78
|
onBack: () => {
|
|
73
79
|
console.debug("guido:back"), r("back");
|
|
74
80
|
},
|
|
@@ -76,7 +82,7 @@ const et = /* @__PURE__ */ ne({
|
|
|
76
82
|
console.debug("guido:save:start"), r("save:start");
|
|
77
83
|
},
|
|
78
84
|
onSaveComplete: (t) => {
|
|
79
|
-
const e = { ...t, metadata:
|
|
85
|
+
const e = { ...t, metadata: g() };
|
|
80
86
|
console.debug("guido:save:complete", e), r("save:complete", e);
|
|
81
87
|
},
|
|
82
88
|
onTestEmailClick: () => {
|
|
@@ -84,62 +90,72 @@ const et = /* @__PURE__ */ ne({
|
|
|
84
90
|
}
|
|
85
91
|
});
|
|
86
92
|
const B = (t) => {
|
|
87
|
-
console.debug("dynamic-content:close", t),
|
|
88
|
-
},
|
|
93
|
+
console.debug("dynamic-content:close", t), y.setSelectedDynamicContent(t), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: t }));
|
|
94
|
+
}, N = () => {
|
|
89
95
|
console.debug("dynamic-content:close", "Without Data"), document.dispatchEvent(new CustomEvent("dynamic-content:close", { detail: { text: "", value: "" } }));
|
|
90
96
|
};
|
|
91
|
-
|
|
92
|
-
r("on-change",
|
|
97
|
+
G(() => l.value, () => {
|
|
98
|
+
r("on-change", l.value);
|
|
93
99
|
});
|
|
94
100
|
const v = (t) => {
|
|
95
|
-
const e = t, { attribute:
|
|
96
|
-
console.debug("dynamic-content:open", e.detail), r("dynamic-content:open",
|
|
101
|
+
const e = t, { attribute: a, position: d } = e.detail;
|
|
102
|
+
console.debug("dynamic-content:open", e.detail), r("dynamic-content:open", a, d);
|
|
97
103
|
};
|
|
98
104
|
let i = null;
|
|
99
|
-
const
|
|
105
|
+
const b = () => {
|
|
100
106
|
var e;
|
|
101
|
-
const t = document.querySelector(
|
|
102
|
-
(e =
|
|
103
|
-
},
|
|
107
|
+
const t = document.querySelector(Se);
|
|
108
|
+
(e = f.value) == null || e.style.setProperty("--ribbon-offset", `${(t == null ? void 0 : t.offsetHeight) ?? 0}px`);
|
|
109
|
+
}, h = async () => {
|
|
104
110
|
var t;
|
|
105
111
|
try {
|
|
106
|
-
o.initialized || o.init(
|
|
107
|
-
const e = o.template,
|
|
108
|
-
|
|
109
|
-
const _ = ((t = e == null ? void 0 : e.migration) == null ? void 0 : t.recommendationConfigs) ?? {},
|
|
112
|
+
o.initialized || o.init(s.config), c.templateId = o.templateId;
|
|
113
|
+
const e = o.template, a = (e == null ? void 0 : e.html) || "", d = (e == null ? void 0 : e.css) || "", P = (e == null ? void 0 : e.preselectedDynamicContent) || [];
|
|
114
|
+
C.selectedUnsubscribePages = (e == null ? void 0 : e.selectedUnsubscribePages) || [];
|
|
115
|
+
const _ = ((t = e == null ? void 0 : e.migration) == null ? void 0 : t.recommendationConfigs) ?? {}, O = o.isFeatureEnabled("linkTrackingIds"), x = {
|
|
116
|
+
partnerName: o.partnerName,
|
|
117
|
+
campaignUrls: e == null ? void 0 : e.recommendationCampaignUrls,
|
|
118
|
+
rrsEnabled: o.isFeatureEnabled("reusableRecommendationStrategy")
|
|
119
|
+
};
|
|
110
120
|
let n = {
|
|
111
|
-
html:
|
|
121
|
+
html: a && await V(a, _, x),
|
|
112
122
|
css: d
|
|
113
123
|
};
|
|
114
|
-
n.html || (n = await
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
preselectedDynamicContentList:
|
|
124
|
+
n.html || (n = await L(), n.html = await V(n.html, _, x));
|
|
125
|
+
const re = O ? z(n.html, (e == null ? void 0 : e.trackIdCounter) || 0) : 0;
|
|
126
|
+
A(n.html) && (n.html = await U(n.html)), O && (c.trackIdSessionFloor = Math.max(re, z(n.html)));
|
|
127
|
+
const ae = {
|
|
128
|
+
preselectedDynamicContentList: P,
|
|
119
129
|
onReady: () => {
|
|
120
130
|
console.debug("guido:ready"), r("ready");
|
|
121
131
|
}
|
|
122
132
|
};
|
|
123
|
-
|
|
133
|
+
u = I(), await R(n, g(), ae), y.selectedDynamicContentList = P;
|
|
124
134
|
} catch (e) {
|
|
125
135
|
console.error("Failed to initialize Stripo editor:", e);
|
|
126
136
|
}
|
|
127
137
|
};
|
|
128
|
-
return
|
|
138
|
+
return ie(async () => {
|
|
129
139
|
var e;
|
|
130
|
-
console.debug("Guido says happy coding 🎉"), console.debug("🚗 Ka-Chow"),
|
|
131
|
-
const t = (e =
|
|
132
|
-
if (t && (i = new ResizeObserver(
|
|
133
|
-
await
|
|
140
|
+
console.debug("Guido says happy coding 🎉"), console.debug("🚗 Ka-Chow"), E().$reset(), w().$reset(), Ue().$reset(), Le().$reset(), b();
|
|
141
|
+
const t = (e = f.value) == null ? void 0 : e.parentElement;
|
|
142
|
+
if (t && (i = new ResizeObserver(b), i.observe(t)), M(), s.ready)
|
|
143
|
+
await h();
|
|
134
144
|
else {
|
|
135
|
-
const
|
|
136
|
-
d && (
|
|
145
|
+
const a = G(() => s.ready, (d) => {
|
|
146
|
+
d && (a(), h());
|
|
137
147
|
});
|
|
138
148
|
}
|
|
139
149
|
document.addEventListener("dynamic-content:open", v);
|
|
140
|
-
}),
|
|
141
|
-
i == null || i.disconnect(), document.removeEventListener("dynamic-content:open", v),
|
|
142
|
-
|
|
150
|
+
}), ce(() => {
|
|
151
|
+
if (i == null || i.disconnect(), document.removeEventListener("dynamic-content:open", v), E().disposeStrategyPageReturn(), S(u))
|
|
152
|
+
try {
|
|
153
|
+
w().isStripoInitialized = !1;
|
|
154
|
+
} catch (t) {
|
|
155
|
+
console.debug("Failed to close the editor readiness gate on unmount", t);
|
|
156
|
+
}
|
|
157
|
+
T(async () => {
|
|
158
|
+
if (S(u))
|
|
143
159
|
try {
|
|
144
160
|
window.UIEditor.removeEditor();
|
|
145
161
|
} catch {
|
|
@@ -149,14 +165,14 @@ const et = /* @__PURE__ */ ne({
|
|
|
149
165
|
}), q({
|
|
150
166
|
dynamicContent: {
|
|
151
167
|
insert: B,
|
|
152
|
-
close:
|
|
168
|
+
close: N
|
|
153
169
|
},
|
|
154
|
-
hasChanges:
|
|
155
|
-
saveSilent:
|
|
156
|
-
setLoading:
|
|
157
|
-
}), { __sfc: !0, PreviewContainer: K, OnboardingWrapper:
|
|
170
|
+
hasChanges: l,
|
|
171
|
+
saveSilent: k,
|
|
172
|
+
setLoading: F
|
|
173
|
+
}), { __sfc: !0, PreviewContainer: K, OnboardingWrapper: j, AssignStrategyDrawer: J, RemoveStrategyModal: Q, LegacyStrategyUpdatedModal: X, headerWrapperRef: D, wrapperRef: f, dynamicContentStore: y, unsubscribeStore: C, props: s, configStore: o, editorStore: c, previewStore: Y, hasChanges: l, isTestPartner: Z, isSaveValidationEnabled: ee, saveSilent: k, setLoading: F, emit: r, buildMetadata: g, initPlugin: R, preloadRuntime: M, runExclusive: T, beginMount: I, isCurrentMount: S, mountGeneration: u, getDefaultTemplate: L, cloneTimersOnSave: U, hasTimerBlocks: A, noHeader: te, isRrsEnabled: oe, hasAssignedStrategy: ne, insertDynamicContent: B, closeDynamicContent: N, handleDynamicContentOpen: v, ribbonObserver: i, updateRibbonOffset: b, startEditor: h, AutoSaveController: ve, AuthErrorModal: be, Toaster: he, FilterSelectionDrawer: Ee, HeaderWrapper: we, LoadingWrapper: De, SaveAsTemplateDrawer: Ce, UnsubscribeWrapper: ke, ValidationErrorDrawer: Fe };
|
|
158
174
|
}
|
|
159
175
|
});
|
|
160
176
|
export {
|
|
161
|
-
|
|
177
|
+
lt as default
|
|
162
178
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useAutoSave as
|
|
3
|
-
import { useSave as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
import { useAutoSave as s } from "../../composables/useAutoSave.js";
|
|
3
|
+
import { useSave as n } from "../../composables/useSave.js";
|
|
4
|
+
import { useSaveValidationRollout as u } from "../../composables/useSaveValidationRollout.js";
|
|
5
|
+
const v = /* @__PURE__ */ r({
|
|
5
6
|
__name: "AutoSaveController",
|
|
6
|
-
setup(
|
|
7
|
-
const { save: e } =
|
|
8
|
-
return
|
|
7
|
+
setup(m) {
|
|
8
|
+
const { save: e, saveRawOnly: o } = n(), { isEnabled: t } = u(), a = () => t.value ? o() : e(!1, !0);
|
|
9
|
+
return s(a), { __sfc: !0, save: e, saveRawOnly: o, isEnabled: t, backgroundSave: a };
|
|
9
10
|
}
|
|
10
11
|
});
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
v as default
|
|
13
14
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import e from "./AuthErrorModal.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import s from "../../../_virtual/_plugin-vue2_normalizer.js";
|
|
4
|
+
var a = function() {
|
|
5
|
+
var o = this, r = o._self._c, t = o._self._setupProxy;
|
|
6
|
+
return t.authError ? r("div", { staticClass: "auth-error-modal" }, [r(t.WpModal, { attrs: { id: "guido__auth-error-modal", state: "warning", "close-button-status": !1, "close-on-outside-click": !1, "footer-button-options": t.footerButtonOptions, title: t.title }, on: { close: t.dismiss, "primary-action": t.recover } }, [r("p", [o._v(o._s(t.message))])])], 1) : o._e();
|
|
7
|
+
}, n = [], i = /* @__PURE__ */ s(
|
|
8
|
+
e,
|
|
9
|
+
a,
|
|
10
|
+
n,
|
|
11
|
+
!1,
|
|
12
|
+
null,
|
|
13
|
+
"b4d7ae51"
|
|
14
|
+
);
|
|
15
|
+
const m = i.exports;
|
|
16
|
+
export {
|
|
17
|
+
m as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as c, computed as n } from "vue";
|
|
2
|
+
import p from "../../wrappers/WpModal.vue.js";
|
|
3
|
+
import { useAuthError as d } from "../../../composables/useAuthError.js";
|
|
4
|
+
import { useTranslations as m } from "../../../composables/useTranslations.js";
|
|
5
|
+
const _ = /* @__PURE__ */ c({
|
|
6
|
+
__name: "AuthErrorModal",
|
|
7
|
+
setup(v) {
|
|
8
|
+
const e = m(), { authError: t } = d(), r = n(() => {
|
|
9
|
+
var o;
|
|
10
|
+
return ((o = t.value) == null ? void 0 : o.status) === 419 && t.value.data !== null;
|
|
11
|
+
}), s = n(() => {
|
|
12
|
+
var o;
|
|
13
|
+
return ((o = t.value) == null ? void 0 : o.status) === 419 && t.value.data === null;
|
|
14
|
+
}), i = n(() => r.value ? e("integration-hub.reload-this-page") : e("action-builder.session-expired")), u = n(() => r.value ? e("auth.error-occurred-refresh") : s.value ? e("settings.session-on-another-device") : e("journey-builder.login-session-expired")), l = n(() => ({
|
|
15
|
+
primaryButton: {
|
|
16
|
+
type: "primary",
|
|
17
|
+
labelText: r.value ? e("integration-hub.reload") : e("journey-builder.login-popup-button")
|
|
18
|
+
},
|
|
19
|
+
cancelOrBackButton: {
|
|
20
|
+
type: "secondary",
|
|
21
|
+
styling: "ghost",
|
|
22
|
+
labelText: e("settings.cancel")
|
|
23
|
+
}
|
|
24
|
+
})), a = () => {
|
|
25
|
+
if (r.value) {
|
|
26
|
+
window.location.reload();
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
window.location.replace("/");
|
|
30
|
+
};
|
|
31
|
+
return { __sfc: !0, trans: e, authError: t, isPageExpired: r, isTakenOver: s, title: i, message: u, footerButtonOptions: l, recover: a, dismiss: () => {
|
|
32
|
+
if (r.value) {
|
|
33
|
+
t.value = null;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
a();
|
|
37
|
+
}, WpModal: p };
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
_ as default
|
|
42
|
+
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { defineComponent as c, ref as i, computed as u, onBeforeUnmount as m } from "vue";
|
|
2
|
+
import { useToaster as f } from "../../../composables/useToaster.js";
|
|
3
|
+
import { useToasterStore as p } from "../../../stores/toaster.js";
|
|
4
|
+
import { InToasts as l } from "@useinsider/design-system-vue";
|
|
5
|
+
const x = /* @__PURE__ */ c({
|
|
5
6
|
__name: "Toaster",
|
|
6
|
-
setup(
|
|
7
|
-
const t =
|
|
8
|
-
t.actionButton && t.actionButton.onClick(),
|
|
7
|
+
setup(_) {
|
|
8
|
+
const t = p(), { hideToaster: o } = f(), e = i(null), s = u(() => t.actionButton ? [{ text: t.actionButton.text }] : []), a = () => {
|
|
9
|
+
t.actionButton && t.actionButton.onClick(), o();
|
|
9
10
|
};
|
|
10
|
-
return
|
|
11
|
-
var
|
|
12
|
-
t.$reset(), (
|
|
13
|
-
}), { __sfc: !0, store: t,
|
|
11
|
+
return m(() => {
|
|
12
|
+
var n, r;
|
|
13
|
+
o(), t.$reset(), (r = (n = e.value) == null ? void 0 : n.$el) == null || r.remove();
|
|
14
|
+
}), { __sfc: !0, store: t, hideToaster: o, toastRef: e, actionButtonsConfig: s, handleActionClick: a, InToasts: l };
|
|
14
15
|
}
|
|
15
16
|
});
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
x as default
|
|
18
19
|
};
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "./AssignStrategyDrawer.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
var
|
|
6
|
-
var e = this,
|
|
7
|
-
return t.store.assignStrategyDrawerStatus ?
|
|
8
|
-
return [
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
import o from "../../../../_virtual/_plugin-vue2_normalizer.js";
|
|
5
|
+
var a = function() {
|
|
6
|
+
var e = this, r = e._self._c, t = e._self._setupProxy;
|
|
7
|
+
return t.store.assignStrategyDrawerStatus ? r(t.OrgStrategyDetailModal, { staticClass: "assign-strategy-drawer", attrs: { "description-status": "", show: "", "description-text": t.drawerDescription, "footer-button-group-options": t.footerButtonGroupOptions, strategy: t.selectedStrategy ?? {}, "title-text": t.trans("gpt-app-builder.assign-recommendation-strategy") }, on: { close: t.closeDrawer, primaryClick: t.assignStrategy }, scopedSlots: e._u([{ key: "contentTop", fn: function() {
|
|
8
|
+
return [r("div", { staticClass: "assign-strategy-drawer-content px-5 py-5" }, [r(t.OrgStrategyDropdown, { staticClass: "assign-strategy-select", attrs: { id: "assign-strategy-select", "create-button-visible": "", "info-box-position": "bottom right", loading: t.store.strategiesLoading || t.store.legacyConversionLoading, "placeholder-text": t.trans("smart-recommender.select-recommendation-strategy"), "selected-strategy-id": t.selectedStrategyId, state: t.showSelectionError ? "error" : "default", "state-message": t.showSelectionError ? t.trans("ds-steps.select-strategy-tooltip") : "", strategies: t.strategyOptions }, on: { create: function(l) {
|
|
9
|
+
return t.store.openStrategyCreation();
|
|
10
|
+
}, infoBoxButtonClick: t.onInfoBoxButtonClick, select: t.onSelect } })], 1)];
|
|
11
|
+
}, proxy: !0 }], null, !1, 659108535) }) : e._e();
|
|
12
|
+
}, n = [], i = /* @__PURE__ */ o(
|
|
13
|
+
s,
|
|
14
|
+
a,
|
|
13
15
|
n,
|
|
14
16
|
!1,
|
|
15
17
|
null,
|
|
16
|
-
"
|
|
18
|
+
"6ce48dfd"
|
|
17
19
|
);
|
|
18
20
|
const y = i.exports;
|
|
19
21
|
export {
|
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as B, defineAsyncComponent as T, ref as w, computed as n, watch as k } from "vue";
|
|
2
2
|
import "@useinsider/design-system-organisms/style";
|
|
3
|
-
import { useToaster as
|
|
4
|
-
import { useTranslations as
|
|
5
|
-
import { DOTTED_DATE_LOCALE as
|
|
6
|
-
import { URLS as
|
|
7
|
-
import { ToasterTypeOptions as
|
|
8
|
-
import { useRecommendationExtensionStore as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
3
|
+
import { useToaster as b } from "../../../../composables/useToaster.js";
|
|
4
|
+
import { useTranslations as L } from "../../../../composables/useTranslations.js";
|
|
5
|
+
import { DOTTED_DATE_LOCALE as N } from "../../../../enums/date.js";
|
|
6
|
+
import { URLS as R } from "../../../../enums/extensions/recommendationBlock.js";
|
|
7
|
+
import { ToasterTypeOptions as u } from "../../../../enums/toaster.js";
|
|
8
|
+
import { useRecommendationExtensionStore as P } from "../../../../extensions/Blocks/Recommendation/store/recommendation.js";
|
|
9
|
+
import { commitStrategyChange as D } from "../../../../extensions/Blocks/Recommendation/utils/strategyCommit.js";
|
|
10
|
+
import U from "./StrategyInfoBoxContent.vue.js";
|
|
11
|
+
import { formatShortDate as M } from "../../../../utils/dateUtil.js";
|
|
12
|
+
import { asText as O } from "../../../../utils/genericUtil.js";
|
|
13
|
+
import { escapeHtml as G } from "../../../../utils/htmlEscape.js";
|
|
14
|
+
import { InSkeleton as $ } from "@useinsider/design-system-vue";
|
|
15
|
+
const st = /* @__PURE__ */ B({
|
|
15
16
|
__name: "AssignStrategyDrawer",
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
render: (
|
|
19
|
-
}),
|
|
20
|
-
loader: async () => (await
|
|
21
|
-
loadingComponent:
|
|
17
|
+
setup(H) {
|
|
18
|
+
const g = () => import("@useinsider/design-system-organisms"), p = (t, r) => ({
|
|
19
|
+
render: (o) => o($, { props: { sizing: { width: t, height: r } } })
|
|
20
|
+
}), E = T({
|
|
21
|
+
loader: async () => (await g()).OrgStrategyDetailModal,
|
|
22
|
+
loadingComponent: p(480, 240),
|
|
22
23
|
delay: 0
|
|
23
|
-
}),
|
|
24
|
-
loader: async () => (await
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}), o = A(), e = C(), { showToaster: s } = x(), n = u(null), i = u(!1), _ = l(() => e.assignStrategyDrawerStatus ? o("email-editor.assign-strategy-description", { url: h.RECOMMENDATION_STRATEGIES_PANEL_PATH }) : "");
|
|
28
|
-
O(() => e.assignStrategyDrawerStatus, (t) => {
|
|
24
|
+
}), I = T({
|
|
25
|
+
loader: async () => (await g()).OrgStrategyDropdown
|
|
26
|
+
}), i = "guido-edit-strategy-", a = L(), e = P(), { showToaster: c } = b(), s = w(null), m = "legacy", l = w(!1), x = n(() => e.assignStrategyDrawerStatus ? a("email-editor.assign-strategy-description", { url: R.RECOMMENDATION_STRATEGIES_PANEL_PATH }) : "");
|
|
27
|
+
k(() => e.assignStrategyDrawerStatus, (t) => {
|
|
29
28
|
if (!t)
|
|
30
29
|
return;
|
|
31
30
|
const { strategyId: r } = e.recommendationConfigs;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type:
|
|
35
|
-
message:
|
|
31
|
+
s.value = r || (e.isLegacyStrategyBlock ? m : null), l.value = !1, e.invalidateStrategies(), e.fetchStrategies().catch(() => {
|
|
32
|
+
c({
|
|
33
|
+
type: u.Error,
|
|
34
|
+
message: a("discovery-strategy.error-description")
|
|
36
35
|
});
|
|
37
36
|
});
|
|
38
37
|
});
|
|
39
|
-
const
|
|
40
|
-
const r =
|
|
38
|
+
const f = (t) => {
|
|
39
|
+
const r = O(t.updated_at || t.created_at);
|
|
41
40
|
if (!r)
|
|
42
41
|
return "";
|
|
43
|
-
const
|
|
44
|
-
return
|
|
45
|
-
},
|
|
42
|
+
const o = M(r, N);
|
|
43
|
+
return a("recommendation-strategy.last-updated-on", { value: o });
|
|
44
|
+
}, S = n(() => ({
|
|
45
|
+
text: a("ds-steps.legacy-strategy"),
|
|
46
|
+
value: m,
|
|
47
|
+
hidden: !0
|
|
48
|
+
})), d = n(() => e.strategies.map((t) => ({
|
|
46
49
|
text: t.name,
|
|
47
50
|
value: t.strategy_id,
|
|
48
51
|
infoBoxProps: {
|
|
@@ -50,57 +53,75 @@ const W = /* @__PURE__ */ v({
|
|
|
50
53
|
theme: "light",
|
|
51
54
|
variant: "information",
|
|
52
55
|
className: "assign-strategy-info-box",
|
|
53
|
-
titleText:
|
|
56
|
+
titleText: G(O(t.name)),
|
|
54
57
|
descriptionStatus: !0,
|
|
55
|
-
descriptionText:
|
|
56
|
-
slot:
|
|
57
|
-
slotProps: { strategy: t }
|
|
58
|
+
descriptionText: f(t),
|
|
59
|
+
slot: U,
|
|
60
|
+
slotProps: { strategy: t },
|
|
61
|
+
// The info box drops the option's value/text, so the id is the only channel
|
|
62
|
+
// that can carry the strategy back to the click handler.
|
|
63
|
+
buttonOptions: [{
|
|
64
|
+
id: `${i}${t.strategy_id}`,
|
|
65
|
+
text: a("eureka.edit-strategy"),
|
|
66
|
+
type: "text",
|
|
67
|
+
// Resolved from Guido's own public/sprite.svg by InIcons; an unknown name would
|
|
68
|
+
// silently render blank space instead of failing.
|
|
69
|
+
icon: "line-open-website"
|
|
70
|
+
}]
|
|
58
71
|
}
|
|
59
|
-
}))),
|
|
60
|
-
|
|
72
|
+
}))), A = n(() => e.isLegacyStrategyBlock ? [S.value, ...d.value] : d.value), h = (t) => {
|
|
73
|
+
var _;
|
|
74
|
+
const r = (_ = t == null ? void 0 : t.id) != null && _.startsWith(i) ? t.id.slice(i.length) : "";
|
|
75
|
+
if (!r)
|
|
76
|
+
return;
|
|
77
|
+
const o = e.currentRecommendationId, y = e.recommendationConfigs.strategyId === r;
|
|
78
|
+
e.openStrategyEdit(r) && (String(s.value ?? "") === r && (s.value = null), y && (e.removeStrategy(), o !== null && D(o, "Removed recommendation strategy")));
|
|
79
|
+
}, v = n(() => {
|
|
80
|
+
const t = e.strategies.find((r) => String(r.strategy_id) === String(s.value ?? ""));
|
|
61
81
|
return t ? { ...t, fallback_config: null } : null;
|
|
62
|
-
}),
|
|
82
|
+
}), C = n(() => ({
|
|
63
83
|
primaryButton: {
|
|
64
84
|
styling: "solid",
|
|
65
85
|
type: "primary",
|
|
66
|
-
labelText:
|
|
86
|
+
labelText: a("products.assign-btn")
|
|
67
87
|
},
|
|
68
88
|
cancelOrBackButton: {
|
|
69
89
|
styling: "ghost",
|
|
70
90
|
type: "secondary",
|
|
71
|
-
labelText:
|
|
91
|
+
labelText: a("products.cancel")
|
|
72
92
|
}
|
|
73
93
|
}));
|
|
74
|
-
return { __sfc: !0, loadOrganisms:
|
|
94
|
+
return { __sfc: !0, loadOrganisms: g, skeleton: p, OrgStrategyDetailModal: E, OrgStrategyDropdown: I, EDIT_BUTTON_ID_PREFIX: i, trans: a, store: e, showToaster: c, selectedStrategyId: s, LEGACY_OPTION_VALUE: m, showSelectionError: l, drawerDescription: x, lastUpdatedText: f, legacyStrategyOption: S, remoteStrategyOptions: d, strategyOptions: A, onInfoBoxButtonClick: h, selectedStrategy: v, footerButtonGroupOptions: C, closeDrawer: () => {
|
|
75
95
|
e.closeAssignStrategyDrawer();
|
|
76
96
|
}, assignStrategy: async () => {
|
|
77
|
-
const t =
|
|
97
|
+
const t = v.value;
|
|
78
98
|
if (!t) {
|
|
79
|
-
|
|
99
|
+
l.value = !0;
|
|
80
100
|
return;
|
|
81
101
|
}
|
|
82
102
|
let r = "";
|
|
83
103
|
try {
|
|
84
104
|
r = await e.resolveStrategyUrlTemplate(t, e.recommendationConfigs.currencySettings.value);
|
|
85
|
-
} catch (
|
|
86
|
-
console.error("[AssignStrategyDrawer] resolveStrategyUrlTemplate failed",
|
|
105
|
+
} catch (y) {
|
|
106
|
+
console.error("[AssignStrategyDrawer] resolveStrategyUrlTemplate failed", y);
|
|
87
107
|
}
|
|
88
108
|
if (!r) {
|
|
89
|
-
|
|
90
|
-
type:
|
|
91
|
-
message:
|
|
109
|
+
c({
|
|
110
|
+
type: u.Error,
|
|
111
|
+
message: a("email-editor.strategy-assign-failed", { strategyName: t.name })
|
|
92
112
|
});
|
|
93
113
|
return;
|
|
94
114
|
}
|
|
95
|
-
e.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
115
|
+
const o = e.currentRecommendationId;
|
|
116
|
+
e.assignStrategy(t), c({
|
|
117
|
+
type: u.Success,
|
|
118
|
+
message: a("email-editor.strategy-assigned-success", { strategyName: t.name })
|
|
119
|
+
}), e.closeAssignStrategyDrawer(), o !== null && await D(o, "Assigned recommendation strategy");
|
|
99
120
|
}, onSelect: (t) => {
|
|
100
|
-
|
|
121
|
+
s.value = t.value, l.value = !1;
|
|
101
122
|
} };
|
|
102
123
|
}
|
|
103
124
|
});
|
|
104
125
|
export {
|
|
105
|
-
|
|
126
|
+
st as default
|
|
106
127
|
};
|