@designcrowd/library.brand-page 6.0.5 → 6.0.6-ast-bugs
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-DhzvKlTS.js → CreatedOnBrandCrowd-de-de-SHCspMwS.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-en-us-DKH4lmNV.js → CreatedOnBrandCrowd-en-us-C6lITAAT.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-es-es-RloPCLuV.js → CreatedOnBrandCrowd-es-es-Uh69c4vZ.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Cu9e2H0K.js → CreatedOnBrandCrowd-fr-ca-Bb0rp7BV.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-Cu9e2H0K.js → CreatedOnBrandCrowd-fr-fr-Bb0rp7BV.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CiCnjxBZ.js → CreatedOnBrandCrowd-pt-br-DsrQHcjs.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-br-CiCnjxBZ.js → CreatedOnBrandCrowd-pt-pt-DsrQHcjs.js} +3 -3
- package/lib/src/{CreatedOnDcom-de-de-CwlnedFV.js → CreatedOnDcom-de-de-BshZYzSp.js} +3 -3
- package/lib/src/{CreatedOnDcom-en-us-DFHex61v.js → CreatedOnDcom-en-us-CLu8mKUW.js} +3 -3
- package/lib/src/{CreatedOnDcom-es-es-BTxH6I4V.js → CreatedOnDcom-es-es-BZYhkONd.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-ca-BVw0KYxu.js → CreatedOnDcom-fr-ca-CIaBEp_9.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-fr-DaqNz1Er.js → CreatedOnDcom-fr-fr-dyF7hioJ.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-br-B4KsMI8W.js → CreatedOnDcom-pt-br-CUHjk2du.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-pt-CWoHEtOZ.js → CreatedOnDcom-pt-pt-CWDvQidv.js} +3 -3
- package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +103 -0
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +178 -0
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +1 -2
- 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 +11 -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 +2 -13
- 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/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-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 +181 -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 +148 -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/types.d.ts +3 -0
- package/lib/src/brand-page-maker/composables/ai-chat/ui-actions.d.ts +29 -0
- package/lib/src/brand-page-maker/composables/ai-chat/ui-actions.js +32 -0
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +204 -177
- 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 +3 -2
- package/lib/src/brand-page-maker/composables/useEventTracker.js +1 -0
- 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 +1 -2
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +366 -378
- 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/clients/ai-assistant-client.d.ts +7 -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 +371 -344
- package/lib/src/css/library.brand-page-brandPage.min.css +649 -344
- package/lib/src/css/library.brand-page-designCom.min.css +371 -344
- package/lib/src/css/library.brand-page-preview.min.css +627 -344
- package/lib/src/index.d.ts +4 -0
- package/lib/src/index.mjs +107 -104
- package/lib/src/{lib-BPI8E2Ui.js → lib-COw-Rz05.js} +37005 -33761
- package/lib/src/lib.js +10 -0
- package/lib/src/metadata-builder/builders/footer-builder.js +105 -62
- package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +68 -57
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +93 -58
- package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +99 -66
- package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +17 -57
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +85 -51
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +74 -49
- package/lib/src/metadata-builder/builders/section-field-utils.d.ts +7 -0
- 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 +7 -16
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +48 -66
- 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 +131 -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 +111 -110
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +84 -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 +117 -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 +72 -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/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 +39 -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 +188 -179
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +181 -177
- 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/build-asset-manifest.d.ts +4 -0
- package/lib/src/utils/build-asset-manifest.js +8 -0
- package/lib/src/utils/minify-brand-page-metadata.d.ts +0 -2
- package/lib/src/utils/minify-brand-page-metadata.js +2 -17
- package/package.json +60 -56
- 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 +5 -1
- 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 +1 -2
- 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/navigation/hamburger/HamburgerNavigation.mixin.ts +1 -0
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +25 -8
- 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/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 +1 -5
- 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 +3 -1
- package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
- package/src/brand-page/models/index.ts +4 -12
- 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 +3 -0
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +1 -0
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +2 -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/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/AiActionButtons.vue +27 -12
- package/src/brand-page-maker/components/ai-text-edit/AiChatbox.vue +3 -2
- package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +8 -7
- package/src/brand-page-maker/components/ai-website-builder/AiWebsiteBuilder.vue +21 -1
- 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/types.ts +6 -0
- package/src/brand-page-maker/composables/ai-chat/ui-actions.test.ts +80 -0
- package/src/brand-page-maker/composables/ai-chat/ui-actions.ts +58 -0
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +308 -262
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
- package/src/brand-page-maker/composables/useEventTracker.ts +1 -0
- 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 +4 -2
- package/src/brand-page-maker/models/content-settings-configs.ts +4 -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/clients/ai-assistant-client.ts +7 -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 +12 -0
- package/src/metadata-builder/builders/footer-builder.test.ts +130 -229
- package/src/metadata-builder/builders/footer-builder.ts +155 -90
- package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +88 -62
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +129 -66
- package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +160 -105
- package/src/metadata-builder/builders/section-builders/social-links-builder.ts +20 -65
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +146 -83
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +122 -70
- 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 +7 -16
- package/src/metadata-builder/parsers/section-tool-arguments.ts +48 -66
- 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-item/ContentSettingsItem.mixin.ts +5 -0
- 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/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/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/build-asset-manifest.ts +12 -0
- package/src/utils/minify-brand-page-metadata.ts +7 -27
- package/lib/src/metadata-builder/builders/item-id-utils.d.ts +0 -54
- package/lib/src/metadata-builder/builders/item-id-utils.js +0 -96
- package/src/metadata-builder/builders/item-id-utils.test.ts +0 -184
- package/src/metadata-builder/builders/item-id-utils.ts +0 -117
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
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;
|
|
14
13
|
topPadding?: number | undefined;
|
|
15
14
|
bottomPadding?: number | undefined;
|
|
16
15
|
imageUrlOverride?: string | undefined;
|
|
@@ -35,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
35
34
|
isMobileDevice: import("vue").ComputedRef<boolean>;
|
|
36
35
|
brandPageToken: import("vue").ComputedRef<string | undefined>;
|
|
37
36
|
isInteractivePreviewEnabled: import("vue").ComputedRef<boolean>;
|
|
38
|
-
getValue: import("vue").ComputedRef<(id: string, fieldName: string) =>
|
|
37
|
+
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => Content | string | undefined>;
|
|
39
38
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
40
39
|
canUseRichTextEditor: import("vue").ComputedRef<boolean>;
|
|
41
40
|
isAdmin: import("vue").ComputedRef<boolean>;
|
|
@@ -75,23 +74,23 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
75
74
|
contentErrorCount(): number;
|
|
76
75
|
getContent(state: {
|
|
77
76
|
addContentOptions: {
|
|
78
|
-
type: "
|
|
77
|
+
type: import("@brand-page").ContentType;
|
|
79
78
|
category: string;
|
|
80
79
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
81
80
|
displayName: string;
|
|
82
81
|
iconName: string;
|
|
83
82
|
isEnabled: boolean;
|
|
84
83
|
isLocked: boolean;
|
|
85
|
-
displayMode?: "
|
|
84
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
86
85
|
}[];
|
|
87
86
|
items: {
|
|
88
87
|
id: string;
|
|
89
|
-
type: "
|
|
88
|
+
type: import("@brand-page").ContentType;
|
|
90
89
|
settings: {
|
|
91
90
|
content: {
|
|
92
91
|
id: string;
|
|
93
|
-
type: "
|
|
94
|
-
personalisationRole?: "
|
|
92
|
+
type: import("@brand-page").ContentType;
|
|
93
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
95
94
|
topPadding?: number | undefined;
|
|
96
95
|
bottomPadding?: number | undefined;
|
|
97
96
|
imageUrlOverride?: string | undefined;
|
|
@@ -112,37 +111,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
112
111
|
}[];
|
|
113
112
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
114
113
|
modeStack: {
|
|
115
|
-
mode: "
|
|
114
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
116
115
|
selectedItemId?: string | undefined;
|
|
117
116
|
selectedItemFieldName?: string | undefined;
|
|
118
117
|
selectedItemIndex?: number | undefined;
|
|
119
118
|
}[];
|
|
120
119
|
selectedItemId: string | null;
|
|
121
|
-
selectedItemEventSource: "
|
|
120
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
122
121
|
selectedItemFieldName: string | null;
|
|
123
122
|
selectedItemValue: string | null;
|
|
124
123
|
selectedItemIndex: number | null;
|
|
125
|
-
activeCategoryTab:
|
|
124
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
126
125
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
127
126
|
getFieldSettings(state: {
|
|
128
127
|
addContentOptions: {
|
|
129
|
-
type: "
|
|
128
|
+
type: import("@brand-page").ContentType;
|
|
130
129
|
category: string;
|
|
131
130
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
132
131
|
displayName: string;
|
|
133
132
|
iconName: string;
|
|
134
133
|
isEnabled: boolean;
|
|
135
134
|
isLocked: boolean;
|
|
136
|
-
displayMode?: "
|
|
135
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
137
136
|
}[];
|
|
138
137
|
items: {
|
|
139
138
|
id: string;
|
|
140
|
-
type: "
|
|
139
|
+
type: import("@brand-page").ContentType;
|
|
141
140
|
settings: {
|
|
142
141
|
content: {
|
|
143
142
|
id: string;
|
|
144
|
-
type: "
|
|
145
|
-
personalisationRole?: "
|
|
143
|
+
type: import("@brand-page").ContentType;
|
|
144
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
146
145
|
topPadding?: number | undefined;
|
|
147
146
|
bottomPadding?: number | undefined;
|
|
148
147
|
imageUrlOverride?: string | undefined;
|
|
@@ -163,37 +162,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
163
162
|
}[];
|
|
164
163
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
165
164
|
modeStack: {
|
|
166
|
-
mode: "
|
|
165
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
167
166
|
selectedItemId?: string | undefined;
|
|
168
167
|
selectedItemFieldName?: string | undefined;
|
|
169
168
|
selectedItemIndex?: number | undefined;
|
|
170
169
|
}[];
|
|
171
170
|
selectedItemId: string | null;
|
|
172
|
-
selectedItemEventSource: "
|
|
171
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
173
172
|
selectedItemFieldName: string | null;
|
|
174
173
|
selectedItemValue: string | null;
|
|
175
174
|
selectedItemIndex: number | null;
|
|
176
|
-
activeCategoryTab:
|
|
175
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
177
176
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
178
177
|
getItem(state: {
|
|
179
178
|
addContentOptions: {
|
|
180
|
-
type: "
|
|
179
|
+
type: import("@brand-page").ContentType;
|
|
181
180
|
category: string;
|
|
182
181
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
183
182
|
displayName: string;
|
|
184
183
|
iconName: string;
|
|
185
184
|
isEnabled: boolean;
|
|
186
185
|
isLocked: boolean;
|
|
187
|
-
displayMode?: "
|
|
186
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
188
187
|
}[];
|
|
189
188
|
items: {
|
|
190
189
|
id: string;
|
|
191
|
-
type: "
|
|
190
|
+
type: import("@brand-page").ContentType;
|
|
192
191
|
settings: {
|
|
193
192
|
content: {
|
|
194
193
|
id: string;
|
|
195
|
-
type: "
|
|
196
|
-
personalisationRole?: "
|
|
194
|
+
type: import("@brand-page").ContentType;
|
|
195
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
197
196
|
topPadding?: number | undefined;
|
|
198
197
|
bottomPadding?: number | undefined;
|
|
199
198
|
imageUrlOverride?: string | undefined;
|
|
@@ -214,37 +213,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
214
213
|
}[];
|
|
215
214
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
216
215
|
modeStack: {
|
|
217
|
-
mode: "
|
|
216
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
218
217
|
selectedItemId?: string | undefined;
|
|
219
218
|
selectedItemFieldName?: string | undefined;
|
|
220
219
|
selectedItemIndex?: number | undefined;
|
|
221
220
|
}[];
|
|
222
221
|
selectedItemId: string | null;
|
|
223
|
-
selectedItemEventSource: "
|
|
222
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
224
223
|
selectedItemFieldName: string | null;
|
|
225
224
|
selectedItemValue: string | null;
|
|
226
225
|
selectedItemIndex: number | null;
|
|
227
|
-
activeCategoryTab:
|
|
226
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
228
227
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
229
228
|
getValue(state: {
|
|
230
229
|
addContentOptions: {
|
|
231
|
-
type: "
|
|
230
|
+
type: import("@brand-page").ContentType;
|
|
232
231
|
category: string;
|
|
233
232
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
234
233
|
displayName: string;
|
|
235
234
|
iconName: string;
|
|
236
235
|
isEnabled: boolean;
|
|
237
236
|
isLocked: boolean;
|
|
238
|
-
displayMode?: "
|
|
237
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
239
238
|
}[];
|
|
240
239
|
items: {
|
|
241
240
|
id: string;
|
|
242
|
-
type: "
|
|
241
|
+
type: import("@brand-page").ContentType;
|
|
243
242
|
settings: {
|
|
244
243
|
content: {
|
|
245
244
|
id: string;
|
|
246
|
-
type: "
|
|
247
|
-
personalisationRole?: "
|
|
245
|
+
type: import("@brand-page").ContentType;
|
|
246
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
248
247
|
topPadding?: number | undefined;
|
|
249
248
|
bottomPadding?: number | undefined;
|
|
250
249
|
imageUrlOverride?: string | undefined;
|
|
@@ -265,37 +264,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
265
264
|
}[];
|
|
266
265
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
267
266
|
modeStack: {
|
|
268
|
-
mode: "
|
|
267
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
269
268
|
selectedItemId?: string | undefined;
|
|
270
269
|
selectedItemFieldName?: string | undefined;
|
|
271
270
|
selectedItemIndex?: number | undefined;
|
|
272
271
|
}[];
|
|
273
272
|
selectedItemId: string | null;
|
|
274
|
-
selectedItemEventSource: "
|
|
273
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
275
274
|
selectedItemFieldName: string | null;
|
|
276
275
|
selectedItemValue: string | null;
|
|
277
276
|
selectedItemIndex: number | null;
|
|
278
|
-
activeCategoryTab:
|
|
279
|
-
} & 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;
|
|
280
279
|
getItemState(state: {
|
|
281
280
|
addContentOptions: {
|
|
282
|
-
type: "
|
|
281
|
+
type: import("@brand-page").ContentType;
|
|
283
282
|
category: string;
|
|
284
283
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
285
284
|
displayName: string;
|
|
286
285
|
iconName: string;
|
|
287
286
|
isEnabled: boolean;
|
|
288
287
|
isLocked: boolean;
|
|
289
|
-
displayMode?: "
|
|
288
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
290
289
|
}[];
|
|
291
290
|
items: {
|
|
292
291
|
id: string;
|
|
293
|
-
type: "
|
|
292
|
+
type: import("@brand-page").ContentType;
|
|
294
293
|
settings: {
|
|
295
294
|
content: {
|
|
296
295
|
id: string;
|
|
297
|
-
type: "
|
|
298
|
-
personalisationRole?: "
|
|
296
|
+
type: import("@brand-page").ContentType;
|
|
297
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
299
298
|
topPadding?: number | undefined;
|
|
300
299
|
bottomPadding?: number | undefined;
|
|
301
300
|
imageUrlOverride?: string | undefined;
|
|
@@ -316,37 +315,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
316
315
|
}[];
|
|
317
316
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
318
317
|
modeStack: {
|
|
319
|
-
mode: "
|
|
318
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
320
319
|
selectedItemId?: string | undefined;
|
|
321
320
|
selectedItemFieldName?: string | undefined;
|
|
322
321
|
selectedItemIndex?: number | undefined;
|
|
323
322
|
}[];
|
|
324
323
|
selectedItemId: string | null;
|
|
325
|
-
selectedItemEventSource: "
|
|
324
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
326
325
|
selectedItemFieldName: string | null;
|
|
327
326
|
selectedItemValue: string | null;
|
|
328
327
|
selectedItemIndex: number | null;
|
|
329
|
-
activeCategoryTab:
|
|
328
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
330
329
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@shared/content-settings/models").ContentSettingsItemState;
|
|
331
330
|
getItemGroupState(state: {
|
|
332
331
|
addContentOptions: {
|
|
333
|
-
type: "
|
|
332
|
+
type: import("@brand-page").ContentType;
|
|
334
333
|
category: string;
|
|
335
334
|
createInitialContent: (options: import("@shared/content-settings/models").CreateInitialContentOptions) => Content;
|
|
336
335
|
displayName: string;
|
|
337
336
|
iconName: string;
|
|
338
337
|
isEnabled: boolean;
|
|
339
338
|
isLocked: boolean;
|
|
340
|
-
displayMode?: "
|
|
339
|
+
displayMode?: import("../../models").ContentSettingsDisplayMode | undefined;
|
|
341
340
|
}[];
|
|
342
341
|
items: {
|
|
343
342
|
id: string;
|
|
344
|
-
type: "
|
|
343
|
+
type: import("@brand-page").ContentType;
|
|
345
344
|
settings: {
|
|
346
345
|
content: {
|
|
347
346
|
id: string;
|
|
348
|
-
type: "
|
|
349
|
-
personalisationRole?: "
|
|
347
|
+
type: import("@brand-page").ContentType;
|
|
348
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
350
349
|
topPadding?: number | undefined;
|
|
351
350
|
bottomPadding?: number | undefined;
|
|
352
351
|
imageUrlOverride?: string | undefined;
|
|
@@ -367,26 +366,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
367
366
|
}[];
|
|
368
367
|
itemStates: Record<string, import("@shared/content-settings/models").ContentSettingsItemState>;
|
|
369
368
|
modeStack: {
|
|
370
|
-
mode: "
|
|
369
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
371
370
|
selectedItemId?: string | undefined;
|
|
372
371
|
selectedItemFieldName?: string | undefined;
|
|
373
372
|
selectedItemIndex?: number | undefined;
|
|
374
373
|
}[];
|
|
375
374
|
selectedItemId: string | null;
|
|
376
|
-
selectedItemEventSource: "
|
|
375
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
377
376
|
selectedItemFieldName: string | null;
|
|
378
377
|
selectedItemValue: string | null;
|
|
379
378
|
selectedItemIndex: number | null;
|
|
380
|
-
activeCategoryTab:
|
|
379
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
381
380
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
382
|
-
mode(): "
|
|
381
|
+
mode(): import("@shared/content-settings/store").ContentSettingsMode;
|
|
383
382
|
selectedItem(): ContentItem<any> | undefined;
|
|
384
|
-
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any
|
|
383
|
+
selectedItemTemplate(): import("../../models").ContentSettingsConfig<any> | undefined;
|
|
385
384
|
}, {
|
|
386
385
|
onContentChanged(): void;
|
|
387
386
|
_addItem({ item, index, }: {
|
|
388
387
|
item: ContentItem<any>;
|
|
389
|
-
index?: number
|
|
388
|
+
index?: number;
|
|
390
389
|
}): void;
|
|
391
390
|
setState(payload: {
|
|
392
391
|
newState: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
@@ -403,7 +402,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
403
402
|
_setItemSettingsFieldErrorState(payload: import("@shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
404
403
|
_setSelectedItemId({ id, eventSource, }: {
|
|
405
404
|
id: string | null;
|
|
406
|
-
eventSource: "
|
|
405
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
407
406
|
}): void;
|
|
408
407
|
_setSelectedItemFieldName({ name: name }: {
|
|
409
408
|
name: string | null;
|
|
@@ -417,10 +416,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
417
416
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
418
417
|
selectedItemId: string | null;
|
|
419
418
|
imageUrl: string;
|
|
420
|
-
width?: number
|
|
421
|
-
height?: number
|
|
422
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
423
|
-
aspectRatio?: number | null
|
|
419
|
+
width?: number;
|
|
420
|
+
height?: number;
|
|
421
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
422
|
+
aspectRatio?: number | null;
|
|
424
423
|
}): void;
|
|
425
424
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
426
425
|
_setItems({ items }: {
|
|
@@ -444,7 +443,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
444
443
|
updateTextItemTextStyleType({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
445
444
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("@shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
446
445
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
447
|
-
activeCategoryTab:
|
|
446
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
448
447
|
}): void;
|
|
449
448
|
setItemState({ id, itemState, }: {
|
|
450
449
|
id: string;
|
|
@@ -467,7 +466,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
467
466
|
}): void;
|
|
468
467
|
addItemByType({ type, index, }: {
|
|
469
468
|
type: string;
|
|
470
|
-
index?: number
|
|
469
|
+
index?: number;
|
|
471
470
|
}): ContentItem<Content> | undefined;
|
|
472
471
|
deleteItem(payload: {
|
|
473
472
|
id: string;
|
|
@@ -479,13 +478,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
479
478
|
updateIsDefaultTextColorRequired(): void;
|
|
480
479
|
setSelectedItemId(payload: {
|
|
481
480
|
id: string | null;
|
|
482
|
-
eventSource: "
|
|
481
|
+
eventSource: import("@shared/models").UIEventSource;
|
|
483
482
|
}): void;
|
|
484
483
|
setSelectedItemAndFieldName(payload: {
|
|
485
484
|
id: string | null;
|
|
486
485
|
name: string | null;
|
|
487
486
|
index: number | null;
|
|
488
|
-
eventSource: "
|
|
487
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
489
488
|
}): void;
|
|
490
489
|
setSelectedItemValue(payload: {
|
|
491
490
|
value: string | null;
|
|
@@ -493,10 +492,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
493
492
|
setSelectedItemImage(payload: {
|
|
494
493
|
selectedItemId: string | null;
|
|
495
494
|
imageUrl: string;
|
|
496
|
-
width?: number
|
|
497
|
-
height?: number
|
|
498
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
499
|
-
aspectRatio?: number | null
|
|
495
|
+
width?: number;
|
|
496
|
+
height?: number;
|
|
497
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
498
|
+
aspectRatio?: number | null;
|
|
500
499
|
}): void;
|
|
501
500
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
502
501
|
setItems(payload: {
|
|
@@ -508,19 +507,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
508
507
|
type: string;
|
|
509
508
|
}): Promise<void>;
|
|
510
509
|
setActiveCategoryTab(payload: {
|
|
511
|
-
activeCategoryTab:
|
|
510
|
+
activeCategoryTab: import("../../models").ItemCategory;
|
|
512
511
|
}): void;
|
|
513
512
|
selectInitialContentCategory(payload: {
|
|
514
513
|
selectedCategory: string;
|
|
515
514
|
}): void;
|
|
516
515
|
initialiseItemState({ item, itemState, }: {
|
|
517
516
|
item: ContentItem<Content>;
|
|
518
|
-
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState
|
|
517
|
+
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
519
518
|
}): void;
|
|
520
519
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
521
520
|
id: string;
|
|
522
521
|
groupId: string;
|
|
523
|
-
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState
|
|
522
|
+
groupState?: import("@shared/content-settings/models").ContentSettingsItemGroupState;
|
|
524
523
|
}): void;
|
|
525
524
|
}>;
|
|
526
525
|
brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
|
|
@@ -531,7 +530,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
531
530
|
brandPageToken(): string | undefined;
|
|
532
531
|
brandPageDescription(): string;
|
|
533
532
|
brandPageSlug(): string;
|
|
534
|
-
brandPageTemplate():
|
|
533
|
+
brandPageTemplate(): import("@brand-page").BrandPageData;
|
|
535
534
|
brandPageTitle(): string;
|
|
536
535
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
537
536
|
gettyVideoIds(): string[];
|
|
@@ -546,7 +545,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
546
545
|
showBrandCrowdLogo(): boolean;
|
|
547
546
|
}, {
|
|
548
547
|
setMode(payload: {
|
|
549
|
-
mode: "
|
|
548
|
+
mode: import("@brand-page-maker/stores").BrandPageSettingsMode;
|
|
550
549
|
}): void;
|
|
551
550
|
setFaviconUrl(payload: {
|
|
552
551
|
faviconUrl: string | undefined;
|
|
@@ -590,7 +589,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
590
589
|
enqueueContentErrorMessage(): void;
|
|
591
590
|
dequeueNotificationMessageQueue(): void;
|
|
592
591
|
setCurrentNotificationMessage(payload: {
|
|
593
|
-
message:
|
|
592
|
+
message: import("@brand-page-maker/stores").NotificationMessage | false;
|
|
594
593
|
}): void;
|
|
595
594
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
596
595
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -609,9 +608,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
609
608
|
applySelectedTemplate(): Promise<void>;
|
|
610
609
|
enqueueErrorMessage(): Promise<void>;
|
|
611
610
|
enqueueSaveSuccessMessage(payload?: {
|
|
612
|
-
description?: string
|
|
613
|
-
isPublished?: boolean
|
|
614
|
-
noDescription?: boolean
|
|
611
|
+
description?: string;
|
|
612
|
+
isPublished?: boolean;
|
|
613
|
+
noDescription?: boolean;
|
|
615
614
|
}): Promise<void>;
|
|
616
615
|
hideChangeTemplateConfirmModal(): void;
|
|
617
616
|
onBackgroundChanged(): void;
|
|
@@ -627,16 +626,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
627
626
|
content: TContent;
|
|
628
627
|
}>(payload: P): Promise<void>;
|
|
629
628
|
_captureTemplateSwitchIfEnabled(): void;
|
|
630
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string
|
|
631
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string
|
|
632
|
-
_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;
|
|
633
632
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
634
633
|
export(): import("@brand-page").BrandPageModel;
|
|
635
634
|
setBrandPageType({ brandPageType }: {
|
|
636
|
-
brandPageType: "
|
|
635
|
+
brandPageType: import("@brand-page").BrandPageType;
|
|
637
636
|
}): void;
|
|
638
637
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
639
|
-
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>;
|
|
640
639
|
initialisePages({ pages, sections, }: {
|
|
641
640
|
pages: import("@brand-page").PageModel[];
|
|
642
641
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -664,7 +663,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
664
663
|
viewport: import("@brand-page").ViewportsType;
|
|
665
664
|
}): void;
|
|
666
665
|
showStripeOnboardingModal(): Promise<void>;
|
|
667
|
-
selectInitialCategories(payload: import("
|
|
666
|
+
selectInitialCategories(payload: import("@brand-page-maker/stores").SelectedCategoryPayload): void;
|
|
668
667
|
}>;
|
|
669
668
|
brandPageContainerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
|
|
670
669
|
brandPageContentTypes(): string[];
|
|
@@ -687,8 +686,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
687
686
|
updated: Date;
|
|
688
687
|
brandPageToken: string;
|
|
689
688
|
domainName: string;
|
|
690
|
-
status: "
|
|
691
|
-
dnsConfigurationStatus: "
|
|
689
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
690
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
692
691
|
triggerOrigin?: string | undefined;
|
|
693
692
|
} | null;
|
|
694
693
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -744,7 +743,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
744
743
|
};
|
|
745
744
|
isSubsequentPublish: boolean;
|
|
746
745
|
isContextualUpgradeModalVisible: boolean;
|
|
747
|
-
contextualUpgradeType:
|
|
746
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
748
747
|
requestVerificationToken?: string | undefined;
|
|
749
748
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
750
749
|
isUserDraft: (state: {
|
|
@@ -765,8 +764,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
765
764
|
updated: Date;
|
|
766
765
|
brandPageToken: string;
|
|
767
766
|
domainName: string;
|
|
768
|
-
status: "
|
|
769
|
-
dnsConfigurationStatus: "
|
|
767
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
768
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
770
769
|
triggerOrigin?: string | undefined;
|
|
771
770
|
} | null;
|
|
772
771
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -822,7 +821,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
822
821
|
};
|
|
823
822
|
isSubsequentPublish: boolean;
|
|
824
823
|
isContextualUpgradeModalVisible: boolean;
|
|
825
|
-
contextualUpgradeType:
|
|
824
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
826
825
|
requestVerificationToken?: string | undefined;
|
|
827
826
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
828
827
|
}, {
|
|
@@ -859,7 +858,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
859
858
|
setIsSubsequentPublish(payload: any): void;
|
|
860
859
|
clearPublishErrorMessage(): void;
|
|
861
860
|
closePublishModal(payload?: {
|
|
862
|
-
skipShowNextNotificationMessage?: boolean
|
|
861
|
+
skipShowNextNotificationMessage?: boolean;
|
|
863
862
|
}): Promise<void>;
|
|
864
863
|
closeUpgradeModal(): Promise<void>;
|
|
865
864
|
endBrandPageSlugEditMode(): void;
|
|
@@ -882,8 +881,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
882
881
|
redirectToStripeOnboarding(): Promise<void>;
|
|
883
882
|
exportDesignAsync(): Promise<any>;
|
|
884
883
|
saveBrandPage(payload?: {
|
|
885
|
-
isPublish?: boolean
|
|
886
|
-
eventButtonLocation?: string
|
|
884
|
+
isPublish?: boolean;
|
|
885
|
+
eventButtonLocation?: string;
|
|
887
886
|
}): Promise<false | {
|
|
888
887
|
saved: boolean;
|
|
889
888
|
canPublish: boolean;
|
|
@@ -892,9 +891,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
892
891
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
893
892
|
saveTemplate(): Promise<void>;
|
|
894
893
|
setBrandPageStatus(status: any): Promise<void>;
|
|
895
|
-
showPublishModal(eventButtonLocation?: string
|
|
894
|
+
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
896
895
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
897
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
896
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType, cta?: string): Promise<void>;
|
|
898
897
|
getContextualUpgradeResponseAsync(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
899
898
|
showStripeOnboardingModal(): void;
|
|
900
899
|
closeStripeOnboardingModal(): void;
|
|
@@ -930,52 +929,52 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
930
929
|
reset: boolean;
|
|
931
930
|
}): void;
|
|
932
931
|
setState({ newState, }: {
|
|
933
|
-
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "
|
|
932
|
+
newState: Omit<import("@shared/navigation-style-settings/store").NavigationStyleSettingsState, "availableNavigationStyleConfigs" | "navigationStyleTypeConfigs">;
|
|
934
933
|
}): void;
|
|
935
934
|
setNavigationOrder({ section, renderAfterLogo, viewport, }: {
|
|
936
|
-
section: "
|
|
935
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
937
936
|
renderAfterLogo: boolean;
|
|
938
937
|
viewport: import("@brand-page").ViewportsType;
|
|
939
938
|
}): void;
|
|
940
939
|
_setDefaultButtonStyle({ displayType, section, style, viewport, }: {
|
|
941
940
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
942
|
-
section: "
|
|
941
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
943
942
|
style: BrandPageCssStyle;
|
|
944
943
|
viewport: import("@brand-page").ViewportsType;
|
|
945
944
|
}): void;
|
|
946
945
|
_setSelectedButtonStyle({ displayType, section, style, viewport, }: {
|
|
947
946
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
948
|
-
section: "
|
|
947
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
949
948
|
style: BrandPageCssStyle;
|
|
950
949
|
viewport: import("@brand-page").ViewportsType;
|
|
951
950
|
}): void;
|
|
952
951
|
_setIconStyle({ displayType, section, style, viewport, }: {
|
|
953
|
-
displayType?: import("@brand-page").NavigationDisplayType
|
|
954
|
-
section: "
|
|
952
|
+
displayType?: import("@brand-page").NavigationDisplayType;
|
|
953
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
955
954
|
style: BrandPageCssStyle;
|
|
956
955
|
viewport: import("@brand-page").ViewportsType;
|
|
957
956
|
}): void;
|
|
958
957
|
_setSubNavBackgroundColor({ displayType, section, value, viewport, }: {
|
|
959
958
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
960
|
-
section: "
|
|
959
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
961
960
|
value: string | undefined;
|
|
962
961
|
viewport: import("@brand-page").ViewportsType;
|
|
963
962
|
}): void;
|
|
964
963
|
_setButtonStyles({ section, defaultButtonStyle, selectedButtonStyle, iconStyle, viewport, }: {
|
|
965
|
-
section: "
|
|
964
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
966
965
|
defaultButtonStyle: import("@brand-page").TextStyleDeclaration;
|
|
967
966
|
selectedButtonStyle: BrandPageCssStyle;
|
|
968
967
|
iconStyle: BrandPageCssStyle;
|
|
969
968
|
viewport: import("@brand-page").ViewportsType;
|
|
970
969
|
}): void;
|
|
971
970
|
setDisplayType({ section, displayType, viewport, }: {
|
|
972
|
-
section: "
|
|
971
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
973
972
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
974
973
|
viewport: import("@brand-page").ViewportsType;
|
|
975
974
|
}): void;
|
|
976
975
|
setNavigationStyleOptionValue({ section, option, value, viewport, }: {
|
|
977
|
-
section: "
|
|
978
|
-
option: "
|
|
976
|
+
section: import("@shared/page-settings/models").PageSection;
|
|
977
|
+
option: import("../../models/navigation-style-configs").NavigationStyleConfigOption;
|
|
979
978
|
value: any;
|
|
980
979
|
viewport: import("@brand-page").ViewportsType;
|
|
981
980
|
}): void;
|
|
@@ -986,7 +985,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
986
985
|
}): void;
|
|
987
986
|
setSelectedTabName(payload: import("../../../lib").SetSelectedTabNamePayload): void;
|
|
988
987
|
setSelectedSettingsSection(payload: {
|
|
989
|
-
sectionName?: string
|
|
988
|
+
sectionName?: string;
|
|
990
989
|
}): void;
|
|
991
990
|
}>;
|
|
992
991
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("@shared/page-settings/store").PageSettingsState, {
|
|
@@ -1006,7 +1005,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1006
1005
|
}): void;
|
|
1007
1006
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
1008
1007
|
isNewPageModalVisible: boolean;
|
|
1009
|
-
parentPageId?: string
|
|
1008
|
+
parentPageId?: string;
|
|
1010
1009
|
}): Promise<void>;
|
|
1011
1010
|
addPage({ page }: {
|
|
1012
1011
|
page: import("@shared/page-settings/models").ContentPage;
|
|
@@ -1021,22 +1020,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1021
1020
|
pageId: string;
|
|
1022
1021
|
}): void;
|
|
1023
1022
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
1024
|
-
sectionName: "
|
|
1025
|
-
propName:
|
|
1026
|
-
index?: number
|
|
1027
|
-
value: string |
|
|
1028
|
-
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;
|
|
1029
1028
|
viewport: import("@brand-page").ViewportsType;
|
|
1030
1029
|
}): void;
|
|
1031
1030
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
1032
1031
|
logoImage: import("@brand-page").LogoImageModel;
|
|
1033
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel
|
|
1032
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
1034
1033
|
logoImageBase64Url: string | undefined;
|
|
1035
|
-
sectionName: "
|
|
1034
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1036
1035
|
viewport: import("@brand-page").ViewportsType;
|
|
1037
|
-
keepLogoVariation?: boolean
|
|
1038
|
-
logoImageHeight?: string
|
|
1039
|
-
logoImageWidth?: string
|
|
1036
|
+
keepLogoVariation?: boolean;
|
|
1037
|
+
logoImageHeight?: string;
|
|
1038
|
+
logoImageWidth?: string;
|
|
1040
1039
|
}): void;
|
|
1041
1040
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
1042
1041
|
sectionName: string;
|
|
@@ -1051,13 +1050,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1051
1050
|
}): void;
|
|
1052
1051
|
addNewPage(payload: {
|
|
1053
1052
|
title: string;
|
|
1054
|
-
newPageParentId?: string
|
|
1053
|
+
newPageParentId?: string;
|
|
1055
1054
|
}): import("@shared/page-settings/models").ContentPage;
|
|
1056
1055
|
setSelectedSectionName({ sectionName, }: {
|
|
1057
|
-
sectionName?: "
|
|
1056
|
+
sectionName?: import("@shared/page-settings/store").PageSettingsSection;
|
|
1058
1057
|
}): void;
|
|
1059
1058
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
1060
|
-
sectionName: "
|
|
1059
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1061
1060
|
isCollapsed: boolean;
|
|
1062
1061
|
}): void;
|
|
1063
1062
|
collapseAllSections(): void;
|
|
@@ -1095,15 +1094,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1095
1094
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
1096
1095
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
1097
1096
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
1098
|
-
sendUpsellOpenEvent: (cta_location?: string
|
|
1097
|
+
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
1099
1098
|
sendDomainUpsellOpenEvent: () => void;
|
|
1100
1099
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
1101
1100
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
1102
1101
|
sendPublishOpenEvent: () => void;
|
|
1103
1102
|
appendPublishBridgeState: (props: any) => void;
|
|
1104
1103
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
1105
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean
|
|
1106
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean
|
|
1104
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
1105
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
1107
1106
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
1108
1107
|
sendPublishOptionsForFreeEvent: () => void;
|
|
1109
1108
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -1112,8 +1111,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1112
1111
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
1113
1112
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
1114
1113
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
1115
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string
|
|
1116
|
-
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;
|
|
1117
1116
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
1118
1117
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
1119
1118
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -1131,13 +1130,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1131
1130
|
defaultTextColor(): string | undefined;
|
|
1132
1131
|
logoBackgroundColor(): string | undefined;
|
|
1133
1132
|
selectedButtonStyleConfig(): import("../../models").ButtonStyleConfig | undefined;
|
|
1134
|
-
selectedTextFontFamily(): "
|
|
1133
|
+
selectedTextFontFamily(): import("@brand-page").FontFamilyKey;
|
|
1135
1134
|
doesLogoHaveBackground(): boolean;
|
|
1136
1135
|
activeLogoStyles(): import("@brand-page").LogoStyles;
|
|
1137
1136
|
}, {
|
|
1138
1137
|
initialise(options: {
|
|
1139
1138
|
reset: boolean;
|
|
1140
|
-
brandPageType: "
|
|
1139
|
+
brandPageType: import("@brand-page").BrandPageType;
|
|
1141
1140
|
}): void;
|
|
1142
1141
|
setState(payload: {
|
|
1143
1142
|
newState: Omit<import("@shared/style-settings/store").StyleSettingsState, "availableButtonStyleConfigs" | "availableGalleryTypes">;
|
|
@@ -1155,16 +1154,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1155
1154
|
id: string;
|
|
1156
1155
|
}): void;
|
|
1157
1156
|
_setTextFontFamily(payload: {
|
|
1158
|
-
fontFamily: "
|
|
1157
|
+
fontFamily: import("@brand-page").FontFamilyKey;
|
|
1159
1158
|
}): void;
|
|
1160
1159
|
_setTextStyles(payload: Partial<import("@brand-page").TextStyles>): void;
|
|
1161
1160
|
setAdminStyleOptionDefaultValues(): void;
|
|
1162
1161
|
setTextStyleOption(payload: {
|
|
1163
|
-
type: "
|
|
1162
|
+
type: import("@brand-page").TextStyleType;
|
|
1164
1163
|
style: import("@brand-page").TextStyleDeclaration;
|
|
1165
1164
|
}): void;
|
|
1166
1165
|
setStyleOptionValue(payload: {
|
|
1167
|
-
option: "
|
|
1166
|
+
option: import("../../models").ButtonStyleConfigOption | import("../../models").OtherStyleConfigOption;
|
|
1168
1167
|
value: string;
|
|
1169
1168
|
}): void;
|
|
1170
1169
|
setButtonStyles(payload: import("@brand-page").ButtonStyles): void;
|
|
@@ -1181,7 +1180,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1181
1180
|
id: string;
|
|
1182
1181
|
}): void;
|
|
1183
1182
|
setTextFontFamily(payload: {
|
|
1184
|
-
fontFamily: "
|
|
1183
|
+
fontFamily: import("@brand-page").FontFamilyKey;
|
|
1185
1184
|
}): Promise<void>;
|
|
1186
1185
|
toggleLogoBackground(): Promise<any>;
|
|
1187
1186
|
}>;
|
|
@@ -1195,12 +1194,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1195
1194
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1196
1195
|
captureBaseline: () => void;
|
|
1197
1196
|
capture: (args: {
|
|
1198
|
-
source: "
|
|
1199
|
-
actor: "
|
|
1200
|
-
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;
|
|
1201
1200
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1202
|
-
captureTemplateSwitch: (label?: string
|
|
1203
|
-
captureAiChangeset: (label?: string
|
|
1201
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1202
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1204
1203
|
mergeNextMutation: () => void;
|
|
1205
1204
|
undo: () => Promise<void>;
|
|
1206
1205
|
redo: () => Promise<void>;
|
|
@@ -1217,12 +1216,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1217
1216
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1218
1217
|
captureBaseline: () => void;
|
|
1219
1218
|
capture: (args: {
|
|
1220
|
-
source: "
|
|
1221
|
-
actor: "
|
|
1222
|
-
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;
|
|
1223
1222
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1224
|
-
captureTemplateSwitch: (label?: string
|
|
1225
|
-
captureAiChangeset: (label?: string
|
|
1223
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1224
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1226
1225
|
mergeNextMutation: () => void;
|
|
1227
1226
|
undo: () => Promise<void>;
|
|
1228
1227
|
redo: () => Promise<void>;
|
|
@@ -1239,12 +1238,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1239
1238
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
1240
1239
|
captureBaseline: () => void;
|
|
1241
1240
|
capture: (args: {
|
|
1242
|
-
source: "
|
|
1243
|
-
actor: "
|
|
1244
|
-
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;
|
|
1245
1244
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
1246
|
-
captureTemplateSwitch: (label?: string
|
|
1247
|
-
captureAiChangeset: (label?: string
|
|
1245
|
+
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1246
|
+
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
1248
1247
|
mergeNextMutation: () => void;
|
|
1249
1248
|
undo: () => Promise<void>;
|
|
1250
1249
|
redo: () => Promise<void>;
|
|
@@ -1414,8 +1413,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1414
1413
|
}>, {
|
|
1415
1414
|
viewport: import("@brand-page").ViewportsType;
|
|
1416
1415
|
isMobileDevice: boolean;
|
|
1417
|
-
containerClientHeight: number | undefined;
|
|
1418
1416
|
containerClientWidth: number | undefined;
|
|
1417
|
+
containerClientHeight: number | undefined;
|
|
1419
1418
|
isContentSelected: boolean;
|
|
1420
1419
|
isHeaderSelected: boolean;
|
|
1421
1420
|
isFooterSelected: boolean;
|