@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,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="types/lodash-shims" />
|
|
1
2
|
import type { PropType } from 'vue';
|
|
2
3
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
3
4
|
import { type BrandPageData, type BrandPageType, type ViewportsType, type UserPersonalisationContent } from '@brand-page';
|
|
@@ -5,6 +6,7 @@ import type { InitialCategories, TemplateCategory } from '@shared/template-setti
|
|
|
5
6
|
import type { UserFeatures } from '@brand-page-maker/stores';
|
|
6
7
|
import { type LogoDesignAttributesModel } from '@shared/models';
|
|
7
8
|
import type { AdminPreviewLogoTemplateModel } from '@brand-page-maker/stores/admin-logo-settings';
|
|
9
|
+
import type { UpdateItemValuePayload } from '@shared/content-settings/models';
|
|
8
10
|
export interface BrandPageMakerViewModel {
|
|
9
11
|
adminPreviewLogoTemplateModels?: AdminPreviewLogoTemplateModel[];
|
|
10
12
|
brandPageData?: string;
|
|
@@ -18,8 +20,6 @@ export interface BrandPageMakerViewModel {
|
|
|
18
20
|
initialCategories: InitialCategories;
|
|
19
21
|
personalisation?: UserPersonalisationContent[];
|
|
20
22
|
isPersonalisationEnabled?: boolean;
|
|
21
|
-
userPromptContentKey?: string;
|
|
22
|
-
showAiTemplatesTab?: boolean;
|
|
23
23
|
brandPageType?: BrandPageType;
|
|
24
24
|
businessName?: string;
|
|
25
25
|
industry?: string;
|
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
}>, {
|
|
34
34
|
commonTr: (key: any) => any;
|
|
35
35
|
currentNotificationMessage: import("vue").ComputedRef<false | {
|
|
36
|
-
type: "
|
|
36
|
+
type: "error" | "success" | "warning";
|
|
37
37
|
label: string;
|
|
38
38
|
description: string | false;
|
|
39
39
|
}>;
|
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
brandPageToken(): string | undefined;
|
|
68
68
|
brandPageDescription(): string;
|
|
69
69
|
brandPageSlug(): string;
|
|
70
|
-
brandPageTemplate():
|
|
70
|
+
brandPageTemplate(): any;
|
|
71
71
|
brandPageTitle(): string;
|
|
72
72
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
73
73
|
gettyVideoIds(): string[];
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
showBrandCrowdLogo(): boolean;
|
|
83
83
|
}, {
|
|
84
84
|
setMode(payload: {
|
|
85
|
-
mode:
|
|
85
|
+
mode: "images" | "edit";
|
|
86
86
|
}): void;
|
|
87
87
|
setFaviconUrl(payload: {
|
|
88
88
|
faviconUrl: string | undefined;
|
|
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
118
|
isCookiePreviewEnabled: boolean;
|
|
119
119
|
}): void;
|
|
120
120
|
setFieldSettings(payload: {
|
|
121
|
-
settings: import("
|
|
121
|
+
settings: import("@shared/content-settings/models").FieldSettingsBase;
|
|
122
122
|
}): void;
|
|
123
123
|
enqueueNotificationMessage({ message, }: {
|
|
124
124
|
message: import("@brand-page-maker/stores").NotificationMessage;
|
|
@@ -126,7 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
126
126
|
enqueueContentErrorMessage(): void;
|
|
127
127
|
dequeueNotificationMessageQueue(): void;
|
|
128
128
|
setCurrentNotificationMessage(payload: {
|
|
129
|
-
message: import("@brand-page-maker/stores").NotificationMessage
|
|
129
|
+
message: false | import("@brand-page-maker/stores").NotificationMessage;
|
|
130
130
|
}): void;
|
|
131
131
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
132
132
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -145,9 +145,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
145
|
applySelectedTemplate(): Promise<void>;
|
|
146
146
|
enqueueErrorMessage(): Promise<void>;
|
|
147
147
|
enqueueSaveSuccessMessage(payload?: {
|
|
148
|
-
description?: string;
|
|
149
|
-
isPublished?: boolean;
|
|
150
|
-
noDescription?: boolean;
|
|
148
|
+
description?: string | undefined;
|
|
149
|
+
isPublished?: boolean | undefined;
|
|
150
|
+
noDescription?: boolean | undefined;
|
|
151
151
|
}): Promise<void>;
|
|
152
152
|
hideChangeTemplateConfirmModal(): void;
|
|
153
153
|
onBackgroundChanged(): void;
|
|
@@ -163,16 +163,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
163
|
content: TContent;
|
|
164
164
|
}>(payload: P): Promise<void>;
|
|
165
165
|
_captureTemplateSwitchIfEnabled(): void;
|
|
166
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
167
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
168
|
-
_navigateToActivePage(activePageId?: string): void;
|
|
166
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string | undefined, logoEditsStr?: string | undefined): Promise<void>;
|
|
167
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string | undefined): Promise<void>;
|
|
168
|
+
_navigateToActivePage(activePageId?: string | undefined): void;
|
|
169
169
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
170
170
|
export(): import("@brand-page").BrandPageModel;
|
|
171
171
|
setBrandPageType({ brandPageType }: {
|
|
172
|
-
brandPageType:
|
|
172
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
173
173
|
}): void;
|
|
174
174
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
175
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled,
|
|
175
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
176
176
|
initialisePages({ pages, sections, }: {
|
|
177
177
|
pages: import("@brand-page").PageModel[];
|
|
178
178
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -200,7 +200,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
200
|
viewport: ViewportsType;
|
|
201
201
|
}): void;
|
|
202
202
|
showStripeOnboardingModal(): Promise<void>;
|
|
203
|
-
selectInitialCategories(payload:
|
|
203
|
+
selectInitialCategories(payload: InitialCategories): void;
|
|
204
204
|
}>;
|
|
205
205
|
uiSideBarStore: import("pinia").Store<"uiSideBar", import("@shared/side-bar/store").SideBarState, {}, {
|
|
206
206
|
setBrandPageSettingsTabVisibility(payload: {
|
|
@@ -208,17 +208,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
208
208
|
}): void;
|
|
209
209
|
setSelectedTabName(payload: import("../../../lib").SetSelectedTabNamePayload): void;
|
|
210
210
|
setSelectedSettingsSection(payload: {
|
|
211
|
-
sectionName?: string;
|
|
211
|
+
sectionName?: string | undefined;
|
|
212
212
|
}): void;
|
|
213
213
|
}>;
|
|
214
214
|
userStore: import("pinia").Store<"brandPageMakerUser", import("@brand-page-maker/stores").UserState, {}, {
|
|
215
215
|
setUserState(payload: {
|
|
216
|
-
emailAddress?: string;
|
|
217
|
-
userToken?: string;
|
|
218
|
-
isAdmin?: boolean;
|
|
219
|
-
hasPremiumSubscription?: boolean;
|
|
220
|
-
brandPageCommissionPercentage?: number;
|
|
221
|
-
features?: Partial<
|
|
216
|
+
emailAddress?: string | undefined;
|
|
217
|
+
userToken?: string | undefined;
|
|
218
|
+
isAdmin?: boolean | undefined;
|
|
219
|
+
hasPremiumSubscription?: boolean | undefined;
|
|
220
|
+
brandPageCommissionPercentage?: number | undefined;
|
|
221
|
+
features?: Partial<import("../../../constants/ui").UIUserFeatures> | undefined;
|
|
222
222
|
}): void;
|
|
223
223
|
}>;
|
|
224
224
|
containerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
|
|
@@ -242,8 +242,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
242
242
|
updated: Date;
|
|
243
243
|
brandPageToken: string;
|
|
244
244
|
domainName: string;
|
|
245
|
-
status:
|
|
246
|
-
dnsConfigurationStatus:
|
|
245
|
+
status: "active" | "pending" | "failed" | "renewFailed" | "deleted";
|
|
246
|
+
dnsConfigurationStatus: "request_expired" | "missing_expected_dns_records" | "invalid_multiple_dns_records_exist" | "unexpected_aaaa_record" | "completed";
|
|
247
247
|
triggerOrigin?: string | undefined;
|
|
248
248
|
} | null;
|
|
249
249
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -299,7 +299,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
299
299
|
};
|
|
300
300
|
isSubsequentPublish: boolean;
|
|
301
301
|
isContextualUpgradeModalVisible: boolean;
|
|
302
|
-
contextualUpgradeType:
|
|
302
|
+
contextualUpgradeType: string | number | symbol | undefined;
|
|
303
303
|
requestVerificationToken?: string | undefined;
|
|
304
304
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
305
305
|
isUserDraft: (state: {
|
|
@@ -320,8 +320,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
320
320
|
updated: Date;
|
|
321
321
|
brandPageToken: string;
|
|
322
322
|
domainName: string;
|
|
323
|
-
status:
|
|
324
|
-
dnsConfigurationStatus:
|
|
323
|
+
status: "active" | "pending" | "failed" | "renewFailed" | "deleted";
|
|
324
|
+
dnsConfigurationStatus: "request_expired" | "missing_expected_dns_records" | "invalid_multiple_dns_records_exist" | "unexpected_aaaa_record" | "completed";
|
|
325
325
|
triggerOrigin?: string | undefined;
|
|
326
326
|
} | null;
|
|
327
327
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -377,7 +377,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
377
377
|
};
|
|
378
378
|
isSubsequentPublish: boolean;
|
|
379
379
|
isContextualUpgradeModalVisible: boolean;
|
|
380
|
-
contextualUpgradeType:
|
|
380
|
+
contextualUpgradeType: string | number | symbol | undefined;
|
|
381
381
|
requestVerificationToken?: string | undefined;
|
|
382
382
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
383
383
|
}, {
|
|
@@ -414,7 +414,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
414
414
|
setIsSubsequentPublish(payload: any): void;
|
|
415
415
|
clearPublishErrorMessage(): void;
|
|
416
416
|
closePublishModal(payload?: {
|
|
417
|
-
skipShowNextNotificationMessage?: boolean;
|
|
417
|
+
skipShowNextNotificationMessage?: boolean | undefined;
|
|
418
418
|
}): Promise<void>;
|
|
419
419
|
closeUpgradeModal(): Promise<void>;
|
|
420
420
|
endBrandPageSlugEditMode(): void;
|
|
@@ -437,8 +437,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
437
437
|
redirectToStripeOnboarding(): Promise<void>;
|
|
438
438
|
exportDesignAsync(): Promise<any>;
|
|
439
439
|
saveBrandPage(payload?: {
|
|
440
|
-
isPublish?: boolean;
|
|
441
|
-
eventButtonLocation?: string;
|
|
440
|
+
isPublish?: boolean | undefined;
|
|
441
|
+
eventButtonLocation?: string | undefined;
|
|
442
442
|
}): Promise<false | {
|
|
443
443
|
saved: boolean;
|
|
444
444
|
canPublish: boolean;
|
|
@@ -447,9 +447,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
447
447
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
448
448
|
saveTemplate(): Promise<void>;
|
|
449
449
|
setBrandPageStatus(status: any): Promise<void>;
|
|
450
|
-
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
450
|
+
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
451
451
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
452
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
452
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined, cta?: string | undefined): Promise<void>;
|
|
453
453
|
getContextualUpgradeResponseAsync(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
454
454
|
showStripeOnboardingModal(): void;
|
|
455
455
|
closeStripeOnboardingModal(): void;
|
|
@@ -484,23 +484,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
484
484
|
contentErrorCount(): number;
|
|
485
485
|
getContent(state: {
|
|
486
486
|
addContentOptions: {
|
|
487
|
-
type:
|
|
487
|
+
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";
|
|
488
488
|
category: string;
|
|
489
|
-
createInitialContent: (options: import("
|
|
489
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
490
490
|
displayName: string;
|
|
491
491
|
iconName: string;
|
|
492
492
|
isEnabled: boolean;
|
|
493
493
|
isLocked: boolean;
|
|
494
|
-
displayMode?:
|
|
494
|
+
displayMode?: "default" | "focused" | undefined;
|
|
495
495
|
}[];
|
|
496
496
|
items: {
|
|
497
497
|
id: string;
|
|
498
|
-
type:
|
|
498
|
+
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";
|
|
499
499
|
settings: {
|
|
500
500
|
content: {
|
|
501
501
|
id: string;
|
|
502
|
-
type:
|
|
503
|
-
personalisationRole?:
|
|
502
|
+
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";
|
|
503
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
504
504
|
topPadding?: number | undefined;
|
|
505
505
|
bottomPadding?: number | undefined;
|
|
506
506
|
imageUrlOverride?: string | undefined;
|
|
@@ -516,42 +516,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
516
516
|
textOverride?: string | undefined;
|
|
517
517
|
paragraphOverride?: string | undefined;
|
|
518
518
|
};
|
|
519
|
-
fields: Record<string, import("
|
|
519
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
520
520
|
};
|
|
521
521
|
}[];
|
|
522
|
-
itemStates: Record<string, import("
|
|
522
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
523
523
|
modeStack: {
|
|
524
|
-
mode:
|
|
524
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
525
525
|
selectedItemId?: string | undefined;
|
|
526
526
|
selectedItemFieldName?: string | undefined;
|
|
527
527
|
selectedItemIndex?: number | undefined;
|
|
528
528
|
}[];
|
|
529
529
|
selectedItemId: string | null;
|
|
530
|
-
selectedItemEventSource:
|
|
530
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
531
531
|
selectedItemFieldName: string | null;
|
|
532
532
|
selectedItemValue: string | null;
|
|
533
533
|
selectedItemIndex: number | null;
|
|
534
|
-
activeCategoryTab:
|
|
534
|
+
activeCategoryTab: string;
|
|
535
535
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@brand-page").Content | undefined;
|
|
536
536
|
getFieldSettings(state: {
|
|
537
537
|
addContentOptions: {
|
|
538
|
-
type:
|
|
538
|
+
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";
|
|
539
539
|
category: string;
|
|
540
|
-
createInitialContent: (options: import("
|
|
540
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
541
541
|
displayName: string;
|
|
542
542
|
iconName: string;
|
|
543
543
|
isEnabled: boolean;
|
|
544
544
|
isLocked: boolean;
|
|
545
|
-
displayMode?:
|
|
545
|
+
displayMode?: "default" | "focused" | undefined;
|
|
546
546
|
}[];
|
|
547
547
|
items: {
|
|
548
548
|
id: string;
|
|
549
|
-
type:
|
|
549
|
+
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";
|
|
550
550
|
settings: {
|
|
551
551
|
content: {
|
|
552
552
|
id: string;
|
|
553
|
-
type:
|
|
554
|
-
personalisationRole?:
|
|
553
|
+
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";
|
|
554
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
555
555
|
topPadding?: number | undefined;
|
|
556
556
|
bottomPadding?: number | undefined;
|
|
557
557
|
imageUrlOverride?: string | undefined;
|
|
@@ -567,42 +567,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
567
567
|
textOverride?: string | undefined;
|
|
568
568
|
paragraphOverride?: string | undefined;
|
|
569
569
|
};
|
|
570
|
-
fields: Record<string, import("
|
|
570
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
571
571
|
};
|
|
572
572
|
}[];
|
|
573
|
-
itemStates: Record<string, import("
|
|
573
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
574
574
|
modeStack: {
|
|
575
|
-
mode:
|
|
575
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
576
576
|
selectedItemId?: string | undefined;
|
|
577
577
|
selectedItemFieldName?: string | undefined;
|
|
578
578
|
selectedItemIndex?: number | undefined;
|
|
579
579
|
}[];
|
|
580
580
|
selectedItemId: string | null;
|
|
581
|
-
selectedItemEventSource:
|
|
581
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
582
582
|
selectedItemFieldName: string | null;
|
|
583
583
|
selectedItemValue: string | null;
|
|
584
584
|
selectedItemIndex: number | null;
|
|
585
|
-
activeCategoryTab:
|
|
586
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("
|
|
585
|
+
activeCategoryTab: string;
|
|
586
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
587
587
|
getItem(state: {
|
|
588
588
|
addContentOptions: {
|
|
589
|
-
type:
|
|
589
|
+
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";
|
|
590
590
|
category: string;
|
|
591
|
-
createInitialContent: (options: import("
|
|
591
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
592
592
|
displayName: string;
|
|
593
593
|
iconName: string;
|
|
594
594
|
isEnabled: boolean;
|
|
595
595
|
isLocked: boolean;
|
|
596
|
-
displayMode?:
|
|
596
|
+
displayMode?: "default" | "focused" | undefined;
|
|
597
597
|
}[];
|
|
598
598
|
items: {
|
|
599
599
|
id: string;
|
|
600
|
-
type:
|
|
600
|
+
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";
|
|
601
601
|
settings: {
|
|
602
602
|
content: {
|
|
603
603
|
id: string;
|
|
604
|
-
type:
|
|
605
|
-
personalisationRole?:
|
|
604
|
+
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";
|
|
605
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
606
606
|
topPadding?: number | undefined;
|
|
607
607
|
bottomPadding?: number | undefined;
|
|
608
608
|
imageUrlOverride?: string | undefined;
|
|
@@ -618,42 +618,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
618
618
|
textOverride?: string | undefined;
|
|
619
619
|
paragraphOverride?: string | undefined;
|
|
620
620
|
};
|
|
621
|
-
fields: Record<string, import("
|
|
621
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
622
622
|
};
|
|
623
623
|
}[];
|
|
624
|
-
itemStates: Record<string, import("
|
|
624
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
625
625
|
modeStack: {
|
|
626
|
-
mode:
|
|
626
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
627
627
|
selectedItemId?: string | undefined;
|
|
628
628
|
selectedItemFieldName?: string | undefined;
|
|
629
629
|
selectedItemIndex?: number | undefined;
|
|
630
630
|
}[];
|
|
631
631
|
selectedItemId: string | null;
|
|
632
|
-
selectedItemEventSource:
|
|
632
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
633
633
|
selectedItemFieldName: string | null;
|
|
634
634
|
selectedItemValue: string | null;
|
|
635
635
|
selectedItemIndex: number | null;
|
|
636
|
-
activeCategoryTab:
|
|
637
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("
|
|
636
|
+
activeCategoryTab: string;
|
|
637
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@shared/content-settings/models").ContentItem<any> | undefined;
|
|
638
638
|
getValue(state: {
|
|
639
639
|
addContentOptions: {
|
|
640
|
-
type:
|
|
640
|
+
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";
|
|
641
641
|
category: string;
|
|
642
|
-
createInitialContent: (options: import("
|
|
642
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
643
643
|
displayName: string;
|
|
644
644
|
iconName: string;
|
|
645
645
|
isEnabled: boolean;
|
|
646
646
|
isLocked: boolean;
|
|
647
|
-
displayMode?:
|
|
647
|
+
displayMode?: "default" | "focused" | undefined;
|
|
648
648
|
}[];
|
|
649
649
|
items: {
|
|
650
650
|
id: string;
|
|
651
|
-
type:
|
|
651
|
+
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";
|
|
652
652
|
settings: {
|
|
653
653
|
content: {
|
|
654
654
|
id: string;
|
|
655
|
-
type:
|
|
656
|
-
personalisationRole?:
|
|
655
|
+
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";
|
|
656
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
657
657
|
topPadding?: number | undefined;
|
|
658
658
|
bottomPadding?: number | undefined;
|
|
659
659
|
imageUrlOverride?: string | undefined;
|
|
@@ -669,42 +669,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
669
669
|
textOverride?: string | undefined;
|
|
670
670
|
paragraphOverride?: string | undefined;
|
|
671
671
|
};
|
|
672
|
-
fields: Record<string, import("
|
|
672
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
673
673
|
};
|
|
674
674
|
}[];
|
|
675
|
-
itemStates: Record<string, import("
|
|
675
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
676
676
|
modeStack: {
|
|
677
|
-
mode:
|
|
677
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
678
678
|
selectedItemId?: string | undefined;
|
|
679
679
|
selectedItemFieldName?: string | undefined;
|
|
680
680
|
selectedItemIndex?: number | undefined;
|
|
681
681
|
}[];
|
|
682
682
|
selectedItemId: string | null;
|
|
683
|
-
selectedItemEventSource:
|
|
683
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
684
684
|
selectedItemFieldName: string | null;
|
|
685
685
|
selectedItemValue: string | null;
|
|
686
686
|
selectedItemIndex: number | null;
|
|
687
|
-
activeCategoryTab:
|
|
688
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@brand-page").Content |
|
|
687
|
+
activeCategoryTab: string;
|
|
688
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | import("@brand-page").Content | undefined;
|
|
689
689
|
getItemState(state: {
|
|
690
690
|
addContentOptions: {
|
|
691
|
-
type:
|
|
691
|
+
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";
|
|
692
692
|
category: string;
|
|
693
|
-
createInitialContent: (options: import("
|
|
693
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
694
694
|
displayName: string;
|
|
695
695
|
iconName: string;
|
|
696
696
|
isEnabled: boolean;
|
|
697
697
|
isLocked: boolean;
|
|
698
|
-
displayMode?:
|
|
698
|
+
displayMode?: "default" | "focused" | undefined;
|
|
699
699
|
}[];
|
|
700
700
|
items: {
|
|
701
701
|
id: string;
|
|
702
|
-
type:
|
|
702
|
+
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";
|
|
703
703
|
settings: {
|
|
704
704
|
content: {
|
|
705
705
|
id: string;
|
|
706
|
-
type:
|
|
707
|
-
personalisationRole?:
|
|
706
|
+
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";
|
|
707
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
708
708
|
topPadding?: number | undefined;
|
|
709
709
|
bottomPadding?: number | undefined;
|
|
710
710
|
imageUrlOverride?: string | undefined;
|
|
@@ -720,42 +720,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
720
720
|
textOverride?: string | undefined;
|
|
721
721
|
paragraphOverride?: string | undefined;
|
|
722
722
|
};
|
|
723
|
-
fields: Record<string, import("
|
|
723
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
724
724
|
};
|
|
725
725
|
}[];
|
|
726
|
-
itemStates: Record<string, import("
|
|
726
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
727
727
|
modeStack: {
|
|
728
|
-
mode:
|
|
728
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
729
729
|
selectedItemId?: string | undefined;
|
|
730
730
|
selectedItemFieldName?: string | undefined;
|
|
731
731
|
selectedItemIndex?: number | undefined;
|
|
732
732
|
}[];
|
|
733
733
|
selectedItemId: string | null;
|
|
734
|
-
selectedItemEventSource:
|
|
734
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
735
735
|
selectedItemFieldName: string | null;
|
|
736
736
|
selectedItemValue: string | null;
|
|
737
737
|
selectedItemIndex: number | null;
|
|
738
|
-
activeCategoryTab:
|
|
739
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("
|
|
738
|
+
activeCategoryTab: string;
|
|
739
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@shared/content-settings/models").ContentSettingsItemState;
|
|
740
740
|
getItemGroupState(state: {
|
|
741
741
|
addContentOptions: {
|
|
742
|
-
type:
|
|
742
|
+
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";
|
|
743
743
|
category: string;
|
|
744
|
-
createInitialContent: (options: import("
|
|
744
|
+
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
745
745
|
displayName: string;
|
|
746
746
|
iconName: string;
|
|
747
747
|
isEnabled: boolean;
|
|
748
748
|
isLocked: boolean;
|
|
749
|
-
displayMode?:
|
|
749
|
+
displayMode?: "default" | "focused" | undefined;
|
|
750
750
|
}[];
|
|
751
751
|
items: {
|
|
752
752
|
id: string;
|
|
753
|
-
type:
|
|
753
|
+
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";
|
|
754
754
|
settings: {
|
|
755
755
|
content: {
|
|
756
756
|
id: string;
|
|
757
|
-
type:
|
|
758
|
-
personalisationRole?:
|
|
757
|
+
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";
|
|
758
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
759
759
|
topPadding?: number | undefined;
|
|
760
760
|
bottomPadding?: number | undefined;
|
|
761
761
|
imageUrlOverride?: string | undefined;
|
|
@@ -771,31 +771,31 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
771
771
|
textOverride?: string | undefined;
|
|
772
772
|
paragraphOverride?: string | undefined;
|
|
773
773
|
};
|
|
774
|
-
fields: Record<string, import("
|
|
774
|
+
fields: Record<string, import("@shared/content-settings/models").ContentItemFieldSettings>;
|
|
775
775
|
};
|
|
776
776
|
}[];
|
|
777
|
-
itemStates: Record<string, import("
|
|
777
|
+
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
778
778
|
modeStack: {
|
|
779
|
-
mode:
|
|
779
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
780
780
|
selectedItemId?: string | undefined;
|
|
781
781
|
selectedItemFieldName?: string | undefined;
|
|
782
782
|
selectedItemIndex?: number | undefined;
|
|
783
783
|
}[];
|
|
784
784
|
selectedItemId: string | null;
|
|
785
|
-
selectedItemEventSource:
|
|
785
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
786
786
|
selectedItemFieldName: string | null;
|
|
787
787
|
selectedItemValue: string | null;
|
|
788
788
|
selectedItemIndex: number | null;
|
|
789
|
-
activeCategoryTab:
|
|
790
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("
|
|
791
|
-
mode():
|
|
792
|
-
selectedItem(): import("
|
|
793
|
-
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any> | undefined;
|
|
789
|
+
activeCategoryTab: string;
|
|
790
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
791
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
792
|
+
selectedItem(): import("@shared/content-settings/models").ContentItem<any> | undefined;
|
|
793
|
+
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any, {}> | undefined;
|
|
794
794
|
}, {
|
|
795
795
|
onContentChanged(): void;
|
|
796
796
|
_addItem({ item, index, }: {
|
|
797
|
-
item: import("
|
|
798
|
-
index?: number;
|
|
797
|
+
item: import("@shared/content-settings/models").ContentItem<any>;
|
|
798
|
+
index?: number | undefined;
|
|
799
799
|
}): void;
|
|
800
800
|
setState(payload: {
|
|
801
801
|
newState: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
@@ -807,12 +807,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
807
807
|
id: string;
|
|
808
808
|
}): void;
|
|
809
809
|
_setAddContentOptions({ addContentOptions, }: {
|
|
810
|
-
addContentOptions: import("
|
|
810
|
+
addContentOptions: import("@shared/content-settings/models").AddContentOption<any>[];
|
|
811
811
|
}): void;
|
|
812
|
-
_setItemSettingsFieldErrorState(payload: import("
|
|
812
|
+
_setItemSettingsFieldErrorState(payload: import("@shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
813
813
|
_setSelectedItemId({ id, eventSource, }: {
|
|
814
814
|
id: string | null;
|
|
815
|
-
eventSource:
|
|
815
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
816
816
|
}): void;
|
|
817
817
|
_setSelectedItemFieldName({ name: name }: {
|
|
818
818
|
name: string | null;
|
|
@@ -826,14 +826,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
826
826
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
827
827
|
selectedItemId: string | null;
|
|
828
828
|
imageUrl: string;
|
|
829
|
-
width?: number;
|
|
830
|
-
height?: number;
|
|
831
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
832
|
-
aspectRatio?: number | null;
|
|
829
|
+
width?: number | undefined;
|
|
830
|
+
height?: number | undefined;
|
|
831
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
832
|
+
aspectRatio?: number | null | undefined;
|
|
833
833
|
}): void;
|
|
834
834
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
835
835
|
_setItems({ items }: {
|
|
836
|
-
items: import("
|
|
836
|
+
items: import("@shared/content-settings/models").ContentItem<any>[];
|
|
837
837
|
}): void;
|
|
838
838
|
updateContent<T extends import("@brand-page").Content>({ id, content, }: {
|
|
839
839
|
id: string;
|
|
@@ -842,27 +842,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
842
842
|
popMode(): void;
|
|
843
843
|
pushMode(item: import("@shared/content-settings/store").ContentSettingsModeStackItem): void;
|
|
844
844
|
resetMode(): void;
|
|
845
|
-
updateItemValue(payload:
|
|
846
|
-
updateMultipleItemValues({ id, name, value, }: import("
|
|
847
|
-
updateTextStyleType({ id, name, value, }: import("
|
|
848
|
-
updateTextStyles({ id, name, value, }: import("
|
|
845
|
+
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
846
|
+
updateMultipleItemValues({ id, name, value, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
847
|
+
updateTextStyleType({ id, name, value, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
848
|
+
updateTextStyles({ id, name, value, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
849
849
|
getTextStyles({ id, name }: {
|
|
850
850
|
id: string;
|
|
851
851
|
name: string;
|
|
852
852
|
}): unknown;
|
|
853
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("
|
|
854
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("
|
|
853
|
+
updateTextItemTextStyleType({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
854
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
855
855
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
856
|
-
activeCategoryTab:
|
|
856
|
+
activeCategoryTab: string;
|
|
857
857
|
}): void;
|
|
858
858
|
setItemState({ id, itemState, }: {
|
|
859
859
|
id: string;
|
|
860
|
-
itemState: import("
|
|
860
|
+
itemState: import("@shared/content-settings/models").ContentSettingsItemState;
|
|
861
861
|
}): void;
|
|
862
862
|
setItemGroupState({ id, groupId, groupState, }: {
|
|
863
863
|
id: string;
|
|
864
864
|
groupId: string;
|
|
865
|
-
groupState: import("
|
|
865
|
+
groupState: import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
866
866
|
}): void;
|
|
867
867
|
collapseAllItems(): void;
|
|
868
868
|
setItemIsCollapsed({ id, isCollapsed, }: {
|
|
@@ -876,25 +876,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
876
876
|
}): void;
|
|
877
877
|
addItemByType({ type, index, }: {
|
|
878
878
|
type: string;
|
|
879
|
-
index?: number;
|
|
880
|
-
}): import("
|
|
879
|
+
index?: number | undefined;
|
|
880
|
+
}): import("@shared/content-settings/models").ContentItem<import("@brand-page").Content> | undefined;
|
|
881
881
|
deleteItem(payload: {
|
|
882
882
|
id: string;
|
|
883
883
|
}): void;
|
|
884
884
|
getContentCategory(type: string): any;
|
|
885
885
|
setAddContentOptions(payload: {
|
|
886
|
-
addContentOptions: import("
|
|
886
|
+
addContentOptions: import("@shared/content-settings/models").AddContentOption<any>[];
|
|
887
887
|
}): void;
|
|
888
888
|
updateIsDefaultTextColorRequired(): void;
|
|
889
889
|
setSelectedItemId(payload: {
|
|
890
890
|
id: string | null;
|
|
891
|
-
eventSource:
|
|
891
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
892
892
|
}): void;
|
|
893
893
|
setSelectedItemAndFieldName(payload: {
|
|
894
894
|
id: string | null;
|
|
895
895
|
name: string | null;
|
|
896
896
|
index: number | null;
|
|
897
|
-
eventSource:
|
|
897
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
898
898
|
}): void;
|
|
899
899
|
setSelectedItemValue(payload: {
|
|
900
900
|
value: string | null;
|
|
@@ -902,34 +902,34 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
902
902
|
setSelectedItemImage(payload: {
|
|
903
903
|
selectedItemId: string | null;
|
|
904
904
|
imageUrl: string;
|
|
905
|
-
width?: number;
|
|
906
|
-
height?: number;
|
|
907
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
908
|
-
aspectRatio?: number | null;
|
|
905
|
+
width?: number | undefined;
|
|
906
|
+
height?: number | undefined;
|
|
907
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
908
|
+
aspectRatio?: number | null | undefined;
|
|
909
909
|
}): void;
|
|
910
910
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
911
911
|
setItems(payload: {
|
|
912
|
-
items: import("
|
|
912
|
+
items: import("@shared/content-settings/models").ContentItem<import("@brand-page").Content>[];
|
|
913
913
|
}): void;
|
|
914
|
-
validateItem(payload: import("
|
|
914
|
+
validateItem(payload: import("@shared/content-settings/models").ValidateItemPayload): void;
|
|
915
915
|
validateItems(): Promise<void>;
|
|
916
916
|
triggerLockedContentClickedEvent(payload: {
|
|
917
917
|
type: string;
|
|
918
918
|
}): Promise<void>;
|
|
919
919
|
setActiveCategoryTab(payload: {
|
|
920
|
-
activeCategoryTab:
|
|
920
|
+
activeCategoryTab: string;
|
|
921
921
|
}): void;
|
|
922
922
|
selectInitialContentCategory(payload: {
|
|
923
923
|
selectedCategory: string;
|
|
924
924
|
}): void;
|
|
925
925
|
initialiseItemState({ item, itemState, }: {
|
|
926
|
-
item: import("
|
|
927
|
-
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState
|
|
926
|
+
item: import("@shared/content-settings/models").ContentItem<import("@brand-page").Content>;
|
|
927
|
+
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState> | undefined;
|
|
928
928
|
}): void;
|
|
929
929
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
930
930
|
id: string;
|
|
931
931
|
groupId: string;
|
|
932
|
-
groupState?: import("
|
|
932
|
+
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState | undefined;
|
|
933
933
|
}): void;
|
|
934
934
|
}>;
|
|
935
935
|
uiStore: import("pinia").Store<"ui", import("@shared/models").UIRootState, {
|
|
@@ -945,20 +945,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
945
945
|
thirdPartySettings: import("@shared/models").UIRootStateThirdPartySettings;
|
|
946
946
|
}): void;
|
|
947
947
|
setDeviceMode({ mode }: {
|
|
948
|
-
mode:
|
|
948
|
+
mode: "desktop" | "mobile";
|
|
949
949
|
}): void;
|
|
950
950
|
setScreenSizeMode({ mode }: {
|
|
951
|
-
mode:
|
|
951
|
+
mode: "desktop" | "mobile";
|
|
952
952
|
}): void;
|
|
953
953
|
setUserPersonalisationData({ personalisationData, }: {
|
|
954
954
|
personalisationData: UserPersonalisationContent[];
|
|
955
955
|
}): void;
|
|
956
|
-
setUserPromptContentKey({ userPromptContentKey, }: {
|
|
957
|
-
userPromptContentKey: string | undefined;
|
|
958
|
-
}): void;
|
|
959
|
-
setShowAiTemplatesTab({ showAiTemplatesTab, }: {
|
|
960
|
-
showAiTemplatesTab: boolean;
|
|
961
|
-
}): void;
|
|
962
956
|
onBackgroundChanged(): void;
|
|
963
957
|
onContentChanged(): void;
|
|
964
958
|
onStyleChanged(): void;
|
|
@@ -971,7 +965,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
971
965
|
type: string;
|
|
972
966
|
}): Promise<void>;
|
|
973
967
|
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
974
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
968
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined): Promise<void>;
|
|
975
969
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
976
970
|
isPersonalisationEnabled: boolean;
|
|
977
971
|
}): void;
|
|
@@ -986,14 +980,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
986
980
|
setContentsByActivePage(): void;
|
|
987
981
|
setPageContents({ pageId, contents, }: {
|
|
988
982
|
pageId: string;
|
|
989
|
-
contents: import("
|
|
983
|
+
contents: import("@shared/content-settings/models").ContentItem<import("@brand-page").Content>[];
|
|
990
984
|
}): void;
|
|
991
985
|
setPages({ pages }: {
|
|
992
986
|
pages: import("../../../shared/page-settings/models").ContentPage[];
|
|
993
987
|
}): void;
|
|
994
988
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
995
989
|
isNewPageModalVisible: boolean;
|
|
996
|
-
parentPageId?: string;
|
|
990
|
+
parentPageId?: string | undefined;
|
|
997
991
|
}): Promise<void>;
|
|
998
992
|
addPage({ page }: {
|
|
999
993
|
page: import("../../../shared/page-settings/models").ContentPage;
|
|
@@ -1008,22 +1002,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1008
1002
|
pageId: string;
|
|
1009
1003
|
}): void;
|
|
1010
1004
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
1011
|
-
sectionName:
|
|
1012
|
-
propName:
|
|
1013
|
-
index?: number;
|
|
1014
|
-
value: string | boolean | import("@brand-page").LinksItem[] |
|
|
1015
|
-
merge?: boolean;
|
|
1005
|
+
sectionName: "footer" | "header" | "pages";
|
|
1006
|
+
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "navigation" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
1007
|
+
index?: number | undefined;
|
|
1008
|
+
value: string | number | boolean | BrandPageCssStyle | import("@brand-page").LinksItem[] | Partial<import("@brand-page").ImageItem> | null | undefined;
|
|
1009
|
+
merge?: boolean | undefined;
|
|
1016
1010
|
viewport: ViewportsType;
|
|
1017
1011
|
}): void;
|
|
1018
1012
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
1019
1013
|
logoImage: import("@brand-page").LogoImageModel;
|
|
1020
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
1014
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel | undefined;
|
|
1021
1015
|
logoImageBase64Url: string | undefined;
|
|
1022
|
-
sectionName:
|
|
1016
|
+
sectionName: "footer" | "header" | "pages";
|
|
1023
1017
|
viewport: ViewportsType;
|
|
1024
|
-
keepLogoVariation?: boolean;
|
|
1025
|
-
logoImageHeight?: string;
|
|
1026
|
-
logoImageWidth?: string;
|
|
1018
|
+
keepLogoVariation?: boolean | undefined;
|
|
1019
|
+
logoImageHeight?: string | undefined;
|
|
1020
|
+
logoImageWidth?: string | undefined;
|
|
1027
1021
|
}): void;
|
|
1028
1022
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
1029
1023
|
sectionName: string;
|
|
@@ -1038,13 +1032,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1038
1032
|
}): void;
|
|
1039
1033
|
addNewPage(payload: {
|
|
1040
1034
|
title: string;
|
|
1041
|
-
newPageParentId?: string;
|
|
1035
|
+
newPageParentId?: string | undefined;
|
|
1042
1036
|
}): import("../../../shared/page-settings/models").ContentPage;
|
|
1043
1037
|
setSelectedSectionName({ sectionName, }: {
|
|
1044
|
-
sectionName?:
|
|
1038
|
+
sectionName?: "footer" | "header" | "pages" | undefined;
|
|
1045
1039
|
}): void;
|
|
1046
1040
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
1047
|
-
sectionName:
|
|
1041
|
+
sectionName: "footer" | "header" | "pages";
|
|
1048
1042
|
isCollapsed: boolean;
|
|
1049
1043
|
}): void;
|
|
1050
1044
|
collapseAllSections(): void;
|
|
@@ -1075,7 +1069,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1075
1069
|
searchTerm: string | undefined;
|
|
1076
1070
|
}): void;
|
|
1077
1071
|
_setSelectedTab({ tabName }: {
|
|
1078
|
-
tabName:
|
|
1072
|
+
tabName: "AI" | "all" | "categories";
|
|
1079
1073
|
}): void;
|
|
1080
1074
|
_setSelectedCategory({ categoryName, }: {
|
|
1081
1075
|
categoryName: string | undefined;
|
|
@@ -1103,10 +1097,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1103
1097
|
}): void;
|
|
1104
1098
|
setInitialSearchTerm(payload: {
|
|
1105
1099
|
initialSearchTerm: string;
|
|
1106
|
-
onSearchTermChanged?: import("@shared/template-settings/store").OnSearchTermChangedCallback;
|
|
1107
|
-
}): void;
|
|
1108
|
-
setAiTemplateKeywords(payload: {
|
|
1109
|
-
aiTemplateKeywords: string;
|
|
1100
|
+
onSearchTermChanged?: import("@shared/template-settings/store").OnSearchTermChangedCallback | undefined;
|
|
1110
1101
|
}): void;
|
|
1111
1102
|
notifySearchTermChanged(searchTerm: string | undefined): void;
|
|
1112
1103
|
clearTemplates(): void;
|
|
@@ -1232,7 +1223,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1232
1223
|
setImageUpload(option: any): void;
|
|
1233
1224
|
getProductModel(): import("@brand-page/models/shop.model").ProductModel;
|
|
1234
1225
|
}>;
|
|
1235
|
-
router: import("vue-router").
|
|
1226
|
+
router: import("vue-router").Router;
|
|
1236
1227
|
snapshotStore: import("pinia").Store<"snapshot", import("@brand-page-maker/stores").SnapshotState, {
|
|
1237
1228
|
hasSnapshot: (state: {
|
|
1238
1229
|
snapshotBase64: string | null;
|
|
@@ -1284,27 +1275,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1284
1275
|
pageNavigationStore: import("pinia").Store<"pageNavigation", import("@src/shared/page-navigation/store/page-navigation-store").PageNavigationState, {
|
|
1285
1276
|
nav(): import("@brand-page").NavModel;
|
|
1286
1277
|
}, {
|
|
1287
|
-
getPageSlugsForDepth(parentRouteId?: string): string[];
|
|
1278
|
+
getPageSlugsForDepth(parentRouteId?: string | undefined): string[];
|
|
1288
1279
|
getParentRouteIdForPage(pageId: string): string | undefined;
|
|
1289
1280
|
getParentRouteIdForRoute(routeId: string): string | undefined;
|
|
1290
1281
|
getFirstOrDefaultRoute(): import("@brand-page").NavRoute;
|
|
1291
1282
|
setCurrentActivePage({ pageId }: {
|
|
1292
|
-
pageId?: string;
|
|
1283
|
+
pageId?: string | undefined;
|
|
1293
1284
|
}): void;
|
|
1294
1285
|
setCurrentActivePageAndGoToPage({ pageId }: {
|
|
1295
|
-
pageId?: string;
|
|
1286
|
+
pageId?: string | undefined;
|
|
1296
1287
|
}): void;
|
|
1297
1288
|
setNav({ nav }: {
|
|
1298
1289
|
nav: import("@brand-page").NavModel;
|
|
1299
1290
|
}): void;
|
|
1300
|
-
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string): void;
|
|
1291
|
+
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string | undefined): void;
|
|
1301
1292
|
removeNavRoute(routeId: string): void;
|
|
1302
1293
|
onDisplayNameChange(routeId: string, newDisplayName: string): void;
|
|
1303
1294
|
setRouteTitleAndSlugByPageId(pageId: string, displayName: string, slug: string): void;
|
|
1304
1295
|
updateRouteVisibility(routeId: string, isHidden: boolean): void;
|
|
1305
1296
|
reorderVisibleAndHiddenRoutes(): void;
|
|
1306
1297
|
isRouteASubpage(navRouteId: string): boolean;
|
|
1307
|
-
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string): void;
|
|
1298
|
+
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string | undefined): void;
|
|
1308
1299
|
}>;
|
|
1309
1300
|
}, {
|
|
1310
1301
|
mounted: boolean;
|
|
@@ -1330,12 +1321,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1330
1321
|
onCreateTeamCards(payload: {
|
|
1331
1322
|
cta_location: string;
|
|
1332
1323
|
}): void;
|
|
1333
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1324
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1334
1325
|
viewModel: {
|
|
1335
1326
|
type: PropType<BrandPageMakerViewModel>;
|
|
1336
1327
|
required: true;
|
|
1337
1328
|
};
|
|
1338
|
-
}>> & Readonly<{
|
|
1339
|
-
"onCreate-team-cards"?: ((...args: any[]) => any) | undefined;
|
|
1340
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1329
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1341
1330
|
export default _default;
|