@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,15 +1,14 @@
|
|
|
1
1
|
import type { ContentItem, ContentItemFieldSettings, ReplaceImageSettingsBase, ReplaceImageSettingsTabId } from '../../models';
|
|
2
2
|
import type { MediaBaseSelectedPayload, UserMediaItemWithDimensions } from '../../../my-uploads/models';
|
|
3
|
-
import type { PageSettingsStateSectionStyles } from '../../../page-settings/store';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
4
|
items: import("vue").ComputedRef<{
|
|
6
5
|
id: string;
|
|
7
|
-
type:
|
|
6
|
+
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";
|
|
8
7
|
settings: {
|
|
9
8
|
content: {
|
|
10
9
|
id: string;
|
|
11
|
-
type:
|
|
12
|
-
personalisationRole?:
|
|
10
|
+
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";
|
|
11
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
13
12
|
topPadding?: number | undefined;
|
|
14
13
|
bottomPadding?: number | undefined;
|
|
15
14
|
imageUrlOverride?: string | undefined;
|
|
@@ -40,23 +39,23 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
40
39
|
contentErrorCount(): number;
|
|
41
40
|
getContent(state: {
|
|
42
41
|
addContentOptions: {
|
|
43
|
-
type:
|
|
42
|
+
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";
|
|
44
43
|
category: string;
|
|
45
44
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
46
45
|
displayName: string;
|
|
47
46
|
iconName: string;
|
|
48
47
|
isEnabled: boolean;
|
|
49
48
|
isLocked: boolean;
|
|
50
|
-
displayMode?:
|
|
49
|
+
displayMode?: "default" | "focused" | undefined;
|
|
51
50
|
}[];
|
|
52
51
|
items: {
|
|
53
52
|
id: string;
|
|
54
|
-
type:
|
|
53
|
+
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";
|
|
55
54
|
settings: {
|
|
56
55
|
content: {
|
|
57
56
|
id: string;
|
|
58
|
-
type:
|
|
59
|
-
personalisationRole?:
|
|
57
|
+
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";
|
|
58
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
60
59
|
topPadding?: number | undefined;
|
|
61
60
|
bottomPadding?: number | undefined;
|
|
62
61
|
imageUrlOverride?: string | undefined;
|
|
@@ -77,37 +76,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
77
76
|
}[];
|
|
78
77
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
79
78
|
modeStack: {
|
|
80
|
-
mode:
|
|
79
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
81
80
|
selectedItemId?: string | undefined;
|
|
82
81
|
selectedItemFieldName?: string | undefined;
|
|
83
82
|
selectedItemIndex?: number | undefined;
|
|
84
83
|
}[];
|
|
85
84
|
selectedItemId: string | null;
|
|
86
|
-
selectedItemEventSource:
|
|
85
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
87
86
|
selectedItemFieldName: string | null;
|
|
88
87
|
selectedItemValue: string | null;
|
|
89
88
|
selectedItemIndex: number | null;
|
|
90
|
-
activeCategoryTab:
|
|
89
|
+
activeCategoryTab: string;
|
|
91
90
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("@brand-page").Content | undefined;
|
|
92
91
|
getFieldSettings(state: {
|
|
93
92
|
addContentOptions: {
|
|
94
|
-
type:
|
|
93
|
+
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";
|
|
95
94
|
category: string;
|
|
96
95
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
97
96
|
displayName: string;
|
|
98
97
|
iconName: string;
|
|
99
98
|
isEnabled: boolean;
|
|
100
99
|
isLocked: boolean;
|
|
101
|
-
displayMode?:
|
|
100
|
+
displayMode?: "default" | "focused" | undefined;
|
|
102
101
|
}[];
|
|
103
102
|
items: {
|
|
104
103
|
id: string;
|
|
105
|
-
type:
|
|
104
|
+
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";
|
|
106
105
|
settings: {
|
|
107
106
|
content: {
|
|
108
107
|
id: string;
|
|
109
|
-
type:
|
|
110
|
-
personalisationRole?:
|
|
108
|
+
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";
|
|
109
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
111
110
|
topPadding?: number | undefined;
|
|
112
111
|
bottomPadding?: number | undefined;
|
|
113
112
|
imageUrlOverride?: string | undefined;
|
|
@@ -128,37 +127,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
128
127
|
}[];
|
|
129
128
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
130
129
|
modeStack: {
|
|
131
|
-
mode:
|
|
130
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
132
131
|
selectedItemId?: string | undefined;
|
|
133
132
|
selectedItemFieldName?: string | undefined;
|
|
134
133
|
selectedItemIndex?: number | undefined;
|
|
135
134
|
}[];
|
|
136
135
|
selectedItemId: string | null;
|
|
137
|
-
selectedItemEventSource:
|
|
136
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
138
137
|
selectedItemFieldName: string | null;
|
|
139
138
|
selectedItemValue: string | null;
|
|
140
139
|
selectedItemIndex: number | null;
|
|
141
|
-
activeCategoryTab:
|
|
140
|
+
activeCategoryTab: string;
|
|
142
141
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => ContentItemFieldSettings | undefined;
|
|
143
142
|
getItem(state: {
|
|
144
143
|
addContentOptions: {
|
|
145
|
-
type:
|
|
144
|
+
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";
|
|
146
145
|
category: string;
|
|
147
146
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
148
147
|
displayName: string;
|
|
149
148
|
iconName: string;
|
|
150
149
|
isEnabled: boolean;
|
|
151
150
|
isLocked: boolean;
|
|
152
|
-
displayMode?:
|
|
151
|
+
displayMode?: "default" | "focused" | undefined;
|
|
153
152
|
}[];
|
|
154
153
|
items: {
|
|
155
154
|
id: string;
|
|
156
|
-
type:
|
|
155
|
+
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";
|
|
157
156
|
settings: {
|
|
158
157
|
content: {
|
|
159
158
|
id: string;
|
|
160
|
-
type:
|
|
161
|
-
personalisationRole?:
|
|
159
|
+
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";
|
|
160
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
162
161
|
topPadding?: number | undefined;
|
|
163
162
|
bottomPadding?: number | undefined;
|
|
164
163
|
imageUrlOverride?: string | undefined;
|
|
@@ -179,37 +178,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
179
178
|
}[];
|
|
180
179
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
181
180
|
modeStack: {
|
|
182
|
-
mode:
|
|
181
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
183
182
|
selectedItemId?: string | undefined;
|
|
184
183
|
selectedItemFieldName?: string | undefined;
|
|
185
184
|
selectedItemIndex?: number | undefined;
|
|
186
185
|
}[];
|
|
187
186
|
selectedItemId: string | null;
|
|
188
|
-
selectedItemEventSource:
|
|
187
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
189
188
|
selectedItemFieldName: string | null;
|
|
190
189
|
selectedItemValue: string | null;
|
|
191
190
|
selectedItemIndex: number | null;
|
|
192
|
-
activeCategoryTab:
|
|
191
|
+
activeCategoryTab: string;
|
|
193
192
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
194
193
|
getValue(state: {
|
|
195
194
|
addContentOptions: {
|
|
196
|
-
type:
|
|
195
|
+
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";
|
|
197
196
|
category: string;
|
|
198
197
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
199
198
|
displayName: string;
|
|
200
199
|
iconName: string;
|
|
201
200
|
isEnabled: boolean;
|
|
202
201
|
isLocked: boolean;
|
|
203
|
-
displayMode?:
|
|
202
|
+
displayMode?: "default" | "focused" | undefined;
|
|
204
203
|
}[];
|
|
205
204
|
items: {
|
|
206
205
|
id: string;
|
|
207
|
-
type:
|
|
206
|
+
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";
|
|
208
207
|
settings: {
|
|
209
208
|
content: {
|
|
210
209
|
id: string;
|
|
211
|
-
type:
|
|
212
|
-
personalisationRole?:
|
|
210
|
+
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";
|
|
211
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
213
212
|
topPadding?: number | undefined;
|
|
214
213
|
bottomPadding?: number | undefined;
|
|
215
214
|
imageUrlOverride?: string | undefined;
|
|
@@ -230,37 +229,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
230
229
|
}[];
|
|
231
230
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
232
231
|
modeStack: {
|
|
233
|
-
mode:
|
|
232
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
234
233
|
selectedItemId?: string | undefined;
|
|
235
234
|
selectedItemFieldName?: string | undefined;
|
|
236
235
|
selectedItemIndex?: number | undefined;
|
|
237
236
|
}[];
|
|
238
237
|
selectedItemId: string | null;
|
|
239
|
-
selectedItemEventSource:
|
|
238
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
240
239
|
selectedItemFieldName: string | null;
|
|
241
240
|
selectedItemValue: string | null;
|
|
242
241
|
selectedItemIndex: number | null;
|
|
243
|
-
activeCategoryTab:
|
|
244
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("@brand-page").Content |
|
|
242
|
+
activeCategoryTab: string;
|
|
243
|
+
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => string | import("@brand-page").Content | undefined;
|
|
245
244
|
getItemState(state: {
|
|
246
245
|
addContentOptions: {
|
|
247
|
-
type:
|
|
246
|
+
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";
|
|
248
247
|
category: string;
|
|
249
248
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
250
249
|
displayName: string;
|
|
251
250
|
iconName: string;
|
|
252
251
|
isEnabled: boolean;
|
|
253
252
|
isLocked: boolean;
|
|
254
|
-
displayMode?:
|
|
253
|
+
displayMode?: "default" | "focused" | undefined;
|
|
255
254
|
}[];
|
|
256
255
|
items: {
|
|
257
256
|
id: string;
|
|
258
|
-
type:
|
|
257
|
+
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";
|
|
259
258
|
settings: {
|
|
260
259
|
content: {
|
|
261
260
|
id: string;
|
|
262
|
-
type:
|
|
263
|
-
personalisationRole?:
|
|
261
|
+
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";
|
|
262
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
264
263
|
topPadding?: number | undefined;
|
|
265
264
|
bottomPadding?: number | undefined;
|
|
266
265
|
imageUrlOverride?: string | undefined;
|
|
@@ -281,37 +280,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
281
280
|
}[];
|
|
282
281
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
283
282
|
modeStack: {
|
|
284
|
-
mode:
|
|
283
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
285
284
|
selectedItemId?: string | undefined;
|
|
286
285
|
selectedItemFieldName?: string | undefined;
|
|
287
286
|
selectedItemIndex?: number | undefined;
|
|
288
287
|
}[];
|
|
289
288
|
selectedItemId: string | null;
|
|
290
|
-
selectedItemEventSource:
|
|
289
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
291
290
|
selectedItemFieldName: string | null;
|
|
292
291
|
selectedItemValue: string | null;
|
|
293
292
|
selectedItemIndex: number | null;
|
|
294
|
-
activeCategoryTab:
|
|
293
|
+
activeCategoryTab: string;
|
|
295
294
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("../../models").ContentSettingsItemState;
|
|
296
295
|
getItemGroupState(state: {
|
|
297
296
|
addContentOptions: {
|
|
298
|
-
type:
|
|
297
|
+
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";
|
|
299
298
|
category: string;
|
|
300
299
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
301
300
|
displayName: string;
|
|
302
301
|
iconName: string;
|
|
303
302
|
isEnabled: boolean;
|
|
304
303
|
isLocked: boolean;
|
|
305
|
-
displayMode?:
|
|
304
|
+
displayMode?: "default" | "focused" | undefined;
|
|
306
305
|
}[];
|
|
307
306
|
items: {
|
|
308
307
|
id: string;
|
|
309
|
-
type:
|
|
308
|
+
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";
|
|
310
309
|
settings: {
|
|
311
310
|
content: {
|
|
312
311
|
id: string;
|
|
313
|
-
type:
|
|
314
|
-
personalisationRole?:
|
|
312
|
+
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";
|
|
313
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
315
314
|
topPadding?: number | undefined;
|
|
316
315
|
bottomPadding?: number | undefined;
|
|
317
316
|
imageUrlOverride?: string | undefined;
|
|
@@ -332,26 +331,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
332
331
|
}[];
|
|
333
332
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
334
333
|
modeStack: {
|
|
335
|
-
mode:
|
|
334
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
336
335
|
selectedItemId?: string | undefined;
|
|
337
336
|
selectedItemFieldName?: string | undefined;
|
|
338
337
|
selectedItemIndex?: number | undefined;
|
|
339
338
|
}[];
|
|
340
339
|
selectedItemId: string | null;
|
|
341
|
-
selectedItemEventSource:
|
|
340
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
342
341
|
selectedItemFieldName: string | null;
|
|
343
342
|
selectedItemValue: string | null;
|
|
344
343
|
selectedItemIndex: number | null;
|
|
345
|
-
activeCategoryTab:
|
|
344
|
+
activeCategoryTab: string;
|
|
346
345
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, groupId: string) => import("../../models").ContentSettingsItemGroupState;
|
|
347
|
-
mode():
|
|
346
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
348
347
|
selectedItem(): ContentItem<any> | undefined;
|
|
349
|
-
selectedItemTemplate(): import("../../../../brand-page-maker/models").ContentSettingsConfig<any> | undefined;
|
|
348
|
+
selectedItemTemplate(): import("../../../../brand-page-maker/models").ContentSettingsConfig<any, {}> | undefined;
|
|
350
349
|
}, {
|
|
351
350
|
onContentChanged(): void;
|
|
352
351
|
_addItem({ item, index, }: {
|
|
353
352
|
item: ContentItem<any>;
|
|
354
|
-
index?: number;
|
|
353
|
+
index?: number | undefined;
|
|
355
354
|
}): void;
|
|
356
355
|
setState(payload: {
|
|
357
356
|
newState: Partial<import("../../store").ContentSettingsState>;
|
|
@@ -368,7 +367,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
368
367
|
_setItemSettingsFieldErrorState(payload: import("../../models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
369
368
|
_setSelectedItemId({ id, eventSource, }: {
|
|
370
369
|
id: string | null;
|
|
371
|
-
eventSource:
|
|
370
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
372
371
|
}): void;
|
|
373
372
|
_setSelectedItemFieldName({ name: name }: {
|
|
374
373
|
name: string | null;
|
|
@@ -382,10 +381,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
382
381
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
383
382
|
selectedItemId: string | null;
|
|
384
383
|
imageUrl: string;
|
|
385
|
-
width?: number;
|
|
386
|
-
height?: number;
|
|
387
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
388
|
-
aspectRatio?: number | null;
|
|
384
|
+
width?: number | undefined;
|
|
385
|
+
height?: number | undefined;
|
|
386
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
387
|
+
aspectRatio?: number | null | undefined;
|
|
389
388
|
}): void;
|
|
390
389
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: MediaBaseSelectedPayload): void;
|
|
391
390
|
_setItems({ items }: {
|
|
@@ -409,7 +408,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
409
408
|
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
410
409
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
411
410
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
412
|
-
activeCategoryTab:
|
|
411
|
+
activeCategoryTab: string;
|
|
413
412
|
}): void;
|
|
414
413
|
setItemState({ id, itemState, }: {
|
|
415
414
|
id: string;
|
|
@@ -432,7 +431,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
432
431
|
}): void;
|
|
433
432
|
addItemByType({ type, index, }: {
|
|
434
433
|
type: string;
|
|
435
|
-
index?: number;
|
|
434
|
+
index?: number | undefined;
|
|
436
435
|
}): ContentItem<import("@brand-page").Content> | undefined;
|
|
437
436
|
deleteItem(payload: {
|
|
438
437
|
id: string;
|
|
@@ -444,13 +443,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
444
443
|
updateIsDefaultTextColorRequired(): void;
|
|
445
444
|
setSelectedItemId(payload: {
|
|
446
445
|
id: string | null;
|
|
447
|
-
eventSource:
|
|
446
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
448
447
|
}): void;
|
|
449
448
|
setSelectedItemAndFieldName(payload: {
|
|
450
449
|
id: string | null;
|
|
451
450
|
name: string | null;
|
|
452
451
|
index: number | null;
|
|
453
|
-
eventSource:
|
|
452
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
454
453
|
}): void;
|
|
455
454
|
setSelectedItemValue(payload: {
|
|
456
455
|
value: string | null;
|
|
@@ -458,10 +457,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
458
457
|
setSelectedItemImage(payload: {
|
|
459
458
|
selectedItemId: string | null;
|
|
460
459
|
imageUrl: string;
|
|
461
|
-
width?: number;
|
|
462
|
-
height?: number;
|
|
463
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
464
|
-
aspectRatio?: number | null;
|
|
460
|
+
width?: number | undefined;
|
|
461
|
+
height?: number | undefined;
|
|
462
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
463
|
+
aspectRatio?: number | null | undefined;
|
|
465
464
|
}): void;
|
|
466
465
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: MediaBaseSelectedPayload): void;
|
|
467
466
|
setItems(payload: {
|
|
@@ -473,29 +472,29 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
473
472
|
type: string;
|
|
474
473
|
}): Promise<void>;
|
|
475
474
|
setActiveCategoryTab(payload: {
|
|
476
|
-
activeCategoryTab:
|
|
475
|
+
activeCategoryTab: string;
|
|
477
476
|
}): void;
|
|
478
477
|
selectInitialContentCategory(payload: {
|
|
479
478
|
selectedCategory: string;
|
|
480
479
|
}): void;
|
|
481
480
|
initialiseItemState({ item, itemState, }: {
|
|
482
481
|
item: ContentItem<import("@brand-page").Content>;
|
|
483
|
-
itemState?: Partial<import("../../store").ContentSettingsState
|
|
482
|
+
itemState?: Partial<import("../../store").ContentSettingsState> | undefined;
|
|
484
483
|
}): void;
|
|
485
484
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
486
485
|
id: string;
|
|
487
486
|
groupId: string;
|
|
488
|
-
groupState?: import("../../models").ContentSettingsItemGroupState;
|
|
487
|
+
groupState?: import("../../models").ContentSettingsItemGroupState | undefined;
|
|
489
488
|
}): void;
|
|
490
489
|
}>;
|
|
491
490
|
userStore: import("pinia").Store<"brandPageMakerUser", import("@brand-page-maker/stores").UserState, {}, {
|
|
492
491
|
setUserState(payload: {
|
|
493
|
-
emailAddress?: string;
|
|
494
|
-
userToken?: string;
|
|
495
|
-
isAdmin?: boolean;
|
|
496
|
-
hasPremiumSubscription?: boolean;
|
|
497
|
-
brandPageCommissionPercentage?: number;
|
|
498
|
-
features?: Partial<import("
|
|
492
|
+
emailAddress?: string | undefined;
|
|
493
|
+
userToken?: string | undefined;
|
|
494
|
+
isAdmin?: boolean | undefined;
|
|
495
|
+
hasPremiumSubscription?: boolean | undefined;
|
|
496
|
+
brandPageCommissionPercentage?: number | undefined;
|
|
497
|
+
features?: Partial<import("../../../../constants/ui").UIUserFeatures> | undefined;
|
|
499
498
|
}): void;
|
|
500
499
|
}>;
|
|
501
500
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("../../../page-settings/store").PageSettingsState, {
|
|
@@ -515,7 +514,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
515
514
|
}): void;
|
|
516
515
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
517
516
|
isNewPageModalVisible: boolean;
|
|
518
|
-
parentPageId?: string;
|
|
517
|
+
parentPageId?: string | undefined;
|
|
519
518
|
}): Promise<void>;
|
|
520
519
|
addPage({ page }: {
|
|
521
520
|
page: import("../../../page-settings/models").ContentPage;
|
|
@@ -530,22 +529,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
530
529
|
pageId: string;
|
|
531
530
|
}): void;
|
|
532
531
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
533
|
-
sectionName:
|
|
534
|
-
propName:
|
|
535
|
-
index?: number;
|
|
536
|
-
value: string | boolean | import("@brand-page").LinksItem[] |
|
|
537
|
-
merge?: boolean;
|
|
532
|
+
sectionName: "footer" | "header" | "pages";
|
|
533
|
+
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "navigation" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
534
|
+
index?: number | undefined;
|
|
535
|
+
value: string | number | boolean | BrandPageCssStyle | import("@brand-page").LinksItem[] | Partial<import("@brand-page").ImageItem> | null | undefined;
|
|
536
|
+
merge?: boolean | undefined;
|
|
538
537
|
viewport: import("@brand-page").ViewportsType;
|
|
539
538
|
}): void;
|
|
540
539
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
541
540
|
logoImage: import("@brand-page").LogoImageModel;
|
|
542
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
541
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel | undefined;
|
|
543
542
|
logoImageBase64Url: string | undefined;
|
|
544
|
-
sectionName:
|
|
543
|
+
sectionName: "footer" | "header" | "pages";
|
|
545
544
|
viewport: import("@brand-page").ViewportsType;
|
|
546
|
-
keepLogoVariation?: boolean;
|
|
547
|
-
logoImageHeight?: string;
|
|
548
|
-
logoImageWidth?: string;
|
|
545
|
+
keepLogoVariation?: boolean | undefined;
|
|
546
|
+
logoImageHeight?: string | undefined;
|
|
547
|
+
logoImageWidth?: string | undefined;
|
|
549
548
|
}): void;
|
|
550
549
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
551
550
|
sectionName: string;
|
|
@@ -560,13 +559,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
560
559
|
}): void;
|
|
561
560
|
addNewPage(payload: {
|
|
562
561
|
title: string;
|
|
563
|
-
newPageParentId?: string;
|
|
562
|
+
newPageParentId?: string | undefined;
|
|
564
563
|
}): import("../../../page-settings/models").ContentPage;
|
|
565
564
|
setSelectedSectionName({ sectionName, }: {
|
|
566
|
-
sectionName?:
|
|
565
|
+
sectionName?: "footer" | "header" | "pages" | undefined;
|
|
567
566
|
}): void;
|
|
568
567
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
569
|
-
sectionName:
|
|
568
|
+
sectionName: "footer" | "header" | "pages";
|
|
570
569
|
isCollapsed: boolean;
|
|
571
570
|
}): void;
|
|
572
571
|
collapseAllSections(): void;
|
|
@@ -580,7 +579,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
580
579
|
brandPageToken(): string | undefined;
|
|
581
580
|
brandPageDescription(): string;
|
|
582
581
|
brandPageSlug(): string;
|
|
583
|
-
brandPageTemplate():
|
|
582
|
+
brandPageTemplate(): any;
|
|
584
583
|
brandPageTitle(): string;
|
|
585
584
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
586
585
|
gettyVideoIds(): string[];
|
|
@@ -595,7 +594,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
595
594
|
showBrandCrowdLogo(): boolean;
|
|
596
595
|
}, {
|
|
597
596
|
setMode(payload: {
|
|
598
|
-
mode:
|
|
597
|
+
mode: "images" | "edit";
|
|
599
598
|
}): void;
|
|
600
599
|
setFaviconUrl(payload: {
|
|
601
600
|
faviconUrl: string | undefined;
|
|
@@ -639,7 +638,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
639
638
|
enqueueContentErrorMessage(): void;
|
|
640
639
|
dequeueNotificationMessageQueue(): void;
|
|
641
640
|
setCurrentNotificationMessage(payload: {
|
|
642
|
-
message: import("@brand-page-maker/stores").NotificationMessage
|
|
641
|
+
message: false | import("@brand-page-maker/stores").NotificationMessage;
|
|
643
642
|
}): void;
|
|
644
643
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
645
644
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -658,9 +657,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
658
657
|
applySelectedTemplate(): Promise<void>;
|
|
659
658
|
enqueueErrorMessage(): Promise<void>;
|
|
660
659
|
enqueueSaveSuccessMessage(payload?: {
|
|
661
|
-
description?: string;
|
|
662
|
-
isPublished?: boolean;
|
|
663
|
-
noDescription?: boolean;
|
|
660
|
+
description?: string | undefined;
|
|
661
|
+
isPublished?: boolean | undefined;
|
|
662
|
+
noDescription?: boolean | undefined;
|
|
664
663
|
}): Promise<void>;
|
|
665
664
|
hideChangeTemplateConfirmModal(): void;
|
|
666
665
|
onBackgroundChanged(): void;
|
|
@@ -676,16 +675,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
676
675
|
content: TContent;
|
|
677
676
|
}>(payload: P): Promise<void>;
|
|
678
677
|
_captureTemplateSwitchIfEnabled(): void;
|
|
679
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
680
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
681
|
-
_navigateToActivePage(activePageId?: string): void;
|
|
678
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string | undefined, logoEditsStr?: string | undefined): Promise<void>;
|
|
679
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string | undefined): Promise<void>;
|
|
680
|
+
_navigateToActivePage(activePageId?: string | undefined): void;
|
|
682
681
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
683
682
|
export(): import("@brand-page").BrandPageModel;
|
|
684
683
|
setBrandPageType({ brandPageType }: {
|
|
685
|
-
brandPageType:
|
|
684
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
686
685
|
}): void;
|
|
687
686
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
688
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled,
|
|
687
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
689
688
|
initialisePages({ pages, sections, }: {
|
|
690
689
|
pages: import("@brand-page").PageModel[];
|
|
691
690
|
sections: import("../../../page-settings/store").PageSettingsStateSections;
|
|
@@ -713,7 +712,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
713
712
|
viewport: import("@brand-page").ViewportsType;
|
|
714
713
|
}): void;
|
|
715
714
|
showStripeOnboardingModal(): Promise<void>;
|
|
716
|
-
selectInitialCategories(payload: import("
|
|
715
|
+
selectInitialCategories(payload: import("../../../template-settings/models").InitialCategories): void;
|
|
717
716
|
}>;
|
|
718
717
|
videoStore: import("pinia").Store<"video", import("@brand-page-maker/stores").videoStoreState, {
|
|
719
718
|
getVideoUrlsForToken: (state: {
|
|
@@ -782,15 +781,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
782
781
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
783
782
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
784
783
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
785
|
-
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
784
|
+
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
786
785
|
sendDomainUpsellOpenEvent: () => void;
|
|
787
786
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
788
787
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
789
788
|
sendPublishOpenEvent: () => void;
|
|
790
789
|
appendPublishBridgeState: (props: any) => void;
|
|
791
790
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
792
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
793
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
791
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean | undefined) => void;
|
|
792
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean | undefined) => void;
|
|
794
793
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
795
794
|
sendPublishOptionsForFreeEvent: () => void;
|
|
796
795
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -799,8 +798,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
799
798
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
800
799
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
801
800
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
802
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
803
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
801
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
802
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
804
803
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
805
804
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
806
805
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -817,8 +816,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
817
816
|
imageSettings(): ReplaceImageSettingsBase;
|
|
818
817
|
}, {
|
|
819
818
|
onBack(): void;
|
|
820
|
-
onImageSelected(image: Pick<UserMediaItemWithDimensions,
|
|
821
|
-
onImageRemoved(image: Pick<UserMediaItemWithDimensions,
|
|
819
|
+
onImageSelected(image: Pick<UserMediaItemWithDimensions, 'url' | 'minimisedUrl' | 'width' | 'height'>): void;
|
|
820
|
+
onImageRemoved(image: Pick<UserMediaItemWithDimensions, 'url' | 'minimisedUrl' | 'width' | 'height'>): void;
|
|
822
821
|
isCurrentlyVideoBackground(): boolean;
|
|
823
822
|
onDesignSelected(image: UserMediaItemWithDimensions): void;
|
|
824
823
|
onShapeSelected(image: any): void;
|