@designcrowd/library.brand-page 5.17.0-upgrade-2 → 5.17.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.
- package/lib/src/{CreatedOnBrandCrowd-de-de-fGa6GTKR.js → CreatedOnBrandCrowd-de-de-CgogSWaY.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-en-us-C91Bbqbz.js → CreatedOnBrandCrowd-en-us-DqwphOj7.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-es-es-C2s7FzvT.js → CreatedOnBrandCrowd-es-es-bFW2pldT.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-k-mqnui5.js → CreatedOnBrandCrowd-fr-ca-zhznNXAJ.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-k-mqnui5.js → CreatedOnBrandCrowd-fr-fr-zhznNXAJ.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-BsFt1g6k.js → CreatedOnBrandCrowd-pt-br-BGnCJX3P.js} +4 -4
- package/lib/src/{CreatedOnBrandCrowd-pt-br-BsFt1g6k.js → CreatedOnBrandCrowd-pt-pt-BGnCJX3P.js} +4 -4
- package/lib/src/{CreatedOnDcom-de-de-DlWuN4oY.js → CreatedOnDcom-de-de-BV7nagX_.js} +4 -4
- package/lib/src/{CreatedOnDcom-en-us-DVKL3Ohg.js → CreatedOnDcom-en-us-QZi40w3-.js} +4 -4
- package/lib/src/{CreatedOnDcom-es-es-GXDagnOD.js → CreatedOnDcom-es-es-Bos43d-Q.js} +4 -4
- package/lib/src/{CreatedOnDcom-fr-ca-CS3vYHAE.js → CreatedOnDcom-fr-ca-Cv0a7uJS.js} +4 -4
- package/lib/src/{CreatedOnDcom-fr-fr-CoDZh7OR.js → CreatedOnDcom-fr-fr-C3Y9eknU.js} +4 -4
- package/lib/src/{CreatedOnDcom-pt-br-9F7dZo5k.js → CreatedOnDcom-pt-br-C3PzgoyU.js} +4 -4
- package/lib/src/{CreatedOnDcom-pt-pt-DHlO82HQ.js → CreatedOnDcom-pt-pt-Bts8M0ma.js} +4 -4
- package/lib/src/brand-page/__fixtures__/brand-page-sample-data.js +0 -2
- package/lib/src/brand-page/clients/brand-page.client.d.ts +8 -8
- package/lib/src/brand-page/components/about-section/AboutSection.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/about-section/AboutSection.mixin.js +1 -1
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.js +3 -3
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +3 -3
- package/lib/src/brand-page/components/button/Button.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/button/Button.mixin.js +2 -1
- package/lib/src/brand-page/components/button/Button.stories.d.ts +1 -1
- package/lib/src/brand-page/components/button/Button.stories.js +1 -1
- package/lib/src/brand-page/components/collapsible/Collapsible.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +3 -3
- package/lib/src/brand-page/components/contact-form/ContactForm.stories.d.ts +4 -4
- package/lib/src/brand-page/components/contact-form/ContactForm.stories.js +5 -5
- package/lib/src/brand-page/components/divider-section/DividerSection.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/divider-section/DividerSection.mixin.js +1 -1
- package/lib/src/brand-page/components/image/Image.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/image/Image.mixin.js +2 -2
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.js +1 -1
- package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.d.ts +1 -1
- package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.js +3 -4
- package/lib/src/brand-page/components/image-gallery/ImageGalleryModal.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +1 -0
- package/lib/src/brand-page/components/images-section/ImagesSection.stories.d.ts +1 -1
- package/lib/src/brand-page/components/images-section/ImagesSection.stories.js +3 -4
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +2 -2
- package/lib/src/brand-page/components/mailing-list/MailingList.stories.d.ts +4 -4
- package/lib/src/brand-page/components/mailing-list/MailingList.stories.js +1 -1
- package/lib/src/brand-page/components/map/GoogleMap.mixin.js +2 -2
- package/lib/src/brand-page/components/media/Media.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/media/Shape.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/media/Shape.mixin.js +3 -3
- package/lib/src/brand-page/components/media-query/MediaQuery.stories.js +1 -1
- package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.d.ts +2 -3
- package/lib/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.js +4 -13
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +11 -14
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +51 -11
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +3 -2
- package/lib/src/brand-page/components/page/Page.mixin.js +20 -8
- package/lib/src/brand-page/components/page/Page.stories.d.ts +1 -2
- package/lib/src/brand-page/components/page/Page.stories.js +2 -3
- package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +1 -1
- package/lib/src/brand-page/components/page-header/PageHeader.mixin.d.ts +2 -10
- package/lib/src/brand-page/components/page-header/PageHeader.mixin.js +4 -5
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +5 -5
- package/lib/src/brand-page/components/payment/Payment.mixin.js +2 -2
- package/lib/src/brand-page/components/payment/RequestPaymentStripe.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/payment/RequestPaymentStripe.mixin.js +1 -1
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +13 -13
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.js +2 -2
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +13 -13
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.js +2 -2
- package/lib/src/brand-page/components/payment/request-payment/RequestPayment.mixin.js +1 -1
- package/lib/src/brand-page/components/payment/request-payment/RequestPayment.stories.js +1 -1
- package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +1 -1
- package/lib/src/brand-page/components/payment/support-me/SupportMe.stories.js +1 -1
- package/lib/src/brand-page/components/profile/Profile.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/profile/Profile.mixin.js +2 -2
- package/lib/src/brand-page/components/profile/Profile.stories.d.ts +2 -2
- package/lib/src/brand-page/components/profile/Profile.stories.js +1 -1
- package/lib/src/brand-page/components/shop/Cart.stories.js +3 -3
- package/lib/src/brand-page/components/social-links/SocialLinks.stories.d.ts +1 -1
- package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.d.ts +3 -2
- package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.js +2 -2
- package/lib/src/brand-page/components/text/Text.stories.d.ts +1 -1
- package/lib/src/brand-page/components/video/Video.mixin.d.ts +1 -1
- package/lib/src/brand-page/constants/font.constants.js +1 -1
- package/lib/src/brand-page/constants/misc.constants.d.ts +1 -0
- package/lib/src/brand-page/constants/misc.constants.js +2 -1
- package/lib/src/brand-page/constants/sections/footer-display.constants.d.ts +1 -1
- package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
- package/lib/src/brand-page/constants/sections/header-display.constants.d.ts +1 -1
- package/lib/src/brand-page/models/brand-page-context.model.d.ts +1 -1
- package/lib/src/brand-page/models/index.d.ts +1 -2
- package/lib/src/brand-page/models/index.js +0 -2
- package/lib/src/brand-page/models/payment.model.d.ts +1 -1
- package/lib/src/brand-page/models/styles.model.js +1 -1
- package/lib/src/brand-page/utils/button.util.js +1 -1
- package/lib/src/brand-page/utils/color.util.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-01.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-01.js +2 -2
- package/lib/src/brand-page/utils/migration/migration-02.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-02.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-03.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-03.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-04.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-04.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-05.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-05.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-05_2.d.ts +1 -1
- package/lib/src/brand-page/utils/migration/migration-05_2.js +1 -1
- package/lib/src/brand-page/utils/migration/migration-12.js +8 -4
- package/lib/src/brand-page/utils/migration/migration-12_1.js +3 -3
- package/lib/src/brand-page/utils/personalisation.util.js +2 -2
- package/lib/src/brand-page/utils/route.util.d.ts +17 -2
- package/lib/src/brand-page/utils/route.util.js +69 -5
- package/lib/src/brand-page/utils/style.util.js +3 -3
- package/lib/src/brand-page/utils/svg-color.util.js +1 -1
- package/lib/src/brand-page/utils/validation.util.js +2 -2
- package/lib/src/brand-page/utils/vcard.util.js +2 -2
- package/lib/src/brand-page/utils/view-model.util.js +7 -8
- package/lib/src/brand-page/view-models.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.js +2 -2
- package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/brand-page-type-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/card-fill-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/color-replacement-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/contact-form-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/contact-form-visibility.assessor.js +2 -2
- package/lib/src/brand-page-maker/assessors/divider-toggle-field-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/image-field-visability.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/image-gallery-field-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/image-option-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.js +2 -2
- package/lib/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.js +1 -1
- package/lib/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.js +1 -1
- package/lib/src/brand-page-maker/assessors/logo-field-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/media-section-items-field.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/media-section-items-field.assessor.js +1 -1
- package/lib/src/brand-page-maker/assessors/personalisation-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/personalisation-visibility.assessor.js +2 -2
- package/lib/src/brand-page-maker/assessors/shape-section-items-field.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/shape-section-items-field.assessor.js +1 -1
- package/lib/src/brand-page-maker/assessors/shape-size-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/assessors/shop-item-color-visibility.assessor.d.ts +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +24 -24
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +13 -13
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.js +5 -5
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +8 -8
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.js +4 -4
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +274 -249
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +24 -19
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +8 -8
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +9 -9
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +6 -6
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.d.ts +4 -4
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.js +7 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/mock-api-calls/index.js +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-fabric-render-client-api-calls.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-images.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.d.ts +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/starter-kits/styles.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +252 -250
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +15 -15
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +31 -31
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +3 -3
- package/lib/src/brand-page-maker/components/device/Device.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/index.d.ts +1 -1
- package/lib/src/brand-page-maker/components/index.js +1 -1
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +5 -5
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.js +6 -4
- package/lib/src/brand-page-maker/components/preview/Preview.stories.d.ts +1 -1
- package/lib/src/brand-page-maker/components/preview/Preview.stories.js +4 -4
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +14 -14
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.js +3 -3
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +31 -31
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +4 -4
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +38 -38
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +5 -5
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.stories.js +2 -2
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +16 -21
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.js +2 -2
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +17 -17
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.js +2 -2
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +48 -47
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +10 -10
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.stories.d.ts +3 -3
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.stories.js +3 -3
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +14 -14
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.js +2 -2
- package/lib/src/brand-page-maker/composables/ai-chat/useAiChat.js +17 -15
- package/lib/src/brand-page-maker/composables/rich-text-editor/font.js +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/formatting.js +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/spacing.js +2 -2
- package/lib/src/brand-page-maker/composables/rich-text-editor/textAlign.js +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +5 -5
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +11 -11
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +6 -4
- package/lib/src/brand-page-maker/composables/useEventTracker.js +14 -2
- package/lib/src/brand-page-maker/constants/brandpage-meta-constant.js +1 -1
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +7 -7
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +5 -5
- package/lib/src/brand-page-maker/constants/index.d.ts +1 -1
- package/lib/src/brand-page-maker/constants/index.js +1 -1
- package/lib/src/brand-page-maker/constants/personalisation.constant.d.ts +1 -1
- package/lib/src/brand-page-maker/constants/sidebar-constant.d.ts +1 -1
- package/lib/src/brand-page-maker/constants/sidebar-constant.js +1 -1
- package/lib/src/brand-page-maker/constants/ui-constant.js +1 -1
- package/lib/src/brand-page-maker/convertors/about-display-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/about-display-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/align-display-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/button-link-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/display-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/divider-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/gallery-type.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/gallery-type.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/image-aspect-ratio.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/image-aspect-ratio.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/line-height-value.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/payment-display-type.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/payment-display-type.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/shape-size-options.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/shop-aspect-ratio.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/shop-display-type.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/shop-display-type.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/testimonial-display-style-convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/text-column-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/text-css-style-options.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.d.ts +2 -2
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +2 -2
- package/lib/src/brand-page-maker/convertors/text-size-value.convertor.js +1 -1
- package/lib/src/brand-page-maker/convertors/video-content-state.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/default-getters/payment-fill-color.default-getter.js +1 -1
- package/lib/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.js +2 -2
- package/lib/src/brand-page-maker/default-getters/text-color.default-getter.js +2 -2
- package/lib/src/brand-page-maker/models/assessor.model.d.ts +1 -1
- package/lib/src/brand-page-maker/models/button-styles-config.d.ts +1 -1
- package/lib/src/brand-page-maker/models/button-styles-config.js +2 -2
- package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +3 -3
- package/lib/src/brand-page-maker/models/content-settings-configs.js +1 -1
- package/lib/src/brand-page-maker/models/content-settings.d.ts +4 -4
- package/lib/src/brand-page-maker/models/content-settings.js +3 -3
- package/lib/src/brand-page-maker/models/convertor.model.d.ts +1 -1
- package/lib/src/brand-page-maker/models/default-getter.model.d.ts +1 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.d.ts +3 -3
- package/lib/src/brand-page-maker/models/navigation-style-configs.js +3 -3
- package/lib/src/brand-page-maker/routing/brand-page-maker-router.d.ts +1 -1
- package/lib/src/brand-page-maker/routing/brand-page-maker-router.js +51 -15
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.d.ts +1 -1
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.js +2 -2
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.d.ts +2 -2
- package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.js +5 -5
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +7 -7
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +13 -13
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store-utils.js +3 -3
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +8 -8
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +39 -31
- package/lib/src/brand-page-maker/stores/product-config/product-config-store.d.ts +1 -1
- package/lib/src/brand-page-maker/stores/product-config/product-config-store.js +1 -1
- package/lib/src/brand-page-maker/stores/route/localised-route-store.js +2 -2
- package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +2 -2
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +4 -4
- package/lib/src/brand-page-maker/stores/user/user-store.d.ts +1 -1
- package/lib/src/brand-page-maker/utils/content-settings.util.d.ts +3 -3
- package/lib/src/brand-page-maker/utils/content-settings.util.js +2 -2
- package/lib/src/brand-page-maker/utils/content.util.d.ts +1 -1
- package/lib/src/brand-page-maker/utils/content.util.js +2 -2
- package/lib/src/brand-page-maker/utils/index.js +1 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +4 -4
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +14 -14
- package/lib/src/brand-page-maker/utils/slug.util.js +10 -4
- package/lib/src/brand-page-maker/validators/field.validator.d.ts +1 -1
- package/lib/src/brand-page-maker/validators/field.validator.js +3 -3
- package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +1 -1
- package/lib/src/brand-page-maker/validators/section-button.validator.js +3 -3
- package/lib/src/{bundled-translations-D_D7Y1MR.js → bundled-translations-B6qZE8LU.js} +1 -1
- package/lib/src/{bundled-translations.de-DE-giJ-vMQq.js → bundled-translations.de-DE-CsU6YsZb.js} +9 -9
- package/lib/src/{bundled-translations.es-ES-Cr7InsII.js → bundled-translations.es-ES-unPBdcJx.js} +1 -1
- package/lib/src/{bundled-translations.fr-CA-B-gs1XwO.js → bundled-translations.fr-CA-Dpa2wEtC.js} +5 -5
- package/lib/src/{bundled-translations.fr-FR-CHkVhsPB.js → bundled-translations.fr-FR-BPloaUjN.js} +1 -1
- package/lib/src/{bundled-translations.pt-BR-C5WsSeJW.js → bundled-translations.pt-BR-CFRGdaDO.js} +1 -1
- package/lib/src/{bundled-translations.pt-PT-DG9KWHKO.js → bundled-translations.pt-PT-BHVYCE0K.js} +9 -9
- package/lib/src/bundles/bundled-translations.de-DE.json +3 -2
- package/lib/src/bundles/bundled-translations.es-ES.json +3 -2
- package/lib/src/bundles/bundled-translations.fr-CA.json +3 -2
- package/lib/src/bundles/bundled-translations.fr-FR.json +3 -2
- package/lib/src/bundles/bundled-translations.json +3 -2
- package/lib/src/bundles/bundled-translations.pt-BR.json +3 -2
- package/lib/src/bundles/bundled-translations.pt-PT.json +3 -2
- package/lib/src/clients/ai-assistant-client.d.ts +1 -1
- package/lib/src/clients/ai-assistant-client.js +1 -1
- package/lib/src/clients/asset-library-clients.d.ts +1 -1
- package/lib/src/clients/brand-page-client.d.ts +16 -17
- package/lib/src/clients/brand-page-client.js +1 -1
- package/lib/src/clients/media-client.d.ts +2 -2
- package/lib/src/clients/user-media-client.d.ts +2 -2
- package/lib/src/clients/user-media-client.js +1 -1
- package/lib/src/constants/brand-page-maker.d.ts +1 -1
- package/lib/src/constants/brand-page-maker.js +1 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +547 -433
- package/lib/src/css/library.brand-page-brandPage.min.css +550 -434
- package/lib/src/css/library.brand-page-designCom.min.css +547 -433
- package/lib/src/css/library.brand-page-preview.min.css +547 -433
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BiJfwk8C.js → lib-VTryjuW8.js} +32416 -34790
- package/lib/src/mockServiceWorker.js +1 -1
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +14 -14
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.js +4 -4
- package/lib/src/shared/background-settings/store/background-settings-store.d.ts +5 -5
- package/lib/src/shared/background-settings/store/background-settings-store.js +3 -3
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +4 -3
- package/lib/src/shared/color-picker/constants.js +1 -1
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +2 -2
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +2 -2
- package/lib/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +185 -156
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +13 -8
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.stories.js +4 -4
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +166 -167
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +4 -4
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +98 -95
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +7 -6
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +145 -147
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +8 -7
- package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +84 -84
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +11 -9
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +5 -5
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/google-address-field/GoogleAddressField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/image-field/ImageField.mixin.js +4 -4
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +3 -3
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/logo-field/LogoField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/logo-field/LogoField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +51 -53
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.js +4 -4
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +6 -5
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.js +3 -3
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionFieldAdaptor.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/payment-toggle-field/PaymentToggleField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/radio-field/RadioField.mixin.d.ts +4 -4
- package/lib/src/shared/content-settings/components/radio-field/RadioField.mixin.js +4 -3
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +3 -3
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +3 -3
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +4 -4
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +44 -44
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +2 -2
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +3 -3
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.js +2 -2
- package/lib/src/shared/content-settings/models.d.ts +3 -3
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +40 -40
- package/lib/src/shared/content-settings/store/content-settings-store.js +5 -5
- package/lib/src/shared/content-settings/utils.d.ts +2 -2
- package/lib/src/shared/content-settings/utils.js +3 -2
- package/lib/src/shared/ecommerce-settings/store/shop-settings-store.d.ts +2 -2
- package/lib/src/shared/ecommerce-settings/store/shop-settings-store.js +1 -1
- package/lib/src/shared/ecommerce-settings/util/skuUtils.d.ts +1 -1
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +4 -4
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +1 -1
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +1 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +24 -21
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +5 -5
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +78 -79
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.js +2 -2
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +2 -2
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +1 -1
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +6 -6
- package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +2 -2
- package/lib/src/shared/logo-settings/store/logo-settings-store.js +7 -7
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +4 -4
- package/lib/src/shared/logo-versions/LogoVersions.mixin.js +1 -1
- package/lib/src/shared/models.d.ts +1 -1
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +6 -6
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +2 -2
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +4 -4
- package/lib/src/shared/my-uploads/MyMedia.mixin.js +4 -4
- package/lib/src/shared/my-uploads/MyMedia.stories.js +3 -3
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +4 -4
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +4 -4
- package/lib/src/shared/my-uploads/MyUploads.stories.js +1 -1
- package/lib/src/shared/my-uploads/models.d.ts +1 -1
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +3 -3
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +4 -4
- package/lib/src/shared/navigation-style-settings/store/index.d.ts +6 -6
- package/lib/src/shared/navigation-style-settings/store/index.js +5 -5
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +15 -2
- package/lib/src/shared/page-navigation/store/page-navigation-store.js +94 -14
- package/lib/src/shared/page-settings/components/delete-page-modal/DeletePageModal.mixin.d.ts +5 -5
- package/lib/src/shared/page-settings/components/delete-page-modal/DeletePageModal.mixin.js +4 -4
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +50 -38
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +10 -12
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +273 -266
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +140 -41
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +231 -234
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +7 -7
- package/lib/src/shared/page-settings/models.d.ts +2 -3
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +25 -27
- package/lib/src/shared/page-settings/store/page-settings-store.js +78 -67
- package/lib/src/shared/page-settings/utils.d.ts +3 -1
- package/lib/src/shared/page-settings/utils.js +9 -5
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +53 -51
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +6 -5
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +23 -23
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +1 -1
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +11 -9
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.js +2 -2
- package/lib/src/shared/side-bar/store/side-bar-store.js +1 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +99 -97
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +7 -7
- package/lib/src/shared/style-settings/components/StyleSettings.stories.js +3 -3
- package/lib/src/shared/style-settings/models.d.ts +1 -1
- package/lib/src/shared/style-settings/store/style-settings-store.d.ts +5 -5
- package/lib/src/shared/style-settings/store/style-settings-store.js +7 -7
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +16 -13
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +5 -5
- package/lib/src/shared/template-settings/components/TemplatesSettings.stories.js +2 -2
- package/lib/src/shared/template-settings/components/TemplatesSettings.test-helper.d.ts +1 -1
- package/lib/src/shared/template-settings/components/TemplatesSettings.test-helper.js +4 -4
- package/lib/src/shared/template-settings/models.d.ts +1 -1
- package/lib/src/shared/template-settings/models.js +1 -1
- package/lib/src/shared/template-settings/store/template-settings-store.js +6 -6
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +5 -4
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.js +2 -2
- package/package.json +54 -57
- package/src/brand-page/__fixtures__/brand-page-sample-data.ts +0 -2
- package/src/brand-page/components/about-section/AboutSection.mixin.ts +3 -3
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +7 -10
- package/src/brand-page/components/background-shape/BackgroundShape.mixin.ts +4 -4
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +8 -5
- package/src/brand-page/components/booking-section/BookingSection.vue +4 -4
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +5 -5
- package/src/brand-page/components/button/Button.mixin.ts +6 -4
- package/src/brand-page/components/button/Button.stories.ts +2 -2
- package/src/brand-page/components/collapsible/Collapsible.mixin.ts +1 -1
- package/src/brand-page/components/contact-form/ContactForm.mixin.ts +9 -5
- package/src/brand-page/components/contact-form/ContactForm.stories.ts +5 -5
- package/src/brand-page/components/cookie-consent/CookieConsent.vue +1 -1
- package/src/brand-page/components/divider-section/DividerSection.mixin.ts +3 -3
- package/src/brand-page/components/fallback-image/FallbackImage.vue +1 -1
- package/src/brand-page/components/image/Image.mixin.ts +8 -5
- package/src/brand-page/components/image/Image.test.ts +8 -6
- package/src/brand-page/components/image/Image.vue +1 -1
- package/src/brand-page/components/image-gallery/ImageGallery.mixin.ts +3 -3
- package/src/brand-page/components/image-gallery/ImageGallery.stories.ts +3 -4
- package/src/brand-page/components/image-gallery/ImageGallery.test.ts +8 -5
- package/src/brand-page/components/image-gallery/ImageGallery.vue +1 -1
- package/src/brand-page/components/image-gallery/ImageGalleryModal.mixin.ts +1 -1
- package/src/brand-page/components/image-gallery/carousel/CarouselGallery.vue +1 -1
- package/src/brand-page/components/image-gallery/grid/GridImageGallery.vue +1 -1
- package/src/brand-page/components/image-gallery/masonry/MasonryGallery.vue +1 -1
- package/src/brand-page/components/images-section/ImagesSection.stories.ts +3 -4
- package/src/brand-page/components/images-section/ImagesSection.test.ts +1 -1
- package/src/brand-page/components/images-section/ImagesSection.vue +10 -5
- package/src/brand-page/components/logo/Logo.vue +7 -20
- package/src/brand-page/components/logo/LogoRender.vue +2 -1
- package/src/brand-page/components/mailing-list/MailingList.mixin.ts +4 -4
- package/src/brand-page/components/mailing-list/MailingList.stories.ts +2 -2
- package/src/brand-page/components/map/GoogleMap.mixin.ts +2 -2
- package/src/brand-page/components/map/Map.stories.ts +1 -1
- package/src/brand-page/components/map/Map.vue +3 -3
- package/src/brand-page/components/media/Media.mixin.ts +1 -1
- package/src/brand-page/components/media/Shape.mixin.ts +4 -4
- package/src/brand-page/components/media-query/MediaQuery.stories.ts +1 -1
- package/src/brand-page/components/media-query/MediaQuery.vue +2 -2
- package/src/brand-page/components/navigation/Navigation.vue +7 -9
- package/src/brand-page/components/navigation/button-carousel/ButtonCarouselNavigation.mixin.ts +6 -16
- package/src/brand-page/components/navigation/navigation-carousel/NavigationCarousel.vue +641 -0
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +61 -12
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue +68 -15
- package/src/brand-page/components/page/Page.mixin.ts +32 -11
- package/src/brand-page/components/page/Page.stories.ts +6 -4
- package/src/brand-page/components/page/Page.vue +0 -4
- package/src/brand-page/components/page/PageComponent.mixin.ts +5 -2
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +3 -3
- package/src/brand-page/components/page-header/HeaderLayout.vue +6 -12
- package/src/brand-page/components/page-header/PageHeader.mixin.ts +11 -7
- package/src/brand-page/components/page-header/PageHeader.vue +0 -1
- package/src/brand-page/components/payment/Payment.mixin.ts +4 -4
- package/src/brand-page/components/payment/Payment.vue +1 -1
- package/src/brand-page/components/payment/RequestPaymentStripe.mixin.ts +2 -2
- package/src/brand-page/components/payment/RequestPaymentStripe.vue +1 -1
- package/src/brand-page/components/payment/__fixtures__/request-payment.ts +2 -2
- package/src/brand-page/components/payment/__fixtures__/support-me.ts +2 -2
- package/src/brand-page/components/payment/request-payment/RequestPayment.mixin.ts +1 -1
- package/src/brand-page/components/payment/request-payment/RequestPayment.stories.ts +1 -1
- package/src/brand-page/components/payment/request-payment/RequestPayment.vue +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.stories.ts +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.vue +1 -1
- package/src/brand-page/components/profile/Profile.mixin.ts +4 -4
- package/src/brand-page/components/profile/Profile.stories.ts +2 -2
- package/src/brand-page/components/save-contact/SaveContactWidget.vue +9 -6
- package/src/brand-page/components/save-contact/popup-card/PopupCard.vue +2 -2
- package/src/brand-page/components/sensitive-content/SensitiveContentModal.vue +1 -1
- package/src/brand-page/components/shapes-section/ShapesSection.vue +3 -3
- package/src/brand-page/components/shop/Cart.stories.ts +3 -3
- package/src/brand-page/components/shop/CartModal.vue +6 -4
- package/src/brand-page/components/shop/FeaturedDisplay.vue +5 -5
- package/src/brand-page/components/shop/PaymentModal.vue +6 -5
- package/src/brand-page/components/shop/ProductDetailModal.vue +5 -5
- package/src/brand-page/components/shop/Shop.vue +8 -8
- package/src/brand-page/components/shop/TextDisplay.vue +5 -5
- package/src/brand-page/components/shop/ThumbnailDisplay.vue +5 -5
- package/src/brand-page/components/social-links/SocialLinks.stories.ts +1 -1
- package/src/brand-page/components/social-links/SocialLinks.vue +2 -2
- package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +3 -5
- package/src/brand-page/components/social-links/SocialLinksItems.vue +1 -1
- package/src/brand-page/components/testimonial-section/TestimonialSection.mixin.ts +7 -7
- package/src/brand-page/components/text/Text.stories.ts +1 -1
- package/src/brand-page/components/text/Text.vue +3 -3
- package/src/brand-page/components/text-media-section/TextMediaSection.test.ts +1 -1
- package/src/brand-page/components/text-media-section/TextMediaSection.vue +5 -5
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +6 -3
- package/src/brand-page/components/video/Video.mixin.ts +1 -1
- package/src/brand-page/components/video/Video.vue +1 -1
- package/src/brand-page/constants/font.constants.ts +1 -1
- package/src/brand-page/constants/misc.constants.ts +2 -1
- package/src/brand-page/constants/sections/footer-display.constants.ts +2 -2
- package/src/brand-page/constants/sections/header-display.constants.ts +1 -1
- package/src/brand-page/models/brand-page-context.model.ts +1 -1
- package/src/brand-page/models/index.ts +0 -2
- package/src/brand-page/models/payment.model.ts +1 -2
- package/src/brand-page/models/shop.model.ts +2 -0
- package/src/brand-page/models/styles.model.ts +1 -1
- package/src/brand-page/models/user-personalisation.model.ts +2 -1
- package/src/brand-page/utils/button.util.ts +1 -1
- package/src/brand-page/utils/color.util.ts +1 -1
- package/src/brand-page/utils/logo.util.test.ts +0 -1
- package/src/brand-page/utils/migration/migration-01.ts +2 -2
- package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
- package/src/brand-page/utils/migration/migration-02.ts +2 -1
- package/src/brand-page/utils/migration/migration-03.ts +2 -1
- package/src/brand-page/utils/migration/migration-04.ts +2 -1
- package/src/brand-page/utils/migration/migration-05.ts +6 -2
- package/src/brand-page/utils/migration/migration-05_2.ts +2 -2
- package/src/brand-page/utils/migration/migration-07.test.ts +1 -1
- package/src/brand-page/utils/migration/migration-08.test.ts +2 -2
- package/src/brand-page/utils/migration/migration-08.ts +1 -1
- package/src/brand-page/utils/migration/migration-12.ts +10 -5
- package/src/brand-page/utils/migration/migration-12_1.ts +3 -3
- package/src/brand-page/utils/migration.util.test.ts +1 -1
- package/src/brand-page/utils/personalisation.util.test.ts +2 -2
- package/src/brand-page/utils/personalisation.util.ts +2 -2
- package/src/brand-page/utils/route.util.ts +101 -3
- package/src/brand-page/utils/style.util.test.ts +2 -2
- package/src/brand-page/utils/style.util.ts +3 -3
- package/src/brand-page/utils/svg-color.util.test.ts +1 -1
- package/src/brand-page/utils/svg-color.util.ts +1 -1
- package/src/brand-page/utils/validation.util.ts +2 -2
- package/src/brand-page/utils/vcard.util.ts +2 -2
- package/src/brand-page/utils/view-model.util.test.ts +1 -1
- package/src/brand-page/utils/view-model.util.ts +11 -3
- package/src/brand-page/view-models.ts +57 -39
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +9 -12
- package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +1 -4
- package/src/brand-page-maker/assessors/brand-page-type-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/card-fill-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +3 -3
- package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +3 -3
- package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +3 -3
- package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +16 -16
- package/src/brand-page-maker/assessors/divider-toggle-field-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/image-field-visability.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/image-gallery-field-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/image-option-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.ts +3 -3
- package/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.ts +2 -5
- package/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/logo-field-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/media-section-items-field.assessor.ts +2 -5
- package/src/brand-page-maker/assessors/personalisation-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/shape-section-items-field.assessor.ts +2 -5
- package/src/brand-page-maker/assessors/shape-size-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/shop-item-color-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +1 -1
- package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.ts +6 -6
- package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +3 -3
- package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.ts +4 -4
- package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.vue +2 -2
- package/src/brand-page-maker/components/ai-text-edit/AiTextEdit.vue +2 -7
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +36 -25
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +8 -8
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +17 -11
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +6 -6
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.vue +1 -1
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +11 -6
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +9 -1
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +2 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/content-settings-items.fixture.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/index.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-fabric-render-client-api-calls.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-user-domain-api-calls.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-colors.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-images.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-shapes.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/helpers.ts +2 -2
- package/src/brand-page-maker/components/brand-page-maker/starter-kits/styles.ts +1 -1
- package/src/brand-page-maker/components/brandpage-background-settings/BrandPageBackgroundSettings.vue +2 -2
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +17 -17
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +6 -8
- package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +31 -12
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +6 -6
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +3 -2
- package/src/brand-page-maker/components/color-palette/BpColorPicker.vue +2 -2
- package/src/brand-page-maker/components/cookie-collection/CookieSettings.vue +3 -3
- package/src/brand-page-maker/components/device/Device.mixin.ts +1 -1
- package/src/brand-page-maker/components/device/Device.test.ts +1 -1
- package/src/brand-page-maker/components/google-analytics/GoogleAnalytics.vue +4 -4
- package/src/brand-page-maker/components/index.ts +1 -1
- package/src/brand-page-maker/components/layout-switcher/LayoutSwitcher.vue +3 -3
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -1
- package/src/brand-page-maker/components/navigation/Navigation.vue +1 -1
- package/src/brand-page-maker/components/preview/Preview.mixin.ts +17 -6
- package/src/brand-page-maker/components/preview/Preview.stories.ts +4 -4
- package/src/brand-page-maker/components/preview-with-state/PreviewWithState.vue +2 -2
- package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.ts +6 -3
- package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.vue +1 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +20 -19
- package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +7 -7
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +2 -2
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +4 -4
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +6 -5
- package/src/brand-page-maker/components/seo-settings/UrlSettings.stories.ts +2 -2
- package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +2 -1
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.ts +4 -4
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +2 -1
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +6 -6
- package/src/brand-page-maker/components/shop/ProductConfigModal.vue +2 -2
- package/src/brand-page-maker/components/shop/ProductItemField.vue +5 -5
- package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +4 -4
- package/src/brand-page-maker/components/social-share/SocialShare.mixin.ts +5 -2
- package/src/brand-page-maker/components/social-share/SocialShare.vue +3 -3
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +12 -11
- package/src/brand-page-maker/components/template-preview/TemplatePreview.stories.ts +3 -3
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +1 -1
- package/src/brand-page-maker/components/template-preview-with-state/TemplatePreviewWithState.vue +6 -6
- package/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.ts +2 -2
- package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
- package/src/brand-page-maker/composables/ai-chat/useAiChat.ts +4 -3
- package/src/brand-page-maker/composables/rich-text-editor/font.ts +1 -5
- package/src/brand-page-maker/composables/rich-text-editor/formatting.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/spacing.ts +2 -2
- package/src/brand-page-maker/composables/rich-text-editor/textAlign.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +14 -14
- package/src/brand-page-maker/composables/useEventTracker.ts +20 -2
- package/src/brand-page-maker/constants/brandpage-meta-constant.ts +1 -1
- package/src/brand-page-maker/constants/config-settings-constant.ts +10 -10
- package/src/brand-page-maker/constants/index.ts +2 -2
- package/src/brand-page-maker/constants/personalisation.constant.ts +1 -1
- package/src/brand-page-maker/constants/sidebar-constant.ts +2 -2
- package/src/brand-page-maker/constants/ui-constant.ts +1 -1
- package/src/brand-page-maker/convertors/about-display-style.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/align-display-style.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/banner-align-display-style.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/button-link-style.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/contact-layout-style.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/display-style.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/divider-style.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/gallery-type.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/image-aspect-ratio.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/line-height-value.convertor.ts +1 -1
- package/src/brand-page-maker/convertors/payment-display-type.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/shape-size-options.convertor.ts +1 -1
- package/src/brand-page-maker/convertors/shop-aspect-ratio.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/shop-display-type.convertor.ts +2 -2
- package/src/brand-page-maker/convertors/social-links-icon-display-style.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/testimonial-display-style-convertor.ts +2 -2
- package/src/brand-page-maker/convertors/text-column-style.convertor.ts +1 -1
- package/src/brand-page-maker/convertors/text-css-style-options.convertor.ts +1 -1
- package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +3 -3
- package/src/brand-page-maker/convertors/text-size-value.convertor.ts +1 -1
- package/src/brand-page-maker/convertors/video-content-state.convertor.ts +1 -1
- package/src/brand-page-maker/default-getters/payment-fill-color.default-getter.ts +1 -1
- package/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.ts +3 -3
- package/src/brand-page-maker/default-getters/text-color.default-getter.ts +3 -3
- package/src/brand-page-maker/models/assessor.model.ts +1 -1
- package/src/brand-page-maker/models/button-styles-config.ts +5 -7
- package/src/brand-page-maker/models/content-settings-configs.ts +6 -8
- package/src/brand-page-maker/models/content-settings.ts +5 -5
- package/src/brand-page-maker/models/convertor.model.ts +1 -1
- package/src/brand-page-maker/models/default-getter.model.ts +1 -1
- package/src/brand-page-maker/models/navigation-style-configs.ts +10 -9
- package/src/brand-page-maker/routing/brand-page-maker-router.ts +73 -16
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.ts +3 -3
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +8 -7
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +20 -15
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store-utils.ts +3 -3
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +32 -11
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +54 -43
- package/src/brand-page-maker/stores/product-config/product-config-store.ts +2 -2
- package/src/brand-page-maker/stores/route/localised-route-store.ts +2 -2
- package/src/brand-page-maker/stores/ui/ui-store.ts +6 -9
- package/src/brand-page-maker/stores/user/user-store.ts +1 -1
- package/src/brand-page-maker/utils/content-settings.util.ts +4 -4
- package/src/brand-page-maker/utils/content.util.test.ts +1 -1
- package/src/brand-page-maker/utils/content.util.ts +3 -3
- package/src/brand-page-maker/utils/index.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +16 -16
- package/src/brand-page-maker/utils/slug.util.test.ts +12 -2
- package/src/brand-page-maker/utils/slug.util.ts +12 -7
- package/src/brand-page-maker/validators/field.validator.ts +4 -4
- package/src/brand-page-maker/validators/section-button.validator.ts +3 -3
- package/src/bundles/bundled-translations.de-DE.json +3 -2
- package/src/bundles/bundled-translations.es-ES.json +3 -2
- package/src/bundles/bundled-translations.fr-CA.json +3 -2
- package/src/bundles/bundled-translations.fr-FR.json +3 -2
- package/src/bundles/bundled-translations.json +3 -2
- package/src/bundles/bundled-translations.pt-BR.json +3 -2
- package/src/bundles/bundled-translations.pt-PT.json +3 -2
- package/src/clients/ai-assistant-client.ts +2 -2
- package/src/clients/asset-library-clients.ts +1 -1
- package/src/clients/brand-page-client.ts +3 -3
- package/src/clients/user-media-client.test.ts +3 -3
- package/src/clients/user-media-client.ts +3 -3
- package/src/constants/brand-page-maker.ts +1 -1
- package/src/shared/background-settings/components/BackgroundSettings.vue +9 -6
- package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +7 -7
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +5 -9
- package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +4 -4
- package/src/shared/background-settings/store/background-settings-store.ts +4 -4
- package/src/shared/color-picker/components/ColorPicker.mixin.ts +5 -6
- package/src/shared/color-picker/components/ColorPickerSwatch.vue +1 -1
- package/src/shared/color-picker/constants.ts +1 -1
- package/src/shared/common/SideBarSettingsHeader.vue +2 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +2 -2
- package/src/shared/content-settings/components/GenericTextInput.mixin.ts +2 -5
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +1 -1
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +2 -2
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +3 -3
- package/src/shared/content-settings/components/color-field/ColorField.vue +18 -15
- package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +4 -4
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +20 -13
- package/src/shared/content-settings/components/content-settings/ContentSettings.stories.ts +4 -4
- package/src/shared/content-settings/components/content-settings/ContentSettings.vue +38 -29
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +4 -4
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +10 -7
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +8 -14
- package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.ts +2 -2
- package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +2 -2
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +14 -10
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.vue +1 -0
- package/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.ts +2 -2
- package/src/shared/content-settings/components/generate-ai-button/GenerateAiButton.vue +4 -4
- package/src/shared/content-settings/components/generate-ai-modal/GenerateAiModal.vue +4 -4
- package/src/shared/content-settings/components/google-address-field/GoogleAddressField.mixin.ts +1 -1
- package/src/shared/content-settings/components/google-address-field/GoogleAddressField.vue +1 -1
- package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +1 -1
- package/src/shared/content-settings/components/image-field/ImageField.mixin.ts +4 -4
- package/src/shared/content-settings/components/image-field/ImageField.vue +1 -1
- package/src/shared/content-settings/components/images-field/ImagesField.mixin.ts +1 -1
- package/src/shared/content-settings/components/images-field/ImagesField.vue +1 -1
- package/src/shared/content-settings/components/links-field/LinksField.mixin.ts +1 -1
- package/src/shared/content-settings/components/links-field/LinksField.vue +1 -1
- package/src/shared/content-settings/components/logo-field/LogoField.mixin.ts +1 -1
- package/src/shared/content-settings/components/logo-field/LogoField.vue +1 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +13 -13
- package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +7 -7
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSlider.vue +1 -1
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +3 -3
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +5 -5
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.ts +4 -4
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.vue +1 -4
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionFieldAdaptor.mixin.ts +1 -1
- package/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.ts +2 -2
- package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.ts +3 -6
- package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/payment-toggle-field/PaymentToggleField.mixin.ts +1 -1
- package/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.ts +3 -3
- package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.ts +2 -2
- package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.vue +1 -1
- package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +5 -5
- package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +2 -2
- package/src/shared/content-settings/components/radio-field/RadioField.mixin.ts +8 -5
- package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +3 -3
- package/src/shared/content-settings/components/shape-field/ShapeField.mixin.ts +2 -6
- package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
- package/src/shared/content-settings/components/slider-field/SliderField.mixin.ts +2 -2
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +4 -4
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +2 -2
- package/src/shared/content-settings/components/text-field/TextField.vue +2 -2
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +11 -5
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +5 -5
- package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -5
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +4 -4
- package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
- package/src/shared/content-settings/components/textarea-field/TextareaField.mixin.ts +1 -1
- package/src/shared/content-settings/components/textarea-field/TextareaField.vue +2 -2
- package/src/shared/content-settings/components/toggle-field/ToggleField.mixin.ts +1 -1
- package/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.ts +2 -2
- package/src/shared/content-settings/models.ts +5 -6
- package/src/shared/content-settings/store/content-settings-store.ts +7 -11
- package/src/shared/content-settings/utils.ts +5 -4
- package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +1 -1
- package/src/shared/ecommerce-settings/components/product-config-field/ProductConfigOption.vue +6 -6
- package/src/shared/ecommerce-settings/components/shop-payment-config-field/ShopPaymentConfigField.vue +1 -1
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
- package/src/shared/ecommerce-settings/store/shop-settings-store.ts +3 -3
- package/src/shared/ecommerce-settings/util/skuUtils.ts +1 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +2 -2
- package/src/shared/font-preview/FontPreview.vue +1 -1
- package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +1 -1
- package/src/shared/login-required-message/LoginRequiredMessage.vue +1 -1
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +6 -6
- package/src/shared/logo-settings/components/EditLogoSettings.vue +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +4 -3
- package/src/shared/logo-settings/components/LogoSettings.vue +1 -1
- package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +6 -6
- package/src/shared/logo-settings/components/LogoTemplateSearch.vue +5 -5
- package/src/shared/logo-settings/components/LogoVariations.vue +1 -1
- package/src/shared/logo-settings/components/logo-switch-confirmation-modal/LogoSwitchConfirmationModal.vue +1 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +6 -6
- package/src/shared/logo-settings/store/logo-settings-store.test.ts +12 -10
- package/src/shared/logo-settings/store/logo-settings-store.ts +8 -15
- package/src/shared/logo-versions/LogoVersions.mixin.ts +1 -1
- package/src/shared/models.ts +1 -1
- package/src/shared/my-designs/MyDesigns.mixin.ts +2 -2
- package/src/shared/my-designs/MyDesigns.vue +1 -1
- package/src/shared/my-uploads/MyMedia.mixin.ts +4 -4
- package/src/shared/my-uploads/MyMedia.stories.ts +3 -3
- package/src/shared/my-uploads/MyMedia.vue +1 -1
- package/src/shared/my-uploads/MyUploads.mixin.ts +4 -4
- package/src/shared/my-uploads/MyUploads.stories.ts +1 -1
- package/src/shared/my-uploads/MyUploads.vue +1 -1
- package/src/shared/my-uploads/models.ts +3 -2
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +6 -6
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
- package/src/shared/navigation-style-settings/store/index.ts +7 -11
- package/src/shared/page-navigation/PageSelectorDropdown.vue +14 -8
- package/src/shared/page-navigation/store/page-navigation-store.ts +160 -18
- package/src/shared/page-settings/components/delete-page-modal/DeletePageModal.mixin.ts +4 -4
- package/src/shared/page-settings/components/delete-page-modal/DeletePageModal.vue +1 -1
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +15 -15
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.vue +9 -3
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.de-DE.json +6 -6
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.es-ES.json +6 -6
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.fr-CA.json +6 -6
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.fr-FR.json +6 -6
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.json +1 -1
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.pt-BR.json +6 -6
- package/src/shared/page-settings/components/new-page-modal/i18n/new-page-modal.pt-PT.json +6 -6
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +419 -0
- package/src/shared/page-settings/components/page-settings/PageElement.vue +21 -9
- package/src/shared/page-settings/components/page-settings/PageSettingMenu.vue +35 -10
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +212 -56
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +29 -49
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.de-DE.json +17 -15
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.es-ES.json +17 -15
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.fr-CA.json +17 -15
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.fr-FR.json +17 -15
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.json +2 -1
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.pt-BR.json +17 -15
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.pt-PT.json +17 -15
- package/src/shared/page-settings/components/page-settings-section-styles/FooterDisplayStyle.vue +3 -3
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +6 -6
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderNavigationType.vue +3 -3
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +9 -9
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +3 -3
- package/src/shared/page-settings/models.ts +2 -3
- package/src/shared/page-settings/store/page-settings-store.test.ts +31 -98
- package/src/shared/page-settings/store/page-settings-store.ts +120 -93
- package/src/shared/page-settings/utils.ts +13 -5
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +7 -6
- package/src/shared/shape-library/ShapeLibrary.vue +6 -6
- package/src/shared/side-bar/components/SideBar.mixin.ts +1 -1
- package/src/shared/side-bar/components/SideBarTabButton.mixin.ts +2 -2
- package/src/shared/side-bar/store/side-bar-store.ts +1 -1
- package/src/shared/style-settings/components/StyleSettings.mixin.ts +7 -7
- package/src/shared/style-settings/components/StyleSettings.stories.ts +3 -3
- package/src/shared/style-settings/components/StyleSettings.vue +1 -1
- package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +5 -8
- package/src/shared/style-settings/models.ts +1 -1
- package/src/shared/style-settings/store/style-settings-store.test.ts +3 -3
- package/src/shared/style-settings/store/style-settings-store.ts +10 -10
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +5 -5
- package/src/shared/template-settings/components/TemplatesSettings.stories.ts +2 -2
- package/src/shared/template-settings/components/TemplatesSettings.test-helper.ts +4 -4
- package/src/shared/template-settings/components/TemplatesSettings.vue +1 -1
- package/src/shared/template-settings/models.ts +2 -2
- package/src/shared/template-settings/store/template-settings-store.ts +6 -6
- package/src/shared/unsplash-library/UnsplashLibrary.mixin.ts +2 -2
- package/src/shared/unsplash-library/UnsplashLibrary.vue +6 -2
- package/src/shared/upload-logo-modal/UploadLogoModal.vue +2 -2
- package/src/shared/video-library/VideoLibrary.vue +3 -3
- package/src/shared/website-byo-upload/WebsiteByoUpload.vue +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import brandPageClient from '../../clients/brand-page.client';
|
|
3
3
|
import { DISPLAY_STYLE_COLLAPSED, DISPLAY_STYLE_PREVIEW, paymentProviders, } from '../../constants';
|
|
4
|
-
import raygunUtil from '
|
|
5
|
-
import { paymentTr } from '
|
|
4
|
+
import raygunUtil from '@brand-page/utils/raygun.util';
|
|
5
|
+
import { paymentTr } from '@src/composables/useTranslate';
|
|
6
6
|
const DEFAULT_PAYMENT_SUCCESS_MESSAGE = paymentTr(`defaultPaymentSuccessMessage`);
|
|
7
7
|
const PAYMENT_CONFIG_ACTIVE = 'Active';
|
|
8
8
|
export const paymentState = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BrandPagePaymentConfig, ButtonStyles, CheckoutInformation, CreateCartResult, StripePaymentIntent } from '
|
|
2
|
+
import type { BrandPagePaymentConfig, ButtonStyles, CheckoutInformation, CreateCartResult, StripePaymentIntent } from '@brand-page/models';
|
|
3
3
|
declare global {
|
|
4
4
|
interface Window {
|
|
5
5
|
Stripe?: stripe.StripeStatic;
|
|
@@ -2,7 +2,7 @@ import { defineComponent } from 'vue';
|
|
|
2
2
|
import validator from 'validator';
|
|
3
3
|
import { debug, debugError } from '../../../utils/debug.util';
|
|
4
4
|
import * as constants from '../../constants';
|
|
5
|
-
import { requestPaymentStripeTr } from '
|
|
5
|
+
import { requestPaymentStripeTr } from '@src/composables/useTranslate';
|
|
6
6
|
import brandPageClient from '../../clients/brand-page.client';
|
|
7
7
|
const INVALID_EMAIL_MESSAGE = () => requestPaymentStripeTr('invalidEmailMessage');
|
|
8
8
|
const STRIPE_SCRIPT_URL = 'https://js.stripe.com/v3/';
|
|
@@ -3,33 +3,33 @@ export declare const context: {
|
|
|
3
3
|
stripePublishableKey: string;
|
|
4
4
|
isTemplate: boolean;
|
|
5
5
|
isPreview: boolean;
|
|
6
|
-
isMobile?: boolean;
|
|
6
|
+
isMobile?: boolean | undefined;
|
|
7
7
|
isDesignCom: boolean;
|
|
8
8
|
isProduction: boolean;
|
|
9
9
|
isServerRender: boolean;
|
|
10
10
|
brandPageSlug: string;
|
|
11
|
-
brandPageToken?: string;
|
|
12
|
-
pages?: import("../../../view-models").PageViewModel[];
|
|
11
|
+
brandPageToken?: string | undefined;
|
|
12
|
+
pages?: import("../../../view-models").PageViewModel[] | undefined;
|
|
13
13
|
nav: import("../../../view-models").NavViewModel;
|
|
14
|
-
|
|
14
|
+
currentPageRelativePath?: string | undefined;
|
|
15
15
|
runtimeEnvironment: string;
|
|
16
16
|
recaptchaSiteKey: string | undefined;
|
|
17
17
|
pageTitle: string;
|
|
18
18
|
customDomain: string | undefined;
|
|
19
|
-
brandPageType:
|
|
19
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
20
20
|
isBrandPage: boolean;
|
|
21
21
|
isBrandPageOrIsBrandContact: boolean;
|
|
22
22
|
isBrandSite: boolean;
|
|
23
23
|
isBrandContact: boolean;
|
|
24
24
|
options?: {
|
|
25
|
-
disableNavigationSideMenu?: boolean;
|
|
26
|
-
mediaSizes?:
|
|
27
|
-
renderVideoAsImage?: boolean;
|
|
28
|
-
shouldPlayVideos?: boolean;
|
|
29
|
-
enableSaveContact?: boolean;
|
|
30
|
-
};
|
|
31
|
-
abTests?: import("../../../models").AbTest;
|
|
25
|
+
disableNavigationSideMenu?: boolean | undefined;
|
|
26
|
+
mediaSizes?: "size1x" | "size2x" | "sizeThumb" | undefined;
|
|
27
|
+
renderVideoAsImage?: boolean | undefined;
|
|
28
|
+
shouldPlayVideos?: boolean | undefined;
|
|
29
|
+
enableSaveContact?: boolean | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
abTests?: import("../../../models").AbTest | undefined;
|
|
32
32
|
isCapturingPreview: boolean;
|
|
33
|
-
disableLogoRenderOnServerside?: boolean;
|
|
33
|
+
disableLogoRenderOnServerside?: boolean | undefined;
|
|
34
34
|
};
|
|
35
35
|
export declare const viewModel: RequestPaymentViewModel;
|
|
@@ -2,8 +2,8 @@ import { context as baseContext, logoTheme, } from '../../../__fixtures__/brand-
|
|
|
2
2
|
import { faker } from '@faker-js/faker';
|
|
3
3
|
import { DEFAULT_TEXT_ALIGN } from '../../../constants';
|
|
4
4
|
import { applyLogoThemeToBrandPageStyles } from '../../../utils';
|
|
5
|
-
import { BRAND_PAGE } from '
|
|
6
|
-
import { createInitialRequestPaymentContent } from '
|
|
5
|
+
import { BRAND_PAGE } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
|
|
6
|
+
import { createInitialRequestPaymentContent } from '@brand-page-maker/models';
|
|
7
7
|
import { BRAND_PAGE_PUBLISHABLE_KEY } from '../../../__fixtures__/stripe.fixture';
|
|
8
8
|
export const context = {
|
|
9
9
|
...baseContext,
|
|
@@ -3,33 +3,33 @@ export declare const context: {
|
|
|
3
3
|
stripePublishableKey: string;
|
|
4
4
|
isTemplate: boolean;
|
|
5
5
|
isPreview: boolean;
|
|
6
|
-
isMobile?: boolean;
|
|
6
|
+
isMobile?: boolean | undefined;
|
|
7
7
|
isDesignCom: boolean;
|
|
8
8
|
isProduction: boolean;
|
|
9
9
|
isServerRender: boolean;
|
|
10
10
|
brandPageSlug: string;
|
|
11
|
-
brandPageToken?: string;
|
|
12
|
-
pages?: import("../../../view-models").PageViewModel[];
|
|
11
|
+
brandPageToken?: string | undefined;
|
|
12
|
+
pages?: import("../../../view-models").PageViewModel[] | undefined;
|
|
13
13
|
nav: import("../../../view-models").NavViewModel;
|
|
14
|
-
|
|
14
|
+
currentPageRelativePath?: string | undefined;
|
|
15
15
|
runtimeEnvironment: string;
|
|
16
16
|
recaptchaSiteKey: string | undefined;
|
|
17
17
|
pageTitle: string;
|
|
18
18
|
customDomain: string | undefined;
|
|
19
|
-
brandPageType:
|
|
19
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
20
20
|
isBrandPage: boolean;
|
|
21
21
|
isBrandPageOrIsBrandContact: boolean;
|
|
22
22
|
isBrandSite: boolean;
|
|
23
23
|
isBrandContact: boolean;
|
|
24
24
|
options?: {
|
|
25
|
-
disableNavigationSideMenu?: boolean;
|
|
26
|
-
mediaSizes?:
|
|
27
|
-
renderVideoAsImage?: boolean;
|
|
28
|
-
shouldPlayVideos?: boolean;
|
|
29
|
-
enableSaveContact?: boolean;
|
|
30
|
-
};
|
|
31
|
-
abTests?: import("../../../models").AbTest;
|
|
25
|
+
disableNavigationSideMenu?: boolean | undefined;
|
|
26
|
+
mediaSizes?: "size1x" | "size2x" | "sizeThumb" | undefined;
|
|
27
|
+
renderVideoAsImage?: boolean | undefined;
|
|
28
|
+
shouldPlayVideos?: boolean | undefined;
|
|
29
|
+
enableSaveContact?: boolean | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
abTests?: import("../../../models").AbTest | undefined;
|
|
32
32
|
isCapturingPreview: boolean;
|
|
33
|
-
disableLogoRenderOnServerside?: boolean;
|
|
33
|
+
disableLogoRenderOnServerside?: boolean | undefined;
|
|
34
34
|
};
|
|
35
35
|
export declare const viewModel: SupportMeViewModel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { context as baseContext, logoTheme, } from '../../../__fixtures__/brand-page-sample-data';
|
|
2
|
-
import { createInitialSupportMeContent } from '
|
|
2
|
+
import { createInitialSupportMeContent } from '@brand-page-maker/models';
|
|
3
3
|
import { applyLogoThemeToBrandPageStyles } from '../../../utils';
|
|
4
|
-
import { BRAND_PAGE } from '
|
|
4
|
+
import { BRAND_PAGE } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
|
|
5
5
|
import { faker } from '@faker-js/faker';
|
|
6
6
|
import { DEFAULT_TEXT_ALIGN, SUPPORT_ME_CUSTOM_PRODUCT_NAME, SUPPORT_ME_PRODUCT_NAME, } from '../../../constants';
|
|
7
7
|
import { BRAND_PAGE_PUBLISHABLE_KEY } from '../../../__fixtures__/stripe.fixture';
|
|
@@ -2,7 +2,7 @@ import { defineComponent } from 'vue';
|
|
|
2
2
|
import { PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, } from '../../../models';
|
|
3
3
|
import { DEFAULT_CURRENCY_SYMBOL } from '../../../constants';
|
|
4
4
|
import { addOpacityToHex } from '../../../utils/color.util';
|
|
5
|
-
import { RGBAtoHex } from '
|
|
5
|
+
import { RGBAtoHex } from '@utils/helpers';
|
|
6
6
|
const MAX_CUSTOM_REQUEST_CHARS = 500;
|
|
7
7
|
export default defineComponent({
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import RequestPayment from './RequestPayment.vue';
|
|
2
2
|
import Payment from '../Payment.vue';
|
|
3
3
|
import { viewModel, context } from '../__fixtures__/request-payment';
|
|
4
|
-
import { setupStoryPinia } from '
|
|
4
|
+
import { setupStoryPinia } from '@brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture';
|
|
5
5
|
import { faker } from '@faker-js/faker';
|
|
6
6
|
import DarkBackground from '../../../storybook-helpers/components/DarkBackground.vue';
|
|
7
7
|
const meta = {
|
|
@@ -2,7 +2,7 @@ import { defineComponent } from 'vue';
|
|
|
2
2
|
import { SUPPORT_ME_CUSTOM_PRODUCT_NAME } from '../../../constants';
|
|
3
3
|
import { isPaymentAmountValid } from '../../../utils';
|
|
4
4
|
import { DEFAULT_CURRENCY_SYMBOL, DEFAULT_CURRENCY_CODE, } from '../../../constants';
|
|
5
|
-
import { paymentTr } from '
|
|
5
|
+
import { paymentTr } from '@src/composables/useTranslate';
|
|
6
6
|
const MAX_CUSTOM_MESSAGE_CHARS = 500;
|
|
7
7
|
export default defineComponent({
|
|
8
8
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { context, viewModel } from '../__fixtures__/support-me';
|
|
2
2
|
import SupportMe from './SupportMe.vue';
|
|
3
|
-
import { setupStoryPinia } from '
|
|
3
|
+
import { setupStoryPinia } from '@brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture';
|
|
4
4
|
import DarkBackground from '../../../storybook-helpers/components/DarkBackground.vue';
|
|
5
5
|
const meta = {
|
|
6
6
|
title: 'BrandPage/Components/Payment/SupportMe',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { ProfileViewModel } from '
|
|
3
|
-
import type { BrandPageContext } from '
|
|
2
|
+
import type { ProfileViewModel } from '@brand-page/view-models';
|
|
3
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
viewModel: {
|
|
6
6
|
type: PropType<ProfileViewModel>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
|
-
import { getRenderText, escapeContentText } from '
|
|
3
|
-
import { hasRTEContent } from '
|
|
2
|
+
import { getRenderText, escapeContentText } from '@brand-page/utils';
|
|
3
|
+
import { hasRTEContent } from '@brand-page-maker/utils/rich-text-editor.util';
|
|
4
4
|
export default defineComponent({
|
|
5
5
|
props: {
|
|
6
6
|
viewModel: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ProfileViewModel } from '
|
|
2
|
-
import { type BrandPageContext } from '
|
|
1
|
+
import type { ProfileViewModel } from '@brand-page/view-models';
|
|
2
|
+
import { type BrandPageContext } from '@brand-page/models/brand-page-context.model';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: import("vue").DefineComponent<{}, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import Profile from './Profile.vue';
|
|
3
3
|
import { DEFAULT_TEXT_ALIGN } from '../../constants';
|
|
4
|
-
import { MEDIA_SIZES, } from '
|
|
4
|
+
import { MEDIA_SIZES, } from '@brand-page/models/brand-page-context.model';
|
|
5
5
|
export default {
|
|
6
6
|
title: 'Components/BrandPage/Profile',
|
|
7
7
|
component: Profile,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import CartModal from './CartModal.vue';
|
|
2
2
|
import ProductDetailModal from './ProductDetailModal.vue';
|
|
3
3
|
import PaymentModal from './PaymentModal.vue';
|
|
4
|
-
import { setupStoryPinia } from '
|
|
5
|
-
import { useCartStore } from '
|
|
6
|
-
import { useShopConfigStore } from '
|
|
4
|
+
import { setupStoryPinia } from '@brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture';
|
|
5
|
+
import { useCartStore } from '@shared/ecommerce-settings/store/cart-settings-store';
|
|
6
|
+
import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settings-store';
|
|
7
7
|
const InitialiseCartStores = () => {
|
|
8
8
|
const shopStore = useShopConfigStore();
|
|
9
9
|
shopStore.addProduct({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="types/lodash-shims" />
|
|
1
2
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { TestimonialSectionViewModel } from '
|
|
3
|
-
import type { BrandPageContext } from '
|
|
3
|
+
import type { TestimonialSectionViewModel } from '@brand-page/view-models';
|
|
4
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
4
5
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
5
6
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
7
|
viewModel: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
3
|
-
import { getRenderText } from '
|
|
3
|
+
import { getRenderText } from '@brand-page/utils';
|
|
4
4
|
import debounce from 'lodash.debounce';
|
|
5
|
-
import { DEVICE_CSS_TRANSITION_DELAY } from '
|
|
5
|
+
import { DEVICE_CSS_TRANSITION_DELAY } from '@brand-page-maker/constants';
|
|
6
6
|
const DEBOUNCE_WAIT_MS = 100;
|
|
7
7
|
export default defineComponent({
|
|
8
8
|
mixins: [ComponentCommonMixin],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { VideoViewModel } from '
|
|
2
|
+
import type { VideoViewModel } from '@brand-page/view-models';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
viewModel: {
|
|
5
5
|
type: PropType<VideoViewModel>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { constantsTr, errorTr } from '
|
|
1
|
+
import { constantsTr, errorTr } from '@src/composables/useTranslate';
|
|
2
2
|
export const DISPLAY_TEXT_TITLE = 'Titles';
|
|
3
3
|
export const DISPLAY_TEXT_HEADINGS = 'Headings';
|
|
4
4
|
export const DISPLAY_TEXT_BODY = 'Paragraphs';
|
|
@@ -84,4 +84,5 @@ export declare const SUPPORT_ME_CUSTOM_PRODUCT_NAME = "Support Me Custom Amount"
|
|
|
84
84
|
export declare const BP_INDEX_ROUTE_NAME = "index";
|
|
85
85
|
export declare const BP_SLUG_ROUTE_NAME = "slug";
|
|
86
86
|
export declare const BP_PAGE_SLUG_ROUTE_NAME = "slug-pageSlug";
|
|
87
|
+
export declare const BP_PAGE_SLUG_TWO_ROUTE_NAME = "slug-pageSlug-pageSlug2";
|
|
87
88
|
export declare const PROXY_SHAPE_URL_REGEX: RegExp;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { errorTr } from '
|
|
1
|
+
import { errorTr } from '@src/composables/useTranslate';
|
|
2
2
|
export const DEFAULT_CURRENCY_SYMBOL = '$';
|
|
3
3
|
export const DEFAULT_CURRENCY_CODE = 'USD';
|
|
4
4
|
export const DEFAULT_LOGO_TEXT_COLOR_RGB = 'rgb(0,0,0)';
|
|
@@ -95,4 +95,5 @@ export const SUPPORT_ME_CUSTOM_PRODUCT_NAME = 'Support Me Custom Amount';
|
|
|
95
95
|
export const BP_INDEX_ROUTE_NAME = 'index';
|
|
96
96
|
export const BP_SLUG_ROUTE_NAME = 'slug';
|
|
97
97
|
export const BP_PAGE_SLUG_ROUTE_NAME = 'slug-pageSlug';
|
|
98
|
+
export const BP_PAGE_SLUG_TWO_ROUTE_NAME = 'slug-pageSlug-pageSlug2';
|
|
98
99
|
export const PROXY_SHAPE_URL_REGEX = /\/asset\/shape\?/g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ALIGN_CENTERED, ALIGN_JUSTIFIED } from '../misc.constants';
|
|
2
|
-
import { commonTr } from '
|
|
2
|
+
import { tr, commonTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const FOOTER_DISPLAY = {
|
|
4
4
|
/** @deprecated */
|
|
5
5
|
ALIGN_CENTERED, // mapped to CENTERED
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonGroupOption } from '
|
|
1
|
+
import type { ButtonGroupOption } from '@brand-page-maker/models/button-group.model';
|
|
2
2
|
export declare const HEADER_DISPLAY: {
|
|
3
3
|
/** @deprecated */
|
|
4
4
|
readonly ALIGN_CENTERED: "centered";
|
|
@@ -58,7 +58,7 @@ export interface BrandPageContext {
|
|
|
58
58
|
brandPageToken?: string;
|
|
59
59
|
pages?: PageViewModel[];
|
|
60
60
|
nav: NavViewModel;
|
|
61
|
-
|
|
61
|
+
currentPageRelativePath?: string;
|
|
62
62
|
runtimeEnvironment: string;
|
|
63
63
|
stripePublishableKey: string | undefined;
|
|
64
64
|
/** reCAPTCHA Enterprise site key for spam protection */
|
|
@@ -41,7 +41,7 @@ export declare const GALLERY_TYPES: {
|
|
|
41
41
|
readonly masonry: "masonry";
|
|
42
42
|
};
|
|
43
43
|
export type GalleryType = keyof typeof GALLERY_TYPES;
|
|
44
|
-
export declare const availableGalleryTypes:
|
|
44
|
+
export declare const availableGalleryTypes: ("grid" | "carousel" | "masonry")[];
|
|
45
45
|
export declare class GalleryStyles {
|
|
46
46
|
galleryType: GalleryType;
|
|
47
47
|
constructor(option?: Partial<GalleryStyles>);
|
|
@@ -432,7 +432,6 @@ export interface BookingSectionContent extends Content {
|
|
|
432
432
|
}
|
|
433
433
|
export declare class PageModel {
|
|
434
434
|
title: string;
|
|
435
|
-
slug: string;
|
|
436
435
|
contents: Content[];
|
|
437
436
|
id: string;
|
|
438
437
|
isHidden?: boolean;
|
|
@@ -166,13 +166,11 @@ export const DIVIDER_STYLES = {
|
|
|
166
166
|
};
|
|
167
167
|
export class PageModel {
|
|
168
168
|
title;
|
|
169
|
-
slug;
|
|
170
169
|
contents;
|
|
171
170
|
id;
|
|
172
171
|
isHidden;
|
|
173
172
|
constructor(options) {
|
|
174
173
|
this.title = options.title ?? '';
|
|
175
|
-
this.slug = options.slug ?? '';
|
|
176
174
|
this.contents = options.contents || [];
|
|
177
175
|
this.isHidden = options.isHidden ?? false;
|
|
178
176
|
this.id = options.id || '';
|
|
@@ -9,7 +9,7 @@ export interface StripePaymentIntent {
|
|
|
9
9
|
currency: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const isStripePaymentIntent: (value: any) => value is StripePaymentIntent;
|
|
12
|
-
export interface CreateCartResult<T
|
|
12
|
+
export interface CreateCartResult<T> {
|
|
13
13
|
cartId: string;
|
|
14
14
|
paymentProviderName: string;
|
|
15
15
|
paymentProviderExternalId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FONT_SIZE_HEADINGS, FONT_SIZE_TITLE, LINE_HEIGHT_HEADINGS, LINE_HEIGHT_TITLE, FONT_SIZE_BODY, LINE_HEIGHT_BODY, DISPLAY_TEXT_TITLE, DISPLAY_TEXT_HEADINGS, DISPLAY_TEXT_BODY, STYLE_THEME_KEYS, FONT_FAMILY_CONFIGS, DEFAULT_FONT_FAMILY_KEY, DISPlAY_TEXT_BUTTONS, } from '../constants';
|
|
2
|
-
import { commonTr, styleSettingsTr } from '
|
|
2
|
+
import { commonTr, styleSettingsTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const TEXT_STYLE_TYPES = {
|
|
4
4
|
titles: 'titles',
|
|
5
5
|
headings: 'headings',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import isHexColor from 'validator/lib/isHexColor';
|
|
2
|
-
import { hexToRGBA, isColor } from '
|
|
2
|
+
import { hexToRGBA, isColor } from '@src/utils/helpers';
|
|
3
3
|
import Color, {} from 'color';
|
|
4
4
|
// function from https://stackoverflow.com/a/9733420/3695983
|
|
5
5
|
export const luminance = (r, g, b) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BrandPageModel } from '../../';
|
|
2
|
-
import { type MigrationData } from '
|
|
2
|
+
import { type MigrationData } from '@brand-page/utils';
|
|
3
3
|
export declare const applyTextContentTextToTextItemsMigration: (brandPageModel: BrandPageModel) => void;
|
|
4
4
|
export declare const migrateProfileContentToHaveTextStyles: (brandPageModel: BrandPageModel) => void;
|
|
5
5
|
export declare const migrateMailingListContentToHaveTextStyles: (brandPageModel: BrandPageModel) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getLogoVariationIndexFromLogoImageUrl, getLogoDraftTokenFromLogoImageUrl, safeGetLogoImageFromLogoImageUrl, } from '../logo.util';
|
|
2
2
|
import { DEFAULT_LETTER_SPACING, FOOTER_DISPLAY, NavigationDesktop, NavigationMobile, PageFooterDesktop, PageFooterMobile, PageHeaderDesktop, PageHeaderMobile, } from '../../';
|
|
3
3
|
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_BIG_IMAGE, BIG_IMAGE, BRAND_PAGE_TYPES, DEFAULT_FONT_FAMILY_KEY, DEFAULT_LOGO_HEIGHT, DEFAULT_LOGO_WIDTH, DEFAULT_TEXT_ALIGN, FONT_FAMILY_CONFIGS, HEADER_DISPLAY, NAVIGATION_DISPLAY, LINE_HEIGHT_BODY, LINE_HEIGHT_HEADINGS, LINE_HEIGHT_TITLE, PAYMENT_OPTION_DISPLAY_TYPES, } from '../../';
|
|
4
|
-
import { isAboutContent, isBannerContent, isButtonContent, isContact, isImagesContent, isLogoContent, isMailingListContent, isPayment, isProfileContent, isShapesContent, isSocialLinks, isSupportMeContent, isTestimonialContent, isTextContent, } from '
|
|
5
|
-
import { createInitialLogoContent } from '
|
|
4
|
+
import { isAboutContent, isBannerContent, isButtonContent, isContact, isImagesContent, isLogoContent, isMailingListContent, isPayment, isProfileContent, isShapesContent, isSocialLinks, isSupportMeContent, isTestimonialContent, isTextContent, } from '@brand-page/utils';
|
|
5
|
+
import { createInitialLogoContent } from '@brand-page-maker/models';
|
|
6
6
|
export const applyTextContentTextToTextItemsMigration = (brandPageModel) => {
|
|
7
7
|
const textContents = brandPageModel.pages.reduce((acc, cur) => {
|
|
8
8
|
return [...acc, ...cur.contents.filter(isTextContent)];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type LogoImageModel } from '../..';
|
|
2
2
|
import type { MigrationData } from '../migration.util';
|
|
3
3
|
export declare const convertLetterSpacingRemToEm: (fontSizeInEmOrRem: string | undefined, letterSpacingRemValue: string | undefined) => string | undefined;
|
|
4
|
-
export declare const migration02: (migrationResult: MigrationData,
|
|
4
|
+
export declare const migration02: (migrationResult: MigrationData, options: {
|
|
5
5
|
logoImage?: LogoImageModel;
|
|
6
6
|
isUserDraft: boolean;
|
|
7
7
|
}) => Promise<MigrationData>;
|
|
@@ -31,7 +31,7 @@ const handleConversion = (style) => {
|
|
|
31
31
|
}
|
|
32
32
|
style.letterSpacing = convertLetterSpacingRemToEm(style.fontSize, style.letterSpacing);
|
|
33
33
|
};
|
|
34
|
-
export const migration02 = async (migrationResult,
|
|
34
|
+
export const migration02 = async (migrationResult, options) => {
|
|
35
35
|
const { brandPageModel } = migrationResult;
|
|
36
36
|
handleConversion(brandPageModel.pageHeaderDesktop?.navigation?.defaultButtonStyle);
|
|
37
37
|
handleConversion(brandPageModel.pageHeaderMobile?.navigation?.defaultButtonStyle);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LogoImageModel } from '../..';
|
|
2
2
|
import type { MigrationData } from '../migration.util';
|
|
3
|
-
export declare const migration03: (migrationResult: MigrationData,
|
|
3
|
+
export declare const migration03: (migrationResult: MigrationData, options: {
|
|
4
4
|
logoImage?: LogoImageModel;
|
|
5
5
|
isUserDraft: boolean;
|
|
6
6
|
}) => Promise<MigrationData>;
|
|
@@ -28,7 +28,7 @@ const migrateApplyAutoScaleProperty = (brandPageType, textStyle) => {
|
|
|
28
28
|
textStyle.applyAutoScale =
|
|
29
29
|
brandPageType && brandPageType === BRAND_PAGE_TYPES.brandSite;
|
|
30
30
|
};
|
|
31
|
-
export const migration03 = async (migrationResult,
|
|
31
|
+
export const migration03 = async (migrationResult, options) => {
|
|
32
32
|
const { brandPageModel } = migrationResult;
|
|
33
33
|
handleRecursiveFontSizeMigration(brandPageModel.pageHeaderDesktop);
|
|
34
34
|
handleRecursiveFontSizeMigration(brandPageModel.pageHeaderMobile);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LogoImageModel } from '../..';
|
|
2
2
|
import type { MigrationData } from '../migration.util';
|
|
3
|
-
export declare const migration04: (migrationResult: MigrationData,
|
|
3
|
+
export declare const migration04: (migrationResult: MigrationData, options: {
|
|
4
4
|
logoImage?: LogoImageModel;
|
|
5
5
|
isUserDraft: boolean;
|
|
6
6
|
}) => Promise<MigrationData>;
|
|
@@ -86,7 +86,7 @@ const updateUserUploadedImageUrls = (content) => {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
-
export const migration04 = async (migrationResult,
|
|
89
|
+
export const migration04 = async (migrationResult, options) => {
|
|
90
90
|
const { brandPageModel } = migrationResult;
|
|
91
91
|
if (brandPageModel.faviconUrl &&
|
|
92
92
|
isUserUploadedImage(brandPageModel.faviconUrl)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LogoImageModel } from '../..';
|
|
2
2
|
import type { MigrationData } from '../migration.util';
|
|
3
|
-
export declare const migration05: (migrationResult: MigrationData,
|
|
3
|
+
export declare const migration05: (migrationResult: MigrationData, options: {
|
|
4
4
|
logoImage?: LogoImageModel;
|
|
5
5
|
isUserDraft: boolean;
|
|
6
6
|
}) => Promise<MigrationData>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {} from '../..';
|
|
2
2
|
import { isTextContent } from '../model.util';
|
|
3
|
-
export const migration05 = async (migrationResult,
|
|
3
|
+
export const migration05 = async (migrationResult, options) => {
|
|
4
4
|
const { brandPageModel } = migrationResult;
|
|
5
5
|
brandPageModel.pages.forEach((page) => {
|
|
6
6
|
page.contents.forEach((content) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {} from '../..';
|
|
2
|
-
export const migration05_2 = (migrationResult,
|
|
2
|
+
export const migration05_2 = (migrationResult, options) => {
|
|
3
3
|
const { brandPageModel } = migrationResult;
|
|
4
4
|
brandPageModel.pages.forEach((page) => {
|
|
5
5
|
page.contents.forEach((content) => {
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { v5 as uuidv5 } from 'uuid';
|
|
2
|
-
import { NavModel } from '
|
|
2
|
+
import { NavModel } from '@brand-page/models';
|
|
3
3
|
const UUID_NAMESPACE = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
4
4
|
export const migration12 = async (migrationResult) => {
|
|
5
5
|
const { brandPageModel } = migrationResult;
|
|
6
|
+
// Skip if nav already exists
|
|
7
|
+
if (brandPageModel.nav?.routes?.length) {
|
|
8
|
+
return migrationResult;
|
|
9
|
+
}
|
|
6
10
|
const pages = brandPageModel.pages;
|
|
7
11
|
// Add uuid to each page as id (deterministic based on slug - Note: Slug should be unique here since we haven't moved to subnav structure yet at this point)
|
|
8
12
|
pages.forEach((page) => {
|
|
9
13
|
if (!page.id) {
|
|
10
|
-
page.id = uuidv5(`page:${page
|
|
14
|
+
page.id = uuidv5(`page:${page['slug']}`, UUID_NAMESPACE);
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
const routes = [];
|
|
14
18
|
const orders = [];
|
|
15
19
|
pages.forEach((page) => {
|
|
16
|
-
const routeId = uuidv5(`route:${page
|
|
20
|
+
const routeId = uuidv5(`route:${page['slug']}`, UUID_NAMESPACE);
|
|
17
21
|
routes.push({
|
|
18
22
|
id: routeId,
|
|
19
23
|
pageId: page.id,
|
|
20
|
-
pageSlug: page
|
|
24
|
+
pageSlug: page['slug'],
|
|
21
25
|
isHidden: page.isHidden ?? false,
|
|
22
26
|
displayName: page.title,
|
|
23
27
|
});
|
|
@@ -11,17 +11,17 @@ export const migration12_1 = async (migrationResult) => {
|
|
|
11
11
|
// Add uuid to each page as id (deterministic based on slug - Note: Slug should be unique here since we haven't moved to subnav structure yet at this point)
|
|
12
12
|
pages.forEach((page) => {
|
|
13
13
|
if (!page.id) {
|
|
14
|
-
page.id = uuidv5(`page:${page
|
|
14
|
+
page.id = uuidv5(`page:${page['slug']}`, UUID_NAMESPACE);
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
const routes = [];
|
|
18
18
|
const orders = [];
|
|
19
19
|
pages.forEach((page) => {
|
|
20
|
-
const routeId = uuidv5(`route:${page
|
|
20
|
+
const routeId = uuidv5(`route:${page['slug']}`, UUID_NAMESPACE);
|
|
21
21
|
routes.push({
|
|
22
22
|
id: routeId,
|
|
23
23
|
pageId: page.id,
|
|
24
|
-
pageSlug: page
|
|
24
|
+
pageSlug: page['slug'],
|
|
25
25
|
isHidden: page.isHidden ?? false,
|
|
26
26
|
displayName: page.title,
|
|
27
27
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { escapeContentText } from '
|
|
2
|
-
import { DEFAULT_PERSONALISATION_MAPPING, PERSONALISATION_MAPPINGS, TEXT_MEDIA_CONTENT_TYPES, } from '
|
|
1
|
+
import { escapeContentText } from '@brand-page/utils';
|
|
2
|
+
import { DEFAULT_PERSONALISATION_MAPPING, PERSONALISATION_MAPPINGS, TEXT_MEDIA_CONTENT_TYPES, } from '@brand-page-maker/constants/personalisation.constant';
|
|
3
3
|
import { BRAND_PAGE_TYPES, ShapeAspectRatioCategory } from '../models';
|
|
4
4
|
import { getColorReplacementsFromSvgString, getColorReplacementsFromSvgStringServer, } from './svg-color.util';
|
|
5
5
|
const ASPECT_RATIO_LOWER_CUT_OFF = 0.5;
|