@useinsider/guido 3.19.0-beta.0a1f92f → 3.19.0-beta.0b78e99

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.
Files changed (154) hide show
  1. package/README.md +21 -3
  2. package/dist/@types/config/schemas.js +71 -51
  3. package/dist/components/Guido.vue.js +11 -11
  4. package/dist/components/Guido.vue2.js +90 -90
  5. package/dist/components/organisms/AutoSaveController.vue2.js +8 -10
  6. package/dist/components/organisms/base/AuthErrorModal.vue.js +18 -0
  7. package/dist/components/organisms/base/AuthErrorModal.vue2.js +42 -0
  8. package/dist/components/organisms/base/Toaster.vue2.js +13 -12
  9. package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +13 -11
  10. package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +78 -57
  11. package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js +18 -0
  12. package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue2.js +25 -0
  13. package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue2.js +28 -42
  14. package/dist/components/organisms/header/AutoSaveToggle.vue.js +22 -0
  15. package/dist/components/organisms/header/AutoSaveToggle.vue2.js +19 -0
  16. package/dist/components/organisms/header/EditorActions.vue.js +13 -13
  17. package/dist/components/organisms/header/EditorActions.vue2.js +51 -37
  18. package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
  19. package/dist/components/organisms/header/HeaderWrapper.vue2.js +17 -9
  20. package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
  21. package/dist/components/organisms/header/LeftSlot.vue2.js +23 -32
  22. package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
  23. package/dist/components/organisms/header/MiddleSlot.vue2.js +7 -8
  24. package/dist/components/organisms/header/RightSlot.vue.js +8 -9
  25. package/dist/components/organisms/header/RightSlot.vue2.js +18 -13
  26. package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
  27. package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +40 -54
  28. package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue.js +21 -0
  29. package/dist/components/organisms/onboarding/RecommendationLegacyStrategyOnboarding.vue2.js +46 -0
  30. package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue.js +21 -0
  31. package/dist/components/organisms/onboarding/RecommendationStrategyOnboarding.vue2.js +47 -0
  32. package/dist/components/wrappers/WpModal.vue.js +1 -1
  33. package/dist/components/wrappers/WpModal.vue2.js +4 -3
  34. package/dist/composables/useActionsApi.js +52 -47
  35. package/dist/composables/useAuthError.js +52 -0
  36. package/dist/composables/useAutoSave.js +11 -11
  37. package/dist/composables/useCodeEditorApi.js +23 -9
  38. package/dist/composables/useCustomInterfaceAppearance.js +65 -52
  39. package/dist/composables/useHtmlValidator.js +87 -82
  40. package/dist/composables/useHttp.js +64 -54
  41. package/dist/composables/useLegacyStrategyConversion.js +65 -0
  42. package/dist/composables/useRecommendation.js +40 -35
  43. package/dist/composables/useStripo.js +43 -39
  44. package/dist/composables/useToaster.js +18 -22
  45. package/dist/composables/useTranslations.js +3 -2
  46. package/dist/composables/useVersionHistoryApi.js +33 -24
  47. package/dist/composables/validators/useLiquidValidator.js +15 -15
  48. package/dist/config/compiler/utils/recommendationCompilerUtils.js +72 -57
  49. package/dist/config/i18n/en/labels.json.js +4 -36
  50. package/dist/config/i18n/en/tooltips.json.js +1 -2
  51. package/dist/config/migrator/index.js +14 -13
  52. package/dist/config/migrator/itemsBlockMigrator.js +236 -248
  53. package/dist/config/migrator/recommendationMigrator.js +28 -21
  54. package/dist/config/migrator/recommendationPartnerMigrator.js +56 -0
  55. package/dist/enums/extensions/recommendationBlock.js +51 -34
  56. package/dist/extensions/Blocks/Items/constants/cardLayout.js +20 -0
  57. package/dist/extensions/Blocks/Items/controls/name/trimming.js +18 -17
  58. package/dist/extensions/Blocks/Items/controls/settingsControl.js +114 -105
  59. package/dist/extensions/Blocks/Items/enums/productEnums.js +14 -9
  60. package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +11 -9
  61. package/dist/extensions/Blocks/Items/template.js +219 -204
  62. package/dist/extensions/Blocks/Recommendation/block.js +92 -50
  63. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +21 -20
  64. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +103 -90
  65. package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +150 -52
  66. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +74 -74
  67. package/dist/extensions/Blocks/Recommendation/controls/mobileLayout/cssRules.js +15 -11
  68. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +274 -92
  69. package/dist/extensions/Blocks/Recommendation/templates/utils.js +16 -16
  70. package/dist/extensions/Blocks/Recommendation/utils/captureStyleTemplates.js +91 -87
  71. package/dist/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.js +42 -0
  72. package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +26 -16
  73. package/dist/extensions/Blocks/Recommendation/utils/partnerScope.js +25 -0
  74. package/dist/extensions/Blocks/Recommendation/utils/strategyCommit.js +24 -0
  75. package/dist/extensions/Blocks/Recommendation/validation/requiredFields.js +21 -12
  76. package/dist/guido.css +1 -1
  77. package/dist/services/recommendationApi.js +46 -37
  78. package/dist/sprite.svg +0 -6
  79. package/dist/src/@types/config/schemas.d.ts +32 -2
  80. package/dist/src/components/organisms/AutoSaveController.vue.d.ts +1 -3
  81. package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +3 -1
  82. package/dist/src/components/organisms/header/RightSlot.vue.d.ts +3 -1
  83. package/dist/src/components/wrappers/WpModal.vue.d.ts +5 -1
  84. package/dist/src/composables/useActionsApi.d.ts +2 -2
  85. package/dist/src/composables/useAuthError.d.ts +12 -0
  86. package/dist/src/composables/useConfig.d.ts +6 -2
  87. package/dist/src/composables/useGuidoActions.d.ts +2 -0
  88. package/dist/src/composables/useHttp.d.ts +2 -0
  89. package/dist/src/composables/useLegacyStrategyConversion.d.ts +3 -0
  90. package/dist/src/config/migrator/index.d.ts +2 -1
  91. package/dist/src/config/migrator/recommendationPartnerMigrator.d.ts +19 -0
  92. package/dist/src/enums/extensions/recommendationBlock.d.ts +7 -1
  93. package/dist/src/extensions/Blocks/Items/constants/cardLayout.d.ts +44 -0
  94. package/dist/src/extensions/Blocks/Items/enums/productEnums.d.ts +3 -0
  95. package/dist/src/extensions/Blocks/Items/template.d.ts +19 -0
  96. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +11 -0
  97. package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +1 -0
  98. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
  99. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +2 -0
  100. package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +10 -0
  101. package/dist/src/extensions/Blocks/Recommendation/controls/main/utils.d.ts +7 -2
  102. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +162 -1
  103. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +5 -2
  104. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +6 -0
  105. package/dist/src/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.d.ts +32 -0
  106. package/dist/src/extensions/Blocks/Recommendation/utils/partnerScope.d.ts +33 -0
  107. package/dist/src/extensions/Blocks/Recommendation/utils/strategyCommit.d.ts +14 -0
  108. package/dist/src/extensions/Blocks/Recommendation/validation/requiredFields.d.ts +4 -0
  109. package/dist/src/mock/cortexChatStore.d.ts +12 -0
  110. package/dist/src/services/recommendationApi.d.ts +2 -1
  111. package/dist/src/stores/config.d.ts +342 -18
  112. package/dist/src/stores/editor.d.ts +0 -109
  113. package/dist/src/stores/onboarding.d.ts +288 -201
  114. package/dist/src/stores/recommendation.d.ts +5 -0
  115. package/dist/src/stores/version-history.d.ts +1 -1
  116. package/dist/src/utils/dateUtil.d.ts +10 -0
  117. package/dist/src/utils/fluidImageStyle.d.ts +7 -0
  118. package/dist/src/utils/genericUtil.d.ts +3 -0
  119. package/dist/src/utils/stripoEditorApi.d.ts +4 -0
  120. package/dist/src/utils/timeUtil.d.ts +0 -5
  121. package/dist/static/assets/icons/filled-arrow-rising.svg.js +5 -0
  122. package/dist/static/assets/icons/line-info.svg.js +5 -0
  123. package/dist/static/styles/components/recommendation-strategy.css.js +113 -9
  124. package/dist/static/styles/components/skeleton.css.js +23 -0
  125. package/dist/static/styles/components/version-history.css.js +2 -6
  126. package/dist/static/styles/variables.css.js +0 -2
  127. package/dist/stores/config.js +74 -60
  128. package/dist/stores/editor.js +4 -7
  129. package/dist/stores/onboarding.js +34 -42
  130. package/dist/stores/unsubscribe.js +3 -3
  131. package/dist/utils/fluidImageStyle.js +26 -0
  132. package/dist/utils/pairProductVariables.js +71 -71
  133. package/dist/utils/stripoEditorApi.js +11 -0
  134. package/dist/utils/templatePreparation.js +55 -55
  135. package/dist/utils/timeUtil.js +17 -6
  136. package/package.json +2 -1
  137. package/dist/components/organisms/header/AutoSaveStatus.vue.js +0 -17
  138. package/dist/components/organisms/header/AutoSaveStatus.vue2.js +0 -25
  139. package/dist/components/organisms/header/EditorActionsMenu.vue.js +0 -20
  140. package/dist/components/organisms/header/EditorActionsMenu.vue2.js +0 -98
  141. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +0 -18
  142. package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +0 -37
  143. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +0 -22
  144. package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +0 -48
  145. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +0 -19
  146. package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +0 -90
  147. package/dist/composables/useAccessibilityApi.js +0 -35
  148. package/dist/src/composables/useAccessibilityApi.d.ts +0 -15
  149. package/dist/static/styles/components/accessibility.css.js +0 -234
  150. /package/dist/src/components/organisms/{header/AutoSaveStatus.vue.d.ts → base/AuthErrorModal.vue.d.ts} +0 -0
  151. /package/dist/src/components/organisms/{header/EditorActionsMenu.vue.d.ts → extensions/recommendation/LegacyStrategyUpdatedModal.vue.d.ts} +0 -0
  152. /package/dist/src/components/organisms/header/{accessibility/AccessibilityToolbar.vue.d.ts → AutoSaveToggle.vue.d.ts} +0 -0
  153. /package/dist/src/components/organisms/{header/accessibility/ColorVisionSelect.vue.d.ts → onboarding/RecommendationLegacyStrategyOnboarding.vue.d.ts} +0 -0
  154. /package/dist/src/components/organisms/onboarding/{EditorTabBarOnboarding.vue.d.ts → RecommendationStrategyOnboarding.vue.d.ts} +0 -0
@@ -1,48 +1,62 @@
1
- import { defineComponent as C, ref as S } from "vue";
2
- import { useActionsApi as T } from "../../../composables/useActionsApi.js";
3
- import { useConfig as M } from "../../../composables/useConfig.js";
4
- import { useTestEmailClick as w } from "../../../composables/useGuidoActions.js";
5
- import { useHtmlCompiler as x } from "../../../composables/useHtmlCompiler.js";
6
- import { useSave as A } from "../../../composables/useSave.js";
7
- import { useToaster as F } from "../../../composables/useToaster.js";
8
- import { useTranslations as V } from "../../../composables/useTranslations.js";
9
- import { useLiquidValidator as q } from "../../../composables/validators/useLiquidValidator.js";
10
- import { useEditorStore as H } from "../../../stores/editor.js";
11
- import { useTemplateStore as k } from "../../../stores/template.js";
12
- import { getTooltipOptions as L } from "../../../utils/tooltipUtils.js";
13
- import { InButtonV2 as R } from "@useinsider/design-system-vue";
14
- import { storeToRefs as b } from "pinia";
15
- import z from "./EditorActionsMenu.vue.js";
16
- import B from "./MigrationConfirmModal.vue.js";
17
- const ot = /* @__PURE__ */ C({
1
+ import { defineComponent as q, ref as n, computed as x } from "vue";
2
+ import { useActionsApi as b } from "../../../composables/useActionsApi.js";
3
+ import { useConfig as k } from "../../../composables/useConfig.js";
4
+ import { useExport as B } from "../../../composables/useExport.js";
5
+ import { useTestEmailClick as D } from "../../../composables/useGuidoActions.js";
6
+ import { useHtmlCompiler as L } from "../../../composables/useHtmlCompiler.js";
7
+ import { useSave as R } from "../../../composables/useSave.js";
8
+ import { useToaster as z } from "../../../composables/useToaster.js";
9
+ import { useTranslations as I } from "../../../composables/useTranslations.js";
10
+ import { useVersionHistoryApi as P } from "../../../composables/useVersionHistoryApi.js";
11
+ import { useLiquidValidator as j } from "../../../composables/validators/useLiquidValidator.js";
12
+ import { useEditorStore as G } from "../../../stores/editor.js";
13
+ import { useTemplateStore as J } from "../../../stores/template.js";
14
+ import { getTooltipOptions as K } from "../../../utils/tooltipUtils.js";
15
+ import { InButtonV2 as N } from "@useinsider/design-system-vue";
16
+ import { storeToRefs as Q } from "pinia";
17
+ import U from "./MigrationConfirmModal.vue.js";
18
+ const ft = /* @__PURE__ */ q({
18
19
  __name: "EditorActions",
19
- setup(D, { expose: E }) {
20
- const { config: h, isFeatureEnabled: s } = M(), { save: n } = A(), { getCompiledEmail: m } = T(), { compileHtml: l } = x(), { validateLiquidSyntax: f } = q(), { handleError: r } = F(), e = H(), u = k(), { hasMigrations: c } = b(u), y = V(), a = S(!1), p = S(), d = w(), g = async (t) => {
20
+ setup(W, { expose: w }) {
21
+ const { config: l, isFeatureEnabled: m } = k(), { exportHtml: c } = B(), { save: p } = R(), { openVersionHistory: u, closeVersionHistory: f } = P(), { getCompiledEmail: d } = b(), { compileHtml: v } = L(), { validateLiquidSyntax: y } = j(), { handleError: r } = z(), e = G(), g = J(), { hasMigrations: S } = Q(g), s = I(), i = n(!1), a = n(!1), H = n(), h = D(), _ = () => {
22
+ if (e.isVersionHistoryOpen) {
23
+ f();
24
+ return;
25
+ }
26
+ u();
27
+ }, C = async () => {
28
+ i.value = !0, await c(), i.value = !1;
29
+ }, A = () => {
30
+ e.isSaveAsTemplateDrawerOpen = !0;
31
+ }, M = x(() => e.isVersionHistoryOpen ? s("newsletter.close-version-history") : s("newsletter.version-history")), O = x(
32
+ () => {
33
+ var t, o;
34
+ return ((o = (t = l.value) == null ? void 0 : t.features) == null ? void 0 : o.versionHistory) && !e.isPreviewModeOpen;
35
+ }
36
+ ), V = async (t) => {
21
37
  a.value = !0, t || (e.loadingStatus = !0);
22
38
  let o;
23
39
  try {
24
- o = await n(t);
25
- } catch (i) {
26
- if (t)
27
- throw i;
28
- r(i, "Failed to save template");
40
+ o = await p(t);
41
+ } catch (T) {
42
+ r(T, "Failed to save template");
29
43
  } finally {
30
44
  a.value = !1, !t && !o && (e.loadingStatus = !1);
31
45
  }
32
46
  return o;
33
- }, v = (t) => {
47
+ }, E = (t) => {
34
48
  var o;
35
- if (!t && c.value) {
36
- (o = p.value) == null || o.open();
49
+ if (!t && S.value) {
50
+ (o = H.value) == null || o.open();
37
51
  return;
38
52
  }
39
- return g(t);
40
- }, _ = async () => {
41
- if (s("liquidSyntax")) {
53
+ return V(t);
54
+ }, F = async () => {
55
+ if (m("liquidSyntax")) {
42
56
  e.loadingStatus = !0;
43
57
  try {
44
- const { html: t } = await m({ minimize: !0, resetDataSavedFlag: !1 }), { compiledHtml: o } = l(t);
45
- if (!await f(o))
58
+ const { html: t } = await d({ minimize: !0, resetDataSavedFlag: !1 }), { compiledHtml: o } = v(t);
59
+ if (!await y(o))
46
60
  return;
47
61
  } catch (t) {
48
62
  r(t, "Failed to prepare test email");
@@ -51,13 +65,13 @@ const ot = /* @__PURE__ */ C({
51
65
  e.loadingStatus = !1;
52
66
  }
53
67
  }
54
- d();
68
+ h();
55
69
  };
56
- return E({
57
- handleSave: v
58
- }), { __sfc: !0, config: h, isFeatureEnabled: s, save: n, getCompiledEmail: m, compileHtml: l, validateLiquidSyntax: f, handleError: r, editorStore: e, templateStore: u, hasMigrations: c, trans: y, isSaving: a, migrationModalRef: p, testEmailClick: d, executeSave: g, handleSave: v, handleTestEmail: _, getTooltipOptions: L, InButtonV2: R, EditorActionsMenu: z, MigrationConfirmModal: B };
70
+ return w({
71
+ handleSave: E
72
+ }), { __sfc: !0, config: l, isFeatureEnabled: m, exportHtml: c, save: p, openVersionHistory: u, closeVersionHistory: f, getCompiledEmail: d, compileHtml: v, validateLiquidSyntax: y, handleError: r, editorStore: e, templateStore: g, hasMigrations: S, trans: s, isExporting: i, isSaving: a, migrationModalRef: H, testEmailClick: h, handleVersionHistory: _, handleExport: C, handleSaveAs: A, versionHistoryTooltipText: M, isVersionHistoryButtonVisible: O, executeSave: V, handleSave: E, handleTestEmail: F, getTooltipOptions: K, InButtonV2: N, MigrationConfirmModal: U };
59
73
  }
60
74
  });
61
75
  export {
62
- ot as default
76
+ ft as default
63
77
  };
@@ -3,16 +3,16 @@ import o from "./HeaderWrapper.vue2.js";
3
3
  import a from "../../../_virtual/_plugin-vue2_normalizer.js";
4
4
  var s = function() {
5
5
  var t = this, r = t._self._c, e = t._self._setupProxy;
6
- return r(e.InContainer, { attrs: { border: "bor-w-0 bor-b-w-1 bor-s-s bor-c-6", "border-radius": "bor-r-0", "data-testid": "guido-header" } }, [r("div", { staticClass: "header-wrapper w-1 d-f a-i-c j-c-s-b p-3" }, [r(e.LeftSlot), r(e.MiddleSlot), r(e.RightSlot)], 1)]);
7
- }, n = [], d = /* @__PURE__ */ a(
6
+ return r(e.InContainer, { attrs: { border: "bor-w-0 bor-b-w-1 bor-s-s bor-c-6", "border-radius": "bor-r-0", "data-testid": "guido-header" } }, [r("div", { staticClass: "header-wrapper w-1 d-f a-i-c j-c-s-b p-3" }, [r(e.LeftSlot), r(e.MiddleSlot), r(e.RightSlot, { ref: "rightSlotRef" })], 1)]);
7
+ }, d = [], i = /* @__PURE__ */ a(
8
8
  o,
9
9
  s,
10
- n,
10
+ d,
11
11
  !1,
12
12
  null,
13
- "3c713746"
13
+ "d11dd577"
14
14
  );
15
- const f = d.exports;
15
+ const c = i.exports;
16
16
  export {
17
- f as default
17
+ c as default
18
18
  };
@@ -1,14 +1,22 @@
1
- import { defineComponent as o } from "vue";
2
- import { InContainer as r } from "@useinsider/design-system-vue";
3
- import t from "./LeftSlot.vue.js";
4
- import e from "./MiddleSlot.vue.js";
5
- import m from "./RightSlot.vue.js";
6
- const s = /* @__PURE__ */ o({
1
+ import { defineComponent as n, ref as m } from "vue";
2
+ import { InContainer as a } from "@useinsider/design-system-vue";
3
+ import f from "./LeftSlot.vue.js";
4
+ import p from "./MiddleSlot.vue.js";
5
+ import i from "./RightSlot.vue.js";
6
+ const c = /* @__PURE__ */ n({
7
7
  __name: "HeaderWrapper",
8
- setup(p) {
9
- return { __sfc: !0, InContainer: r, LeftSlot: t, MiddleSlot: e, RightSlot: m };
8
+ setup(l, { expose: r }) {
9
+ const e = m(null);
10
+ return r({
11
+ // Stryker disable next-line OptionalChaining: RightSlot is always rendered (no
12
+ // v-if), so rightSlotRef.value is never null and `?.` cannot short-circuit.
13
+ handleSave: (t) => {
14
+ var o;
15
+ return (o = e.value) == null ? void 0 : o.handleSave(t);
16
+ }
17
+ }), { __sfc: !0, rightSlotRef: e, InContainer: a, LeftSlot: f, MiddleSlot: p, RightSlot: i };
10
18
  }
11
19
  });
12
20
  export {
13
- s as default
21
+ c as default
14
22
  };
@@ -1,16 +1,16 @@
1
1
  import o from "./LeftSlot.vue2.js";
2
2
  /* empty css */
3
- import n from "../../../_virtual/_plugin-vue2_normalizer.js";
4
- var a = function() {
3
+ import a from "../../../_virtual/_plugin-vue2_normalizer.js";
4
+ var n = function() {
5
5
  var e = this, s = e._self._c, t = e._self._setupProxy;
6
6
  return s("div", { staticClass: "d-f a-i-c" }, [s(t.InButtonV2, { attrs: { id: "guido__back-button", "left-icon": "line-arrow-left", styling: "ghost", type: "secondary", "disabled-status": t.isBackButtonDisabled, "label-text": t.backButtonLabel, "skeleton-sizing": { width: 150, height: 26 }, "skeleton-status": t.editorStore.loadingStatus }, on: { click: t.handleBackClick } })], 1);
7
- }, i = [], r = /* @__PURE__ */ n(
7
+ }, i = [], r = /* @__PURE__ */ a(
8
8
  o,
9
- a,
9
+ n,
10
10
  i,
11
11
  !1,
12
12
  null,
13
- "15610de9"
13
+ "73199fa4"
14
14
  );
15
15
  const f = r.exports;
16
16
  export {
@@ -1,45 +1,36 @@
1
- import { defineComponent as p, computed as d, ref as b } from "vue";
2
- import { useAccessibilityApi as k } from "../../../composables/useAccessibilityApi.js";
3
- import { useConfig as B } from "../../../composables/useConfig.js";
4
- import { useBack as y } from "../../../composables/useGuidoActions.js";
5
- import { usePreviewMode as v } from "../../../composables/usePreviewMode.js";
6
- import { useTranslations as A } from "../../../composables/useTranslations.js";
1
+ import { defineComponent as l, computed as p, ref as d } from "vue";
2
+ import { useConfig as k } from "../../../composables/useConfig.js";
3
+ import { useBack as B } from "../../../composables/useGuidoActions.js";
4
+ import { usePreviewMode as b } from "../../../composables/usePreviewMode.js";
5
+ import { useTranslations as v } from "../../../composables/useTranslations.js";
7
6
  import { useVersionHistoryApi as _ } from "../../../composables/useVersionHistoryApi.js";
8
- import { useEditorStore as g } from "../../../stores/editor.js";
9
- import { InButtonV2 as O } from "@useinsider/design-system-vue";
10
- import { useDebounceFn as M } from "../../../node_modules/@vueuse/shared/index.js";
11
- const F = /* @__PURE__ */ p({
7
+ import { useEditorStore as V } from "../../../stores/editor.js";
8
+ import { InButtonV2 as w } from "@useinsider/design-system-vue";
9
+ import { useDebounceFn as y } from "../../../node_modules/@vueuse/shared/index.js";
10
+ const D = /* @__PURE__ */ l({
12
11
  __name: "LeftSlot",
13
- setup(V) {
14
- const e = g(), s = y(), { closeVersionHistory: r } = _(), { closePreviewMode: n } = v(), { closeAccessibilityTestingMode: c } = k(), o = A(), { config: t } = B(), m = d(() => {
15
- var l, f;
16
- return e.isVersionHistoryOpen || e.isPreviewModeOpen || e.isAccessibilityTestingOpen ? o("email-editor.back-to-editor") : (f = (l = t.value) == null ? void 0 : l.ui) != null && f.backButtonLabel ? t.value.ui.backButtonLabel : o("email-editor.back-to-design");
17
- }), i = b(!1), a = () => {
12
+ setup(C) {
13
+ const e = V(), i = B(), { closeVersionHistory: n } = _(), { closePreviewMode: s } = b(), o = v(), { config: t } = k(), f = p(() => {
14
+ var u, m;
15
+ return e.isVersionHistoryOpen || e.isPreviewModeOpen ? o("email-editor.back-to-editor") : (m = (u = t.value) == null ? void 0 : u.ui) != null && m.backButtonLabel ? t.value.ui.backButtonLabel : o("email-editor.back-to-design");
16
+ }), r = d(!1), c = () => {
18
17
  if (e.isVersionHistoryOpen) {
19
- r();
20
- return;
21
- }
22
- if (e.isPreviewModeOpen) {
23
18
  n();
24
19
  return;
25
20
  }
26
- if (e.isAccessibilityTestingOpen) {
27
- c();
21
+ if (e.isPreviewModeOpen) {
22
+ s();
28
23
  return;
29
24
  }
30
- s();
31
- }, u = M(() => {
32
- try {
33
- a();
34
- } finally {
35
- i.value = !1;
36
- }
25
+ i();
26
+ }, a = y(() => {
27
+ c(), r.value = !1;
37
28
  }, 500);
38
- return { __sfc: !0, editorStore: e, handleBack: s, closeVersionHistory: r, closePreviewMode: n, closeAccessibilityTestingMode: c, trans: o, config: t, backButtonLabel: m, isBackButtonDisabled: i, executeBackAction: a, debouncedBackAction: u, handleBackClick: () => {
39
- i.value = !0, u();
40
- }, InButtonV2: O };
29
+ return { __sfc: !0, editorStore: e, handleBack: i, closeVersionHistory: n, closePreviewMode: s, trans: o, config: t, backButtonLabel: f, isBackButtonDisabled: r, executeBackAction: c, debouncedBackAction: a, handleBackClick: () => {
30
+ r.value = !0, a();
31
+ }, InButtonV2: w };
41
32
  }
42
33
  });
43
34
  export {
44
- F as default
35
+ D as default
45
36
  };
@@ -1,8 +1,8 @@
1
1
  import r from "./MiddleSlot.vue2.js";
2
2
  import s from "../../../_virtual/_plugin-vue2_normalizer.js";
3
3
  var t = function() {
4
- var o = this, i = o._self._c, e = o._self._setupProxy;
5
- return i("div", { staticClass: "d-f a-i-c" }, [e.editorStore.isVersionHistoryOpen ? i("div", { staticClass: "d-f" }, [i(e.VersionHistory), i(e.VersionHistoryViewOptions)], 1) : e.editorStore.isPreviewModeOpen ? i("div", { staticClass: "d-f" }, [i(e.EmailSizeIndicator), i(e.AmpToggle)], 1) : e.editorStore.isAccessibilityTestingOpen ? i(e.AccessibilityToolbar) : o._e(), i(e.EditorToolbar, { directives: [{ name: "show", rawName: "v-show", value: e.editorStore.isEditorToolbarVisible, expression: "editorStore.isEditorToolbarVisible" }] })], 1);
4
+ var o = this, e = o._self._c, i = o._self._setupProxy;
5
+ return e("div", { staticClass: "d-f a-i-c" }, [i.editorStore.isVersionHistoryOpen ? e("div", { staticClass: "d-f" }, [e(i.VersionHistory), e(i.VersionHistoryViewOptions)], 1) : i.editorStore.isPreviewModeOpen ? e("div", { staticClass: "d-f" }, [e(i.EmailSizeIndicator), e(i.AmpToggle)], 1) : o._e(), e(i.EditorToolbar, { directives: [{ name: "show", rawName: "v-show", value: i.editorStore.isEditorToolbarVisible, expression: "editorStore.isEditorToolbarVisible" }] })], 1);
6
6
  }, a = [], n = /* @__PURE__ */ s(
7
7
  r,
8
8
  t,
@@ -11,7 +11,7 @@ var t = function() {
11
11
  null,
12
12
  null
13
13
  );
14
- const _ = n.exports;
14
+ const c = n.exports;
15
15
  export {
16
- _ as default
16
+ c as default
17
17
  };
@@ -2,16 +2,15 @@ import { defineComponent as o } from "vue";
2
2
  import r from "../email-preview/amp/AmpToggle.vue.js";
3
3
  import t from "../email-preview/desktop-preview/EmailSizeIndicator.vue.js";
4
4
  import { useEditorStore as i } from "../../../stores/editor.js";
5
- import e from "./accessibility/AccessibilityToolbar.vue.js";
6
- import m from "./EditorToolbar.vue.js";
7
- import p from "./version-history/VersionHistory.vue.js";
8
- import s from "./version-history/ViewOptions.vue.js";
9
- const y = /* @__PURE__ */ o({
5
+ import e from "./EditorToolbar.vue.js";
6
+ import m from "./version-history/VersionHistory.vue.js";
7
+ import p from "./version-history/ViewOptions.vue.js";
8
+ const S = /* @__PURE__ */ o({
10
9
  __name: "MiddleSlot",
11
- setup(f) {
12
- return { __sfc: !0, editorStore: i(), AmpToggle: r, EmailSizeIndicator: t, AccessibilityToolbar: e, EditorToolbar: m, VersionHistory: p, VersionHistoryViewOptions: s };
10
+ setup(s) {
11
+ return { __sfc: !0, editorStore: i(), AmpToggle: r, EmailSizeIndicator: t, EditorToolbar: e, VersionHistory: m, VersionHistoryViewOptions: p };
13
12
  }
14
13
  });
15
14
  export {
16
- y as default
15
+ S as default
17
16
  };
@@ -1,18 +1,17 @@
1
- import i from "./RightSlot.vue2.js";
2
- /* empty css */
1
+ import s from "./RightSlot.vue2.js";
3
2
  import o from "../../../_virtual/_plugin-vue2_normalizer.js";
4
3
  var r = function() {
5
- var e = this, s = e._self._c, t = e._self._setupProxy;
6
- return s("div", { staticClass: "d-f a-i-c right-slot" }, [t.isNormalMode ? s(t.AutoSaveStatus) : e._e(), t.isLiquidEnabled && t.isNormalMode ? s(t.InChips, { attrs: { id: "guido__liquid-tag-chip", styles: "stroke", type: "default", value: "liquid-tags", "close-button": !1, "disabled-status": t.editorStore.loadingStatus, interactive: !1, text: t.trans("email-editor.liquid-tags-enabled") } }) : e._e(), t.isNormalMode ? s(t.EditorActions) : t.editorStore.isVersionHistoryOpen ? s(t.RestoreButton) : e._e()], 1);
7
- }, a = [], l = /* @__PURE__ */ o(
8
- i,
4
+ var i = this, e = i._self._c, t = i._self._setupProxy;
5
+ return e("div", { staticClass: "d-f a-i-c" }, [t.editorStore.isVersionHistoryOpen ? i._e() : e(t.AutoSaveToggle), t.isLiquidEnabled && !t.editorStore.isVersionHistoryOpen ? e(t.InChips, { staticClass: "mr-1", attrs: { id: "guido__liquid-tag-chip", styles: "stroke", type: "default", value: "liquid-tags", "close-button": !1, "disabled-status": t.editorStore.loadingStatus, interactive: !1, text: t.trans("email-editor.liquid-tags-enabled") } }) : i._e(), t.editorStore.isVersionHistoryOpen ? e(t.RestoreButton) : e(t.EditorActions, { ref: "editorActionsRef" })], 1);
6
+ }, a = [], n = /* @__PURE__ */ o(
7
+ s,
9
8
  r,
10
9
  a,
11
10
  !1,
12
11
  null,
13
- "efc32e0d"
12
+ null
14
13
  );
15
- const c = l.exports;
14
+ const u = n.exports;
16
15
  export {
17
- c as default
16
+ u as default
18
17
  };
@@ -1,18 +1,23 @@
1
- import { defineComponent as m, computed as r } from "vue";
2
- import { useConfig as n } from "../../../composables/useConfig.js";
3
- import { useTranslations as a } from "../../../composables/useTranslations.js";
4
- import { useEditorStore as p } from "../../../stores/editor.js";
5
- import { InChips as u } from "@useinsider/design-system-vue";
6
- import f from "./AutoSaveStatus.vue.js";
7
- import d from "./EditorActions.vue.js";
8
- import c from "./version-history/RestoreButton.vue.js";
9
- const x = /* @__PURE__ */ m({
1
+ import { defineComponent as a, ref as f, computed as p } from "vue";
2
+ import { useConfig as u } from "../../../composables/useConfig.js";
3
+ import { useTranslations as d } from "../../../composables/useTranslations.js";
4
+ import { useEditorStore as l } from "../../../stores/editor.js";
5
+ import { InChips as c } from "@useinsider/design-system-vue";
6
+ import _ from "./AutoSaveToggle.vue.js";
7
+ import S from "./EditorActions.vue.js";
8
+ import g from "./version-history/RestoreButton.vue.js";
9
+ const T = /* @__PURE__ */ a({
10
10
  __name: "RightSlot",
11
- setup(l) {
12
- const { isFeatureEnabled: o } = n(), i = a(), t = p(), e = r(() => o("liquidSyntax")), s = r(() => t.isNormalMode);
13
- return { __sfc: !0, isFeatureEnabled: o, trans: i, editorStore: t, isLiquidEnabled: e, isNormalMode: s, InChips: u, AutoSaveStatus: f, EditorActions: d, RestoreButton: c };
11
+ setup(h, { expose: r }) {
12
+ const { isFeatureEnabled: o } = u(), i = d(), n = l(), t = f(null), s = p(() => o("liquidSyntax"));
13
+ return r({
14
+ handleSave: (m) => {
15
+ var e;
16
+ return (e = t.value) == null ? void 0 : e.handleSave(m);
17
+ }
18
+ }), { __sfc: !0, isFeatureEnabled: o, trans: i, editorStore: n, editorActionsRef: t, isLiquidEnabled: s, InChips: c, AutoSaveToggle: _, EditorActions: S, RestoreButton: g };
14
19
  }
15
20
  });
16
21
  export {
17
- x as default
22
+ T as default
18
23
  };
@@ -1,21 +1,21 @@
1
- import o from "./OnboardingWrapper.vue2.js";
2
- import s from "../../../_virtual/_plugin-vue2_normalizer.js";
3
- var _ = function() {
4
- var n = this, r = n._self._c, t = n._self._setupProxy;
5
- return r("div", n._l(t.visibleOnboardings, function(e) {
6
- return r(e.component, { key: e.type, tag: "component", on: { "onboarding-finished": function(l) {
7
- return t.handleFinished(e.type);
1
+ import t from "./OnboardingWrapper.vue2.js";
2
+ import i from "../../../_virtual/_plugin-vue2_normalizer.js";
3
+ var s = function() {
4
+ var n = this, e = n._self._c, r = n._self._setupProxy;
5
+ return e("div", n._l(r.visibleOnboardings, function(o) {
6
+ return e(o.component, { key: o.type, tag: "component", on: { "onboarding-finished": function(p) {
7
+ return r.emit("onboarding-finished");
8
8
  } } });
9
9
  }), 1);
10
- }, i = [], a = /* @__PURE__ */ s(
11
- o,
10
+ }, _ = [], a = /* @__PURE__ */ i(
11
+ t,
12
+ s,
12
13
  _,
13
- i,
14
14
  !1,
15
15
  null,
16
16
  null
17
17
  );
18
- const f = a.exports;
18
+ const d = a.exports;
19
19
  export {
20
- f as default
20
+ d as default
21
21
  };
@@ -1,64 +1,50 @@
1
- import { defineComponent as h, computed as r, onMounted as S, watch as e, ref as w } from "vue";
2
- import T from "./AMPOnboarding.vue.js";
3
- import y from "./EditorTabBarOnboarding.vue.js";
4
- import P from "./GenericOnboarding.vue.js";
5
- import B from "./ItemsOnboarding.vue.js";
6
- import A from "./NewVersionPopup.vue.js";
7
- import M from "./TextBlockOnboarding.vue.js";
8
- import _ from "./VersionHistoryOnboarding.vue.js";
9
- import { useConfig as H } from "../../../composables/useConfig.js";
10
- import { usePartner as F } from "../../../composables/usePartner.js";
11
- import { useEditorStore as V } from "../../../stores/editor.js";
12
- import { useOnboardingStore as C } from "../../../stores/onboarding.js";
13
- import { usePreviewStore as x } from "../../../stores/preview.js";
14
- const L = /* @__PURE__ */ h({
1
+ import { defineComponent as f, computed as e, onMounted as O, watch as t } from "vue";
2
+ import y from "./AMPOnboarding.vue.js";
3
+ import u from "./GenericOnboarding.vue.js";
4
+ import v from "./ItemsOnboarding.vue.js";
5
+ import S from "./NewVersionPopup.vue.js";
6
+ import l from "./RecommendationLegacyStrategyOnboarding.vue.js";
7
+ import h from "./RecommendationStrategyOnboarding.vue.js";
8
+ import w from "./TextBlockOnboarding.vue.js";
9
+ import P from "./VersionHistoryOnboarding.vue.js";
10
+ import { usePartner as _ } from "../../../composables/usePartner.js";
11
+ import { useEditorStore as A } from "../../../stores/editor.js";
12
+ import { useOnboardingStore as H } from "../../../stores/onboarding.js";
13
+ import { usePreviewStore as M } from "../../../stores/preview.js";
14
+ const U = /* @__PURE__ */ f({
15
15
  __name: "OnboardingWrapper",
16
16
  emits: ["onboarding-finished"],
17
- setup(E, { emit: b }) {
18
- const o = C(), n = V(), c = x(), { isTestPartner: m } = F(), { isFeatureEnabled: g } = H(), s = r(() => n.isStripoInitialized), a = r(() => m()), f = [
19
- { type: "newVersionPopup", component: A },
20
- { type: "genericOnboarding", component: P },
21
- { type: "textBlockOnboarding", component: M },
22
- { type: "versionHistoryOnboarding", component: _ },
23
- { type: "ampOnboarding", component: T },
24
- { type: "itemsOnboarding", component: B },
25
- { type: "editorTabBarOnboarding", component: y }
26
- ], O = (i) => a.value || !s.value ? !1 : i === "newVersionPopup" ? o.shouldShowOnboarding(i) : o.isActive(i), l = r(() => f.filter((i) => O(i.type)));
27
- S(async () => {
17
+ setup(x, { emit: g }) {
18
+ const o = H(), r = A(), a = M(), { isTestPartner: s } = _(), m = e(() => r.isStripoInitialized), p = e(() => s()), d = [
19
+ { type: "newVersionPopup", component: S },
20
+ { type: "genericOnboarding", component: u },
21
+ { type: "textBlockOnboarding", component: w },
22
+ { type: "versionHistoryOnboarding", component: P },
23
+ { type: "ampOnboarding", component: y },
24
+ { type: "itemsOnboarding", component: v },
25
+ { type: "recommendationStrategyOnboarding", component: h },
26
+ { type: "recommendationLegacyStrategyOnboarding", component: l }
27
+ ], c = (n) => p.value || !m.value ? !1 : n === "newVersionPopup" ? o.shouldShowOnboarding(n) : o.isActive(n), b = e(() => d.filter((n) => c(n.type)));
28
+ return O(async () => {
28
29
  await o.fetchUserModalState();
29
- }), e(
30
- () => n.isVersionHistoryOpen,
31
- (i, t) => {
32
- i && !t && (o.isActive("editorTabBarOnboarding") && o.closeForSession("editorTabBarOnboarding"), o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding")), !i && t && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
30
+ }), t(
31
+ () => r.isVersionHistoryOpen,
32
+ (n, i) => {
33
+ n && !i && o.shouldShowOnboarding("versionHistoryOnboarding") && o.start("versionHistoryOnboarding"), !n && i && o.isActive("versionHistoryOnboarding") && o.close("versionHistoryOnboarding");
33
34
  }
34
- ), e(
35
- () => c.emailFormat,
36
- (i, t) => {
37
- t !== "AMP" && i === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
35
+ ), t(
36
+ () => a.emailFormat,
37
+ (n, i) => {
38
+ i !== "AMP" && n === "AMP" && o.shouldShowOnboarding("ampOnboarding") && o.start("ampOnboarding");
38
39
  }
39
- ), e(
40
- () => n.isPreviewModeOpen,
41
- (i) => {
42
- !i && o.isActive("ampOnboarding") && o.close("ampOnboarding");
40
+ ), t(
41
+ () => r.isPreviewModeOpen,
42
+ (n) => {
43
+ !n && o.isActive("ampOnboarding") && o.close("ampOnboarding");
43
44
  }
44
- );
45
- const d = w(!1), v = (i) => {
46
- i === "newVersionPopup" && (d.value = !0), b("onboarding-finished");
47
- }, p = r(() => n.isNormalMode && !n.isPreviewModeOpen), u = r(() => s.value && o.isFetched && g("accessibilityTesting") && !a.value && p.value && !(o.shouldShowOnboarding("newVersionPopup") && !d.value) && !o.isOnboardingActive() && !o.closedThisSession.includes("editorTabBarOnboarding") && o.shouldShowOnboarding("editorTabBarOnboarding"));
48
- return e(
49
- u,
50
- (i) => {
51
- i && o.start("editorTabBarOnboarding");
52
- },
53
- { immediate: !0 }
54
- ), e(
55
- p,
56
- (i) => {
57
- !i && o.isActive("editorTabBarOnboarding") && o.closeForSession("editorTabBarOnboarding");
58
- }
59
- ), { __sfc: !0, emit: b, onboardingStore: o, editorStore: n, previewStore: c, isTestPartner: m, isFeatureEnabled: g, isStripoReady: s, isTestPartnerActive: a, onboardingConfigs: f, shouldShow: O, visibleOnboardings: l, isNewVersionPopupClosed: d, handleFinished: v, isTourAnchored: p, canStartTabBarTour: u };
45
+ ), { __sfc: !0, emit: g, onboardingStore: o, editorStore: r, previewStore: a, isTestPartner: s, isStripoReady: m, isTestPartnerActive: p, onboardingConfigs: d, shouldShow: c, visibleOnboardings: b };
60
46
  }
61
47
  });
62
48
  export {
63
- L as default
49
+ U as default
64
50
  };
@@ -0,0 +1,21 @@
1
+ import s from "./RecommendationLegacyStrategyOnboarding.vue2.js";
2
+ /* empty css */
3
+ import c from "../../../_virtual/_plugin-vue2_normalizer.js";
4
+ var d = function() {
5
+ var t, n, r, a, i;
6
+ var o = this, g = o._self._c, e = o._self._setupProxy;
7
+ return e.isVisible ? g(e.InOnboard, { key: "guido__recommendation-legacy-strategy-onboard", staticClass: "w-21-s p-a z-11", class: (t = e.onboardingStore.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : t.classes, attrs: { id: "guido__recommendation-legacy-strategy-onboard", "is-multiple-page": "", visible: "", "image-source": "", title: "", "left-position": (n = e.onboardingStore.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : n.left, "pages-config": e.onboardingStore.onboardings.recommendationLegacyStrategyOnboarding.config, "pointer-position": (r = e.onboardingStore.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : r.position, "right-position": (a = e.onboardingStore.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : a.right, "top-position": (i = e.onboardingStore.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : i.top }, on: { close: function(p) {
8
+ return e.onboardingStore.close(e.ONBOARDING_TYPE);
9
+ }, nextButtonClick: e.handleNext } }) : o._e();
10
+ }, m = [], l = /* @__PURE__ */ c(
11
+ s,
12
+ d,
13
+ m,
14
+ !1,
15
+ null,
16
+ "19d8cb42"
17
+ );
18
+ const f = l.exports;
19
+ export {
20
+ f as default
21
+ };
@@ -0,0 +1,46 @@
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
+ __name: "RecommendationLegacyStrategyOnboarding",
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
+ {
12
+ classes: "guido-recommendation-legacy-strategy-onboarding",
13
+ right: "40px",
14
+ top: i(485),
15
+ position: "Top Right",
16
+ title: o("email-editor.onboarding-recommendation-strategy-legacy-title"),
17
+ description: o("email-editor.onboarding-recommendation-strategy-legacy-description", {
18
+ academyLink: r
19
+ }),
20
+ imageSource: "",
21
+ backButtonClick: () => {
22
+ },
23
+ nextButtonType: "text",
24
+ nextButtonText: o("action-builder.ok"),
25
+ nextButtonClick: () => {
26
+ t.close(n);
27
+ }
28
+ }
29
+ ], s = g(
30
+ () => t.onboardings.recommendationLegacyStrategyOnboarding.config.length > 0 && t.onboardings.recommendationLegacyStrategyOnboarding.isActive
31
+ ), m = () => {
32
+ var e, c;
33
+ (c = (e = t.getRecommendationLegacyStrategyCurrentCard) == null ? void 0 : e.nextButtonClick) == null || c.call(e);
34
+ };
35
+ return l(
36
+ () => t.isActive(n),
37
+ (e) => {
38
+ e && t.setConfig(n, a());
39
+ },
40
+ { immediate: !0 }
41
+ ), { __sfc: !0, ONBOARDING_TYPE: n, trans: o, onboardingStore: t, getTopPosition: i, academyLink: r, buildOnboardingCards: a, isVisible: s, handleNext: m, InOnboard: f };
42
+ }
43
+ });
44
+ export {
45
+ A as default
46
+ };
@@ -0,0 +1,21 @@
1
+ import d from "./RecommendationStrategyOnboarding.vue2.js";
2
+ /* empty css */
3
+ import g from "../../../_virtual/_plugin-vue2_normalizer.js";
4
+ var m = function() {
5
+ var e, n, r, i, a;
6
+ var t = this, s = t._self._c, o = t._self._setupProxy;
7
+ return o.isVisible ? s(o.InOnboard, { key: "guido__recommendation-strategy-onboard", staticClass: "w-21-s p-a z-11", class: (e = o.onboardingStore.getRecommendationStrategyCurrentCard) == null ? void 0 : e.classes, attrs: { id: "guido__recommendation-strategy-onboard", "is-multiple-page": "", visible: "", "image-source": "", title: "", "left-position": (n = o.onboardingStore.getRecommendationStrategyCurrentCard) == null ? void 0 : n.left, "pages-config": o.onboardingStore.onboardings.recommendationStrategyOnboarding.config, "pointer-position": (r = o.onboardingStore.getRecommendationStrategyCurrentCard) == null ? void 0 : r.position, "right-position": (i = o.onboardingStore.getRecommendationStrategyCurrentCard) == null ? void 0 : i.right, "top-position": (a = o.onboardingStore.getRecommendationStrategyCurrentCard) == null ? void 0 : a.top }, on: { close: function(p) {
8
+ return o.onboardingStore.close(o.ONBOARDING_TYPE);
9
+ }, nextButtonClick: o.handleNext } }) : t._e();
10
+ }, c = [], _ = /* @__PURE__ */ g(
11
+ d,
12
+ m,
13
+ c,
14
+ !1,
15
+ null,
16
+ "ec2027ff"
17
+ );
18
+ const S = _.exports;
19
+ export {
20
+ S as default
21
+ };