@designcrowd/library.brand-page 5.19.2 → 6.0.0

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 (323) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-Ekmn0O3s.js → CreatedOnBrandCrowd-de-de-BhimVEpD.js} +3 -3
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BjeXlKTS.js → CreatedOnBrandCrowd-en-us-CcBSmedR.js} +3 -3
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-rpNINAMY.js → CreatedOnBrandCrowd-es-es-Bywf3OqP.js} +3 -3
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BL4nSaLj.js → CreatedOnBrandCrowd-fr-ca-CWpYmK2m.js} +3 -3
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BL4nSaLj.js → CreatedOnBrandCrowd-fr-fr-CWpYmK2m.js} +3 -3
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-K0r4FyYq.js → CreatedOnBrandCrowd-pt-br-DHM9G51s.js} +3 -3
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-K0r4FyYq.js → CreatedOnBrandCrowd-pt-pt-DHM9G51s.js} +3 -3
  8. package/lib/src/{CreatedOnDcom-de-de-0XYyEKYc.js → CreatedOnDcom-de-de-BnUSIarY.js} +3 -3
  9. package/lib/src/{CreatedOnDcom-en-us-E8hvwiMd.js → CreatedOnDcom-en-us-DzU8X52o.js} +3 -3
  10. package/lib/src/{CreatedOnDcom-es-es-pRuCd7xX.js → CreatedOnDcom-es-es-rpp-c_OZ.js} +3 -3
  11. package/lib/src/{CreatedOnDcom-fr-ca-Bu4V3jpn.js → CreatedOnDcom-fr-ca-MJ7nCJTH.js} +3 -3
  12. package/lib/src/{CreatedOnDcom-fr-fr-CCcrGNz2.js → CreatedOnDcom-fr-fr-B3USPvBZ.js} +3 -3
  13. package/lib/src/{CreatedOnDcom-pt-br-1GTvaLKd.js → CreatedOnDcom-pt-br-DJv7sfEZ.js} +3 -3
  14. package/lib/src/{CreatedOnDcom-pt-pt-CTIYW10X.js → CreatedOnDcom-pt-pt-DAPP7A-E.js} +3 -3
  15. package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
  16. package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +103 -0
  17. package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +178 -0
  18. package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +0 -1
  19. package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.d.ts +4 -2
  20. package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.js +1 -0
  21. package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +4 -2
  22. package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +5 -4
  23. package/lib/src/brand-page/components/page/Page.mixin.d.ts +1 -1
  24. package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +1 -1
  25. package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +3 -3
  26. package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +13 -13
  27. package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +13 -13
  28. package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
  29. package/lib/src/brand-page/models/index.d.ts +1 -1
  30. package/lib/src/brand-page/models/payment.model.d.ts +1 -1
  31. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +21 -19
  32. package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -0
  33. package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +10 -10
  34. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +3 -3
  35. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +170 -170
  36. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -0
  37. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +12 -12
  38. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +2 -2
  39. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.js +0 -7
  40. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +148 -149
  41. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +21 -21
  42. package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +1 -1
  43. package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.d.ts +4 -2
  44. package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.js +1 -0
  45. package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.d.ts +4 -2
  46. package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.js +1 -0
  47. package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.d.ts +5 -2
  48. package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.js +1 -0
  49. package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.d.ts +4 -2
  50. package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.js +1 -0
  51. package/lib/src/brand-page-maker/components/device/Device.mixin.d.ts +4 -2
  52. package/lib/src/brand-page-maker/components/device/Device.mixin.js +1 -0
  53. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +4 -2
  54. package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -0
  55. package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +3 -3
  56. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +11 -11
  57. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +27 -25
  58. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +1 -0
  59. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +27 -27
  60. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +1 -1
  61. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +17 -12
  62. package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +12 -12
  63. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +29 -30
  64. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +11 -11
  65. package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +1 -1
  66. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +1 -1
  67. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +6 -6
  68. package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -2
  69. package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +6 -6
  70. package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -1
  71. package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.d.ts +1 -1
  72. package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +1 -1
  73. package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -1
  74. package/lib/src/brand-page-maker/models/navigation-style-configs.js +1 -1
  75. package/lib/src/brand-page-maker/routing/brand-page-maker-router.d.ts +1 -2
  76. package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +360 -360
  77. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +4 -4
  78. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -5
  79. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +1 -1
  80. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -3
  81. package/lib/src/brand-page-maker/stores/history/history-store.d.ts +15 -15
  82. package/lib/src/brand-page-maker/utils/content-settings.util.js +1 -1
  83. package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +1 -1
  84. package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +4 -4
  85. package/lib/src/clients/brand-page-client.d.ts +16 -15
  86. package/lib/src/clients/media-client.d.ts +2 -2
  87. package/lib/src/css/library.brand-page-brandCrowd.min.css +323 -317
  88. package/lib/src/css/library.brand-page-brandPage.min.css +601 -317
  89. package/lib/src/css/library.brand-page-designCom.min.css +323 -317
  90. package/lib/src/css/library.brand-page-preview.min.css +579 -317
  91. package/lib/src/index.d.ts +1 -1
  92. package/lib/src/index.mjs +16 -15
  93. package/lib/src/{lib-BfgUqu0B.js → lib-Cfx4mNMR.js} +36304 -33366
  94. package/lib/src/lib.js +1 -1
  95. package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +1 -1
  96. package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +1 -1
  97. package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +1 -1
  98. package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +1 -1
  99. package/lib/src/metadata-builder/builders/shape-color-utils.js +1 -1
  100. package/lib/src/plugins/google-maps-plugin/google-maps-plugin.d.ts +1 -1
  101. package/lib/src/plugins/google-maps-plugin/google-maps-plugin.js +8 -8
  102. package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +13 -13
  103. package/lib/src/shared/background-settings/store/background-settings-store.d.ts +3 -3
  104. package/lib/src/shared/color-picker/components/ColorPicker.mixin.d.ts +4 -2
  105. package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +2 -2
  106. package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.d.ts +4 -2
  107. package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.js +1 -0
  108. package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +5 -2
  109. package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +1 -0
  110. package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +0 -1
  111. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +131 -129
  112. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +2 -1
  113. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +111 -110
  114. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +84 -81
  115. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +5 -0
  116. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +111 -109
  117. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -14
  118. package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +0 -1
  119. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +72 -70
  120. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +4 -3
  121. package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +4 -4
  122. package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.d.ts +3 -1
  123. package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +1 -0
  124. package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
  125. package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +4 -3
  126. package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.js +1 -1
  127. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +40 -40
  128. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +5 -6
  129. package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +0 -1
  130. package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +2 -2
  131. package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +0 -1
  132. package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +1 -2
  133. package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +0 -1
  134. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +1 -2
  135. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
  136. package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +28 -28
  137. package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +0 -1
  138. package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +2 -2
  139. package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +0 -1
  140. package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +0 -1
  141. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +39 -39
  142. package/lib/src/shared/content-settings/utils.js +0 -1
  143. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +6 -4
  144. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +1 -0
  145. package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +4 -2
  146. package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.js +1 -0
  147. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +20 -21
  148. package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +1 -1
  149. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +50 -51
  150. package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +6 -4
  151. package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.js +1 -0
  152. package/lib/src/shared/logo-settings/store/editable-logo-store.js +1 -1
  153. package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
  154. package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +7 -5
  155. package/lib/src/shared/logo-versions/LogoVersions.mixin.js +1 -0
  156. package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +8 -6
  157. package/lib/src/shared/my-designs/MyDesigns.mixin.js +1 -0
  158. package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +8 -5
  159. package/lib/src/shared/my-uploads/MyMedia.mixin.js +1 -0
  160. package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +8 -5
  161. package/lib/src/shared/my-uploads/MyUploads.mixin.js +1 -0
  162. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +5 -3
  163. package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -0
  164. package/lib/src/shared/navigation-style-settings/store/index.d.ts +2 -2
  165. package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +2 -2
  166. package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +27 -28
  167. package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +0 -2
  168. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +182 -177
  169. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +175 -175
  170. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
  171. package/lib/src/shared/page-settings/store/page-settings-store.d.ts +9 -9
  172. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +39 -39
  173. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +0 -1
  174. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +18 -18
  175. package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +6 -6
  176. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +60 -60
  177. package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -1
  178. package/lib/src/shared/style-settings/store/style-settings-store.js +1 -1
  179. package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +10 -11
  180. package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +3 -4
  181. package/package.json +61 -57
  182. package/src/brand-page/components/about-section/AboutSection.vue.test.ts +7 -5
  183. package/src/brand-page/components/banner-section/BannerSection.mixin.ts +210 -0
  184. package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +1 -1
  185. package/src/brand-page/components/image/Image.mixin.ts +1 -1
  186. package/src/brand-page/components/image/Image.test.ts +1 -1
  187. package/src/brand-page/components/images-section/ImagesSection.vue +0 -1
  188. package/src/brand-page/components/logo/LogoRender.vue +188 -188
  189. package/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.ts +1 -0
  190. package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +15 -6
  191. package/src/brand-page/components/page-footer/PageFooter.vue +1 -0
  192. package/src/brand-page/components/page-header/HeaderLayout.vue +12 -6
  193. package/src/brand-page/components/page-header/PageHeader.vue +1 -0
  194. package/src/brand-page/components/shapes-section/ShapesSection.vue +1 -1
  195. package/src/brand-page/components/shop/CartModal.vue +1 -3
  196. package/src/brand-page/components/shop/FeaturedDisplay.vue +2 -2
  197. package/src/brand-page/components/shop/PaymentModal.vue +1 -5
  198. package/src/brand-page/components/shop/ProductDetailModal.vue +1 -1
  199. package/src/brand-page/components/shop/Shop.vue +1 -1
  200. package/src/brand-page/components/shop/TextDisplay.vue +1 -1
  201. package/src/brand-page/components/shop/ThumbnailDisplay.vue +2 -2
  202. package/src/brand-page/components/testimonial-section/TestimonialSection.vue +3 -3
  203. package/src/brand-page/components/text-wrapper/TextWrapper.vue +3 -1
  204. package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
  205. package/src/brand-page/models/payment.model.ts +2 -1
  206. package/src/brand-page/models/shop.model.ts +0 -2
  207. package/src/brand-page/models/user-personalisation.model.ts +1 -2
  208. package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
  209. package/src/brand-page/utils/migration/migration-02.ts +0 -1
  210. package/src/brand-page/utils/migration/migration-03.ts +0 -1
  211. package/src/brand-page/utils/migration/migration-04.ts +0 -1
  212. package/src/brand-page/utils/migration/migration-05.ts +1 -5
  213. package/src/brand-page/utils/migration/migration-05_2.ts +1 -1
  214. package/src/brand-page/utils/migration/migration-08.test.ts +1 -1
  215. package/src/brand-page/view-models.ts +38 -56
  216. package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +6 -6
  217. package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +2 -2
  218. package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +2 -2
  219. package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +2 -2
  220. package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +14 -14
  221. package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -0
  222. package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +1 -0
  223. package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
  224. package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +2 -5
  225. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +0 -5
  226. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +0 -8
  227. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +0 -2
  228. package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +1 -0
  229. package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
  230. package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +1 -2
  231. package/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.ts +1 -0
  232. package/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.ts +1 -0
  233. package/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.ts +1 -0
  234. package/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.ts +1 -0
  235. package/src/brand-page-maker/components/device/Device.mixin.ts +1 -0
  236. package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -0
  237. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +3 -1
  238. package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +1 -4
  239. package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
  240. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +1 -0
  241. package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
  242. package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +0 -1
  243. package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +0 -1
  244. package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +1 -5
  245. package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +1 -1
  246. package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
  247. package/src/brand-page-maker/components/social-share/SocialShare.vue +1 -1
  248. package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
  249. package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +1 -1
  250. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
  251. package/src/brand-page-maker/constants/config-settings-constant.ts +3 -3
  252. package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +1 -1
  253. package/src/brand-page-maker/models/button-styles-config.ts +4 -2
  254. package/src/brand-page-maker/models/content-settings-configs.ts +4 -2
  255. package/src/brand-page-maker/models/navigation-style-configs.ts +5 -6
  256. package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +0 -1
  257. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +3 -5
  258. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +1 -3
  259. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +2 -4
  260. package/src/brand-page-maker/utils/content-settings.util.ts +1 -1
  261. package/src/brand-page-maker/utils/rich-text-editor.util.ts +4 -4
  262. package/src/lib.ts +1 -0
  263. package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +1 -1
  264. package/src/metadata-builder/builders/section-builders/images-section-builder.ts +1 -1
  265. package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +1 -1
  266. package/src/metadata-builder/builders/section-builders/text-section-builder.ts +1 -1
  267. package/src/metadata-builder/builders/shape-color-utils.ts +2 -2
  268. package/src/plugins/google-maps-plugin/google-maps-plugin.ts +8 -8
  269. package/src/shared/background-settings/components/BackgroundSettings.vue +1 -1
  270. package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +1 -1
  271. package/src/shared/color-picker/components/ColorPicker.mixin.ts +2 -7
  272. package/src/shared/color-picker/components/ColorPickerSwatch.mixin.ts +1 -0
  273. package/src/shared/common/NumberInput.vue +1 -0
  274. package/src/shared/common/SideBarSettingsHeader.vue +2 -2
  275. package/src/shared/confirm-modal/ConfirmModal.mixin.ts +1 -0
  276. package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +1 -0
  277. package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +1 -0
  278. package/src/shared/content-settings/components/color-field/ColorField.vue +3 -10
  279. package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
  280. package/src/shared/content-settings/components/content-settings/ContentSettingsLockedButton.vue +1 -0
  281. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +5 -0
  282. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -14
  283. package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +4 -6
  284. package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +1 -0
  285. package/src/shared/content-settings/components/items-field/ItemsField.mixin.ts +1 -1
  286. package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +1 -1
  287. package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +1 -1
  288. package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -1
  289. package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +4 -4
  290. package/src/shared/content-settings/components/text-image-field/TextImageField.vue +2 -8
  291. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
  292. package/src/shared/content-settings/models.ts +3 -2
  293. package/src/shared/content-settings/utils.ts +0 -1
  294. package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +1 -0
  295. package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
  296. package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +1 -0
  297. package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +1 -0
  298. package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +1 -1
  299. package/src/shared/logo-settings/components/LogoSettings.mixin.ts +0 -1
  300. package/src/shared/logo-settings/components/LogoSettingsHeader.mixin.ts +1 -0
  301. package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +2 -2
  302. package/src/shared/logo-settings/components/LogoTemplateSearch.vue +1 -1
  303. package/src/shared/logo-settings/store/editable-logo-store.ts +1 -1
  304. package/src/shared/logo-settings/store/logo-settings-store.test.ts +4 -4
  305. package/src/shared/logo-versions/LogoVersions.mixin.ts +1 -0
  306. package/src/shared/my-designs/MyDesigns.mixin.ts +1 -0
  307. package/src/shared/my-uploads/MyMedia.mixin.ts +1 -0
  308. package/src/shared/my-uploads/MyMediaSelectionItem.vue +2 -1
  309. package/src/shared/my-uploads/MyUploads.mixin.ts +1 -0
  310. package/src/shared/my-uploads/models.ts +1 -2
  311. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -0
  312. package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
  313. package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +0 -3
  314. package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +1 -1
  315. package/src/shared/page-settings/components/page-settings/PageSettings.vue +1 -2
  316. package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +1 -1
  317. package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
  318. package/src/shared/page-settings/store/page-settings-store.test.ts +4 -8
  319. package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +0 -1
  320. package/src/shared/shape-library/ShapeLibrary.vue +2 -2
  321. package/src/shared/style-settings/store/style-settings-store.ts +1 -1
  322. package/src/shared/unsplash-library/UnsplashLibrary.vue +2 -6
  323. package/src/shared/video-library/VideoLibrary.vue +1 -1
@@ -44,7 +44,8 @@ export const isStripePaymentIntent = (
44
44
  );
45
45
  };
46
46
 
47
- export interface CreateCartResult<T> {
47
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
48
+ export interface CreateCartResult<T = unknown> {
48
49
  cartId: string;
49
50
  paymentProviderName: string;
50
51
  paymentProviderExternalId: string;
@@ -1,5 +1,3 @@
1
- import type { PaymentConfig } from './payment.model';
2
-
3
1
  export interface VariantOptionModel {
4
2
  id: string;
5
3
  name: string;
@@ -84,8 +84,7 @@ export type ContentPersonalisationMapping<T extends Content> = {
84
84
  | keyof UserPersonalisationSection
85
85
  | keyof UserPersonalisationItem]?: (keyof T)[];
86
86
  };
87
- export interface UserPersonalisationSectionWithIndices
88
- extends UserPersonalisationSection {
87
+ export interface UserPersonalisationSectionWithIndices extends UserPersonalisationSection {
89
88
  imageIndex: number;
90
89
  shapeIndex: number;
91
90
  itemTitleIndex: number;
@@ -1,4 +1,4 @@
1
- import type { BrandPageModel, LogoImageModel } from '../..';
1
+ import type { LogoImageModel } from '../..';
2
2
  import type { MigrationData } from '../migration.util';
3
3
 
4
4
  import { migrateLogoImage } from './logo/logo.migration.util';
@@ -3,7 +3,6 @@ import {
3
3
  FONT_SIZE_HEADINGS,
4
4
  type AboutSectionContent,
5
5
  type BannerSectionContent,
6
- type BrandPageModel,
7
6
  type ButtonContent,
8
7
  type ContactFormContent,
9
8
  type GlobalTextStyleDeclaration,
@@ -2,7 +2,6 @@ import {
2
2
  BRAND_PAGE_TYPES,
3
3
  type AboutSectionContent,
4
4
  type BannerSectionContent,
5
- type BrandPageModel,
6
5
  type BrandPageType,
7
6
  type ButtonContent,
8
7
  type ContactFormContent,
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  type AboutSectionContent,
3
3
  type BannerSectionContent,
4
- type BrandPageModel,
5
4
  type ButtonContent,
6
5
  type ContactFormContent,
7
6
  type Content,
@@ -1,8 +1,4 @@
1
- import {
2
- type BrandPageModel,
3
- type TextContent,
4
- type LogoImageModel,
5
- } from '../..';
1
+ import { type TextContent, type LogoImageModel } from '../..';
6
2
  import type { MigrationData } from '../migration.util';
7
3
  import { isTextContent } from '../model.util';
8
4
 
@@ -1,4 +1,4 @@
1
- import { type BrandPageModel, type ButtonContent } from '../..';
1
+ import { type ButtonContent } from '../..';
2
2
  import type { MigrationData } from '../migration.util';
3
3
 
4
4
  export const migration05_2 = (
@@ -341,7 +341,7 @@ describe('migration08', () => {
341
341
  data: 'test-template-svg-data',
342
342
  });
343
343
 
344
- const result = await migration08(migrationData, {
344
+ const _result = await migration08(migrationData, {
345
345
  isServerRender: false,
346
346
  isUserDraft: false,
347
347
  });
@@ -1,5 +1,4 @@
1
1
  import type {
2
- PageStyles,
3
2
  ButtonWithModalContent,
4
3
  ProfileContent,
5
4
  TextContent,
@@ -32,11 +31,9 @@ import type {
32
31
  TextShapeItem,
33
32
  TextStyleDeclaration,
34
33
  AspectRatio,
35
- LogoVariation,
36
34
  LogoImageModel,
37
35
  LogoTemplateImageModel,
38
36
  CookieOptions,
39
- SensitiveContent,
40
37
  BookingSectionContent,
41
38
  MediaTypes,
42
39
  TextStyles,
@@ -84,8 +81,7 @@ export interface PageViewModel {
84
81
  }
85
82
 
86
83
  export interface ButtonViewModel
87
- extends ContentViewModel,
88
- Omit<ButtonWithModalContent, 'type'> {
84
+ extends ContentViewModel, Omit<ButtonWithModalContent, 'type'> {
89
85
  styles: Omit<ButtonStyles, 'templates'>;
90
86
  onClicked: (vm: ButtonViewModel) => void;
91
87
  buttonLinkType: ButtonLinkType;
@@ -95,7 +91,8 @@ export interface ButtonViewModel
95
91
  export type ImageViewModel = ContentViewModel & Omit<ImageContent, 'type'>;
96
92
 
97
93
  export interface ImageGalleryViewModel
98
- extends ContentViewModel,
94
+ extends
95
+ ContentViewModel,
99
96
  Omit<ImageGalleryContent, 'type' | 'galleryStyles'> {
100
97
  styles: GalleryStyles;
101
98
  }
@@ -114,14 +111,12 @@ export interface LogoViewModel extends ContentViewModel {
114
111
  }
115
112
 
116
113
  export interface ProfileViewModel
117
- extends ContentViewModel,
118
- Omit<ProfileContent, 'type'> {
114
+ extends ContentViewModel, Omit<ProfileContent, 'type'> {
119
115
  containerStyle?: BrandPageCssStyle;
120
116
  }
121
117
 
122
118
  export interface ShapesSectionViewModel
123
- extends ContentViewModel,
124
- Omit<ShapesSectionContent, 'type' | 'items'> {
119
+ extends ContentViewModel, Omit<ShapesSectionContent, 'type' | 'items'> {
125
120
  items: TextShapeItem[];
126
121
  isFullWidth: boolean;
127
122
  }
@@ -140,41 +135,35 @@ export type VideoViewModel = ContentViewModel &
140
135
  export type MapViewModel = ContentViewModel & Omit<MapContent, 'type'>;
141
136
 
142
137
  export interface MailingListViewModel
143
- extends ContentViewModel,
144
- Omit<MailingListContent, 'type'> {
138
+ extends ContentViewModel, Omit<MailingListContent, 'type'> {
145
139
  styles: Omit<ButtonStyles, 'templates'>;
146
140
  }
147
141
 
148
142
  export interface SupportMeViewModel
149
- extends ContentViewModel,
150
- Omit<SupportMeContent, 'type'> {
143
+ extends ContentViewModel, Omit<SupportMeContent, 'type'> {
151
144
  buttonStyles: ButtonStyles;
152
145
  }
153
146
 
154
147
  export interface RequestPaymentViewModel
155
- extends ContentViewModel,
156
- Omit<RequestPaymentContent, 'type'> {
148
+ extends ContentViewModel, Omit<RequestPaymentContent, 'type'> {
157
149
  buttonStyles: ButtonStyles;
158
150
  }
159
151
 
160
152
  export interface ShopViewModel
161
- extends ContentViewModel,
162
- Omit<ShopContent, 'type'> {
153
+ extends ContentViewModel, Omit<ShopContent, 'type'> {
163
154
  buttonStyles: ButtonStyles;
164
155
  isFullWidth: boolean;
165
156
  isShippingEnabled: boolean;
166
157
  }
167
158
 
168
159
  export interface ContactFormViewModel
169
- extends ContentViewModel,
170
- Omit<ContactFormContent, 'type'> {
160
+ extends ContentViewModel, Omit<ContactFormContent, 'type'> {
171
161
  buttonStyles: ButtonStyles;
172
162
  isFullWidth: boolean;
173
163
  }
174
164
 
175
165
  export interface BannerSectionViewModel
176
- extends ContentViewModel,
177
- Omit<BannerSectionContent, 'type'> {
166
+ extends ContentViewModel, Omit<BannerSectionContent, 'type'> {
178
167
  buttonViewModel: ButtonViewModel;
179
168
  isFullWidth: boolean;
180
169
  isBigImageType: boolean;
@@ -225,64 +214,57 @@ export interface TextImageSectionViewModel {
225
214
  }
226
215
 
227
216
  export interface TestimonialSectionViewModel
228
- extends ContentViewModel,
229
- Omit<TestimonialSectionContent, 'type'> {
217
+ extends ContentViewModel, Omit<TestimonialSectionContent, 'type'> {
230
218
  isFullWidth: boolean;
231
219
  }
232
220
 
233
221
  export interface AboutSectionViewModel
234
- extends ContentViewModel,
235
- Omit<AboutSectionContent, 'type'> {
222
+ extends ContentViewModel, Omit<AboutSectionContent, 'type'> {
236
223
  isFullWidth: boolean;
237
224
  }
238
225
 
239
226
  export interface SocialLinksViewModel
240
- extends ContentViewModel,
241
- Omit<SocialLinksContent, 'type'> {
227
+ extends ContentViewModel, Omit<SocialLinksContent, 'type'> {
242
228
  isFullWidth: boolean;
243
229
  }
244
230
 
245
231
  export interface DividerSectionViewModel
246
- extends ContentViewModel,
247
- Omit<DividerSectionContent, 'type'> {
232
+ extends ContentViewModel, Omit<DividerSectionContent, 'type'> {
248
233
  isFullWidth: boolean;
249
234
  }
250
235
 
251
236
  export interface BookingSectionViewModel
252
- extends ContentViewModel,
253
- Omit<BookingSectionContent, 'type'> {
237
+ extends ContentViewModel, Omit<BookingSectionContent, 'type'> {
254
238
  buttonViewModel: ButtonViewModel;
255
239
  isFullWidth: boolean;
256
240
  }
257
241
 
258
- export interface PageHeaderViewModel
259
- extends Omit<
260
- PageHeaderDesktop | PageHeaderMobile,
261
- | 'logoImage'
262
- | 'logoImageStyle'
263
- | 'isLogoOptional'
264
- | 'viewport'
265
- | 'isLogoVisible'
266
- | 'logoTemplateImage'
267
- | 'logoImageHeight'
268
- | 'logoImageWidth'
269
- > {
242
+ export interface PageHeaderViewModel extends Omit<
243
+ PageHeaderDesktop | PageHeaderMobile,
244
+ | 'logoImage'
245
+ | 'logoImageStyle'
246
+ | 'isLogoOptional'
247
+ | 'viewport'
248
+ | 'isLogoVisible'
249
+ | 'logoTemplateImage'
250
+ | 'logoImageHeight'
251
+ | 'logoImageWidth'
252
+ > {
270
253
  logo: LogoViewModel;
271
254
  pages: PageViewModel[];
272
255
  }
273
256
 
274
- export interface PageFooterViewModel
275
- extends Omit<
276
- PageFooterDesktop | PageFooterMobile,
277
- | 'logoImage'
278
- | 'logoImageStyle'
279
- | 'isLogoOptional'
280
- | 'viewport'
281
- | 'isLogoVisible'
282
- | 'logoTemplateImage'
283
- | 'logoImageHeight'
284
- | 'logoImageWidth'
285
- > {
257
+ export interface PageFooterViewModel extends Omit<
258
+ PageFooterDesktop | PageFooterMobile,
259
+ | 'logoImage'
260
+ | 'logoImageStyle'
261
+ | 'isLogoOptional'
262
+ | 'viewport'
263
+ | 'isLogoVisible'
264
+ | 'logoTemplateImage'
265
+ | 'logoImageHeight'
266
+ | 'logoImageWidth'
267
+ > {
286
268
  logo: LogoViewModel;
287
269
  }
288
270
 
@@ -48,11 +48,11 @@ export const bannerOverlayOptionsVisibilityAssessor: VisibilityAssessor<
48
48
  > = (content) => {
49
49
  return Boolean(
50
50
  (content.media?.type === 'getty-video' || content.imageUrl) &&
51
- [
52
- ALIGN_CARD_CENTER_IMAGE,
53
- ALIGN_CARD_LEFT_IMAGE,
54
- BIG_IMAGE,
55
- ALIGN_LEFT_BIG_IMAGE,
56
- ].includes(content.displayStyle),
51
+ [
52
+ ALIGN_CARD_CENTER_IMAGE,
53
+ ALIGN_CARD_LEFT_IMAGE,
54
+ BIG_IMAGE,
55
+ ALIGN_LEFT_BIG_IMAGE,
56
+ ].includes(content.displayStyle),
57
57
  );
58
58
  };
@@ -6,7 +6,7 @@ export const colorReplacementIconVisibilityTypeAssessor: VisibilityAssessor<
6
6
  > = (content) => {
7
7
  return Boolean(
8
8
  content?.colorReplacements &&
9
- content?.iconUrl &&
10
- content?.mediaType === 'shape',
9
+ content?.iconUrl &&
10
+ content?.mediaType === 'shape',
11
11
  );
12
12
  };
@@ -6,7 +6,7 @@ export const colorReplacementProfileVisibilityTypeAssessor: VisibilityAssessor<
6
6
  > = (content) => {
7
7
  return Boolean(
8
8
  content?.colorReplacements &&
9
- content?.avatarImageUrl &&
10
- content?.mediaType === 'shape',
9
+ content?.avatarImageUrl &&
10
+ content?.mediaType === 'shape',
11
11
  );
12
12
  };
@@ -10,7 +10,7 @@ export const colorReplacementVisibilityTypeAssessor: VisibilityAssessor<
10
10
  > = (content) => {
11
11
  return Boolean(
12
12
  content?.colorReplacements &&
13
- content?.imageUrl &&
14
- content?.mediaType === 'shape',
13
+ content?.imageUrl &&
14
+ content?.mediaType === 'shape',
15
15
  );
16
16
  };
@@ -15,12 +15,12 @@ export const contactCardDisplayTypeVisibilityAssessor: VisibilityAssessor<
15
15
  return (
16
16
  Boolean(
17
17
  content?.layoutStyle &&
18
- [
19
- ALIGN_CARD_CENTER_IMAGE,
20
- ALIGN_CARD_CENTER,
21
- ALIGN_LEFT_FULL_IMAGE,
22
- ALIGN_RIGHT_FULL_IMAGE,
23
- ].includes(content?.layoutStyle),
18
+ [
19
+ ALIGN_CARD_CENTER_IMAGE,
20
+ ALIGN_CARD_CENTER,
21
+ ALIGN_LEFT_FULL_IMAGE,
22
+ ALIGN_RIGHT_FULL_IMAGE,
23
+ ].includes(content?.layoutStyle),
24
24
  ) && context!.isBrandSite
25
25
  );
26
26
  };
@@ -37,11 +37,11 @@ export const imageUrlVisibilityAssessor: VisibilityAssessor<
37
37
  return (
38
38
  Boolean(
39
39
  content?.layoutStyle &&
40
- [
41
- ALIGN_CARD_CENTER_IMAGE,
42
- ALIGN_LEFT_FULL_IMAGE,
43
- ALIGN_RIGHT_FULL_IMAGE,
44
- ].includes(content?.layoutStyle),
40
+ [
41
+ ALIGN_CARD_CENTER_IMAGE,
42
+ ALIGN_LEFT_FULL_IMAGE,
43
+ ALIGN_RIGHT_FULL_IMAGE,
44
+ ].includes(content?.layoutStyle),
45
45
  ) && context!.isBrandSite
46
46
  );
47
47
  };
@@ -52,9 +52,9 @@ export const contactBackgroundDisplayTypeVisibilityAssessor: VisibilityAssessor<
52
52
  return (
53
53
  Boolean(
54
54
  content?.layoutStyle &&
55
- [ALIGN_CARD_CENTER, ALIGN_CENTERED, TEXT_ONLY].includes(
56
- content?.layoutStyle,
57
- ),
55
+ [ALIGN_CARD_CENTER, ALIGN_CENTERED, TEXT_ONLY].includes(
56
+ content?.layoutStyle,
57
+ ),
58
58
  ) && context!.isBrandSite
59
59
  );
60
60
  };
@@ -8,6 +8,7 @@ import { UPGRADE_CTA_LOCATIONS } from './../../composables/useEventTracker';
8
8
  import { BRAND_PAGE_TYPES } from '@brand-page/models';
9
9
 
10
10
  export default defineComponent({
11
+ emits: ['create-team-cards'],
11
12
  setup() {
12
13
  const userStore = useBrandPageMakerUserStore();
13
14
  const brandPageMakerStore = useBrandPageMakerStore();
@@ -1,3 +1,4 @@
1
+ <!-- eslint-disable vue/no-v-html -->
1
2
  <template>
2
3
  <div class="tw-mb-4" :class="containerClass">
3
4
  <div class="tw-flex" :class="containerClass">
@@ -47,7 +47,6 @@ import AssetLibraryClient from '../../../clients/asset-library-clients';
47
47
  import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settings-store';
48
48
  import type { ShopConfigData } from '@brand-page/models/shop.model';
49
49
  import { useProductConfigStore } from '@brand-page-maker/stores/product-config/product-config-store';
50
- import type { UpdateItemValuePayload } from '@shared/content-settings/models';
51
50
  import { UPGRADE_CTA_LOCATIONS } from '../../composables/useEventTracker';
52
51
  import { commonTr } from '@src/composables/useTranslate';
53
52
  import { useSnapshot } from '../../../composables/useSnapshot';
@@ -87,6 +86,7 @@ export default defineComponent({
87
86
  required: true,
88
87
  },
89
88
  },
89
+ emits: ['create-team-cards'],
90
90
  setup() {
91
91
  const brandPageMakerStore = useBrandPageMakerStore();
92
92
  const sideBarStore = useUiSideBarStore();
@@ -5,12 +5,9 @@ import type { Component } from 'vue';
5
5
  import MockAdapter from 'axios-mock-adapter';
6
6
  import { mockDesignTemplateTypeApi } from '@shared/template-settings/components/TemplatesSettings.test-helper';
7
7
  import BrandPageMakerTemplateSettings from './BrandPageMakerTemplateSettings.vue';
8
- import VueRouter, { createMemoryHistory, createRouter } from 'vue-router';
8
+ import { createMemoryHistory, createRouter } from 'vue-router';
9
9
  import { hexToRGB } from '@utils/helpers';
10
- import {
11
- BRAND_PAGE_TEMPLATE_BP_909,
12
- LOGO_IMAGE_URL,
13
- } from '../../../__fixtures__';
10
+ import { BRAND_PAGE_TEMPLATE_BP_909 } from '../../../__fixtures__';
14
11
  import { setupStoryPinia } from './__fixtures__/store-fixture';
15
12
  import { useUiLogoSettingsStore } from '@shared/logo-settings/store';
16
13
  import { useUiStore } from '@brand-page-maker/stores';
@@ -13,13 +13,8 @@ import type {
13
13
  TextContent,
14
14
  UserPersonalisation,
15
15
  ImageContent,
16
- ImageGalleryContent,
17
16
  ProfileContent,
18
- WebsiteContent,
19
- ImagesSectionContent,
20
17
  UserPersonalisationContent,
21
- EmailContent,
22
- PhoneContent,
23
18
  ShapesSectionContent,
24
19
  BannerSectionContent,
25
20
  } from '@brand-page';
@@ -56,14 +56,6 @@ export const brandPagePaymentConfigsResponse: BrandPagePaymentConfig[] = [
56
56
  },
57
57
  ];
58
58
 
59
- const stripePaymentIntent: StripePaymentIntent = {
60
- id: faker.datatype.uuid(),
61
- object: 'payment_intent',
62
- amount: 500,
63
- client_secret: faker.internet.password(),
64
- currency: 'USD',
65
- } as const;
66
-
67
59
  export const brandPageCreateCartResult: CreateCartResult<StripePaymentIntent> =
68
60
  {
69
61
  cartId: faker.datatype.uuid(),
@@ -1,5 +1,3 @@
1
- import type { PageModel } from '@brand-page';
2
-
3
1
  export const BRAND_SITE_TEMPLATE_SAMPLE: any[] = [
4
2
  {
5
3
  title: 'HOME',
@@ -1,3 +1,4 @@
1
+ <!-- eslint-disable vue/no-v-html -->
1
2
  <template>
2
3
  <Page
3
4
  data-component="brand-page-maker-page"
@@ -130,7 +130,7 @@ export default defineComponent({
130
130
  mode: BRANDPAGE_SETTINGS_MODES.edit,
131
131
  });
132
132
  },
133
- onDesignSelected(image: UserMediaItemWithDimensions) {
133
+ onDesignSelected() {
134
134
  this.brandPageMakerStore.setMode({ mode: BRANDPAGE_SETTINGS_MODES.edit });
135
135
  },
136
136
  },
@@ -68,7 +68,7 @@
68
68
  </template>
69
69
 
70
70
  <script setup lang="ts">
71
- import { ref, type PropType } from 'vue';
71
+ import { ref } from 'vue';
72
72
  import type { ColorValue } from 'src/shared/color-picker/models';
73
73
  import ClickOutside from 'click-outside-vue3';
74
74
  import ColorPicker from './BpColorPicker.vue';
@@ -106,7 +106,6 @@ const emit = defineEmits<{
106
106
  const pickerIdRef = ref<HTMLElement>();
107
107
 
108
108
  const popupTop = ref(0);
109
- const popupLeft = ref(0);
110
109
 
111
110
  const vClickOutside = ClickOutside.directive;
112
111
 
@@ -23,6 +23,7 @@ export default defineComponent({
23
23
  default: COLOR_PICKER_MODE.SOLID,
24
24
  },
25
25
  },
26
+ emits: ['update:modelValue'],
26
27
  data() {
27
28
  return {
28
29
  colorPickerModes: COLOR_PICKER_MODE_OPTIONS,
@@ -27,6 +27,7 @@ export default defineComponent({
27
27
  default: 5,
28
28
  },
29
29
  },
30
+ emits: ['update:activeHandlerId'],
30
31
  data() {
31
32
  return {
32
33
  internalActiveHandlerId: 0,
@@ -18,6 +18,7 @@ export default defineComponent({
18
18
  default: false,
19
19
  },
20
20
  },
21
+ emits: ['on-selected', 'on-position-changed'],
21
22
  data() {
22
23
  return {
23
24
  startPosInPixel,
@@ -12,6 +12,7 @@ export default defineComponent({
12
12
  default: GRADIENT_COLOR_TYPE.LINEAR,
13
13
  },
14
14
  },
15
+ emits: ['update:modelValue'],
15
16
  data() {
16
17
  return {
17
18
  isLinear: true,
@@ -18,6 +18,7 @@ export default defineComponent({
18
18
  default: false,
19
19
  },
20
20
  },
21
+ emits: ['toggle-should-play'],
21
22
  data() {
22
23
  return {
23
24
  visible: false,
@@ -40,6 +40,7 @@ export default defineComponent({
40
40
  default: false,
41
41
  },
42
42
  },
43
+ emits: ['create-team-cards'],
43
44
  methods: {
44
45
  saveBrandPage() {
45
46
  this.$emit(EVENTS.Save);
@@ -552,6 +552,7 @@ const availableTextFontFamilyOptions = computed(
552
552
  () => styleSettingsStore.availableTextFontFamilyOptions,
553
553
  );
554
554
 
555
+ // eslint-disable-next-line vue/require-prop-types
555
556
  const model = defineModel();
556
557
  const emit = defineEmits([
557
558
  'focus',
@@ -709,7 +710,8 @@ watch(
709
710
  () =>
710
711
  contentSettingStore.getItem(props.rawId)?.settings?.content?.textItemsStyle
711
712
  ?.color,
712
- (newColor) => {
713
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
714
+ (_newColor) => {
713
715
  if (isAdmin.value) {
714
716
  if (props.textItemIndex !== undefined && selectedGlobalTextStyles) {
715
717
  toggleTextColor.value =
@@ -92,7 +92,7 @@
92
92
  </template>
93
93
  <script setup lang="ts">
94
94
  import { Button } from '@designcrowd/fe-shared-lib';
95
- import { computed, reactive, nextTick, useTemplateRef } from 'vue';
95
+ import { computed, reactive, nextTick } from 'vue';
96
96
  import {
97
97
  SENSITIVE_CONTENT_TYPES,
98
98
  type SensitiveContent,
@@ -109,9 +109,6 @@ const brandPageMakerStore = useBrandPageMakerStore();
109
109
 
110
110
  const props = defineProps<Props>();
111
111
 
112
- const isBrandPage = computed(() => brandPageMakerStore.isBrandPage);
113
- const isBrandContact = computed(() => brandPageMakerStore.isBrandContact);
114
-
115
112
  const data = reactive({
116
113
  sensitiveSettings: [
117
114
  {
@@ -59,7 +59,7 @@ interface Props {
59
59
  isCustomDomainRequestFailed?: boolean;
60
60
  }
61
61
 
62
- const props = defineProps<Props>();
62
+ defineProps<Props>();
63
63
  const emit = defineEmits<{ (e: 'on-confirm'): void; (e: 'on-cancel'): void }>();
64
64
 
65
65
  const emitConfirm = () => emit('on-confirm');
@@ -41,6 +41,7 @@ export default defineComponent({
41
41
  default: undefined,
42
42
  },
43
43
  },
44
+ emits: ['update-settings'],
44
45
  setup() {
45
46
  const brandPageMakerStore = useBrandPageMakerStore();
46
47
  const localisedRouteStore = useLocalisedRouteStore();
@@ -106,7 +106,7 @@
106
106
  <script>
107
107
  import { Button, TextInput, Textarea } from '@designcrowd/fe-shared-lib';
108
108
  import SeoPageSettingsMixin from './SeoPageSettings.mixin.ts';
109
- import { tr, commonTr, seoSettingsTr } from '@src/composables/useTranslate';
109
+ import { commonTr, seoSettingsTr } from '@src/composables/useTranslate';
110
110
 
111
111
  export default {
112
112
  components: {
@@ -9,7 +9,6 @@ import {
9
9
  useBrandPageContainerStore,
10
10
  useBrandPageMakerStore,
11
11
  useLocalisedRouteStore,
12
- useBrandPageMakerUserStore,
13
12
  } from '@brand-page-maker/stores';
14
13
  import { defaultUSDCurrency } from '@brand-page-maker/constants/currency-constants';
15
14
  import { validateCustomDomainName } from '@brand-page-maker/utils';
@@ -393,7 +393,6 @@ import { Button, Loader, TextInput } from '@designcrowd/fe-shared-lib';
393
393
  import { SellDomainNameWidget } from '@designcrowd/fe-shared-lib';
394
394
  import UrlSettingsMixin from './UrlSettings.mixin.ts';
395
395
  import DeleteDomainModal from './DeleteDomainModal.vue';
396
- import ConfirmModal from '@shared/confirm-modal/ConfirmModal.vue';
397
396
  import UseExistingDomainModal from './UseExistingDomainModal.vue';
398
397
  import { commonTr, seoSettingsTr } from '@src/composables/useTranslate';
399
398