@designcrowd/library.brand-page 6.0.3 → 6.0.4
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-BctSP4tp.js → CreatedOnBrandCrowd-de-de-Ruu5Az32.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-en-us-BeNytcxt.js → CreatedOnBrandCrowd-en-us-DGUJtvld.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-es-es-hY12f5TN.js → CreatedOnBrandCrowd-es-es-Dg-1uOfV.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-C4SCU39P.js → CreatedOnBrandCrowd-fr-ca-CRKraZl8.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-C4SCU39P.js → CreatedOnBrandCrowd-fr-fr-CRKraZl8.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-C5J5kWiD.js → CreatedOnBrandCrowd-pt-br-bZ9VlEAu.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-br-C5J5kWiD.js → CreatedOnBrandCrowd-pt-pt-bZ9VlEAu.js} +3 -3
- package/lib/src/{CreatedOnDcom-de-de-DXCeZZLg.js → CreatedOnDcom-de-de-CJYfwZx8.js} +3 -3
- package/lib/src/{CreatedOnDcom-en-us-GeBTaofv.js → CreatedOnDcom-en-us-rzA1lVxH.js} +3 -3
- package/lib/src/{CreatedOnDcom-es-es-BiPmv1q-.js → CreatedOnDcom-es-es-CNwGPjik.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-ca-Cns_iX4-.js → CreatedOnDcom-fr-ca-DKw7OGIz.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-fr-CC-f_hUR.js → CreatedOnDcom-fr-fr-WzOEaAZG.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-br-DnhSuPKo.js → CreatedOnDcom-pt-br-DkualVhm.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-pt-BCgbUsqY.js → CreatedOnDcom-pt-pt-w4Nnsdzq.js} +3 -3
- package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +2 -1
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.d.ts +2 -4
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.js +0 -1
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +2 -4
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +4 -5
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +3 -3
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +13 -13
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +13 -13
- package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
- package/lib/src/brand-page/models/index.d.ts +13 -2
- package/lib/src/brand-page/models/index.js +0 -3
- package/lib/src/brand-page/models/payment.model.d.ts +1 -1
- package/lib/src/brand-page/utils/personalisation.util.js +14 -72
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +19 -21
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +10 -16
- package/lib/src/brand-page-maker/components/admin-background-settings/ShapePositionSlider.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +170 -181
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +0 -3
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.js +7 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +149 -148
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +21 -21
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.d.ts +2 -5
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/device/Device.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/device/Device.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +25 -27
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +27 -27
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +12 -17
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +32 -30
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +5 -16
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +6 -3
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +6 -6
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -2
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +6 -6
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +3 -3
- 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/models/content-settings.d.ts +1 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.js +1 -1
- package/lib/src/brand-page-maker/routing/brand-page-maker-router.d.ts +2 -1
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +378 -366
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +4 -5
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -8
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +1 -3
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -7
- package/lib/src/brand-page-maker/stores/history/history-store.d.ts +15 -15
- package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +0 -6
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +0 -8
- package/lib/src/brand-page-maker/utils/content-settings.util.js +1 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +1 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +4 -4
- package/lib/src/clients/ai-assistant-client.d.ts +0 -7
- package/lib/src/clients/brand-page-client.d.ts +15 -16
- package/lib/src/clients/design-template-client.d.ts +0 -3
- package/lib/src/clients/media-client.d.ts +2 -2
- package/lib/src/clients/models.d.ts +0 -2
- package/lib/src/composables/useSnapshot.js +18 -18
- package/lib/src/css/library.brand-page-brandCrowd.min.css +324 -342
- package/lib/src/css/library.brand-page-brandPage.min.css +324 -620
- package/lib/src/css/library.brand-page-designCom.min.css +324 -342
- package/lib/src/css/library.brand-page-preview.min.css +324 -598
- package/lib/src/index.d.ts +1 -5
- package/lib/src/index.mjs +106 -110
- package/lib/src/{lib-Cw6L6CfQ.js → lib-Dy7MYyqz.js} +33240 -36457
- package/lib/src/lib.js +1 -11
- package/lib/src/metadata-builder/builders/footer-builder.js +62 -105
- package/lib/src/metadata-builder/builders/item-id-utils.d.ts +54 -0
- package/lib/src/metadata-builder/builders/item-id-utils.js +96 -0
- package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +57 -68
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +58 -93
- package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +66 -99
- package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +57 -17
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +51 -85
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +49 -74
- package/lib/src/metadata-builder/builders/section-field-utils.d.ts +0 -7
- package/lib/src/metadata-builder/builders/section-field-utils.js +1 -1
- package/lib/src/metadata-builder/builders/shape-color-utils.js +1 -1
- package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +16 -7
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +66 -48
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.d.ts +1 -1
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.js +8 -8
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +13 -13
- package/lib/src/shared/background-settings/store/background-settings-store.d.ts +3 -3
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.d.ts +2 -4
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +2 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.d.ts +2 -4
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.js +0 -1
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +2 -5
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +0 -1
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +129 -131
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -2
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +110 -111
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +81 -84
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +0 -5
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +109 -117
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +14 -1
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +70 -72
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +3 -4
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +4 -4
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.d.ts +1 -3
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +0 -1
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +3 -4
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +40 -40
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +6 -5
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +28 -28
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +39 -39
- package/lib/src/shared/content-settings/utils.js +1 -0
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +4 -6
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +0 -1
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +2 -4
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.js +0 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +21 -29
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +51 -50
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +4 -6
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.js +0 -1
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +1 -1
- package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +5 -13
- package/lib/src/shared/logo-versions/LogoVersions.mixin.js +0 -1
- package/lib/src/shared/models.d.ts +0 -2
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +6 -14
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +0 -1
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +5 -14
- package/lib/src/shared/my-uploads/MyMedia.mixin.js +0 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +5 -14
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +0 -1
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +3 -5
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +0 -1
- package/lib/src/shared/navigation-style-settings/store/index.d.ts +2 -2
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +2 -2
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +28 -27
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +2 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +179 -188
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +177 -181
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +9 -9
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +39 -39
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +1 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +18 -18
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +6 -6
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +60 -66
- package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -1
- package/lib/src/shared/style-settings/store/style-settings-store.js +1 -1
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +450 -20
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +2 -2
- package/lib/src/shared/template-settings/models.d.ts +0 -1
- package/lib/src/shared/template-settings/store/template-settings-store.d.ts +0 -4
- package/lib/src/shared/template-settings/store/template-settings-store.js +11 -79
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +4 -9
- package/lib/src/utils/build-asset-manifest.d.ts +0 -4
- package/lib/src/utils/build-asset-manifest.js +0 -8
- package/lib/src/utils/minify-brand-page-metadata.d.ts +2 -0
- package/lib/src/utils/minify-brand-page-metadata.js +17 -2
- package/package.json +56 -60
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +5 -7
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +1 -1
- package/src/brand-page/components/image/Image.mixin.ts +1 -1
- package/src/brand-page/components/image/Image.test.ts +1 -1
- package/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.ts +2 -1
- package/src/brand-page/components/images-section/ImagesSection.vue +1 -0
- package/src/brand-page/components/logo/LogoRender.vue +188 -188
- package/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.ts +0 -1
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +6 -15
- package/src/brand-page/components/page-footer/PageFooter.vue +0 -1
- package/src/brand-page/components/page-header/HeaderLayout.vue +6 -12
- package/src/brand-page/components/page-header/PageHeader.vue +0 -1
- package/src/brand-page/components/shapes-section/ShapesSection.vue +1 -1
- package/src/brand-page/components/shop/CartModal.vue +3 -1
- package/src/brand-page/components/shop/FeaturedDisplay.vue +2 -2
- package/src/brand-page/components/shop/PaymentModal.vue +5 -1
- package/src/brand-page/components/shop/ProductDetailModal.vue +1 -1
- package/src/brand-page/components/shop/Shop.vue +1 -1
- package/src/brand-page/components/shop/TextDisplay.vue +1 -1
- package/src/brand-page/components/shop/ThumbnailDisplay.vue +2 -2
- package/src/brand-page/components/testimonial-section/TestimonialSection.vue +3 -3
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +1 -3
- package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
- package/src/brand-page/models/index.ts +12 -4
- package/src/brand-page/models/payment.model.ts +1 -2
- package/src/brand-page/models/shop.model.ts +2 -0
- package/src/brand-page/models/user-personalisation.model.ts +2 -1
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +0 -3
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +0 -1
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +0 -2
- package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
- package/src/brand-page/utils/migration/migration-02.ts +1 -0
- package/src/brand-page/utils/migration/migration-03.ts +1 -0
- package/src/brand-page/utils/migration/migration-04.ts +1 -0
- package/src/brand-page/utils/migration/migration-05.ts +5 -1
- package/src/brand-page/utils/migration/migration-05_2.ts +1 -1
- package/src/brand-page/utils/migration/migration-08.test.ts +1 -1
- package/src/brand-page/utils/personalisation.util.test.ts +0 -35
- package/src/brand-page/utils/personalisation.util.ts +23 -119
- package/src/brand-page/view-models.ts +56 -38
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +6 -6
- package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +14 -14
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +0 -1
- package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +0 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -5
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +5 -2
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +5 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +8 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +2 -0
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +0 -1
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +2 -1
- package/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.ts +0 -1
- package/src/brand-page-maker/components/device/Device.mixin.ts +0 -1
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +0 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -3
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +4 -1
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +0 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +1 -0
- package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +1 -0
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +5 -1
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +1 -1
- package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
- package/src/brand-page-maker/components/social-share/SocialShare.vue +1 -1
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +8 -22
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +10 -5
- package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +7 -3
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +5 -5
- package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +1 -1
- package/src/brand-page-maker/models/button-styles-config.ts +2 -4
- package/src/brand-page-maker/models/content-settings-configs.ts +2 -4
- package/src/brand-page-maker/models/navigation-style-configs.ts +6 -5
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +1 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +5 -8
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +3 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +4 -12
- package/src/brand-page-maker/stores/ui/ui-store.ts +0 -16
- package/src/brand-page-maker/utils/content-settings.util.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +4 -4
- package/src/clients/ai-assistant-client.ts +0 -7
- package/src/clients/design-template-client.ts +0 -3
- package/src/clients/models.ts +0 -2
- package/src/composables/useSnapshot.ts +22 -19
- package/src/lib.ts +0 -13
- package/src/metadata-builder/builders/footer-builder.test.ts +229 -130
- package/src/metadata-builder/builders/footer-builder.ts +90 -155
- package/src/metadata-builder/builders/item-id-utils.test.ts +184 -0
- package/src/metadata-builder/builders/item-id-utils.ts +117 -0
- package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +62 -88
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +66 -129
- package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +105 -160
- package/src/metadata-builder/builders/section-builders/social-links-builder.ts +65 -20
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +83 -146
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +70 -122
- package/src/metadata-builder/builders/section-field-utils.ts +1 -1
- package/src/metadata-builder/builders/shape-color-utils.ts +2 -2
- package/src/metadata-builder/parsers/ai-toolcall-parser.ts +16 -7
- package/src/metadata-builder/parsers/section-tool-arguments.ts +66 -48
- package/src/plugins/google-maps-plugin/google-maps-plugin.ts +8 -8
- package/src/shared/background-settings/components/BackgroundSettings.vue +1 -1
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +1 -1
- package/src/shared/color-picker/components/ColorPicker.mixin.ts +7 -2
- package/src/shared/color-picker/components/ColorPickerSwatch.mixin.ts +0 -1
- package/src/shared/common/NumberInput.vue +0 -1
- package/src/shared/common/SideBarSettingsHeader.vue +2 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +0 -1
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +0 -1
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +0 -1
- package/src/shared/content-settings/components/color-field/ColorField.vue +10 -3
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettingsLockedButton.vue +0 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +0 -5
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +14 -1
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +6 -4
- package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +0 -1
- package/src/shared/content-settings/components/items-field/ItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +1 -1
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +1 -1
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -1
- package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +4 -4
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +8 -2
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/models.ts +2 -3
- package/src/shared/content-settings/utils.ts +1 -0
- package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +0 -1
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +0 -1
- package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +0 -1
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +1 -0
- package/src/shared/logo-settings/components/LogoSettingsHeader.mixin.ts +0 -1
- package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +2 -2
- package/src/shared/logo-settings/components/LogoTemplateSearch.vue +1 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +1 -1
- package/src/shared/logo-settings/store/logo-settings-store.test.ts +4 -4
- package/src/shared/logo-versions/LogoVersions.mixin.ts +0 -1
- package/src/shared/models.ts +0 -6
- package/src/shared/my-designs/MyDesigns.mixin.ts +0 -1
- package/src/shared/my-uploads/MyMedia.mixin.ts +0 -1
- package/src/shared/my-uploads/MyMediaSelectionItem.vue +1 -2
- package/src/shared/my-uploads/MyUploads.mixin.ts +0 -1
- package/src/shared/my-uploads/models.ts +2 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +0 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +3 -0
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +2 -1
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +1 -1
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
- package/src/shared/page-settings/store/page-settings-store.test.ts +8 -4
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +1 -0
- package/src/shared/shape-library/ShapeLibrary.vue +2 -2
- package/src/shared/style-settings/store/style-settings-store.ts +1 -1
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +2 -2
- package/src/shared/template-settings/models.ts +0 -1
- package/src/shared/template-settings/store/template-settings-store.ts +18 -105
- package/src/shared/unsplash-library/UnsplashLibrary.vue +6 -2
- package/src/shared/video-library/VideoLibrary.vue +1 -1
- package/src/utils/build-asset-manifest.ts +0 -12
- package/src/utils/minify-brand-page-metadata.ts +27 -7
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +0 -103
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +0 -178
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +0 -210
- package/src/brand-page-maker/components/template-preview/TemplatePreviewAiBadge.vue +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AddContentOption, ContentItem, ContentItemFieldSettings, ContentSettingsItemGroupState, ContentSettingsItemState, SetItemSettingsFieldErrorMessagePayload, UpdateItemValuePayload, UpdateMultipleItemValuesPayload, ValidateItemPayload } from '../models';
|
|
2
|
-
import type { ColorReplacement, Content
|
|
2
|
+
import type { ColorReplacement, Content } from '@brand-page';
|
|
3
3
|
import type { UIEventSource } from '../../models';
|
|
4
4
|
import type { ContentSettingsConfig, ItemCategory } from '@brand-page-maker/models';
|
|
5
5
|
import type { MediaBaseSelectedPayload } from '../../my-uploads/models';
|
|
@@ -34,23 +34,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
34
34
|
contentErrorCount(): number;
|
|
35
35
|
getContent(state: {
|
|
36
36
|
addContentOptions: {
|
|
37
|
-
type:
|
|
37
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
38
38
|
category: string;
|
|
39
39
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
40
40
|
displayName: string;
|
|
41
41
|
iconName: string;
|
|
42
42
|
isEnabled: boolean;
|
|
43
43
|
isLocked: boolean;
|
|
44
|
-
displayMode?:
|
|
44
|
+
displayMode?: "default" | "focused" | undefined;
|
|
45
45
|
}[];
|
|
46
46
|
items: {
|
|
47
47
|
id: string;
|
|
48
|
-
type:
|
|
48
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
49
49
|
settings: {
|
|
50
50
|
content: {
|
|
51
51
|
id: string;
|
|
52
|
-
type:
|
|
53
|
-
personalisationRole?:
|
|
52
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
53
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
54
54
|
topPadding?: number | undefined;
|
|
55
55
|
bottomPadding?: number | undefined;
|
|
56
56
|
imageUrlOverride?: string | undefined;
|
|
@@ -85,23 +85,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
85
85
|
} & import("pinia").PiniaCustomStateProperties<ContentSettingsState>): (id: string) => Content | undefined;
|
|
86
86
|
getFieldSettings(state: {
|
|
87
87
|
addContentOptions: {
|
|
88
|
-
type:
|
|
88
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
89
89
|
category: string;
|
|
90
90
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
91
91
|
displayName: string;
|
|
92
92
|
iconName: string;
|
|
93
93
|
isEnabled: boolean;
|
|
94
94
|
isLocked: boolean;
|
|
95
|
-
displayMode?:
|
|
95
|
+
displayMode?: "default" | "focused" | undefined;
|
|
96
96
|
}[];
|
|
97
97
|
items: {
|
|
98
98
|
id: string;
|
|
99
|
-
type:
|
|
99
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
100
100
|
settings: {
|
|
101
101
|
content: {
|
|
102
102
|
id: string;
|
|
103
|
-
type:
|
|
104
|
-
personalisationRole?:
|
|
103
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
104
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
105
105
|
topPadding?: number | undefined;
|
|
106
106
|
bottomPadding?: number | undefined;
|
|
107
107
|
imageUrlOverride?: string | undefined;
|
|
@@ -136,23 +136,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
136
136
|
} & import("pinia").PiniaCustomStateProperties<ContentSettingsState>): (id: string, fieldName: string) => ContentItemFieldSettings | undefined;
|
|
137
137
|
getItem(state: {
|
|
138
138
|
addContentOptions: {
|
|
139
|
-
type:
|
|
139
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
140
140
|
category: string;
|
|
141
141
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
142
142
|
displayName: string;
|
|
143
143
|
iconName: string;
|
|
144
144
|
isEnabled: boolean;
|
|
145
145
|
isLocked: boolean;
|
|
146
|
-
displayMode?:
|
|
146
|
+
displayMode?: "default" | "focused" | undefined;
|
|
147
147
|
}[];
|
|
148
148
|
items: {
|
|
149
149
|
id: string;
|
|
150
|
-
type:
|
|
150
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
151
151
|
settings: {
|
|
152
152
|
content: {
|
|
153
153
|
id: string;
|
|
154
|
-
type:
|
|
155
|
-
personalisationRole?:
|
|
154
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
155
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
156
156
|
topPadding?: number | undefined;
|
|
157
157
|
bottomPadding?: number | undefined;
|
|
158
158
|
imageUrlOverride?: string | undefined;
|
|
@@ -187,23 +187,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
187
187
|
} & import("pinia").PiniaCustomStateProperties<ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
188
188
|
getValue(state: {
|
|
189
189
|
addContentOptions: {
|
|
190
|
-
type:
|
|
190
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
191
191
|
category: string;
|
|
192
192
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
193
193
|
displayName: string;
|
|
194
194
|
iconName: string;
|
|
195
195
|
isEnabled: boolean;
|
|
196
196
|
isLocked: boolean;
|
|
197
|
-
displayMode?:
|
|
197
|
+
displayMode?: "default" | "focused" | undefined;
|
|
198
198
|
}[];
|
|
199
199
|
items: {
|
|
200
200
|
id: string;
|
|
201
|
-
type:
|
|
201
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
202
202
|
settings: {
|
|
203
203
|
content: {
|
|
204
204
|
id: string;
|
|
205
|
-
type:
|
|
206
|
-
personalisationRole?:
|
|
205
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
206
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
207
207
|
topPadding?: number | undefined;
|
|
208
208
|
bottomPadding?: number | undefined;
|
|
209
209
|
imageUrlOverride?: string | undefined;
|
|
@@ -238,23 +238,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
238
238
|
} & import("pinia").PiniaCustomStateProperties<ContentSettingsState>): (id: string, fieldName: string) => Content | string | undefined;
|
|
239
239
|
getItemState(state: {
|
|
240
240
|
addContentOptions: {
|
|
241
|
-
type:
|
|
241
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
242
242
|
category: string;
|
|
243
243
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
244
244
|
displayName: string;
|
|
245
245
|
iconName: string;
|
|
246
246
|
isEnabled: boolean;
|
|
247
247
|
isLocked: boolean;
|
|
248
|
-
displayMode?:
|
|
248
|
+
displayMode?: "default" | "focused" | undefined;
|
|
249
249
|
}[];
|
|
250
250
|
items: {
|
|
251
251
|
id: string;
|
|
252
|
-
type:
|
|
252
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
253
253
|
settings: {
|
|
254
254
|
content: {
|
|
255
255
|
id: string;
|
|
256
|
-
type:
|
|
257
|
-
personalisationRole?:
|
|
256
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
257
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
258
258
|
topPadding?: number | undefined;
|
|
259
259
|
bottomPadding?: number | undefined;
|
|
260
260
|
imageUrlOverride?: string | undefined;
|
|
@@ -289,23 +289,23 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
289
289
|
} & import("pinia").PiniaCustomStateProperties<ContentSettingsState>): (id: string) => ContentSettingsItemState;
|
|
290
290
|
getItemGroupState(state: {
|
|
291
291
|
addContentOptions: {
|
|
292
|
-
type:
|
|
292
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
293
293
|
category: string;
|
|
294
294
|
createInitialContent: (options: import("../models").CreateInitialContentOptions) => Content;
|
|
295
295
|
displayName: string;
|
|
296
296
|
iconName: string;
|
|
297
297
|
isEnabled: boolean;
|
|
298
298
|
isLocked: boolean;
|
|
299
|
-
displayMode?:
|
|
299
|
+
displayMode?: "default" | "focused" | undefined;
|
|
300
300
|
}[];
|
|
301
301
|
items: {
|
|
302
302
|
id: string;
|
|
303
|
-
type:
|
|
303
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
304
304
|
settings: {
|
|
305
305
|
content: {
|
|
306
306
|
id: string;
|
|
307
|
-
type:
|
|
308
|
-
personalisationRole?:
|
|
307
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
308
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
309
309
|
topPadding?: number | undefined;
|
|
310
310
|
bottomPadding?: number | undefined;
|
|
311
311
|
imageUrlOverride?: string | undefined;
|
|
@@ -345,7 +345,7 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
345
345
|
onContentChanged(): void;
|
|
346
346
|
_addItem({ item, index, }: {
|
|
347
347
|
item: ContentItem<any>;
|
|
348
|
-
index?: number;
|
|
348
|
+
index?: number | undefined;
|
|
349
349
|
}): void;
|
|
350
350
|
setState(payload: {
|
|
351
351
|
newState: Partial<ContentSettingsState>;
|
|
@@ -376,10 +376,10 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
376
376
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
377
377
|
selectedItemId: string | null;
|
|
378
378
|
imageUrl: string;
|
|
379
|
-
width?: number;
|
|
380
|
-
height?: number;
|
|
381
|
-
colorReplacements?: ColorReplacement[];
|
|
382
|
-
aspectRatio?: number | null;
|
|
379
|
+
width?: number | undefined;
|
|
380
|
+
height?: number | undefined;
|
|
381
|
+
colorReplacements?: ColorReplacement[] | undefined;
|
|
382
|
+
aspectRatio?: number | null | undefined;
|
|
383
383
|
}): void;
|
|
384
384
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: MediaBaseSelectedPayload): void;
|
|
385
385
|
_setItems({ items }: {
|
|
@@ -426,7 +426,7 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
426
426
|
}): void;
|
|
427
427
|
addItemByType({ type, index, }: {
|
|
428
428
|
type: string;
|
|
429
|
-
index?: number;
|
|
429
|
+
index?: number | undefined;
|
|
430
430
|
}): ContentItem<Content> | undefined;
|
|
431
431
|
deleteItem(payload: {
|
|
432
432
|
id: string;
|
|
@@ -474,11 +474,11 @@ export declare const useUiContentSettingsStore: import("pinia").StoreDefinition<
|
|
|
474
474
|
}): void;
|
|
475
475
|
initialiseItemState({ item, itemState, }: {
|
|
476
476
|
item: ContentItem<Content>;
|
|
477
|
-
itemState?: Partial<ContentSettingsState
|
|
477
|
+
itemState?: Partial<ContentSettingsState> | undefined;
|
|
478
478
|
}): void;
|
|
479
479
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
480
480
|
id: string;
|
|
481
481
|
groupId: string;
|
|
482
|
-
groupState?: ContentSettingsItemGroupState;
|
|
482
|
+
groupState?: ContentSettingsItemGroupState | undefined;
|
|
483
483
|
}): void;
|
|
484
484
|
}>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
9
|
value: {
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<string>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>, {}, {
|
|
@@ -29,16 +29,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
getCategoryForFont(fontName: FontFamilyName): FontFamilyCategory | null;
|
|
30
30
|
onFontFamilyButtonClick(fontFamilyOption: StyleTextFontFamilyOption): void;
|
|
31
31
|
onFontFamilyCategorySelected(category: FontFamilyCategory): void;
|
|
32
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
32
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
fontFamilyOptions: {
|
|
34
34
|
type: PropType<StyleTextFontFamilyOption[]>;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
value: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<string>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
|
-
}>> & Readonly<{
|
|
42
|
-
"onOn-select"?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
42
|
export default _default;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
12
|
};
|
|
13
13
|
}>, {}, {}, {}, {
|
|
14
14
|
onGalleryTypeClick(galleryType: GalleryType): void;
|
|
15
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
15
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
availableGalleryTypes: {
|
|
17
17
|
type: ArrayConstructor;
|
|
18
18
|
required: true;
|
|
@@ -22,9 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
required: false;
|
|
23
23
|
default: undefined;
|
|
24
24
|
};
|
|
25
|
-
}>> & Readonly<{
|
|
26
|
-
"onGallery-type-selected"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}>, {
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
28
26
|
galleryStyles: GalleryStyles;
|
|
29
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
28
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="types/lodash-shims" />
|
|
1
2
|
import { type GradientObject } from '../store/editable-logo-store';
|
|
2
3
|
import type { BpColorPickerGradient } from '@brand-page-maker/components/color-picker/BpColorPickerV2.mixin';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
@@ -97,8 +98,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
97
98
|
}, {
|
|
98
99
|
setStateAsync(payload: {
|
|
99
100
|
newState: import("../store/editable-logo-store").SetStateAsyncPayload;
|
|
100
|
-
defaultPrimaryText?: string;
|
|
101
|
-
defaultLayout?: string;
|
|
101
|
+
defaultPrimaryText?: string | undefined;
|
|
102
|
+
defaultLayout?: string | undefined;
|
|
102
103
|
}): Promise<void>;
|
|
103
104
|
resetLogoEdits(): void;
|
|
104
105
|
setLogoDraftToken(logoDraftToken: string): void;
|
|
@@ -109,11 +110,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
109
110
|
updateLogoEdit(templateMetaString: string, draftMetaString: string | null): void;
|
|
110
111
|
getEditableLogoVariationByVariationId(id: number): any;
|
|
111
112
|
getEditableLogoVariationByBase64(base64: string): any;
|
|
112
|
-
updateEditableLogoImageUrlAsync(defaultPrimaryText?: string, overrideLogoVariation?: number | undefined, layout?: string): Promise<void>;
|
|
113
|
-
stampLogoBase64IntoBrandPageData(overrideLogoVariation?: number): void;
|
|
113
|
+
updateEditableLogoImageUrlAsync(defaultPrimaryText?: string | undefined, overrideLogoVariation?: number | undefined, layout?: string | undefined): Promise<void>;
|
|
114
|
+
stampLogoBase64IntoBrandPageData(overrideLogoVariation?: number | undefined): void;
|
|
114
115
|
restoreVariationsForDraftToken(logoDraftToken: string): boolean;
|
|
115
|
-
updateMetadataAsync(defaultPrimaryText?: string, resetLogoTemplateMetadata?: boolean, layout?: string): Promise<void>;
|
|
116
|
-
updateEditableLogoImageByVariationAsync(editableLogoVariation: import("../store/editable-logo-store").EditableLogoVariation, defaultPrimaryText?: string, layout?: string): Promise<import("../../../clients/fabric-render-client").ModifyLogoDataResponse | null>;
|
|
116
|
+
updateMetadataAsync(defaultPrimaryText?: string | undefined, resetLogoTemplateMetadata?: boolean, layout?: string | undefined): Promise<void>;
|
|
117
|
+
updateEditableLogoImageByVariationAsync(editableLogoVariation: import("../store/editable-logo-store").EditableLogoVariation, defaultPrimaryText?: string | undefined, layout?: string | undefined): Promise<import("../../../clients/fabric-render-client").ModifyLogoDataResponse | null>;
|
|
117
118
|
getDraftMetadata(logoDraftToken: string): string | undefined;
|
|
118
119
|
upsertDraftMetadata(metadata: string): void;
|
|
119
120
|
isS3TokenExpired(expiryDate: string | undefined): boolean;
|
|
@@ -122,8 +123,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
122
123
|
returnJson: boolean;
|
|
123
124
|
dimensionType: string;
|
|
124
125
|
variationType: string;
|
|
125
|
-
defaultPrimaryText?: string;
|
|
126
|
-
layout?: string;
|
|
126
|
+
defaultPrimaryText?: string | undefined;
|
|
127
|
+
layout?: string | undefined;
|
|
127
128
|
}): Promise<import("../../../clients/fabric-render-client").ModifyLogoDataResponse | null>;
|
|
128
129
|
}>;
|
|
129
130
|
logoStore: import("pinia").Store<"uiLogoSettings", import("../store/logo-settings-store").LogoSettingsState, {
|
|
@@ -132,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
132
133
|
logoImageBase64Url: string | undefined;
|
|
133
134
|
};
|
|
134
135
|
selectedLogoTemplateImage(): import("../../../brand-page").LogoTemplateImageModel | undefined;
|
|
135
|
-
logoVariationImageUrls(): Record<
|
|
136
|
+
logoVariationImageUrls(): Record<number, string>;
|
|
136
137
|
}, {
|
|
137
138
|
redirectToCreateNewDesignPage(): Promise<void>;
|
|
138
139
|
setState(payload: {
|
|
@@ -141,7 +142,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
141
142
|
addDefaultLogoContentToCurrentPage(): void;
|
|
142
143
|
setLogoImageToAllContentsAndSections({ logoImage, keepLogoVariation, }: {
|
|
143
144
|
logoImage: import("../../../brand-page").LogoImageModel;
|
|
144
|
-
keepLogoVariation?: boolean;
|
|
145
|
+
keepLogoVariation?: boolean | undefined;
|
|
145
146
|
}): void;
|
|
146
147
|
setSelectedLogoImage(selectedLogoImage: import("../../../brand-page").LogoImageModel): void;
|
|
147
148
|
setSelectedLogoImageToAll(payload: import("../store/logo-settings-store").SetSelectedLogoImagePayload): void;
|
|
@@ -162,20 +163,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
162
163
|
thirdPartySettings: import("../../models").UIRootStateThirdPartySettings;
|
|
163
164
|
}): void;
|
|
164
165
|
setDeviceMode({ mode }: {
|
|
165
|
-
mode:
|
|
166
|
+
mode: "desktop" | "mobile";
|
|
166
167
|
}): void;
|
|
167
168
|
setScreenSizeMode({ mode }: {
|
|
168
|
-
mode:
|
|
169
|
+
mode: "desktop" | "mobile";
|
|
169
170
|
}): void;
|
|
170
171
|
setUserPersonalisationData({ personalisationData, }: {
|
|
171
172
|
personalisationData: import("../../../brand-page").UserPersonalisationContent[];
|
|
172
173
|
}): void;
|
|
173
|
-
setUserPromptContentKey({ userPromptContentKey, }: {
|
|
174
|
-
userPromptContentKey: string | undefined;
|
|
175
|
-
}): void;
|
|
176
|
-
setShowAiTemplatesTab({ showAiTemplatesTab, }: {
|
|
177
|
-
showAiTemplatesTab: boolean;
|
|
178
|
-
}): void;
|
|
179
174
|
onBackgroundChanged(): void;
|
|
180
175
|
onContentChanged(): void;
|
|
181
176
|
onStyleChanged(): void;
|
|
@@ -188,7 +183,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
188
183
|
type: string;
|
|
189
184
|
}): Promise<void>;
|
|
190
185
|
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
191
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
186
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined): Promise<void>;
|
|
192
187
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
193
188
|
isPersonalisationEnabled: boolean;
|
|
194
189
|
}): void;
|
|
@@ -218,7 +213,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
218
213
|
searchTerm: string | undefined;
|
|
219
214
|
}): void;
|
|
220
215
|
_setSelectedTab({ tabName }: {
|
|
221
|
-
tabName:
|
|
216
|
+
tabName: "AI" | "all" | "categories";
|
|
222
217
|
}): void;
|
|
223
218
|
_setSelectedCategory({ categoryName, }: {
|
|
224
219
|
categoryName: string | undefined;
|
|
@@ -246,10 +241,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
246
241
|
}): void;
|
|
247
242
|
setInitialSearchTerm(payload: {
|
|
248
243
|
initialSearchTerm: string;
|
|
249
|
-
onSearchTermChanged?: import("../../template-settings/store").OnSearchTermChangedCallback;
|
|
250
|
-
}): void;
|
|
251
|
-
setAiTemplateKeywords(payload: {
|
|
252
|
-
aiTemplateKeywords: string;
|
|
244
|
+
onSearchTermChanged?: import("../../template-settings/store").OnSearchTermChangedCallback | undefined;
|
|
253
245
|
}): void;
|
|
254
246
|
notifySearchTermChanged(searchTerm: string | undefined): void;
|
|
255
247
|
clearTemplates(): void;
|
|
@@ -288,15 +280,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
288
280
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
289
281
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
290
282
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
291
|
-
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
283
|
+
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
292
284
|
sendDomainUpsellOpenEvent: () => void;
|
|
293
285
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
294
286
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
295
287
|
sendPublishOpenEvent: () => void;
|
|
296
288
|
appendPublishBridgeState: (props: any) => void;
|
|
297
289
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
298
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
299
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
290
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean | undefined) => void;
|
|
291
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean | undefined) => void;
|
|
300
292
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
301
293
|
sendPublishOptionsForFreeEvent: () => void;
|
|
302
294
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -305,8 +297,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
305
297
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
306
298
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
307
299
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
308
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
309
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
300
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
301
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
310
302
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
311
303
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
312
304
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|