@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
package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue
CHANGED
|
@@ -219,10 +219,10 @@
|
|
|
219
219
|
</template>
|
|
220
220
|
<script>
|
|
221
221
|
import { Toggle, Icon } from '@designcrowd/fe-shared-lib';
|
|
222
|
-
import BackgroundSettings from '
|
|
223
|
-
import StyleSettingsSection from '
|
|
222
|
+
import BackgroundSettings from '@shared/background-settings/components/BackgroundSettings.vue';
|
|
223
|
+
import StyleSettingsSection from '@shared/style-settings/components/StyleSettingsSection.vue';
|
|
224
224
|
import AdminBackgroundSettingsMixin from './AdminBackgroundSettings.mixin.ts';
|
|
225
|
-
import ShapeLibrary from '
|
|
225
|
+
import ShapeLibrary from '@shared/shape-library/ShapeLibrary.vue';
|
|
226
226
|
import ShapePositionSlider from './ShapePositionSlider.vue';
|
|
227
227
|
import { Slider } from '@designcrowd/fe-shared-lib';
|
|
228
228
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
-
import { useAdminLogoSettingsStore } from '
|
|
3
|
-
import { useUiContentSettingsStore } from '
|
|
4
|
-
import { useBrandPageMakerStore } from '
|
|
2
|
+
import { useAdminLogoSettingsStore } from '@brand-page-maker/stores/admin-logo-settings';
|
|
3
|
+
import { useUiContentSettingsStore } from '@shared/content-settings/store';
|
|
4
|
+
import { useBrandPageMakerStore } from '@brand-page-maker/stores/brandpage-maker';
|
|
5
5
|
import {
|
|
6
6
|
DESKTOP_HEIGHT,
|
|
7
7
|
DESKTOP_WIDTH,
|
|
8
8
|
MOBILE_HEIGHT,
|
|
9
9
|
MOBILE_WIDTH,
|
|
10
|
-
} from '
|
|
10
|
+
} from '@brand-page-maker/constants';
|
|
11
11
|
|
|
12
12
|
export default defineComponent({
|
|
13
13
|
setup() {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
<script>
|
|
39
39
|
import { Button } from '@designcrowd/fe-shared-lib';
|
|
40
40
|
import AdminLogoSettingsMixin from './AdminLogoSettings.mixin.ts';
|
|
41
|
-
import SideBarSettingsHeader from '
|
|
41
|
+
import SideBarSettingsHeader from '@shared/common/SideBarSettingsHeader.vue';
|
|
42
42
|
import TemplatePreview from '../template-preview/TemplatePreview.vue';
|
|
43
|
-
import LogoStyleSettingsWithState from '
|
|
43
|
+
import LogoStyleSettingsWithState from '@shared/logo-settings/components/LogoStyleSettingsWithState.vue';
|
|
44
44
|
|
|
45
45
|
export default {
|
|
46
46
|
components: {
|
|
@@ -2,31 +2,31 @@ import type { PropType } from 'vue';
|
|
|
2
2
|
import { defineComponent, computed } from 'vue';
|
|
3
3
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
4
4
|
import debounce from 'lodash.debounce';
|
|
5
|
-
import * as fontLoaderUtil from '
|
|
5
|
+
import * as fontLoaderUtil from '@brand-page/utils/font-loader.util';
|
|
6
6
|
import { EVENTS } from '../../../constants/brand-page-maker';
|
|
7
|
-
import { MAKER_MOBILE_BREAKPOINT } from '
|
|
8
|
-
import { useUiSideBarStore } from '
|
|
7
|
+
import { MAKER_MOBILE_BREAKPOINT } from '@brand-page-maker/constants';
|
|
8
|
+
import { useUiSideBarStore } from '@shared/side-bar/store';
|
|
9
9
|
import {
|
|
10
10
|
VIEWPORTS,
|
|
11
11
|
type BrandPageData,
|
|
12
12
|
type BrandPageType,
|
|
13
13
|
type ViewportsType,
|
|
14
14
|
type UserPersonalisationContent,
|
|
15
|
-
} from '
|
|
15
|
+
} from '@brand-page';
|
|
16
16
|
import { TEMPLATE_FIRST_PAGE_NO } from '../../../constants/ui';
|
|
17
|
-
import { createInitialBrandPage } from '
|
|
17
|
+
import { createInitialBrandPage } from '@brand-page-maker/models';
|
|
18
18
|
import type {
|
|
19
19
|
InitialCategories,
|
|
20
20
|
TemplateCategory,
|
|
21
|
-
} from '
|
|
21
|
+
} from '@shared/template-settings/models';
|
|
22
22
|
import { navigateToPageBySlug } from '../../routing';
|
|
23
|
-
import type { UserFeatures } from '
|
|
24
|
-
import { useBrandPageContainerStore } from '
|
|
23
|
+
import type { UserFeatures } from '@brand-page-maker/stores';
|
|
24
|
+
import { useBrandPageContainerStore } from '@brand-page-maker/stores';
|
|
25
25
|
import {
|
|
26
26
|
type LogoDesignAttributesModel,
|
|
27
27
|
UI_DEVICE_MODES,
|
|
28
28
|
UI_SCREENSIZE_MODES,
|
|
29
|
-
} from '
|
|
29
|
+
} from '@shared/models';
|
|
30
30
|
import {
|
|
31
31
|
useBrandPageMakerStore,
|
|
32
32
|
useBrandPageMakerUserStore,
|
|
@@ -34,20 +34,20 @@ import {
|
|
|
34
34
|
useUiStore,
|
|
35
35
|
useSnapshotStore,
|
|
36
36
|
useVideoStore,
|
|
37
|
-
} from '
|
|
38
|
-
import type { AdminPreviewLogoTemplateModel } from '
|
|
39
|
-
import { useUiContentSettingsStore } from '
|
|
40
|
-
import { useUiTemplateSettingsStore } from '
|
|
41
|
-
import { useUiPageSettingsStore } from '
|
|
37
|
+
} from '@brand-page-maker/stores';
|
|
38
|
+
import type { AdminPreviewLogoTemplateModel } from '@brand-page-maker/stores/admin-logo-settings';
|
|
39
|
+
import { useUiContentSettingsStore } from '@shared/content-settings/store';
|
|
40
|
+
import { useUiTemplateSettingsStore } from '@shared/template-settings/store';
|
|
41
|
+
import { useUiPageSettingsStore } from '@shared/page-settings/store';
|
|
42
42
|
import { useRouter } from 'vue-router';
|
|
43
43
|
import { FabricRenderClient } from '../../../clients/fabric-render-client';
|
|
44
44
|
import AssetLibraryClient from '../../../clients/asset-library-clients';
|
|
45
|
-
import { useShopConfigStore } from '
|
|
46
|
-
import type { ShopConfigData } from '
|
|
47
|
-
import { useProductConfigStore } from '
|
|
48
|
-
import type { UpdateItemValuePayload } from '
|
|
45
|
+
import { useShopConfigStore } from '@shared/ecommerce-settings/store/shop-settings-store';
|
|
46
|
+
import type { ShopConfigData } from '@brand-page/models/shop.model';
|
|
47
|
+
import { useProductConfigStore } from '@brand-page-maker/stores/product-config/product-config-store';
|
|
48
|
+
import type { UpdateItemValuePayload } from '@shared/content-settings/models';
|
|
49
49
|
import { UPGRADE_CTA_LOCATIONS } from '../../composables/useEventTracker';
|
|
50
|
-
import { commonTr } from '
|
|
50
|
+
import { commonTr } from '@src/composables/useTranslate';
|
|
51
51
|
import { useSnapshot } from '../../../composables/useSnapshot';
|
|
52
52
|
|
|
53
53
|
export interface BrandPageMakerViewModel {
|
|
@@ -63,9 +63,9 @@ import {
|
|
|
63
63
|
GalleryStyles,
|
|
64
64
|
GALLERY_TYPES,
|
|
65
65
|
SENSITIVE_CONTENT_TYPES,
|
|
66
|
-
} from '
|
|
66
|
+
} from '@brand-page';
|
|
67
67
|
import { type BrandPageMakerViewModel } from './BrandPageMaker.mixin';
|
|
68
|
-
import { applyLogoThemeToBrandPageStyles } from '
|
|
68
|
+
import { applyLogoThemeToBrandPageStyles } from '@brand-page/utils';
|
|
69
69
|
import { storyEmailAddress } from './__fixtures__';
|
|
70
70
|
import {
|
|
71
71
|
availableButtonStyleConfigs,
|
|
@@ -77,9 +77,9 @@ import {
|
|
|
77
77
|
createInitialSocialLinksContent,
|
|
78
78
|
createInitialSupportMeContent,
|
|
79
79
|
createInitialTextContent,
|
|
80
|
-
} from '
|
|
80
|
+
} from '@brand-page-maker/models';
|
|
81
81
|
import { TEMPLATE_CATEGORIES } from '../../../__fixtures__';
|
|
82
|
-
import { useBrandPageMakerStore } from '
|
|
82
|
+
import { useBrandPageMakerStore } from '@brand-page-maker/stores';
|
|
83
83
|
import {
|
|
84
84
|
generalLink,
|
|
85
85
|
profileContent,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import {
|
|
89
89
|
CONTENT_SETTINGS_MODES,
|
|
90
90
|
useUiContentSettingsStore,
|
|
91
|
-
} from '
|
|
91
|
+
} from '@shared/content-settings/store';
|
|
92
92
|
import { createPinia } from 'pinia';
|
|
93
93
|
import {
|
|
94
94
|
useUiStore,
|
|
@@ -96,16 +96,16 @@ import {
|
|
|
96
96
|
UNLIMITED_MAX_NUM_OF_PAGES,
|
|
97
97
|
useBrandPageMakerUserStore,
|
|
98
98
|
useLogoStore,
|
|
99
|
-
} from '
|
|
99
|
+
} from '@brand-page-maker/stores';
|
|
100
100
|
import { brandPageContentsSampleData } from './__fixtures__/page-content-items';
|
|
101
101
|
import { setupStoryPinia } from './__fixtures__/store-fixture';
|
|
102
102
|
import {
|
|
103
103
|
CONTENT_SETTINGS_CONFIGS,
|
|
104
104
|
DNS_CONFIGURATION_STATUSES,
|
|
105
105
|
SIDE_BAR_TAB_NAMES,
|
|
106
|
-
} from '
|
|
106
|
+
} from '@brand-page-maker/constants';
|
|
107
107
|
import { BRAND_SITE_TEMPLATE_SAMPLE } from './__fixtures__/brand-site-template.examples';
|
|
108
|
-
import { setLocaleAsync } from '
|
|
108
|
+
import { setLocaleAsync } from '@src/composables/useTranslate';
|
|
109
109
|
|
|
110
110
|
const InitialiseMakerStores = (options: {
|
|
111
111
|
prepurchase?: {};
|
|
@@ -122,28 +122,28 @@ import { computed } from 'vue';
|
|
|
122
122
|
import { HelloBar, Loader } from '@designcrowd/fe-shared-lib';
|
|
123
123
|
import ActionBar from '../action-bar/ActionBar.vue';
|
|
124
124
|
import BrandPageBackgroundSettings from '../brandpage-background-settings/BrandPageBackgroundSettings.vue';
|
|
125
|
-
import ContentSettings from '
|
|
125
|
+
import ContentSettings from '@shared/content-settings/components/content-settings/ContentSettings.vue';
|
|
126
126
|
import Device from '../device/Device.vue';
|
|
127
127
|
import LayoutSwitcher from '../layout-switcher/LayoutSwitcher.vue';
|
|
128
|
-
import LogoSettings from '
|
|
128
|
+
import LogoSettings from '@shared/logo-settings/components/LogoSettings.vue';
|
|
129
129
|
import MakerNavigation from '../navigation/Navigation.vue';
|
|
130
130
|
import PreviewWithState from '../preview-with-state/PreviewWithState.vue';
|
|
131
131
|
import QuickLinkBar from '../quick-link-bar/QuickLinkBar.vue';
|
|
132
|
-
import SideBar from '
|
|
133
|
-
import StyleSettings from '
|
|
132
|
+
import SideBar from '@shared/side-bar/components/SideBar.vue';
|
|
133
|
+
import StyleSettings from '@shared/style-settings/components/StyleSettings.vue';
|
|
134
134
|
import BrandPageMakerMixin from './BrandPageMaker.mixin.ts';
|
|
135
135
|
import BrandPageMakerTemplateSettings from './BrandPageMakerTemplateSettings.vue';
|
|
136
136
|
import BrandPageSettings from '../brandpage-settings/BrandPageSettings.vue';
|
|
137
137
|
import AdminLogoSettings from '../admin-logo-settings/AdminLogoSettings.vue';
|
|
138
138
|
import AdminBackgroundSettings from '../admin-background-settings/AdminBackgroundSettings.vue';
|
|
139
|
-
import ConfirmModal from '
|
|
140
|
-
import ProductConfigModal from '
|
|
139
|
+
import ConfirmModal from '@shared/confirm-modal/ConfirmModal.vue';
|
|
140
|
+
import ProductConfigModal from '@brand-page-maker/components/shop/ProductConfigModal.vue';
|
|
141
141
|
import VideoPlayButton from '../video-play/VideoPlayButton.vue';
|
|
142
142
|
|
|
143
|
-
import { SIDE_BAR_TAB_NAMES } from '
|
|
144
|
-
import { VIEWPORTS, BRAND_PAGE_TYPES } from '
|
|
145
|
-
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES } from '
|
|
146
|
-
import { useLocalisedRouteStore } from '
|
|
143
|
+
import { SIDE_BAR_TAB_NAMES } from '@brand-page-maker/constants';
|
|
144
|
+
import { VIEWPORTS, BRAND_PAGE_TYPES } from '@brand-page';
|
|
145
|
+
import { UI_DEVICE_MODES, UI_SCREENSIZE_MODES } from '@shared/models';
|
|
146
|
+
import { useLocalisedRouteStore } from '@brand-page-maker/stores/route/localised-route-store';
|
|
147
147
|
|
|
148
148
|
export default {
|
|
149
149
|
components: {
|
package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts
CHANGED
|
@@ -3,19 +3,19 @@ import { faker } from '@faker-js/faker';
|
|
|
3
3
|
import { mapGetters } from 'pinia';
|
|
4
4
|
import type { Component } from 'vue';
|
|
5
5
|
import MockAdapter from 'axios-mock-adapter';
|
|
6
|
-
import { mockDesignTemplateTypeApi } from '
|
|
6
|
+
import { mockDesignTemplateTypeApi } from '@shared/template-settings/components/TemplatesSettings.test-helper';
|
|
7
7
|
import BrandPageMakerTemplateSettings from './BrandPageMakerTemplateSettings.vue';
|
|
8
8
|
import VueRouter, { createMemoryHistory, createRouter } from 'vue-router';
|
|
9
|
-
import { hexToRGB } from '
|
|
9
|
+
import { hexToRGB } from '@utils/helpers';
|
|
10
10
|
import {
|
|
11
11
|
BRAND_PAGE_TEMPLATE_BP_909,
|
|
12
12
|
LOGO_IMAGE_URL,
|
|
13
13
|
} from '../../../__fixtures__';
|
|
14
14
|
import { setupStoryPinia } from './__fixtures__/store-fixture';
|
|
15
|
-
import { useUiLogoSettingsStore } from '
|
|
16
|
-
import { useUiStore } from '
|
|
17
|
-
import { getColorShades } from '
|
|
18
|
-
import { EMPTY_LOGO_IMAGE_MODEL } from '
|
|
15
|
+
import { useUiLogoSettingsStore } from '@shared/logo-settings/store';
|
|
16
|
+
import { useUiStore } from '@brand-page-maker/stores';
|
|
17
|
+
import { getColorShades } from '@brand-page/utils';
|
|
18
|
+
import { EMPTY_LOGO_IMAGE_MODEL } from '@brand-page';
|
|
19
19
|
|
|
20
20
|
export default {
|
|
21
21
|
title: 'Components/BrandPageMaker/BrandPageMaker Template Settings',
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</TemplatesSettings>
|
|
12
12
|
</template>
|
|
13
13
|
<script>
|
|
14
|
-
import TemplatesSettings from '
|
|
14
|
+
import TemplatesSettings from '@shared/template-settings/components/TemplatesSettings.vue';
|
|
15
15
|
import TemplatePreviewWithState from '../template-preview-with-state/TemplatePreviewWithState.vue';
|
|
16
16
|
import BrandPageMakerTemplateSettingsMixin from './BrandPageMakerTemplateSettings.mixin';
|
|
17
17
|
|
package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
STYLE_THEME_KEYS,
|
|
7
7
|
SENSITIVE_CONTENT_TYPES,
|
|
8
8
|
MEDIA_TYPES,
|
|
9
|
-
} from '
|
|
9
|
+
} from '@brand-page';
|
|
10
10
|
import type {
|
|
11
11
|
BrandPageData,
|
|
12
12
|
BackgroundShape,
|
|
@@ -22,19 +22,19 @@ import type {
|
|
|
22
22
|
PhoneContent,
|
|
23
23
|
ShapesSectionContent,
|
|
24
24
|
BannerSectionContent,
|
|
25
|
-
} from '
|
|
25
|
+
} from '@brand-page';
|
|
26
26
|
import {
|
|
27
27
|
brandPageContentsSampleData,
|
|
28
28
|
brandPageContentsSampleDataStarterKit,
|
|
29
29
|
} from './page-content-items';
|
|
30
|
-
import type { InitialisePayload } from '
|
|
30
|
+
import type { InitialisePayload } from '@brand-page-maker/stores';
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MAX_NUM_OF_PAGES,
|
|
33
33
|
UNLIMITED_MAX_NUM_OF_PAGES,
|
|
34
|
-
} from '
|
|
34
|
+
} from '@brand-page-maker/stores';
|
|
35
35
|
import { simpleLogoDesignAttributes } from '../../../../__fixtures__';
|
|
36
|
-
import type { UserFeatures } from '
|
|
37
|
-
import type { AdminPreviewLogoTemplateModel } from '
|
|
36
|
+
import type { UserFeatures } from '@brand-page-maker/stores';
|
|
37
|
+
import type { AdminPreviewLogoTemplateModel } from '@brand-page-maker/stores/admin-logo-settings';
|
|
38
38
|
import { v4 as uuid } from 'uuid';
|
|
39
39
|
import { CONTENT_SETTINGS_CONFIGS } from '../../../constants';
|
|
40
40
|
import type { UIUserFeatures } from 'src/constants/ui';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_TEXT_ALIGN } from '
|
|
1
|
+
import { DEFAULT_TEXT_ALIGN } from '@brand-page';
|
|
2
2
|
import type {
|
|
3
3
|
LogoContent,
|
|
4
4
|
ProfileContent,
|
|
@@ -15,7 +15,7 @@ import type {
|
|
|
15
15
|
TwitchContent,
|
|
16
16
|
TiktokContent,
|
|
17
17
|
TextContent,
|
|
18
|
-
} from '
|
|
18
|
+
} from '@brand-page';
|
|
19
19
|
import { faker } from '@faker-js/faker';
|
|
20
20
|
|
|
21
21
|
export const logoContent: LogoContent = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createPinia, setActivePinia } from 'pinia';
|
|
2
|
-
import type { Endpoints } from '
|
|
2
|
+
import type { Endpoints } from '@shared/models';
|
|
3
3
|
import { mockApiCalls } from '../mock-api-calls';
|
|
4
4
|
import type { CustomDomainModel } from '../../../models';
|
|
5
5
|
|
|
@@ -4,14 +4,14 @@ import { brandPageApiClient } from '@designcrowd/fe-shared-lib';
|
|
|
4
4
|
import { brandCrowdApiClient } from '@designcrowd/fe-shared-lib';
|
|
5
5
|
import { mockPaymentApiCalls } from './mock-payment-api-calls';
|
|
6
6
|
import { mockUserMediaApiCalls } from './mock-user-media-api-calls';
|
|
7
|
-
import { mockDesignTemplateTypeApi } from '
|
|
7
|
+
import { mockDesignTemplateTypeApi } from '@shared/template-settings/components/TemplatesSettings.test-helper';
|
|
8
8
|
import { mockAdminMediaApiCalls } from './mock-admin-media-api-calls';
|
|
9
9
|
import { mockDesignAssetApiCalls } from './mock-design-asset-api-calls';
|
|
10
10
|
import { mockUnsplashApiCalls } from './mock-unsplash-api-calls';
|
|
11
11
|
import { mockMailingListApiCalls } from './mock-mailing-list-api-calls';
|
|
12
12
|
import { mockContactFormApiCalls } from './mock-contact-form-api-calls';
|
|
13
13
|
import { mockByoApiCalls } from './mock-byo-api-calls';
|
|
14
|
-
import { BRAND_PAGE_TYPES } from '
|
|
14
|
+
import { BRAND_PAGE_TYPES } from '@brand-page';
|
|
15
15
|
import { mockCustomDomainApiCalls } from './mock-custom-domain-api-calls';
|
|
16
16
|
import { mockShapeApiCalls } from './mock-shape-api-calls';
|
|
17
17
|
import { mockUserDomainApiCalls } from './mock-user-domain-api-calls';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import MockAdapter from 'axios-mock-adapter';
|
|
3
|
-
import { LOGO_SVG_DATA } from '
|
|
3
|
+
import { LOGO_SVG_DATA } from '@brand-page/__fixtures__/logo-svg.fixture';
|
|
4
4
|
import { type ModifyLogoDataResponse } from '../../../../clients/fabric-render-client';
|
|
5
5
|
|
|
6
6
|
export const mockFabricRenderApiCalls = async (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import MockAdapter from 'axios-mock-adapter';
|
|
3
|
-
import type { UserDomainName } from '
|
|
3
|
+
import type { UserDomainName } from '@brand-page/models/user-domain.model';
|
|
4
4
|
|
|
5
5
|
export const mockUserDomainApiCalls = async (
|
|
6
6
|
options: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BrandPageData } from '
|
|
2
|
-
import { STYLE_THEME_KEYS } from '
|
|
1
|
+
import type { BrandPageData } from '@brand-page';
|
|
2
|
+
import { STYLE_THEME_KEYS } from '@brand-page/constants';
|
|
3
3
|
import { basePageStyles } from './styles';
|
|
4
4
|
|
|
5
5
|
/* ========================================================================== */
|
package/src/brand-page-maker/components/brand-page-maker/starter-kits/background-gradients.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BrandPageData } from '
|
|
2
|
-
import { STYLE_THEME_KEYS } from '
|
|
1
|
+
import type { BrandPageData } from '@brand-page';
|
|
2
|
+
import { STYLE_THEME_KEYS } from '@brand-page/constants';
|
|
3
3
|
import { basePageStyles } from './styles';
|
|
4
4
|
|
|
5
5
|
/* ========================================================================== */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BrandPageData } from '
|
|
1
|
+
import type { BrandPageData } from '@brand-page';
|
|
2
2
|
import { S3_TEMPLATE_ASSETS_URL } from '../../../../constants/brand-page-maker';
|
|
3
|
-
import { STYLE_THEME_KEYS } from '
|
|
3
|
+
import { STYLE_THEME_KEYS } from '@brand-page/constants';
|
|
4
4
|
import { basePageStyles } from './styles';
|
|
5
5
|
|
|
6
6
|
type ImageSample = BrandPageCssStyle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BrandPageData } from '
|
|
2
|
-
import { STYLE_THEME_KEYS } from '
|
|
1
|
+
import type { BrandPageData } from '@brand-page';
|
|
2
|
+
import { STYLE_THEME_KEYS } from '@brand-page/constants';
|
|
3
3
|
import { basePageStyles } from './styles';
|
|
4
4
|
|
|
5
5
|
/* ========================================================================== */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import BrandPageMaker from '../BrandPageMaker.vue';
|
|
3
3
|
|
|
4
|
-
import type { BrandPageData } from '
|
|
5
|
-
import { BrandPageModel } from '
|
|
4
|
+
import type { BrandPageData } from '@brand-page';
|
|
5
|
+
import { BrandPageModel } from '@brand-page';
|
|
6
6
|
import { brandPageContentsSampleDataStarterKit } from '../__fixtures__/page-content-items';
|
|
7
7
|
import {
|
|
8
8
|
simpleLogoDesignAttributes,
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
</BackgroundSettings>
|
|
20
20
|
</template>
|
|
21
21
|
<script>
|
|
22
|
-
import BackgroundSettings from '
|
|
22
|
+
import BackgroundSettings from '@shared/background-settings/components/BackgroundSettings.vue';
|
|
23
23
|
import UpgradeToPremiumButton from '../upgrade-to-premium-button/UpgradeToPremiumButton.vue';
|
|
24
|
-
import { brandpageBackgroundSettingsTr } from '
|
|
24
|
+
import { brandpageBackgroundSettingsTr } from '@src/composables/useTranslate';
|
|
25
25
|
|
|
26
26
|
export default {
|
|
27
27
|
components: { UpgradeToPremiumButton, BackgroundSettings },
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
-
import PageMixin from '
|
|
3
|
-
import type { Content, ContentViewModel } from '
|
|
4
|
-
import { UI_DEVICE_MODES, UI_EVENT_SOURCES } from '
|
|
5
|
-
import type { ContentItem } from '
|
|
2
|
+
import PageMixin from '@brand-page/components/page/Page.mixin';
|
|
3
|
+
import type { Content, ContentViewModel } from '@brand-page';
|
|
4
|
+
import { UI_DEVICE_MODES, UI_EVENT_SOURCES } from '@shared/models';
|
|
5
|
+
import type { ContentItem } from '@shared/content-settings/models';
|
|
6
6
|
import {
|
|
7
7
|
CONTENT_SETTINGS_MODES,
|
|
8
8
|
useUiContentSettingsStore,
|
|
9
|
-
} from '
|
|
9
|
+
} from '@shared/content-settings/store';
|
|
10
10
|
import {
|
|
11
11
|
useBrandPageContainerStore,
|
|
12
12
|
useBrandPageMakerStore,
|
|
13
13
|
useUiStore,
|
|
14
14
|
useBrandPageMakerUserStore,
|
|
15
|
-
} from '
|
|
15
|
+
} from '@brand-page-maker/stores';
|
|
16
16
|
import {
|
|
17
17
|
getContentSettingsFields,
|
|
18
18
|
getContentSettingsTemplate,
|
|
19
|
-
} from '
|
|
20
|
-
import { useUiNavigationStyleSettingsStore } from '
|
|
21
|
-
import { useUiSideBarStore } from '
|
|
22
|
-
import { SIDE_BAR_TAB_NAMES } from '
|
|
23
|
-
import { useUiPageSettingsStore } from '
|
|
24
|
-
import { PAGE_SECTIONS } from '
|
|
19
|
+
} from '@shared/content-settings/utils';
|
|
20
|
+
import { useUiNavigationStyleSettingsStore } from '@shared/navigation-style-settings/store';
|
|
21
|
+
import { useUiSideBarStore } from '@shared/side-bar/store';
|
|
22
|
+
import { SIDE_BAR_TAB_NAMES } from '@brand-page-maker/constants';
|
|
23
|
+
import { useUiPageSettingsStore } from '@shared/page-settings/store';
|
|
24
|
+
import { PAGE_SECTIONS } from '@shared/page-settings/models';
|
|
25
25
|
import {
|
|
26
26
|
EVENTS,
|
|
27
27
|
SELECT_LOCATIONS,
|
|
28
28
|
useEventTracker,
|
|
29
|
-
} from '
|
|
29
|
+
} from '@brand-page-maker/composables/useEventTracker';
|
|
30
30
|
import debounce from 'lodash.debounce';
|
|
31
31
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
32
32
|
import {
|
|
33
33
|
transformToRTE,
|
|
34
34
|
RTE_ALLOWED_SECTION_TYPES,
|
|
35
|
-
} from '
|
|
36
|
-
import { useExternalRichTextEditor } from '
|
|
37
|
-
import { useUiStyleSettingsStore } from '
|
|
38
|
-
import { STYLE_THEME_KEYS } from '
|
|
35
|
+
} from '@brand-page-maker/utils';
|
|
36
|
+
import { useExternalRichTextEditor } from '@brand-page-maker/composables/rich-text-editor/useRichTextEditor';
|
|
37
|
+
import { useUiStyleSettingsStore } from '@shared/style-settings/store';
|
|
38
|
+
import { STYLE_THEME_KEYS } from '@brand-page/constants';
|
|
39
39
|
|
|
40
40
|
export default defineComponent({
|
|
41
41
|
mixins: [PageMixin],
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
</template>
|
|
134
134
|
<script>
|
|
135
135
|
import BrandPageMakerPageMixin from './BrandPageMakerPage.mixin';
|
|
136
|
-
import Page from '
|
|
137
|
-
import PageComponent from '
|
|
136
|
+
import Page from '@brand-page/components/page/Page.vue';
|
|
137
|
+
import PageComponent from '@brand-page/components/page/PageComponent.vue';
|
|
138
138
|
import Draggable from 'vuedraggable';
|
|
139
|
-
import Navigation from '
|
|
140
|
-
import MediaQuery from '
|
|
141
|
-
import BrandSiteNavigationLayout from '
|
|
142
|
-
import CookieConsent from '
|
|
139
|
+
import Navigation from '@brand-page/components/navigation/Navigation.vue';
|
|
140
|
+
import MediaQuery from '@brand-page/components/media-query';
|
|
141
|
+
import BrandSiteNavigationLayout from '@brand-page/components/page/BrandSiteNavigationLayout.vue';
|
|
142
|
+
import CookieConsent from '@brand-page/components/cookie-consent/CookieConsent.vue';
|
|
143
143
|
|
|
144
144
|
export default {
|
|
145
145
|
components: {
|
|
@@ -134,31 +134,31 @@
|
|
|
134
134
|
<script setup lang="ts">
|
|
135
135
|
import { Button, CollapsiblePanel } from '@designcrowd/fe-shared-lib';
|
|
136
136
|
import { PaymentConfigList } from '@designcrowd/fe-shared-lib';
|
|
137
|
-
import SideBarSectionTitle from '
|
|
138
|
-
import SideBarSettingsHeader from '
|
|
139
|
-
import { MEDIA_TYPES } from '
|
|
137
|
+
import SideBarSectionTitle from '@shared/common/SideBarSectionTitle.vue';
|
|
138
|
+
import SideBarSettingsHeader from '@shared/common/SideBarSettingsHeader.vue';
|
|
139
|
+
import { MEDIA_TYPES } from '@brand-page/models/brand-page-context.model';
|
|
140
140
|
import PageSettings from '../seo-settings/SeoPageSettings.vue';
|
|
141
141
|
import UrlSettings from '../seo-settings/UrlSettings.vue';
|
|
142
142
|
import GoogleAnalytics from '../google-analytics/GoogleAnalytics.vue';
|
|
143
143
|
import SocialShare from '../social-share/SocialShare.vue';
|
|
144
144
|
import SensitiveContent from '../sensitive-content/SensitiveContent.vue';
|
|
145
145
|
import CookieSettings from '../cookie-collection/CookieSettings.vue';
|
|
146
|
-
import ImageField from '
|
|
146
|
+
import ImageField from '@shared/content-settings/components/image-field/ImageField.vue';
|
|
147
147
|
import ReplaceImageSettingsForBrandPageSettings from './ReplaceImageSettingsForBrandPageSettings.vue';
|
|
148
148
|
import {
|
|
149
149
|
BRANDPAGE_SETTINGS_MODES,
|
|
150
150
|
useBrandPageContainerStore,
|
|
151
151
|
useBrandPageMakerStore,
|
|
152
152
|
useBrandPageMakerUserStore,
|
|
153
|
-
} from '
|
|
153
|
+
} from '@brand-page-maker/stores';
|
|
154
154
|
import { computed, reactive, watch, nextTick, ref, onMounted } from 'vue';
|
|
155
155
|
import { storeToRefs } from 'pinia';
|
|
156
|
-
import { useUiSideBarStore } from '
|
|
156
|
+
import { useUiSideBarStore } from '@shared/side-bar/store';
|
|
157
157
|
import {
|
|
158
158
|
brandPageSettingsTr,
|
|
159
159
|
commonTr,
|
|
160
160
|
saveContactSettingsTr,
|
|
161
|
-
} from '
|
|
161
|
+
} from '@src/composables/useTranslate';
|
|
162
162
|
import SaveContact from '../save-contact/SaveContact.vue';
|
|
163
163
|
|
|
164
164
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
useBrandPageMakerStore,
|
|
4
4
|
BRANDPAGE_SETTINGS_MODES,
|
|
5
5
|
useBrandPageMakerUserStore,
|
|
6
|
-
} from '
|
|
6
|
+
} from '@brand-page-maker/stores';
|
|
7
7
|
import type {
|
|
8
8
|
ReplaceImageSettingsBase,
|
|
9
9
|
ReplaceImageSettingsTabId,
|
|
10
|
-
} from '
|
|
11
|
-
import type { UserMediaItemWithDimensions } from '
|
|
12
|
-
import type { MediaType } from '
|
|
13
|
-
import { MEDIA_TYPES } from '
|
|
10
|
+
} from '@shared/content-settings/models';
|
|
11
|
+
import type { UserMediaItemWithDimensions } from '@shared/my-uploads/models';
|
|
12
|
+
import type { MediaType } from '@brand-page/models/brand-page-context.model';
|
|
13
|
+
import { MEDIA_TYPES } from '@brand-page/models/brand-page-context.model';
|
|
14
14
|
|
|
15
15
|
const imageExtension = ['.png', '.ico'];
|
|
16
16
|
|
|
@@ -73,7 +73,7 @@ import ClickOutside from 'click-outside-vue3';
|
|
|
73
73
|
import ColorPicker from './BpColorPicker.vue';
|
|
74
74
|
import IconTextColor from '../rich-text-editor/IconTextColor.vue';
|
|
75
75
|
import IconTextBackgroundColor from '../rich-text-editor/IconTextBackgroundColor.vue';
|
|
76
|
-
import { commonTr } from '
|
|
76
|
+
import { commonTr } from '@src/composables/useTranslate';
|
|
77
77
|
|
|
78
78
|
interface Props {
|
|
79
79
|
title?: string;
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
</template>
|
|
67
67
|
<script>
|
|
68
|
-
import ColorPickerMixin from '
|
|
68
|
+
import ColorPickerMixin from '@shared/color-picker/components/ColorPicker.mixin.ts';
|
|
69
69
|
import ColorPickerV2 from '../color-picker/BpColorPickerV2.vue';
|
|
70
|
-
import { colorPaletteTr } from '
|
|
70
|
+
import { colorPaletteTr } from '@src/composables/useTranslate';
|
|
71
71
|
|
|
72
72
|
export default {
|
|
73
73
|
components: {
|