@designcrowd/library.brand-page 5.16.46 → 5.16.47-alias-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/{CreatedOnBrandCrowd-de-de-uiIr5kLt.js → CreatedOnBrandCrowd-de-de-DsUAZdDZ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-ZxmDyB2L.js → CreatedOnBrandCrowd-en-us-BNR-T34t.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-Dy0prqYb.js → CreatedOnBrandCrowd-es-es-D9jzI5Gq.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-ptYivmhP.js → CreatedOnBrandCrowd-fr-ca-DUbAnAP7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-ptYivmhP.js → CreatedOnBrandCrowd-fr-fr-DUbAnAP7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CJ2KmyN9.js → CreatedOnBrandCrowd-pt-br-DLzCYy_9.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-CJ2KmyN9.js → CreatedOnBrandCrowd-pt-pt-DLzCYy_9.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BOKzyd7W.js → CreatedOnDcom-de-de-BP5YtPE5.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-DUn1EGFC.js → CreatedOnDcom-en-us-ih-rYZb7.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CWmC3YRV.js → CreatedOnDcom-es-es-DOdyRnZy.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-_UTCwQgn.js → CreatedOnDcom-fr-ca-DJAXIcPr.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DYUvSYKz.js → CreatedOnDcom-fr-fr-DOw9WG-3.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-o2kCzJWH.js → CreatedOnDcom-pt-br-9o0DJ0n-.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-JLuH_BY3.js → CreatedOnDcom-pt-pt-Dyf54Z8l.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.mixin.js +1 -1
- package/lib/src/brand-page/components/button/Button.stories.d.ts +1 -1
- package/lib/src/brand-page/components/button/Button.stories.js +1 -1
- package/lib/src/brand-page/components/collapsible/Collapsible.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +3 -3
- package/lib/src/brand-page/components/contact-form/ContactForm.stories.d.ts +4 -4
- package/lib/src/brand-page/components/contact-form/ContactForm.stories.js +5 -5
- package/lib/src/brand-page/components/divider-section/DividerSection.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/divider-section/DividerSection.mixin.js +1 -1
- package/lib/src/brand-page/components/image/Image.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/image/Image.mixin.js +2 -2
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.d.ts +2 -2
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.js +1 -1
- package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.d.ts +1 -1
- package/lib/src/brand-page/components/image-gallery/ImageGallery.stories.js +3 -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 +5 -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/index.d.ts +18 -0
- package/lib/src/brand-page/models/index.js +12 -0
- 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.d.ts +2 -0
- package/lib/src/brand-page/utils/migration/migration-12.js +30 -0
- package/lib/src/brand-page/utils/migration.util.js +6 -0
- package/lib/src/brand-page/utils/personalisation.util.js +2 -2
- package/lib/src/brand-page/utils/route.util.d.ts +1 -1
- package/lib/src/brand-page/utils/style.util.js +3 -3
- package/lib/src/brand-page/utils/svg-color.util.js +1 -1
- package/lib/src/brand-page/utils/validation.util.js +2 -2
- package/lib/src/brand-page/utils/vcard.util.js +2 -2
- package/lib/src/brand-page/utils/view-model.util.d.ts +5 -2
- package/lib/src/brand-page/utils/view-model.util.js +27 -1
- package/lib/src/brand-page/view-models.d.ts +28 -0
- 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 +128 -128
- 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 +8 -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 +36 -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 +2 -2
- package/lib/src/brand-page-maker/utils/content.util.js +3 -3
- 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 +110 -109
- package/lib/src/{lib-CBpRmget.js → lib-CRBe2_A8.js} +13648 -13426
- 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 +42 -41
- 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 +52 -52
- 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 +35 -35
- 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 +2 -2
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.js +2 -2
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +17 -17
- 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 +26 -26
- 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 +18 -0
- package/lib/src/shared/page-navigation/store/page-navigation-store.js +118 -0
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +22 -8
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +16 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +91 -77
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +36 -5
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +62 -61
- 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 +3 -2
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +3 -3
- package/lib/src/shared/page-settings/store/page-settings-store.js +8 -6
- 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 +3 -3
- 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 +3 -3
- 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 +6 -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 +2 -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 +4 -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/index.ts +30 -0
- package/src/brand-page/models/styles.model.ts +1 -1
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +57 -3
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +4 -0
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +8 -0
- 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/logo.util.test.ts +5 -0
- 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 +43 -0
- package/src/brand-page/utils/migration.util.test.ts +16 -1
- package/src/brand-page/utils/migration.util.ts +6 -0
- package/src/brand-page/utils/personalisation.util.test.ts +2 -2
- package/src/brand-page/utils/personalisation.util.ts +2 -2
- package/src/brand-page/utils/route.util.ts +1 -1
- package/src/brand-page/utils/style.util.test.ts +2 -2
- package/src/brand-page/utils/style.util.ts +3 -3
- package/src/brand-page/utils/svg-color.util.test.ts +1 -1
- package/src/brand-page/utils/svg-color.util.ts +1 -1
- package/src/brand-page/utils/validation.util.ts +2 -2
- package/src/brand-page/utils/vcard.util.ts +2 -2
- package/src/brand-page/utils/view-model.util.test.ts +1 -1
- package/src/brand-page/utils/view-model.util.ts +82 -1
- package/src/brand-page/view-models.ts +33 -0
- 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 +8 -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 -16
- 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 +10 -10
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +49 -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 +5 -5
- 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 +3 -3
- 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 +2 -2
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +5 -5
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.vue +1 -1
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.ts +4 -4
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.vue +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 +3 -3
- 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 +7 -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 +168 -0
- 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 +19 -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 +60 -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 +3 -2
- package/src/shared/page-settings/store/page-settings-store.test.ts +5 -4
- package/src/shared/page-settings/store/page-settings-store.ts +12 -8
- 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,3 +1,3 @@
|
|
|
1
1
|
import type { ButtonGroupConfig, ValueConvertor } from '../models';
|
|
2
|
-
import { type RequestPaymentConfig, type RequestPaymentConvertor } from '
|
|
2
|
+
import { type RequestPaymentConfig, type RequestPaymentConvertor } from '@brand-page';
|
|
3
3
|
export declare const paymentLinkDisplayStyleConvertor: ValueConvertor<RequestPaymentConfig, ButtonGroupConfig, RequestPaymentConvertor>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PAYMENT_OPTION_DISPLAY_TYPES, } from '
|
|
2
|
-
import { converterTr } from '
|
|
1
|
+
import { PAYMENT_OPTION_DISPLAY_TYPES, } from '@brand-page';
|
|
2
|
+
import { converterTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const paymentLinkDisplayStyleConvertor = {
|
|
4
4
|
convertBackToMultipleValues: true,
|
|
5
5
|
convert(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PAYMENT_OPTION_IMAGE_TYPES } from '
|
|
2
|
-
import { commonTr } from '
|
|
1
|
+
import { PAYMENT_OPTION_IMAGE_TYPES } from '@brand-page';
|
|
2
|
+
import { commonTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const shopAspectRatioConvertor = {
|
|
4
4
|
convertBackToMultipleValues: false,
|
|
5
5
|
convert(value) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ButtonGroupConfig, ValueConvertor } from '../models';
|
|
2
|
-
import { type ShopContent } from '
|
|
2
|
+
import { type ShopContent } from '@brand-page';
|
|
3
3
|
export declare const shopDisplayConvertor: ValueConvertor<string, ButtonGroupConfig, Partial<ShopContent>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PAYMENT_OPTION_DISPLAY_TYPES, } from '
|
|
2
|
-
import { converterTr } from '
|
|
1
|
+
import { PAYMENT_OPTION_DISPLAY_TYPES, } from '@brand-page';
|
|
2
|
+
import { converterTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const shopDisplayConvertor = {
|
|
4
4
|
convertBackToMultipleValues: true,
|
|
5
5
|
convert(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { OptionsConvertor } from '../models';
|
|
2
|
-
import type { SocialLinksIconDisplayStyle } from '
|
|
2
|
+
import type { SocialLinksIconDisplayStyle } from '@brand-page';
|
|
3
3
|
export declare const socialLinksIconDisplayStyleConvertor: OptionsConvertor<SocialLinksIconDisplayStyle | false>;
|
|
4
4
|
export type SocialLinksIconDisplayStyleConvertor = typeof socialLinksIconDisplayStyleConvertor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SOCIAL_LINKS_ICON_DISPLAY_STYLES } from '
|
|
2
|
-
import { contentSettingsTr } from '
|
|
1
|
+
import { SOCIAL_LINKS_ICON_DISPLAY_STYLES } from '@brand-page';
|
|
2
|
+
import { contentSettingsTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const socialLinksIconDisplayStyleConvertor = {
|
|
4
4
|
convertBackToMultipleValues: false,
|
|
5
5
|
convert(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ALIGN_CENTERED, BIG_IMAGE, COLUMNS } from '
|
|
2
|
-
import { converterTr } from '
|
|
1
|
+
import { ALIGN_CENTERED, BIG_IMAGE, COLUMNS } from '@brand-page/constants';
|
|
2
|
+
import { converterTr } from '@src/composables/useTranslate';
|
|
3
3
|
export const testimonialDisplayStyleConvertor = {
|
|
4
4
|
convertBackToMultipleValues: true,
|
|
5
5
|
convert(value) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OptionsConvertor } from '../models';
|
|
2
|
-
import type { TextStyleDeclarationWithoutTextAlign } from '
|
|
2
|
+
import type { TextStyleDeclarationWithoutTextAlign } from '@brand-page';
|
|
3
3
|
export declare const textCSSStyleOptionsConvertor: OptionsConvertor<TextStyleDeclarationWithoutTextAlign>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ButtonGroupConfig, ValueConvertor } from '../models';
|
|
2
|
-
import type { ImagesSectionContent, MediaType } from '
|
|
2
|
+
import type { ImagesSectionContent, MediaType } from '@brand-page';
|
|
3
3
|
export declare const getTextMediaOptionsConverterByMediaType: (mediaType: MediaType) => ValueConvertor<string | null, ButtonGroupConfig, Partial<ImagesSectionContent>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_ALIGNED, ALIGN_RIGHT_ALIGNED, ALTERNATE_IMAGE, MEDIA_ONLY, } from '
|
|
1
|
+
import { ALIGN_CARD_CENTER_IMAGE, ALIGN_CENTERED, ALIGN_LEFT_ALIGNED, ALIGN_RIGHT_ALIGNED, ALTERNATE_IMAGE, MEDIA_ONLY, } from '@brand-page/constants';
|
|
2
2
|
export const getTextMediaOptionsConverterByMediaType = (mediaType) => {
|
|
3
3
|
const textImageDisplayStyleConvertor = {
|
|
4
4
|
convertBackToMultipleValues: true,
|
package/lib/src/brand-page-maker/default-getters/payment-text-and-border-color.default-getter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isHexTransparent } from '
|
|
2
|
-
import { RGBAtoHex } from '
|
|
1
|
+
import { isHexTransparent } from '@brand-page/utils/color.util';
|
|
2
|
+
import { RGBAtoHex } from '@utils/helpers';
|
|
3
3
|
export const paymentTextAndBorderColorFieldDefaultGetter = (brandPage, id) => {
|
|
4
4
|
const content = brandPage.pages
|
|
5
5
|
.flatMap((p) => p.contents)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isHexTransparent } from '
|
|
2
|
-
import { RGBAtoHex } from '
|
|
1
|
+
import { isHexTransparent } from '@brand-page/utils/color.util';
|
|
2
|
+
import { RGBAtoHex } from '@utils/helpers';
|
|
3
3
|
export const textColorFieldDefaultGetter = (brandPage, id) => {
|
|
4
4
|
if (brandPage.pages.length === 0) {
|
|
5
5
|
return {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandPageContext } from '
|
|
1
|
+
import type { BrandPageContext } from '@brand-page/models';
|
|
2
2
|
import type { ItemFieldType } from './content-settings-configs';
|
|
3
3
|
export type Assessor<TPayload, TTarget> = (payload: TPayload, context?: BrandPageContext, option?: any) => TTarget;
|
|
4
4
|
export type VisibilityAssessor<TContent> = Assessor<TContent, boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandPageType, ButtonStyles } from '
|
|
1
|
+
import type { BrandPageType, ButtonStyles } from '@brand-page';
|
|
2
2
|
export declare const ButtonStyleConfigOptions: readonly ["buttonBorderColor", "buttonFillColor", "buttonShadowColor", "buttonSoftShadowColor", "buttonIconColor"];
|
|
3
3
|
export type ButtonStyleConfigOption = (typeof ButtonStyleConfigOptions)[number];
|
|
4
4
|
export interface ButtonStyleConfig extends Omit<ButtonStyles, 'style' | 'template' | 'selectedButtonStyleId'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BRAND_PAGE_TYPES } from '
|
|
2
|
-
import { ButtonBoxShadowSize, ButtonSoftBoxShadowSize } from '
|
|
1
|
+
import { BRAND_PAGE_TYPES } from '@brand-page';
|
|
2
|
+
import { ButtonBoxShadowSize, ButtonSoftBoxShadowSize } from '@brand-page';
|
|
3
3
|
export const ButtonStyleConfigOptions = [
|
|
4
4
|
'buttonBorderColor',
|
|
5
5
|
'buttonFillColor',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BrandPageContext, BrandPageType, Content, ContentType } from '
|
|
2
|
-
import type { ContentReplaceImageSettings } from '
|
|
3
|
-
import type { UIUserFeatures } from '
|
|
1
|
+
import type { BrandPageContext, BrandPageType, Content, ContentType } from '@brand-page';
|
|
2
|
+
import type { ContentReplaceImageSettings } from '@shared/content-settings/models';
|
|
3
|
+
import type { UIUserFeatures } from '@src/constants/ui';
|
|
4
4
|
import type { OptionsConvertor, ValueConvertor } from './convertor.model';
|
|
5
5
|
import type { FieldTypeAssessor, PlaceholderTypeAssessor, RoleTypeAssessor, VisibilityAssessor } from './assessor.model';
|
|
6
6
|
import type { DefaultGetter } from './default-getter.model';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BrandPageModel } from '
|
|
2
|
-
import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent, BookingSectionContent } from '
|
|
1
|
+
import { BrandPageModel } from '@brand-page';
|
|
2
|
+
import type { ButtonContent, ContentType, ImageContent, ProfileContent, TextContent, VideoContent, LogoContent, LogoTheme, MapContent, ImageGalleryContent, GeneralLinkContent, MailingListContent, RequestPaymentContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, BrandPageType, SupportMeContent, ShopContent, BookingSectionContent } from '@brand-page';
|
|
3
3
|
import type { CreateInitialContentFunction } from './content-settings-configs';
|
|
4
|
-
import type { CreateInitialContentOptions } from '
|
|
4
|
+
import type { CreateInitialContentOptions } from '@shared/content-settings/models';
|
|
5
5
|
export declare const createInitialButtonContent: (type: ContentType, iconUrl: string, options?: CreateInitialContentOptions) => () => ButtonContent;
|
|
6
6
|
export declare const createInitialGeneralLinkContent: (type: ContentType, iconUrl: string, options?: CreateInitialContentOptions) => () => GeneralLinkContent;
|
|
7
7
|
export declare const createInitialImageContent: () => ImageContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BrandPageModel, PageStyles, FORM_FIELD_IDS, PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, SOCIAL_LINKS_ICON_DISPLAY_STYLES, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, MEDIA_TYPES, BUTTON_LINK_TYPE, DISPLAY_STYLE_PREVIEW, SUPPORT_ME_CUSTOM_PRODUCT_NAME, DEFAULT_LOGO_HEIGHT, DEFAULT_LOGO_WIDTH, FONT_SIZE_BODY, LINE_HEIGHT_BODY, TEXT_STYLE_TYPES, TEXT_COLUMNS, DEFAULT_LOGO_BACKGROUND_COLOR_RGB, DEFAULT_LOGO_TEXT_COLOR_RGB, EMPTY_LOGO_IMAGE_MODEL, BRAND_PAGE_TYPES, SENSITIVE_CONTENT_TYPES, } from '
|
|
1
|
+
import { BrandPageModel, PageStyles, FORM_FIELD_IDS, PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, SOCIAL_LINKS_ICON_DISPLAY_STYLES, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, MEDIA_TYPES, BUTTON_LINK_TYPE, DISPLAY_STYLE_PREVIEW, SUPPORT_ME_CUSTOM_PRODUCT_NAME, DEFAULT_LOGO_HEIGHT, DEFAULT_LOGO_WIDTH, FONT_SIZE_BODY, LINE_HEIGHT_BODY, TEXT_STYLE_TYPES, TEXT_COLUMNS, DEFAULT_LOGO_BACKGROUND_COLOR_RGB, DEFAULT_LOGO_TEXT_COLOR_RGB, EMPTY_LOGO_IMAGE_MODEL, BRAND_PAGE_TYPES, SENSITIVE_CONTENT_TYPES, } from '@brand-page';
|
|
2
2
|
import * as uuid from 'uuid';
|
|
3
|
-
import { getColorShades } from '
|
|
4
|
-
import { contentSettingsTr } from '
|
|
3
|
+
import { getColorShades } from '@brand-page/utils';
|
|
4
|
+
import { contentSettingsTr } from '@src/composables/useTranslate';
|
|
5
5
|
export const createInitialButtonContent = (type, iconUrl, options) => () => {
|
|
6
6
|
let translatedTitle = '';
|
|
7
7
|
switch (type) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BrandPageModel } from '
|
|
1
|
+
import type { BrandPageModel } from '@brand-page/models';
|
|
2
2
|
export type DefaultGetter<T> = (brandPage: BrandPageModel, id?: string) => T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { NavigationDesktop, NavigationMobile } from '
|
|
2
|
-
import type { PageSection } from '
|
|
3
|
-
import { PAGE_SECTIONS } from '
|
|
1
|
+
import type { NavigationDesktop, NavigationMobile } from '@brand-page';
|
|
2
|
+
import type { PageSection } from '@shared/page-settings/models';
|
|
3
|
+
import { PAGE_SECTIONS } from '@shared/page-settings/models';
|
|
4
4
|
import type { ButtonGroupOption } from './button-group.model';
|
|
5
5
|
export declare const NavigationStyleConfigOptions: {
|
|
6
6
|
readonly defaultBorderColor: "defaultBorderColor";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defaultHamburgerNavigation, NAVIGATION_DISPLAY, FONT_FAMILY_CONFIGS, DEFAULT_FONT_FAMILY_KEY, FONT_SIZE_BODY, DEFAULT_TEXT_ALIGN, } from '
|
|
2
|
-
import { PAGE_SECTIONS } from '
|
|
3
|
-
import { tr, commonTr, modelsTr } from '
|
|
1
|
+
import { defaultHamburgerNavigation, NAVIGATION_DISPLAY, FONT_FAMILY_CONFIGS, DEFAULT_FONT_FAMILY_KEY, FONT_SIZE_BODY, DEFAULT_TEXT_ALIGN, } from '@brand-page';
|
|
2
|
+
import { PAGE_SECTIONS } from '@shared/page-settings/models';
|
|
3
|
+
import { tr, commonTr, modelsTr } from '@src/composables/useTranslate';
|
|
4
4
|
export const NavigationStyleConfigOptions = {
|
|
5
5
|
defaultBorderColor: 'defaultBorderColor',
|
|
6
6
|
defaultTextStyle: 'defaultTextStyle',
|
package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { AdminPreviewLogoTemplateModel, AdminPreviewLogoTemplateTemplate } from './admin-logo-settings-store';
|
|
2
|
-
import type { BrandPageType, Content } from '
|
|
2
|
+
import type { BrandPageType, Content } from '@brand-page';
|
|
3
3
|
export declare const mapAdminPreviewLogoTemplateModelToAdminLogoTemplateTemplate: (contents: Content[], brandPageType: BrandPageType) => (templateModel: AdminPreviewLogoTemplateModel) => AdminPreviewLogoTemplateTemplate;
|
package/lib/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store-utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BrandPageModel, PageStyles } from '
|
|
2
|
-
import { applyLogoThemeToBrandPageModel, parseLogoThemeToCssStyles, logoUtil, } from '
|
|
1
|
+
import { BrandPageModel, PageStyles } from '@brand-page';
|
|
2
|
+
import { applyLogoThemeToBrandPageModel, parseLogoThemeToCssStyles, logoUtil, } from '@brand-page/utils';
|
|
3
3
|
export const mapAdminPreviewLogoTemplateModelToAdminLogoTemplateTemplate = (contents, brandPageType) => (templateModel) => {
|
|
4
4
|
const logoTheme = parseLogoThemeToCssStyles(templateModel.logoTheme);
|
|
5
5
|
const { model } = applyLogoThemeToBrandPageModel(logoTheme, new BrandPageModel({ contents, styles: new PageStyles() }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FabricLogoTheme, type LogoTemplateImageModel, type LogoTheme } from '
|
|
2
|
-
import type { TemplateSettingsTemplate } from '
|
|
1
|
+
import { type FabricLogoTheme, type LogoTemplateImageModel, type LogoTheme } from '@brand-page';
|
|
2
|
+
import type { TemplateSettingsTemplate } from '@shared/template-settings/models';
|
|
3
3
|
export interface AdminPreviewLogoTemplateModel {
|
|
4
4
|
logoColors: string[];
|
|
5
5
|
logoImageUrl: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EMPTY_LOGO_IMAGE_MODEL, } from '
|
|
1
|
+
import { EMPTY_LOGO_IMAGE_MODEL, } from '@brand-page';
|
|
2
2
|
import { defineStore } from 'pinia';
|
|
3
|
-
import { useUiContentSettingsStore } from '
|
|
3
|
+
import { useUiContentSettingsStore } from '@shared/content-settings/store';
|
|
4
4
|
import { useUiStore } from '../ui';
|
|
5
|
-
import { useUiLogoSettingsStore, } from '
|
|
6
|
-
import { useUiBackgroundSettingsStore } from '
|
|
7
|
-
import { parseLogoThemeToCssStyles, logoUtil } from '
|
|
5
|
+
import { useUiLogoSettingsStore, } from '@shared/logo-settings/store';
|
|
6
|
+
import { useUiBackgroundSettingsStore } from '@shared/background-settings/store';
|
|
7
|
+
import { parseLogoThemeToCssStyles, logoUtil } from '@brand-page/utils';
|
|
8
8
|
import { mapAdminPreviewLogoTemplateModelToAdminLogoTemplateTemplate } from './admin-logo-settings-store-utils';
|
|
9
9
|
import { useBrandPageMakerStore } from '../brandpage-maker';
|
|
10
10
|
export const useAdminLogoSettingsStore = defineStore('adminLogoSettings', {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type getWebsiteContextualUpgradeResponse } from '../../../clients/brand-page-client';
|
|
2
|
-
import { type LogoDraftAsset, type LogoTemplateAsset } from '
|
|
3
|
-
import type { CustomDomainConfigModel, CustomDomainModel } from '
|
|
4
|
-
import type { WebsiteSlugCheckResponse } from '
|
|
2
|
+
import { type LogoDraftAsset, type LogoTemplateAsset } from '@brand-page-maker/stores';
|
|
3
|
+
import type { CustomDomainConfigModel, CustomDomainModel } from '@brand-page-maker/models';
|
|
4
|
+
import type { WebsiteSlugCheckResponse } from '@brand-page-maker/models/api.model';
|
|
5
5
|
import { WEBSITE_UPGRADE_CONTEXT_TYPES } from '@designcrowd/fe-shared-lib';
|
|
6
6
|
export type WebsiteContextUpgradeType = keyof typeof WEBSITE_UPGRADE_CONTEXT_TYPES;
|
|
7
7
|
export interface BrandPageContainerState {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
2
|
import brandPageClient, {} from '../../../clients/brand-page-client';
|
|
3
|
-
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useLocalisedRouteStore, useLogoStore, useUiStore, useVideoStore, } from '
|
|
4
|
-
import { SIDE_BAR_TAB_NAMES } from '
|
|
5
|
-
import { BRAND_PAGE_TYPES, SENSITIVE_CONTENT_TYPES, getAbTestResults, getValueType, } from '
|
|
6
|
-
import { isLogoContent } from '
|
|
7
|
-
import { useUiEditableLogoStore } from '
|
|
3
|
+
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useLocalisedRouteStore, useLogoStore, useUiStore, useVideoStore, } from '@brand-page-maker/stores';
|
|
4
|
+
import { SIDE_BAR_TAB_NAMES } from '@brand-page-maker/constants';
|
|
5
|
+
import { BRAND_PAGE_TYPES, SENSITIVE_CONTENT_TYPES, getAbTestResults, getValueType, } from '@brand-page';
|
|
6
|
+
import { isLogoContent } from '@brand-page/utils';
|
|
7
|
+
import { useUiEditableLogoStore } from '@shared/logo-settings/store';
|
|
8
8
|
import uniq from 'lodash.uniq';
|
|
9
9
|
import cloneDeep from 'lodash.clonedeep';
|
|
10
|
-
import { useShopConfigStore } from '
|
|
11
|
-
import { TRIGGER_TYPE, UPGRADE_CTA_LOCATIONS, useEventTracker, EVENTS, } from '
|
|
12
|
-
import { navigationTr } from '
|
|
13
|
-
import { errorTr, constantsTr } from '
|
|
10
|
+
import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settings-store';
|
|
11
|
+
import { TRIGGER_TYPE, UPGRADE_CTA_LOCATIONS, useEventTracker, EVENTS, } from '@brand-page-maker/composables/useEventTracker';
|
|
12
|
+
import { navigationTr } from '@src/composables/useTranslate';
|
|
13
|
+
import { errorTr, constantsTr } from '@src/composables/useTranslate';
|
|
14
14
|
import { findValuesByKey } from '../../../helpers/ts.helper';
|
|
15
15
|
import { WEBSITE_UPGRADE_CONTEXT_TYPES } from '@designcrowd/fe-shared-lib';
|
|
16
|
-
import { useUiTemplateSettingsStore } from '
|
|
16
|
+
import { useUiTemplateSettingsStore } from '@shared/template-settings/store';
|
|
17
17
|
export const BRANDPAGE_STATUS = Object.freeze({
|
|
18
18
|
Published: 'Published',
|
|
19
19
|
Unpublished: 'Unpublished',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CONTENT_SETTINGS_CONFIGS } from '
|
|
2
|
-
import { mapContentSettingsConfigToAddContentOption } from '
|
|
3
|
-
import { useUiContentSettingsStore } from '
|
|
1
|
+
import { CONTENT_SETTINGS_CONFIGS } from '@brand-page-maker/constants';
|
|
2
|
+
import { mapContentSettingsConfigToAddContentOption } from '@brand-page-maker/utils';
|
|
3
|
+
import { useUiContentSettingsStore } from '@shared/content-settings/store';
|
|
4
4
|
import { useBrandPageMakerUserStore } from '../user';
|
|
5
5
|
import { useBrandPageMakerStore } from './brandpage-maker-store';
|
|
6
6
|
export const getEnabledContentSettingsConfigs = () => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { BrandPageData, BrandPageType, BrandPageViewModel, CookieOptions, Content, PageModel, UserPersonalisationContent, ViewportsType, SensitiveContent, SaveContactOptions } from '
|
|
2
|
-
import { BrandPageModel } from '
|
|
3
|
-
import type { InitialCategories, TemplateCategory } from '
|
|
1
|
+
import type { BrandPageData, BrandPageType, BrandPageViewModel, CookieOptions, Content, PageModel, UserPersonalisationContent, ViewportsType, SensitiveContent, SaveContactOptions } from '@brand-page';
|
|
2
|
+
import { BrandPageModel } from '@brand-page';
|
|
3
|
+
import type { InitialCategories, TemplateCategory } from '@shared/template-settings/models';
|
|
4
4
|
import type { AdminPreviewLogoTemplateModel } from '../admin-logo-settings';
|
|
5
|
-
import type { PageSettingsStateSections } from '
|
|
6
|
-
import type { FieldSettingsBase } from '
|
|
7
|
-
import { type LogoDesignAttributesModel } from '
|
|
8
|
-
import type { ShopConfigData } from '
|
|
5
|
+
import type { PageSettingsStateSections } from '@shared/page-settings/store';
|
|
6
|
+
import type { FieldSettingsBase } from '@shared/content-settings/models';
|
|
7
|
+
import { type LogoDesignAttributesModel } from '@shared/models';
|
|
8
|
+
import type { ShopConfigData } from '@brand-page/models/shop.model';
|
|
9
9
|
export interface NotificationMessage {
|
|
10
10
|
type: 'success' | 'warning' | 'error';
|
|
11
11
|
label: string;
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { EMPTY_LOGO_IMAGE_MODEL, SENSITIVE_CONTENT_TYPES, VIEWPORTS, } from '
|
|
2
|
-
import { BackgroundStyles, BRAND_PAGE_TYPES, BrandPageModel, CONTENT_TYPES, NavigationDesktop, NavigationMobile, } from '
|
|
1
|
+
import { EMPTY_LOGO_IMAGE_MODEL, SENSITIVE_CONTENT_TYPES, VIEWPORTS, } from '@brand-page';
|
|
2
|
+
import { BackgroundStyles, BRAND_PAGE_TYPES, BrandPageModel, CONTENT_TYPES, NavigationDesktop, NavigationMobile, NavModel, } from '@brand-page';
|
|
3
3
|
import { useBrandPageMakerUserStore } from '../user';
|
|
4
4
|
import { defineStore } from 'pinia';
|
|
5
5
|
import { useUiStore } from '../ui';
|
|
6
|
-
import { useUiLogoSettingsStore, useUiEditableLogoStore, } from '
|
|
7
|
-
import { useUiStyleSettingsStore } from '
|
|
8
|
-
import { useUiNavigationStyleSettingsStore } from '
|
|
9
|
-
import { useUiBackgroundSettingsStore } from '
|
|
10
|
-
import { useShopConfigStore } from '
|
|
11
|
-
import {
|
|
6
|
+
import { useUiLogoSettingsStore, useUiEditableLogoStore, } from '@shared/logo-settings/store';
|
|
7
|
+
import { useUiStyleSettingsStore } from '@shared/style-settings/store';
|
|
8
|
+
import { useUiNavigationStyleSettingsStore } from '@shared/navigation-style-settings/store';
|
|
9
|
+
import { useUiBackgroundSettingsStore } from '@shared/background-settings/store';
|
|
10
|
+
import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settings-store';
|
|
11
|
+
import { usePageNavigationStore } from '@shared/page-navigation/store/page-navigation-store';
|
|
12
|
+
import { applyLogoThemeToBrandPageModel, migrateBrandPageModel, applyUserPersonalisationToBrandPageModelAsync, getBrandPageViewModelFromBrandPageModel, isLogoContent, parseLogoThemeToCssStyles, logoUtil, GetLatestModelVersion, } from '@brand-page/utils';
|
|
12
13
|
import { navigateToPageBySlug } from '../../routing';
|
|
13
|
-
import { BRANDPAGE_DEFAULT_ERROR_MESSAGE_DESCRIPTION, BRANDPAGE_DEFAULT_SAVE_MESSAGE_DESCRIPTION, MAKER_MOBILE_BREAKPOINT, MESSAGE_VISIBLE_DURATION, } from '
|
|
14
|
-
import { useUiSideBarStore } from '
|
|
14
|
+
import { BRANDPAGE_DEFAULT_ERROR_MESSAGE_DESCRIPTION, BRANDPAGE_DEFAULT_SAVE_MESSAGE_DESCRIPTION, MAKER_MOBILE_BREAKPOINT, MESSAGE_VISIBLE_DURATION, } from '@brand-page-maker/constants';
|
|
15
|
+
import { useUiSideBarStore } from '@shared/side-bar/store';
|
|
15
16
|
import { delayInMS } from '../../../utils/ui-util';
|
|
16
|
-
import { useUiContentSettingsStore } from '
|
|
17
|
+
import { useUiContentSettingsStore } from '@shared/content-settings/store';
|
|
17
18
|
import { setContentSettingsAddContentOptions } from './brandpage-maker-store-utils';
|
|
18
19
|
import { useAdminLogoSettingsStore } from '../admin-logo-settings';
|
|
19
|
-
import { useUiPageSettingsStore } from '
|
|
20
|
-
import { mapBrandPageContentToContentSettingsItem, removeContentFieldValues, removeLogoTemplateModel, validateContents, } from '
|
|
21
|
-
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES, } from '
|
|
22
|
-
import { PAGE_SECTIONS } from '
|
|
23
|
-
import { useUiTemplateSettingsStore } from '
|
|
20
|
+
import { useUiPageSettingsStore } from '@shared/page-settings/store';
|
|
21
|
+
import { mapBrandPageContentToContentSettingsItem, removeContentFieldValues, removeLogoTemplateModel, validateContents, } from '@brand-page-maker/utils';
|
|
22
|
+
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES, } from '@shared/models';
|
|
23
|
+
import { PAGE_SECTIONS } from '@shared/page-settings/models';
|
|
24
|
+
import { useUiTemplateSettingsStore } from '@shared/template-settings/store';
|
|
24
25
|
import { useBrandPageContainerStore } from '../brandpage-container';
|
|
25
26
|
import { useLocalisedRouteStore } from '../route/localised-route-store';
|
|
26
27
|
import cloneDeep from 'lodash.clonedeep';
|
|
27
28
|
import * as uuid from 'uuid';
|
|
28
|
-
import { getAiContentIndexByTemplateTokenAndNumberOfVariations } from '
|
|
29
|
-
import { applyLogoTemplateImageToBrandPageTemplateModel, recalculateLogoContentDimensions, recalculateHeaderLogoSizes, } from '
|
|
30
|
-
import { useConsent } from '
|
|
31
|
-
import { commonTr, errorTr } from '
|
|
29
|
+
import { getAiContentIndexByTemplateTokenAndNumberOfVariations } from '@brand-page-maker/utils/ai-content-selection.util';
|
|
30
|
+
import { applyLogoTemplateImageToBrandPageTemplateModel, recalculateLogoContentDimensions, recalculateHeaderLogoSizes, } from '@brand-page/utils/logo.util';
|
|
31
|
+
import { useConsent } from '@brand-page/composables/consent.composable';
|
|
32
|
+
import { commonTr, errorTr } from '@src/composables/useTranslate';
|
|
32
33
|
import { UPGRADE_CTA_LOCATIONS } from '../../composables/useEventTracker';
|
|
33
34
|
import { useVideoStore } from '../video';
|
|
34
35
|
import { findValuesByKey } from '../../../helpers/ts.helper';
|
|
@@ -291,6 +292,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
291
292
|
brandPageModel.pageFooterDesktop = model.pageFooterDesktop;
|
|
292
293
|
brandPageModel.pageFooterMobile = model.pageFooterMobile;
|
|
293
294
|
brandPageModel.pages = model.pages;
|
|
295
|
+
const pageNavigationStore = usePageNavigationStore();
|
|
296
|
+
pageNavigationStore.setNav({ nav: brandPageModel.nav });
|
|
294
297
|
navigationStyleSettingsStore.initialise({ reset: true });
|
|
295
298
|
styleSettingsStore.initialise({
|
|
296
299
|
reset: true,
|
|
@@ -646,6 +649,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
646
649
|
this.setCookiePreviewEnabled({
|
|
647
650
|
isCookiePreviewEnabled: brandPageModel.cookieOptions?.isCookiePreviewEnabled,
|
|
648
651
|
});
|
|
652
|
+
const pageNavigationStore = usePageNavigationStore();
|
|
653
|
+
pageNavigationStore.setNav({ nav: brandPageModel.nav });
|
|
649
654
|
this.setSavingEnabled({
|
|
650
655
|
isSavingEnabled: brandPageModel.saveContactSettings?.isSavingEnabled ?? true,
|
|
651
656
|
});
|
|
@@ -814,6 +819,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
814
819
|
const styleSettingsStore = useUiStyleSettingsStore();
|
|
815
820
|
const navigationStyleSettingsStore = useUiNavigationStyleSettingsStore();
|
|
816
821
|
const shopStore = useShopConfigStore();
|
|
822
|
+
const pageNavigationStore = usePageNavigationStore();
|
|
817
823
|
const pages = pageSettingsStore.pages.map((p) => ({
|
|
818
824
|
...p,
|
|
819
825
|
contents: p.contents
|
|
@@ -825,7 +831,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
825
831
|
const buttonStyles = styleSettingsStore.buttonStyles;
|
|
826
832
|
const textStyles = styleSettingsStore.textStyles;
|
|
827
833
|
const galleryStyles = styleSettingsStore.galleryStyles;
|
|
828
|
-
const navigation = navigationStyleSettingsStore.navigation;
|
|
834
|
+
const navigation = navigationStyleSettingsStore.navigation; // This is not referring to the sub nav structure
|
|
835
|
+
const pageNavStructure = pageNavigationStore.nav;
|
|
829
836
|
return {
|
|
830
837
|
v: GetLatestModelVersion(),
|
|
831
838
|
pages,
|
|
@@ -851,6 +858,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
851
858
|
cookieOptions: this.cookieOptions,
|
|
852
859
|
saveContactSettings: this.saveContactSettings,
|
|
853
860
|
paymentConfig: shopStore.paymentConfig,
|
|
861
|
+
nav: pageNavStructure,
|
|
854
862
|
};
|
|
855
863
|
},
|
|
856
864
|
brandPageToken() {
|
|
@@ -926,6 +934,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
926
934
|
const userStore = useBrandPageMakerUserStore();
|
|
927
935
|
const uiStore = useUiStore();
|
|
928
936
|
const videoStore = useVideoStore();
|
|
937
|
+
const brandPageContainerStore = useBrandPageContainerStore();
|
|
929
938
|
if (userStore.isAdmin && uiStore.logoTheme) {
|
|
930
939
|
const themedBrandPage = applyLogoThemeToBrandPageModel(uiStore.logoTheme, this.brandPageData).model;
|
|
931
940
|
return getBrandPageViewModelFromBrandPageModel(themedBrandPage, this.brandPageToken, undefined, {
|
|
@@ -933,6 +942,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
933
942
|
getVideoUrls: videoStore.getVideoUrlsForToken,
|
|
934
943
|
getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
|
|
935
944
|
setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
|
|
945
|
+
isCustomDomain: brandPageContainerStore.isCustomDomainEnabled,
|
|
946
|
+
brandPageSlug: brandPageContainerStore.brandPageSlug,
|
|
936
947
|
});
|
|
937
948
|
}
|
|
938
949
|
const showBrandCrowdLogo = userStore.features.showBrandCrowdLogo;
|
|
@@ -946,6 +957,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
946
957
|
getVideoUrls: videoStore.getVideoUrlsForToken,
|
|
947
958
|
getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
|
|
948
959
|
setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
|
|
960
|
+
isCustomDomain: brandPageContainerStore.isCustomDomainEnabled,
|
|
961
|
+
brandPageSlug: brandPageContainerStore.brandPageSlug,
|
|
949
962
|
});
|
|
950
963
|
}
|
|
951
964
|
return getBrandPageViewModelFromBrandPageModel(this.brandPageData, this.brandPageToken, showBrandCrowdLogo, {
|
|
@@ -953,6 +966,8 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
|
|
|
953
966
|
getVideoUrls: videoStore.getVideoUrlsForToken,
|
|
954
967
|
getS3VideoUrls: videoStore.getOptimisedS3VideoUrlsForToken,
|
|
955
968
|
setVideoUrlsWithToken: videoStore.setVideoUrlsWithToken,
|
|
969
|
+
isCustomDomain: brandPageContainerStore.isCustomDomainEnabled,
|
|
970
|
+
brandPageSlug: brandPageContainerStore.brandPageSlug,
|
|
956
971
|
});
|
|
957
972
|
},
|
|
958
973
|
gettyVideoIds() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
2
|
import { v4 as uuid } from 'uuid';
|
|
3
|
-
import { generateSku } from '
|
|
3
|
+
import { generateSku } from '@shared/ecommerce-settings/util/skuUtils';
|
|
4
4
|
export const useProductConfigStore = defineStore('productConfig', {
|
|
5
5
|
state: () => ({
|
|
6
6
|
productId: '',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
|
-
import { BRAND_PAGE_TYPES } from '
|
|
3
|
-
import { interpolateUrl } from '
|
|
2
|
+
import { BRAND_PAGE_TYPES } from '@brand-page/models';
|
|
3
|
+
import { interpolateUrl } from '@brand-page-maker/utils/route.util';
|
|
4
4
|
import { useBrandPageContainerStore } from '../brandpage-container';
|
|
5
5
|
const getLocalisedSlug = (defaultSlug, locale) => {
|
|
6
6
|
const translations = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Endpoints, UiDeviceMode, UIRootState, UIRootStateThirdPartySettings, UiScreenSizeMode } from '
|
|
1
|
+
import type { Endpoints, UiDeviceMode, UIRootState, UIRootStateThirdPartySettings, UiScreenSizeMode } from '@shared/models';
|
|
2
2
|
import { type OnTemplateSelectedPayload } from '../brandpage-maker';
|
|
3
|
-
import type { LogoTheme, UserPersonalisationContent } from '
|
|
3
|
+
import type { LogoTheme, UserPersonalisationContent } from '@brand-page';
|
|
4
4
|
import { type WebsiteContextUpgradeType } from '../brandpage-container';
|
|
5
5
|
export declare const useUiStore: import("pinia").StoreDefinition<"ui", UIRootState, {
|
|
6
6
|
endpoints: () => Endpoints;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
|
-
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES } from '
|
|
3
|
-
import { DEFAULT_LOGO_BACKGROUND_COLOR_RGB, DEFAULT_LOGO_TEXT_COLOR_RGB, } from '
|
|
2
|
+
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES } from '@shared/models';
|
|
3
|
+
import { DEFAULT_LOGO_BACKGROUND_COLOR_RGB, DEFAULT_LOGO_TEXT_COLOR_RGB, } from '@brand-page/constants';
|
|
4
4
|
import { useBrandPageMakerStore, } from '../brandpage-maker';
|
|
5
5
|
import { useBrandPageMakerUserStore } from '../user';
|
|
6
6
|
import { useBrandPageContainerStore, } from '../brandpage-container';
|
|
7
|
-
import { DEFAULT_ADMIN_ENDPOINTS, DEFAULT_USER_ENDPOINTS, } from '
|
|
8
|
-
import { getColorShades } from '
|
|
7
|
+
import { DEFAULT_ADMIN_ENDPOINTS, DEFAULT_USER_ENDPOINTS, } from '@brand-page-maker/constants';
|
|
8
|
+
import { getColorShades } from '@brand-page/utils';
|
|
9
9
|
export const useUiStore = defineStore('ui', {
|
|
10
10
|
state: () => ({
|
|
11
11
|
deviceMode: UI_DEVICE_MODES.desktop,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AddContentOption, ContentItem } from '
|
|
1
|
+
import type { AddContentOption, ContentItem } from '@shared/content-settings/models';
|
|
2
2
|
import type { ContentSettingsConfig, CreateInitialContentOptions } from '../models';
|
|
3
|
-
import { type Content } from '
|
|
4
|
-
import type { UIUserFeatures } from '
|
|
3
|
+
import { type Content } from '@brand-page';
|
|
4
|
+
import type { UIUserFeatures } from '@src/constants/ui';
|
|
5
5
|
export declare const mapContentSettingsConfigToAddContentOption: (features: UIUserFeatures) => (config: ContentSettingsConfig<any>) => AddContentOption<any>;
|
|
6
6
|
export declare const mapBrandPageContentToContentSettingsItem: (content: Content, options?: CreateInitialContentOptions) => ContentItem<any>;
|