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

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 (173) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Dd_GKG2N.js → CreatedOnBrandCrowd-de-de-t5akeGDG.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Dins7rod.js → CreatedOnBrandCrowd-en-us-D6iRa7UV.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-D-ie39pg.js → CreatedOnBrandCrowd-es-es-BHwAxInw.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CbgslN2_.js → CreatedOnBrandCrowd-fr-ca-DETrOR_X.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CbgslN2_.js → CreatedOnBrandCrowd-fr-fr-DETrOR_X.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-OMePx480.js → CreatedOnBrandCrowd-pt-br-CtWsOLWg.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-OMePx480.js → CreatedOnBrandCrowd-pt-pt-CtWsOLWg.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-BJc1FMjI.js → CreatedOnDcom-de-de-DsEbB4hv.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DoLdNglw.js → CreatedOnDcom-en-us-CA3kvbs5.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BG1UvnwD.js → CreatedOnDcom-es-es-B7o8joWb.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-DzZkCm3Z.js → CreatedOnDcom-fr-ca-Yz1cvzRY.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-9vEmBWv1.js → CreatedOnDcom-fr-fr-BETGUOnB.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-B5-fW01S.js → CreatedOnDcom-pt-br-B37QJXKn.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-CNCPHKgi.js → CreatedOnDcom-pt-pt-DMkIALyd.js} +1 -1
  15. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -2
  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 -3
  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 -2
  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 -2
  24. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +3 -2
  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 -1
  28. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +3 -1
  29. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +3 -1
  30. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +3 -1
  31. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +4 -3
  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 -1
  34. package/lib/src/brand-page-maker/composables/useUndoRedoFlag.d.ts +1 -1
  35. package/lib/src/brand-page-maker/composables/useUndoRedoFlag.js +4 -2
  36. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +5 -2
  37. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -12
  38. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +13 -14
  39. package/lib/src/brand-page-maker/stores/ui/ui-store.js +3 -5
  40. package/lib/src/brand-page-maker/stores/user/user-store.d.ts +0 -1
  41. package/lib/src/brand-page-maker/stores/user/user-store.js +3 -8
  42. package/lib/src/brand-page-maker/stores/video/video-store.js +3 -1
  43. package/lib/src/css/library.brand-page-brandCrowd.min.css +57 -57
  44. package/lib/src/css/library.brand-page-brandPage.min.css +57 -57
  45. package/lib/src/css/library.brand-page-designCom.min.css +57 -57
  46. package/lib/src/css/library.brand-page-preview.min.css +57 -57
  47. package/lib/src/index.mjs +1 -1
  48. package/lib/src/{lib-Cq0WlFYO.js → lib-BgxxXPxt.js} +8644 -8651
  49. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +1 -2
  50. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.js +3 -2
  51. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
  52. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +3 -2
  53. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -2
  54. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +4 -3
  55. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -1
  56. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +4 -4
  57. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -2
  58. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +3 -3
  59. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.d.ts +2 -2
  60. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.js +1 -1
  61. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +1 -1
  62. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +4 -3
  63. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
  64. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.js +1 -1
  65. package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.d.ts +2 -2
  66. package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.js +1 -1
  67. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +3 -1
  68. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +2 -2
  69. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.js +1 -1
  70. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -2
  71. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +1 -1
  72. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -2
  73. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
  74. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +2 -2
  75. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +1 -1
  76. package/lib/src/shared/content-settings/store/content-settings-store.js +3 -3
  77. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +3 -1
  78. package/lib/src/shared/models.d.ts +0 -1
  79. package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
  80. package/lib/src/shared/my-uploads/MyUploads.mixin.js +3 -2
  81. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +2 -2
  82. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -1
  83. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +4 -3
  84. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +1 -1
  85. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +5 -3
  86. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
  87. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +3 -1
  88. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -3
  89. package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
  90. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +4 -3
  91. package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +2 -2
  92. package/lib/src/shared/template-settings/store/template-settings-store.js +8 -9
  93. package/package.json +1 -1
  94. package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
  95. package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
  96. package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +5 -5
  97. package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +1 -1
  98. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
  99. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +7 -7
  100. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +1 -1
  101. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.ts +1 -1
  102. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +2 -2
  103. package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +3 -3
  104. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +3 -1
  105. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.vue +1 -1
  106. package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -1
  107. package/src/brand-page-maker/components/navigation/Navigation.vue +3 -3
  108. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +13 -13
  109. package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
  110. package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
  111. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +6 -6
  112. package/src/brand-page-maker/composables/useQuickLinkBarVisibility.test.ts +4 -5
  113. package/src/brand-page-maker/composables/useUndoRedoFlag.ts +4 -2
  114. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.initialise.test.ts +3 -5
  115. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +8 -17
  116. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +5 -10
  117. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +19 -14
  118. package/src/brand-page-maker/stores/ui/ui-store.ts +3 -5
  119. package/src/brand-page-maker/stores/user/user-store.test.ts +0 -35
  120. package/src/brand-page-maker/stores/user/user-store.ts +3 -8
  121. package/src/brand-page-maker/stores/video/video-store.ts +3 -1
  122. package/src/shared/background-settings/components/BackgroundSettings.vue +9 -9
  123. package/src/shared/background-settings/components/MultiBackgroundShapes.vue +7 -7
  124. package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +4 -4
  125. package/src/shared/background-settings/components/SingleBackgroundShape.vue +5 -5
  126. package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +6 -6
  127. package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +6 -2
  128. package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.vue +1 -1
  129. package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +2 -2
  130. package/src/shared/content-settings/components/color-field/ColorField.vue +6 -6
  131. package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +9 -7
  132. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +3 -1
  133. package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +4 -2
  134. package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.vue +1 -1
  135. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +4 -4
  136. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +3 -3
  137. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +1 -1
  138. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.ts +1 -1
  139. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +1 -1
  140. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +5 -2
  141. package/src/shared/content-settings/components/images-field/ImagesField.mixin.ts +1 -1
  142. package/src/shared/content-settings/components/images-field/ImagesField.vue +1 -1
  143. package/src/shared/content-settings/components/links-field/LinksField.mixin.ts +1 -1
  144. package/src/shared/content-settings/components/links-field/LinksField.vue +1 -1
  145. package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +1 -3
  146. package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +6 -3
  147. package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +2 -2
  148. package/src/shared/content-settings/components/shape-field/ShapeField.mixin.ts +1 -1
  149. package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
  150. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +1 -1
  151. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +5 -5
  152. package/src/shared/content-settings/components/text-image-field/TextImageField.vue +7 -7
  153. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +1 -1
  154. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
  155. package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -2
  156. package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +1 -1
  157. package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
  158. package/src/shared/content-settings/store/content-settings-store.ts +3 -2
  159. package/src/shared/models.ts +0 -1
  160. package/src/shared/my-uploads/MyUploads.mixin.ts +3 -1
  161. package/src/shared/my-uploads/MyUploads.vue +1 -1
  162. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -1
  163. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +12 -9
  164. package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +1 -1
  165. package/src/shared/page-settings/components/page-settings/PageSettings.vue +3 -3
  166. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
  167. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +4 -4
  168. package/src/shared/shape-library/ShapeLibrary.vue +10 -12
  169. package/src/shared/side-bar/components/SideBar.mixin.ts +3 -3
  170. package/src/shared/style-settings/components/StyleSettings.mixin.ts +2 -2
  171. package/src/shared/style-settings/components/StyleSettings.vue +29 -23
  172. package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +4 -2
  173. package/src/shared/template-settings/store/template-settings-store.ts +7 -9
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as t } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as e } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as e } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as e } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as e } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as e } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as M } from "./lib-BgxxXPxt.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-Cq0WlFYO.js";
2
+ import { _ as M } from "./lib-BgxxXPxt.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>;
@@ -14,7 +14,6 @@ declare const _default: import("vue").DefineComponent<{}, {
14
14
  brandPageCommissionPercentage?: number;
15
15
  features?: Partial<import("@brand-page-maker/stores").UserFeatures>;
16
16
  }): void;
17
- setIsAdminMaker(isAdminMaker: boolean): void;
18
17
  }>;
19
18
  brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
20
19
  contentErrorCount(): number;
@@ -10,7 +10,7 @@ export default defineComponent({
10
10
  const brandPageMakerStore = useBrandPageMakerStore();
11
11
  const containerStore = useBrandPageContainerStore();
12
12
  return {
13
- isAdmin: computed(() => userStore.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, {
@@ -221,12 +221,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
221
221
  brandPageCommissionPercentage?: number;
222
222
  features?: Partial<UserFeatures>;
223
223
  }): void;
224
- setIsAdminMaker(isAdminMaker: boolean): void;
225
224
  }>;
226
225
  containerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
227
226
  brandPageContentTypes(): string[];
228
227
  isAdmin(): boolean;
229
- isAdminMaker(): boolean;
230
228
  isPublished: (state: {
231
229
  availableTaxes: any[];
232
230
  brandPageBaseUrl: string;
@@ -263,6 +261,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
263
261
  isUpgradeModalVisible: boolean;
264
262
  isPublishing: boolean;
265
263
  isProduction: boolean;
264
+ isAdminMaker: boolean;
266
265
  isSellDomainNameEnabled: boolean;
267
266
  isStripeOnboardingModalVisible: boolean;
268
267
  isReactivationModal: boolean;
@@ -357,6 +356,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
357
356
  isUpgradeModalVisible: boolean;
358
357
  isPublishing: boolean;
359
358
  isProduction: boolean;
359
+ isAdminMaker: boolean;
360
360
  isSellDomainNameEnabled: boolean;
361
361
  isStripeOnboardingModalVisible: boolean;
362
362
  isReactivationModal: boolean;
@@ -451,6 +451,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
451
451
  isUpgradeModalVisible: boolean;
452
452
  isPublishing: boolean;
453
453
  isProduction: boolean;
454
+ isAdminMaker: boolean;
454
455
  isSellDomainNameEnabled: boolean;
455
456
  isStripeOnboardingModalVisible: boolean;
456
457
  isReactivationModal: boolean;
@@ -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(() => userStore.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
- userStore.setIsAdminMaker(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;
@@ -668,7 +668,6 @@ declare const _default: import("vue").DefineComponent<{}, {
668
668
  brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
669
669
  brandPageContentTypes(): string[];
670
670
  isAdmin(): boolean;
671
- isAdminMaker(): boolean;
672
671
  isPublished: (state: {
673
672
  availableTaxes: any[];
674
673
  brandPageBaseUrl: string;
@@ -705,6 +704,7 @@ declare const _default: import("vue").DefineComponent<{}, {
705
704
  isUpgradeModalVisible: boolean;
706
705
  isPublishing: boolean;
707
706
  isProduction: boolean;
707
+ isAdminMaker: boolean;
708
708
  isSellDomainNameEnabled: boolean;
709
709
  isStripeOnboardingModalVisible: boolean;
710
710
  isReactivationModal: boolean;
@@ -799,6 +799,7 @@ declare const _default: import("vue").DefineComponent<{}, {
799
799
  isUpgradeModalVisible: boolean;
800
800
  isPublishing: boolean;
801
801
  isProduction: boolean;
802
+ isAdminMaker: boolean;
802
803
  isSellDomainNameEnabled: boolean;
803
804
  isStripeOnboardingModalVisible: boolean;
804
805
  isReactivationModal: boolean;
@@ -893,6 +894,7 @@ declare const _default: import("vue").DefineComponent<{}, {
893
894
  isUpgradeModalVisible: boolean;
894
895
  isPublishing: boolean;
895
896
  isProduction: boolean;
897
+ isAdminMaker: boolean;
896
898
  isSellDomainNameEnabled: boolean;
897
899
  isStripeOnboardingModalVisible: boolean;
898
900
  isReactivationModal: boolean;
@@ -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(() => brandPageMakerUserStore.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;
@@ -161,7 +161,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
161
161
  brandPageCommissionPercentage?: number;
162
162
  features?: Partial<import("@brand-page-maker/stores").UserFeatures>;
163
163
  }): void;
164
- setIsAdminMaker(isAdminMaker: boolean): void;
165
164
  }>;
166
165
  }, {
167
166
  imageExtension: string[];
@@ -1,5 +1,5 @@
1
1
  import { computed, defineComponent } from 'vue';
2
- import { useBrandPageMakerStore, BRANDPAGE_SETTINGS_MODES, useBrandPageMakerUserStore, } from '@brand-page-maker/stores';
2
+ import { useBrandPageMakerStore, BRANDPAGE_SETTINGS_MODES, useBrandPageMakerUserStore, useBrandPageContainerStore, } from '@brand-page-maker/stores';
3
3
  import { MEDIA_TYPES } from '@brand-page/models/brand-page-context.model';
4
4
  const imageExtension = ['.png', '.ico'];
5
5
  export default defineComponent({
@@ -13,9 +13,10 @@ export default defineComponent({
13
13
  setup() {
14
14
  const brandPageMakerStore = useBrandPageMakerStore();
15
15
  const userStore = useBrandPageMakerUserStore();
16
+ const containerStore = useBrandPageContainerStore();
16
17
  return {
17
18
  mode: computed(() => brandPageMakerStore.mode),
18
- isAdmin: computed(() => userStore.isAdminMaker),
19
+ isAdminMaker: computed(() => containerStore.isAdminMaker),
19
20
  brandPageMakerStore,
20
21
  userStore,
21
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,
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
12
12
  brandPageContentTypes(): string[];
13
13
  isAdmin(): boolean;
14
- isAdminMaker(): boolean;
15
14
  isPublished: (state: {
16
15
  availableTaxes: any[];
17
16
  brandPageBaseUrl: string;
@@ -48,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
47
  isUpgradeModalVisible: boolean;
49
48
  isPublishing: boolean;
50
49
  isProduction: boolean;
50
+ isAdminMaker: boolean;
51
51
  isSellDomainNameEnabled: boolean;
52
52
  isStripeOnboardingModalVisible: boolean;
53
53
  isReactivationModal: boolean;
@@ -142,6 +142,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
142
142
  isUpgradeModalVisible: boolean;
143
143
  isPublishing: boolean;
144
144
  isProduction: boolean;
145
+ isAdminMaker: boolean;
145
146
  isSellDomainNameEnabled: boolean;
146
147
  isStripeOnboardingModalVisible: boolean;
147
148
  isReactivationModal: boolean;
@@ -236,6 +237,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
236
237
  isUpgradeModalVisible: boolean;
237
238
  isPublishing: boolean;
238
239
  isProduction: boolean;
240
+ isAdminMaker: boolean;
239
241
  isSellDomainNameEnabled: boolean;
240
242
  isStripeOnboardingModalVisible: boolean;
241
243
  isReactivationModal: boolean;
@@ -27,7 +27,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
27
27
  brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
28
28
  brandPageContentTypes(): string[];
29
29
  isAdmin(): boolean;
30
- isAdminMaker(): boolean;
31
30
  isPublished: (state: {
32
31
  availableTaxes: any[];
33
32
  brandPageBaseUrl: string;
@@ -64,6 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
63
  isUpgradeModalVisible: boolean;
65
64
  isPublishing: boolean;
66
65
  isProduction: boolean;
66
+ isAdminMaker: boolean;
67
67
  isSellDomainNameEnabled: boolean;
68
68
  isStripeOnboardingModalVisible: boolean;
69
69
  isReactivationModal: boolean;
@@ -158,6 +158,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
158
158
  isUpgradeModalVisible: boolean;
159
159
  isPublishing: boolean;
160
160
  isProduction: boolean;
161
+ isAdminMaker: boolean;
161
162
  isSellDomainNameEnabled: boolean;
162
163
  isStripeOnboardingModalVisible: boolean;
163
164
  isReactivationModal: boolean;
@@ -252,6 +253,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
252
253
  isUpgradeModalVisible: boolean;
253
254
  isPublishing: boolean;
254
255
  isProduction: boolean;
256
+ isAdminMaker: boolean;
255
257
  isSellDomainNameEnabled: boolean;
256
258
  isStripeOnboardingModalVisible: boolean;
257
259
  isReactivationModal: boolean;
@@ -32,7 +32,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
32
  brandPageContainer: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
33
33
  brandPageContentTypes(): string[];
34
34
  isAdmin(): boolean;
35
- isAdminMaker(): boolean;
36
35
  isPublished: (state: {
37
36
  availableTaxes: any[];
38
37
  brandPageBaseUrl: string;
@@ -69,6 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
68
  isUpgradeModalVisible: boolean;
70
69
  isPublishing: boolean;
71
70
  isProduction: boolean;
71
+ isAdminMaker: boolean;
72
72
  isSellDomainNameEnabled: boolean;
73
73
  isStripeOnboardingModalVisible: boolean;
74
74
  isReactivationModal: boolean;
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
163
163
  isUpgradeModalVisible: boolean;
164
164
  isPublishing: boolean;
165
165
  isProduction: boolean;
166
+ isAdminMaker: boolean;
166
167
  isSellDomainNameEnabled: boolean;
167
168
  isStripeOnboardingModalVisible: boolean;
168
169
  isReactivationModal: boolean;
@@ -257,6 +258,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
257
258
  isUpgradeModalVisible: boolean;
258
259
  isPublishing: boolean;
259
260
  isProduction: boolean;
261
+ isAdminMaker: boolean;
260
262
  isSellDomainNameEnabled: boolean;
261
263
  isStripeOnboardingModalVisible: boolean;
262
264
  isReactivationModal: boolean;
@@ -13,7 +13,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  brandPageContainer: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
14
14
  brandPageContentTypes(): string[];
15
15
  isAdmin(): boolean;
16
- isAdminMaker(): boolean;
17
16
  isPublished: (state: {
18
17
  availableTaxes: any[];
19
18
  brandPageBaseUrl: string;
@@ -50,6 +49,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
49
  isUpgradeModalVisible: boolean;
51
50
  isPublishing: boolean;
52
51
  isProduction: boolean;
52
+ isAdminMaker: boolean;
53
53
  isSellDomainNameEnabled: boolean;
54
54
  isStripeOnboardingModalVisible: boolean;
55
55
  isReactivationModal: boolean;
@@ -144,6 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
144
144
  isUpgradeModalVisible: boolean;
145
145
  isPublishing: boolean;
146
146
  isProduction: boolean;
147
+ isAdminMaker: boolean;
147
148
  isSellDomainNameEnabled: boolean;
148
149
  isStripeOnboardingModalVisible: boolean;
149
150
  isReactivationModal: boolean;
@@ -238,6 +239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
238
239
  isUpgradeModalVisible: boolean;
239
240
  isPublishing: boolean;
240
241
  isProduction: boolean;
242
+ isAdminMaker: boolean;
241
243
  isSellDomainNameEnabled: boolean;
242
244
  isStripeOnboardingModalVisible: boolean;
243
245
  isReactivationModal: boolean;
@@ -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>;
@@ -77,12 +77,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
77
  brandPageCommissionPercentage?: number;
78
78
  features?: Partial<import("@brand-page-maker/stores").UserFeatures>;
79
79
  }): void;
80
- setIsAdminMaker(isAdminMaker: boolean): void;
81
80
  }>;
82
81
  brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
83
82
  brandPageContentTypes(): string[];
84
83
  isAdmin(): boolean;
85
- isAdminMaker(): boolean;
86
84
  isPublished: (state: {
87
85
  availableTaxes: any[];
88
86
  brandPageBaseUrl: string;
@@ -119,6 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
117
  isUpgradeModalVisible: boolean;
120
118
  isPublishing: boolean;
121
119
  isProduction: boolean;
120
+ isAdminMaker: boolean;
122
121
  isSellDomainNameEnabled: boolean;
123
122
  isStripeOnboardingModalVisible: boolean;
124
123
  isReactivationModal: boolean;
@@ -213,6 +212,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
213
212
  isUpgradeModalVisible: boolean;
214
213
  isPublishing: boolean;
215
214
  isProduction: boolean;
215
+ isAdminMaker: boolean;
216
216
  isSellDomainNameEnabled: boolean;
217
217
  isStripeOnboardingModalVisible: boolean;
218
218
  isReactivationModal: boolean;
@@ -307,6 +307,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
307
307
  isUpgradeModalVisible: boolean;
308
308
  isPublishing: boolean;
309
309
  isProduction: boolean;
310
+ isAdminMaker: boolean;
310
311
  isSellDomainNameEnabled: boolean;
311
312
  isStripeOnboardingModalVisible: boolean;
312
313
  isReactivationModal: boolean;
@@ -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(() => brandPageMakerUserStore.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();