@designcrowd/library.brand-page 6.1.6-use-isadminmaker-3 → 6.1.7-ast-preview-test

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 (165) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-t5akeGDG.js → CreatedOnBrandCrowd-de-de-s5PgrS4k.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-D6iRa7UV.js → CreatedOnBrandCrowd-en-us-DialvDTn.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-BHwAxInw.js → CreatedOnBrandCrowd-es-es-CkWPaELu.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DETrOR_X.js → CreatedOnBrandCrowd-fr-ca-DKsU-7B3.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-DETrOR_X.js → CreatedOnBrandCrowd-fr-fr-DKsU-7B3.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CtWsOLWg.js → CreatedOnBrandCrowd-pt-br-_nFRiTF7.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CtWsOLWg.js → CreatedOnBrandCrowd-pt-pt-_nFRiTF7.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-DsEbB4hv.js → CreatedOnDcom-de-de-E3RR9E-W.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-CA3kvbs5.js → CreatedOnDcom-en-us-BaKpfZyU.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-B7o8joWb.js → CreatedOnDcom-es-es-DAKlDkym.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-Yz1cvzRY.js → CreatedOnDcom-fr-ca-COcb6S6R.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-BETGUOnB.js → CreatedOnDcom-fr-fr-kIujhHbs.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-B37QJXKn.js → CreatedOnDcom-pt-br-q7aggQB7.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-DMkIALyd.js → CreatedOnDcom-pt-pt-CWA39oCo.js} +1 -1
  15. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +0 -1
  16. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +1 -4
  17. package/lib/src/brand-page/utils/route.util.d.ts +12 -0
  18. package/lib/src/brand-page/utils/route.util.js +56 -0
  19. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +3 -1
  20. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -4
  21. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +9 -6
  22. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +3 -0
  23. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +7 -9
  24. package/lib/src/brand-page-maker/components/index.d.ts +1 -0
  25. package/lib/src/brand-page-maker/components/index.js +1 -0
  26. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +3 -0
  27. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +3 -0
  28. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +3 -0
  29. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +3 -0
  30. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +3 -0
  31. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +3 -0
  32. package/lib/src/brand-page-maker/constants/sidebar-constant.d.ts +1 -0
  33. package/lib/src/brand-page-maker/constants/sidebar-constant.js +10 -1
  34. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +6 -1
  35. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +6 -0
  36. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +6 -0
  37. package/lib/src/bundled-translations-B4__t_42.js +179 -0
  38. package/lib/src/bundled-translations.de-DE-DZm_F46B.js +179 -0
  39. package/lib/src/bundled-translations.es-ES-DiOMEwZz.js +179 -0
  40. package/lib/src/bundled-translations.fr-CA-BPBNxV69.js +179 -0
  41. package/lib/src/bundled-translations.fr-FR-bCNdWkJW.js +179 -0
  42. package/lib/src/bundled-translations.pt-BR-CC6okekB.js +179 -0
  43. package/lib/src/bundled-translations.pt-PT-CSgMSLFn.js +179 -0
  44. package/lib/src/bundles/bundled-translations.de-DE.json +5 -4
  45. package/lib/src/bundles/bundled-translations.es-ES.json +5 -4
  46. package/lib/src/bundles/bundled-translations.fr-CA.json +5 -4
  47. package/lib/src/bundles/bundled-translations.fr-FR.json +5 -4
  48. package/lib/src/bundles/bundled-translations.json +5 -4
  49. package/lib/src/bundles/bundled-translations.pt-BR.json +5 -4
  50. package/lib/src/bundles/bundled-translations.pt-PT.json +5 -4
  51. package/lib/src/clients/fabric-render-client.d.ts +1 -0
  52. package/lib/src/css/library.brand-page-brandCrowd.min.css +169 -241
  53. package/lib/src/css/library.brand-page-brandPage.min.css +169 -241
  54. package/lib/src/css/library.brand-page-designCom.min.css +169 -241
  55. package/lib/src/css/library.brand-page-preview.min.css +169 -241
  56. package/lib/src/index.d.ts +1 -1
  57. package/lib/src/index.mjs +110 -109
  58. package/lib/src/{lib-BgxxXPxt.js → lib-21Llh7GA.js} +20944 -20915
  59. package/lib/src/lib.js +1 -1
  60. package/lib/src/shared/components/live-preview-modal/live-preview-modal.utils.d.ts +4 -0
  61. package/lib/src/shared/components/live-preview-modal/live-preview-modal.utils.js +3 -0
  62. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +10 -177
  63. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +8 -15
  64. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
  65. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +3 -0
  66. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +0 -1
  67. package/lib/src/shared/content-settings/store/content-settings-store.js +0 -1
  68. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
  69. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +4 -0
  70. package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +2 -0
  71. package/lib/src/shared/logo-settings/store/editable-logo-store.js +20 -1
  72. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +4 -12
  73. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +9 -24
  74. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +4 -0
  75. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +3 -0
  76. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -1
  77. package/lib/src/shared/side-bar/components/SideBar.mixin.js +6 -6
  78. package/lib/src/shared/side-bar/store/side-bar-store.js +15 -2
  79. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +3 -0
  80. package/package.json +1 -1
  81. package/src/brand-page/components/button/Button.vue +41 -18
  82. package/src/brand-page/components/button/Button.vue.test.ts +211 -0
  83. package/src/brand-page/components/images-section/ImagesSection.test.ts +91 -0
  84. package/src/brand-page/components/images-section/ImagesSection.vue +29 -10
  85. package/src/brand-page/components/page-footer/PageFooter.mixin.ts +1 -4
  86. package/src/brand-page/components/page-footer/PageFooter.vue +0 -1
  87. package/src/brand-page/components/payment/Payment.vue +0 -3
  88. package/src/brand-page/components/payment/request-payment/RequestPayment.vue +0 -1
  89. package/src/brand-page/components/payment/support-me/SupportMe.vue +0 -3
  90. package/src/brand-page/components/save-contact/SaveContactWidget.vue +1 -0
  91. package/src/brand-page/components/save-contact/popup-card/PopupCard.vue +1 -0
  92. package/src/brand-page/components/shop/CartModal.test.ts +51 -0
  93. package/src/brand-page/components/shop/CartModal.vue +1 -0
  94. package/src/brand-page/components/shop/FeaturedDisplay.vue +8 -3
  95. package/src/brand-page/components/shop/Shop.vue +5 -5
  96. package/src/brand-page/components/shop/Shop.vue.test.ts +104 -2
  97. package/src/brand-page/components/social-links/SocialLinks.vue +1 -9
  98. package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +28 -8
  99. package/src/brand-page/components/social-links/SocialLinksItems.vue +6 -2
  100. package/src/brand-page/components/testimonial-section/TestimonialSection.vue +2 -2
  101. package/src/brand-page/components/video/Video.vue +0 -3
  102. package/src/brand-page/utils/route.util.test.ts +116 -0
  103. package/src/brand-page/utils/route.util.ts +82 -0
  104. package/src/brand-page-maker/components/action-bar/ActionBarNavigation.test.ts +23 -0
  105. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -4
  106. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.preview-gate.test.ts +68 -3
  107. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +9 -10
  108. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +3 -0
  109. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +8 -12
  110. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.pages-tab.test.ts +78 -0
  111. package/src/brand-page-maker/components/index.ts +1 -0
  112. package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.test.ts +61 -41
  113. package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.vue +37 -42
  114. package/src/brand-page-maker/constants/sidebar-constant.ts +10 -1
  115. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.initialise.test.ts +53 -0
  116. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +20 -1
  117. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +9 -4
  118. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +7 -0
  119. package/src/bundles/bundled-translations.de-DE.json +5 -4
  120. package/src/bundles/bundled-translations.es-ES.json +5 -4
  121. package/src/bundles/bundled-translations.fr-CA.json +5 -4
  122. package/src/bundles/bundled-translations.fr-FR.json +5 -4
  123. package/src/bundles/bundled-translations.json +5 -4
  124. package/src/bundles/bundled-translations.pt-BR.json +5 -4
  125. package/src/bundles/bundled-translations.pt-PT.json +5 -4
  126. package/src/clients/fabric-render-client.ts +5 -0
  127. package/src/lib.ts +1 -0
  128. package/src/{brand-page-maker/components/preview-modal/PreviewModal.test.ts → shared/components/live-preview-modal/LivePreviewModal.test.ts} +96 -3
  129. package/src/{brand-page-maker/components/preview-modal/PreviewModal.vue → shared/components/live-preview-modal/LivePreviewModal.vue} +103 -89
  130. package/src/shared/components/live-preview-modal/i18n/preview-modal.de-DE.json +7 -0
  131. package/src/shared/components/live-preview-modal/i18n/preview-modal.es-ES.json +7 -0
  132. package/src/shared/components/live-preview-modal/i18n/preview-modal.fr-CA.json +7 -0
  133. package/src/shared/components/live-preview-modal/i18n/preview-modal.fr-FR.json +7 -0
  134. package/src/shared/components/live-preview-modal/i18n/preview-modal.json +7 -0
  135. package/src/shared/components/live-preview-modal/i18n/preview-modal.pt-BR.json +7 -0
  136. package/src/shared/components/live-preview-modal/i18n/preview-modal.pt-PT.json +7 -0
  137. package/src/shared/components/live-preview-modal/live-preview-modal.utils.ts +11 -0
  138. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +7 -19
  139. package/src/shared/content-settings/components/content-settings/ContentSettings.pages-tab.test.ts +20 -0
  140. package/src/shared/content-settings/components/content-settings/ContentSettings.vue +1 -8
  141. package/src/shared/content-settings/store/content-settings-store.ts +0 -1
  142. package/src/shared/ecommerce-settings/store/cart-store.test.ts +38 -0
  143. package/src/shared/logo-settings/store/editable-logo-store.test.ts +90 -0
  144. package/src/shared/logo-settings/store/editable-logo-store.ts +28 -1
  145. package/src/shared/page-settings/components/page-settings/PageSettings.image-replace.test.ts +100 -0
  146. package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +14 -31
  147. package/src/shared/page-settings/components/page-settings/PageSettings.vue +11 -7
  148. package/src/shared/side-bar/components/SideBar.landing-tab.test.ts +67 -0
  149. package/src/shared/side-bar/components/SideBar.mixin.ts +6 -6
  150. package/src/shared/side-bar/store/side-bar-store.test.ts +124 -0
  151. package/src/shared/side-bar/store/side-bar-store.ts +17 -2
  152. package/lib/src/bundled-translations-D42tE0D2.js +0 -179
  153. package/lib/src/bundled-translations.de-DE-D9aWGgFt.js +0 -179
  154. package/lib/src/bundled-translations.es-ES-lk4B0xQ7.js +0 -179
  155. package/lib/src/bundled-translations.fr-CA-DhOBNt6q.js +0 -179
  156. package/lib/src/bundled-translations.fr-FR-CnpafQeG.js +0 -179
  157. package/lib/src/bundled-translations.pt-BR-C4PnKrd9.js +0 -179
  158. package/lib/src/bundled-translations.pt-PT-CfKDVQC-.js +0 -179
  159. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.de-DE.json +0 -6
  160. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.es-ES.json +0 -6
  161. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-CA.json +0 -6
  162. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-FR.json +0 -6
  163. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.json +0 -6
  164. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-BR.json +0 -6
  165. package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-PT.json +0 -6
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-BgxxXPxt.js";
2
+ import { _ as t } from "./lib-21Llh7GA.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BgxxXPxt.js";
2
+ import { _ as e } from "./lib-21Llh7GA.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BgxxXPxt.js";
2
+ import { _ as e } from "./lib-21Llh7GA.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BgxxXPxt.js";
2
+ import { _ as e } from "./lib-21Llh7GA.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BgxxXPxt.js";
2
+ import { _ as e } from "./lib-21Llh7GA.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-BgxxXPxt.js";
2
+ import { _ as e } from "./lib-21Llh7GA.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BgxxXPxt.js";
2
+ import { _ as M } from "./lib-21Llh7GA.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as H, createElementBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-BgxxXPxt.js";
2
+ import { _ as M } from "./lib-21Llh7GA.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -20,7 +20,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
20
  default: boolean;
21
21
  };
22
22
  }>, {}, {}, {
23
- isInPreviewMode(): boolean;
24
23
  containerStyle(): BrandPageCssStyle;
25
24
  socialLinksIconStyle(): BrandPageCssStyle;
26
25
  isDisplayStyleCentered(): boolean;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent } from 'vue';
2
- import { getRenderText, isPreviewMode } from '@brand-page/utils';
2
+ import { getRenderText } from '@brand-page/utils';
3
3
  import { FOOTER_DISPLAY } from '../../constants';
4
4
  export default defineComponent({
5
5
  props: {
@@ -23,9 +23,6 @@ export default defineComponent({
23
23
  },
24
24
  emits: ['on-logo-click', 'footer-container-click'],
25
25
  computed: {
26
- isInPreviewMode() {
27
- return isPreviewMode(this.context);
28
- },
29
26
  containerStyle() {
30
27
  return this.viewModel.backgroundStyle;
31
28
  },
@@ -1,3 +1,4 @@
1
+ import type { BrandPageType } from '../models/brand-page-context.model';
1
2
  import type { NavItemViewModel } from '../view-models';
2
3
  export declare const buildRelativePathFromParams: (params: {
3
4
  pageSlug?: string;
@@ -19,5 +20,16 @@ export declare const getRouteParamsByPage: (isCustomDomain: boolean, brandPageSl
19
20
  };
20
21
  export declare const getRouteNameByPageIndex: (isCustomDomain: boolean, pageIndex?: number, isSubPage?: boolean) => string;
21
22
  export declare const findNavItemByPageId: (navItems: NavItemViewModel[], pageId: string) => NavItemViewModel | undefined;
23
+ export declare const findNavItemByOwnSiteUrl: ({ url, navItems, brandPageType, brandPageSlug, customDomain, }: {
24
+ url: string | undefined;
25
+ navItems: NavItemViewModel[];
26
+ brandPageType: BrandPageType;
27
+ brandPageSlug: string;
28
+ customDomain?: string;
29
+ }) => NavItemViewModel | undefined;
30
+ export declare const toRouteLocation: (navItem?: NavItemViewModel) => {
31
+ name: string;
32
+ params: {};
33
+ };
22
34
  export declare const findNavItemByRelativePath: (navItems: NavItemViewModel[], relativePath: string) => NavItemViewModel | undefined;
23
35
  export declare const findNavItemByPageSlug: (navItems: NavItemViewModel[], pageSlug: string) => NavItemViewModel | undefined;
@@ -53,6 +53,62 @@ export const findNavItemByPageId = (navItems, pageId) => {
53
53
  }
54
54
  return undefined;
55
55
  };
56
+ // Keep in sync with web-renderer's `constants/host.constant` + `getProductHostForType`.
57
+ const PRODUCT_HOST_BY_BRAND_PAGE_TYPE = {
58
+ default: 'brand.page',
59
+ brandSite: 'brand.site',
60
+ brandContact: 'brand.contact',
61
+ };
62
+ const bareHost = (hostname) => hostname.replace(/^www\./i, '').toLowerCase();
63
+ // A typed URL can still address a page of THIS site: whole-host on the site's own
64
+ // custom domain, or under its slug on the multi-tenant product domain.
65
+ export const findNavItemByOwnSiteUrl = ({ url, navItems, brandPageType, brandPageSlug, customDomain, }) => {
66
+ if (!url) {
67
+ return undefined;
68
+ }
69
+ let parsed;
70
+ try {
71
+ parsed = new URL(url);
72
+ }
73
+ catch {
74
+ return undefined;
75
+ }
76
+ // A route location carries neither, so converting would silently drop them — leave
77
+ // the author's exact URL to the plain anchor instead.
78
+ if (parsed.search || parsed.hash) {
79
+ return undefined;
80
+ }
81
+ const host = bareHost(parsed.hostname);
82
+ const segments = parsed.pathname.split('/').filter(Boolean);
83
+ const productHost = PRODUCT_HOST_BY_BRAND_PAGE_TYPE[brandPageType];
84
+ // Required by type and always set by in-repo callers, but this now runs on the
85
+ // published-site render path (Button.vue) — degrade gracefully rather than throw
86
+ // if a cross-repo caller ever omits it.
87
+ const slug = brandPageSlug?.trim() ?? '';
88
+ let pagePath;
89
+ if (customDomain && host === bareHost(customDomain)) {
90
+ pagePath = segments.join('/');
91
+ }
92
+ else if (productHost &&
93
+ (host === productHost || host.endsWith(`.${productHost}`)) &&
94
+ slug &&
95
+ segments[0]?.toLowerCase() === slug.toLowerCase()) {
96
+ pagePath = segments.slice(1).join('/');
97
+ }
98
+ if (pagePath === undefined) {
99
+ return undefined;
100
+ }
101
+ return pagePath
102
+ ? findNavItemByRelativePath(navItems, pagePath)
103
+ : navItems.find((item) => item.isRoot);
104
+ };
105
+ // Shared by every caller that resolves a nav item then navigates to it
106
+ // (Button.vue, ImagesSection.vue) — one place to turn "which page" into "where to
107
+ // route", so a resolved nav item is never hand-unpacked into a route object twice.
108
+ export const toRouteLocation = (navItem) => ({
109
+ name: navItem?.routeName || '',
110
+ params: navItem?.routeParams || {},
111
+ });
56
112
  export const findNavItemByRelativePath = (navItems, relativePath) => {
57
113
  for (const item of navItems) {
58
114
  if (item.relativePath === relativePath ||
@@ -59,7 +59,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  selectedTabName: import("vue").ComputedRef<string>;
60
60
  isAdminMaker: import("vue").ComputedRef<boolean>;
61
61
  contentErrorCount: import("vue").ComputedRef<number>;
62
- mode: import("vue").ComputedRef<"images" | "add" | "pages" | "edit" | "focusedContentItem">;
63
62
  brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
64
63
  contentErrorCount(): number;
65
64
  brandPageBaseUrl(): string;
@@ -279,6 +278,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
279
278
  triggerSaveSuccessMessage: boolean;
280
279
  isDesignCom: boolean;
281
280
  isPrePurchase: boolean;
281
+ prePurchaseBrandKitLogoDraftToken: string;
282
282
  makerFonts: any[];
283
283
  eventButtonLocation?: string | undefined;
284
284
  websiteUpsellModalViewModel?: any;
@@ -374,6 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
374
374
  triggerSaveSuccessMessage: boolean;
375
375
  isDesignCom: boolean;
376
376
  isPrePurchase: boolean;
377
+ prePurchaseBrandKitLogoDraftToken: string;
377
378
  makerFonts: any[];
378
379
  eventButtonLocation?: string | undefined;
379
380
  websiteUpsellModalViewModel?: any;
@@ -469,6 +470,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
469
470
  triggerSaveSuccessMessage: boolean;
470
471
  isDesignCom: boolean;
471
472
  isPrePurchase: boolean;
473
+ prePurchaseBrandKitLogoDraftToken: string;
472
474
  makerFonts: any[];
473
475
  eventButtonLocation?: string | undefined;
474
476
  websiteUpsellModalViewModel?: any;
@@ -86,7 +86,6 @@ export default defineComponent({
86
86
  selectedTabName: computed(() => sideBarStore.selectedTabName),
87
87
  isAdminMaker: computed(() => containerStore.isAdminMaker),
88
88
  contentErrorCount: computed(() => contentSettingsStore.contentErrorCount),
89
- mode: computed(() => contentSettingsStore.mode),
90
89
  brandPageMakerStore,
91
90
  uiSideBarStore: sideBarStore,
92
91
  userStore,
@@ -179,9 +178,7 @@ export default defineComponent({
179
178
  }, 0);
180
179
  this.debounceOnResize = debounce(this.onResize, RESIZE_DEBOUNCE_WAIT_IN_MS);
181
180
  this.router.afterEach(((to) => {
182
- if (this.mode !== 'pages') {
183
- this.contentSettingsStore.resetMode();
184
- }
181
+ this.contentSettingsStore.resetMode();
185
182
  const associatedNavItem = findNavItemByRelativePath(this.brandPageViewModel.nav.navItems, buildRelativePathFromParams(to.params));
186
183
  this.pageNavigationStore.setCurrentActivePage({
187
184
  pageId: associatedNavItem?.pageId,
@@ -16,7 +16,8 @@ import { availableButtonStyleConfigs, createInitialBannerSectionContent, createI
16
16
  import { TEMPLATE_CATEGORIES } from '../../../__fixtures__';
17
17
  import { useBrandPageMakerStore } from '@brand-page-maker/stores';
18
18
  import { generalLink, profileContent, textContent, } from './__fixtures__/content-settings-items.fixture';
19
- import { CONTENT_SETTINGS_MODES, useUiContentSettingsStore, } from '@shared/content-settings/store';
19
+ import { useUiContentSettingsStore } from '@shared/content-settings/store';
20
+ import { useUiSideBarStore } from '@shared/side-bar/store';
20
21
  import { createPinia } from 'pinia';
21
22
  import { useUiStore, useBrandPageContainerStore, UNLIMITED_MAX_NUM_OF_PAGES, useBrandPageMakerUserStore, useLogoStore, } from '@brand-page-maker/stores';
22
23
  import { brandPageContentsSampleData } from './__fixtures__/page-content-items';
@@ -242,12 +243,8 @@ Sample.story = {
242
243
  export const SampleDesktopManagePages = () => {
243
244
  const pinia = setupStoryPinia();
244
245
  InitialiseMakerStores({});
245
- const contentSettingsStore = useUiContentSettingsStore();
246
246
  const brandPageMakerStore = useBrandPageMakerStore();
247
247
  const userStore = useBrandPageMakerUserStore();
248
- contentSettingsStore.pushMode({
249
- mode: CONTENT_SETTINGS_MODES.pages,
250
- });
251
248
  brandPageMakerStore.setViewport({
252
249
  viewport: VIEWPORTS.desktop,
253
250
  });
@@ -307,7 +304,13 @@ export const SampleDesktopManagePages = () => {
307
304
  },
308
305
  };
309
306
  },
310
- mounted() { },
307
+ mounted() {
308
+ // Set after mount — SideBar's mounted() picks the default tab, so a
309
+ // pre-mount selection would be overwritten.
310
+ useUiSideBarStore().setSelectedTabName({
311
+ tabName: SIDE_BAR_TAB_NAMES.PAGE_SETTINGS,
312
+ });
313
+ },
311
314
  template: `
312
315
  <BrandPageMaker :view-model="viewModel"/>
313
316
  `,
@@ -722,6 +722,7 @@ declare const _default: import("vue").DefineComponent<{}, {
722
722
  triggerSaveSuccessMessage: boolean;
723
723
  isDesignCom: boolean;
724
724
  isPrePurchase: boolean;
725
+ prePurchaseBrandKitLogoDraftToken: string;
725
726
  makerFonts: any[];
726
727
  eventButtonLocation?: string | undefined;
727
728
  websiteUpsellModalViewModel?: any;
@@ -817,6 +818,7 @@ declare const _default: import("vue").DefineComponent<{}, {
817
818
  triggerSaveSuccessMessage: boolean;
818
819
  isDesignCom: boolean;
819
820
  isPrePurchase: boolean;
821
+ prePurchaseBrandKitLogoDraftToken: string;
820
822
  makerFonts: any[];
821
823
  eventButtonLocation?: string | undefined;
822
824
  websiteUpsellModalViewModel?: any;
@@ -912,6 +914,7 @@ declare const _default: import("vue").DefineComponent<{}, {
912
914
  triggerSaveSuccessMessage: boolean;
913
915
  isDesignCom: boolean;
914
916
  isPrePurchase: boolean;
917
+ prePurchaseBrandKitLogoDraftToken: string;
915
918
  makerFonts: any[];
916
919
  eventButtonLocation?: string | undefined;
917
920
  websiteUpsellModalViewModel?: any;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed } from 'vue';
2
2
  import PageMixin from '@brand-page/components/page/Page.mixin';
3
3
  import { UI_DEVICE_MODES, UI_EVENT_SOURCES } from '@shared/models';
4
- import { CONTENT_SETTINGS_MODES, useUiContentSettingsStore, } from '@shared/content-settings/store';
4
+ import { useUiContentSettingsStore } from '@shared/content-settings/store';
5
5
  import { useBrandPageContainerStore, useBrandPageMakerStore, useUiStore, useBrandPageMakerUserStore, } from '@brand-page-maker/stores';
6
6
  import { getContentSettingsFields, getContentSettingsTemplate, } from '@shared/content-settings/utils';
7
7
  import { useUiNavigationStyleSettingsStore } from '@shared/navigation-style-settings/store';
@@ -255,15 +255,13 @@ export default defineComponent({
255
255
  return;
256
256
  }
257
257
  this.sideBarStore.setSelectedTabName({
258
- tabName: SIDE_BAR_TAB_NAMES.CONTENT_SETTINGS,
258
+ tabName: SIDE_BAR_TAB_NAMES.PAGE_SETTINGS,
259
259
  });
260
+ this.contentSettingsStore.resetMode();
260
261
  this.contentSettingsStore._setSelectedItemId({
261
262
  id: null,
262
263
  eventSource: 'pageSettings',
263
264
  });
264
- this.contentSettingsStore.pushMode({
265
- mode: CONTENT_SETTINGS_MODES.pages,
266
- });
267
265
  this.pageSettingsStore.setSelectedSectionName({
268
266
  sectionName: PAGE_SECTIONS.header,
269
267
  });
@@ -276,15 +274,15 @@ export default defineComponent({
276
274
  return;
277
275
  }
278
276
  this.sideBarStore.setSelectedTabName({
279
- tabName: SIDE_BAR_TAB_NAMES.CONTENT_SETTINGS,
277
+ tabName: SIDE_BAR_TAB_NAMES.PAGE_SETTINGS,
280
278
  });
279
+ // See onPageHeaderContainerClick — same-tab reselection doesn't reset mode
280
+ // in setSelectedTabName, but this click is still a real navigation intent.
281
+ this.contentSettingsStore.resetMode();
281
282
  this.contentSettingsStore._setSelectedItemId({
282
283
  id: null,
283
284
  eventSource: 'pageSettings',
284
285
  });
285
- this.contentSettingsStore.pushMode({
286
- mode: CONTENT_SETTINGS_MODES.pages,
287
- });
288
286
  this.pageSettingsStore.setSelectedSectionName({
289
287
  sectionName: PAGE_SECTIONS.footer,
290
288
  });
@@ -5,3 +5,4 @@ export { default as SensitiveContent } from './sensitive-content/SensitiveConten
5
5
  export { default as SeoPageSettings } from './seo-settings/SeoPageSettings.vue';
6
6
  export { default as GoogleAnalytics } from './google-analytics/GoogleAnalytics.vue';
7
7
  export { default as PublishBrandPageModalWithState } from '@shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue';
8
+ export { default as PreviewModalWithState } from './preview-modal/PreviewModalWithState.vue';
@@ -5,3 +5,4 @@ export { default as SensitiveContent } from './sensitive-content/SensitiveConten
5
5
  export { default as SeoPageSettings } from './seo-settings/SeoPageSettings.vue';
6
6
  export { default as GoogleAnalytics } from './google-analytics/GoogleAnalytics.vue';
7
7
  export { default as PublishBrandPageModalWithState } from '@shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue';
8
+ export { default as PreviewModalWithState } from './preview-modal/PreviewModalWithState.vue';
@@ -65,6 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  triggerSaveSuccessMessage: boolean;
66
66
  isDesignCom: boolean;
67
67
  isPrePurchase: boolean;
68
+ prePurchaseBrandKitLogoDraftToken: string;
68
69
  makerFonts: any[];
69
70
  eventButtonLocation?: string | undefined;
70
71
  websiteUpsellModalViewModel?: any;
@@ -160,6 +161,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
160
161
  triggerSaveSuccessMessage: boolean;
161
162
  isDesignCom: boolean;
162
163
  isPrePurchase: boolean;
164
+ prePurchaseBrandKitLogoDraftToken: string;
163
165
  makerFonts: any[];
164
166
  eventButtonLocation?: string | undefined;
165
167
  websiteUpsellModalViewModel?: any;
@@ -255,6 +257,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
255
257
  triggerSaveSuccessMessage: boolean;
256
258
  isDesignCom: boolean;
257
259
  isPrePurchase: boolean;
260
+ prePurchaseBrandKitLogoDraftToken: string;
258
261
  makerFonts: any[];
259
262
  eventButtonLocation?: string | undefined;
260
263
  websiteUpsellModalViewModel?: any;
@@ -81,6 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  triggerSaveSuccessMessage: boolean;
82
82
  isDesignCom: boolean;
83
83
  isPrePurchase: boolean;
84
+ prePurchaseBrandKitLogoDraftToken: string;
84
85
  makerFonts: any[];
85
86
  eventButtonLocation?: string | undefined;
86
87
  websiteUpsellModalViewModel?: any;
@@ -176,6 +177,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
176
177
  triggerSaveSuccessMessage: boolean;
177
178
  isDesignCom: boolean;
178
179
  isPrePurchase: boolean;
180
+ prePurchaseBrandKitLogoDraftToken: string;
179
181
  makerFonts: any[];
180
182
  eventButtonLocation?: string | undefined;
181
183
  websiteUpsellModalViewModel?: any;
@@ -271,6 +273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
271
273
  triggerSaveSuccessMessage: boolean;
272
274
  isDesignCom: boolean;
273
275
  isPrePurchase: boolean;
276
+ prePurchaseBrandKitLogoDraftToken: string;
274
277
  makerFonts: any[];
275
278
  eventButtonLocation?: string | undefined;
276
279
  websiteUpsellModalViewModel?: any;
@@ -86,6 +86,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
86
86
  triggerSaveSuccessMessage: boolean;
87
87
  isDesignCom: boolean;
88
88
  isPrePurchase: boolean;
89
+ prePurchaseBrandKitLogoDraftToken: string;
89
90
  makerFonts: any[];
90
91
  eventButtonLocation?: string | undefined;
91
92
  websiteUpsellModalViewModel?: any;
@@ -181,6 +182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
181
182
  triggerSaveSuccessMessage: boolean;
182
183
  isDesignCom: boolean;
183
184
  isPrePurchase: boolean;
185
+ prePurchaseBrandKitLogoDraftToken: string;
184
186
  makerFonts: any[];
185
187
  eventButtonLocation?: string | undefined;
186
188
  websiteUpsellModalViewModel?: any;
@@ -276,6 +278,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
278
  triggerSaveSuccessMessage: boolean;
277
279
  isDesignCom: boolean;
278
280
  isPrePurchase: boolean;
281
+ prePurchaseBrandKitLogoDraftToken: string;
279
282
  makerFonts: any[];
280
283
  eventButtonLocation?: string | undefined;
281
284
  websiteUpsellModalViewModel?: any;
@@ -67,6 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
67
  triggerSaveSuccessMessage: boolean;
68
68
  isDesignCom: boolean;
69
69
  isPrePurchase: boolean;
70
+ prePurchaseBrandKitLogoDraftToken: string;
70
71
  makerFonts: any[];
71
72
  eventButtonLocation?: string | undefined;
72
73
  websiteUpsellModalViewModel?: any;
@@ -162,6 +163,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
163
  triggerSaveSuccessMessage: boolean;
163
164
  isDesignCom: boolean;
164
165
  isPrePurchase: boolean;
166
+ prePurchaseBrandKitLogoDraftToken: string;
165
167
  makerFonts: any[];
166
168
  eventButtonLocation?: string | undefined;
167
169
  websiteUpsellModalViewModel?: any;
@@ -257,6 +259,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
257
259
  triggerSaveSuccessMessage: boolean;
258
260
  isDesignCom: boolean;
259
261
  isPrePurchase: boolean;
262
+ prePurchaseBrandKitLogoDraftToken: string;
260
263
  makerFonts: any[];
261
264
  eventButtonLocation?: string | undefined;
262
265
  websiteUpsellModalViewModel?: any;
@@ -135,6 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
135
135
  triggerSaveSuccessMessage: boolean;
136
136
  isDesignCom: boolean;
137
137
  isPrePurchase: boolean;
138
+ prePurchaseBrandKitLogoDraftToken: string;
138
139
  makerFonts: any[];
139
140
  eventButtonLocation?: string | undefined;
140
141
  websiteUpsellModalViewModel?: any;
@@ -230,6 +231,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
230
231
  triggerSaveSuccessMessage: boolean;
231
232
  isDesignCom: boolean;
232
233
  isPrePurchase: boolean;
234
+ prePurchaseBrandKitLogoDraftToken: string;
233
235
  makerFonts: any[];
234
236
  eventButtonLocation?: string | undefined;
235
237
  websiteUpsellModalViewModel?: any;
@@ -325,6 +327,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
325
327
  triggerSaveSuccessMessage: boolean;
326
328
  isDesignCom: boolean;
327
329
  isPrePurchase: boolean;
330
+ prePurchaseBrandKitLogoDraftToken: string;
328
331
  makerFonts: any[];
329
332
  eventButtonLocation?: string | undefined;
330
333
  websiteUpsellModalViewModel?: any;
@@ -62,6 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
62
  triggerSaveSuccessMessage: boolean;
63
63
  isDesignCom: boolean;
64
64
  isPrePurchase: boolean;
65
+ prePurchaseBrandKitLogoDraftToken: string;
65
66
  makerFonts: any[];
66
67
  eventButtonLocation?: string | undefined;
67
68
  websiteUpsellModalViewModel?: any;
@@ -157,6 +158,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
157
158
  triggerSaveSuccessMessage: boolean;
158
159
  isDesignCom: boolean;
159
160
  isPrePurchase: boolean;
161
+ prePurchaseBrandKitLogoDraftToken: string;
160
162
  makerFonts: any[];
161
163
  eventButtonLocation?: string | undefined;
162
164
  websiteUpsellModalViewModel?: any;
@@ -252,6 +254,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
252
254
  triggerSaveSuccessMessage: boolean;
253
255
  isDesignCom: boolean;
254
256
  isPrePurchase: boolean;
257
+ prePurchaseBrandKitLogoDraftToken: string;
255
258
  makerFonts: any[];
256
259
  eventButtonLocation?: string | undefined;
257
260
  websiteUpsellModalViewModel?: any;
@@ -2,6 +2,7 @@ import type { SideBarTab } from '@shared/side-bar/models';
2
2
  export declare const SIDE_BAR_TAB_NAMES: {
3
3
  PREVIEW: string;
4
4
  TEMPLATE_SETTINGS: string;
5
+ PAGE_SETTINGS: string;
5
6
  CONTENT_SETTINGS: string;
6
7
  BACKGROUND_SETTINGS: string;
7
8
  ADMIN_BACKGROUND_SETTINGS: string;
@@ -1,7 +1,8 @@
1
- import { constantsTr } from '@src/composables/useTranslate';
1
+ import { constantsTr, pageSettingsTr } from '@src/composables/useTranslate';
2
2
  export const SIDE_BAR_TAB_NAMES = {
3
3
  PREVIEW: 'Preview',
4
4
  TEMPLATE_SETTINGS: 'TemplatesSettings',
5
+ PAGE_SETTINGS: 'PageSettings',
5
6
  CONTENT_SETTINGS: 'ContentSettings',
6
7
  BACKGROUND_SETTINGS: 'BackgroundSettings',
7
8
  ADMIN_BACKGROUND_SETTINGS: 'AdminBackgroundSettings',
@@ -28,6 +29,14 @@ export const DEFAULT_SIDE_BAR_TABS = () => [
28
29
  isDisabledForAdmin: false,
29
30
  isVisible: true,
30
31
  },
32
+ {
33
+ name: SIDE_BAR_TAB_NAMES.PAGE_SETTINGS,
34
+ displayName: pageSettingsTr(`pages`),
35
+ iconName: 'page-blank',
36
+ accessibleDisplayName: 'Pages',
37
+ isDisabledForAdmin: false,
38
+ isVisible: true,
39
+ },
31
40
  {
32
41
  name: SIDE_BAR_TAB_NAMES.CONTENT_SETTINGS,
33
42
  displayName: constantsTr(`contentDisplayName`),
@@ -47,6 +47,7 @@ export interface BrandPageContainerState {
47
47
  triggerSaveSuccessMessage: boolean;
48
48
  isDesignCom: boolean;
49
49
  isPrePurchase: boolean;
50
+ prePurchaseBrandKitLogoDraftToken: string;
50
51
  makerFonts: any[];
51
52
  eventButtonLocation?: string;
52
53
  websiteUpsellModalViewModel?: any;
@@ -70,8 +71,9 @@ export type GettyVideoEditorViewModelResponse = {
70
71
  uri: string;
71
72
  };
72
73
  };
73
- export type InitialisePayload = Omit<BrandPageContainerState, 'customDomain' | 'customDomainConfig' | 'isAdminMaker'> & {
74
+ export type InitialisePayload = Omit<BrandPageContainerState, 'customDomain' | 'customDomainConfig' | 'isAdminMaker' | 'prePurchaseBrandKitLogoDraftToken'> & {
74
75
  logoDraftToken?: string;
76
+ prePurchaseBrandKitLogoDraftToken?: string;
75
77
  isAdminMaker?: boolean;
76
78
  brandPageCustomDomain?: CustomDomainModel;
77
79
  isBrandPageCustomDomainEnabled: boolean;
@@ -143,6 +145,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
143
145
  triggerSaveSuccessMessage: boolean;
144
146
  isDesignCom: boolean;
145
147
  isPrePurchase: boolean;
148
+ prePurchaseBrandKitLogoDraftToken: string;
146
149
  makerFonts: any[];
147
150
  eventButtonLocation?: string | undefined;
148
151
  websiteUpsellModalViewModel?: any;
@@ -238,6 +241,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
238
241
  triggerSaveSuccessMessage: boolean;
239
242
  isDesignCom: boolean;
240
243
  isPrePurchase: boolean;
244
+ prePurchaseBrandKitLogoDraftToken: string;
241
245
  makerFonts: any[];
242
246
  eventButtonLocation?: string | undefined;
243
247
  websiteUpsellModalViewModel?: any;
@@ -333,6 +337,7 @@ export declare const useBrandPageContainerStore: import("pinia").StoreDefinition
333
337
  triggerSaveSuccessMessage: boolean;
334
338
  isDesignCom: boolean;
335
339
  isPrePurchase: boolean;
340
+ prePurchaseBrandKitLogoDraftToken: string;
336
341
  makerFonts: any[];
337
342
  eventButtonLocation?: string | undefined;
338
343
  websiteUpsellModalViewModel?: any;