@designcrowd/library.brand-page 5.16.46 → 5.16.47-alias-1

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 (844) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-uiIr5kLt.js → CreatedOnBrandCrowd-de-de-DsUAZdDZ.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-ZxmDyB2L.js → CreatedOnBrandCrowd-en-us-BNR-T34t.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-Dy0prqYb.js → CreatedOnBrandCrowd-es-es-D9jzI5Gq.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-ptYivmhP.js → CreatedOnBrandCrowd-fr-ca-DUbAnAP7.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-ptYivmhP.js → CreatedOnBrandCrowd-fr-fr-DUbAnAP7.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CJ2KmyN9.js → CreatedOnBrandCrowd-pt-br-DLzCYy_9.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CJ2KmyN9.js → CreatedOnBrandCrowd-pt-pt-DLzCYy_9.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-BOKzyd7W.js → CreatedOnDcom-de-de-BP5YtPE5.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-DUn1EGFC.js → CreatedOnDcom-en-us-ih-rYZb7.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-CWmC3YRV.js → CreatedOnDcom-es-es-DOdyRnZy.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-_UTCwQgn.js → CreatedOnDcom-fr-ca-DJAXIcPr.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DYUvSYKz.js → CreatedOnDcom-fr-fr-DOw9WG-3.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-o2kCzJWH.js → CreatedOnDcom-pt-br-9o0DJ0n-.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-JLuH_BY3.js → CreatedOnDcom-pt-pt-Dyf54Z8l.js} +1 -1
  15. package/lib/src/brand-page/components/about-section/AboutSection.mixin.d.ts +2 -2
  16. package/lib/src/brand-page/components/about-section/AboutSection.mixin.js +1 -1
  17. package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.d.ts +1 -1
  18. package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.js +3 -3
  19. package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +2 -2
  20. package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +2 -2
  21. package/lib/src/brand-page/components/button/Button.mixin.d.ts +2 -2
  22. package/lib/src/brand-page/components/button/Button.mixin.js +1 -1
  23. package/lib/src/brand-page/components/button/Button.stories.d.ts +1 -1
  24. package/lib/src/brand-page/components/button/Button.stories.js +1 -1
  25. package/lib/src/brand-page/components/collapsible/Collapsible.mixin.d.ts +1 -1
  26. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +2 -2
  27. package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +3 -3
  28. package/lib/src/brand-page/components/contact-form/ContactForm.stories.d.ts +4 -4
  29. package/lib/src/brand-page/components/contact-form/ContactForm.stories.js +5 -5
  30. package/lib/src/brand-page/components/divider-section/DividerSection.mixin.d.ts +2 -2
  31. package/lib/src/brand-page/components/divider-section/DividerSection.mixin.js +1 -1
  32. package/lib/src/brand-page/components/image/Image.mixin.d.ts +2 -2
  33. package/lib/src/brand-page/components/image/Image.mixin.js +2 -2
  34. package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.d.ts +2 -2
  35. package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.js +1 -1
  36. package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.d.ts +1 -1
  37. package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.js +3 -3
  38. package/lib/src/brand-page/components/image-gallery/ImageGalleryModal.mixin.d.ts +1 -1
  39. package/lib/src/brand-page/components/images-section/ImagesSection.stories.d.ts +1 -1
  40. package/lib/src/brand-page/components/images-section/ImagesSection.stories.js +3 -3
  41. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +2 -2
  42. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +2 -2
  43. package/lib/src/brand-page/components/mailing-list/MailingList.stories.d.ts +4 -4
  44. package/lib/src/brand-page/components/mailing-list/MailingList.stories.js +1 -1
  45. package/lib/src/brand-page/components/map/GoogleMap.mixin.js +2 -2
  46. package/lib/src/brand-page/components/media/Media.mixin.d.ts +1 -1
  47. package/lib/src/brand-page/components/media/Shape.mixin.d.ts +1 -1
  48. package/lib/src/brand-page/components/media/Shape.mixin.js +3 -3
  49. package/lib/src/brand-page/components/media-query/MediaQuery.stories.js +1 -1
  50. package/lib/src/brand-page/components/page/Page.mixin.d.ts +2 -2
  51. package/lib/src/brand-page/components/page/Page.mixin.js +3 -3
  52. package/lib/src/brand-page/components/page/Page.stories.d.ts +1 -1
  53. package/lib/src/brand-page/components/page/Page.stories.js +5 -2
  54. package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +2 -2
  55. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +2 -2
  56. package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +1 -1
  57. package/lib/src/brand-page/components/page-header/PageHeader.mixin.d.ts +2 -2
  58. package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +2 -2
  59. package/lib/src/brand-page/components/payment/Payment.mixin.js +2 -2
  60. package/lib/src/brand-page/components/payment/RequestPaymentStripe.mixin.d.ts +1 -1
  61. package/lib/src/brand-page/components/payment/RequestPaymentStripe.mixin.js +1 -1
  62. package/lib/src/brand-page/components/payment/__fixtures__/request-payment.js +2 -2
  63. package/lib/src/brand-page/components/payment/__fixtures__/support-me.js +2 -2
  64. package/lib/src/brand-page/components/payment/request-payment/RequestPayment.mixin.js +1 -1
  65. package/lib/src/brand-page/components/payment/request-payment/RequestPayment.stories.js +1 -1
  66. package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +1 -1
  67. package/lib/src/brand-page/components/payment/support-me/SupportMe.stories.js +1 -1
  68. package/lib/src/brand-page/components/profile/Profile.mixin.d.ts +2 -2
  69. package/lib/src/brand-page/components/profile/Profile.mixin.js +2 -2
  70. package/lib/src/brand-page/components/profile/Profile.stories.d.ts +2 -2
  71. package/lib/src/brand-page/components/profile/Profile.stories.js +1 -1
  72. package/lib/src/brand-page/components/shop/Cart.stories.js +3 -3
  73. package/lib/src/brand-page/components/social-links/SocialLinks.stories.d.ts +1 -1
  74. package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.d.ts +2 -2
  75. package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.js +2 -2
  76. package/lib/src/brand-page/components/text/Text.stories.d.ts +1 -1
  77. package/lib/src/brand-page/components/video/Video.mixin.d.ts +1 -1
  78. package/lib/src/brand-page/constants/font.constants.js +1 -1
  79. package/lib/src/brand-page/constants/misc.constants.js +1 -1
  80. package/lib/src/brand-page/constants/sections/footer-display.constants.d.ts +1 -1
  81. package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
  82. package/lib/src/brand-page/constants/sections/header-display.constants.d.ts +1 -1
  83. package/lib/src/brand-page/models/index.d.ts +18 -0
  84. package/lib/src/brand-page/models/index.js +12 -0
  85. package/lib/src/brand-page/models/styles.model.js +1 -1
  86. package/lib/src/brand-page/utils/button.util.js +1 -1
  87. package/lib/src/brand-page/utils/color.util.js +1 -1
  88. package/lib/src/brand-page/utils/index.d.ts +1 -1
  89. package/lib/src/brand-page/utils/index.js +1 -1
  90. package/lib/src/brand-page/utils/migration/migration-01.d.ts +1 -1
  91. package/lib/src/brand-page/utils/migration/migration-01.js +2 -2
  92. package/lib/src/brand-page/utils/migration/migration-12.d.ts +2 -0
  93. package/lib/src/brand-page/utils/migration/migration-12.js +30 -0
  94. package/lib/src/brand-page/utils/migration.util.js +6 -0
  95. package/lib/src/brand-page/utils/personalisation.util.js +2 -2
  96. package/lib/src/brand-page/utils/route.util.d.ts +1 -1
  97. package/lib/src/brand-page/utils/style.util.js +3 -3
  98. package/lib/src/brand-page/utils/svg-color.util.js +1 -1
  99. package/lib/src/brand-page/utils/validation.util.js +2 -2
  100. package/lib/src/brand-page/utils/vcard.util.js +2 -2
  101. package/lib/src/brand-page/utils/view-model.util.d.ts +5 -2
  102. package/lib/src/brand-page/utils/view-model.util.js +27 -1
  103. package/lib/src/brand-page/view-models.d.ts +28 -0
  104. package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts +1 -1
  105. package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.js +2 -2
  106. package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.d.ts +1 -1
  107. package/lib/src/brand-page-maker/assessors/brand-page-type-visibility.assessor.d.ts +1 -1
  108. package/lib/src/brand-page-maker/assessors/card-fill-visibility.assessor.d.ts +1 -1
  109. package/lib/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.d.ts +1 -1
  110. package/lib/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.d.ts +1 -1
  111. package/lib/src/brand-page-maker/assessors/color-replacement-visibility.assessor.d.ts +1 -1
  112. package/lib/src/brand-page-maker/assessors/contact-form-visibility.assessor.d.ts +1 -1
  113. package/lib/src/brand-page-maker/assessors/contact-form-visibility.assessor.js +2 -2
  114. package/lib/src/brand-page-maker/assessors/divider-toggle-field-visibility.assessor.d.ts +1 -1
  115. package/lib/src/brand-page-maker/assessors/image-field-visability.assessor.d.ts +1 -1
  116. package/lib/src/brand-page-maker/assessors/image-gallery-field-visibility.assessor.d.ts +1 -1
  117. package/lib/src/brand-page-maker/assessors/image-option-visibility.assessor.d.ts +1 -1
  118. package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.d.ts +1 -1
  119. package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.js +2 -2
  120. package/lib/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.d.ts +1 -1
  121. package/lib/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.js +1 -1
  122. package/lib/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.d.ts +1 -1
  123. package/lib/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.js +1 -1
  124. package/lib/src/brand-page-maker/assessors/logo-field-visibility.assessor.d.ts +1 -1
  125. package/lib/src/brand-page-maker/assessors/media-section-items-field.assessor.d.ts +1 -1
  126. package/lib/src/brand-page-maker/assessors/media-section-items-field.assessor.js +1 -1
  127. package/lib/src/brand-page-maker/assessors/personalisation-visibility.assessor.d.ts +1 -1
  128. package/lib/src/brand-page-maker/assessors/personalisation-visibility.assessor.js +2 -2
  129. package/lib/src/brand-page-maker/assessors/shape-section-items-field.assessor.d.ts +1 -1
  130. package/lib/src/brand-page-maker/assessors/shape-section-items-field.assessor.js +1 -1
  131. package/lib/src/brand-page-maker/assessors/shape-size-visibility.assessor.d.ts +1 -1
  132. package/lib/src/brand-page-maker/assessors/shop-item-color-visibility.assessor.d.ts +1 -1
  133. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +11 -11
  134. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -1
  135. package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +3 -3
  136. package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.js +5 -5
  137. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +5 -5
  138. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.js +4 -4
  139. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +128 -128
  140. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +14 -14
  141. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +8 -8
  142. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.js +1 -1
  143. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +6 -6
  144. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.d.ts +4 -4
  145. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +2 -2
  146. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.d.ts +1 -1
  147. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.d.ts +1 -1
  148. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.js +1 -1
  149. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.d.ts +1 -1
  150. package/lib/src/brand-page-maker/components/brand-page-maker/mock-api-calls/index.js +2 -2
  151. package/lib/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-fabric-render-client-api-calls.js +1 -1
  152. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.d.ts +1 -1
  153. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.js +1 -1
  154. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.d.ts +1 -1
  155. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.js +1 -1
  156. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-images.js +1 -1
  157. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.d.ts +1 -1
  158. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.js +1 -1
  159. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.d.ts +2 -2
  160. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.js +1 -1
  161. package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/styles.d.ts +1 -1
  162. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +117 -117
  163. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +15 -15
  164. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +15 -15
  165. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +2 -2
  166. package/lib/src/brand-page-maker/components/device/Device.mixin.js +1 -1
  167. package/lib/src/brand-page-maker/components/index.d.ts +1 -1
  168. package/lib/src/brand-page-maker/components/index.js +1 -1
  169. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -1
  170. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +2 -2
  171. package/lib/src/brand-page-maker/components/preview/Preview.mixin.js +2 -2
  172. package/lib/src/brand-page-maker/components/preview/Preview.stories.d.ts +1 -1
  173. package/lib/src/brand-page-maker/components/preview/Preview.stories.js +8 -4
  174. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +3 -3
  175. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.js +3 -3
  176. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +13 -13
  177. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +4 -4
  178. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +17 -17
  179. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +5 -5
  180. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.stories.js +2 -2
  181. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +4 -4
  182. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.js +2 -2
  183. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +10 -10
  184. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.js +2 -2
  185. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +22 -22
  186. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +9 -9
  187. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.stories.d.ts +3 -3
  188. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.stories.js +3 -3
  189. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +3 -3
  190. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.js +2 -2
  191. package/lib/src/brand-page-maker/composables/rich-text-editor/font.js +1 -1
  192. package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.js +1 -1
  193. package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.js +2 -2
  194. package/lib/src/brand-page-maker/composables/rich-text-editor/textAlign.js +1 -1
  195. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +4 -4
  196. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +5 -5
  197. package/lib/src/brand-page-maker/constants/brandpage-meta-constant.js +1 -1
  198. package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +1 -1
  199. package/lib/src/brand-page-maker/constants/config-settings-constant.js +4 -4
  200. package/lib/src/brand-page-maker/constants/index.d.ts +1 -1
  201. package/lib/src/brand-page-maker/constants/index.js +1 -1
  202. package/lib/src/brand-page-maker/constants/personalisation.constant.d.ts +1 -1
  203. package/lib/src/brand-page-maker/constants/sidebar-constant.d.ts +1 -1
  204. package/lib/src/brand-page-maker/constants/sidebar-constant.js +1 -1
  205. package/lib/src/brand-page-maker/constants/ui-constant.js +1 -1
  206. package/lib/src/brand-page-maker/convertors/about-display-style.convertor.d.ts +1 -1
  207. package/lib/src/brand-page-maker/convertors/about-display-style.convertor.js +1 -1
  208. package/lib/src/brand-page-maker/convertors/align-display-style.convertor.js +2 -2
  209. package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.d.ts +1 -1
  210. package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.js +1 -1
  211. package/lib/src/brand-page-maker/convertors/button-link-style.convertor.js +2 -2
  212. package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.d.ts +1 -1
  213. package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.js +1 -1
  214. package/lib/src/brand-page-maker/convertors/display-style.convertor.js +2 -2
  215. package/lib/src/brand-page-maker/convertors/divider-style.convertor.js +2 -2
  216. package/lib/src/brand-page-maker/convertors/gallery-type.convertor.d.ts +1 -1
  217. package/lib/src/brand-page-maker/convertors/gallery-type.convertor.js +2 -2
  218. package/lib/src/brand-page-maker/convertors/image-aspect-ratio.convertor.d.ts +1 -1
  219. package/lib/src/brand-page-maker/convertors/image-aspect-ratio.convertor.js +2 -2
  220. package/lib/src/brand-page-maker/convertors/line-height-value.convertor.js +1 -1
  221. package/lib/src/brand-page-maker/convertors/payment-display-type.convertor.d.ts +1 -1
  222. package/lib/src/brand-page-maker/convertors/payment-display-type.convertor.js +2 -2
  223. package/lib/src/brand-page-maker/convertors/shape-size-options.convertor.js +1 -1
  224. package/lib/src/brand-page-maker/convertors/shop-aspect-ratio.convertor.js +2 -2
  225. package/lib/src/brand-page-maker/convertors/shop-display-type.convertor.d.ts +1 -1
  226. package/lib/src/brand-page-maker/convertors/shop-display-type.convertor.js +2 -2
  227. package/lib/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.d.ts +1 -1
  228. package/lib/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.js +2 -2
  229. package/lib/src/brand-page-maker/convertors/testimonial-display-style-convertor.js +2 -2
  230. package/lib/src/brand-page-maker/convertors/text-column-style.convertor.js +1 -1
  231. package/lib/src/brand-page-maker/convertors/text-css-style-options.convertor.d.ts +1 -1
  232. package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.d.ts +1 -1
  233. package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +1 -1
  234. package/lib/src/brand-page-maker/convertors/text-size-value.convertor.js +1 -1
  235. package/lib/src/brand-page-maker/convertors/video-content-state.convertor.d.ts +1 -1
  236. package/lib/src/brand-page-maker/default-getters/payment-fill-color.default-getter.js +1 -1
  237. package/lib/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.js +2 -2
  238. package/lib/src/brand-page-maker/default-getters/text-color.default-getter.js +2 -2
  239. package/lib/src/brand-page-maker/models/assessor.model.d.ts +1 -1
  240. package/lib/src/brand-page-maker/models/button-styles-config.d.ts +1 -1
  241. package/lib/src/brand-page-maker/models/button-styles-config.js +2 -2
  242. package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +3 -3
  243. package/lib/src/brand-page-maker/models/content-settings-configs.js +1 -1
  244. package/lib/src/brand-page-maker/models/content-settings.d.ts +3 -3
  245. package/lib/src/brand-page-maker/models/content-settings.js +3 -3
  246. package/lib/src/brand-page-maker/models/convertor.model.d.ts +1 -1
  247. package/lib/src/brand-page-maker/models/default-getter.model.d.ts +1 -1
  248. package/lib/src/brand-page-maker/models/navigation-style-configs.d.ts +3 -3
  249. package/lib/src/brand-page-maker/models/navigation-style-configs.js +3 -3
  250. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.d.ts +1 -1
  251. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.js +2 -2
  252. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.d.ts +2 -2
  253. package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.js +5 -5
  254. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +3 -3
  255. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +10 -10
  256. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store-utils.js +3 -3
  257. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +7 -7
  258. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +36 -21
  259. package/lib/src/brand-page-maker/stores/product-config/product-config-store.d.ts +1 -1
  260. package/lib/src/brand-page-maker/stores/product-config/product-config-store.js +1 -1
  261. package/lib/src/brand-page-maker/stores/route/localised-route-store.js +2 -2
  262. package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +2 -2
  263. package/lib/src/brand-page-maker/stores/ui/ui-store.js +4 -4
  264. package/lib/src/brand-page-maker/stores/user/user-store.d.ts +1 -1
  265. package/lib/src/brand-page-maker/utils/content-settings.util.d.ts +3 -3
  266. package/lib/src/brand-page-maker/utils/content-settings.util.js +2 -2
  267. package/lib/src/brand-page-maker/utils/content.util.d.ts +2 -2
  268. package/lib/src/brand-page-maker/utils/content.util.js +3 -3
  269. package/lib/src/brand-page-maker/utils/index.js +1 -1
  270. package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +3 -3
  271. package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +3 -3
  272. package/lib/src/brand-page-maker/validators/field.validator.d.ts +1 -1
  273. package/lib/src/brand-page-maker/validators/field.validator.js +3 -3
  274. package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +1 -1
  275. package/lib/src/brand-page-maker/validators/section-button.validator.js +3 -3
  276. package/lib/src/clients/ai-assistant-client.js +1 -1
  277. package/lib/src/clients/asset-library-clients.d.ts +1 -1
  278. package/lib/src/clients/brand-page-client.d.ts +1 -1
  279. package/lib/src/clients/brand-page-client.js +1 -1
  280. package/lib/src/clients/user-media-client.d.ts +2 -2
  281. package/lib/src/clients/user-media-client.js +1 -1
  282. package/lib/src/constants/brand-page-maker.d.ts +1 -1
  283. package/lib/src/constants/brand-page-maker.js +1 -1
  284. package/lib/src/css/library.brand-page-brandCrowd.min.css +324 -324
  285. package/lib/src/css/library.brand-page-brandPage.min.css +324 -324
  286. package/lib/src/css/library.brand-page-designCom.min.css +324 -324
  287. package/lib/src/css/library.brand-page-preview.min.css +324 -324
  288. package/lib/src/index.mjs +110 -109
  289. package/lib/src/{lib-CBpRmget.js → lib-CRBe2_A8.js} +13648 -13426
  290. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +1 -1
  291. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.js +4 -4
  292. package/lib/src/shared/background-settings/store/background-settings-store.d.ts +2 -2
  293. package/lib/src/shared/background-settings/store/background-settings-store.js +3 -3
  294. package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +3 -3
  295. package/lib/src/shared/color-picker/constants.js +1 -1
  296. package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +2 -2
  297. package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +2 -2
  298. package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +1 -1
  299. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +42 -41
  300. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +5 -5
  301. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.stories.js +4 -4
  302. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +52 -52
  303. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +4 -4
  304. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +24 -24
  305. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +5 -5
  306. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +35 -35
  307. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +8 -8
  308. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.d.ts +1 -1
  309. package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.js +1 -1
  310. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +19 -19
  311. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +7 -7
  312. package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +1 -1
  313. package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.js +1 -1
  314. package/lib/src/shared/content-settings/components/google-address-field/GoogleAddressField.mixin.d.ts +1 -1
  315. package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +1 -1
  316. package/lib/src/shared/content-settings/components/image-field/ImageField.mixin.js +4 -4
  317. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +3 -3
  318. package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.d.ts +1 -1
  319. package/lib/src/shared/content-settings/components/logo-field/LogoField.mixin.d.ts +1 -1
  320. package/lib/src/shared/content-settings/components/logo-field/LogoField.mixin.js +1 -1
  321. package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.d.ts +2 -2
  322. package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.js +2 -2
  323. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +17 -17
  324. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.js +4 -4
  325. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +1 -1
  326. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.js +3 -3
  327. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionFieldAdaptor.mixin.d.ts +1 -1
  328. package/lib/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.d.ts +1 -1
  329. package/lib/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.js +1 -1
  330. package/lib/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.d.ts +2 -2
  331. package/lib/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.js +1 -1
  332. package/lib/src/shared/content-settings/components/payment-config-field/payment-toggle-field/PaymentToggleField.mixin.d.ts +1 -1
  333. package/lib/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.d.ts +2 -2
  334. package/lib/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.js +1 -1
  335. package/lib/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.d.ts +1 -1
  336. package/lib/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.js +1 -1
  337. package/lib/src/shared/content-settings/components/radio-field/RadioField.mixin.d.ts +4 -4
  338. package/lib/src/shared/content-settings/components/radio-field/RadioField.mixin.js +2 -2
  339. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +1 -1
  340. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.js +1 -1
  341. package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +1 -1
  342. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +1 -1
  343. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +3 -3
  344. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +1 -1
  345. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +4 -4
  346. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +16 -16
  347. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +2 -2
  348. package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +1 -1
  349. package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +1 -1
  350. package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.js +2 -2
  351. package/lib/src/shared/content-settings/models.d.ts +3 -3
  352. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +2 -2
  353. package/lib/src/shared/content-settings/store/content-settings-store.js +5 -5
  354. package/lib/src/shared/content-settings/utils.d.ts +2 -2
  355. package/lib/src/shared/content-settings/utils.js +2 -2
  356. package/lib/src/shared/ecommerce-settings/store/shop-settings-store.d.ts +2 -2
  357. package/lib/src/shared/ecommerce-settings/store/shop-settings-store.js +1 -1
  358. package/lib/src/shared/ecommerce-settings/util/skuUtils.d.ts +1 -1
  359. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +2 -2
  360. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +1 -1
  361. package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +1 -1
  362. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +7 -7
  363. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +4 -4
  364. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +26 -26
  365. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.js +2 -2
  366. package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +1 -1
  367. package/lib/src/shared/logo-settings/store/editable-logo-store.js +5 -5
  368. package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
  369. package/lib/src/shared/logo-settings/store/logo-settings-store.js +4 -4
  370. package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +1 -1
  371. package/lib/src/shared/logo-versions/LogoVersions.mixin.js +1 -1
  372. package/lib/src/shared/models.d.ts +1 -1
  373. package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +1 -1
  374. package/lib/src/shared/my-designs/MyDesigns.mixin.js +2 -2
  375. package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +1 -1
  376. package/lib/src/shared/my-uploads/MyMedia.mixin.js +4 -4
  377. package/lib/src/shared/my-uploads/MyMedia.stories.js +3 -3
  378. package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
  379. package/lib/src/shared/my-uploads/MyUploads.mixin.js +4 -4
  380. package/lib/src/shared/my-uploads/MyUploads.stories.js +1 -1
  381. package/lib/src/shared/my-uploads/models.d.ts +1 -1
  382. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +2 -2
  383. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +4 -4
  384. package/lib/src/shared/navigation-style-settings/store/index.d.ts +4 -4
  385. package/lib/src/shared/navigation-style-settings/store/index.js +5 -5
  386. package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +18 -0
  387. package/lib/src/shared/page-navigation/store/page-navigation-store.js +118 -0
  388. package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +22 -8
  389. package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +16 -2
  390. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +91 -77
  391. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +36 -5
  392. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +62 -61
  393. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +6 -6
  394. package/lib/src/shared/page-settings/models.d.ts +3 -2
  395. package/lib/src/shared/page-settings/store/page-settings-store.d.ts +3 -3
  396. package/lib/src/shared/page-settings/store/page-settings-store.js +8 -6
  397. package/lib/src/shared/page-settings/utils.js +1 -1
  398. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +25 -25
  399. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +6 -6
  400. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -4
  401. package/lib/src/shared/side-bar/components/SideBar.mixin.js +1 -1
  402. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +5 -5
  403. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.js +2 -2
  404. package/lib/src/shared/side-bar/store/side-bar-store.js +1 -1
  405. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +42 -42
  406. package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +7 -7
  407. package/lib/src/shared/style-settings/components/StyleSettings.stories.js +3 -3
  408. package/lib/src/shared/style-settings/models.d.ts +1 -1
  409. package/lib/src/shared/style-settings/store/style-settings-store.d.ts +4 -4
  410. package/lib/src/shared/style-settings/store/style-settings-store.js +6 -6
  411. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +6 -6
  412. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +5 -5
  413. package/lib/src/shared/template-settings/components/TemplatesSettings.stories.js +2 -2
  414. package/lib/src/shared/template-settings/components/TemplatesSettings.test-helper.d.ts +1 -1
  415. package/lib/src/shared/template-settings/components/TemplatesSettings.test-helper.js +4 -4
  416. package/lib/src/shared/template-settings/models.d.ts +1 -1
  417. package/lib/src/shared/template-settings/models.js +1 -1
  418. package/lib/src/shared/template-settings/store/template-settings-store.js +6 -6
  419. package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +1 -1
  420. package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.js +2 -2
  421. package/package.json +3 -3
  422. package/src/brand-page/components/about-section/AboutSection.mixin.ts +3 -3
  423. package/src/brand-page/components/about-section/AboutSection.vue.test.ts +2 -2
  424. package/src/brand-page/components/background-shape/BackgroundShape.mixin.ts +4 -4
  425. package/src/brand-page/components/banner-section/BannerSection.mixin.ts +4 -4
  426. package/src/brand-page/components/booking-section/BookingSection.vue +4 -4
  427. package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +4 -4
  428. package/src/brand-page/components/button/Button.mixin.ts +3 -3
  429. package/src/brand-page/components/button/Button.stories.ts +2 -2
  430. package/src/brand-page/components/collapsible/Collapsible.mixin.ts +1 -1
  431. package/src/brand-page/components/contact-form/ContactForm.mixin.ts +9 -5
  432. package/src/brand-page/components/contact-form/ContactForm.stories.ts +5 -5
  433. package/src/brand-page/components/cookie-consent/CookieConsent.vue +1 -1
  434. package/src/brand-page/components/divider-section/DividerSection.mixin.ts +3 -3
  435. package/src/brand-page/components/fallback-image/FallbackImage.vue +1 -1
  436. package/src/brand-page/components/image/Image.mixin.ts +7 -4
  437. package/src/brand-page/components/image/Image.test.ts +7 -4
  438. package/src/brand-page/components/image/Image.vue +1 -1
  439. package/src/brand-page/components/image-gallery/ImageGallery.mixin.ts +3 -3
  440. package/src/brand-page/components/image-gallery/ImageGallery.stories.ts +3 -3
  441. package/src/brand-page/components/image-gallery/ImageGallery.test.ts +8 -4
  442. package/src/brand-page/components/image-gallery/ImageGallery.vue +1 -1
  443. package/src/brand-page/components/image-gallery/ImageGalleryModal.mixin.ts +1 -1
  444. package/src/brand-page/components/image-gallery/carousel/CarouselGallery.vue +1 -1
  445. package/src/brand-page/components/image-gallery/grid/GridImageGallery.vue +1 -1
  446. package/src/brand-page/components/image-gallery/masonry/MasonryGallery.vue +1 -1
  447. package/src/brand-page/components/images-section/ImagesSection.stories.ts +3 -3
  448. package/src/brand-page/components/images-section/ImagesSection.test.ts +1 -1
  449. package/src/brand-page/components/images-section/ImagesSection.vue +9 -5
  450. package/src/brand-page/components/logo/Logo.vue +3 -3
  451. package/src/brand-page/components/logo/LogoRender.vue +2 -2
  452. package/src/brand-page/components/mailing-list/MailingList.mixin.ts +4 -4
  453. package/src/brand-page/components/mailing-list/MailingList.stories.ts +2 -2
  454. package/src/brand-page/components/map/GoogleMap.mixin.ts +2 -2
  455. package/src/brand-page/components/map/Map.stories.ts +1 -1
  456. package/src/brand-page/components/map/Map.vue +3 -3
  457. package/src/brand-page/components/media/Media.mixin.ts +1 -1
  458. package/src/brand-page/components/media/Shape.mixin.ts +4 -4
  459. package/src/brand-page/components/media-query/MediaQuery.stories.ts +1 -1
  460. package/src/brand-page/components/media-query/MediaQuery.vue +2 -2
  461. package/src/brand-page/components/navigation/Navigation.vue +3 -3
  462. package/src/brand-page/components/page/Page.mixin.ts +5 -5
  463. package/src/brand-page/components/page/Page.stories.ts +6 -3
  464. package/src/brand-page/components/page/PageComponent.mixin.ts +5 -2
  465. package/src/brand-page/components/page-footer/PageFooter.mixin.ts +3 -3
  466. package/src/brand-page/components/page-header/PageHeader.mixin.ts +2 -2
  467. package/src/brand-page/components/payment/Payment.mixin.ts +4 -4
  468. package/src/brand-page/components/payment/Payment.vue +1 -1
  469. package/src/brand-page/components/payment/RequestPaymentStripe.mixin.ts +2 -2
  470. package/src/brand-page/components/payment/RequestPaymentStripe.vue +1 -1
  471. package/src/brand-page/components/payment/__fixtures__/request-payment.ts +2 -2
  472. package/src/brand-page/components/payment/__fixtures__/support-me.ts +2 -2
  473. package/src/brand-page/components/payment/request-payment/RequestPayment.mixin.ts +1 -1
  474. package/src/brand-page/components/payment/request-payment/RequestPayment.stories.ts +1 -1
  475. package/src/brand-page/components/payment/request-payment/RequestPayment.vue +1 -1
  476. package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +1 -1
  477. package/src/brand-page/components/payment/support-me/SupportMe.stories.ts +1 -1
  478. package/src/brand-page/components/payment/support-me/SupportMe.vue +1 -1
  479. package/src/brand-page/components/profile/Profile.mixin.ts +4 -4
  480. package/src/brand-page/components/profile/Profile.stories.ts +2 -2
  481. package/src/brand-page/components/save-contact/SaveContactWidget.vue +9 -6
  482. package/src/brand-page/components/save-contact/popup-card/PopupCard.vue +2 -2
  483. package/src/brand-page/components/sensitive-content/SensitiveContentModal.vue +1 -1
  484. package/src/brand-page/components/shapes-section/ShapesSection.vue +2 -2
  485. package/src/brand-page/components/shop/Cart.stories.ts +3 -3
  486. package/src/brand-page/components/shop/CartModal.vue +3 -3
  487. package/src/brand-page/components/shop/FeaturedDisplay.vue +4 -4
  488. package/src/brand-page/components/shop/PaymentModal.vue +5 -5
  489. package/src/brand-page/components/shop/ProductDetailModal.vue +4 -4
  490. package/src/brand-page/components/shop/Shop.vue +7 -7
  491. package/src/brand-page/components/shop/TextDisplay.vue +4 -4
  492. package/src/brand-page/components/shop/ThumbnailDisplay.vue +4 -4
  493. package/src/brand-page/components/social-links/SocialLinks.stories.ts +1 -1
  494. package/src/brand-page/components/social-links/SocialLinks.vue +2 -2
  495. package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +4 -3
  496. package/src/brand-page/components/social-links/SocialLinksItems.vue +1 -1
  497. package/src/brand-page/components/testimonial-section/TestimonialSection.mixin.ts +4 -4
  498. package/src/brand-page/components/text/Text.stories.ts +1 -1
  499. package/src/brand-page/components/text/Text.vue +3 -3
  500. package/src/brand-page/components/text-media-section/TextMediaSection.test.ts +1 -1
  501. package/src/brand-page/components/text-media-section/TextMediaSection.vue +5 -5
  502. package/src/brand-page/components/text-wrapper/TextWrapper.vue +5 -2
  503. package/src/brand-page/components/video/Video.mixin.ts +1 -1
  504. package/src/brand-page/components/video/Video.vue +1 -1
  505. package/src/brand-page/constants/font.constants.ts +1 -1
  506. package/src/brand-page/constants/misc.constants.ts +1 -1
  507. package/src/brand-page/constants/sections/footer-display.constants.ts +2 -2
  508. package/src/brand-page/constants/sections/header-display.constants.ts +1 -1
  509. package/src/brand-page/models/index.ts +30 -0
  510. package/src/brand-page/models/styles.model.ts +1 -1
  511. package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +57 -3
  512. package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +4 -0
  513. package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +8 -0
  514. package/src/brand-page/utils/button.util.ts +1 -1
  515. package/src/brand-page/utils/color.util.ts +1 -1
  516. package/src/brand-page/utils/index.ts +1 -1
  517. package/src/brand-page/utils/logo.util.test.ts +5 -0
  518. package/src/brand-page/utils/migration/migration-01.ts +2 -2
  519. package/src/brand-page/utils/migration/migration-07.test.ts +1 -1
  520. package/src/brand-page/utils/migration/migration-08.test.ts +1 -1
  521. package/src/brand-page/utils/migration/migration-08.ts +1 -1
  522. package/src/brand-page/utils/migration/migration-12.ts +43 -0
  523. package/src/brand-page/utils/migration.util.test.ts +16 -1
  524. package/src/brand-page/utils/migration.util.ts +6 -0
  525. package/src/brand-page/utils/personalisation.util.test.ts +2 -2
  526. package/src/brand-page/utils/personalisation.util.ts +2 -2
  527. package/src/brand-page/utils/route.util.ts +1 -1
  528. package/src/brand-page/utils/style.util.test.ts +2 -2
  529. package/src/brand-page/utils/style.util.ts +3 -3
  530. package/src/brand-page/utils/svg-color.util.test.ts +1 -1
  531. package/src/brand-page/utils/svg-color.util.ts +1 -1
  532. package/src/brand-page/utils/validation.util.ts +2 -2
  533. package/src/brand-page/utils/vcard.util.ts +2 -2
  534. package/src/brand-page/utils/view-model.util.test.ts +1 -1
  535. package/src/brand-page/utils/view-model.util.ts +82 -1
  536. package/src/brand-page/view-models.ts +33 -0
  537. package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +3 -6
  538. package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +1 -4
  539. package/src/brand-page-maker/assessors/brand-page-type-visibility.assessor.ts +1 -1
  540. package/src/brand-page-maker/assessors/card-fill-visibility.assessor.ts +1 -1
  541. package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +1 -1
  542. package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +1 -1
  543. package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +1 -1
  544. package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +2 -2
  545. package/src/brand-page-maker/assessors/divider-toggle-field-visibility.assessor.ts +1 -1
  546. package/src/brand-page-maker/assessors/image-field-visability.assessor.ts +1 -1
  547. package/src/brand-page-maker/assessors/image-gallery-field-visibility.assessor.ts +1 -1
  548. package/src/brand-page-maker/assessors/image-option-visibility.assessor.ts +1 -1
  549. package/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.ts +3 -3
  550. package/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.ts +2 -5
  551. package/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.ts +2 -2
  552. package/src/brand-page-maker/assessors/logo-field-visibility.assessor.ts +1 -1
  553. package/src/brand-page-maker/assessors/media-section-items-field.assessor.ts +2 -5
  554. package/src/brand-page-maker/assessors/personalisation-visibility.assessor.ts +2 -2
  555. package/src/brand-page-maker/assessors/shape-section-items-field.assessor.ts +2 -5
  556. package/src/brand-page-maker/assessors/shape-size-visibility.assessor.ts +1 -1
  557. package/src/brand-page-maker/assessors/shop-item-color-visibility.assessor.ts +1 -1
  558. package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
  559. package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
  560. package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +1 -1
  561. package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.ts +6 -6
  562. package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +3 -3
  563. package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.ts +4 -4
  564. package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.vue +2 -2
  565. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +19 -19
  566. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +8 -8
  567. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +10 -10
  568. package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.ts +1 -1
  569. package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +6 -6
  570. package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.vue +1 -1
  571. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +6 -6
  572. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +1 -1
  573. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +1 -1
  574. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.ts +2 -2
  575. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.ts +1 -1
  576. package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/index.ts +2 -2
  577. package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-fabric-render-client-api-calls.ts +1 -1
  578. package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-user-domain-api-calls.ts +1 -1
  579. package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.ts +2 -2
  580. package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.ts +2 -2
  581. package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-images.ts +2 -2
  582. package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.ts +2 -2
  583. package/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.ts +2 -2
  584. package/src/brand-page-maker/components/brand-page-maker/starter-kits/styles.ts +1 -1
  585. package/src/brand-page-maker/components/brandpage-background-settings/BrandPageBackgroundSettings.vue +2 -2
  586. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +17 -17
  587. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +6 -6
  588. package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +7 -7
  589. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +5 -5
  590. package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +1 -1
  591. package/src/brand-page-maker/components/color-palette/BpColorPicker.vue +2 -2
  592. package/src/brand-page-maker/components/cookie-collection/CookieSettings.vue +3 -3
  593. package/src/brand-page-maker/components/device/Device.mixin.ts +1 -1
  594. package/src/brand-page-maker/components/device/Device.test.ts +1 -1
  595. package/src/brand-page-maker/components/google-analytics/GoogleAnalytics.vue +4 -4
  596. package/src/brand-page-maker/components/index.ts +1 -1
  597. package/src/brand-page-maker/components/layout-switcher/LayoutSwitcher.vue +3 -3
  598. package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -1
  599. package/src/brand-page-maker/components/navigation/Navigation.vue +1 -1
  600. package/src/brand-page-maker/components/preview/Preview.mixin.ts +4 -4
  601. package/src/brand-page-maker/components/preview/Preview.stories.ts +8 -4
  602. package/src/brand-page-maker/components/preview-with-state/PreviewWithState.vue +2 -2
  603. package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.ts +6 -3
  604. package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.vue +1 -1
  605. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +19 -16
  606. package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
  607. package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +3 -6
  608. package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
  609. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +4 -4
  610. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
  611. package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +5 -5
  612. package/src/brand-page-maker/components/seo-settings/UrlSettings.stories.ts +2 -2
  613. package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +2 -2
  614. package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.ts +4 -4
  615. package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +1 -1
  616. package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +5 -5
  617. package/src/brand-page-maker/components/shop/ProductConfigModal.vue +2 -2
  618. package/src/brand-page-maker/components/shop/ProductItemField.vue +5 -5
  619. package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +3 -3
  620. package/src/brand-page-maker/components/social-share/SocialShare.mixin.ts +5 -2
  621. package/src/brand-page-maker/components/social-share/SocialShare.vue +2 -2
  622. package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +10 -10
  623. package/src/brand-page-maker/components/template-preview/TemplatePreview.stories.ts +3 -3
  624. package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +1 -1
  625. package/src/brand-page-maker/components/template-preview-with-state/TemplatePreviewWithState.vue +6 -6
  626. package/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.ts +2 -2
  627. package/src/brand-page-maker/composables/rich-text-editor/font.ts +1 -5
  628. package/src/brand-page-maker/composables/rich-text-editor/formatting.ts +1 -1
  629. package/src/brand-page-maker/composables/rich-text-editor/spacing.ts +2 -2
  630. package/src/brand-page-maker/composables/rich-text-editor/textAlign.ts +1 -1
  631. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +8 -8
  632. package/src/brand-page-maker/constants/brandpage-meta-constant.ts +1 -1
  633. package/src/brand-page-maker/constants/config-settings-constant.ts +7 -7
  634. package/src/brand-page-maker/constants/index.ts +2 -2
  635. package/src/brand-page-maker/constants/personalisation.constant.ts +1 -1
  636. package/src/brand-page-maker/constants/sidebar-constant.ts +2 -2
  637. package/src/brand-page-maker/constants/ui-constant.ts +1 -1
  638. package/src/brand-page-maker/convertors/about-display-style.convertor.ts +2 -2
  639. package/src/brand-page-maker/convertors/align-display-style.convertor.ts +2 -2
  640. package/src/brand-page-maker/convertors/banner-align-display-style.convertor.ts +2 -2
  641. package/src/brand-page-maker/convertors/button-link-style.convertor.ts +3 -3
  642. package/src/brand-page-maker/convertors/contact-layout-style.convertor.ts +2 -2
  643. package/src/brand-page-maker/convertors/display-style.convertor.ts +2 -2
  644. package/src/brand-page-maker/convertors/divider-style.convertor.ts +3 -3
  645. package/src/brand-page-maker/convertors/gallery-type.convertor.ts +3 -3
  646. package/src/brand-page-maker/convertors/image-aspect-ratio.convertor.ts +3 -3
  647. package/src/brand-page-maker/convertors/line-height-value.convertor.ts +1 -1
  648. package/src/brand-page-maker/convertors/payment-display-type.convertor.ts +2 -2
  649. package/src/brand-page-maker/convertors/shape-size-options.convertor.ts +1 -1
  650. package/src/brand-page-maker/convertors/shop-aspect-ratio.convertor.ts +2 -2
  651. package/src/brand-page-maker/convertors/shop-display-type.convertor.ts +2 -2
  652. package/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.ts +3 -3
  653. package/src/brand-page-maker/convertors/testimonial-display-style-convertor.ts +2 -2
  654. package/src/brand-page-maker/convertors/text-column-style.convertor.ts +1 -1
  655. package/src/brand-page-maker/convertors/text-css-style-options.convertor.ts +1 -1
  656. package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +2 -2
  657. package/src/brand-page-maker/convertors/text-size-value.convertor.ts +1 -1
  658. package/src/brand-page-maker/convertors/video-content-state.convertor.ts +1 -1
  659. package/src/brand-page-maker/default-getters/payment-fill-color.default-getter.ts +1 -1
  660. package/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.ts +3 -3
  661. package/src/brand-page-maker/default-getters/text-color.default-getter.ts +3 -3
  662. package/src/brand-page-maker/models/assessor.model.ts +1 -1
  663. package/src/brand-page-maker/models/button-styles-config.ts +3 -3
  664. package/src/brand-page-maker/models/content-settings-configs.ts +4 -4
  665. package/src/brand-page-maker/models/content-settings.ts +5 -5
  666. package/src/brand-page-maker/models/convertor.model.ts +1 -1
  667. package/src/brand-page-maker/models/default-getter.model.ts +1 -1
  668. package/src/brand-page-maker/models/navigation-style-configs.ts +5 -5
  669. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.ts +3 -3
  670. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +7 -7
  671. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +15 -12
  672. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store-utils.ts +3 -3
  673. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +10 -10
  674. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +49 -28
  675. package/src/brand-page-maker/stores/product-config/product-config-store.ts +2 -2
  676. package/src/brand-page-maker/stores/route/localised-route-store.ts +2 -2
  677. package/src/brand-page-maker/stores/ui/ui-store.ts +6 -9
  678. package/src/brand-page-maker/stores/user/user-store.ts +1 -1
  679. package/src/brand-page-maker/utils/content-settings.util.ts +4 -4
  680. package/src/brand-page-maker/utils/content.util.test.ts +1 -1
  681. package/src/brand-page-maker/utils/content.util.ts +5 -5
  682. package/src/brand-page-maker/utils/index.ts +1 -1
  683. package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +1 -1
  684. package/src/brand-page-maker/utils/rich-text-editor.util.ts +5 -5
  685. package/src/brand-page-maker/validators/field.validator.ts +4 -4
  686. package/src/brand-page-maker/validators/section-button.validator.ts +3 -3
  687. package/src/clients/ai-assistant-client.ts +1 -1
  688. package/src/clients/asset-library-clients.ts +1 -1
  689. package/src/clients/brand-page-client.ts +3 -3
  690. package/src/clients/user-media-client.test.ts +3 -3
  691. package/src/clients/user-media-client.ts +3 -3
  692. package/src/constants/brand-page-maker.ts +1 -1
  693. package/src/shared/background-settings/components/BackgroundSettings.vue +4 -4
  694. package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +7 -7
  695. package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +4 -8
  696. package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +4 -4
  697. package/src/shared/background-settings/store/background-settings-store.ts +4 -4
  698. package/src/shared/color-picker/components/ColorPicker.mixin.ts +3 -6
  699. package/src/shared/color-picker/components/ColorPickerSwatch.vue +1 -1
  700. package/src/shared/color-picker/constants.ts +1 -1
  701. package/src/shared/common/SideBarSettingsHeader.vue +1 -1
  702. package/src/shared/confirm-modal/ConfirmModal.mixin.ts +2 -2
  703. package/src/shared/content-settings/components/GenericTextInput.mixin.ts +2 -5
  704. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +1 -1
  705. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +2 -2
  706. package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +3 -3
  707. package/src/shared/content-settings/components/color-field/ColorField.vue +8 -12
  708. package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +4 -4
  709. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +7 -10
  710. package/src/shared/content-settings/components/content-settings/ContentSettings.stories.ts +4 -4
  711. package/src/shared/content-settings/components/content-settings/ContentSettings.vue +1 -1
  712. package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +4 -4
  713. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +6 -6
  714. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +8 -15
  715. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.ts +2 -2
  716. package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +2 -2
  717. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +8 -8
  718. package/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.ts +2 -2
  719. package/src/shared/content-settings/components/generate-ai-button/GenerateAiButton.vue +4 -4
  720. package/src/shared/content-settings/components/generate-ai-modal/GenerateAiModal.vue +4 -4
  721. package/src/shared/content-settings/components/google-address-field/GoogleAddressField.mixin.ts +1 -1
  722. package/src/shared/content-settings/components/google-address-field/GoogleAddressField.vue +1 -1
  723. package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +1 -1
  724. package/src/shared/content-settings/components/image-field/ImageField.mixin.ts +4 -4
  725. package/src/shared/content-settings/components/image-field/ImageField.vue +1 -1
  726. package/src/shared/content-settings/components/images-field/ImagesField.mixin.ts +1 -1
  727. package/src/shared/content-settings/components/images-field/ImagesField.vue +1 -1
  728. package/src/shared/content-settings/components/links-field/LinksField.mixin.ts +1 -1
  729. package/src/shared/content-settings/components/links-field/LinksField.vue +1 -1
  730. package/src/shared/content-settings/components/logo-field/LogoField.mixin.ts +1 -1
  731. package/src/shared/content-settings/components/logo-field/LogoField.vue +1 -1
  732. package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +13 -13
  733. package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +6 -6
  734. package/src/shared/content-settings/components/logo-size-field/LogoSizeSlider.vue +1 -1
  735. package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +2 -2
  736. package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.ts +2 -2
  737. package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +5 -5
  738. package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.vue +1 -1
  739. package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.ts +4 -4
  740. package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.vue +1 -4
  741. package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionFieldAdaptor.mixin.ts +1 -1
  742. package/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.ts +2 -2
  743. package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.ts +3 -6
  744. package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.vue +1 -1
  745. package/src/shared/content-settings/components/payment-config-field/payment-toggle-field/PaymentToggleField.mixin.ts +1 -1
  746. package/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.ts +3 -3
  747. package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.ts +2 -2
  748. package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.vue +1 -1
  749. package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +5 -5
  750. package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +2 -2
  751. package/src/shared/content-settings/components/radio-field/RadioField.mixin.ts +4 -4
  752. package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +3 -3
  753. package/src/shared/content-settings/components/shape-field/ShapeField.mixin.ts +2 -6
  754. package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
  755. package/src/shared/content-settings/components/slider-field/SliderField.mixin.ts +2 -2
  756. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +4 -4
  757. package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +2 -2
  758. package/src/shared/content-settings/components/text-field/TextField.vue +2 -2
  759. package/src/shared/content-settings/components/text-image-field/TextImageField.vue +3 -3
  760. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +5 -8
  761. package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -5
  762. package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +4 -4
  763. package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
  764. package/src/shared/content-settings/components/textarea-field/TextareaField.mixin.ts +1 -1
  765. package/src/shared/content-settings/components/textarea-field/TextareaField.vue +2 -2
  766. package/src/shared/content-settings/components/toggle-field/ToggleField.mixin.ts +1 -1
  767. package/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.ts +2 -2
  768. package/src/shared/content-settings/models.ts +3 -3
  769. package/src/shared/content-settings/store/content-settings-store.ts +7 -11
  770. package/src/shared/content-settings/utils.ts +4 -4
  771. package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +1 -1
  772. package/src/shared/ecommerce-settings/components/product-config-field/ProductConfigOption.vue +6 -6
  773. package/src/shared/ecommerce-settings/components/shop-payment-config-field/ShopPaymentConfigField.vue +1 -1
  774. package/src/shared/ecommerce-settings/store/shop-settings-store.ts +3 -3
  775. package/src/shared/ecommerce-settings/util/skuUtils.ts +1 -1
  776. package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +2 -2
  777. package/src/shared/font-preview/FontPreview.vue +1 -1
  778. package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +1 -1
  779. package/src/shared/login-required-message/LoginRequiredMessage.vue +1 -1
  780. package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +5 -5
  781. package/src/shared/logo-settings/components/EditLogoSettings.vue +1 -1
  782. package/src/shared/logo-settings/components/LogoSettings.mixin.ts +4 -4
  783. package/src/shared/logo-settings/components/LogoSettings.vue +1 -1
  784. package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +4 -4
  785. package/src/shared/logo-settings/components/LogoTemplateSearch.vue +4 -4
  786. package/src/shared/logo-settings/components/LogoVariations.vue +1 -1
  787. package/src/shared/logo-settings/components/logo-switch-confirmation-modal/LogoSwitchConfirmationModal.vue +1 -1
  788. package/src/shared/logo-settings/store/editable-logo-store.ts +5 -5
  789. package/src/shared/logo-settings/store/logo-settings-store.test.ts +7 -5
  790. package/src/shared/logo-settings/store/logo-settings-store.ts +5 -12
  791. package/src/shared/logo-versions/LogoVersions.mixin.ts +1 -1
  792. package/src/shared/models.ts +1 -1
  793. package/src/shared/my-designs/MyDesigns.mixin.ts +2 -2
  794. package/src/shared/my-designs/MyDesigns.vue +1 -1
  795. package/src/shared/my-uploads/MyMedia.mixin.ts +4 -4
  796. package/src/shared/my-uploads/MyMedia.stories.ts +3 -3
  797. package/src/shared/my-uploads/MyMedia.vue +1 -1
  798. package/src/shared/my-uploads/MyUploads.mixin.ts +4 -4
  799. package/src/shared/my-uploads/MyUploads.stories.ts +1 -1
  800. package/src/shared/my-uploads/MyUploads.vue +1 -1
  801. package/src/shared/my-uploads/models.ts +1 -1
  802. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +6 -6
  803. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
  804. package/src/shared/navigation-style-settings/store/index.ts +7 -11
  805. package/src/shared/page-navigation/store/page-navigation-store.ts +168 -0
  806. package/src/shared/page-settings/components/delete-page-modal/DeletePageModal.vue +1 -1
  807. package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +19 -2
  808. package/src/shared/page-settings/components/new-page-modal/NewPageModal.vue +1 -1
  809. package/src/shared/page-settings/components/page-settings/PageElement.vue +1 -1
  810. package/src/shared/page-settings/components/page-settings/PageSettingMenu.vue +1 -1
  811. package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +60 -8
  812. package/src/shared/page-settings/components/page-settings/PageSettings.vue +2 -5
  813. package/src/shared/page-settings/components/page-settings-section-styles/FooterDisplayStyle.vue +3 -3
  814. package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +5 -5
  815. package/src/shared/page-settings/components/page-settings-section-styles/HeaderNavigationType.vue +3 -3
  816. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +8 -8
  817. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +3 -3
  818. package/src/shared/page-settings/models.ts +3 -2
  819. package/src/shared/page-settings/store/page-settings-store.test.ts +5 -4
  820. package/src/shared/page-settings/store/page-settings-store.ts +12 -8
  821. package/src/shared/page-settings/utils.ts +1 -1
  822. package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +7 -7
  823. package/src/shared/shape-library/ShapeLibrary.vue +4 -4
  824. package/src/shared/side-bar/components/SideBar.mixin.ts +1 -1
  825. package/src/shared/side-bar/components/SideBarTabButton.mixin.ts +2 -2
  826. package/src/shared/side-bar/store/side-bar-store.ts +1 -1
  827. package/src/shared/style-settings/components/StyleSettings.mixin.ts +7 -7
  828. package/src/shared/style-settings/components/StyleSettings.stories.ts +3 -3
  829. package/src/shared/style-settings/components/StyleSettings.vue +1 -1
  830. package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +5 -8
  831. package/src/shared/style-settings/models.ts +1 -1
  832. package/src/shared/style-settings/store/style-settings-store.test.ts +3 -3
  833. package/src/shared/style-settings/store/style-settings-store.ts +9 -9
  834. package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +5 -5
  835. package/src/shared/template-settings/components/TemplatesSettings.stories.ts +2 -2
  836. package/src/shared/template-settings/components/TemplatesSettings.test-helper.ts +4 -4
  837. package/src/shared/template-settings/components/TemplatesSettings.vue +1 -1
  838. package/src/shared/template-settings/models.ts +2 -2
  839. package/src/shared/template-settings/store/template-settings-store.ts +6 -6
  840. package/src/shared/unsplash-library/UnsplashLibrary.mixin.ts +2 -2
  841. package/src/shared/unsplash-library/UnsplashLibrary.vue +1 -1
  842. package/src/shared/upload-logo-modal/UploadLogoModal.vue +2 -2
  843. package/src/shared/video-library/VideoLibrary.vue +2 -2
  844. package/src/shared/website-byo-upload/WebsiteByoUpload.vue +2 -2
@@ -1,3 +1,4 @@
1
+ import { vi } from 'vitest';
1
2
  import { migrateBrandPageModel } from './migration.util';
2
3
  import { migrateNewLogoLogic } from './migration/migration-01';
3
4
  import {
@@ -22,7 +23,7 @@ import {
22
23
  createInitialAboutSectionContent,
23
24
  createInitialBannerSectionContent,
24
25
  createInitialTestimonialSectionContent,
25
- } from '../../brand-page-maker/models';
26
+ } from '@brand-page-maker/models';
26
27
  import {
27
28
  DEFAULT_LETTER_SPACING,
28
29
  LINE_HEIGHT_BODY,
@@ -31,7 +32,21 @@ import {
31
32
  TEXT_ONLY,
32
33
  } from '../constants';
33
34
 
35
+ let indexForUuid = 0;
36
+
37
+ vi.mock('uuid', () => ({
38
+ v4: () => {
39
+ indexForUuid += 1;
40
+
41
+ return `mocked-uuid-${indexForUuid}`;
42
+ },
43
+ }));
44
+
34
45
  describe('migration.util', () => {
46
+ beforeEach(() => {
47
+ indexForUuid = 0;
48
+ });
49
+
35
50
  const getBsModel: () => BrandPageModel = () => {
36
51
  return {
37
52
  pages: [
@@ -13,6 +13,7 @@ import { migration08 } from './migration/migration-08';
13
13
  import { migration09 } from './migration/migration-09';
14
14
  import { migration10 } from './migration/migration-10';
15
15
  import { migration11 } from './migration/migration-11';
16
+ import { migration12 } from './migration/migration-12';
16
17
 
17
18
  export interface MigrationData {
18
19
  brandPageModel: BrandPageModel;
@@ -110,6 +111,11 @@ const MIGRATION_TABLE = [
110
111
  migrateFn: migration11,
111
112
  description: 'Remove backgroundColorEnabled flag from page headers',
112
113
  },
114
+ {
115
+ version: 12,
116
+ migrateFn: migration12,
117
+ description: 'Migrating nav model to support sub nav feature',
118
+ },
113
119
  ] as MigrationTableItem[];
114
120
 
115
121
  export const GetLatestModelVersion = () =>
@@ -16,7 +16,7 @@ import { applyUserPersonalisationToBrandPageModelAsync } from './personalisation
16
16
  import {
17
17
  DIGITAL_CARD_PERSONALIZATION,
18
18
  PERSONALISATION,
19
- } from '../../brand-page-maker/components/brand-page-maker/__fixtures__';
19
+ } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
20
20
  import {
21
21
  createInitialBannerSectionContent,
22
22
  createInitialShapesSectionContent,
@@ -27,7 +27,7 @@ import {
27
27
  createInitialTestimonialSectionContent,
28
28
  createInitialProfileContent,
29
29
  createInitialButtonContent,
30
- } from '../../brand-page-maker/models';
30
+ } from '@brand-page-maker/models';
31
31
  import { faker } from '@faker-js/faker';
32
32
 
33
33
  describe('personalisation.util', async () => {
@@ -1,9 +1,9 @@
1
- import { escapeContentText } from '../../brand-page/utils';
1
+ import { escapeContentText } from '@brand-page/utils';
2
2
  import {
3
3
  DEFAULT_PERSONALISATION_MAPPING,
4
4
  PERSONALISATION_MAPPINGS,
5
5
  TEXT_MEDIA_CONTENT_TYPES,
6
- } from '../../brand-page-maker/constants/personalisation.constant';
6
+ } from '@brand-page-maker/constants/personalisation.constant';
7
7
  import { BRAND_PAGE_TYPES, ShapeAspectRatioCategory } from '../models';
8
8
  import type {
9
9
  BrandPageModel,
@@ -12,7 +12,7 @@ export const getRouteParamsByPage = (
12
12
 
13
13
  export const getRouteNameByPageIndex = (
14
14
  isCustomDomain: boolean,
15
- pageIndex: number,
15
+ pageIndex?: number,
16
16
  ) => {
17
17
  let routeName =
18
18
  pageIndex === 0
@@ -7,7 +7,7 @@ import {
7
7
  } from './style.util';
8
8
  import { logoWithFlatColorsTheme } from '../../__fixtures__';
9
9
  import { STYLE_THEME_KEYS } from '../constants';
10
- import { BRAND_SITE } from '../../brand-page-maker/components/brand-page-maker/__fixtures__';
10
+ import { BRAND_SITE } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
11
11
  import type { LogoTheme } from '../models';
12
12
  import {
13
13
  BrandPageModel,
@@ -22,7 +22,7 @@ import {
22
22
  createInitialProfileContent,
23
23
  createInitialShapesSectionContent,
24
24
  createInitialSocialLinksContent,
25
- } from '../../brand-page-maker/models';
25
+ } from '@brand-page-maker/models';
26
26
 
27
27
  describe('style.util', () => {
28
28
  test('colorMatchCssKeyValue should return correct boxShadow css value when given a color matched theme key', () => {
@@ -20,18 +20,18 @@ import {
20
20
  linearGradientToArray,
21
21
  isColorLinearGradient,
22
22
  RGBAtoHex,
23
- } from '../../utils/helpers';
23
+ } from '@src/utils/helpers';
24
24
  import {
25
25
  addTransparentAlphaChannelToHex,
26
26
  calculateLuminanceRatio,
27
27
  getNewColorBasedOnTargetColorTheme,
28
28
  } from './color.util';
29
- import { isRgbColor } from '../../utils/helpers';
29
+ import { isRgbColor } from '@src/utils/helpers';
30
30
  import chroma from 'chroma-js';
31
31
  import {
32
32
  hasRTEContent,
33
33
  RTE_ALLOWED_SECTION_TYPES,
34
- } from '../../brand-page-maker/utils';
34
+ } from '@brand-page-maker/utils';
35
35
 
36
36
  /**
37
37
  * Simple utility to convert any color format to hex for consistent comparison
@@ -3,7 +3,7 @@ import {
3
3
  MULTI_COLOR_SVG,
4
4
  MULTI_COLOR_WITH_MULTI_CSS_SELECTOR_SVG,
5
5
  SINGLE_COLOR_SVG,
6
- } from '../../brand-page-maker/components/brand-page-maker/__fixtures__';
6
+ } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
7
7
  import { getColorReplacementsFromSvgStringServer } from './svg-color.util';
8
8
 
9
9
  describe('svg-color.util', async () => {
@@ -1,4 +1,4 @@
1
- import { RGBAtoHex } from '../../utils/helpers';
1
+ import { RGBAtoHex } from '@src/utils/helpers';
2
2
  import type { ColorReplacement } from '../models';
3
3
  import * as uuid from 'uuid';
4
4
  import {
@@ -1,5 +1,5 @@
1
- import { isEmail } from '../../utils/validator.util';
2
- import { errorTr } from '../../composables/useTranslate';
1
+ import { isEmail } from '@src/utils/validator.util';
2
+ import { errorTr } from '@src/composables/useTranslate';
3
3
 
4
4
  const MAX_EMAIL_LENGTH = 320;
5
5
  const MAX_PHONE_LENGTH = 50;
@@ -1,6 +1,6 @@
1
1
  import { isValidUrl } from '../../helpers/url.helper';
2
- import { getPlainTextFromRTE } from '../../brand-page-maker/utils/rich-text-editor.util';
3
- import { isEmail, isTel } from '../../utils/validator.util';
2
+ import { getPlainTextFromRTE } from '@brand-page-maker/utils/rich-text-editor.util';
3
+ import { isEmail, isTel } from '@src/utils/validator.util';
4
4
  import type {
5
5
  ButtonViewModel,
6
6
  ContentViewModel,
@@ -19,7 +19,7 @@ import {
19
19
  LINE_HEIGHT_BODY,
20
20
  LINE_HEIGHT_HEADINGS,
21
21
  } from '../constants';
22
- import { createInitialBannerSectionContent } from '../../brand-page-maker/models';
22
+ import { createInitialBannerSectionContent } from '@brand-page-maker/models';
23
23
 
24
24
  const createOldProfileContent = (): ProfileContent => {
25
25
  return {
@@ -41,6 +41,9 @@ import type {
41
41
  GettyVideoMedia,
42
42
  AbstractMedia,
43
43
  BackgroundStyles,
44
+ NavModel,
45
+ NavRoute,
46
+ NavOrder,
44
47
  } from '../models';
45
48
  import { ButtonStyles, SENSITIVE_CONTENT_TYPES, VIEWPORTS } from '../models';
46
49
  import {
@@ -81,10 +84,12 @@ import type {
81
84
  GettyVideoViewModel,
82
85
  PageStylesViewModel,
83
86
  BackgroundStylesViewModel,
87
+ NavViewModel,
88
+ NavItemViewModel,
84
89
  } from '../view-models';
85
90
  import { isHexTransparent, setRgbAlpha } from './color.util';
86
91
  import type { ContentTextStylePropertyKey } from '../constants';
87
- import { isHexColor } from '../../utils/helpers';
92
+ import { isHexColor } from '@src/utils/helpers';
88
93
  import {
89
94
  CONTENT_TEXT_STYLE_PROPERTY_KEYS,
90
95
  FALLBACK_DEFAULT_LINK_COLOR,
@@ -114,11 +119,14 @@ import { generateGoogleFontUrl } from './font-loader.util';
114
119
  import { isValidSvgUrl } from './image.util';
115
120
  import { isLogoContent } from './model.util';
116
121
  import { getBoxShadowValue } from './button.util';
122
+ import { getRouteNameByPageIndex, getRouteParamsByPage } from './route.util';
117
123
 
118
124
  const BUTTON_BORDER_RADIUS = '9999px';
119
125
  const CONTENT_BORDER_RADIUS = '48px';
120
126
  const PROFILE_PADDING_TOP = '1rem';
121
127
 
128
+ const MAX_SUB_NAV_DEPTH = 1;
129
+
122
130
  const applyContentBorderRadius = (styles: BrandPageCssStyle | undefined) => {
123
131
  return {
124
132
  ...styles,
@@ -988,6 +996,69 @@ export const mapToBookingSectionViewModel = (
988
996
  );
989
997
  };
990
998
 
999
+ // Recursively build the nav item view model for each page/sub page in the nav
1000
+ const buildNavItemViewModel = (
1001
+ order: NavOrder,
1002
+ routes: NavRoute[],
1003
+ parentPath: string,
1004
+ isFirstPage: boolean,
1005
+ brandPageSlug?: string,
1006
+ isCustomDomain?: boolean,
1007
+ depth = 0,
1008
+ ): NavItemViewModel => {
1009
+ const route = routes.find((r) => r.id === order.routeId);
1010
+ const pageSlug = route?.pageSlug ?? '';
1011
+ const relativePath = parentPath ? `${parentPath}/${pageSlug}` : pageSlug;
1012
+
1013
+ return {
1014
+ displayName: route?.displayName ?? '',
1015
+ routeName: getRouteNameByPageIndex(
1016
+ Boolean(isCustomDomain),
1017
+ isFirstPage ? 0 : 9999,
1018
+ ),
1019
+ routeParams: getRouteParamsByPage(
1020
+ Boolean(isCustomDomain),
1021
+ brandPageSlug ?? '',
1022
+ pageSlug,
1023
+ ),
1024
+ relativePath,
1025
+ isHidden: route?.isHidden ?? false,
1026
+ nestedNavItems:
1027
+ depth >= MAX_SUB_NAV_DEPTH
1028
+ ? []
1029
+ : order.subRoutes.map((subRoute) =>
1030
+ buildNavItemViewModel(
1031
+ subRoute,
1032
+ routes,
1033
+ relativePath,
1034
+ false,
1035
+ brandPageSlug,
1036
+ isCustomDomain,
1037
+ depth + 1,
1038
+ ),
1039
+ ),
1040
+ };
1041
+ };
1042
+
1043
+ export const mapToNavViewModel = (
1044
+ nav: NavModel,
1045
+ brandPageSlug?: string,
1046
+ isCustomDomain?: boolean,
1047
+ ): NavViewModel => {
1048
+ return {
1049
+ navItems: nav.orders.map((order, idx) =>
1050
+ buildNavItemViewModel(
1051
+ order,
1052
+ nav.routes,
1053
+ '',
1054
+ idx === 0,
1055
+ brandPageSlug,
1056
+ isCustomDomain,
1057
+ ),
1058
+ ),
1059
+ };
1060
+ };
1061
+
991
1062
  export const mapToPageStyleViewModel = (
992
1063
  pageStyles: PageStyles,
993
1064
  options: ViewModelMappingOptions,
@@ -1286,6 +1357,8 @@ export const mapToViewModel =
1286
1357
 
1287
1358
  interface ViewModelMappingOptions {
1288
1359
  useOldLogoRenderSize?: boolean;
1360
+ isCustomDomain?: boolean;
1361
+ brandPageSlug?: string;
1289
1362
  getVideoUrls?: (token: string) => {
1290
1363
  videoUrl: string;
1291
1364
  previewImageUrl: string;
@@ -1342,15 +1415,23 @@ export const getBrandPageViewModelFromBrandPageModel = (
1342
1415
  return {
1343
1416
  title: p.title,
1344
1417
  slug: p.slug,
1418
+ id: p.id,
1345
1419
  contents,
1346
1420
  isHidden: Boolean(p?.isHidden),
1347
1421
  } as PageViewModel;
1348
1422
  });
1349
1423
 
1424
+ const nav = mapToNavViewModel(
1425
+ model.nav,
1426
+ options.brandPageSlug,
1427
+ options.isCustomDomain,
1428
+ );
1429
+
1350
1430
  return {
1351
1431
  brandPageToken,
1352
1432
  pages,
1353
1433
  showBrandCrowdLogo,
1434
+ nav,
1354
1435
  styles: mapToPageStyleViewModel(model.styles, options),
1355
1436
  headerViewModelDesktop: mapToPageHeaderViewModel(
1356
1437
  model.pageHeaderDesktop,
@@ -77,6 +77,7 @@ export interface ContentViewModel {
77
77
  }
78
78
 
79
79
  export interface PageViewModel {
80
+ id: string;
80
81
  title: string;
81
82
  slug: string;
82
83
  contents: ContentViewModel[];
@@ -303,11 +304,43 @@ export interface PageStylesViewModel {
303
304
  galleryStyles: GalleryStyles; // TODO(jyao): Convert to view model
304
305
  }
305
306
 
307
+ export interface NavRouteViewModel {
308
+ id: string;
309
+ pageId: string;
310
+ route: string;
311
+ }
312
+
313
+ export interface NavOrderViewModel {
314
+ routeId: string;
315
+ isHidden: boolean;
316
+ fullPath: string;
317
+ subRoutes: NavOrderViewModel[];
318
+ }
319
+
320
+ export interface NavItemRouteParams {
321
+ slug: string;
322
+ pageSlug?: string;
323
+ }
324
+
325
+ export interface NavItemViewModel {
326
+ displayName: string;
327
+ routeName: string;
328
+ routeParams: NavItemRouteParams;
329
+ isHidden: boolean;
330
+ relativePath: string;
331
+ nestedNavItems: NavItemViewModel[]; // For sub navigation
332
+ }
333
+
334
+ export interface NavViewModel {
335
+ navItems: NavItemViewModel[];
336
+ }
337
+
306
338
  export interface BrandPageViewModel {
307
339
  brandPageToken?: string;
308
340
  showBrandCrowdLogo: boolean;
309
341
  styles: PageStylesViewModel;
310
342
  pages: PageViewModel[];
343
+ nav: NavViewModel;
311
344
  brandPageType: BrandPageType;
312
345
  headerViewModelDesktop: PageHeaderViewModel;
313
346
  headerViewModelMobile: PageHeaderViewModel;
@@ -1,15 +1,12 @@
1
- import type {
2
- BannerSectionContent,
3
- BookingSectionContent,
4
- } from '../../brand-page';
5
- import { BUTTON_LINK_TYPE } from '../../brand-page';
1
+ import type { BannerSectionContent, BookingSectionContent } from '@brand-page';
2
+ import { BUTTON_LINK_TYPE } from '@brand-page';
6
3
  import type { VisibilityAssessor } from '../models';
7
4
  import {
8
5
  ALIGN_CARD_CENTER_IMAGE,
9
6
  ALIGN_CARD_LEFT_IMAGE,
10
7
  ALIGN_LEFT_BIG_IMAGE,
11
8
  BIG_IMAGE,
12
- } from '../../brand-page/constants';
9
+ } from '@brand-page/constants';
13
10
 
14
11
  export const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<
15
12
  BannerSectionContent | BookingSectionContent | undefined
@@ -1,7 +1,4 @@
1
- import type {
2
- BannerSectionContent,
3
- BookingSectionContent,
4
- } from '../../brand-page';
1
+ import type { BannerSectionContent, BookingSectionContent } from '@brand-page';
5
2
  import type {
6
3
  FieldTypeAssessor,
7
4
  ItemFieldType,
@@ -1,4 +1,4 @@
1
- import type { BrandPageContext } from '../../brand-page';
1
+ import type { BrandPageContext } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const brandPageTypeVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { TestimonialSectionContent } from '../../brand-page';
1
+ import type { TestimonialSectionContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const cardFillVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { ButtonContent } from '../../brand-page';
1
+ import type { ButtonContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const colorReplacementIconVisibilityTypeAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { ProfileContent } from '../../brand-page';
1
+ import type { ProfileContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const colorReplacementProfileVisibilityTypeAssessor: VisibilityAssessor<
@@ -2,7 +2,7 @@ import type {
2
2
  AboutSectionContent,
3
3
  BannerSectionContent,
4
4
  ContactFormContent,
5
- } from '../../brand-page';
5
+ } from '@brand-page';
6
6
  import type { VisibilityAssessor } from '../models';
7
7
 
8
8
  export const colorReplacementVisibilityTypeAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import { type ContactFormContent } from '../../brand-page';
1
+ import { type ContactFormContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
  import {
4
4
  ALIGN_CARD_CENTER,
@@ -7,7 +7,7 @@ import {
7
7
  ALIGN_LEFT_FULL_IMAGE,
8
8
  ALIGN_RIGHT_FULL_IMAGE,
9
9
  TEXT_ONLY,
10
- } from '../../brand-page/constants';
10
+ } from '@brand-page/constants';
11
11
 
12
12
  export const contactCardDisplayTypeVisibilityAssessor: VisibilityAssessor<
13
13
  ContactFormContent | undefined
@@ -1,4 +1,4 @@
1
- import type { DividerSectionContent } from '../../brand-page';
1
+ import type { DividerSectionContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const dividerToggleFieldVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { ImageContent } from '../../brand-page';
1
+ import type { ImageContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const imageFieldVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { ImageGalleryContent } from '../../brand-page';
1
+ import type { ImageGalleryContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const imageGalleryFieldVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { RequestPaymentContent, ShopContent } from '../../brand-page';
1
+ import type { RequestPaymentContent, ShopContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const imageOptionVisibilityAssessor: VisibilityAssessor<
@@ -1,7 +1,7 @@
1
- import type { ImagesSectionContent } from '../../brand-page';
2
- import { shouldShowAspectRatioByDisplayStyle } from '../../brand-page/utils';
1
+ import type { ImagesSectionContent } from '@brand-page';
2
+ import { shouldShowAspectRatioByDisplayStyle } from '@brand-page/utils';
3
3
  import type { VisibilityAssessor } from '../models';
4
- import { useBrandPageMakerStore } from '../../brand-page-maker/stores';
4
+ import { useBrandPageMakerStore } from '@brand-page-maker/stores';
5
5
 
6
6
  export const imagesSectionAspectRatioVisibilityAssessor: VisibilityAssessor<
7
7
  ImagesSectionContent | undefined
@@ -1,8 +1,5 @@
1
- import type {
2
- ImagesSectionContent,
3
- ShapesSectionContent,
4
- } from '../../brand-page';
5
- import { ALIGN_CARD_CENTER_IMAGE } from '../../brand-page';
1
+ import type { ImagesSectionContent, ShapesSectionContent } from '@brand-page';
2
+ import { ALIGN_CARD_CENTER_IMAGE } from '@brand-page';
6
3
  import type { VisibilityAssessor } from '../models';
7
4
 
8
5
  export const imagesSectionCardStyleVisibilityAssessor: VisibilityAssessor<
@@ -2,8 +2,8 @@ import type {
2
2
  AboutSectionContent,
3
3
  ImagesSectionContent,
4
4
  ShapesSectionContent,
5
- } from '../../brand-page';
6
- import { MEDIA_ONLY } from '../../brand-page/constants';
5
+ } from '@brand-page';
6
+ import { MEDIA_ONLY } from '@brand-page/constants';
7
7
  import type { VisibilityAssessor } from '../models';
8
8
 
9
9
  export const imagesSectionTextStyleVisibilityAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { LogoContent } from '../../brand-page';
1
+ import type { LogoContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const logoFieldVisibilityAssessor: VisibilityAssessor<
@@ -1,8 +1,5 @@
1
- import type {
2
- ImagesSectionContent,
3
- ShapesSectionContent,
4
- } from '../../brand-page';
5
- import { MEDIA_ONLY } from '../../brand-page/constants';
1
+ import type { ImagesSectionContent, ShapesSectionContent } from '@brand-page';
2
+ import { MEDIA_ONLY } from '@brand-page/constants';
6
3
  import type { FieldTypeAssessor, ItemFieldType } from '../models';
7
4
 
8
5
  export const mediaSectionItemsFieldTypeAssessor: FieldTypeAssessor<
@@ -1,5 +1,5 @@
1
- import { isTextContent } from '../../brand-page/utils';
2
- import { BRAND_PAGE_TYPES, type Content } from '../../brand-page';
1
+ import { isTextContent } from '@brand-page/utils';
2
+ import { BRAND_PAGE_TYPES, type Content } from '@brand-page';
3
3
  import type { VisibilityAssessor } from '../models';
4
4
 
5
5
  // Accepts an optional third parameter for the target property key
@@ -1,8 +1,5 @@
1
- import type {
2
- ImagesSectionContent,
3
- ShapesSectionContent,
4
- } from '../../brand-page';
5
- import { MEDIA_ONLY } from '../../brand-page/constants';
1
+ import type { ImagesSectionContent, ShapesSectionContent } from '@brand-page';
2
+ import { MEDIA_ONLY } from '@brand-page/constants';
6
3
  import type { FieldTypeAssessor, ItemFieldType } from '../models';
7
4
 
8
5
  export const shapeSectionItemsFieldTypeAssessor: FieldTypeAssessor<
@@ -1,4 +1,4 @@
1
- import type { AboutSectionContent } from '../../brand-page';
1
+ import type { AboutSectionContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const shapeSizeVisibilityTypeAssessor: VisibilityAssessor<
@@ -1,4 +1,4 @@
1
- import type { ShopContent } from '../../brand-page';
1
+ import type { ShopContent } from '@brand-page';
2
2
  import type { VisibilityAssessor } from '../models';
3
3
 
4
4
  export const shopItemColorVisibility: VisibilityAssessor<ShopContent> = (
@@ -2,7 +2,7 @@ import { EVENTS } from '../../../constants/brand-page-maker';
2
2
  import {
3
3
  useBrandPageMakerUserStore,
4
4
  useBrandPageMakerStore,
5
- } from '../../stores';
5
+ } from '@brand-page-maker/stores';
6
6
  import { computed, defineComponent } from 'vue';
7
7
  import { UPGRADE_CTA_LOCATIONS } from './../../composables/useEventTracker';
8
8
 
@@ -23,7 +23,7 @@
23
23
  <script>
24
24
  import { Button } from '@designcrowd/fe-shared-lib';
25
25
  import ActionBarMixin from './ActionBar.mixin.ts';
26
- import { actionBarTr } from '../../../composables/useTranslate';
26
+ import { actionBarTr } from '@src/composables/useTranslate';
27
27
 
28
28
  export default {
29
29
  components: {
@@ -30,7 +30,7 @@
30
30
  <script>
31
31
  import { Button } from '@designcrowd/fe-shared-lib';
32
32
  import ActionBarMixin from './ActionBar.mixin.ts';
33
- import { actionBarTr } from '../../../composables/useTranslate';
33
+ import { actionBarTr } from '@src/composables/useTranslate';
34
34
 
35
35
  export default {
36
36
  components: {
@@ -1,15 +1,15 @@
1
1
  import { computed, defineComponent } from 'vue';
2
- import type { BackgroundStylesConfigOption } from '../../models/background-styles-config';
3
- import { BackgroundStylesConfigOptions } from '../../models/background-styles-config';
4
- import { STYLE_THEME_KEYS } from '../../../brand-page/constants';
5
- import { useUiBackgroundSettingsStore } from '../../../shared/background-settings/store';
2
+ import type { BackgroundStylesConfigOption } from '@brand-page-maker/models/background-styles-config';
3
+ import { BackgroundStylesConfigOptions } from '@brand-page-maker/models/background-styles-config';
4
+ import { STYLE_THEME_KEYS } from '@brand-page/constants';
5
+ import { useUiBackgroundSettingsStore } from '@shared/background-settings/store';
6
6
  import { assertUnreachable, isAnEvent } from '../../../helpers/ts.helper';
7
- import { isColorMatched } from '../../utils';
7
+ import { isColorMatched } from '@brand-page-maker/utils';
8
8
  import type {
9
9
  UserMediaItem,
10
10
  UserMediaItemWithDimensions,
11
11
  } from 'src/shared/my-uploads/models';
12
- import { useUiStore } from '../../stores';
12
+ import { useUiStore } from '@brand-page-maker/stores';
13
13
 
14
14
  interface BackgroundShapePosition {
15
15
  name: string;