@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,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="types/lodash-shims" />
|
|
1
2
|
import type { PropType } from 'vue';
|
|
2
3
|
import type { ContentSettingsConfig } from '@brand-page-maker/models';
|
|
3
4
|
import type { Field, UpdateItemValuePayload } from '../../models';
|
|
4
|
-
import { type BrandPageContext, type
|
|
5
|
+
import { type BrandPageContext, type PersonalisationRole } from '@brand-page';
|
|
5
6
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
6
7
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
8
|
id: {
|
|
@@ -9,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
10
|
required: true;
|
|
10
11
|
};
|
|
11
12
|
type: {
|
|
12
|
-
type: PropType<
|
|
13
|
+
type: PropType<"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">;
|
|
13
14
|
required: true;
|
|
14
15
|
};
|
|
15
16
|
}>, {
|
|
@@ -19,30 +20,30 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
20
|
getContent: import("vue").ComputedRef<(id: string) => import("@brand-page").Content | undefined>;
|
|
20
21
|
getItemState: import("vue").ComputedRef<(id: string) => import("../../models").ContentSettingsItemState>;
|
|
21
22
|
brandPageData: import("vue").ComputedRef<import("@brand-page").BrandPageModel>;
|
|
22
|
-
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => import("@brand-page").Content |
|
|
23
|
+
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => string | import("@brand-page").Content | undefined>;
|
|
23
24
|
isPersonalisationEnabled: import("vue").ComputedRef<boolean>;
|
|
24
25
|
isAdmin: import("vue").ComputedRef<boolean>;
|
|
25
26
|
contentSettingsStore: import("pinia").Store<"uiContentSettings", import("../../store").ContentSettingsState, {
|
|
26
27
|
contentErrorCount(): number;
|
|
27
28
|
getContent(state: {
|
|
28
29
|
addContentOptions: {
|
|
29
|
-
type:
|
|
30
|
+
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";
|
|
30
31
|
category: string;
|
|
31
32
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
32
33
|
displayName: string;
|
|
33
34
|
iconName: string;
|
|
34
35
|
isEnabled: boolean;
|
|
35
36
|
isLocked: boolean;
|
|
36
|
-
displayMode?:
|
|
37
|
+
displayMode?: "default" | "focused" | undefined;
|
|
37
38
|
}[];
|
|
38
39
|
items: {
|
|
39
40
|
id: string;
|
|
40
|
-
type:
|
|
41
|
+
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";
|
|
41
42
|
settings: {
|
|
42
43
|
content: {
|
|
43
44
|
id: string;
|
|
44
|
-
type:
|
|
45
|
-
personalisationRole?:
|
|
45
|
+
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";
|
|
46
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
46
47
|
topPadding?: number | undefined;
|
|
47
48
|
bottomPadding?: number | undefined;
|
|
48
49
|
imageUrlOverride?: string | undefined;
|
|
@@ -63,37 +64,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
64
|
}[];
|
|
64
65
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
65
66
|
modeStack: {
|
|
66
|
-
mode:
|
|
67
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
67
68
|
selectedItemId?: string | undefined;
|
|
68
69
|
selectedItemFieldName?: string | undefined;
|
|
69
70
|
selectedItemIndex?: number | undefined;
|
|
70
71
|
}[];
|
|
71
72
|
selectedItemId: string | null;
|
|
72
|
-
selectedItemEventSource:
|
|
73
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
73
74
|
selectedItemFieldName: string | null;
|
|
74
75
|
selectedItemValue: string | null;
|
|
75
76
|
selectedItemIndex: number | null;
|
|
76
|
-
activeCategoryTab:
|
|
77
|
+
activeCategoryTab: string;
|
|
77
78
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("@brand-page").Content | undefined;
|
|
78
79
|
getFieldSettings(state: {
|
|
79
80
|
addContentOptions: {
|
|
80
|
-
type:
|
|
81
|
+
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";
|
|
81
82
|
category: string;
|
|
82
83
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
83
84
|
displayName: string;
|
|
84
85
|
iconName: string;
|
|
85
86
|
isEnabled: boolean;
|
|
86
87
|
isLocked: boolean;
|
|
87
|
-
displayMode?:
|
|
88
|
+
displayMode?: "default" | "focused" | undefined;
|
|
88
89
|
}[];
|
|
89
90
|
items: {
|
|
90
91
|
id: string;
|
|
91
|
-
type:
|
|
92
|
+
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";
|
|
92
93
|
settings: {
|
|
93
94
|
content: {
|
|
94
95
|
id: string;
|
|
95
|
-
type:
|
|
96
|
-
personalisationRole?:
|
|
96
|
+
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";
|
|
97
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
97
98
|
topPadding?: number | undefined;
|
|
98
99
|
bottomPadding?: number | undefined;
|
|
99
100
|
imageUrlOverride?: string | undefined;
|
|
@@ -114,37 +115,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
114
115
|
}[];
|
|
115
116
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
116
117
|
modeStack: {
|
|
117
|
-
mode:
|
|
118
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
118
119
|
selectedItemId?: string | undefined;
|
|
119
120
|
selectedItemFieldName?: string | undefined;
|
|
120
121
|
selectedItemIndex?: number | undefined;
|
|
121
122
|
}[];
|
|
122
123
|
selectedItemId: string | null;
|
|
123
|
-
selectedItemEventSource:
|
|
124
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
124
125
|
selectedItemFieldName: string | null;
|
|
125
126
|
selectedItemValue: string | null;
|
|
126
127
|
selectedItemIndex: number | null;
|
|
127
|
-
activeCategoryTab:
|
|
128
|
+
activeCategoryTab: string;
|
|
128
129
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("../../models").ContentItemFieldSettings | undefined;
|
|
129
130
|
getItem(state: {
|
|
130
131
|
addContentOptions: {
|
|
131
|
-
type:
|
|
132
|
+
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";
|
|
132
133
|
category: string;
|
|
133
134
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
134
135
|
displayName: string;
|
|
135
136
|
iconName: string;
|
|
136
137
|
isEnabled: boolean;
|
|
137
138
|
isLocked: boolean;
|
|
138
|
-
displayMode?:
|
|
139
|
+
displayMode?: "default" | "focused" | undefined;
|
|
139
140
|
}[];
|
|
140
141
|
items: {
|
|
141
142
|
id: string;
|
|
142
|
-
type:
|
|
143
|
+
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";
|
|
143
144
|
settings: {
|
|
144
145
|
content: {
|
|
145
146
|
id: string;
|
|
146
|
-
type:
|
|
147
|
-
personalisationRole?:
|
|
147
|
+
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";
|
|
148
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
148
149
|
topPadding?: number | undefined;
|
|
149
150
|
bottomPadding?: number | undefined;
|
|
150
151
|
imageUrlOverride?: string | undefined;
|
|
@@ -165,37 +166,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
166
|
}[];
|
|
166
167
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
167
168
|
modeStack: {
|
|
168
|
-
mode:
|
|
169
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
169
170
|
selectedItemId?: string | undefined;
|
|
170
171
|
selectedItemFieldName?: string | undefined;
|
|
171
172
|
selectedItemIndex?: number | undefined;
|
|
172
173
|
}[];
|
|
173
174
|
selectedItemId: string | null;
|
|
174
|
-
selectedItemEventSource:
|
|
175
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
175
176
|
selectedItemFieldName: string | null;
|
|
176
177
|
selectedItemValue: string | null;
|
|
177
178
|
selectedItemIndex: number | null;
|
|
178
|
-
activeCategoryTab:
|
|
179
|
+
activeCategoryTab: string;
|
|
179
180
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("../../models").ContentItem<any> | undefined;
|
|
180
181
|
getValue(state: {
|
|
181
182
|
addContentOptions: {
|
|
182
|
-
type:
|
|
183
|
+
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";
|
|
183
184
|
category: string;
|
|
184
185
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
185
186
|
displayName: string;
|
|
186
187
|
iconName: string;
|
|
187
188
|
isEnabled: boolean;
|
|
188
189
|
isLocked: boolean;
|
|
189
|
-
displayMode?:
|
|
190
|
+
displayMode?: "default" | "focused" | undefined;
|
|
190
191
|
}[];
|
|
191
192
|
items: {
|
|
192
193
|
id: string;
|
|
193
|
-
type:
|
|
194
|
+
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";
|
|
194
195
|
settings: {
|
|
195
196
|
content: {
|
|
196
197
|
id: string;
|
|
197
|
-
type:
|
|
198
|
-
personalisationRole?:
|
|
198
|
+
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";
|
|
199
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
199
200
|
topPadding?: number | undefined;
|
|
200
201
|
bottomPadding?: number | undefined;
|
|
201
202
|
imageUrlOverride?: string | undefined;
|
|
@@ -216,37 +217,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
216
217
|
}[];
|
|
217
218
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
218
219
|
modeStack: {
|
|
219
|
-
mode:
|
|
220
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
220
221
|
selectedItemId?: string | undefined;
|
|
221
222
|
selectedItemFieldName?: string | undefined;
|
|
222
223
|
selectedItemIndex?: number | undefined;
|
|
223
224
|
}[];
|
|
224
225
|
selectedItemId: string | null;
|
|
225
|
-
selectedItemEventSource:
|
|
226
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
226
227
|
selectedItemFieldName: string | null;
|
|
227
228
|
selectedItemValue: string | null;
|
|
228
229
|
selectedItemIndex: number | null;
|
|
229
|
-
activeCategoryTab:
|
|
230
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("@brand-page").Content |
|
|
230
|
+
activeCategoryTab: string;
|
|
231
|
+
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => string | import("@brand-page").Content | undefined;
|
|
231
232
|
getItemState(state: {
|
|
232
233
|
addContentOptions: {
|
|
233
|
-
type:
|
|
234
|
+
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";
|
|
234
235
|
category: string;
|
|
235
236
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
236
237
|
displayName: string;
|
|
237
238
|
iconName: string;
|
|
238
239
|
isEnabled: boolean;
|
|
239
240
|
isLocked: boolean;
|
|
240
|
-
displayMode?:
|
|
241
|
+
displayMode?: "default" | "focused" | undefined;
|
|
241
242
|
}[];
|
|
242
243
|
items: {
|
|
243
244
|
id: string;
|
|
244
|
-
type:
|
|
245
|
+
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";
|
|
245
246
|
settings: {
|
|
246
247
|
content: {
|
|
247
248
|
id: string;
|
|
248
|
-
type:
|
|
249
|
-
personalisationRole?:
|
|
249
|
+
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";
|
|
250
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
250
251
|
topPadding?: number | undefined;
|
|
251
252
|
bottomPadding?: number | undefined;
|
|
252
253
|
imageUrlOverride?: string | undefined;
|
|
@@ -267,37 +268,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
267
268
|
}[];
|
|
268
269
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
269
270
|
modeStack: {
|
|
270
|
-
mode:
|
|
271
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
271
272
|
selectedItemId?: string | undefined;
|
|
272
273
|
selectedItemFieldName?: string | undefined;
|
|
273
274
|
selectedItemIndex?: number | undefined;
|
|
274
275
|
}[];
|
|
275
276
|
selectedItemId: string | null;
|
|
276
|
-
selectedItemEventSource:
|
|
277
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
277
278
|
selectedItemFieldName: string | null;
|
|
278
279
|
selectedItemValue: string | null;
|
|
279
280
|
selectedItemIndex: number | null;
|
|
280
|
-
activeCategoryTab:
|
|
281
|
+
activeCategoryTab: string;
|
|
281
282
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("../../models").ContentSettingsItemState;
|
|
282
283
|
getItemGroupState(state: {
|
|
283
284
|
addContentOptions: {
|
|
284
|
-
type:
|
|
285
|
+
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";
|
|
285
286
|
category: string;
|
|
286
287
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
287
288
|
displayName: string;
|
|
288
289
|
iconName: string;
|
|
289
290
|
isEnabled: boolean;
|
|
290
291
|
isLocked: boolean;
|
|
291
|
-
displayMode?:
|
|
292
|
+
displayMode?: "default" | "focused" | undefined;
|
|
292
293
|
}[];
|
|
293
294
|
items: {
|
|
294
295
|
id: string;
|
|
295
|
-
type:
|
|
296
|
+
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";
|
|
296
297
|
settings: {
|
|
297
298
|
content: {
|
|
298
299
|
id: string;
|
|
299
|
-
type:
|
|
300
|
-
personalisationRole?:
|
|
300
|
+
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";
|
|
301
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
301
302
|
topPadding?: number | undefined;
|
|
302
303
|
bottomPadding?: number | undefined;
|
|
303
304
|
imageUrlOverride?: string | undefined;
|
|
@@ -318,26 +319,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
318
319
|
}[];
|
|
319
320
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
320
321
|
modeStack: {
|
|
321
|
-
mode:
|
|
322
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
322
323
|
selectedItemId?: string | undefined;
|
|
323
324
|
selectedItemFieldName?: string | undefined;
|
|
324
325
|
selectedItemIndex?: number | undefined;
|
|
325
326
|
}[];
|
|
326
327
|
selectedItemId: string | null;
|
|
327
|
-
selectedItemEventSource:
|
|
328
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
328
329
|
selectedItemFieldName: string | null;
|
|
329
330
|
selectedItemValue: string | null;
|
|
330
331
|
selectedItemIndex: number | null;
|
|
331
|
-
activeCategoryTab:
|
|
332
|
+
activeCategoryTab: string;
|
|
332
333
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, groupId: string) => import("../../models").ContentSettingsItemGroupState;
|
|
333
|
-
mode():
|
|
334
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
334
335
|
selectedItem(): import("../../models").ContentItem<any> | undefined;
|
|
335
|
-
selectedItemTemplate(): ContentSettingsConfig<any> | undefined;
|
|
336
|
+
selectedItemTemplate(): ContentSettingsConfig<any, {}> | undefined;
|
|
336
337
|
}, {
|
|
337
338
|
onContentChanged(): void;
|
|
338
339
|
_addItem({ item, index, }: {
|
|
339
340
|
item: import("../../models").ContentItem<any>;
|
|
340
|
-
index?: number;
|
|
341
|
+
index?: number | undefined;
|
|
341
342
|
}): void;
|
|
342
343
|
setState(payload: {
|
|
343
344
|
newState: Partial<import("../../store").ContentSettingsState>;
|
|
@@ -354,7 +355,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
354
355
|
_setItemSettingsFieldErrorState(payload: import("../../models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
355
356
|
_setSelectedItemId({ id, eventSource, }: {
|
|
356
357
|
id: string | null;
|
|
357
|
-
eventSource:
|
|
358
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
358
359
|
}): void;
|
|
359
360
|
_setSelectedItemFieldName({ name: name }: {
|
|
360
361
|
name: string | null;
|
|
@@ -368,10 +369,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
368
369
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
369
370
|
selectedItemId: string | null;
|
|
370
371
|
imageUrl: string;
|
|
371
|
-
width?: number;
|
|
372
|
-
height?: number;
|
|
373
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
374
|
-
aspectRatio?: number | null;
|
|
372
|
+
width?: number | undefined;
|
|
373
|
+
height?: number | undefined;
|
|
374
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
375
|
+
aspectRatio?: number | null | undefined;
|
|
375
376
|
}): void;
|
|
376
377
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
377
378
|
_setItems({ items }: {
|
|
@@ -395,7 +396,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
395
396
|
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
396
397
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
397
398
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
398
|
-
activeCategoryTab:
|
|
399
|
+
activeCategoryTab: string;
|
|
399
400
|
}): void;
|
|
400
401
|
setItemState({ id, itemState, }: {
|
|
401
402
|
id: string;
|
|
@@ -418,7 +419,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
418
419
|
}): void;
|
|
419
420
|
addItemByType({ type, index, }: {
|
|
420
421
|
type: string;
|
|
421
|
-
index?: number;
|
|
422
|
+
index?: number | undefined;
|
|
422
423
|
}): import("../../models").ContentItem<import("@brand-page").Content> | undefined;
|
|
423
424
|
deleteItem(payload: {
|
|
424
425
|
id: string;
|
|
@@ -430,13 +431,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
430
431
|
updateIsDefaultTextColorRequired(): void;
|
|
431
432
|
setSelectedItemId(payload: {
|
|
432
433
|
id: string | null;
|
|
433
|
-
eventSource:
|
|
434
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
434
435
|
}): void;
|
|
435
436
|
setSelectedItemAndFieldName(payload: {
|
|
436
437
|
id: string | null;
|
|
437
438
|
name: string | null;
|
|
438
439
|
index: number | null;
|
|
439
|
-
eventSource:
|
|
440
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
440
441
|
}): void;
|
|
441
442
|
setSelectedItemValue(payload: {
|
|
442
443
|
value: string | null;
|
|
@@ -444,10 +445,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
444
445
|
setSelectedItemImage(payload: {
|
|
445
446
|
selectedItemId: string | null;
|
|
446
447
|
imageUrl: string;
|
|
447
|
-
width?: number;
|
|
448
|
-
height?: number;
|
|
449
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
450
|
-
aspectRatio?: number | null;
|
|
448
|
+
width?: number | undefined;
|
|
449
|
+
height?: number | undefined;
|
|
450
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
451
|
+
aspectRatio?: number | null | undefined;
|
|
451
452
|
}): void;
|
|
452
453
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
453
454
|
setItems(payload: {
|
|
@@ -459,19 +460,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
459
460
|
type: string;
|
|
460
461
|
}): Promise<void>;
|
|
461
462
|
setActiveCategoryTab(payload: {
|
|
462
|
-
activeCategoryTab:
|
|
463
|
+
activeCategoryTab: string;
|
|
463
464
|
}): void;
|
|
464
465
|
selectInitialContentCategory(payload: {
|
|
465
466
|
selectedCategory: string;
|
|
466
467
|
}): void;
|
|
467
468
|
initialiseItemState({ item, itemState, }: {
|
|
468
469
|
item: import("../../models").ContentItem<import("@brand-page").Content>;
|
|
469
|
-
itemState?: Partial<import("../../store").ContentSettingsState
|
|
470
|
+
itemState?: Partial<import("../../store").ContentSettingsState> | undefined;
|
|
470
471
|
}): void;
|
|
471
472
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
472
473
|
id: string;
|
|
473
474
|
groupId: string;
|
|
474
|
-
groupState?: import("../../models").ContentSettingsItemGroupState;
|
|
475
|
+
groupState?: import("../../models").ContentSettingsItemGroupState | undefined;
|
|
475
476
|
}): void;
|
|
476
477
|
}>;
|
|
477
478
|
sideBarStore: import("pinia").Store<"uiSideBar", import("../../../side-bar/store").SideBarState, {}, {
|
|
@@ -480,7 +481,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
480
481
|
}): void;
|
|
481
482
|
setSelectedTabName(payload: import("../../../side-bar/models").SetSelectedTabNamePayload): void;
|
|
482
483
|
setSelectedSettingsSection(payload: {
|
|
483
|
-
sectionName?: string;
|
|
484
|
+
sectionName?: string | undefined;
|
|
484
485
|
}): void;
|
|
485
486
|
}>;
|
|
486
487
|
eventTracker: {
|
|
@@ -515,15 +516,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
515
516
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
516
517
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
517
518
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
518
|
-
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
519
|
+
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
519
520
|
sendDomainUpsellOpenEvent: () => void;
|
|
520
521
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
521
522
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
522
523
|
sendPublishOpenEvent: () => void;
|
|
523
524
|
appendPublishBridgeState: (props: any) => void;
|
|
524
525
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
525
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
526
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
526
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean | undefined) => void;
|
|
527
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean | undefined) => void;
|
|
527
528
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
528
529
|
sendPublishOptionsForFreeEvent: () => void;
|
|
529
530
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -532,8 +533,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
532
533
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
533
534
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
534
535
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
535
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
536
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
536
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
537
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
537
538
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
538
539
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
539
540
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -560,18 +561,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
560
561
|
toggleButtonClick(): void;
|
|
561
562
|
sendSelectContentEvent(): void;
|
|
562
563
|
onPersonalisationRoleChange(payload: UpdateItemValuePayload<PersonalisationRole | undefined>): void;
|
|
563
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
564
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
564
565
|
id: {
|
|
565
566
|
type: StringConstructor;
|
|
566
567
|
required: true;
|
|
567
568
|
};
|
|
568
569
|
type: {
|
|
569
|
-
type: PropType<
|
|
570
|
+
type: PropType<"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">;
|
|
570
571
|
required: true;
|
|
571
572
|
};
|
|
572
|
-
}>> & Readonly<{
|
|
573
|
-
"onCapture-preview-snapshot"?: ((...args: any[]) => any) | undefined;
|
|
574
|
-
"onOn-delete"?: ((...args: any[]) => any) | undefined;
|
|
575
|
-
"onCapture-snapshot-before-modal"?: ((...args: any[]) => any) | undefined;
|
|
576
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
573
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
577
574
|
export default _default;
|
|
@@ -23,11 +23,6 @@ export default defineComponent({
|
|
|
23
23
|
required: true,
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
|
-
emits: [
|
|
27
|
-
'on-delete',
|
|
28
|
-
'capture-snapshot-before-modal',
|
|
29
|
-
'capture-preview-snapshot',
|
|
30
|
-
],
|
|
31
26
|
setup() {
|
|
32
27
|
const contentSettingsStore = useUiContentSettingsStore();
|
|
33
28
|
const sideBarStore = useUiSideBarStore();
|