@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
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
/// <reference types="types/lodash-shims" />
|
|
1
2
|
import type { Content, ContentViewModel } from '@brand-page';
|
|
2
3
|
import type { ContentItem } from '@shared/content-settings/models';
|
|
3
4
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
6
|
items: import("vue").ComputedRef<{
|
|
6
7
|
id: string;
|
|
7
|
-
type:
|
|
8
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
8
9
|
settings: {
|
|
9
10
|
content: {
|
|
10
11
|
id: string;
|
|
11
|
-
type:
|
|
12
|
-
personalisationRole?:
|
|
12
|
+
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";
|
|
13
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
13
14
|
topPadding?: number | undefined;
|
|
14
15
|
bottomPadding?: number | undefined;
|
|
15
16
|
imageUrlOverride?: string | undefined;
|
|
@@ -34,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
35
|
isMobileDevice: import("vue").ComputedRef<boolean>;
|
|
35
36
|
brandPageToken: import("vue").ComputedRef<string | undefined>;
|
|
36
37
|
isInteractivePreviewEnabled: import("vue").ComputedRef<boolean>;
|
|
37
|
-
getValue: import("vue").ComputedRef<(id: string, fieldName: string) =>
|
|
38
|
+
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => string | Content | undefined>;
|
|
38
39
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
39
40
|
canUseRichTextEditor: import("vue").ComputedRef<boolean>;
|
|
40
41
|
isAdmin: import("vue").ComputedRef<boolean>;
|
|
@@ -74,23 +75,23 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
74
75
|
contentErrorCount(): number;
|
|
75
76
|
getContent(state: {
|
|
76
77
|
addContentOptions: {
|
|
77
|
-
type:
|
|
78
|
+
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";
|
|
78
79
|
category: string;
|
|
79
80
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
80
81
|
displayName: string;
|
|
81
82
|
iconName: string;
|
|
82
83
|
isEnabled: boolean;
|
|
83
84
|
isLocked: boolean;
|
|
84
|
-
displayMode?:
|
|
85
|
+
displayMode?: "default" | "focused" | undefined;
|
|
85
86
|
}[];
|
|
86
87
|
items: {
|
|
87
88
|
id: string;
|
|
88
|
-
type:
|
|
89
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
89
90
|
settings: {
|
|
90
91
|
content: {
|
|
91
92
|
id: string;
|
|
92
|
-
type:
|
|
93
|
-
personalisationRole?:
|
|
93
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
94
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
94
95
|
topPadding?: number | undefined;
|
|
95
96
|
bottomPadding?: number | undefined;
|
|
96
97
|
imageUrlOverride?: string | undefined;
|
|
@@ -111,37 +112,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
111
112
|
}[];
|
|
112
113
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
113
114
|
modeStack: {
|
|
114
|
-
mode:
|
|
115
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
115
116
|
selectedItemId?: string | undefined;
|
|
116
117
|
selectedItemFieldName?: string | undefined;
|
|
117
118
|
selectedItemIndex?: number | undefined;
|
|
118
119
|
}[];
|
|
119
120
|
selectedItemId: string | null;
|
|
120
|
-
selectedItemEventSource:
|
|
121
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
121
122
|
selectedItemFieldName: string | null;
|
|
122
123
|
selectedItemValue: string | null;
|
|
123
124
|
selectedItemIndex: number | null;
|
|
124
|
-
activeCategoryTab:
|
|
125
|
+
activeCategoryTab: string;
|
|
125
126
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
126
127
|
getFieldSettings(state: {
|
|
127
128
|
addContentOptions: {
|
|
128
|
-
type:
|
|
129
|
+
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";
|
|
129
130
|
category: string;
|
|
130
131
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
131
132
|
displayName: string;
|
|
132
133
|
iconName: string;
|
|
133
134
|
isEnabled: boolean;
|
|
134
135
|
isLocked: boolean;
|
|
135
|
-
displayMode?:
|
|
136
|
+
displayMode?: "default" | "focused" | undefined;
|
|
136
137
|
}[];
|
|
137
138
|
items: {
|
|
138
139
|
id: string;
|
|
139
|
-
type:
|
|
140
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
140
141
|
settings: {
|
|
141
142
|
content: {
|
|
142
143
|
id: string;
|
|
143
|
-
type:
|
|
144
|
-
personalisationRole?:
|
|
144
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
145
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
145
146
|
topPadding?: number | undefined;
|
|
146
147
|
bottomPadding?: number | undefined;
|
|
147
148
|
imageUrlOverride?: string | undefined;
|
|
@@ -162,37 +163,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
162
163
|
}[];
|
|
163
164
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
164
165
|
modeStack: {
|
|
165
|
-
mode:
|
|
166
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
166
167
|
selectedItemId?: string | undefined;
|
|
167
168
|
selectedItemFieldName?: string | undefined;
|
|
168
169
|
selectedItemIndex?: number | undefined;
|
|
169
170
|
}[];
|
|
170
171
|
selectedItemId: string | null;
|
|
171
|
-
selectedItemEventSource:
|
|
172
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
172
173
|
selectedItemFieldName: string | null;
|
|
173
174
|
selectedItemValue: string | null;
|
|
174
175
|
selectedItemIndex: number | null;
|
|
175
|
-
activeCategoryTab:
|
|
176
|
+
activeCategoryTab: string;
|
|
176
177
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
177
178
|
getItem(state: {
|
|
178
179
|
addContentOptions: {
|
|
179
|
-
type:
|
|
180
|
+
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";
|
|
180
181
|
category: string;
|
|
181
182
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
182
183
|
displayName: string;
|
|
183
184
|
iconName: string;
|
|
184
185
|
isEnabled: boolean;
|
|
185
186
|
isLocked: boolean;
|
|
186
|
-
displayMode?:
|
|
187
|
+
displayMode?: "default" | "focused" | undefined;
|
|
187
188
|
}[];
|
|
188
189
|
items: {
|
|
189
190
|
id: string;
|
|
190
|
-
type:
|
|
191
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
191
192
|
settings: {
|
|
192
193
|
content: {
|
|
193
194
|
id: string;
|
|
194
|
-
type:
|
|
195
|
-
personalisationRole?:
|
|
195
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
196
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
196
197
|
topPadding?: number | undefined;
|
|
197
198
|
bottomPadding?: number | undefined;
|
|
198
199
|
imageUrlOverride?: string | undefined;
|
|
@@ -213,37 +214,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
213
214
|
}[];
|
|
214
215
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
215
216
|
modeStack: {
|
|
216
|
-
mode:
|
|
217
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
217
218
|
selectedItemId?: string | undefined;
|
|
218
219
|
selectedItemFieldName?: string | undefined;
|
|
219
220
|
selectedItemIndex?: number | undefined;
|
|
220
221
|
}[];
|
|
221
222
|
selectedItemId: string | null;
|
|
222
|
-
selectedItemEventSource:
|
|
223
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
223
224
|
selectedItemFieldName: string | null;
|
|
224
225
|
selectedItemValue: string | null;
|
|
225
226
|
selectedItemIndex: number | null;
|
|
226
|
-
activeCategoryTab:
|
|
227
|
+
activeCategoryTab: string;
|
|
227
228
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
228
229
|
getValue(state: {
|
|
229
230
|
addContentOptions: {
|
|
230
|
-
type:
|
|
231
|
+
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";
|
|
231
232
|
category: string;
|
|
232
233
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
233
234
|
displayName: string;
|
|
234
235
|
iconName: string;
|
|
235
236
|
isEnabled: boolean;
|
|
236
237
|
isLocked: boolean;
|
|
237
|
-
displayMode?:
|
|
238
|
+
displayMode?: "default" | "focused" | undefined;
|
|
238
239
|
}[];
|
|
239
240
|
items: {
|
|
240
241
|
id: string;
|
|
241
|
-
type:
|
|
242
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
242
243
|
settings: {
|
|
243
244
|
content: {
|
|
244
245
|
id: string;
|
|
245
|
-
type:
|
|
246
|
-
personalisationRole?:
|
|
246
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
247
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
247
248
|
topPadding?: number | undefined;
|
|
248
249
|
bottomPadding?: number | undefined;
|
|
249
250
|
imageUrlOverride?: string | undefined;
|
|
@@ -264,37 +265,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
264
265
|
}[];
|
|
265
266
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
266
267
|
modeStack: {
|
|
267
|
-
mode:
|
|
268
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
268
269
|
selectedItemId?: string | undefined;
|
|
269
270
|
selectedItemFieldName?: string | undefined;
|
|
270
271
|
selectedItemIndex?: number | undefined;
|
|
271
272
|
}[];
|
|
272
273
|
selectedItemId: string | null;
|
|
273
|
-
selectedItemEventSource:
|
|
274
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
274
275
|
selectedItemFieldName: string | null;
|
|
275
276
|
selectedItemValue: string | null;
|
|
276
277
|
selectedItemIndex: number | null;
|
|
277
|
-
activeCategoryTab:
|
|
278
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) =>
|
|
278
|
+
activeCategoryTab: string;
|
|
279
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => string | Content | undefined;
|
|
279
280
|
getItemState(state: {
|
|
280
281
|
addContentOptions: {
|
|
281
|
-
type:
|
|
282
|
+
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";
|
|
282
283
|
category: string;
|
|
283
284
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
284
285
|
displayName: string;
|
|
285
286
|
iconName: string;
|
|
286
287
|
isEnabled: boolean;
|
|
287
288
|
isLocked: boolean;
|
|
288
|
-
displayMode?:
|
|
289
|
+
displayMode?: "default" | "focused" | undefined;
|
|
289
290
|
}[];
|
|
290
291
|
items: {
|
|
291
292
|
id: string;
|
|
292
|
-
type:
|
|
293
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
293
294
|
settings: {
|
|
294
295
|
content: {
|
|
295
296
|
id: string;
|
|
296
|
-
type:
|
|
297
|
-
personalisationRole?:
|
|
297
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
298
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
298
299
|
topPadding?: number | undefined;
|
|
299
300
|
bottomPadding?: number | undefined;
|
|
300
301
|
imageUrlOverride?: string | undefined;
|
|
@@ -315,37 +316,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
315
316
|
}[];
|
|
316
317
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
317
318
|
modeStack: {
|
|
318
|
-
mode:
|
|
319
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
319
320
|
selectedItemId?: string | undefined;
|
|
320
321
|
selectedItemFieldName?: string | undefined;
|
|
321
322
|
selectedItemIndex?: number | undefined;
|
|
322
323
|
}[];
|
|
323
324
|
selectedItemId: string | null;
|
|
324
|
-
selectedItemEventSource:
|
|
325
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
325
326
|
selectedItemFieldName: string | null;
|
|
326
327
|
selectedItemValue: string | null;
|
|
327
328
|
selectedItemIndex: number | null;
|
|
328
|
-
activeCategoryTab:
|
|
329
|
+
activeCategoryTab: string;
|
|
329
330
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@shared/content-settings/models").ContentSettingsItemState;
|
|
330
331
|
getItemGroupState(state: {
|
|
331
332
|
addContentOptions: {
|
|
332
|
-
type:
|
|
333
|
+
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";
|
|
333
334
|
category: string;
|
|
334
335
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
335
336
|
displayName: string;
|
|
336
337
|
iconName: string;
|
|
337
338
|
isEnabled: boolean;
|
|
338
339
|
isLocked: boolean;
|
|
339
|
-
displayMode?:
|
|
340
|
+
displayMode?: "default" | "focused" | undefined;
|
|
340
341
|
}[];
|
|
341
342
|
items: {
|
|
342
343
|
id: string;
|
|
343
|
-
type:
|
|
344
|
+
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";
|
|
344
345
|
settings: {
|
|
345
346
|
content: {
|
|
346
347
|
id: string;
|
|
347
|
-
type:
|
|
348
|
-
personalisationRole?:
|
|
348
|
+
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";
|
|
349
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
349
350
|
topPadding?: number | undefined;
|
|
350
351
|
bottomPadding?: number | undefined;
|
|
351
352
|
imageUrlOverride?: string | undefined;
|
|
@@ -366,26 +367,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
366
367
|
}[];
|
|
367
368
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
368
369
|
modeStack: {
|
|
369
|
-
mode:
|
|
370
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
370
371
|
selectedItemId?: string | undefined;
|
|
371
372
|
selectedItemFieldName?: string | undefined;
|
|
372
373
|
selectedItemIndex?: number | undefined;
|
|
373
374
|
}[];
|
|
374
375
|
selectedItemId: string | null;
|
|
375
|
-
selectedItemEventSource:
|
|
376
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
376
377
|
selectedItemFieldName: string | null;
|
|
377
378
|
selectedItemValue: string | null;
|
|
378
379
|
selectedItemIndex: number | null;
|
|
379
|
-
activeCategoryTab:
|
|
380
|
+
activeCategoryTab: string;
|
|
380
381
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
381
|
-
mode():
|
|
382
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
382
383
|
selectedItem(): ContentItem<any> | undefined;
|
|
383
|
-
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any> | undefined;
|
|
384
|
+
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any, {}> | undefined;
|
|
384
385
|
}, {
|
|
385
386
|
onContentChanged(): void;
|
|
386
387
|
_addItem({ item, index, }: {
|
|
387
388
|
item: ContentItem<any>;
|
|
388
|
-
index?: number;
|
|
389
|
+
index?: number | undefined;
|
|
389
390
|
}): void;
|
|
390
391
|
setState(payload: {
|
|
391
392
|
newState: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
@@ -402,7 +403,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
402
403
|
_setItemSettingsFieldErrorState(payload: import("@shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
403
404
|
_setSelectedItemId({ id, eventSource, }: {
|
|
404
405
|
id: string | null;
|
|
405
|
-
eventSource:
|
|
406
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
406
407
|
}): void;
|
|
407
408
|
_setSelectedItemFieldName({ name: name }: {
|
|
408
409
|
name: string | null;
|
|
@@ -416,10 +417,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
416
417
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
417
418
|
selectedItemId: string | null;
|
|
418
419
|
imageUrl: string;
|
|
419
|
-
width?: number;
|
|
420
|
-
height?: number;
|
|
421
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
422
|
-
aspectRatio?: number | null;
|
|
420
|
+
width?: number | undefined;
|
|
421
|
+
height?: number | undefined;
|
|
422
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
423
|
+
aspectRatio?: number | null | undefined;
|
|
423
424
|
}): void;
|
|
424
425
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
425
426
|
_setItems({ items }: {
|
|
@@ -443,7 +444,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
443
444
|
updateTextItemTextStyleType({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
444
445
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
445
446
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
446
|
-
activeCategoryTab:
|
|
447
|
+
activeCategoryTab: string;
|
|
447
448
|
}): void;
|
|
448
449
|
setItemState({ id, itemState, }: {
|
|
449
450
|
id: string;
|
|
@@ -466,7 +467,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
466
467
|
}): void;
|
|
467
468
|
addItemByType({ type, index, }: {
|
|
468
469
|
type: string;
|
|
469
|
-
index?: number;
|
|
470
|
+
index?: number | undefined;
|
|
470
471
|
}): ContentItem<Content> | undefined;
|
|
471
472
|
deleteItem(payload: {
|
|
472
473
|
id: string;
|
|
@@ -478,13 +479,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
478
479
|
updateIsDefaultTextColorRequired(): void;
|
|
479
480
|
setSelectedItemId(payload: {
|
|
480
481
|
id: string | null;
|
|
481
|
-
eventSource:
|
|
482
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
482
483
|
}): void;
|
|
483
484
|
setSelectedItemAndFieldName(payload: {
|
|
484
485
|
id: string | null;
|
|
485
486
|
name: string | null;
|
|
486
487
|
index: number | null;
|
|
487
|
-
eventSource:
|
|
488
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
488
489
|
}): void;
|
|
489
490
|
setSelectedItemValue(payload: {
|
|
490
491
|
value: string | null;
|
|
@@ -492,10 +493,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
492
493
|
setSelectedItemImage(payload: {
|
|
493
494
|
selectedItemId: string | null;
|
|
494
495
|
imageUrl: string;
|
|
495
|
-
width?: number;
|
|
496
|
-
height?: number;
|
|
497
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
498
|
-
aspectRatio?: number | null;
|
|
496
|
+
width?: number | undefined;
|
|
497
|
+
height?: number | undefined;
|
|
498
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
499
|
+
aspectRatio?: number | null | undefined;
|
|
499
500
|
}): void;
|
|
500
501
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
501
502
|
setItems(payload: {
|
|
@@ -507,19 +508,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
507
508
|
type: string;
|
|
508
509
|
}): Promise<void>;
|
|
509
510
|
setActiveCategoryTab(payload: {
|
|
510
|
-
activeCategoryTab:
|
|
511
|
+
activeCategoryTab: string;
|
|
511
512
|
}): void;
|
|
512
513
|
selectInitialContentCategory(payload: {
|
|
513
514
|
selectedCategory: string;
|
|
514
515
|
}): void;
|
|
515
516
|
initialiseItemState({ item, itemState, }: {
|
|
516
517
|
item: ContentItem<Content>;
|
|
517
|
-
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState
|
|
518
|
+
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState> | undefined;
|
|
518
519
|
}): void;
|
|
519
520
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
520
521
|
id: string;
|
|
521
522
|
groupId: string;
|
|
522
|
-
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
523
|
+
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState | undefined;
|
|
523
524
|
}): void;
|
|
524
525
|
}>;
|
|
525
526
|
brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
|
|
@@ -530,7 +531,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
530
531
|
brandPageToken(): string | undefined;
|
|
531
532
|
brandPageDescription(): string;
|
|
532
533
|
brandPageSlug(): string;
|
|
533
|
-
brandPageTemplate():
|
|
534
|
+
brandPageTemplate(): any;
|
|
534
535
|
brandPageTitle(): string;
|
|
535
536
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
536
537
|
gettyVideoIds(): string[];
|
|
@@ -545,7 +546,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
545
546
|
showBrandCrowdLogo(): boolean;
|
|
546
547
|
}, {
|
|
547
548
|
setMode(payload: {
|
|
548
|
-
mode:
|
|
549
|
+
mode: "images" | "edit";
|
|
549
550
|
}): void;
|
|
550
551
|
setFaviconUrl(payload: {
|
|
551
552
|
faviconUrl: string | undefined;
|
|
@@ -589,7 +590,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
589
590
|
enqueueContentErrorMessage(): void;
|
|
590
591
|
dequeueNotificationMessageQueue(): void;
|
|
591
592
|
setCurrentNotificationMessage(payload: {
|
|
592
|
-
message: import("@brand-page-maker/stores").NotificationMessage
|
|
593
|
+
message: false | import("@brand-page-maker/stores").NotificationMessage;
|
|
593
594
|
}): void;
|
|
594
595
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
595
596
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -608,9 +609,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
608
609
|
applySelectedTemplate(): Promise<void>;
|
|
609
610
|
enqueueErrorMessage(): Promise<void>;
|
|
610
611
|
enqueueSaveSuccessMessage(payload?: {
|
|
611
|
-
description?: string;
|
|
612
|
-
isPublished?: boolean;
|
|
613
|
-
noDescription?: boolean;
|
|
612
|
+
description?: string | undefined;
|
|
613
|
+
isPublished?: boolean | undefined;
|
|
614
|
+
noDescription?: boolean | undefined;
|
|
614
615
|
}): Promise<void>;
|
|
615
616
|
hideChangeTemplateConfirmModal(): void;
|
|
616
617
|
onBackgroundChanged(): void;
|
|
@@ -626,16 +627,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
626
627
|
content: TContent;
|
|
627
628
|
}>(payload: P): Promise<void>;
|
|
628
629
|
_captureTemplateSwitchIfEnabled(): void;
|
|
629
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
630
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
631
|
-
_navigateToActivePage(activePageId?: string): void;
|
|
630
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string | undefined, logoEditsStr?: string | undefined): Promise<void>;
|
|
631
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string | undefined): Promise<void>;
|
|
632
|
+
_navigateToActivePage(activePageId?: string | undefined): void;
|
|
632
633
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
633
634
|
export(): import("@brand-page").BrandPageModel;
|
|
634
635
|
setBrandPageType({ brandPageType }: {
|
|
635
|
-
brandPageType:
|
|
636
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
636
637
|
}): void;
|
|
637
638
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
638
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled,
|
|
639
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
639
640
|
initialisePages({ pages, sections, }: {
|
|
640
641
|
pages: import("@brand-page").PageModel[];
|
|
641
642
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -663,7 +664,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
663
664
|
viewport: import("@brand-page").ViewportsType;
|
|
664
665
|
}): void;
|
|
665
666
|
showStripeOnboardingModal(): Promise<void>;
|
|
666
|
-
selectInitialCategories(payload: import("
|
|
667
|
+
selectInitialCategories(payload: import("../../../shared/template-settings/models").InitialCategories): void;
|
|
667
668
|
}>;
|
|
668
669
|
brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
|
|
669
670
|
brandPageContentTypes(): string[];
|
|
@@ -686,8 +687,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
686
687
|
updated: Date;
|
|
687
688
|
brandPageToken: string;
|
|
688
689
|
domainName: string;
|
|
689
|
-
status:
|
|
690
|
-
dnsConfigurationStatus:
|
|
690
|
+
status: "active" | "pending" | "failed" | "renewFailed" | "deleted";
|
|
691
|
+
dnsConfigurationStatus: "request_expired" | "missing_expected_dns_records" | "invalid_multiple_dns_records_exist" | "unexpected_aaaa_record" | "completed";
|
|
691
692
|
triggerOrigin?: string | undefined;
|
|
692
693
|
} | null;
|
|
693
694
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -743,7 +744,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
743
744
|
};
|
|
744
745
|
isSubsequentPublish: boolean;
|
|
745
746
|
isContextualUpgradeModalVisible: boolean;
|
|
746
|
-
contextualUpgradeType:
|
|
747
|
+
contextualUpgradeType: string | number | symbol | undefined;
|
|
747
748
|
requestVerificationToken?: string | undefined;
|
|
748
749
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
749
750
|
isUserDraft: (state: {
|
|
@@ -764,8 +765,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
764
765
|
updated: Date;
|
|
765
766
|
brandPageToken: string;
|
|
766
767
|
domainName: string;
|
|
767
|
-
status:
|
|
768
|
-
dnsConfigurationStatus:
|
|
768
|
+
status: "active" | "pending" | "failed" | "renewFailed" | "deleted";
|
|
769
|
+
dnsConfigurationStatus: "request_expired" | "missing_expected_dns_records" | "invalid_multiple_dns_records_exist" | "unexpected_aaaa_record" | "completed";
|
|
769
770
|
triggerOrigin?: string | undefined;
|
|
770
771
|
} | null;
|
|
771
772
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -821,7 +822,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
821
822
|
};
|
|
822
823
|
isSubsequentPublish: boolean;
|
|
823
824
|
isContextualUpgradeModalVisible: boolean;
|
|
824
|
-
contextualUpgradeType:
|
|
825
|
+
contextualUpgradeType: string | number | symbol | undefined;
|
|
825
826
|
requestVerificationToken?: string | undefined;
|
|
826
827
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
827
828
|
}, {
|
|
@@ -858,7 +859,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
858
859
|
setIsSubsequentPublish(payload: any): void;
|
|
859
860
|
clearPublishErrorMessage(): void;
|
|
860
861
|
closePublishModal(payload?: {
|
|
861
|
-
skipShowNextNotificationMessage?: boolean;
|
|
862
|
+
skipShowNextNotificationMessage?: boolean | undefined;
|
|
862
863
|
}): Promise<void>;
|
|
863
864
|
closeUpgradeModal(): Promise<void>;
|
|
864
865
|
endBrandPageSlugEditMode(): void;
|
|
@@ -881,8 +882,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
881
882
|
redirectToStripeOnboarding(): Promise<void>;
|
|
882
883
|
exportDesignAsync(): Promise<any>;
|
|
883
884
|
saveBrandPage(payload?: {
|
|
884
|
-
isPublish?: boolean;
|
|
885
|
-
eventButtonLocation?: string;
|
|
885
|
+
isPublish?: boolean | undefined;
|
|
886
|
+
eventButtonLocation?: string | undefined;
|
|
886
887
|
}): Promise<false | {
|
|
887
888
|
saved: boolean;
|
|
888
889
|
canPublish: boolean;
|
|
@@ -891,9 +892,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
891
892
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
892
893
|
saveTemplate(): Promise<void>;
|
|
893
894
|
setBrandPageStatus(status: any): Promise<void>;
|
|
894
|
-
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
895
|
+
showPublishModal(eventButtonLocation?: string | undefined, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean | undefined): void;
|
|
895
896
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
896
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
897
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: string | number | symbol | undefined, cta?: string | undefined): Promise<void>;
|
|
897
898
|
getContextualUpgradeResponseAsync(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
898
899
|
showStripeOnboardingModal(): void;
|
|
899
900
|
closeStripeOnboardingModal(): void;
|
|
@@ -929,52 +930,52 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
929
930
|
reset: boolean;
|
|
930
931
|
}): void;
|
|
931
932
|
setState({ newState, }: {
|
|
932
|
-
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "
|
|
933
|
+
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "navigationStyleTypeConfigs" | "availableNavigationStyleConfigs">;
|
|
933
934
|
}): void;
|
|
934
935
|
setNavigationOrder({ section, renderAfterLogo, viewport, }: {
|
|
935
|
-
section:
|
|
936
|
+
section: "footer" | "header";
|
|
936
937
|
renderAfterLogo: boolean;
|
|
937
938
|
viewport: import("@brand-page").ViewportsType;
|
|
938
939
|
}): void;
|
|
939
940
|
_setDefaultButtonStyle({ displayType, section, style, viewport, }: {
|
|
940
941
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
941
|
-
section:
|
|
942
|
+
section: "footer" | "header";
|
|
942
943
|
style: BrandPageCssStyle;
|
|
943
944
|
viewport: import("@brand-page").ViewportsType;
|
|
944
945
|
}): void;
|
|
945
946
|
_setSelectedButtonStyle({ displayType, section, style, viewport, }: {
|
|
946
947
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
947
|
-
section:
|
|
948
|
+
section: "footer" | "header";
|
|
948
949
|
style: BrandPageCssStyle;
|
|
949
950
|
viewport: import("@brand-page").ViewportsType;
|
|
950
951
|
}): void;
|
|
951
952
|
_setIconStyle({ displayType, section, style, viewport, }: {
|
|
952
|
-
displayType?: import("@brand-page").NavigationDisplayType;
|
|
953
|
-
section:
|
|
953
|
+
displayType?: import("@brand-page").NavigationDisplayType | undefined;
|
|
954
|
+
section: "footer" | "header";
|
|
954
955
|
style: BrandPageCssStyle;
|
|
955
956
|
viewport: import("@brand-page").ViewportsType;
|
|
956
957
|
}): void;
|
|
957
958
|
_setSubNavBackgroundColor({ displayType, section, value, viewport, }: {
|
|
958
959
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
959
|
-
section:
|
|
960
|
+
section: "footer" | "header";
|
|
960
961
|
value: string | undefined;
|
|
961
962
|
viewport: import("@brand-page").ViewportsType;
|
|
962
963
|
}): void;
|
|
963
964
|
_setButtonStyles({ section, defaultButtonStyle, selectedButtonStyle, iconStyle, viewport, }: {
|
|
964
|
-
section:
|
|
965
|
+
section: "footer" | "header";
|
|
965
966
|
defaultButtonStyle: import("@brand-page").TextStyleDeclaration;
|
|
966
967
|
selectedButtonStyle: BrandPageCssStyle;
|
|
967
968
|
iconStyle: BrandPageCssStyle;
|
|
968
969
|
viewport: import("@brand-page").ViewportsType;
|
|
969
970
|
}): void;
|
|
970
971
|
setDisplayType({ section, displayType, viewport, }: {
|
|
971
|
-
section:
|
|
972
|
+
section: "footer" | "header";
|
|
972
973
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
973
974
|
viewport: import("@brand-page").ViewportsType;
|
|
974
975
|
}): void;
|
|
975
976
|
setNavigationStyleOptionValue({ section, option, value, viewport, }: {
|
|
976
|
-
section:
|
|
977
|
-
option:
|
|
977
|
+
section: "footer" | "header";
|
|
978
|
+
option: "defaultBorderColor" | "selectedBorderColor" | "subNavBackgroundColor" | "defaultTextStyle" | "defaultBackgroundColor" | "selectedTextColor" | "selectedBackgroundColor" | "iconColor" | "iconBackgroundColor";
|
|
978
979
|
value: any;
|
|
979
980
|
viewport: import("@brand-page").ViewportsType;
|
|
980
981
|
}): void;
|
|
@@ -985,7 +986,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
985
986
|
}): void;
|
|
986
987
|
setSelectedTabName(payload: import("../../../lib").SetSelectedTabNamePayload): void;
|
|
987
988
|
setSelectedSettingsSection(payload: {
|
|
988
|
-
sectionName?: string;
|
|
989
|
+
sectionName?: string | undefined;
|
|
989
990
|
}): void;
|
|
990
991
|
}>;
|
|
991
992
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("@shared/page-settings/store").PageSettingsState, {
|
|
@@ -1005,7 +1006,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1005
1006
|
}): void;
|
|
1006
1007
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
1007
1008
|
isNewPageModalVisible: boolean;
|
|
1008
|
-
parentPageId?: string;
|
|
1009
|
+
parentPageId?: string | undefined;
|
|
1009
1010
|
}): Promise<void>;
|
|
1010
1011
|
addPage({ page }: {
|
|
1011
1012
|
page: import("@shared/page-settings/models").ContentPage;
|
|
@@ -1020,22 +1021,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1020
1021
|
pageId: string;
|
|
1021
1022
|
}): void;
|
|
1022
1023
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
1023
|
-
sectionName:
|
|
1024
|
-
propName:
|
|
1025
|
-
index?: number;
|
|
1026
|
-
value: string | boolean | import("@brand-page").LinksItem[] |
|
|
1027
|
-
merge?: boolean;
|
|
1024
|
+
sectionName: "footer" | "header" | "pages";
|
|
1025
|
+
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "navigation" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
1026
|
+
index?: number | undefined;
|
|
1027
|
+
value: string | number | boolean | BrandPageCssStyle | import("@brand-page").LinksItem[] | Partial<import("@brand-page").ImageItem> | null | undefined;
|
|
1028
|
+
merge?: boolean | undefined;
|
|
1028
1029
|
viewport: import("@brand-page").ViewportsType;
|
|
1029
1030
|
}): void;
|
|
1030
1031
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
1031
1032
|
logoImage: import("@brand-page").LogoImageModel;
|
|
1032
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
1033
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel | undefined;
|
|
1033
1034
|
logoImageBase64Url: string | undefined;
|
|
1034
|
-
sectionName:
|
|
1035
|
+
sectionName: "footer" | "header" | "pages";
|
|
1035
1036
|
viewport: import("@brand-page").ViewportsType;
|
|
1036
|
-
keepLogoVariation?: boolean;
|
|
1037
|
-
logoImageHeight?: string;
|
|
1038
|
-
logoImageWidth?: string;
|
|
1037
|
+
keepLogoVariation?: boolean | undefined;
|
|
1038
|
+
logoImageHeight?: string | undefined;
|
|
1039
|
+
logoImageWidth?: string | undefined;
|
|
1039
1040
|
}): void;
|
|
1040
1041
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
1041
1042
|
sectionName: string;
|
|
@@ -1050,13 +1051,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1050
1051
|
}): void;
|
|
1051
1052
|
addNewPage(payload: {
|
|
1052
1053
|
title: string;
|
|
1053
|
-
newPageParentId?: string;
|
|
1054
|
+
newPageParentId?: string | undefined;
|
|
1054
1055
|
}): import("@shared/page-settings/models").ContentPage;
|
|
1055
1056
|
setSelectedSectionName({ sectionName, }: {
|
|
1056
|
-
sectionName?:
|
|
1057
|
+
sectionName?: "footer" | "header" | "pages" | undefined;
|
|
1057
1058
|
}): void;
|
|
1058
1059
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
1059
|
-
sectionName:
|
|
1060
|
+
sectionName: "footer" | "header" | "pages";
|
|
1060
1061
|
isCollapsed: boolean;
|
|
1061
1062
|
}): void;
|
|
1062
1063
|
collapseAllSections(): void;
|
|
@@ -1094,15 +1095,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1094
1095
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
1095
1096
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
1096
1097
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
1097
|
-
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
1098
|
+
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
1098
1099
|
sendDomainUpsellOpenEvent: () => void;
|
|
1099
1100
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
1100
1101
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
1101
1102
|
sendPublishOpenEvent: () => void;
|
|
1102
1103
|
appendPublishBridgeState: (props: any) => void;
|
|
1103
1104
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
1104
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
1105
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
1105
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean | undefined) => void;
|
|
1106
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean | undefined) => void;
|
|
1106
1107
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
1107
1108
|
sendPublishOptionsForFreeEvent: () => void;
|
|
1108
1109
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -1111,8 +1112,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1111
1112
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
1112
1113
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
1113
1114
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
1114
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
1115
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
1115
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
1116
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
1116
1117
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
1117
1118
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
1118
1119
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -1130,13 +1131,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1130
1131
|
defaultTextColor(): string | undefined;
|
|
1131
1132
|
logoBackgroundColor(): string | undefined;
|
|
1132
1133
|
selectedButtonStyleConfig(): import("../../models").ButtonStyleConfig | undefined;
|
|
1133
|
-
selectedTextFontFamily():
|
|
1134
|
+
selectedTextFontFamily(): "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
1134
1135
|
doesLogoHaveBackground(): boolean;
|
|
1135
1136
|
activeLogoStyles(): import("@brand-page").LogoStyles;
|
|
1136
1137
|
}, {
|
|
1137
1138
|
initialise(options: {
|
|
1138
1139
|
reset: boolean;
|
|
1139
|
-
brandPageType:
|
|
1140
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
1140
1141
|
}): void;
|
|
1141
1142
|
setState(payload: {
|
|
1142
1143
|
newState: Omit<import("@shared/style-settings/store").StyleSettingsState, "availableButtonStyleConfigs" | "availableGalleryTypes">;
|
|
@@ -1154,16 +1155,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1154
1155
|
id: string;
|
|
1155
1156
|
}): void;
|
|
1156
1157
|
_setTextFontFamily(payload: {
|
|
1157
|
-
fontFamily:
|
|
1158
|
+
fontFamily: "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
1158
1159
|
}): void;
|
|
1159
1160
|
_setTextStyles(payload: Partial<import("@brand-page").TextStyles>): void;
|
|
1160
1161
|
setAdminStyleOptionDefaultValues(): void;
|
|
1161
1162
|
setTextStyleOption(payload: {
|
|
1162
|
-
type:
|
|
1163
|
+
type: "buttons" | "titles" | "headings" | "paragraphs";
|
|
1163
1164
|
style: import("@brand-page").TextStyleDeclaration;
|
|
1164
1165
|
}): void;
|
|
1165
1166
|
setStyleOptionValue(payload: {
|
|
1166
|
-
option:
|
|
1167
|
+
option: "buttonBorderColor" | "buttonFillColor" | "buttonShadowColor" | "buttonSoftShadowColor" | "buttonIconColor" | "logoBackgroundColor" | "defaultTextColor";
|
|
1167
1168
|
value: string;
|
|
1168
1169
|
}): void;
|
|
1169
1170
|
setButtonStyles(payload: import("@brand-page").ButtonStyles): void;
|
|
@@ -1180,7 +1181,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1180
1181
|
id: string;
|
|
1181
1182
|
}): void;
|
|
1182
1183
|
setTextFontFamily(payload: {
|
|
1183
|
-
fontFamily:
|
|
1184
|
+
fontFamily: "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
1184
1185
|
}): Promise<void>;
|
|
1185
1186
|
toggleLogoBackground(): Promise<any>;
|
|
1186
1187
|
}>;
|
|
@@ -1194,12 +1195,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1194
1195
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1195
1196
|
captureBaseline: () => void;
|
|
1196
1197
|
capture: (args: {
|
|
1197
|
-
source:
|
|
1198
|
-
actor:
|
|
1199
|
-
label?: string;
|
|
1198
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
1199
|
+
actor: "user" | "ai_builder";
|
|
1200
|
+
label?: string | undefined;
|
|
1200
1201
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1201
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1202
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1202
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1203
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1203
1204
|
mergeNextMutation: () => void;
|
|
1204
1205
|
undo: () => Promise<void>;
|
|
1205
1206
|
redo: () => Promise<void>;
|
|
@@ -1216,12 +1217,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1216
1217
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1217
1218
|
captureBaseline: () => void;
|
|
1218
1219
|
capture: (args: {
|
|
1219
|
-
source:
|
|
1220
|
-
actor:
|
|
1221
|
-
label?: string;
|
|
1220
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
1221
|
+
actor: "user" | "ai_builder";
|
|
1222
|
+
label?: string | undefined;
|
|
1222
1223
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1223
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1224
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1224
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1225
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1225
1226
|
mergeNextMutation: () => void;
|
|
1226
1227
|
undo: () => Promise<void>;
|
|
1227
1228
|
redo: () => Promise<void>;
|
|
@@ -1238,12 +1239,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1238
1239
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1239
1240
|
captureBaseline: () => void;
|
|
1240
1241
|
capture: (args: {
|
|
1241
|
-
source:
|
|
1242
|
-
actor:
|
|
1243
|
-
label?: string;
|
|
1242
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
1243
|
+
actor: "user" | "ai_builder";
|
|
1244
|
+
label?: string | undefined;
|
|
1244
1245
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1245
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1246
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1246
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1247
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
1247
1248
|
mergeNextMutation: () => void;
|
|
1248
1249
|
undo: () => Promise<void>;
|
|
1249
1250
|
redo: () => Promise<void>;
|
|
@@ -1413,8 +1414,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1413
1414
|
}>, {
|
|
1414
1415
|
viewport: import("@brand-page").ViewportsType;
|
|
1415
1416
|
isMobileDevice: boolean;
|
|
1416
|
-
containerClientWidth: number | undefined;
|
|
1417
1417
|
containerClientHeight: number | undefined;
|
|
1418
|
+
containerClientWidth: number | undefined;
|
|
1418
1419
|
isContentSelected: boolean;
|
|
1419
1420
|
isHeaderSelected: boolean;
|
|
1420
1421
|
isFooterSelected: boolean;
|