@designcrowd/library.brand-page 5.16.50 → 5.16.52-hidden-fix
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-VWHtFJFN.js → CreatedOnBrandCrowd-de-de-CejWy1YN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DBdLhWNG.js → CreatedOnBrandCrowd-en-us-D4zwnmuP.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-Bn-hqlSd.js → CreatedOnBrandCrowd-es-es-CS57f6v7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Bpb8F1eC.js → CreatedOnBrandCrowd-fr-ca-BYtaFS2D.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-Bpb8F1eC.js → CreatedOnBrandCrowd-fr-fr-BYtaFS2D.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DpF-9n02.js → CreatedOnBrandCrowd-pt-br-blFPofeb.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DpF-9n02.js → CreatedOnBrandCrowd-pt-pt-blFPofeb.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BjvpV1YI.js → CreatedOnDcom-de-de-DoiLqeTw.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CVa7Gnm0.js → CreatedOnDcom-en-us-CDqWgWuP.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DoaVzu0G.js → CreatedOnDcom-es-es-BVF4w8R8.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BUb9UMux.js → CreatedOnDcom-fr-ca-k3myTyVH.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-BLGyQY4y.js → CreatedOnDcom-fr-fr-CguF4s2G.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-DAUTmXrS.js → CreatedOnDcom-pt-br-CtHWhIti.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DFW7UaIL.js → CreatedOnDcom-pt-pt-DOicpVqu.js} +1 -1
- 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 +2 -2
- package/lib/src/brand-page/components/button/Button.mixin.d.ts +2 -2
- 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 -3
- package/lib/src/brand-page/components/image-gallery/ImageGalleryModal.mixin.d.ts +1 -1
- 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 -3
- 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/navigation-side-menu/NavigationSideMenu.mixin.d.ts +3 -1
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +12 -1
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/page/Page.mixin.js +3 -3
- package/lib/src/brand-page/components/page/Page.stories.d.ts +1 -1
- package/lib/src/brand-page/components/page/Page.stories.js +2 -2
- 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 -2
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +2 -2
- 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.js +2 -2
- 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 +2 -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.js +1 -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/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/index.d.ts +1 -1
- package/lib/src/brand-page/utils/index.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-12.js +1 -1
- package/lib/src/brand-page/utils/personalisation.util.js +2 -2
- 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 +2 -2
- 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 +11 -11
- 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 +3 -3
- 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 +5 -5
- 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 +127 -127
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +14 -14
- 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.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__/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 +117 -117
- 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 +15 -15
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +2 -2
- 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 +2 -2
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.js +2 -2
- 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 +3 -3
- 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 +13 -13
- 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 +17 -17
- 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 +4 -4
- 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 +10 -10
- 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 +22 -22
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +9 -9
- 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 +3 -3
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.js +2 -2
- 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 +4 -4
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +5 -5
- 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 +1 -1
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +4 -4
- 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 +1 -1
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +1 -1
- 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 +3 -3
- 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/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 +3 -3
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +10 -10
- 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 +7 -7
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +21 -21
- 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 +3 -3
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +3 -3
- 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/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 +1 -1
- package/lib/src/clients/brand-page-client.js +1 -1
- 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 +331 -331
- package/lib/src/css/library.brand-page-brandPage.min.css +331 -331
- package/lib/src/css/library.brand-page-designCom.min.css +331 -331
- package/lib/src/css/library.brand-page-preview.min.css +331 -331
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-VkN3zHgb.js → lib-BbrowyLZ.js} +7114 -7095
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +1 -1
- 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 +2 -2
- package/lib/src/shared/background-settings/store/background-settings-store.js +3 -3
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +3 -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.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 +40 -40
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +5 -5
- 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 +51 -51
- 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 +24 -24
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +5 -5
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +34 -34
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +8 -8
- 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/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +19 -19
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +7 -7
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +1 -1
- 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/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 +16 -16
- 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 +1 -1
- 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 +2 -2
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +1 -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 +1 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +3 -3
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +1 -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 +16 -16
- 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 +1 -1
- package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +1 -1
- 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 +2 -2
- 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 +2 -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 +2 -2
- 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 +7 -7
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +4 -4
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +25 -25
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.js +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 +5 -5
- package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
- package/lib/src/shared/logo-settings/store/logo-settings-store.js +4 -4
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +1 -1
- 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 +1 -1
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +2 -2
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +4 -4
- package/lib/src/shared/navigation-style-settings/store/index.js +5 -5
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +1 -1
- package/lib/src/shared/page-navigation/store/page-navigation-store.js +2 -2
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +10 -10
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +1 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +79 -79
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +5 -5
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +60 -60
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +6 -6
- package/lib/src/shared/page-settings/models.d.ts +2 -2
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +2 -2
- package/lib/src/shared/page-settings/store/page-settings-store.js +5 -5
- package/lib/src/shared/page-settings/utils.js +1 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +25 -25
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +6 -6
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -4
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +1 -1
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +5 -5
- 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 +42 -42
- 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 +4 -4
- package/lib/src/shared/style-settings/store/style-settings-store.js +6 -6
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +6 -6
- 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 +1 -1
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.js +2 -2
- package/package.json +1 -1
- package/src/brand-page/components/about-section/AboutSection.mixin.ts +3 -3
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +2 -2
- package/src/brand-page/components/background-shape/BackgroundShape.mixin.ts +4 -4
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +4 -4
- package/src/brand-page/components/booking-section/BookingSection.vue +4 -4
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +4 -4
- package/src/brand-page/components/button/Button.mixin.ts +2 -2
- 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 +5 -9
- 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 +4 -7
- package/src/brand-page/components/image/Image.test.ts +4 -7
- 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 -3
- package/src/brand-page/components/image-gallery/ImageGallery.test.ts +4 -8
- 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 -3
- package/src/brand-page/components/images-section/ImagesSection.test.ts +1 -1
- package/src/brand-page/components/images-section/ImagesSection.vue +5 -9
- package/src/brand-page/components/logo/Logo.vue +3 -3
- package/src/brand-page/components/logo/LogoRender.vue +2 -2
- 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 +20 -5
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +13 -2
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.vue +1 -1
- package/src/brand-page/components/page/Page.mixin.ts +5 -5
- package/src/brand-page/components/page/Page.stories.ts +3 -3
- package/src/brand-page/components/page/PageComponent.mixin.ts +2 -5
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +3 -3
- package/src/brand-page/components/page-header/PageHeader.mixin.ts +2 -5
- 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 +6 -9
- 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 +2 -2
- package/src/brand-page/components/shop/Cart.stories.ts +3 -3
- package/src/brand-page/components/shop/CartModal.vue +3 -3
- package/src/brand-page/components/shop/FeaturedDisplay.vue +4 -4
- package/src/brand-page/components/shop/PaymentModal.vue +5 -5
- package/src/brand-page/components/shop/ProductDetailModal.vue +4 -4
- package/src/brand-page/components/shop/Shop.vue +7 -7
- package/src/brand-page/components/shop/TextDisplay.vue +4 -4
- package/src/brand-page/components/shop/ThumbnailDisplay.vue +4 -4
- 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 -3
- package/src/brand-page/components/social-links/SocialLinksItems.vue +1 -1
- package/src/brand-page/components/testimonial-section/TestimonialSection.mixin.ts +4 -4
- 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 +6 -6
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +2 -5
- 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 +1 -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/styles.model.ts +1 -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/index.ts +1 -1
- package/src/brand-page/utils/migration/migration-01.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 +1 -1
- package/src/brand-page/utils/migration/migration-08.ts +1 -1
- package/src/brand-page/utils/migration/migration-12.ts +2 -2
- 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/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 +13 -15
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +6 -3
- package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +4 -1
- 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 +1 -1
- package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +2 -2
- 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 +5 -2
- 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 +5 -2
- package/src/brand-page-maker/assessors/personalisation-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/shape-section-items-field.assessor.ts +5 -2
- 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/brand-page-maker/BrandPageMaker.mixin.ts +19 -19
- 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 +10 -10
- 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 +6 -6
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +1 -1
- 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 -6
- package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +7 -7
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +5 -5
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +1 -1
- 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 +4 -4
- 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 +3 -6
- package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.vue +1 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +17 -19
- package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +6 -3
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
- 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 +5 -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 -2
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.ts +4 -4
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +1 -1
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +5 -5
- 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 +3 -3
- package/src/brand-page-maker/components/social-share/SocialShare.mixin.ts +2 -5
- package/src/brand-page-maker/components/social-share/SocialShare.vue +2 -2
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +10 -10
- 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/composables/rich-text-editor/font.ts +5 -1
- 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 +8 -8
- package/src/brand-page-maker/constants/brandpage-meta-constant.ts +1 -1
- package/src/brand-page-maker/constants/config-settings-constant.ts +7 -7
- 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 +2 -2
- 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 +3 -3
- package/src/brand-page-maker/models/content-settings-configs.ts +4 -4
- 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 +5 -5
- 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 +7 -7
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +12 -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 +8 -8
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +28 -28
- 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 +9 -6
- 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 +5 -5
- 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/clients/ai-assistant-client.ts +1 -1
- 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 +4 -4
- package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +7 -7
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +8 -4
- 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 +6 -3
- 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 +1 -1
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +2 -2
- package/src/shared/content-settings/components/GenericTextInput.mixin.ts +5 -2
- 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 +12 -8
- package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +4 -4
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +10 -7
- package/src/shared/content-settings/components/content-settings/ContentSettings.stories.ts +4 -4
- package/src/shared/content-settings/components/content-settings/ContentSettings.vue +1 -1
- 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 +6 -6
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +15 -8
- 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 +8 -8
- 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 +6 -6
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSlider.vue +1 -1
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +2 -2
- 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 +4 -1
- 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 +6 -3
- 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 +4 -4
- 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 +6 -2
- 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 +3 -3
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +8 -5
- package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +5 -2
- 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 +3 -3
- package/src/shared/content-settings/store/content-settings-store.ts +11 -7
- package/src/shared/content-settings/utils.ts +4 -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/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 +5 -5
- package/src/shared/logo-settings/components/EditLogoSettings.vue +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +4 -4
- package/src/shared/logo-settings/components/LogoSettings.vue +1 -1
- package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +4 -4
- package/src/shared/logo-settings/components/LogoTemplateSearch.vue +4 -4
- 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 +5 -5
- package/src/shared/logo-settings/store/logo-settings-store.test.ts +5 -5
- package/src/shared/logo-settings/store/logo-settings-store.ts +12 -5
- 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 +1 -1
- 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 +11 -7
- package/src/shared/page-navigation/store/page-navigation-store.ts +2 -2
- 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 +2 -2
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageElement.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettingMenu.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +8 -5
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +5 -2
- 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 +5 -5
- 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 +8 -8
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +3 -3
- package/src/shared/page-settings/models.ts +2 -2
- package/src/shared/page-settings/store/page-settings-store.test.ts +4 -4
- package/src/shared/page-settings/store/page-settings-store.ts +6 -6
- package/src/shared/page-settings/utils.ts +1 -1
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +7 -7
- package/src/shared/shape-library/ShapeLibrary.vue +4 -4
- 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 +8 -5
- 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 +9 -9
- 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 +1 -1
- package/src/shared/upload-logo-modal/UploadLogoModal.vue +2 -2
- package/src/shared/video-library/VideoLibrary.vue +2 -2
- package/src/shared/website-byo-upload/WebsiteByoUpload.vue +2 -2
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.d.ts +0 -149
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.js +0 -103
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.ts +0 -115
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import Page from './Page.vue';
|
|
3
|
-
import { mapToPageFooterViewModel, mapToPageHeaderViewModel, mapToPageStyleViewModel, mapToViewModel, } from '
|
|
4
|
-
import { BRAND_PAGE_TYPES, BrandPageModel, SENSITIVE_CONTENT_TYPES, VIEWPORTS, } from '
|
|
3
|
+
import { mapToPageFooterViewModel, mapToPageHeaderViewModel, mapToPageStyleViewModel, mapToViewModel, } from '../../utils';
|
|
4
|
+
import { BRAND_PAGE_TYPES, BrandPageModel, SENSITIVE_CONTENT_TYPES, VIEWPORTS, } from '../../models';
|
|
5
5
|
export default {
|
|
6
6
|
title: 'Components/BrandPage/Page',
|
|
7
7
|
component: Page,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BrandPageViewModel, ContentViewModel } from '
|
|
3
|
-
import type { BrandPageContext } from '
|
|
2
|
+
import type { BrandPageViewModel, ContentViewModel } from '../../view-models';
|
|
3
|
+
import type { BrandPageContext } from '../../models';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
brandPageToken: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PageFooterViewModel } from '
|
|
1
|
+
import type { PageFooterViewModel } from '../../view-models';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { BrandPageContext } from '
|
|
3
|
+
import type { BrandPageContext } from '../../models';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
viewModel: {
|
|
6
6
|
type: PropType<PageFooterViewModel>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BrandPageContext } from '
|
|
3
|
-
import type { NavViewModel, PageHeaderViewModel } from '
|
|
2
|
+
import type { BrandPageContext } from '../../models';
|
|
3
|
+
import type { NavViewModel, PageHeaderViewModel } from '../../view-models';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
navId: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BrandPageContext, CheckoutInformation, CreateCartResult, PaymentConfig, PaymentOption } from '
|
|
3
|
-
import type { RequestPaymentViewModel, SupportMeViewModel } from '
|
|
2
|
+
import type { BrandPageContext, CheckoutInformation, CreateCartResult, PaymentConfig, PaymentOption } from '../../models';
|
|
3
|
+
import type { RequestPaymentViewModel, SupportMeViewModel } from '../../view-models';
|
|
4
4
|
export declare const paymentState: {
|
|
5
5
|
readonly CreatingCart: "creating-cart";
|
|
6
6
|
readonly IncompleteConfig: "incomplete-config";
|
|
@@ -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 '../../utils/raygun.util';
|
|
5
|
+
import { paymentTr } from '../../../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 '../../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 '../../../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/';
|
|
@@ -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,
|
|
@@ -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 '../../../../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 '../../view-models';
|
|
3
|
+
import type { BrandPageContext } from '../../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 '../../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 '../../view-models';
|
|
2
|
+
import { type BrandPageContext } from '../../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 '../../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,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="types/lodash-shims" />
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { TestimonialSectionViewModel } from '
|
|
4
|
-
import type { BrandPageContext } from '
|
|
3
|
+
import type { TestimonialSectionViewModel } from '../../view-models';
|
|
4
|
+
import type { BrandPageContext } from '../../models';
|
|
5
5
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
6
6
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
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 '../../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 '../../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 '../../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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ALIGN_CENTERED, ALIGN_JUSTIFIED } from '../misc.constants';
|
|
2
|
-
import { tr, commonTr } from '
|
|
2
|
+
import { tr, commonTr } from '../../../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";
|
|
@@ -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 '../../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 '../../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) => {
|
|
@@ -11,7 +11,7 @@ export * from './context.util';
|
|
|
11
11
|
export * from './color.util';
|
|
12
12
|
export * from './personalisation.util';
|
|
13
13
|
export * from './migration.util';
|
|
14
|
-
export * from '
|
|
14
|
+
export * from '../../utils/validator.util';
|
|
15
15
|
export * as logoUtil from './logo.util';
|
|
16
16
|
export * as svgUtil from './svg.util';
|
|
17
17
|
export * as svgShapeUtil from './svg-shape.util';
|
|
@@ -11,7 +11,7 @@ export * from './context.util';
|
|
|
11
11
|
export * from './color.util';
|
|
12
12
|
export * from './personalisation.util';
|
|
13
13
|
export * from './migration.util';
|
|
14
|
-
export * from '
|
|
14
|
+
export * from '../../utils/validator.util';
|
|
15
15
|
export * as logoUtil from './logo.util';
|
|
16
16
|
export * as svgUtil from './svg.util';
|
|
17
17
|
export * as svgShapeUtil from './svg-shape.util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BrandPageModel } from '../../';
|
|
2
|
-
import { type MigrationData } from '
|
|
2
|
+
import { type MigrationData } from '../../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 '../../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,5 +1,5 @@
|
|
|
1
1
|
import { v5 as uuidv5 } from 'uuid';
|
|
2
|
-
import { NavModel } from '
|
|
2
|
+
import { NavModel } from '../../models';
|
|
3
3
|
const UUID_NAMESPACE = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
4
4
|
export const migration12 = async (migrationResult) => {
|
|
5
5
|
const { brandPageModel } = migrationResult;
|
|
@@ -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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VIEWPORTS, NavigationDesktop, NavigationMobile } from '../models';
|
|
2
2
|
import { PageStyles, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, } from '../models';
|
|
3
3
|
import { STYLE_THEME_KEYS } from '../constants';
|
|
4
|
-
import { arrayToLinearGradient, linearGradientToArray, isColorLinearGradient, RGBAtoHex, } from '
|
|
4
|
+
import { arrayToLinearGradient, linearGradientToArray, isColorLinearGradient, RGBAtoHex, } from '../../utils/helpers';
|
|
5
5
|
import { addTransparentAlphaChannelToHex, calculateLuminanceRatio, getNewColorBasedOnTargetColorTheme, } from './color.util';
|
|
6
|
-
import { isRgbColor } from '
|
|
6
|
+
import { isRgbColor } from '../../utils/helpers';
|
|
7
7
|
import chroma from 'chroma-js';
|
|
8
|
-
import { hasRTEContent, RTE_ALLOWED_SECTION_TYPES, } from '
|
|
8
|
+
import { hasRTEContent, RTE_ALLOWED_SECTION_TYPES, } from '../../brand-page-maker/utils';
|
|
9
9
|
/**
|
|
10
10
|
* Simple utility to convert any color format to hex for consistent comparison
|
|
11
11
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RGBAtoHex } from '
|
|
1
|
+
import { RGBAtoHex } from '../../utils/helpers';
|
|
2
2
|
import * as uuid from 'uuid';
|
|
3
3
|
import { getStyleDeclarations, getSvgConfig, handleAttributes, modifySvgMetadata, } from './svg-shape.util';
|
|
4
4
|
import { parse, } from 'svg-parser';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEmail } from '
|
|
2
|
-
import { errorTr } from '
|
|
1
|
+
import { isEmail } from '../../utils/validator.util';
|
|
2
|
+
import { errorTr } from '../../composables/useTranslate';
|
|
3
3
|
const MAX_EMAIL_LENGTH = 320;
|
|
4
4
|
const MAX_PHONE_LENGTH = 50;
|
|
5
5
|
const MAX_NAME_LENGTH = 250;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isValidUrl } from '../../helpers/url.helper';
|
|
2
|
-
import { getPlainTextFromRTE } from '
|
|
3
|
-
import { isEmail, isTel } from '
|
|
2
|
+
import { getPlainTextFromRTE } from '../../brand-page-maker/utils/rich-text-editor.util';
|
|
3
|
+
import { isEmail, isTel } from '../../utils/validator.util';
|
|
4
4
|
// Constants
|
|
5
5
|
const HTML_ENTITIES = {
|
|
6
6
|
' ': ' ',
|
|
@@ -491,7 +491,7 @@ export const mapToImagesSectionViewModel = (content, styles, brandPageType) => {
|
|
|
491
491
|
modalImageUrl: '',
|
|
492
492
|
url: item.url,
|
|
493
493
|
title: item.buttonText || '',
|
|
494
|
-
page: item.
|
|
494
|
+
page: item.buttonPageId || '',
|
|
495
495
|
colorReplacements: [],
|
|
496
496
|
titleStyle: content.buttonTextStyle || styles.buttonStyles.style,
|
|
497
497
|
}, styles, {
|
|
@@ -637,7 +637,7 @@ export const mapToNavViewModel = (nav, brandPageSlug, isCustomDomain) => {
|
|
|
637
637
|
return {
|
|
638
638
|
navItems: nav.orders
|
|
639
639
|
.map((order, idx) => buildNavItemViewModel(order, nav.routes, '', idx === 0, brandPageSlug, isCustomDomain))
|
|
640
|
-
.filter((item) => item !== null)
|
|
640
|
+
.filter((item) => item !== null),
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
643
|
export const mapToPageStyleViewModel = (pageStyles, options) => {
|
package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BannerSectionContent, BookingSectionContent } from '
|
|
1
|
+
import type { BannerSectionContent, BookingSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<BannerSectionContent | BookingSectionContent | undefined>;
|
|
4
4
|
export declare const bannerSectionPageVisibilityAssessor: VisibilityAssessor<BannerSectionContent | BookingSectionContent | undefined>;
|
package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BUTTON_LINK_TYPE } from '
|
|
2
|
-
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, ALIGN_LEFT_BIG_IMAGE, BIG_IMAGE, } from '
|
|
1
|
+
import { BUTTON_LINK_TYPE } from '../../brand-page';
|
|
2
|
+
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, ALIGN_LEFT_BIG_IMAGE, BIG_IMAGE, } from '../../brand-page/constants';
|
|
3
3
|
export const bannerSectionUrlVisibilityAssessor = (content) => {
|
|
4
4
|
return (content?.buttonLinkType !== BUTTON_LINK_TYPE.page &&
|
|
5
5
|
content?.buttonText !== false &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BannerSectionContent, BookingSectionContent } from '
|
|
1
|
+
import type { BannerSectionContent, BookingSectionContent } from '../../brand-page';
|
|
2
2
|
import type { FieldTypeAssessor, PlaceholderTypeAssessor } from '../models';
|
|
3
3
|
export declare const bannerSectionFieldTypeAssessor: FieldTypeAssessor<BannerSectionContent | BookingSectionContent | undefined>;
|
|
4
4
|
export declare const bannerSectionRoleTypeAssessor: FieldTypeAssessor<BannerSectionContent | BookingSectionContent | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandPageContext } from '
|
|
1
|
+
import type { BrandPageContext } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const brandPageTypeVisibilityAssessor: VisibilityAssessor<BrandPageContext>;
|
|
4
4
|
export declare const brandSiteTypeVisibilityAssessor: VisibilityAssessor<BrandPageContext>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { TestimonialSectionContent } from '
|
|
1
|
+
import type { TestimonialSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const cardFillVisibilityAssessor: VisibilityAssessor<TestimonialSectionContent | undefined>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ButtonContent } from '
|
|
1
|
+
import type { ButtonContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const colorReplacementIconVisibilityTypeAssessor: VisibilityAssessor<ButtonContent | undefined>;
|
package/lib/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ProfileContent } from '
|
|
1
|
+
import type { ProfileContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const colorReplacementProfileVisibilityTypeAssessor: VisibilityAssessor<ProfileContent | undefined>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AboutSectionContent, BannerSectionContent, ContactFormContent } from '
|
|
1
|
+
import type { AboutSectionContent, BannerSectionContent, ContactFormContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const colorReplacementVisibilityTypeAssessor: VisibilityAssessor<AboutSectionContent | BannerSectionContent | ContactFormContent | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ContactFormContent } from '
|
|
1
|
+
import { type ContactFormContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const contactCardDisplayTypeVisibilityAssessor: VisibilityAssessor<ContactFormContent | undefined>;
|
|
4
4
|
export declare const displayTypeVisibilityAssessor: VisibilityAssessor<ContactFormContent | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {} from '
|
|
2
|
-
import { ALIGN_CARD_CENTER, ALIGN_CARD_CENTER_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_FULL_IMAGE, ALIGN_RIGHT_FULL_IMAGE, TEXT_ONLY, } from '
|
|
1
|
+
import {} from '../../brand-page';
|
|
2
|
+
import { ALIGN_CARD_CENTER, ALIGN_CARD_CENTER_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_FULL_IMAGE, ALIGN_RIGHT_FULL_IMAGE, TEXT_ONLY, } from '../../brand-page/constants';
|
|
3
3
|
export const contactCardDisplayTypeVisibilityAssessor = (content, context) => {
|
|
4
4
|
return (Boolean(content?.layoutStyle &&
|
|
5
5
|
[
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DividerSectionContent } from '
|
|
1
|
+
import type { DividerSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const dividerToggleFieldVisibilityAssessor: VisibilityAssessor<DividerSectionContent | undefined>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImageGalleryContent } from '
|
|
1
|
+
import type { ImageGalleryContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const imageGalleryFieldVisibilityAssessor: VisibilityAssessor<ImageGalleryContent | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RequestPaymentContent, ShopContent } from '
|
|
1
|
+
import type { RequestPaymentContent, ShopContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const imageOptionVisibilityAssessor: VisibilityAssessor<RequestPaymentContent | undefined>;
|
|
4
4
|
export declare const shopImageOptionVisibilityAssessor: VisibilityAssessor<ShopContent | undefined>;
|
package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImagesSectionContent } from '
|
|
1
|
+
import type { ImagesSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const imagesSectionAspectRatioVisibilityAssessor: VisibilityAssessor<ImagesSectionContent | undefined>;
|
package/lib/src/brand-page-maker/assessors/images-section-aspect-ratio-visibility.assessor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { shouldShowAspectRatioByDisplayStyle } from '
|
|
2
|
-
import { useBrandPageMakerStore } from '
|
|
1
|
+
import { shouldShowAspectRatioByDisplayStyle } from '../../brand-page/utils';
|
|
2
|
+
import { useBrandPageMakerStore } from '../../brand-page-maker/stores';
|
|
3
3
|
export const imagesSectionAspectRatioVisibilityAssessor = (content) => {
|
|
4
4
|
if (!content) {
|
|
5
5
|
return false;
|
package/lib/src/brand-page-maker/assessors/images-section-card-style-visibility.assessor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImagesSectionContent, ShapesSectionContent } from '
|
|
1
|
+
import type { ImagesSectionContent, ShapesSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const imagesSectionCardStyleVisibilityAssessor: VisibilityAssessor<ImagesSectionContent>;
|
|
4
4
|
export declare const shapesSectionCardStyleVisibilityAssessor: VisibilityAssessor<ShapesSectionContent>;
|
package/lib/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AboutSectionContent, ImagesSectionContent, ShapesSectionContent } from '
|
|
1
|
+
import type { AboutSectionContent, ImagesSectionContent, ShapesSectionContent } from '../../brand-page';
|
|
2
2
|
import type { VisibilityAssessor } from '../models';
|
|
3
3
|
export declare const imagesSectionTextStyleVisibilityAssessor: VisibilityAssessor<ImagesSectionContent | ShapesSectionContent | AboutSectionContent | undefined>;
|