@designcrowd/library.brand-page 5.19.0 → 5.19.1-error-html2canvas-2
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-DsoA9hc-.js → CreatedOnBrandCrowd-de-de-DmKe7W8L.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-en-us-BP6NEQ66.js → CreatedOnBrandCrowd-en-us-D2EeiNep.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-es-es-D424uM1Z.js → CreatedOnBrandCrowd-es-es-BqVwNY1D.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CJvuLTkB.js → CreatedOnBrandCrowd-fr-ca-C756a27-.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CJvuLTkB.js → CreatedOnBrandCrowd-fr-fr-C756a27-.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-Cc9L314u.js → CreatedOnBrandCrowd-pt-br-FNHAnZUw.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-br-Cc9L314u.js → CreatedOnBrandCrowd-pt-pt-FNHAnZUw.js} +3 -3
- package/lib/src/{CreatedOnDcom-de-de-CX-295FH.js → CreatedOnDcom-de-de-8AZZFmDt.js} +3 -3
- package/lib/src/{CreatedOnDcom-en-us-UFlORUgZ.js → CreatedOnDcom-en-us-DizTP32i.js} +3 -3
- package/lib/src/{CreatedOnDcom-es-es-D1tRpcq9.js → CreatedOnDcom-es-es-qnp9_n_A.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-ca-Dz_ry9uY.js → CreatedOnDcom-fr-ca-jUs352uK.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-fr-8Ydu6b1T.js → CreatedOnDcom-fr-fr-CTxXtHyk.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-br-COwvw5k4.js → CreatedOnDcom-pt-br-nQHj8P7d.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-pt-CB72-eaa.js → CreatedOnDcom-pt-pt-DJmVYQuL.js} +3 -3
- package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
- package/lib/src/brand-page/components/{testimonial-section/TestimonialSection.mixin.d.ts → banner-section/BannerSection.mixin.d.ts} +43 -37
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +178 -0
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/contact-form/ContactForm.mixin.js +8 -4
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/image-gallery/ImageGallery.mixin.js +4 -0
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +0 -1
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +4 -1
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.d.ts +4 -2
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.js +1 -0
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +4 -2
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +5 -4
- 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/components/payment/request-payment/RequestPayment.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/payment/request-payment/RequestPayment.mixin.js +4 -0
- package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/payment/support-me/SupportMe.mixin.js +4 -1
- package/lib/src/brand-page/components/video/Video.mixin.d.ts +4 -0
- package/lib/src/brand-page/components/video/Video.mixin.js +4 -0
- package/lib/src/brand-page/constants/font.constants.d.ts +4 -4
- package/lib/src/brand-page/constants/font.constants.js +4 -4
- package/lib/src/brand-page/constants/misc.constants.d.ts +35 -0
- package/lib/src/brand-page/constants/misc.constants.js +51 -0
- package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
- package/lib/src/brand-page/models/content.model.d.ts +2 -0
- package/lib/src/brand-page/models/index.d.ts +2 -1
- package/lib/src/brand-page/models/index.js +3 -0
- package/lib/src/brand-page/models/payment.model.d.ts +1 -1
- package/lib/src/brand-page/utils/content-padding.util.d.ts +13 -0
- package/lib/src/brand-page/utils/content-padding.util.js +10 -0
- package/lib/src/brand-page/utils/index.d.ts +1 -0
- package/lib/src/brand-page/utils/index.js +1 -0
- package/lib/src/brand-page/utils/migration/migration-17.d.ts +2 -0
- package/lib/src/brand-page/utils/migration/migration-17.js +60 -0
- package/lib/src/brand-page/utils/migration.util.js +10 -0
- package/lib/src/brand-page/utils/personalisation.util.js +72 -14
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +21 -19
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +16 -10
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +5 -3
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +193 -170
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +3 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
- 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 +0 -7
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +162 -149
- 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 +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.d.ts +5 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/device/Device.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/device/Device.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -0
- 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 +27 -25
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +1 -0
- 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 +17 -12
- 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 +30 -32
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +16 -5
- 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 +1 -1
- 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 +40 -1
- package/lib/src/brand-page-maker/convertors/about-display-style.convertor.js +9 -1
- package/lib/src/brand-page-maker/convertors/banner-align-display-style.convertor.js +7 -1
- package/lib/src/brand-page-maker/convertors/contact-layout-style.convertor.js +6 -1
- 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/content-settings.js +39 -2
- 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 +1 -2
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +378 -360
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +5 -4
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +8 -5
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +3 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +7 -3
- 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 +6 -0
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +8 -0
- 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/{bundled-translations-D1q3rSEz.js → bundled-translations-BUyt4scr.js} +9 -9
- package/lib/src/{bundled-translations.de-DE-BxqLLwbh.js → bundled-translations.de-DE-DEw_OVai.js} +1 -1
- package/lib/src/{bundled-translations.es-ES-uh249NlJ.js → bundled-translations.es-ES-CFKWmkgY.js} +17 -17
- package/lib/src/{bundled-translations.fr-CA-BEQmv2fX.js → bundled-translations.fr-CA-DCl5LJS4.js} +1 -1
- package/lib/src/{bundled-translations.fr-FR-BnNuCojH.js → bundled-translations.fr-FR-B5BjgllA.js} +1 -1
- package/lib/src/{bundled-translations.pt-BR-CJUOxVlq.js → bundled-translations.pt-BR-5PWpMPuM.js} +1 -1
- package/lib/src/{bundled-translations.pt-PT-Ds9cMEqK.js → bundled-translations.pt-PT-B9_wN0HR.js} +9 -9
- package/lib/src/bundles/bundled-translations.de-DE.json +2 -0
- package/lib/src/bundles/bundled-translations.es-ES.json +2 -0
- package/lib/src/bundles/bundled-translations.fr-CA.json +2 -0
- package/lib/src/bundles/bundled-translations.fr-FR.json +2 -0
- package/lib/src/bundles/bundled-translations.json +2 -0
- package/lib/src/bundles/bundled-translations.pt-BR.json +2 -0
- package/lib/src/bundles/bundled-translations.pt-PT.json +2 -0
- package/lib/src/clients/brand-page-client.d.ts +16 -15
- package/lib/src/clients/design-template-client.d.ts +3 -0
- package/lib/src/clients/media-client.d.ts +2 -2
- package/lib/src/clients/models.d.ts +2 -0
- package/lib/src/composables/useSnapshot.js +18 -18
- package/lib/src/css/library.brand-page-brandCrowd.min.css +441 -437
- package/lib/src/css/library.brand-page-brandPage.min.css +719 -437
- package/lib/src/css/library.brand-page-designCom.min.css +441 -437
- package/lib/src/css/library.brand-page-preview.min.css +697 -437
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +16 -15
- package/lib/src/{lib-tHPi9EKk.js → lib-DityivZa.js} +37011 -33834
- package/lib/src/lib.js +1 -1
- package/lib/src/metadata-builder/builders/footer-builder.js +90 -65
- package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/shape-color-utils.js +1 -1
- 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 +4 -2
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +2 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.d.ts +4 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.js +1 -0
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +5 -2
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +1 -0
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +145 -129
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +2 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +125 -110
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +96 -81
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +5 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +129 -109
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -14
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +84 -70
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +4 -3
- 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 +3 -1
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +1 -0
- 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 +4 -3
- 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 +5 -6
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.js +9 -0
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +1 -2
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +1 -2
- 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 +0 -1
- 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 +0 -1
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +51 -39
- package/lib/src/shared/content-settings/utils.js +0 -1
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +6 -4
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +1 -0
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +4 -2
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.js +1 -0
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +29 -21
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +50 -51
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +6 -4
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.js +1 -0
- 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 +13 -5
- package/lib/src/shared/logo-versions/LogoVersions.mixin.js +1 -0
- package/lib/src/shared/models.d.ts +2 -0
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +14 -6
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +1 -0
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +14 -5
- package/lib/src/shared/my-uploads/MyMedia.mixin.js +1 -0
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +14 -5
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +1 -0
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +5 -3
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -0
- 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 +27 -28
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +0 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +204 -177
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +195 -175
- 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 +0 -1
- 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 +66 -60
- 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 +20 -450
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +2 -2
- package/lib/src/shared/template-settings/models.d.ts +1 -0
- package/lib/src/shared/template-settings/store/template-settings-store.d.ts +4 -0
- package/lib/src/shared/template-settings/store/template-settings-store.js +79 -11
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +9 -4
- package/lib/src/utils/minify-brand-page-metadata.js +11 -1
- package/package.json +61 -57
- package/src/brand-page/components/about-section/AboutSection.vue +10 -4
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +7 -5
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +210 -0
- package/src/brand-page/components/banner-section/BannerSection.vue +11 -4
- package/src/brand-page/components/booking-section/BookingSection.vue +11 -3
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +1 -1
- package/src/brand-page/components/contact-form/ContactForm.mixin.ts +12 -6
- package/src/brand-page/components/contact-form/ContactForm.vue +105 -104
- 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/ImageGallery.mixin.ts +5 -0
- package/src/brand-page/components/image-gallery/ImageGallery.vue +1 -1
- package/src/brand-page/components/images-section/ImagesSection.vue +0 -1
- package/src/brand-page/components/logo/LogoRender.vue +188 -188
- package/src/brand-page/components/mailing-list/MailingList.mixin.ts +8 -1
- package/src/brand-page/components/mailing-list/MailingList.vue +1 -1
- package/src/brand-page/components/map/Map.vue +5 -1
- package/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.ts +1 -0
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +15 -6
- package/src/brand-page/components/page-footer/PageFooter.vue +1 -0
- package/src/brand-page/components/page-header/HeaderLayout.vue +12 -6
- package/src/brand-page/components/page-header/PageHeader.vue +1 -0
- package/src/brand-page/components/payment/request-payment/RequestPayment.mixin.ts +5 -0
- package/src/brand-page/components/payment/request-payment/RequestPayment.vue +1 -0
- package/src/brand-page/components/payment/support-me/SupportMe.mixin.ts +8 -1
- package/src/brand-page/components/payment/support-me/SupportMe.vue +1 -0
- package/src/brand-page/components/shapes-section/ShapesSection.vue +1 -1
- package/src/brand-page/components/shop/CartModal.vue +1 -3
- package/src/brand-page/components/shop/FeaturedDisplay.vue +2 -2
- package/src/brand-page/components/shop/PaymentModal.vue +1 -5
- package/src/brand-page/components/shop/ProductDetailModal.vue +1 -1
- package/src/brand-page/components/shop/Shop.vue +8 -3
- 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/social-links/SocialLinks.vue +7 -3
- package/src/brand-page/components/testimonial-section/TestimonialSection.vue +120 -11
- package/src/brand-page/components/text/Text.vue +12 -5
- package/src/brand-page/components/text-media-section/TextMediaSection.vue +11 -3
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +3 -1
- package/src/brand-page/components/video/Video.mixin.ts +5 -0
- package/src/brand-page/components/video/Video.vue +1 -1
- package/src/brand-page/constants/font.constants.ts +4 -4
- package/src/brand-page/constants/misc.constants.ts +58 -0
- package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
- package/src/brand-page/models/content.model.ts +2 -0
- package/src/brand-page/models/index.ts +4 -0
- package/src/brand-page/models/payment.model.ts +2 -1
- package/src/brand-page/models/shop.model.ts +0 -2
- package/src/brand-page/models/user-personalisation.model.ts +1 -2
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +12 -3
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +7 -6
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +14 -12
- package/src/brand-page/utils/content-padding.util.test.ts +29 -0
- package/src/brand-page/utils/content-padding.util.ts +13 -0
- package/src/brand-page/utils/index.ts +1 -0
- package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
- package/src/brand-page/utils/migration/migration-02.ts +0 -1
- package/src/brand-page/utils/migration/migration-03.ts +0 -1
- package/src/brand-page/utils/migration/migration-04.ts +0 -1
- package/src/brand-page/utils/migration/migration-05.ts +1 -5
- 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/migration/migration-17.ts +77 -0
- package/src/brand-page/utils/migration.util.test.ts +290 -0
- package/src/brand-page/utils/migration.util.ts +11 -0
- package/src/brand-page/utils/personalisation.util.test.ts +35 -0
- package/src/brand-page/utils/personalisation.util.ts +119 -23
- package/src/brand-page/view-models.ts +38 -56
- 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 +1 -0
- package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +1 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +5 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +2 -5
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +0 -5
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +0 -8
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +0 -2
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +1 -0
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +1 -2
- package/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.ts +1 -0
- package/src/brand-page-maker/components/device/Device.mixin.ts +1 -0
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -0
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +3 -1
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +1 -4
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +1 -0
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +0 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +0 -1
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +1 -5
- 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 +22 -8
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +5 -10
- package/src/brand-page-maker/components/template-preview/TemplatePreviewAiBadge.vue +12 -0
- package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +48 -3
- package/src/brand-page-maker/convertors/about-display-style.convertor.ts +10 -0
- package/src/brand-page-maker/convertors/banner-align-display-style.convertor.ts +8 -0
- package/src/brand-page-maker/convertors/contact-layout-style.convertor.test.ts +50 -0
- package/src/brand-page-maker/convertors/contact-layout-style.convertor.ts +8 -0
- package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +1 -1
- package/src/brand-page-maker/models/button-styles-config.ts +4 -2
- package/src/brand-page-maker/models/content-settings-configs.ts +4 -2
- package/src/brand-page-maker/models/content-settings.ts +43 -2
- package/src/brand-page-maker/models/navigation-style-configs.ts +5 -6
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +0 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +8 -5
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +1 -3
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +12 -4
- package/src/brand-page-maker/stores/ui/ui-store.ts +16 -0
- 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/bundles/bundled-translations.de-DE.json +2 -0
- package/src/bundles/bundled-translations.es-ES.json +2 -0
- package/src/bundles/bundled-translations.fr-CA.json +2 -0
- package/src/bundles/bundled-translations.fr-FR.json +2 -0
- package/src/bundles/bundled-translations.json +2 -0
- package/src/bundles/bundled-translations.pt-BR.json +2 -0
- package/src/bundles/bundled-translations.pt-PT.json +2 -0
- package/src/clients/design-template-client.ts +3 -0
- package/src/clients/models.ts +2 -0
- package/src/composables/useSnapshot.ts +19 -22
- package/src/lib.ts +1 -0
- package/src/metadata-builder/builders/footer-builder.test.ts +137 -0
- package/src/metadata-builder/builders/footer-builder.ts +129 -89
- package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +1 -1
- package/src/metadata-builder/builders/shape-color-utils.ts +2 -2
- 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 +2 -7
- package/src/shared/color-picker/components/ColorPickerSwatch.mixin.ts +1 -0
- package/src/shared/common/NumberInput.vue +1 -0
- package/src/shared/common/SideBarSettingsHeader.vue +2 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +1 -0
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +1 -0
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +1 -0
- package/src/shared/content-settings/components/color-field/ColorField.vue +3 -10
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettingsLockedButton.vue +1 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +2 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +2 -0
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +5 -0
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.vue +1 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -14
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +4 -6
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.vue +2 -2
- package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +1 -0
- 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/slider-field/SliderField.mixin.ts +9 -0
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +2 -8
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/models.ts +3 -2
- package/src/shared/content-settings/utils.ts +0 -1
- package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +1 -0
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +1 -0
- package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +1 -0
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +0 -1
- package/src/shared/logo-settings/components/LogoSettingsHeader.mixin.ts +1 -0
- 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 +1 -0
- package/src/shared/models.ts +6 -0
- package/src/shared/my-designs/MyDesigns.mixin.ts +1 -0
- package/src/shared/my-uploads/MyMedia.mixin.ts +1 -0
- package/src/shared/my-uploads/MyMediaSelectionItem.vue +2 -1
- package/src/shared/my-uploads/MyUploads.mixin.ts +1 -0
- package/src/shared/my-uploads/models.ts +1 -2
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -0
- 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 +0 -3
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +1 -2
- 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 +4 -8
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +0 -1
- 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 +1 -0
- package/src/shared/template-settings/store/template-settings-store.ts +105 -18
- package/src/shared/unsplash-library/UnsplashLibrary.vue +2 -6
- package/src/shared/video-library/VideoLibrary.vue +1 -1
- package/src/utils/minify-brand-page-metadata.ts +11 -1
- package/lib/src/brand-page/components/testimonial-section/TestimonialSection.mixin.js +0 -112
- package/src/brand-page/components/testimonial-section/TestimonialSection.mixin.ts +0 -132
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
/// <reference types="types/lodash-shims" />
|
|
2
1
|
import type { Content, ContentViewModel } from '@brand-page';
|
|
3
2
|
import type { ContentItem } from '@shared/content-settings/models';
|
|
4
3
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
6
5
|
items: import("vue").ComputedRef<{
|
|
7
6
|
id: string;
|
|
8
|
-
type: "
|
|
7
|
+
type: import("@brand-page").ContentType;
|
|
9
8
|
settings: {
|
|
10
9
|
content: {
|
|
11
10
|
id: string;
|
|
12
|
-
type: "
|
|
13
|
-
personalisationRole?: "
|
|
11
|
+
type: import("@brand-page").ContentType;
|
|
12
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
13
|
+
topPadding?: number | undefined;
|
|
14
|
+
bottomPadding?: number | undefined;
|
|
14
15
|
imageUrlOverride?: string | undefined;
|
|
15
16
|
imageUrlsOverride?: string | undefined;
|
|
16
17
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -33,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
33
34
|
isMobileDevice: import("vue").ComputedRef<boolean>;
|
|
34
35
|
brandPageToken: import("vue").ComputedRef<string | undefined>;
|
|
35
36
|
isInteractivePreviewEnabled: import("vue").ComputedRef<boolean>;
|
|
36
|
-
getValue: import("vue").ComputedRef<(id: string, fieldName: string) =>
|
|
37
|
+
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => Content | string | undefined>;
|
|
37
38
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
38
39
|
canUseRichTextEditor: import("vue").ComputedRef<boolean>;
|
|
39
40
|
isAdmin: import("vue").ComputedRef<boolean>;
|
|
@@ -73,23 +74,25 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
73
74
|
contentErrorCount(): number;
|
|
74
75
|
getContent(state: {
|
|
75
76
|
addContentOptions: {
|
|
76
|
-
type: "
|
|
77
|
+
type: import("@brand-page").ContentType;
|
|
77
78
|
category: string;
|
|
78
79
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
79
80
|
displayName: string;
|
|
80
81
|
iconName: string;
|
|
81
82
|
isEnabled: boolean;
|
|
82
83
|
isLocked: boolean;
|
|
83
|
-
displayMode?: "
|
|
84
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
84
85
|
}[];
|
|
85
86
|
items: {
|
|
86
87
|
id: string;
|
|
87
|
-
type: "
|
|
88
|
+
type: import("@brand-page").ContentType;
|
|
88
89
|
settings: {
|
|
89
90
|
content: {
|
|
90
91
|
id: string;
|
|
91
|
-
type: "
|
|
92
|
-
personalisationRole?: "
|
|
92
|
+
type: import("@brand-page").ContentType;
|
|
93
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
94
|
+
topPadding?: number | undefined;
|
|
95
|
+
bottomPadding?: number | undefined;
|
|
93
96
|
imageUrlOverride?: string | undefined;
|
|
94
97
|
imageUrlsOverride?: string | undefined;
|
|
95
98
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -108,37 +111,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
108
111
|
}[];
|
|
109
112
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
110
113
|
modeStack: {
|
|
111
|
-
mode: "
|
|
114
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
112
115
|
selectedItemId?: string | undefined;
|
|
113
116
|
selectedItemFieldName?: string | undefined;
|
|
114
117
|
selectedItemIndex?: number | undefined;
|
|
115
118
|
}[];
|
|
116
119
|
selectedItemId: string | null;
|
|
117
|
-
selectedItemEventSource: "
|
|
120
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
118
121
|
selectedItemFieldName: string | null;
|
|
119
122
|
selectedItemValue: string | null;
|
|
120
123
|
selectedItemIndex: number | null;
|
|
121
|
-
activeCategoryTab:
|
|
124
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
122
125
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
123
126
|
getFieldSettings(state: {
|
|
124
127
|
addContentOptions: {
|
|
125
|
-
type: "
|
|
128
|
+
type: import("@brand-page").ContentType;
|
|
126
129
|
category: string;
|
|
127
130
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
128
131
|
displayName: string;
|
|
129
132
|
iconName: string;
|
|
130
133
|
isEnabled: boolean;
|
|
131
134
|
isLocked: boolean;
|
|
132
|
-
displayMode?: "
|
|
135
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
133
136
|
}[];
|
|
134
137
|
items: {
|
|
135
138
|
id: string;
|
|
136
|
-
type: "
|
|
139
|
+
type: import("@brand-page").ContentType;
|
|
137
140
|
settings: {
|
|
138
141
|
content: {
|
|
139
142
|
id: string;
|
|
140
|
-
type: "
|
|
141
|
-
personalisationRole?: "
|
|
143
|
+
type: import("@brand-page").ContentType;
|
|
144
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
145
|
+
topPadding?: number | undefined;
|
|
146
|
+
bottomPadding?: number | undefined;
|
|
142
147
|
imageUrlOverride?: string | undefined;
|
|
143
148
|
imageUrlsOverride?: string | undefined;
|
|
144
149
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -157,37 +162,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
157
162
|
}[];
|
|
158
163
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
159
164
|
modeStack: {
|
|
160
|
-
mode: "
|
|
165
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
161
166
|
selectedItemId?: string | undefined;
|
|
162
167
|
selectedItemFieldName?: string | undefined;
|
|
163
168
|
selectedItemIndex?: number | undefined;
|
|
164
169
|
}[];
|
|
165
170
|
selectedItemId: string | null;
|
|
166
|
-
selectedItemEventSource: "
|
|
171
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
167
172
|
selectedItemFieldName: string | null;
|
|
168
173
|
selectedItemValue: string | null;
|
|
169
174
|
selectedItemIndex: number | null;
|
|
170
|
-
activeCategoryTab:
|
|
175
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
171
176
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
172
177
|
getItem(state: {
|
|
173
178
|
addContentOptions: {
|
|
174
|
-
type: "
|
|
179
|
+
type: import("@brand-page").ContentType;
|
|
175
180
|
category: string;
|
|
176
181
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
177
182
|
displayName: string;
|
|
178
183
|
iconName: string;
|
|
179
184
|
isEnabled: boolean;
|
|
180
185
|
isLocked: boolean;
|
|
181
|
-
displayMode?: "
|
|
186
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
182
187
|
}[];
|
|
183
188
|
items: {
|
|
184
189
|
id: string;
|
|
185
|
-
type: "
|
|
190
|
+
type: import("@brand-page").ContentType;
|
|
186
191
|
settings: {
|
|
187
192
|
content: {
|
|
188
193
|
id: string;
|
|
189
|
-
type: "
|
|
190
|
-
personalisationRole?: "
|
|
194
|
+
type: import("@brand-page").ContentType;
|
|
195
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
196
|
+
topPadding?: number | undefined;
|
|
197
|
+
bottomPadding?: number | undefined;
|
|
191
198
|
imageUrlOverride?: string | undefined;
|
|
192
199
|
imageUrlsOverride?: string | undefined;
|
|
193
200
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -206,37 +213,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
206
213
|
}[];
|
|
207
214
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
208
215
|
modeStack: {
|
|
209
|
-
mode: "
|
|
216
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
210
217
|
selectedItemId?: string | undefined;
|
|
211
218
|
selectedItemFieldName?: string | undefined;
|
|
212
219
|
selectedItemIndex?: number | undefined;
|
|
213
220
|
}[];
|
|
214
221
|
selectedItemId: string | null;
|
|
215
|
-
selectedItemEventSource: "
|
|
222
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
216
223
|
selectedItemFieldName: string | null;
|
|
217
224
|
selectedItemValue: string | null;
|
|
218
225
|
selectedItemIndex: number | null;
|
|
219
|
-
activeCategoryTab:
|
|
226
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
220
227
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
221
228
|
getValue(state: {
|
|
222
229
|
addContentOptions: {
|
|
223
|
-
type: "
|
|
230
|
+
type: import("@brand-page").ContentType;
|
|
224
231
|
category: string;
|
|
225
232
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
226
233
|
displayName: string;
|
|
227
234
|
iconName: string;
|
|
228
235
|
isEnabled: boolean;
|
|
229
236
|
isLocked: boolean;
|
|
230
|
-
displayMode?: "
|
|
237
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
231
238
|
}[];
|
|
232
239
|
items: {
|
|
233
240
|
id: string;
|
|
234
|
-
type: "
|
|
241
|
+
type: import("@brand-page").ContentType;
|
|
235
242
|
settings: {
|
|
236
243
|
content: {
|
|
237
244
|
id: string;
|
|
238
|
-
type: "
|
|
239
|
-
personalisationRole?: "
|
|
245
|
+
type: import("@brand-page").ContentType;
|
|
246
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
247
|
+
topPadding?: number | undefined;
|
|
248
|
+
bottomPadding?: number | undefined;
|
|
240
249
|
imageUrlOverride?: string | undefined;
|
|
241
250
|
imageUrlsOverride?: string | undefined;
|
|
242
251
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -255,37 +264,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
255
264
|
}[];
|
|
256
265
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
257
266
|
modeStack: {
|
|
258
|
-
mode: "
|
|
267
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
259
268
|
selectedItemId?: string | undefined;
|
|
260
269
|
selectedItemFieldName?: string | undefined;
|
|
261
270
|
selectedItemIndex?: number | undefined;
|
|
262
271
|
}[];
|
|
263
272
|
selectedItemId: string | null;
|
|
264
|
-
selectedItemEventSource: "
|
|
273
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
265
274
|
selectedItemFieldName: string | null;
|
|
266
275
|
selectedItemValue: string | null;
|
|
267
276
|
selectedItemIndex: number | null;
|
|
268
|
-
activeCategoryTab:
|
|
269
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) =>
|
|
277
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
278
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => Content | string | undefined;
|
|
270
279
|
getItemState(state: {
|
|
271
280
|
addContentOptions: {
|
|
272
|
-
type: "
|
|
281
|
+
type: import("@brand-page").ContentType;
|
|
273
282
|
category: string;
|
|
274
283
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
275
284
|
displayName: string;
|
|
276
285
|
iconName: string;
|
|
277
286
|
isEnabled: boolean;
|
|
278
287
|
isLocked: boolean;
|
|
279
|
-
displayMode?: "
|
|
288
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
280
289
|
}[];
|
|
281
290
|
items: {
|
|
282
291
|
id: string;
|
|
283
|
-
type: "
|
|
292
|
+
type: import("@brand-page").ContentType;
|
|
284
293
|
settings: {
|
|
285
294
|
content: {
|
|
286
295
|
id: string;
|
|
287
|
-
type: "
|
|
288
|
-
personalisationRole?: "
|
|
296
|
+
type: import("@brand-page").ContentType;
|
|
297
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
298
|
+
topPadding?: number | undefined;
|
|
299
|
+
bottomPadding?: number | undefined;
|
|
289
300
|
imageUrlOverride?: string | undefined;
|
|
290
301
|
imageUrlsOverride?: string | undefined;
|
|
291
302
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -304,37 +315,39 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
304
315
|
}[];
|
|
305
316
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
306
317
|
modeStack: {
|
|
307
|
-
mode: "
|
|
318
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
308
319
|
selectedItemId?: string | undefined;
|
|
309
320
|
selectedItemFieldName?: string | undefined;
|
|
310
321
|
selectedItemIndex?: number | undefined;
|
|
311
322
|
}[];
|
|
312
323
|
selectedItemId: string | null;
|
|
313
|
-
selectedItemEventSource: "
|
|
324
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
314
325
|
selectedItemFieldName: string | null;
|
|
315
326
|
selectedItemValue: string | null;
|
|
316
327
|
selectedItemIndex: number | null;
|
|
317
|
-
activeCategoryTab:
|
|
328
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
318
329
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@shared/content-settings/models").ContentSettingsItemState;
|
|
319
330
|
getItemGroupState(state: {
|
|
320
331
|
addContentOptions: {
|
|
321
|
-
type: "
|
|
332
|
+
type: import("@brand-page").ContentType;
|
|
322
333
|
category: string;
|
|
323
334
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
324
335
|
displayName: string;
|
|
325
336
|
iconName: string;
|
|
326
337
|
isEnabled: boolean;
|
|
327
338
|
isLocked: boolean;
|
|
328
|
-
displayMode?: "
|
|
339
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
329
340
|
}[];
|
|
330
341
|
items: {
|
|
331
342
|
id: string;
|
|
332
|
-
type: "
|
|
343
|
+
type: import("@brand-page").ContentType;
|
|
333
344
|
settings: {
|
|
334
345
|
content: {
|
|
335
346
|
id: string;
|
|
336
|
-
type: "
|
|
337
|
-
personalisationRole?: "
|
|
347
|
+
type: import("@brand-page").ContentType;
|
|
348
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
349
|
+
topPadding?: number | undefined;
|
|
350
|
+
bottomPadding?: number | undefined;
|
|
338
351
|
imageUrlOverride?: string | undefined;
|
|
339
352
|
imageUrlsOverride?: string | undefined;
|
|
340
353
|
avatarImageUrlOverride?: string | undefined;
|
|
@@ -353,26 +366,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
353
366
|
}[];
|
|
354
367
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
355
368
|
modeStack: {
|
|
356
|
-
mode: "
|
|
369
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
357
370
|
selectedItemId?: string | undefined;
|
|
358
371
|
selectedItemFieldName?: string | undefined;
|
|
359
372
|
selectedItemIndex?: number | undefined;
|
|
360
373
|
}[];
|
|
361
374
|
selectedItemId: string | null;
|
|
362
|
-
selectedItemEventSource: "
|
|
375
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
363
376
|
selectedItemFieldName: string | null;
|
|
364
377
|
selectedItemValue: string | null;
|
|
365
378
|
selectedItemIndex: number | null;
|
|
366
|
-
activeCategoryTab:
|
|
379
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
367
380
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
368
|
-
mode(): "
|
|
381
|
+
mode(): import("@shared/content-settings/store").ContentSettingsMode;
|
|
369
382
|
selectedItem(): ContentItem<any> | undefined;
|
|
370
|
-
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any
|
|
383
|
+
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any> | undefined;
|
|
371
384
|
}, {
|
|
372
385
|
onContentChanged(): void;
|
|
373
386
|
_addItem({ item, index, }: {
|
|
374
387
|
item: ContentItem<any>;
|
|
375
|
-
index?: number
|
|
388
|
+
index?: number;
|
|
376
389
|
}): void;
|
|
377
390
|
setState(payload: {
|
|
378
391
|
newState: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
@@ -389,7 +402,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
389
402
|
_setItemSettingsFieldErrorState(payload: import("@shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
390
403
|
_setSelectedItemId({ id, eventSource, }: {
|
|
391
404
|
id: string | null;
|
|
392
|
-
eventSource: "
|
|
405
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
393
406
|
}): void;
|
|
394
407
|
_setSelectedItemFieldName({ name: name }: {
|
|
395
408
|
name: string | null;
|
|
@@ -403,10 +416,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
403
416
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
404
417
|
selectedItemId: string | null;
|
|
405
418
|
imageUrl: string;
|
|
406
|
-
width?: number
|
|
407
|
-
height?: number
|
|
408
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
409
|
-
aspectRatio?: number | null
|
|
419
|
+
width?: number;
|
|
420
|
+
height?: number;
|
|
421
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
422
|
+
aspectRatio?: number | null;
|
|
410
423
|
}): void;
|
|
411
424
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
412
425
|
_setItems({ items }: {
|
|
@@ -430,7 +443,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
430
443
|
updateTextItemTextStyleType({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
431
444
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
432
445
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
433
|
-
activeCategoryTab:
|
|
446
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
434
447
|
}): void;
|
|
435
448
|
setItemState({ id, itemState, }: {
|
|
436
449
|
id: string;
|
|
@@ -453,7 +466,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
453
466
|
}): void;
|
|
454
467
|
addItemByType({ type, index, }: {
|
|
455
468
|
type: string;
|
|
456
|
-
index?: number
|
|
469
|
+
index?: number;
|
|
457
470
|
}): ContentItem<Content> | undefined;
|
|
458
471
|
deleteItem(payload: {
|
|
459
472
|
id: string;
|
|
@@ -465,13 +478,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
465
478
|
updateIsDefaultTextColorRequired(): void;
|
|
466
479
|
setSelectedItemId(payload: {
|
|
467
480
|
id: string | null;
|
|
468
|
-
eventSource: "
|
|
481
|
+
eventSource: import("@shared/models").UIEventSource;
|
|
469
482
|
}): void;
|
|
470
483
|
setSelectedItemAndFieldName(payload: {
|
|
471
484
|
id: string | null;
|
|
472
485
|
name: string | null;
|
|
473
486
|
index: number | null;
|
|
474
|
-
eventSource: "
|
|
487
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
475
488
|
}): void;
|
|
476
489
|
setSelectedItemValue(payload: {
|
|
477
490
|
value: string | null;
|
|
@@ -479,10 +492,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
479
492
|
setSelectedItemImage(payload: {
|
|
480
493
|
selectedItemId: string | null;
|
|
481
494
|
imageUrl: string;
|
|
482
|
-
width?: number
|
|
483
|
-
height?: number
|
|
484
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
485
|
-
aspectRatio?: number | null
|
|
495
|
+
width?: number;
|
|
496
|
+
height?: number;
|
|
497
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
498
|
+
aspectRatio?: number | null;
|
|
486
499
|
}): void;
|
|
487
500
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
488
501
|
setItems(payload: {
|
|
@@ -494,19 +507,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
494
507
|
type: string;
|
|
495
508
|
}): Promise<void>;
|
|
496
509
|
setActiveCategoryTab(payload: {
|
|
497
|
-
activeCategoryTab:
|
|
510
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
498
511
|
}): void;
|
|
499
512
|
selectInitialContentCategory(payload: {
|
|
500
513
|
selectedCategory: string;
|
|
501
514
|
}): void;
|
|
502
515
|
initialiseItemState({ item, itemState, }: {
|
|
503
516
|
item: ContentItem<Content>;
|
|
504
|
-
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState
|
|
517
|
+
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
505
518
|
}): void;
|
|
506
519
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
507
520
|
id: string;
|
|
508
521
|
groupId: string;
|
|
509
|
-
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState
|
|
522
|
+
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
510
523
|
}): void;
|
|
511
524
|
}>;
|
|
512
525
|
brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
|
|
@@ -517,7 +530,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
517
530
|
brandPageToken(): string | undefined;
|
|
518
531
|
brandPageDescription(): string;
|
|
519
532
|
brandPageSlug(): string;
|
|
520
|
-
brandPageTemplate():
|
|
533
|
+
brandPageTemplate(): import("@brand-page").BrandPageData;
|
|
521
534
|
brandPageTitle(): string;
|
|
522
535
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
523
536
|
gettyVideoIds(): string[];
|
|
@@ -532,7 +545,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
532
545
|
showBrandCrowdLogo(): boolean;
|
|
533
546
|
}, {
|
|
534
547
|
setMode(payload: {
|
|
535
|
-
mode: "
|
|
548
|
+
mode: import("@brand-page-maker/stores").BrandPageSettingsMode;
|
|
536
549
|
}): void;
|
|
537
550
|
setFaviconUrl(payload: {
|
|
538
551
|
faviconUrl: string | undefined;
|
|
@@ -576,7 +589,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
576
589
|
enqueueContentErrorMessage(): void;
|
|
577
590
|
dequeueNotificationMessageQueue(): void;
|
|
578
591
|
setCurrentNotificationMessage(payload: {
|
|
579
|
-
message:
|
|
592
|
+
message: import("@brand-page-maker/stores").NotificationMessage | false;
|
|
580
593
|
}): void;
|
|
581
594
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
582
595
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -595,9 +608,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
595
608
|
applySelectedTemplate(): Promise<void>;
|
|
596
609
|
enqueueErrorMessage(): Promise<void>;
|
|
597
610
|
enqueueSaveSuccessMessage(payload?: {
|
|
598
|
-
description?: string
|
|
599
|
-
isPublished?: boolean
|
|
600
|
-
noDescription?: boolean
|
|
611
|
+
description?: string;
|
|
612
|
+
isPublished?: boolean;
|
|
613
|
+
noDescription?: boolean;
|
|
601
614
|
}): Promise<void>;
|
|
602
615
|
hideChangeTemplateConfirmModal(): void;
|
|
603
616
|
onBackgroundChanged(): void;
|
|
@@ -613,16 +626,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
613
626
|
content: TContent;
|
|
614
627
|
}>(payload: P): Promise<void>;
|
|
615
628
|
_captureTemplateSwitchIfEnabled(): void;
|
|
616
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string
|
|
617
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string
|
|
618
|
-
_navigateToActivePage(activePageId?: string
|
|
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;
|
|
619
632
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
620
633
|
export(): import("@brand-page").BrandPageModel;
|
|
621
634
|
setBrandPageType({ brandPageType }: {
|
|
622
|
-
brandPageType: "
|
|
635
|
+
brandPageType: import("@brand-page").BrandPageType;
|
|
623
636
|
}): void;
|
|
624
637
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
625
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
638
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData: _shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
626
639
|
initialisePages({ pages, sections, }: {
|
|
627
640
|
pages: import("@brand-page").PageModel[];
|
|
628
641
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -650,7 +663,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
650
663
|
viewport: import("@brand-page").ViewportsType;
|
|
651
664
|
}): void;
|
|
652
665
|
showStripeOnboardingModal(): Promise<void>;
|
|
653
|
-
selectInitialCategories(payload: import("
|
|
666
|
+
selectInitialCategories(payload: import("@brand-page-maker/stores").SelectedCategoryPayload): void;
|
|
654
667
|
}>;
|
|
655
668
|
brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
|
|
656
669
|
brandPageContentTypes(): string[];
|
|
@@ -673,8 +686,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
673
686
|
updated: Date;
|
|
674
687
|
brandPageToken: string;
|
|
675
688
|
domainName: string;
|
|
676
|
-
status: "
|
|
677
|
-
dnsConfigurationStatus: "
|
|
689
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
690
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
678
691
|
triggerOrigin?: string | undefined;
|
|
679
692
|
} | null;
|
|
680
693
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -730,7 +743,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
730
743
|
};
|
|
731
744
|
isSubsequentPublish: boolean;
|
|
732
745
|
isContextualUpgradeModalVisible: boolean;
|
|
733
|
-
contextualUpgradeType:
|
|
746
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
734
747
|
requestVerificationToken?: string | undefined;
|
|
735
748
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
736
749
|
isUserDraft: (state: {
|
|
@@ -751,8 +764,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
751
764
|
updated: Date;
|
|
752
765
|
brandPageToken: string;
|
|
753
766
|
domainName: string;
|
|
754
|
-
status: "
|
|
755
|
-
dnsConfigurationStatus: "
|
|
767
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
768
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
756
769
|
triggerOrigin?: string | undefined;
|
|
757
770
|
} | null;
|
|
758
771
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -808,7 +821,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
808
821
|
};
|
|
809
822
|
isSubsequentPublish: boolean;
|
|
810
823
|
isContextualUpgradeModalVisible: boolean;
|
|
811
|
-
contextualUpgradeType:
|
|
824
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
812
825
|
requestVerificationToken?: string | undefined;
|
|
813
826
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
814
827
|
}, {
|
|
@@ -845,7 +858,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
845
858
|
setIsSubsequentPublish(payload: any): void;
|
|
846
859
|
clearPublishErrorMessage(): void;
|
|
847
860
|
closePublishModal(payload?: {
|
|
848
|
-
skipShowNextNotificationMessage?: boolean
|
|
861
|
+
skipShowNextNotificationMessage?: boolean;
|
|
849
862
|
}): Promise<void>;
|
|
850
863
|
closeUpgradeModal(): Promise<void>;
|
|
851
864
|
endBrandPageSlugEditMode(): void;
|
|
@@ -868,8 +881,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
868
881
|
redirectToStripeOnboarding(): Promise<void>;
|
|
869
882
|
exportDesignAsync(): Promise<any>;
|
|
870
883
|
saveBrandPage(payload?: {
|
|
871
|
-
isPublish?: boolean
|
|
872
|
-
eventButtonLocation?: string
|
|
884
|
+
isPublish?: boolean;
|
|
885
|
+
eventButtonLocation?: string;
|
|
873
886
|
}): Promise<false | {
|
|
874
887
|
saved: boolean;
|
|
875
888
|
canPublish: boolean;
|
|
@@ -878,9 +891,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
878
891
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
879
892
|
saveTemplate(): Promise<void>;
|
|
880
893
|
setBrandPageStatus(status: any): Promise<void>;
|
|
881
|
-
showPublishModal(eventButtonLocation?: string
|
|
894
|
+
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
882
895
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
883
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
896
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType, cta?: string): Promise<void>;
|
|
884
897
|
getContextualUpgradeResponseAsync(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
885
898
|
showStripeOnboardingModal(): void;
|
|
886
899
|
closeStripeOnboardingModal(): void;
|
|
@@ -916,52 +929,52 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
916
929
|
reset: boolean;
|
|
917
930
|
}): void;
|
|
918
931
|
setState({ newState, }: {
|
|
919
|
-
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "
|
|
932
|
+
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "availableNavigationStyleConfigs" | "navigationStyleTypeConfigs">;
|
|
920
933
|
}): void;
|
|
921
934
|
setNavigationOrder({ section, renderAfterLogo, viewport, }: {
|
|
922
|
-
section: "
|
|
935
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
923
936
|
renderAfterLogo: boolean;
|
|
924
937
|
viewport: import("@brand-page").ViewportsType;
|
|
925
938
|
}): void;
|
|
926
939
|
_setDefaultButtonStyle({ displayType, section, style, viewport, }: {
|
|
927
940
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
928
|
-
section: "
|
|
941
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
929
942
|
style: BrandPageCssStyle;
|
|
930
943
|
viewport: import("@brand-page").ViewportsType;
|
|
931
944
|
}): void;
|
|
932
945
|
_setSelectedButtonStyle({ displayType, section, style, viewport, }: {
|
|
933
946
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
934
|
-
section: "
|
|
947
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
935
948
|
style: BrandPageCssStyle;
|
|
936
949
|
viewport: import("@brand-page").ViewportsType;
|
|
937
950
|
}): void;
|
|
938
951
|
_setIconStyle({ displayType, section, style, viewport, }: {
|
|
939
|
-
displayType?: import("@brand-page").NavigationDisplayType
|
|
940
|
-
section: "
|
|
952
|
+
displayType?: import("@brand-page").NavigationDisplayType;
|
|
953
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
941
954
|
style: BrandPageCssStyle;
|
|
942
955
|
viewport: import("@brand-page").ViewportsType;
|
|
943
956
|
}): void;
|
|
944
957
|
_setSubNavBackgroundColor({ displayType, section, value, viewport, }: {
|
|
945
958
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
946
|
-
section: "
|
|
959
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
947
960
|
value: string | undefined;
|
|
948
961
|
viewport: import("@brand-page").ViewportsType;
|
|
949
962
|
}): void;
|
|
950
963
|
_setButtonStyles({ section, defaultButtonStyle, selectedButtonStyle, iconStyle, viewport, }: {
|
|
951
|
-
section: "
|
|
964
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
952
965
|
defaultButtonStyle: import("@brand-page").TextStyleDeclaration;
|
|
953
966
|
selectedButtonStyle: BrandPageCssStyle;
|
|
954
967
|
iconStyle: BrandPageCssStyle;
|
|
955
968
|
viewport: import("@brand-page").ViewportsType;
|
|
956
969
|
}): void;
|
|
957
970
|
setDisplayType({ section, displayType, viewport, }: {
|
|
958
|
-
section: "
|
|
971
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
959
972
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
960
973
|
viewport: import("@brand-page").ViewportsType;
|
|
961
974
|
}): void;
|
|
962
975
|
setNavigationStyleOptionValue({ section, option, value, viewport, }: {
|
|
963
|
-
section: "
|
|
964
|
-
option: "
|
|
976
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
977
|
+
option: import("../../models/navigation-style-configs").NavigationStyleConfigOption;
|
|
965
978
|
value: any;
|
|
966
979
|
viewport: import("@brand-page").ViewportsType;
|
|
967
980
|
}): void;
|
|
@@ -972,7 +985,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
972
985
|
}): void;
|
|
973
986
|
setSelectedTabName(payload: import("../../../lib").SetSelectedTabNamePayload): void;
|
|
974
987
|
setSelectedSettingsSection(payload: {
|
|
975
|
-
sectionName?: string
|
|
988
|
+
sectionName?: string;
|
|
976
989
|
}): void;
|
|
977
990
|
}>;
|
|
978
991
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("@shared/page-settings/store").PageSettingsState, {
|
|
@@ -992,7 +1005,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
992
1005
|
}): void;
|
|
993
1006
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
994
1007
|
isNewPageModalVisible: boolean;
|
|
995
|
-
parentPageId?: string
|
|
1008
|
+
parentPageId?: string;
|
|
996
1009
|
}): Promise<void>;
|
|
997
1010
|
addPage({ page }: {
|
|
998
1011
|
page: import("@shared/page-settings/models").ContentPage;
|
|
@@ -1007,22 +1020,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1007
1020
|
pageId: string;
|
|
1008
1021
|
}): void;
|
|
1009
1022
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
1010
|
-
sectionName: "
|
|
1011
|
-
propName:
|
|
1012
|
-
index?: number
|
|
1013
|
-
value: string |
|
|
1014
|
-
merge?: boolean
|
|
1023
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1024
|
+
propName: keyof import("@shared/page-settings/store").PageSettingsStateSectionStyles;
|
|
1025
|
+
index?: number;
|
|
1026
|
+
value: string | boolean | import("@brand-page").LinksItem[] | BrandPageCssStyle | Partial<import("@brand-page").ImageGalleryItem> | number | null | undefined;
|
|
1027
|
+
merge?: boolean;
|
|
1015
1028
|
viewport: import("@brand-page").ViewportsType;
|
|
1016
1029
|
}): void;
|
|
1017
1030
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
1018
1031
|
logoImage: import("@brand-page").LogoImageModel;
|
|
1019
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel
|
|
1032
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
1020
1033
|
logoImageBase64Url: string | undefined;
|
|
1021
|
-
sectionName: "
|
|
1034
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1022
1035
|
viewport: import("@brand-page").ViewportsType;
|
|
1023
|
-
keepLogoVariation?: boolean
|
|
1024
|
-
logoImageHeight?: string
|
|
1025
|
-
logoImageWidth?: string
|
|
1036
|
+
keepLogoVariation?: boolean;
|
|
1037
|
+
logoImageHeight?: string;
|
|
1038
|
+
logoImageWidth?: string;
|
|
1026
1039
|
}): void;
|
|
1027
1040
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
1028
1041
|
sectionName: string;
|
|
@@ -1037,13 +1050,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1037
1050
|
}): void;
|
|
1038
1051
|
addNewPage(payload: {
|
|
1039
1052
|
title: string;
|
|
1040
|
-
newPageParentId?: string
|
|
1053
|
+
newPageParentId?: string;
|
|
1041
1054
|
}): import("@shared/page-settings/models").ContentPage;
|
|
1042
1055
|
setSelectedSectionName({ sectionName, }: {
|
|
1043
|
-
sectionName?: "
|
|
1056
|
+
sectionName?: import("@shared/page-settings/store").PageSettingsSection;
|
|
1044
1057
|
}): void;
|
|
1045
1058
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
1046
|
-
sectionName: "
|
|
1059
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1047
1060
|
isCollapsed: boolean;
|
|
1048
1061
|
}): void;
|
|
1049
1062
|
collapseAllSections(): void;
|
|
@@ -1081,15 +1094,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1081
1094
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
1082
1095
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
1083
1096
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
1084
|
-
sendUpsellOpenEvent: (cta_location?: string
|
|
1097
|
+
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
1085
1098
|
sendDomainUpsellOpenEvent: () => void;
|
|
1086
1099
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
1087
1100
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
1088
1101
|
sendPublishOpenEvent: () => void;
|
|
1089
1102
|
appendPublishBridgeState: (props: any) => void;
|
|
1090
1103
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
1091
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean
|
|
1092
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean
|
|
1104
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
1105
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
1093
1106
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
1094
1107
|
sendPublishOptionsForFreeEvent: () => void;
|
|
1095
1108
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -1098,8 +1111,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1098
1111
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
1099
1112
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
1100
1113
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
1101
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string
|
|
1102
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string
|
|
1114
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
1115
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
1103
1116
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
1104
1117
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
1105
1118
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -1117,13 +1130,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1117
1130
|
defaultTextColor(): string | undefined;
|
|
1118
1131
|
logoBackgroundColor(): string | undefined;
|
|
1119
1132
|
selectedButtonStyleConfig(): import("../../models").ButtonStyleConfig | undefined;
|
|
1120
|
-
selectedTextFontFamily(): "
|
|
1133
|
+
selectedTextFontFamily(): import("@brand-page").FontFamilyKey;
|
|
1121
1134
|
doesLogoHaveBackground(): boolean;
|
|
1122
1135
|
activeLogoStyles(): import("@brand-page").LogoStyles;
|
|
1123
1136
|
}, {
|
|
1124
1137
|
initialise(options: {
|
|
1125
1138
|
reset: boolean;
|
|
1126
|
-
brandPageType: "
|
|
1139
|
+
brandPageType: import("@brand-page").BrandPageType;
|
|
1127
1140
|
}): void;
|
|
1128
1141
|
setState(payload: {
|
|
1129
1142
|
newState: Omit<import("@shared/style-settings/store").StyleSettingsState, "availableButtonStyleConfigs" | "availableGalleryTypes">;
|
|
@@ -1141,16 +1154,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1141
1154
|
id: string;
|
|
1142
1155
|
}): void;
|
|
1143
1156
|
_setTextFontFamily(payload: {
|
|
1144
|
-
fontFamily: "
|
|
1157
|
+
fontFamily: import("@brand-page").FontFamilyKey;
|
|
1145
1158
|
}): void;
|
|
1146
1159
|
_setTextStyles(payload: Partial<import("@brand-page").TextStyles>): void;
|
|
1147
1160
|
setAdminStyleOptionDefaultValues(): void;
|
|
1148
1161
|
setTextStyleOption(payload: {
|
|
1149
|
-
type: "
|
|
1162
|
+
type: import("@brand-page").TextStyleType;
|
|
1150
1163
|
style: import("@brand-page").TextStyleDeclaration;
|
|
1151
1164
|
}): void;
|
|
1152
1165
|
setStyleOptionValue(payload: {
|
|
1153
|
-
option: "
|
|
1166
|
+
option: import("../../models").ButtonStyleConfigOption | import("../../models").OtherStyleConfigOption;
|
|
1154
1167
|
value: string;
|
|
1155
1168
|
}): void;
|
|
1156
1169
|
setButtonStyles(payload: import("@brand-page").ButtonStyles): void;
|
|
@@ -1167,7 +1180,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1167
1180
|
id: string;
|
|
1168
1181
|
}): void;
|
|
1169
1182
|
setTextFontFamily(payload: {
|
|
1170
|
-
fontFamily: "
|
|
1183
|
+
fontFamily: import("@brand-page").FontFamilyKey;
|
|
1171
1184
|
}): Promise<void>;
|
|
1172
1185
|
toggleLogoBackground(): Promise<any>;
|
|
1173
1186
|
}>;
|
|
@@ -1181,12 +1194,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1181
1194
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1182
1195
|
captureBaseline: () => void;
|
|
1183
1196
|
capture: (args: {
|
|
1184
|
-
source: "
|
|
1185
|
-
actor: "
|
|
1186
|
-
label?: string
|
|
1197
|
+
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
1198
|
+
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
1199
|
+
label?: string;
|
|
1187
1200
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1188
|
-
captureTemplateSwitch: (label?: string
|
|
1189
|
-
captureAiChangeset: (label?: string
|
|
1201
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1202
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1190
1203
|
mergeNextMutation: () => void;
|
|
1191
1204
|
undo: () => Promise<void>;
|
|
1192
1205
|
redo: () => Promise<void>;
|
|
@@ -1203,12 +1216,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1203
1216
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1204
1217
|
captureBaseline: () => void;
|
|
1205
1218
|
capture: (args: {
|
|
1206
|
-
source: "
|
|
1207
|
-
actor: "
|
|
1208
|
-
label?: string
|
|
1219
|
+
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
1220
|
+
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
1221
|
+
label?: string;
|
|
1209
1222
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1210
|
-
captureTemplateSwitch: (label?: string
|
|
1211
|
-
captureAiChangeset: (label?: string
|
|
1223
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1224
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1212
1225
|
mergeNextMutation: () => void;
|
|
1213
1226
|
undo: () => Promise<void>;
|
|
1214
1227
|
redo: () => Promise<void>;
|
|
@@ -1225,12 +1238,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1225
1238
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1226
1239
|
captureBaseline: () => void;
|
|
1227
1240
|
capture: (args: {
|
|
1228
|
-
source: "
|
|
1229
|
-
actor: "
|
|
1230
|
-
label?: string
|
|
1241
|
+
source: import("@brand-page-maker/stores/history/history-store").HistoryEntry["source"];
|
|
1242
|
+
actor: import("@brand-page-maker/stores/history/history-store").HistoryEntry["actor"];
|
|
1243
|
+
label?: string;
|
|
1231
1244
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1232
|
-
captureTemplateSwitch: (label?: string
|
|
1233
|
-
captureAiChangeset: (label?: string
|
|
1245
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1246
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1234
1247
|
mergeNextMutation: () => void;
|
|
1235
1248
|
undo: () => Promise<void>;
|
|
1236
1249
|
redo: () => Promise<void>;
|
|
@@ -1400,8 +1413,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1400
1413
|
}>, {
|
|
1401
1414
|
viewport: import("@brand-page").ViewportsType;
|
|
1402
1415
|
isMobileDevice: boolean;
|
|
1403
|
-
containerClientHeight: number | undefined;
|
|
1404
1416
|
containerClientWidth: number | undefined;
|
|
1417
|
+
containerClientHeight: number | undefined;
|
|
1405
1418
|
isContentSelected: boolean;
|
|
1406
1419
|
isHeaderSelected: boolean;
|
|
1407
1420
|
isFooterSelected: boolean;
|