@designcrowd/library.brand-page 5.16.48 → 5.16.50
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-_LB8978B.js → CreatedOnBrandCrowd-de-de-VWHtFJFN.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CxSjIO9n.js → CreatedOnBrandCrowd-en-us-DBdLhWNG.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-D1VUCRhN.js → CreatedOnBrandCrowd-es-es-Bn-hqlSd.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BShFLKfF.js → CreatedOnBrandCrowd-fr-ca-Bpb8F1eC.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-BShFLKfF.js → CreatedOnBrandCrowd-fr-fr-Bpb8F1eC.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-D5OFzX9b.js → CreatedOnBrandCrowd-pt-br-DpF-9n02.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-D5OFzX9b.js → CreatedOnBrandCrowd-pt-pt-DpF-9n02.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BvHpBuLM.js → CreatedOnDcom-de-de-BjvpV1YI.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BbtSFEdO.js → CreatedOnDcom-en-us-CVa7Gnm0.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-Bnp0xmRV.js → CreatedOnDcom-es-es-DoaVzu0G.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BelbNLPd.js → CreatedOnDcom-fr-ca-BUb9UMux.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-2mxHFWyC.js → CreatedOnDcom-fr-fr-BLGyQY4y.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-csAfd7Z1.js → CreatedOnDcom-pt-br-DAUTmXrS.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-iJUeaJKW.js → CreatedOnDcom-pt-pt-DFW7UaIL.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/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-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 +324 -324
- package/lib/src/css/library.brand-page-brandPage.min.css +324 -324
- package/lib/src/css/library.brand-page-designCom.min.css +324 -324
- package/lib/src/css/library.brand-page-preview.min.css +324 -324
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-BtexFmSF.js → lib-VkN3zHgb.js} +7085 -7090
- 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/page-dropdown-field/PageDropdownField.mixin.d.ts +149 -0
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.js +103 -0
- 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 +9 -5
- package/src/brand-page/components/contact-form/ContactForm.stories.ts +5 -5
- package/src/brand-page/components/cookie-consent/CookieConsent.vue +1 -1
- package/src/brand-page/components/divider-section/DividerSection.mixin.ts +3 -3
- package/src/brand-page/components/fallback-image/FallbackImage.vue +1 -1
- package/src/brand-page/components/image/Image.mixin.ts +7 -4
- package/src/brand-page/components/image/Image.test.ts +7 -4
- 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 +8 -4
- 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 +9 -5
- 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 +3 -3
- 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 +5 -2
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +3 -3
- package/src/brand-page/components/page-header/PageHeader.mixin.ts +5 -2
- package/src/brand-page/components/payment/Payment.mixin.ts +4 -4
- package/src/brand-page/components/payment/Payment.vue +1 -1
- package/src/brand-page/components/payment/RequestPaymentStripe.mixin.ts +2 -2
- package/src/brand-page/components/payment/RequestPaymentStripe.vue +1 -1
- package/src/brand-page/components/payment/__fixtures__/request-payment.ts +2 -2
- package/src/brand-page/components/payment/__fixtures__/support-me.ts +2 -2
- package/src/brand-page/components/payment/request-payment/RequestPayment.mixin.ts +1 -1
- package/src/brand-page/components/payment/request-payment/RequestPayment.stories.ts +1 -1
- package/src/brand-page/components/payment/request-payment/RequestPayment.vue +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.stories.ts +1 -1
- package/src/brand-page/components/payment/support-me/SupportMe.vue +1 -1
- package/src/brand-page/components/profile/Profile.mixin.ts +4 -4
- package/src/brand-page/components/profile/Profile.stories.ts +2 -2
- package/src/brand-page/components/save-contact/SaveContactWidget.vue +9 -6
- package/src/brand-page/components/save-contact/popup-card/PopupCard.vue +2 -2
- package/src/brand-page/components/sensitive-content/SensitiveContentModal.vue +1 -1
- package/src/brand-page/components/shapes-section/ShapesSection.vue +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 +5 -5
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +5 -2
- 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-maker/assessors/banner-section-description-visibility.assessor.ts +3 -6
- package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +1 -4
- package/src/brand-page-maker/assessors/brand-page-type-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/card-fill-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +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 +2 -5
- package/src/brand-page-maker/assessors/images-section-text-style-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/logo-field-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/media-section-items-field.assessor.ts +2 -5
- package/src/brand-page-maker/assessors/personalisation-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/shape-section-items-field.assessor.ts +2 -5
- package/src/brand-page-maker/assessors/shape-size-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/assessors/shop-item-color-visibility.assessor.ts +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +1 -1
- package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.ts +6 -6
- package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +3 -3
- package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.ts +4 -4
- package/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.vue +2 -2
- package/src/brand-page-maker/components/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 +6 -3
- package/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.vue +1 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +19 -17
- package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +3 -6
- 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 +5 -2
- 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 +1 -5
- package/src/brand-page-maker/composables/rich-text-editor/formatting.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/spacing.ts +2 -2
- package/src/brand-page-maker/composables/rich-text-editor/textAlign.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +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 +15 -12
- 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 +6 -9
- package/src/brand-page-maker/stores/user/user-store.ts +1 -1
- package/src/brand-page-maker/utils/content-settings.util.ts +4 -4
- package/src/brand-page-maker/utils/content.util.test.ts +1 -1
- package/src/brand-page-maker/utils/content.util.ts +3 -3
- package/src/brand-page-maker/utils/index.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +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 +4 -8
- 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 +3 -6
- package/src/shared/color-picker/components/ColorPickerSwatch.vue +1 -1
- package/src/shared/color-picker/constants.ts +1 -1
- package/src/shared/common/SideBarSettingsHeader.vue +1 -1
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +2 -2
- package/src/shared/content-settings/components/GenericTextInput.mixin.ts +2 -5
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.mixin.ts +1 -1
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +2 -2
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +9 -9
- package/src/shared/content-settings/components/color-field/ColorField.vue +8 -12
- package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +4 -4
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +7 -10
- 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 +8 -15
- 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/page-dropdown-field/PageDropdownField.mixin.ts +115 -0
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +5 -5
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.ts +4 -4
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.vue +1 -4
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionFieldAdaptor.mixin.ts +1 -1
- package/src/shared/content-settings/components/payment-config-field/payment-config-field-utils.ts +2 -2
- package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.mixin.ts +3 -6
- package/src/shared/content-settings/components/payment-config-field/payment-link-display-style-field/PaymentImageStyleField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/payment-toggle-field/PaymentToggleField.mixin.ts +1 -1
- package/src/shared/content-settings/components/payment-config-field/request-payment-config-field/RequestPaymentConfigField.mixin.ts +3 -3
- package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.ts +2 -2
- package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.vue +1 -1
- package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +5 -5
- package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +2 -2
- package/src/shared/content-settings/components/radio-field/RadioField.mixin.ts +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 +2 -6
- package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
- package/src/shared/content-settings/components/slider-field/SliderField.mixin.ts +2 -2
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +4 -4
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +2 -2
- package/src/shared/content-settings/components/text-field/TextField.vue +2 -2
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +5 -5
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +5 -8
- package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -5
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +4 -4
- package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
- package/src/shared/content-settings/components/textarea-field/TextareaField.mixin.ts +1 -1
- package/src/shared/content-settings/components/textarea-field/TextareaField.vue +2 -2
- package/src/shared/content-settings/components/toggle-field/ToggleField.mixin.ts +1 -1
- package/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.ts +2 -2
- package/src/shared/content-settings/models.ts +3 -3
- package/src/shared/content-settings/store/content-settings-store.ts +7 -11
- 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 +5 -12
- 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 +7 -11
- 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 +5 -8
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +2 -5
- 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 +5 -8
- package/src/shared/style-settings/models.ts +1 -1
- package/src/shared/style-settings/store/style-settings-store.test.ts +3 -3
- package/src/shared/style-settings/store/style-settings-store.ts +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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
|
-
import { getColorFromCSSShadow, hexToRGBA, isColorLinearGradient, isHexColor, linearGradientToArray, arrayToLinearGradient, RGBAtoHex, CssShadowRE, } from '
|
|
3
|
-
import { ButtonStyles, GalleryStyles, LogoStyles, PageStyles, TextStyles, ButtonBoxShadowSize, FONT_FAMILY_CONFIGS, CONTENT_TYPES, ButtonSoftBoxShadowSize, BoxShadowSpread, availableGalleryTypes, } from '
|
|
2
|
+
import { getColorFromCSSShadow, hexToRGBA, isColorLinearGradient, isHexColor, linearGradientToArray, arrayToLinearGradient, RGBAtoHex, CssShadowRE, } from '@utils/helpers';
|
|
3
|
+
import { ButtonStyles, GalleryStyles, LogoStyles, PageStyles, TextStyles, ButtonBoxShadowSize, FONT_FAMILY_CONFIGS, CONTENT_TYPES, ButtonSoftBoxShadowSize, BoxShadowSpread, availableGalleryTypes, } from '@brand-page';
|
|
4
4
|
import { assertUnreachable } from '../../../helpers/ts.helper';
|
|
5
|
-
import { isHexTransparent, removeAlphaFromHex, addTransparentAlphaChannelToHex, } from '
|
|
5
|
+
import { isHexTransparent, removeAlphaFromHex, addTransparentAlphaChannelToHex, } from '@brand-page/utils/color.util';
|
|
6
6
|
import { DEFAULT_BUTTON_SHADOW_COLOR } from '../../../constants/ui';
|
|
7
|
-
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useUiStore, } from '
|
|
7
|
+
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useUiStore, } from '@brand-page-maker/stores';
|
|
8
8
|
import { useUiContentSettingsStore } from '../../content-settings/store';
|
|
9
9
|
import { useUiPageSettingsStore } from '../../page-settings/store';
|
|
10
10
|
import { PAGE_SECTIONS } from '../../page-settings/models';
|
|
11
|
-
import { availableButtonStyleConfigs } from '
|
|
12
|
-
import { TRIGGER_TYPE, UPGRADE_CTA_LOCATIONS, useEventTracker, } from '
|
|
11
|
+
import { availableButtonStyleConfigs } from '@brand-page-maker/models';
|
|
12
|
+
import { TRIGGER_TYPE, UPGRADE_CTA_LOCATIONS, useEventTracker, } from '@brand-page-maker/composables/useEventTracker';
|
|
13
13
|
const onStyleChanged = () => {
|
|
14
14
|
const uiStore = useUiStore();
|
|
15
15
|
return uiStore.onStyleChanged();
|
|
@@ -554,7 +554,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
554
554
|
triggerLockedContentClickedEvent(payload: {
|
|
555
555
|
type: string;
|
|
556
556
|
}): Promise<void>;
|
|
557
|
-
onTemplateSelected(payload: import("
|
|
557
|
+
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
558
558
|
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined): Promise<void>;
|
|
559
559
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
560
560
|
isPersonalisationEnabled: boolean;
|
|
@@ -566,11 +566,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
566
566
|
sendGettyVideoReplaceEvent: () => void;
|
|
567
567
|
sendGettyVideoRemoveEvent: () => void;
|
|
568
568
|
sendExperimentStartedEvent: (abTestKey: string, abTestValue: string) => void;
|
|
569
|
-
setGlobalEventProps: (props: Omit<import("
|
|
570
|
-
setUpsellBridgeState: (props: import("
|
|
571
|
-
setDomainUpsellBridgeState: (props: import("
|
|
572
|
-
subscribe: (callbackFn: (event: import("
|
|
573
|
-
sendWebsiteEvent: (event: import("
|
|
569
|
+
setGlobalEventProps: (props: Omit<import("@brand-page-maker/composables/useEventTracker").BpGlobalEventProps, "template_category">) => void;
|
|
570
|
+
setUpsellBridgeState: (props: import("@brand-page-maker/composables/useEventTracker").BpUpsellEventProps) => void;
|
|
571
|
+
setDomainUpsellBridgeState: (props: import("@brand-page-maker/composables/useEventTracker").BpUpsellEventProps) => void;
|
|
572
|
+
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
573
|
+
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
574
574
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
575
575
|
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
576
576
|
sendDomainUpsellOpenEvent: () => void;
|
|
@@ -3,12 +3,12 @@ import { useUiTemplateSettingsStore } from '../store';
|
|
|
3
3
|
import { TEMPLATE_FIRST_PAGE_NO } from '../../../constants/ui';
|
|
4
4
|
import { TEMPLATE_TABS, TEMPLATE_TAB_DISPLAY_NAMES, } from '../models';
|
|
5
5
|
import { debounce } from '../../functions';
|
|
6
|
-
import { useBrandPageContainerStore, useBrandPageMakerStore, useUiStore, } from '
|
|
7
|
-
import { templateSettingsTr } from '
|
|
8
|
-
import { useEventTracker } from '
|
|
6
|
+
import { useBrandPageContainerStore, useBrandPageMakerStore, useUiStore, } from '@brand-page-maker/stores';
|
|
7
|
+
import { templateSettingsTr } from '@src/composables/useTranslate';
|
|
8
|
+
import { useEventTracker } from '@brand-page-maker/composables/useEventTracker';
|
|
9
9
|
import { useUiEditableLogoStore, useUiLogoSettingsStore, } from '../../logo-settings/store';
|
|
10
|
-
import { useLogoStore } from '
|
|
11
|
-
import raygunUtil from '
|
|
10
|
+
import { useLogoStore } from '@brand-page-maker/stores/logo-store';
|
|
11
|
+
import raygunUtil from '@brand-page/utils/raygun.util';
|
|
12
12
|
export default defineComponent({
|
|
13
13
|
props: {
|
|
14
14
|
numColumns: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import TemplatesSettings from './TemplatesSettings.vue';
|
|
3
|
-
import TemplatePreview from '
|
|
3
|
+
import TemplatePreview from '@brand-page-maker/components/template-preview/TemplatePreview.vue';
|
|
4
4
|
import { logoWithGradientTheme } from '../../../__fixtures__';
|
|
5
5
|
import { mockDesignTemplateTypeApi } from './TemplatesSettings.test-helper';
|
|
6
6
|
import { useUiTemplateSettingsStore } from '../store';
|
|
7
|
-
import { useUiStore } from '
|
|
7
|
+
import { useUiStore } from '@brand-page-maker/stores';
|
|
8
8
|
export default {
|
|
9
9
|
title: 'Components/BrandPageMaker/TemplatesSettings',
|
|
10
10
|
component: TemplatesSettings,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import MockAdapter from 'axios-mock-adapter';
|
|
2
|
-
import { type BrandPageData, type BrandPageType } from '
|
|
2
|
+
import { type BrandPageData, type BrandPageType } from '@brand-page';
|
|
3
3
|
export declare const mockDesignTemplateTypeApi: (options?: {
|
|
4
4
|
mockAxios?: MockAdapter;
|
|
5
5
|
delayInMs?: number;
|
|
@@ -5,10 +5,10 @@ import * as uuid from 'uuid';
|
|
|
5
5
|
import { getTemplateEndpoint, getTemplatesEndpoint, } from '../../../clients/design-template-client';
|
|
6
6
|
import { DEFAULT_PAGE_SIZE } from '../store';
|
|
7
7
|
import { sleep } from '../../../helpers/ts.helper';
|
|
8
|
-
import { DISPLAY_TEXT_BODY, DISPlAY_TEXT_BUTTONS, DISPLAY_TEXT_HEADINGS, DISPLAY_TEXT_TITLE, FONT_FAMILY_KEYS, } from '
|
|
9
|
-
import { BRAND_PAGE_TYPES, emptyGlobalTextStyleDeclaration, TEXT_STYLE_TYPES, TextStyleOption, } from '
|
|
10
|
-
import { BP_BRAND_SITE_TEMPLATE_TYPE_NAME, BP_DEFAULT_TEMPLATE_TYPE_NAME, } from '
|
|
11
|
-
import { BRAND_PAGE_PERSONALISED } from '
|
|
8
|
+
import { DISPLAY_TEXT_BODY, DISPlAY_TEXT_BUTTONS, DISPLAY_TEXT_HEADINGS, DISPLAY_TEXT_TITLE, FONT_FAMILY_KEYS, } from '@brand-page/constants';
|
|
9
|
+
import { BRAND_PAGE_TYPES, emptyGlobalTextStyleDeclaration, TEXT_STYLE_TYPES, TextStyleOption, } from '@brand-page';
|
|
10
|
+
import { BP_BRAND_SITE_TEMPLATE_TYPE_NAME, BP_DEFAULT_TEMPLATE_TYPE_NAME, } from '@brand-page-maker/constants';
|
|
11
|
+
import { BRAND_PAGE_PERSONALISED } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
|
|
12
12
|
export const mockDesignTemplateTypeApi = (options = {}) => {
|
|
13
13
|
const brandPageType = options.brandPageType || BRAND_PAGE_TYPES.default;
|
|
14
14
|
const templateType = brandPageType !== BRAND_PAGE_TYPES.brandSite
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TEMPLATE_TABS } from '../models';
|
|
2
2
|
import * as DesignTemplateClient from '../../../clients/design-template-client';
|
|
3
3
|
import {} from '../../../clients/models';
|
|
4
|
-
import { BP_DEFAULT_TEMPLATE_TYPE_NAME, SIDE_BAR_TAB_NAMES, } from '
|
|
4
|
+
import { BP_DEFAULT_TEMPLATE_TYPE_NAME, SIDE_BAR_TAB_NAMES, } from '@brand-page-maker/constants';
|
|
5
5
|
import { defineStore, storeToRefs } from 'pinia';
|
|
6
|
-
import { useBrandPageContainerStore, useBrandPageMakerStore, useBrandPageMakerUserStore, useLogoStore, useUiStore, } from '
|
|
6
|
+
import { useBrandPageContainerStore, useBrandPageMakerStore, useBrandPageMakerUserStore, useLogoStore, useUiStore, } from '@brand-page-maker/stores';
|
|
7
7
|
import { useUiSideBarStore } from '../../side-bar/store';
|
|
8
|
-
import { BrandPageModel } from '
|
|
9
|
-
import { migrateBrandPageModel } from '
|
|
10
|
-
import { getAiContentIndexByTemplateTokenAndNumberOfVariations } from '
|
|
8
|
+
import { BrandPageModel } from '@brand-page/models';
|
|
9
|
+
import { migrateBrandPageModel } from '@brand-page/utils';
|
|
10
|
+
import { getAiContentIndexByTemplateTokenAndNumberOfVariations } from '@brand-page-maker/utils/ai-content-selection.util';
|
|
11
11
|
import { useUiEditableLogoStore, useUiLogoSettingsStore, } from '../../logo-settings/store';
|
|
12
|
-
import { templateSettingsTr, getCurrentLocale, } from '
|
|
12
|
+
import { templateSettingsTr, getCurrentLocale, } from '@src/composables/useTranslate';
|
|
13
13
|
import { watch } from 'vue';
|
|
14
14
|
export const DEFAULT_PAGE_SIZE = 6;
|
|
15
15
|
const LOAD_PAGE_RETRY_DELAY = 250;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
49
49
|
triggerLockedContentClickedEvent(payload: {
|
|
50
50
|
type: string;
|
|
51
51
|
}): Promise<void>;
|
|
52
|
-
onTemplateSelected(payload: import("
|
|
52
|
+
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
53
53
|
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined): Promise<void>;
|
|
54
54
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
55
55
|
isPersonalisationEnabled: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
2
|
import UnsplashClient from '../../clients/unsplash-client';
|
|
3
3
|
import debounce, {} from 'lodash.debounce';
|
|
4
|
-
import { preloadImage } from '
|
|
5
|
-
import { useUiStore } from '
|
|
4
|
+
import { preloadImage } from '@brand-page/utils';
|
|
5
|
+
import { useUiStore } from '@brand-page-maker/stores';
|
|
6
6
|
export default defineComponent({
|
|
7
7
|
emits: ['on-select-image'],
|
|
8
8
|
setup() {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
4
|
-
import type { AboutSectionViewModel } from '
|
|
5
|
-
import type { BrandPageContext } from '
|
|
6
|
-
import { getRenderText } from '
|
|
4
|
+
import type { AboutSectionViewModel } from '@brand-page/view-models';
|
|
5
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
6
|
+
import { getRenderText } from '@brand-page/utils';
|
|
7
7
|
|
|
8
8
|
export default defineComponent({
|
|
9
9
|
mixins: [ComponentCommonMixin],
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
BRAND_PAGE_TYPES,
|
|
8
8
|
MEDIA_SIZES,
|
|
9
9
|
type BrandPageContext,
|
|
10
|
-
} from '
|
|
11
|
-
import type { AboutSectionViewModel } from '
|
|
10
|
+
} from '@brand-page/models';
|
|
11
|
+
import type { AboutSectionViewModel } from '@brand-page/view-models';
|
|
12
12
|
|
|
13
13
|
global.ResizeObserver = vi.fn().mockImplementation(() => ({
|
|
14
14
|
observe: vi.fn(),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { BackgroundShape } from '
|
|
3
|
+
import type { BackgroundShape } from '@brand-page/models';
|
|
4
4
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { applyColorToSvgString } from '
|
|
6
|
+
import { applyColorToSvgString } from '@brand-page/utils/svg-color.util';
|
|
7
7
|
import { isURL } from '../../../utils/validator.util';
|
|
8
|
-
import { PROXY_SHAPE_URL_REGEX } from '
|
|
9
|
-
import { getRegexToMatchAttributeInSvgTag } from '
|
|
8
|
+
import { PROXY_SHAPE_URL_REGEX } from '@brand-page/constants';
|
|
9
|
+
import { getRegexToMatchAttributeInSvgTag } from '@brand-page/utils/svg.util';
|
|
10
10
|
|
|
11
11
|
const SUPPORTED_SHAPE_HOSTS = [
|
|
12
12
|
'https://bc-user-uploads.brandcrowd.com/public',
|
|
@@ -4,12 +4,12 @@ import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
|
4
4
|
import type {
|
|
5
5
|
BannerSectionViewModel,
|
|
6
6
|
ButtonViewModel,
|
|
7
|
-
} from '
|
|
7
|
+
} from '@brand-page/view-models';
|
|
8
8
|
import {
|
|
9
9
|
isURL,
|
|
10
10
|
hasValidButton as shouldShowButtonUtil,
|
|
11
11
|
} from '../../../utils/validator.util';
|
|
12
|
-
import type { BrandPageContext } from '
|
|
12
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
13
13
|
import {
|
|
14
14
|
ALIGN_CENTERED,
|
|
15
15
|
ALIGN_LEFT_ALIGNED,
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
ALIGN_CARD_CENTER_IMAGE,
|
|
22
22
|
ALIGN_CARD_LEFT_IMAGE,
|
|
23
23
|
} from '../../constants';
|
|
24
|
-
import { getRenderText, escapeContentText } from '
|
|
25
|
-
import { hasRTEContent } from '
|
|
24
|
+
import { getRenderText, escapeContentText } from '@brand-page/utils';
|
|
25
|
+
import { hasRTEContent } from '@brand-page-maker/utils';
|
|
26
26
|
|
|
27
27
|
export default defineComponent({
|
|
28
28
|
mixins: [ComponentCommonMixin],
|
|
@@ -43,10 +43,10 @@ import TextWrapper from '../text-wrapper/TextWrapper.vue';
|
|
|
43
43
|
import type {
|
|
44
44
|
BookingSectionViewModel,
|
|
45
45
|
ButtonViewModel,
|
|
46
|
-
} from '
|
|
47
|
-
import type { BrandPageContext } from '
|
|
48
|
-
import { getRenderText, escapeContentText } from '
|
|
49
|
-
import { hasRTEContent } from '
|
|
46
|
+
} from '@brand-page/view-models';
|
|
47
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
48
|
+
import { getRenderText, escapeContentText } from '@brand-page/utils';
|
|
49
|
+
import { hasRTEContent } from '@brand-page-maker/utils';
|
|
50
50
|
import { hasValidButton as shouldShowButtonUtil } from '../../../utils/validator.util';
|
|
51
51
|
import Button from '../button/Button.vue';
|
|
52
52
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
<script setup lang="ts">
|
|
34
34
|
import { computed, onMounted, reactive, ref, watch, shallowRef } from 'vue';
|
|
35
|
-
import { BRAND_PAGE_TYPES, type BrandPageContext } from '
|
|
35
|
+
import { BRAND_PAGE_TYPES, type BrandPageContext } from '@brand-page/models';
|
|
36
36
|
import {
|
|
37
37
|
Icon,
|
|
38
38
|
WEBSITE_UPGRADE_CONTEXT_TYPES,
|
|
@@ -41,16 +41,16 @@ import { useConsent } from '../../composables/consent.composable';
|
|
|
41
41
|
import {
|
|
42
42
|
useBrandPageContainerStore,
|
|
43
43
|
useLocalisedRouteStore,
|
|
44
|
-
} from '
|
|
44
|
+
} from '@brand-page-maker/stores';
|
|
45
45
|
import {
|
|
46
46
|
TRIGGER_TYPE,
|
|
47
47
|
UPGRADE_CTA_LOCATIONS,
|
|
48
48
|
useEventTracker,
|
|
49
|
-
} from '
|
|
49
|
+
} from '@brand-page-maker/composables/useEventTracker';
|
|
50
50
|
import {
|
|
51
51
|
brandPageFooterTr,
|
|
52
52
|
getCurrentLocale,
|
|
53
|
-
} from '
|
|
53
|
+
} from '@src/composables/useTranslate';
|
|
54
54
|
|
|
55
55
|
interface Props {
|
|
56
56
|
context: BrandPageContext;
|
|
@@ -2,8 +2,8 @@ import { defineComponent } from 'vue';
|
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import { isEmail, isTel, isURL } from '../../../utils/validator.util';
|
|
4
4
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
5
|
-
import type { BrandPageContext } from '
|
|
6
|
-
import type { ButtonViewModel } from '
|
|
5
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
6
|
+
import type { ButtonViewModel } from '@brand-page/view-models';
|
|
7
7
|
|
|
8
8
|
export default defineComponent({
|
|
9
9
|
mixins: [ComponentCommonMixin],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import * as uuid from 'uuid';
|
|
3
3
|
import Button from './Button.vue';
|
|
4
|
-
import type { ButtonViewModel } from '
|
|
5
|
-
import { BUTTON_LINK_TYPE, ButtonStyles } from '
|
|
4
|
+
import type { ButtonViewModel } from '@brand-page/view-models';
|
|
5
|
+
import { BUTTON_LINK_TYPE, ButtonStyles } from '@brand-page/models';
|
|
6
6
|
import { DEFAULT_TEXT_ALIGN } from '../../constants';
|
|
7
7
|
|
|
8
8
|
export default {
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { ContactFormViewModel } from '
|
|
4
|
-
import type {
|
|
5
|
-
|
|
3
|
+
import type { ContactFormViewModel } from '@brand-page/view-models';
|
|
4
|
+
import type {
|
|
5
|
+
BrandPageContext,
|
|
6
|
+
FormField,
|
|
7
|
+
FormFieldType,
|
|
8
|
+
} from '@brand-page/models';
|
|
9
|
+
import { FORM_FIELD_TYPES } from '@brand-page/models';
|
|
6
10
|
import {
|
|
7
11
|
getEmailValidationError,
|
|
8
12
|
getMessageValidationError,
|
|
9
13
|
getNameValidationError,
|
|
10
14
|
getPhoneValidationError,
|
|
11
|
-
} from '
|
|
15
|
+
} from '@brand-page/utils';
|
|
12
16
|
import brandPageClient from '../../clients/brand-page.client';
|
|
13
17
|
import { isEmail } from '../../../utils/validator.util';
|
|
14
18
|
import {
|
|
@@ -21,7 +25,7 @@ import {
|
|
|
21
25
|
RECAPTCHA_ACTION_CONTACT_FORM,
|
|
22
26
|
TEXT_ONLY,
|
|
23
27
|
} from '../../constants';
|
|
24
|
-
import { getRenderText } from '
|
|
28
|
+
import { getRenderText } from '@brand-page/utils';
|
|
25
29
|
import { useReCaptcha } from '../../composables/recaptcha.composable';
|
|
26
30
|
|
|
27
31
|
export interface FieldValue {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import { faker } from '@faker-js/faker';
|
|
3
|
-
import { mockApiCalls } from '
|
|
4
|
-
import { BRAND_PAGE } from '
|
|
5
|
-
import { FORM_FIELD_IDS, PageStyles } from '
|
|
6
|
-
import { applyLogoThemeToBrandPageStyles } from '
|
|
7
|
-
import { type ContactFormViewModel } from '
|
|
3
|
+
import { mockApiCalls } from '@brand-page-maker/components/brand-page-maker/mock-api-calls';
|
|
4
|
+
import { BRAND_PAGE } from '@brand-page-maker/components/brand-page-maker/__fixtures__';
|
|
5
|
+
import { FORM_FIELD_IDS, PageStyles } from '@brand-page/models';
|
|
6
|
+
import { applyLogoThemeToBrandPageStyles } from '@brand-page/utils';
|
|
7
|
+
import { type ContactFormViewModel } from '@brand-page/view-models';
|
|
8
8
|
import ContactForm from './ContactForm.vue';
|
|
9
9
|
import { ALIGN_CARD_CENTER, DISPLAY_STYLE_PREVIEW } from '../../constants';
|
|
10
10
|
import { BScontext, context, logoTheme } from '../../__fixtures__/brand-page-sample-data';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
4
|
-
import type { DividerSectionViewModel } from '
|
|
5
|
-
import type { BrandPageContext } from '
|
|
6
|
-
import { DIVIDER_STYLES } from '
|
|
4
|
+
import type { DividerSectionViewModel } from '@brand-page/view-models';
|
|
5
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
6
|
+
import { DIVIDER_STYLES } from '@brand-page/models';
|
|
7
7
|
|
|
8
8
|
export default defineComponent({
|
|
9
9
|
mixins: [ComponentCommonMixin],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
|
|
30
30
|
<script lang="ts" setup>
|
|
31
|
-
import { MEDIA_SIZES, type BrandPageContext } from '
|
|
31
|
+
import { MEDIA_SIZES, type BrandPageContext } from '@brand-page/models';
|
|
32
32
|
import { ref, defineProps, onMounted, computed, watch } from 'vue';
|
|
33
33
|
const emit = defineEmits([
|
|
34
34
|
'image-loaded',
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { ImageViewModel } from '
|
|
3
|
+
import type { ImageViewModel } from '@brand-page/view-models';
|
|
4
4
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
5
5
|
import ImageModalMixin from '../mixins/image-modal.mixin';
|
|
6
|
-
import type { BrandPageContext } from '
|
|
7
|
-
import { ASPECT_RATIOS } from '
|
|
8
|
-
import {
|
|
6
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
7
|
+
import { ASPECT_RATIOS } from '@brand-page/models';
|
|
8
|
+
import {
|
|
9
|
+
getImageAltText,
|
|
10
|
+
aspectRatioToPaddingPercentage,
|
|
11
|
+
} from '@brand-page/utils';
|
|
9
12
|
|
|
10
13
|
export default defineComponent({
|
|
11
14
|
mixins: [ComponentCommonMixin, ImageModalMixin],
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { mount, shallowMount } from '@vue/test-utils';
|
|
2
2
|
import { faker } from '@faker-js/faker';
|
|
3
3
|
import Image from './Image.vue';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import {
|
|
5
|
+
DefaultImageAltValue,
|
|
6
|
+
PageTitleImageAltSuffix,
|
|
7
|
+
} from '@brand-page/utils';
|
|
8
|
+
import type { ImageViewModel } from '@brand-page/view-models';
|
|
9
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
10
|
+
import { BRAND_PAGE_TYPES, MEDIA_SIZES } from '@brand-page/models';
|
|
8
11
|
import { createPinia, setActivePinia } from 'pinia';
|
|
9
12
|
|
|
10
13
|
const createTestBrandPageContext = (): BrandPageContext => ({
|
|
@@ -73,7 +73,7 @@ import FallbackImage from '../fallback-image/FallbackImage.vue';
|
|
|
73
73
|
import ImageModal from '../image-modal/ImageModal.vue';
|
|
74
74
|
import Placeholder from '../placeholder/Placeholder.vue';
|
|
75
75
|
import ImageMixin from './Image.mixin.ts';
|
|
76
|
-
import { imageTr } from '
|
|
76
|
+
import { imageTr } from '@src/composables/useTranslate';
|
|
77
77
|
|
|
78
78
|
export default {
|
|
79
79
|
components: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { ImageGalleryViewModel } from '
|
|
3
|
+
import type { ImageGalleryViewModel } from '@brand-page/view-models';
|
|
4
4
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
5
5
|
import ImageModalMixin from '../mixins/image-modal.mixin';
|
|
6
6
|
import type { ImageGalleryImageClickPayload } from './models';
|
|
7
|
-
import type { BrandPageContext, GalleryType } from '
|
|
8
|
-
import { GALLERY_TYPES } from '
|
|
7
|
+
import type { BrandPageContext, GalleryType } from '@brand-page/models';
|
|
8
|
+
import { GALLERY_TYPES } from '@brand-page/models';
|
|
9
9
|
|
|
10
10
|
export default defineComponent({
|
|
11
11
|
mixins: [ComponentCommonMixin, ImageModalMixin],
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import ImageGallery from './ImageGallery.vue';
|
|
3
|
-
import { createInitialImageGalleryContent } from '
|
|
4
|
-
import { mapToImageGalleryViewModel } from '
|
|
3
|
+
import { createInitialImageGalleryContent } from '@brand-page-maker/models';
|
|
4
|
+
import { mapToImageGalleryViewModel } from '@brand-page/utils';
|
|
5
5
|
import {
|
|
6
6
|
BRAND_PAGE_TYPES,
|
|
7
7
|
MEDIA_SIZES,
|
|
8
8
|
type BrandPageContext,
|
|
9
|
-
} from '
|
|
9
|
+
} from '@brand-page/models';
|
|
10
10
|
import { createPinia } from 'pinia';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { mount } from '@vue/test-utils';
|
|
2
2
|
import { faker } from '@faker-js/faker';
|
|
3
|
-
import type { BrandPageContext, GalleryType } from '
|
|
4
|
-
import {
|
|
5
|
-
|
|
3
|
+
import type { BrandPageContext, GalleryType } from '@brand-page/models';
|
|
4
|
+
import {
|
|
5
|
+
BRAND_PAGE_TYPES,
|
|
6
|
+
GALLERY_TYPES,
|
|
7
|
+
MEDIA_SIZES,
|
|
8
|
+
} from '@brand-page/models';
|
|
9
|
+
import type { ImageGalleryViewModel } from '@brand-page/view-models';
|
|
6
10
|
import CarouselGallery from './carousel/CarouselGallery.vue';
|
|
7
11
|
import GridImageGallery from './grid/GridImageGallery.vue';
|
|
8
12
|
import MasonryGallery from './masonry/MasonryGallery.vue';
|
|
9
|
-
import { PageTitleImageAltSuffix } from '
|
|
13
|
+
import { PageTitleImageAltSuffix } from '@brand-page/utils';
|
|
10
14
|
|
|
11
15
|
const createTestBrandPageContext = (): BrandPageContext => ({
|
|
12
16
|
isTemplate: false,
|
|
@@ -43,7 +43,7 @@ import GridGallery from './grid/GridImageGallery.vue';
|
|
|
43
43
|
import CarouselGallery from './carousel/CarouselGallery.vue';
|
|
44
44
|
import MasonryGallery from './masonry/MasonryGallery.vue';
|
|
45
45
|
import ImageGalleryModal from './ImageGalleryModal.vue';
|
|
46
|
-
import { imageGalleryTr } from '
|
|
46
|
+
import { imageGalleryTr } from '@src/composables/useTranslate';
|
|
47
47
|
|
|
48
48
|
export default {
|
|
49
49
|
components: {
|
|
@@ -3,7 +3,7 @@ import type { PropType } from 'vue';
|
|
|
3
3
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
4
4
|
import ImageModalMixin from '../mixins/image-modal.mixin';
|
|
5
5
|
import cloneDeep from 'lodash.clonedeep';
|
|
6
|
-
import type { BrandPageContext, ImageItem } from '
|
|
6
|
+
import type { BrandPageContext, ImageItem } from '@brand-page/models';
|
|
7
7
|
|
|
8
8
|
export default defineComponent({
|
|
9
9
|
mixins: [ComponentCommonMixin, ImageModalMixin],
|
|
@@ -35,7 +35,7 @@ import { Carousel } from '@designcrowd/fe-shared-lib';
|
|
|
35
35
|
import CarouselGalleryMixin from './CarouselGallery.mixin.ts';
|
|
36
36
|
import Placeholder from '../../placeholder/Placeholder.vue';
|
|
37
37
|
import FallbackImage from '../../fallback-image/FallbackImage.vue';
|
|
38
|
-
import { imageGalleryTr } from '
|
|
38
|
+
import { imageGalleryTr } from '@src/composables/useTranslate';
|
|
39
39
|
|
|
40
40
|
export default {
|
|
41
41
|
components: {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
import ImageMixin from './GridImageGallery.mixin.ts';
|
|
31
31
|
import Placeholder from '../../placeholder/Placeholder.vue';
|
|
32
32
|
import FallbackImage from '../../fallback-image/FallbackImage.vue';
|
|
33
|
-
import { imageGalleryTr } from '
|
|
33
|
+
import { imageGalleryTr } from '@src/composables/useTranslate';
|
|
34
34
|
|
|
35
35
|
export default {
|
|
36
36
|
components: {
|
|
@@ -34,7 +34,7 @@ import { Masonry } from '@designcrowd/fe-shared-lib';
|
|
|
34
34
|
import MasonryGalleryMixin from './MasonryGallery.mixin.ts';
|
|
35
35
|
import Placeholder from '../../placeholder/Placeholder.vue';
|
|
36
36
|
import FallbackImage from '../../fallback-image/FallbackImage.vue';
|
|
37
|
-
import { imageGalleryTr } from '
|
|
37
|
+
import { imageGalleryTr } from '@src/composables/useTranslate';
|
|
38
38
|
|
|
39
39
|
export default {
|
|
40
40
|
components: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import ImagesSection from './ImagesSection.vue';
|
|
3
|
-
import { createInitialImagesSectionContent } from '
|
|
4
|
-
import { mapToImagesSectionViewModel } from '
|
|
3
|
+
import { createInitialImagesSectionContent } from '@brand-page-maker/models';
|
|
4
|
+
import { mapToImagesSectionViewModel } from '@brand-page/utils';
|
|
5
5
|
import {
|
|
6
6
|
BRAND_PAGE_TYPES,
|
|
7
7
|
type BrandPageContext,
|
|
8
8
|
MEDIA_SIZES,
|
|
9
9
|
PageStyles,
|
|
10
|
-
} from '
|
|
10
|
+
} from '@brand-page/models';
|
|
11
11
|
import { createPinia } from 'pinia';
|
|
12
12
|
|
|
13
13
|
export default {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TextImageSectionViewModel } from '
|
|
1
|
+
import type { TextImageSectionViewModel } from '@brand-page/view-models';
|
|
2
2
|
import { type ImagesSectionContentDisplayStyle } from '../../constants';
|
|
3
3
|
import { shallowMount } from '@vue/test-utils';
|
|
4
4
|
import { vi } from 'vitest';
|