@designcrowd/library.brand-page 6.1.6-use-isadminmaker-2 → 6.1.6

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 (159) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-CPLDYp5f.js → CreatedOnBrandCrowd-de-de-COw1kYDh.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Br3HqLLr.js → CreatedOnBrandCrowd-en-us-JRm1p0it.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-DwkIQVgN.js → CreatedOnBrandCrowd-es-es-D-G9uI6b.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DqeI8mF_.js → CreatedOnBrandCrowd-fr-ca-DQCScohj.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-DqeI8mF_.js → CreatedOnBrandCrowd-fr-fr-DQCScohj.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-bvgq_CN8.js → CreatedOnBrandCrowd-pt-br-4RazAfO7.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-bvgq_CN8.js → CreatedOnBrandCrowd-pt-pt-4RazAfO7.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-nT3MnRXy.js → CreatedOnDcom-de-de-DqvLTbhq.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-D2TYrEzJ.js → CreatedOnDcom-en-us-DG1X0ero.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-Q-5tnP12.js → CreatedOnDcom-es-es-BxHAIikP.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-txkwqCzm.js → CreatedOnDcom-fr-ca-BGXoViAC.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CUnJXLgr.js → CreatedOnDcom-fr-fr-CsvmeK2T.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-7XAwvP9H.js → CreatedOnDcom-pt-br-DvWm7MjO.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-DjhLiioZ.js → CreatedOnDcom-pt-pt-Bhz2YEVP.js} +1 -1
  15. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -1
  16. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -1
  17. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +4 -1
  18. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -1
  19. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +6 -6
  20. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.d.ts +1 -1
  21. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +4 -1
  22. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +2 -2
  23. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -1
  24. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +1 -1
  25. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +3 -3
  26. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -1
  27. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +3 -0
  28. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +3 -0
  29. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +3 -0
  30. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +3 -0
  31. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +4 -1
  32. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +6 -6
  33. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +3 -0
  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/clients/fabric-render-client.d.ts +1 -0
  38. package/lib/src/css/library.brand-page-brandCrowd.min.css +57 -57
  39. package/lib/src/css/library.brand-page-brandPage.min.css +57 -57
  40. package/lib/src/css/library.brand-page-designCom.min.css +57 -57
  41. package/lib/src/css/library.brand-page-preview.min.css +57 -57
  42. package/lib/src/index.mjs +1 -1
  43. package/lib/src/{lib-dewphkuW.js → lib-Bg2K2ze6.js} +225 -213
  44. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +1 -1
  45. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.js +1 -1
  46. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
  47. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -1
  48. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
  49. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +2 -2
  50. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -1
  51. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +2 -2
  52. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -1
  53. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +3 -3
  54. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.d.ts +2 -2
  55. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.js +1 -1
  56. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +1 -1
  57. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +2 -2
  58. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
  59. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.js +1 -1
  60. package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.d.ts +2 -2
  61. package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.js +1 -1
  62. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +3 -0
  63. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +2 -2
  64. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.js +1 -1
  65. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -2
  66. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +1 -1
  67. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -2
  68. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
  69. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +2 -2
  70. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +1 -1
  71. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
  72. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +4 -0
  73. package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +2 -0
  74. package/lib/src/shared/logo-settings/store/editable-logo-store.js +20 -1
  75. package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
  76. package/lib/src/shared/my-uploads/MyUploads.mixin.js +1 -1
  77. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +2 -2
  78. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -1
  79. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +4 -1
  80. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +1 -1
  81. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +6 -2
  82. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
  83. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +3 -0
  84. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -1
  85. package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
  86. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +4 -1
  87. package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +2 -2
  88. package/package.json +1 -1
  89. package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
  90. package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
  91. package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +5 -5
  92. package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +1 -1
  93. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
  94. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +7 -7
  95. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +1 -1
  96. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.ts +1 -1
  97. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +2 -2
  98. package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +3 -3
  99. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
  100. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.vue +1 -1
  101. package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -1
  102. package/src/brand-page-maker/components/navigation/Navigation.vue +3 -3
  103. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +11 -11
  104. package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
  105. package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
  106. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +6 -6
  107. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.initialise.test.ts +53 -0
  108. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +20 -1
  109. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +7 -0
  110. package/src/clients/fabric-render-client.ts +5 -0
  111. package/src/shared/background-settings/components/BackgroundSettings.vue +7 -7
  112. package/src/shared/background-settings/components/MultiBackgroundShapes.vue +5 -5
  113. package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +2 -2
  114. package/src/shared/background-settings/components/SingleBackgroundShape.vue +3 -3
  115. package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +4 -4
  116. package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +1 -1
  117. package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.vue +1 -1
  118. package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +2 -2
  119. package/src/shared/content-settings/components/color-field/ColorField.vue +6 -6
  120. package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +9 -7
  121. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
  122. package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +2 -2
  123. package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.vue +1 -1
  124. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +2 -2
  125. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +3 -3
  126. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +1 -1
  127. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.ts +1 -1
  128. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +1 -1
  129. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +2 -2
  130. package/src/shared/content-settings/components/images-field/ImagesField.mixin.ts +1 -1
  131. package/src/shared/content-settings/components/images-field/ImagesField.vue +1 -1
  132. package/src/shared/content-settings/components/links-field/LinksField.mixin.ts +1 -1
  133. package/src/shared/content-settings/components/links-field/LinksField.vue +1 -1
  134. package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +2 -2
  135. package/src/shared/content-settings/components/shape-field/ShapeField.mixin.ts +1 -1
  136. package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
  137. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +1 -1
  138. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +5 -5
  139. package/src/shared/content-settings/components/text-image-field/TextImageField.vue +7 -7
  140. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +1 -1
  141. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
  142. package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -2
  143. package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +1 -1
  144. package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
  145. package/src/shared/logo-settings/store/editable-logo-store.test.ts +90 -0
  146. package/src/shared/logo-settings/store/editable-logo-store.ts +28 -1
  147. package/src/shared/my-uploads/MyUploads.mixin.ts +1 -1
  148. package/src/shared/my-uploads/MyUploads.vue +1 -1
  149. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -1
  150. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +12 -9
  151. package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +1 -1
  152. package/src/shared/page-settings/components/page-settings/PageSettings.vue +3 -3
  153. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
  154. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +4 -4
  155. package/src/shared/shape-library/ShapeLibrary.vue +9 -9
  156. package/src/shared/side-bar/components/SideBar.mixin.ts +3 -3
  157. package/src/shared/style-settings/components/StyleSettings.mixin.ts +2 -2
  158. package/src/shared/style-settings/components/StyleSettings.vue +29 -23
  159. package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +2 -2
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as t } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as e } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as e } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as e } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as e } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as e } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as M } from "./lib-Bg2K2ze6.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-dewphkuW.js";
2
+ import { _ as M } from "./lib-Bg2K2ze6.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- isAdmin: import("vue").ComputedRef<boolean>;
2
+ isAdminMaker: import("vue").ComputedRef<boolean>;
3
3
  isLivePreviewEnabled: import("vue").ComputedRef<boolean>;
4
4
  isSaving: import("vue").ComputedRef<boolean>;
5
5
  isPublished: import("vue").ComputedRef<boolean>;
@@ -10,7 +10,7 @@ export default defineComponent({
10
10
  const brandPageMakerStore = useBrandPageMakerStore();
11
11
  const containerStore = useBrandPageContainerStore();
12
12
  return {
13
- isAdmin: computed(() => containerStore.isAdminMaker),
13
+ isAdminMaker: computed(() => containerStore.isAdminMaker),
14
14
  // BP-5873: the Preview button is behind an AB test, and pre/post purchase are
15
15
  // two separate experiments. Pick the one for the current purchase state — a
16
16
  // user's value on the other side is independent and must not leak across.
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
57
  backButtonLabel: import("vue").ComputedRef<string>;
58
58
  isDesignCom: import("vue").ComputedRef<boolean>;
59
59
  selectedTabName: import("vue").ComputedRef<string>;
60
- isAdmin: import("vue").ComputedRef<boolean>;
60
+ isAdminMaker: import("vue").ComputedRef<boolean>;
61
61
  contentErrorCount: import("vue").ComputedRef<number>;
62
62
  mode: import("vue").ComputedRef<"images" | "add" | "pages" | "edit" | "focusedContentItem">;
63
63
  brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
@@ -279,6 +279,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
279
279
  triggerSaveSuccessMessage: boolean;
280
280
  isDesignCom: boolean;
281
281
  isPrePurchase: boolean;
282
+ prePurchaseBrandKitLogoDraftToken: string;
282
283
  makerFonts: any[];
283
284
  eventButtonLocation?: string | undefined;
284
285
  websiteUpsellModalViewModel?: any;
@@ -374,6 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
374
375
  triggerSaveSuccessMessage: boolean;
375
376
  isDesignCom: boolean;
376
377
  isPrePurchase: boolean;
378
+ prePurchaseBrandKitLogoDraftToken: string;
377
379
  makerFonts: any[];
378
380
  eventButtonLocation?: string | undefined;
379
381
  websiteUpsellModalViewModel?: any;
@@ -469,6 +471,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
469
471
  triggerSaveSuccessMessage: boolean;
470
472
  isDesignCom: boolean;
471
473
  isPrePurchase: boolean;
474
+ prePurchaseBrandKitLogoDraftToken: string;
472
475
  makerFonts: any[];
473
476
  eventButtonLocation?: string | undefined;
474
477
  websiteUpsellModalViewModel?: any;
@@ -84,7 +84,7 @@ export default defineComponent({
84
84
  backButtonLabel: computed(() => containerStore.backButtonLabel),
85
85
  isDesignCom: computed(() => containerStore.isDesignCom),
86
86
  selectedTabName: computed(() => sideBarStore.selectedTabName),
87
- isAdmin: computed(() => containerStore.isAdminMaker),
87
+ isAdminMaker: computed(() => containerStore.isAdminMaker),
88
88
  contentErrorCount: computed(() => contentSettingsStore.contentErrorCount),
89
89
  mode: computed(() => contentSettingsStore.mode),
90
90
  brandPageMakerStore,
@@ -182,11 +182,11 @@ const InitialiseMakerStores = (options) => {
182
182
  aiTemplateKeywords: undefined,
183
183
  });
184
184
  userStore.setUserState({
185
- isAdmin: options.isAdmin,
185
+ isAdmin: options.isAdminMaker,
186
186
  hasPremiumSubscription: false,
187
187
  brandPageCommissionPercentage: 0.1,
188
188
  });
189
- brandPageContainerStore.isAdminMaker = options.isAdmin ?? false;
189
+ brandPageContainerStore.isAdminMaker = options.isAdminMaker ?? false;
190
190
  };
191
191
  const FABRIC_RENDER_BASE_URL = 'https://localhost:6006/';
192
192
  const SAMPLE_BRAND_PAGE_URL = 'https://brand.page';
@@ -367,7 +367,7 @@ SampleBanner.story = {
367
367
  name: 'Sample (Banner)',
368
368
  };
369
369
  export const SamplePersonalised = () => {
370
- InitialiseMakerStores({ isAdmin: true });
370
+ InitialiseMakerStores({ isAdminMaker: true });
371
371
  return defineComponent({
372
372
  components: {
373
373
  BrandPageMaker,
@@ -392,7 +392,7 @@ export const SamplePersonalised = () => {
392
392
  template: `
393
393
  <BrandPageMaker :view-model="viewModel"/>
394
394
  `,
395
- pinia: setupStoryPinia({ isAdmin: true }),
395
+ pinia: setupStoryPinia({ isAdminMaker: true }),
396
396
  });
397
397
  };
398
398
  export const SamplePublished = {
@@ -1160,7 +1160,7 @@ export const SampleNoUserMedia = () => {
1160
1160
  };
1161
1161
  };
1162
1162
  export const SampleAdminMode = () => {
1163
- InitialiseMakerStores({ isAdmin: true });
1163
+ InitialiseMakerStores({ isAdminMaker: true });
1164
1164
  const pinia = setupStoryPinia();
1165
1165
  return {
1166
1166
  components: {
@@ -1202,7 +1202,7 @@ export const SampleAdminModeBrandSite = {
1202
1202
  name: 'Sample (admin mode brandsite1)',
1203
1203
  render: () => ({
1204
1204
  setup() {
1205
- InitialiseMakerStores({ isAdmin: true });
1205
+ InitialiseMakerStores({ isAdminMaker: true });
1206
1206
  },
1207
1207
  components: {
1208
1208
  BrandPageMaker,
@@ -5,7 +5,7 @@ export declare const setupStoryPinia: (options?: {
5
5
  customDomain?: CustomDomainModel;
6
6
  designDraftToken?: string;
7
7
  endpoints?: Endpoints;
8
- isAdmin?: boolean;
8
+ isAdminMaker?: boolean;
9
9
  noUserMedia?: boolean;
10
10
  noPaymentConfig?: boolean;
11
11
  disableMock?: boolean;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{}, {
37
37
  getValue: import("vue").ComputedRef<(id: string, fieldName: string) => Content | string | undefined>;
38
38
  selectedTemplateId: import("vue").ComputedRef<string | false>;
39
39
  canUseRichTextEditor: import("vue").ComputedRef<boolean>;
40
- isAdmin: import("vue").ComputedRef<boolean>;
40
+ isAdminMaker: import("vue").ComputedRef<boolean>;
41
41
  logoTheme: import("vue").ComputedRef<{
42
42
  logoTextColor: {
43
43
  rgb: string;
@@ -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;
@@ -42,7 +42,7 @@ export default defineComponent({
42
42
  getValue: computed(() => contentSettingsStore.getValue),
43
43
  selectedTemplateId: computed(() => brandPageMakerStore.selectedTemplateId),
44
44
  canUseRichTextEditor: computed(() => brandPageMakerUserStore.features.canUseRichTextEditor),
45
- isAdmin: computed(() => brandPageContainerStore.isAdminMaker),
45
+ isAdminMaker: computed(() => brandPageContainerStore.isAdminMaker),
46
46
  logoTheme: computed(() => uiStore.logoTheme),
47
47
  contentSettingsStore,
48
48
  brandPageMakerStore,
@@ -211,7 +211,7 @@ export default defineComponent({
211
211
  if (RTE_ALLOWED_SECTION_TYPES.includes(item.type) &&
212
212
  this.canUseRichTextEditor) {
213
213
  let selectedItem = item;
214
- if (this.isAdmin) {
214
+ if (this.isAdminMaker) {
215
215
  const currentItem = this.items.find((i) => i.id === item.id);
216
216
  if (currentItem) {
217
217
  selectedItem = currentItem.settings.content;
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
8
8
  };
9
9
  }>, {
10
10
  mode: import("vue").ComputedRef<"images" | "shapes" | "edit">;
11
- isAdmin: import("vue").ComputedRef<boolean>;
11
+ isAdminMaker: import("vue").ComputedRef<boolean>;
12
12
  brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
13
13
  contentErrorCount(): number;
14
14
  brandPageBaseUrl(): string;
@@ -16,7 +16,7 @@ export default defineComponent({
16
16
  const containerStore = useBrandPageContainerStore();
17
17
  return {
18
18
  mode: computed(() => brandPageMakerStore.mode),
19
- isAdmin: computed(() => containerStore.isAdminMaker),
19
+ isAdminMaker: computed(() => containerStore.isAdminMaker),
20
20
  brandPageMakerStore,
21
21
  userStore,
22
22
  };
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- isAdmin: {
2
+ isAdminMaker: {
3
3
  type: BooleanConstructor;
4
4
  required: false;
5
5
  default: boolean;
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
43
43
  cta_location: string;
44
44
  }): void;
45
45
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "create-team-cards"[], "create-team-cards", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
- isAdmin: {
46
+ isAdminMaker: {
47
47
  type: BooleanConstructor;
48
48
  required: false;
49
49
  default: boolean;
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  }>> & Readonly<{
82
82
  "onCreate-team-cards"?: ((...args: any[]) => any) | undefined;
83
83
  }>, {
84
- isAdmin: boolean;
85
84
  isPublished: boolean;
85
+ isAdminMaker: boolean;
86
86
  isSaving: boolean;
87
87
  backButtonLabel: string;
88
88
  isDesignCom: boolean;
@@ -3,7 +3,7 @@ import { EVENTS } from '../../../constants/brand-page-maker';
3
3
  import { navigationTr } from '@src/composables/useTranslate';
4
4
  export default defineComponent({
5
5
  props: {
6
- isAdmin: {
6
+ isAdminMaker: {
7
7
  type: Boolean,
8
8
  required: false,
9
9
  default: false,
@@ -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;
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  selectedTemplateId: import("vue").ComputedRef<string | false>;
65
65
  isPrePurchase: import("vue").ComputedRef<boolean>;
66
66
  runtimeEnvironment: import("vue").ComputedRef<string>;
67
- isAdmin: import("vue").ComputedRef<boolean>;
67
+ isAdminMaker: import("vue").ComputedRef<boolean>;
68
68
  userToken: import("vue").ComputedRef<string | undefined>;
69
69
  isBrandSite: import("vue").ComputedRef<boolean>;
70
70
  renderAsImage: import("vue").ComputedRef<boolean>;
@@ -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;
@@ -34,7 +34,7 @@ export default defineComponent({
34
34
  selectedTemplateId: computed(() => brandPageMakerStore.selectedTemplateId),
35
35
  isPrePurchase: computed(() => brandPageContainerStore.isPrePurchase),
36
36
  runtimeEnvironment: computed(() => brandPageContainerStore.runtimeEnvironment),
37
- isAdmin: computed(() => brandPageContainerStore.isAdminMaker),
37
+ isAdminMaker: computed(() => brandPageContainerStore.isAdminMaker),
38
38
  userToken: computed(() => brandPageMakerUserStore.userToken),
39
39
  isBrandSite: computed(() => brandPageMakerStore.brandPageType === BRAND_PAGE_TYPES.brandSite),
40
40
  renderAsImage: computed(() => templateSettingsStore.renderAsImage),
@@ -231,7 +231,7 @@ export default defineComponent({
231
231
  },
232
232
  watch: {
233
233
  template() {
234
- if (this.isAdmin) {
234
+ if (this.isAdminMaker) {
235
235
  this.updateViewModel();
236
236
  }
237
237
  else {
@@ -242,20 +242,20 @@ export default defineComponent({
242
242
  },
243
243
  logoTheme: {
244
244
  handler() {
245
- if (this.isAdmin) {
245
+ if (this.isAdminMaker) {
246
246
  this.updateViewModel();
247
247
  }
248
248
  },
249
249
  deep: true,
250
250
  },
251
251
  logoImageBase64Url() {
252
- if (this.isAdmin) {
252
+ if (this.isAdminMaker) {
253
253
  this.updateViewModel();
254
254
  }
255
255
  },
256
256
  previewImageUrl() {
257
257
  // Reset loading state whenever the preview URL changes
258
- if (!this.isAdmin) {
258
+ if (!this.isAdminMaker) {
259
259
  this.imageLoading = true;
260
260
  this.imageLoadError = false;
261
261
  }
@@ -314,7 +314,7 @@ export default defineComponent({
314
314
  },
315
315
  async updateViewModel(forceUpdate = true) {
316
316
  // Only update view model for admin or pre-purchase mode
317
- if (!this.isAdmin) {
317
+ if (!this.isAdminMaker) {
318
318
  return;
319
319
  }
320
320
  const videoStore = useVideoStore();
@@ -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;
@@ -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;
@@ -61,6 +61,7 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
61
61
  isSellDomainNameEnabled: false,
62
62
  isDesignCom: false,
63
63
  isPrePurchase: false,
64
+ prePurchaseBrandKitLogoDraftToken: '',
64
65
  makerFonts: [],
65
66
  eventButtonLocation: undefined,
66
67
  websiteUpsellModalViewModel: undefined,
@@ -151,6 +152,11 @@ export const useBrandPageContainerStore = defineStore('brandPageContainer', {
151
152
  if (payload.logoDraftToken) {
152
153
  uiStore.setLogoDraftToken({ logoDraftToken: payload.logoDraftToken });
153
154
  }
155
+ // BP-5962: consume the host's explicit token verbatim (set unconditionally so a stale token from a
156
+ // previous editor mount never leaks in). The old derivation from isPrePurchase + logoDraftToken is
157
+ // gone — it fired on every reload of a normal saved draft and wrongly rendered it from the draft.
158
+ this.prePurchaseBrandKitLogoDraftToken =
159
+ payload.prePurchaseBrandKitLogoDraftToken || '';
154
160
  payload?.gettyVideos?.forEach((video) => videoStore.setVideoUrlsWithToken(video.token, video.videoPreviewAsset.uri, video.imagePreviewAsset.uri, video.assetId));
155
161
  },
156
162
  setDesignTemplateToken(payload) {
@@ -971,6 +971,12 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
971
971
  logoTemplateMetadata: '',
972
972
  isLogoDraftSaved: false,
973
973
  logoDraftToken: uiStore.logoDraftToken || uuid.v4(),
974
+ // Only the container's per-mount Brand Kit seed is a REAL server
975
+ // draft (the editor was opened from one - Brand Kit Edit). The
976
+ // uuid fallback above is a session-local identity, and
977
+ // uiStore.logoDraftToken is never cleared between mounts -
978
+ // neither must ever reach fabric-render as a render base.
979
+ prePurchaseBrandKitLogoDraftToken: brandPageContainerStore.prePurchaseBrandKitLogoDraftToken,
974
980
  logoEdits: {
975
981
  backgroundObject: {
976
982
  id: '',
@@ -27,6 +27,7 @@ export interface ModifyLogoDataRequest {
27
27
  variation: string;
28
28
  primaryText?: string;
29
29
  generateS3Url?: boolean;
30
+ disableAutoLayout?: boolean;
30
31
  logo: {
31
32
  template: {
32
33
  token: string;