@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
|
@@ -8,6 +8,11 @@ export interface PageField {
|
|
|
8
8
|
pageTitleError: string | null;
|
|
9
9
|
page: ContentPage;
|
|
10
10
|
}
|
|
11
|
+
declare const PAGE_SETTINGS_PAGES: {
|
|
12
|
+
readonly page: "page";
|
|
13
|
+
readonly logo: "logo";
|
|
14
|
+
};
|
|
15
|
+
type PageSettingsPage = keyof typeof PAGE_SETTINGS_PAGES;
|
|
11
16
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
12
17
|
pageFields: import("vue").WritableComputedRef<{
|
|
13
18
|
page: {
|
|
@@ -15,12 +20,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
15
20
|
title: string;
|
|
16
21
|
contents: {
|
|
17
22
|
id: string;
|
|
18
|
-
type: "
|
|
23
|
+
type: import("@brand-page").ContentType;
|
|
19
24
|
settings: {
|
|
20
25
|
content: {
|
|
21
26
|
id: string;
|
|
22
|
-
type: "
|
|
23
|
-
personalisationRole?: "
|
|
27
|
+
type: import("@brand-page").ContentType;
|
|
28
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
24
29
|
topPadding?: number | undefined;
|
|
25
30
|
bottomPadding?: number | undefined;
|
|
26
31
|
imageUrlOverride?: string | undefined;
|
|
@@ -45,12 +50,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
45
50
|
}[], PageField[]>;
|
|
46
51
|
items: import("vue").ComputedRef<{
|
|
47
52
|
id: string;
|
|
48
|
-
type: "
|
|
53
|
+
type: import("@brand-page").ContentType;
|
|
49
54
|
settings: {
|
|
50
55
|
content: {
|
|
51
56
|
id: string;
|
|
52
|
-
type: "
|
|
53
|
-
personalisationRole?: "
|
|
57
|
+
type: import("@brand-page").ContentType;
|
|
58
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
54
59
|
topPadding?: number | undefined;
|
|
55
60
|
bottomPadding?: number | undefined;
|
|
56
61
|
imageUrlOverride?: string | undefined;
|
|
@@ -77,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
77
82
|
sections: import("vue").ComputedRef<{
|
|
78
83
|
header: {
|
|
79
84
|
desktop: {
|
|
80
|
-
displayStyle: import("@brand-page").
|
|
85
|
+
displayStyle: import("@brand-page").HeaderDisplayStyle;
|
|
81
86
|
navigationStyles?: {
|
|
82
87
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
83
88
|
renderAfterLogo: boolean;
|
|
@@ -125,7 +130,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
125
130
|
transition?: string | undefined;
|
|
126
131
|
width?: string | undefined;
|
|
127
132
|
wordBreak?: string | undefined;
|
|
128
|
-
textStyleType?: "
|
|
133
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
129
134
|
applyAutoScale?: boolean | undefined;
|
|
130
135
|
};
|
|
131
136
|
selectedButtonStyle: {
|
|
@@ -265,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
265
270
|
transition?: string | undefined;
|
|
266
271
|
width?: string | undefined;
|
|
267
272
|
wordBreak?: string | undefined;
|
|
268
|
-
textStyleType?: "
|
|
273
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
269
274
|
applyAutoScale?: boolean | undefined;
|
|
270
275
|
};
|
|
271
276
|
selectedButtonStyle: {
|
|
@@ -408,7 +413,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
408
413
|
transition?: string | undefined;
|
|
409
414
|
width?: string | undefined;
|
|
410
415
|
wordBreak?: string | undefined;
|
|
411
|
-
textStyleType?: "
|
|
416
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
412
417
|
applyAutoScale?: boolean | undefined;
|
|
413
418
|
};
|
|
414
419
|
selectedButtonStyle: {
|
|
@@ -548,7 +553,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
548
553
|
transition?: string | undefined;
|
|
549
554
|
width?: string | undefined;
|
|
550
555
|
wordBreak?: string | undefined;
|
|
551
|
-
textStyleType?: "
|
|
556
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
552
557
|
applyAutoScale?: boolean | undefined;
|
|
553
558
|
};
|
|
554
559
|
selectedButtonStyle: {
|
|
@@ -692,7 +697,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
692
697
|
transition?: string | undefined;
|
|
693
698
|
width?: string | undefined;
|
|
694
699
|
wordBreak?: string | undefined;
|
|
695
|
-
textStyleType?: "
|
|
700
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
696
701
|
applyAutoScale?: boolean | undefined;
|
|
697
702
|
};
|
|
698
703
|
selectedButtonStyle: {
|
|
@@ -832,7 +837,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
832
837
|
transition?: string | undefined;
|
|
833
838
|
width?: string | undefined;
|
|
834
839
|
wordBreak?: string | undefined;
|
|
835
|
-
textStyleType?: "
|
|
840
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
836
841
|
applyAutoScale?: boolean | undefined;
|
|
837
842
|
};
|
|
838
843
|
selectedButtonStyle: {
|
|
@@ -975,7 +980,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
975
980
|
transition?: string | undefined;
|
|
976
981
|
width?: string | undefined;
|
|
977
982
|
wordBreak?: string | undefined;
|
|
978
|
-
textStyleType?: "
|
|
983
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
979
984
|
applyAutoScale?: boolean | undefined;
|
|
980
985
|
};
|
|
981
986
|
selectedButtonStyle: {
|
|
@@ -1115,7 +1120,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1115
1120
|
transition?: string | undefined;
|
|
1116
1121
|
width?: string | undefined;
|
|
1117
1122
|
wordBreak?: string | undefined;
|
|
1118
|
-
textStyleType?: "
|
|
1123
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1119
1124
|
applyAutoScale?: boolean | undefined;
|
|
1120
1125
|
};
|
|
1121
1126
|
selectedButtonStyle: {
|
|
@@ -1266,7 +1271,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1266
1271
|
logoVariation?: number | undefined;
|
|
1267
1272
|
logoImage: {
|
|
1268
1273
|
logoDraftToken: string;
|
|
1269
|
-
logoVariation:
|
|
1274
|
+
logoVariation: import("@brand-page").LogoVariation;
|
|
1270
1275
|
logoLastUpdate: string | undefined;
|
|
1271
1276
|
};
|
|
1272
1277
|
logoTemplateImage: {
|
|
@@ -1369,7 +1374,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1369
1374
|
viewport: import("@brand-page").ViewportsType;
|
|
1370
1375
|
};
|
|
1371
1376
|
mobile: {
|
|
1372
|
-
displayStyle: import("@brand-page").
|
|
1377
|
+
displayStyle: import("@brand-page").HeaderDisplayStyle;
|
|
1373
1378
|
navigationStyles?: {
|
|
1374
1379
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
1375
1380
|
renderAfterLogo: boolean;
|
|
@@ -1417,7 +1422,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1417
1422
|
transition?: string | undefined;
|
|
1418
1423
|
width?: string | undefined;
|
|
1419
1424
|
wordBreak?: string | undefined;
|
|
1420
|
-
textStyleType?: "
|
|
1425
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1421
1426
|
applyAutoScale?: boolean | undefined;
|
|
1422
1427
|
};
|
|
1423
1428
|
selectedButtonStyle: {
|
|
@@ -1557,7 +1562,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1557
1562
|
transition?: string | undefined;
|
|
1558
1563
|
width?: string | undefined;
|
|
1559
1564
|
wordBreak?: string | undefined;
|
|
1560
|
-
textStyleType?: "
|
|
1565
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1561
1566
|
applyAutoScale?: boolean | undefined;
|
|
1562
1567
|
};
|
|
1563
1568
|
selectedButtonStyle: {
|
|
@@ -1700,7 +1705,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1700
1705
|
transition?: string | undefined;
|
|
1701
1706
|
width?: string | undefined;
|
|
1702
1707
|
wordBreak?: string | undefined;
|
|
1703
|
-
textStyleType?: "
|
|
1708
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1704
1709
|
applyAutoScale?: boolean | undefined;
|
|
1705
1710
|
};
|
|
1706
1711
|
selectedButtonStyle: {
|
|
@@ -1840,7 +1845,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1840
1845
|
transition?: string | undefined;
|
|
1841
1846
|
width?: string | undefined;
|
|
1842
1847
|
wordBreak?: string | undefined;
|
|
1843
|
-
textStyleType?: "
|
|
1848
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1844
1849
|
applyAutoScale?: boolean | undefined;
|
|
1845
1850
|
};
|
|
1846
1851
|
selectedButtonStyle: {
|
|
@@ -1984,7 +1989,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1984
1989
|
transition?: string | undefined;
|
|
1985
1990
|
width?: string | undefined;
|
|
1986
1991
|
wordBreak?: string | undefined;
|
|
1987
|
-
textStyleType?: "
|
|
1992
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
1988
1993
|
applyAutoScale?: boolean | undefined;
|
|
1989
1994
|
};
|
|
1990
1995
|
selectedButtonStyle: {
|
|
@@ -2124,7 +2129,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2124
2129
|
transition?: string | undefined;
|
|
2125
2130
|
width?: string | undefined;
|
|
2126
2131
|
wordBreak?: string | undefined;
|
|
2127
|
-
textStyleType?: "
|
|
2132
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
2128
2133
|
applyAutoScale?: boolean | undefined;
|
|
2129
2134
|
};
|
|
2130
2135
|
selectedButtonStyle: {
|
|
@@ -2267,7 +2272,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2267
2272
|
transition?: string | undefined;
|
|
2268
2273
|
width?: string | undefined;
|
|
2269
2274
|
wordBreak?: string | undefined;
|
|
2270
|
-
textStyleType?: "
|
|
2275
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
2271
2276
|
applyAutoScale?: boolean | undefined;
|
|
2272
2277
|
};
|
|
2273
2278
|
selectedButtonStyle: {
|
|
@@ -2407,7 +2412,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2407
2412
|
transition?: string | undefined;
|
|
2408
2413
|
width?: string | undefined;
|
|
2409
2414
|
wordBreak?: string | undefined;
|
|
2410
|
-
textStyleType?: "
|
|
2415
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
2411
2416
|
applyAutoScale?: boolean | undefined;
|
|
2412
2417
|
};
|
|
2413
2418
|
selectedButtonStyle: {
|
|
@@ -2558,7 +2563,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2558
2563
|
logoVariation?: number | undefined;
|
|
2559
2564
|
logoImage: {
|
|
2560
2565
|
logoDraftToken: string;
|
|
2561
|
-
logoVariation:
|
|
2566
|
+
logoVariation: import("@brand-page").LogoVariation;
|
|
2562
2567
|
logoLastUpdate: string | undefined;
|
|
2563
2568
|
};
|
|
2564
2569
|
logoTemplateImage: {
|
|
@@ -2663,7 +2668,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2663
2668
|
};
|
|
2664
2669
|
footer: {
|
|
2665
2670
|
desktop: {
|
|
2666
|
-
displayStyle:
|
|
2671
|
+
displayStyle: import("@brand-page").FooterDisplayStyle;
|
|
2667
2672
|
copyrightText: string;
|
|
2668
2673
|
copyrightStyle: {
|
|
2669
2674
|
aspectRatio?: string | undefined;
|
|
@@ -2709,7 +2714,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2709
2714
|
transition?: string | undefined;
|
|
2710
2715
|
width?: string | undefined;
|
|
2711
2716
|
wordBreak?: string | undefined;
|
|
2712
|
-
textStyleType?: "
|
|
2717
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
2713
2718
|
applyAutoScale?: boolean | undefined;
|
|
2714
2719
|
};
|
|
2715
2720
|
backgroundStyle: {
|
|
@@ -2854,7 +2859,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2854
2859
|
logoVariation?: number | undefined;
|
|
2855
2860
|
logoImage: {
|
|
2856
2861
|
logoDraftToken: string;
|
|
2857
|
-
logoVariation:
|
|
2862
|
+
logoVariation: import("@brand-page").LogoVariation;
|
|
2858
2863
|
logoLastUpdate: string | undefined;
|
|
2859
2864
|
};
|
|
2860
2865
|
logoTemplateImage: {
|
|
@@ -2866,13 +2871,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2866
2871
|
logoImageBase64Url?: string | undefined;
|
|
2867
2872
|
socialLinks: {
|
|
2868
2873
|
url: string;
|
|
2869
|
-
id?: string | undefined;
|
|
2870
2874
|
imageUrl: string;
|
|
2871
2875
|
size?: string | undefined;
|
|
2872
2876
|
imageTitle: string;
|
|
2873
2877
|
width: number;
|
|
2874
2878
|
height: number;
|
|
2875
|
-
mediaType?: "
|
|
2879
|
+
mediaType?: import("@brand-page").MediaType | undefined;
|
|
2876
2880
|
colorReplacements?: {
|
|
2877
2881
|
attribute: string;
|
|
2878
2882
|
originalColor: string;
|
|
@@ -2882,13 +2886,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2882
2886
|
imageUrlOverride?: string | undefined;
|
|
2883
2887
|
imageTitleOverride?: string | undefined;
|
|
2884
2888
|
}[];
|
|
2885
|
-
textFontFamily?: "
|
|
2889
|
+
textFontFamily?: import("@brand-page").FontFamilyKey | undefined;
|
|
2886
2890
|
viewport: import("@brand-page").ViewportsType;
|
|
2887
2891
|
logoImageHeight: string | undefined;
|
|
2888
2892
|
logoImageWidth: string | undefined;
|
|
2889
2893
|
};
|
|
2890
2894
|
mobile: {
|
|
2891
|
-
displayStyle:
|
|
2895
|
+
displayStyle: import("@brand-page").FooterDisplayStyle;
|
|
2892
2896
|
copyrightText: string;
|
|
2893
2897
|
copyrightStyle: {
|
|
2894
2898
|
aspectRatio?: string | undefined;
|
|
@@ -2934,7 +2938,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2934
2938
|
transition?: string | undefined;
|
|
2935
2939
|
width?: string | undefined;
|
|
2936
2940
|
wordBreak?: string | undefined;
|
|
2937
|
-
textStyleType?: "
|
|
2941
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
2938
2942
|
applyAutoScale?: boolean | undefined;
|
|
2939
2943
|
};
|
|
2940
2944
|
backgroundStyle: {
|
|
@@ -3079,7 +3083,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3079
3083
|
logoVariation?: number | undefined;
|
|
3080
3084
|
logoImage: {
|
|
3081
3085
|
logoDraftToken: string;
|
|
3082
|
-
logoVariation:
|
|
3086
|
+
logoVariation: import("@brand-page").LogoVariation;
|
|
3083
3087
|
logoLastUpdate: string | undefined;
|
|
3084
3088
|
};
|
|
3085
3089
|
logoTemplateImage: {
|
|
@@ -3091,13 +3095,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3091
3095
|
logoImageBase64Url?: string | undefined;
|
|
3092
3096
|
socialLinks: {
|
|
3093
3097
|
url: string;
|
|
3094
|
-
id?: string | undefined;
|
|
3095
3098
|
imageUrl: string;
|
|
3096
3099
|
size?: string | undefined;
|
|
3097
3100
|
imageTitle: string;
|
|
3098
3101
|
width: number;
|
|
3099
3102
|
height: number;
|
|
3100
|
-
mediaType?: "
|
|
3103
|
+
mediaType?: import("@brand-page").MediaType | undefined;
|
|
3101
3104
|
colorReplacements?: {
|
|
3102
3105
|
attribute: string;
|
|
3103
3106
|
originalColor: string;
|
|
@@ -3107,7 +3110,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3107
3110
|
imageUrlOverride?: string | undefined;
|
|
3108
3111
|
imageTitleOverride?: string | undefined;
|
|
3109
3112
|
}[];
|
|
3110
|
-
textFontFamily?: "
|
|
3113
|
+
textFontFamily?: import("@brand-page").FontFamilyKey | undefined;
|
|
3111
3114
|
viewport: import("@brand-page").ViewportsType;
|
|
3112
3115
|
logoImageHeight: string | undefined;
|
|
3113
3116
|
logoImageWidth: string | undefined;
|
|
@@ -3136,7 +3139,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3136
3139
|
isBrandSite: import("vue").ComputedRef<boolean>;
|
|
3137
3140
|
navigationStyleTypeConfigs: import("vue").ComputedRef<{
|
|
3138
3141
|
header: {
|
|
3139
|
-
type: "
|
|
3142
|
+
type: import("../../models").PageSection;
|
|
3140
3143
|
isLogoFieldsOptional: boolean;
|
|
3141
3144
|
showCopyrightField: boolean;
|
|
3142
3145
|
showSocialLinksField: boolean;
|
|
@@ -3190,7 +3193,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3190
3193
|
transition?: string | undefined;
|
|
3191
3194
|
width?: string | undefined;
|
|
3192
3195
|
wordBreak?: string | undefined;
|
|
3193
|
-
textStyleType?: "
|
|
3196
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
3194
3197
|
applyAutoScale?: boolean | undefined;
|
|
3195
3198
|
};
|
|
3196
3199
|
selectedButtonStyle: {
|
|
@@ -3330,7 +3333,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3330
3333
|
transition?: string | undefined;
|
|
3331
3334
|
width?: string | undefined;
|
|
3332
3335
|
wordBreak?: string | undefined;
|
|
3333
|
-
textStyleType?: "
|
|
3336
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
3334
3337
|
applyAutoScale?: boolean | undefined;
|
|
3335
3338
|
};
|
|
3336
3339
|
selectedButtonStyle: {
|
|
@@ -3474,7 +3477,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3474
3477
|
transition?: string | undefined;
|
|
3475
3478
|
width?: string | undefined;
|
|
3476
3479
|
wordBreak?: string | undefined;
|
|
3477
|
-
textStyleType?: "
|
|
3480
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
3478
3481
|
applyAutoScale?: boolean | undefined;
|
|
3479
3482
|
};
|
|
3480
3483
|
selectedButtonStyle: {
|
|
@@ -3614,7 +3617,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3614
3617
|
transition?: string | undefined;
|
|
3615
3618
|
width?: string | undefined;
|
|
3616
3619
|
wordBreak?: string | undefined;
|
|
3617
|
-
textStyleType?: "
|
|
3620
|
+
textStyleType?: import("@brand-page").TextStyleType | undefined;
|
|
3618
3621
|
applyAutoScale?: boolean | undefined;
|
|
3619
3622
|
};
|
|
3620
3623
|
selectedButtonStyle: {
|
|
@@ -3757,7 +3760,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3757
3760
|
brandPageToken(): string | undefined;
|
|
3758
3761
|
brandPageDescription(): string;
|
|
3759
3762
|
brandPageSlug(): string;
|
|
3760
|
-
brandPageTemplate():
|
|
3763
|
+
brandPageTemplate(): import("@brand-page").BrandPageData;
|
|
3761
3764
|
brandPageTitle(): string;
|
|
3762
3765
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
3763
3766
|
gettyVideoIds(): string[];
|
|
@@ -3772,7 +3775,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3772
3775
|
showBrandCrowdLogo(): boolean;
|
|
3773
3776
|
}, {
|
|
3774
3777
|
setMode(payload: {
|
|
3775
|
-
mode: "
|
|
3778
|
+
mode: import("@brand-page-maker/stores").BrandPageSettingsMode;
|
|
3776
3779
|
}): void;
|
|
3777
3780
|
setFaviconUrl(payload: {
|
|
3778
3781
|
faviconUrl: string | undefined;
|
|
@@ -3816,7 +3819,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3816
3819
|
enqueueContentErrorMessage(): void;
|
|
3817
3820
|
dequeueNotificationMessageQueue(): void;
|
|
3818
3821
|
setCurrentNotificationMessage(payload: {
|
|
3819
|
-
message:
|
|
3822
|
+
message: import("@brand-page-maker/stores").NotificationMessage | false;
|
|
3820
3823
|
}): void;
|
|
3821
3824
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
3822
3825
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -3835,9 +3838,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3835
3838
|
applySelectedTemplate(): Promise<void>;
|
|
3836
3839
|
enqueueErrorMessage(): Promise<void>;
|
|
3837
3840
|
enqueueSaveSuccessMessage(payload?: {
|
|
3838
|
-
description?: string
|
|
3839
|
-
isPublished?: boolean
|
|
3840
|
-
noDescription?: boolean
|
|
3841
|
+
description?: string;
|
|
3842
|
+
isPublished?: boolean;
|
|
3843
|
+
noDescription?: boolean;
|
|
3841
3844
|
}): Promise<void>;
|
|
3842
3845
|
hideChangeTemplateConfirmModal(): void;
|
|
3843
3846
|
onBackgroundChanged(): void;
|
|
@@ -3853,16 +3856,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3853
3856
|
content: TContent;
|
|
3854
3857
|
}>(payload: P): Promise<void>;
|
|
3855
3858
|
_captureTemplateSwitchIfEnabled(): void;
|
|
3856
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string
|
|
3857
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string
|
|
3858
|
-
_navigateToActivePage(activePageId?: string
|
|
3859
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
3860
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
3861
|
+
_navigateToActivePage(activePageId?: string): void;
|
|
3859
3862
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
3860
3863
|
export(): import("@brand-page").BrandPageModel;
|
|
3861
3864
|
setBrandPageType({ brandPageType }: {
|
|
3862
|
-
brandPageType: "
|
|
3865
|
+
brandPageType: import("@brand-page").BrandPageType;
|
|
3863
3866
|
}): void;
|
|
3864
3867
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
3865
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
3868
|
+
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>;
|
|
3866
3869
|
initialisePages({ pages, sections, }: {
|
|
3867
3870
|
pages: import("@brand-page").PageModel[];
|
|
3868
3871
|
sections: import("../../store").PageSettingsStateSections;
|
|
@@ -3890,7 +3893,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3890
3893
|
viewport: import("@brand-page").ViewportsType;
|
|
3891
3894
|
}): void;
|
|
3892
3895
|
showStripeOnboardingModal(): Promise<void>;
|
|
3893
|
-
selectInitialCategories(payload: import("
|
|
3896
|
+
selectInitialCategories(payload: import("@brand-page-maker/stores").SelectedCategoryPayload): void;
|
|
3894
3897
|
}>;
|
|
3895
3898
|
uiStore: import("pinia").Store<"ui", import("../../../models").UIRootState, {
|
|
3896
3899
|
endpoints: () => import("../../../models").Endpoints;
|
|
@@ -3905,14 +3908,20 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3905
3908
|
thirdPartySettings: import("../../../models").UIRootStateThirdPartySettings;
|
|
3906
3909
|
}): void;
|
|
3907
3910
|
setDeviceMode({ mode }: {
|
|
3908
|
-
mode: "
|
|
3911
|
+
mode: import("../../../models").UiDeviceMode;
|
|
3909
3912
|
}): void;
|
|
3910
3913
|
setScreenSizeMode({ mode }: {
|
|
3911
|
-
mode: "
|
|
3914
|
+
mode: import("../../../models").UiScreenSizeMode;
|
|
3912
3915
|
}): void;
|
|
3913
3916
|
setUserPersonalisationData({ personalisationData, }: {
|
|
3914
3917
|
personalisationData: import("@brand-page").UserPersonalisationContent[];
|
|
3915
3918
|
}): void;
|
|
3919
|
+
setUserPromptContentKey({ userPromptContentKey, }: {
|
|
3920
|
+
userPromptContentKey: string | undefined;
|
|
3921
|
+
}): void;
|
|
3922
|
+
setShowAiTemplatesTab({ showAiTemplatesTab, }: {
|
|
3923
|
+
showAiTemplatesTab: boolean;
|
|
3924
|
+
}): void;
|
|
3916
3925
|
onBackgroundChanged(): void;
|
|
3917
3926
|
onContentChanged(): void;
|
|
3918
3927
|
onStyleChanged(): void;
|
|
@@ -3925,19 +3934,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3925
3934
|
type: string;
|
|
3926
3935
|
}): Promise<void>;
|
|
3927
3936
|
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
3928
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
3937
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType): Promise<void>;
|
|
3929
3938
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
3930
3939
|
isPersonalisationEnabled: boolean;
|
|
3931
3940
|
}): void;
|
|
3932
3941
|
}>;
|
|
3933
3942
|
userStore: import("pinia").Store<"brandPageMakerUser", import("@brand-page-maker/stores").UserState, {}, {
|
|
3934
3943
|
setUserState(payload: {
|
|
3935
|
-
emailAddress?: string
|
|
3936
|
-
userToken?: string
|
|
3937
|
-
isAdmin?: boolean
|
|
3938
|
-
hasPremiumSubscription?: boolean
|
|
3939
|
-
brandPageCommissionPercentage?: number
|
|
3940
|
-
features?: Partial<import("
|
|
3944
|
+
emailAddress?: string;
|
|
3945
|
+
userToken?: string;
|
|
3946
|
+
isAdmin?: boolean;
|
|
3947
|
+
hasPremiumSubscription?: boolean;
|
|
3948
|
+
brandPageCommissionPercentage?: number;
|
|
3949
|
+
features?: Partial<import("@brand-page-maker/stores").UserFeatures>;
|
|
3941
3950
|
}): void;
|
|
3942
3951
|
}>;
|
|
3943
3952
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("../../store").PageSettingsState, {
|
|
@@ -3957,7 +3966,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3957
3966
|
}): void;
|
|
3958
3967
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
3959
3968
|
isNewPageModalVisible: boolean;
|
|
3960
|
-
parentPageId?: string
|
|
3969
|
+
parentPageId?: string;
|
|
3961
3970
|
}): Promise<void>;
|
|
3962
3971
|
addPage({ page }: {
|
|
3963
3972
|
page: ContentPage;
|
|
@@ -3972,22 +3981,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3972
3981
|
pageId: string;
|
|
3973
3982
|
}): void;
|
|
3974
3983
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
3975
|
-
sectionName:
|
|
3976
|
-
propName:
|
|
3977
|
-
index?: number
|
|
3978
|
-
value: string |
|
|
3979
|
-
merge?: boolean
|
|
3984
|
+
sectionName: PageSettingsSection;
|
|
3985
|
+
propName: keyof import("../../store").PageSettingsStateSectionStyles;
|
|
3986
|
+
index?: number;
|
|
3987
|
+
value: string | boolean | import("@brand-page").LinksItem[] | BrandPageCssStyle | Partial<import("@brand-page").ImageGalleryItem> | number | null | undefined;
|
|
3988
|
+
merge?: boolean;
|
|
3980
3989
|
viewport: import("@brand-page").ViewportsType;
|
|
3981
3990
|
}): void;
|
|
3982
3991
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
3983
3992
|
logoImage: import("@brand-page").LogoImageModel;
|
|
3984
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel
|
|
3993
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
3985
3994
|
logoImageBase64Url: string | undefined;
|
|
3986
|
-
sectionName:
|
|
3995
|
+
sectionName: PageSettingsSection;
|
|
3987
3996
|
viewport: import("@brand-page").ViewportsType;
|
|
3988
|
-
keepLogoVariation?: boolean
|
|
3989
|
-
logoImageHeight?: string
|
|
3990
|
-
logoImageWidth?: string
|
|
3997
|
+
keepLogoVariation?: boolean;
|
|
3998
|
+
logoImageHeight?: string;
|
|
3999
|
+
logoImageWidth?: string;
|
|
3991
4000
|
}): void;
|
|
3992
4001
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
3993
4002
|
sectionName: string;
|
|
@@ -4002,13 +4011,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4002
4011
|
}): void;
|
|
4003
4012
|
addNewPage(payload: {
|
|
4004
4013
|
title: string;
|
|
4005
|
-
newPageParentId?: string
|
|
4014
|
+
newPageParentId?: string;
|
|
4006
4015
|
}): ContentPage;
|
|
4007
4016
|
setSelectedSectionName({ sectionName, }: {
|
|
4008
|
-
sectionName?:
|
|
4017
|
+
sectionName?: PageSettingsSection;
|
|
4009
4018
|
}): void;
|
|
4010
4019
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
4011
|
-
sectionName:
|
|
4020
|
+
sectionName: PageSettingsSection;
|
|
4012
4021
|
isCollapsed: boolean;
|
|
4013
4022
|
}): void;
|
|
4014
4023
|
collapseAllSections(): void;
|
|
@@ -4017,49 +4026,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4017
4026
|
pageNavigationStore: import("pinia").Store<"pageNavigation", import("../../../page-navigation/store/page-navigation-store").PageNavigationState, {
|
|
4018
4027
|
nav(): import("@brand-page").NavModel;
|
|
4019
4028
|
}, {
|
|
4020
|
-
getPageSlugsForDepth(parentRouteId?: string
|
|
4029
|
+
getPageSlugsForDepth(parentRouteId?: string): string[];
|
|
4021
4030
|
getParentRouteIdForPage(pageId: string): string | undefined;
|
|
4022
4031
|
getParentRouteIdForRoute(routeId: string): string | undefined;
|
|
4023
4032
|
getFirstOrDefaultRoute(): import("@brand-page").NavRoute;
|
|
4024
4033
|
setCurrentActivePage({ pageId }: {
|
|
4025
|
-
pageId?: string
|
|
4034
|
+
pageId?: string;
|
|
4026
4035
|
}): void;
|
|
4027
4036
|
setCurrentActivePageAndGoToPage({ pageId }: {
|
|
4028
|
-
pageId?: string
|
|
4037
|
+
pageId?: string;
|
|
4029
4038
|
}): void;
|
|
4030
4039
|
setNav({ nav }: {
|
|
4031
4040
|
nav: import("@brand-page").NavModel;
|
|
4032
4041
|
}): void;
|
|
4033
|
-
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string
|
|
4042
|
+
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string): void;
|
|
4034
4043
|
removeNavRoute(routeId: string): void;
|
|
4035
4044
|
onDisplayNameChange(routeId: string, newDisplayName: string): void;
|
|
4036
4045
|
setRouteTitleAndSlugByPageId(pageId: string, displayName: string, slug: string): void;
|
|
4037
4046
|
updateRouteVisibility(routeId: string, isHidden: boolean): void;
|
|
4038
4047
|
reorderVisibleAndHiddenRoutes(): void;
|
|
4039
4048
|
isRouteASubpage(navRouteId: string): boolean;
|
|
4040
|
-
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string
|
|
4049
|
+
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string): void;
|
|
4041
4050
|
}>;
|
|
4042
4051
|
contentSettingsStore: import("pinia").Store<"uiContentSettings", import("../../../content-settings/store").ContentSettingsState, {
|
|
4043
4052
|
contentErrorCount(): number;
|
|
4044
4053
|
getContent(state: {
|
|
4045
4054
|
addContentOptions: {
|
|
4046
|
-
type: "
|
|
4055
|
+
type: import("@brand-page").ContentType;
|
|
4047
4056
|
category: string;
|
|
4048
4057
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4049
4058
|
displayName: string;
|
|
4050
4059
|
iconName: string;
|
|
4051
4060
|
isEnabled: boolean;
|
|
4052
4061
|
isLocked: boolean;
|
|
4053
|
-
displayMode?: "
|
|
4062
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4054
4063
|
}[];
|
|
4055
4064
|
items: {
|
|
4056
4065
|
id: string;
|
|
4057
|
-
type: "
|
|
4066
|
+
type: import("@brand-page").ContentType;
|
|
4058
4067
|
settings: {
|
|
4059
4068
|
content: {
|
|
4060
4069
|
id: string;
|
|
4061
|
-
type: "
|
|
4062
|
-
personalisationRole?: "
|
|
4070
|
+
type: import("@brand-page").ContentType;
|
|
4071
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4063
4072
|
topPadding?: number | undefined;
|
|
4064
4073
|
bottomPadding?: number | undefined;
|
|
4065
4074
|
imageUrlOverride?: string | undefined;
|
|
@@ -4080,37 +4089,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4080
4089
|
}[];
|
|
4081
4090
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4082
4091
|
modeStack: {
|
|
4083
|
-
mode: "
|
|
4092
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4084
4093
|
selectedItemId?: string | undefined;
|
|
4085
4094
|
selectedItemFieldName?: string | undefined;
|
|
4086
4095
|
selectedItemIndex?: number | undefined;
|
|
4087
4096
|
}[];
|
|
4088
4097
|
selectedItemId: string | null;
|
|
4089
|
-
selectedItemEventSource: "
|
|
4098
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4090
4099
|
selectedItemFieldName: string | null;
|
|
4091
4100
|
selectedItemValue: string | null;
|
|
4092
4101
|
selectedItemIndex: number | null;
|
|
4093
|
-
activeCategoryTab:
|
|
4102
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4094
4103
|
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
4095
4104
|
getFieldSettings(state: {
|
|
4096
4105
|
addContentOptions: {
|
|
4097
|
-
type: "
|
|
4106
|
+
type: import("@brand-page").ContentType;
|
|
4098
4107
|
category: string;
|
|
4099
4108
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4100
4109
|
displayName: string;
|
|
4101
4110
|
iconName: string;
|
|
4102
4111
|
isEnabled: boolean;
|
|
4103
4112
|
isLocked: boolean;
|
|
4104
|
-
displayMode?: "
|
|
4113
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4105
4114
|
}[];
|
|
4106
4115
|
items: {
|
|
4107
4116
|
id: string;
|
|
4108
|
-
type: "
|
|
4117
|
+
type: import("@brand-page").ContentType;
|
|
4109
4118
|
settings: {
|
|
4110
4119
|
content: {
|
|
4111
4120
|
id: string;
|
|
4112
|
-
type: "
|
|
4113
|
-
personalisationRole?: "
|
|
4121
|
+
type: import("@brand-page").ContentType;
|
|
4122
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4114
4123
|
topPadding?: number | undefined;
|
|
4115
4124
|
bottomPadding?: number | undefined;
|
|
4116
4125
|
imageUrlOverride?: string | undefined;
|
|
@@ -4131,37 +4140,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4131
4140
|
}[];
|
|
4132
4141
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4133
4142
|
modeStack: {
|
|
4134
|
-
mode: "
|
|
4143
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4135
4144
|
selectedItemId?: string | undefined;
|
|
4136
4145
|
selectedItemFieldName?: string | undefined;
|
|
4137
4146
|
selectedItemIndex?: number | undefined;
|
|
4138
4147
|
}[];
|
|
4139
4148
|
selectedItemId: string | null;
|
|
4140
|
-
selectedItemEventSource: "
|
|
4149
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4141
4150
|
selectedItemFieldName: string | null;
|
|
4142
4151
|
selectedItemValue: string | null;
|
|
4143
4152
|
selectedItemIndex: number | null;
|
|
4144
|
-
activeCategoryTab:
|
|
4153
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4145
4154
|
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../content-settings/models").ContentItemFieldSettings | undefined;
|
|
4146
4155
|
getItem(state: {
|
|
4147
4156
|
addContentOptions: {
|
|
4148
|
-
type: "
|
|
4157
|
+
type: import("@brand-page").ContentType;
|
|
4149
4158
|
category: string;
|
|
4150
4159
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4151
4160
|
displayName: string;
|
|
4152
4161
|
iconName: string;
|
|
4153
4162
|
isEnabled: boolean;
|
|
4154
4163
|
isLocked: boolean;
|
|
4155
|
-
displayMode?: "
|
|
4164
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4156
4165
|
}[];
|
|
4157
4166
|
items: {
|
|
4158
4167
|
id: string;
|
|
4159
|
-
type: "
|
|
4168
|
+
type: import("@brand-page").ContentType;
|
|
4160
4169
|
settings: {
|
|
4161
4170
|
content: {
|
|
4162
4171
|
id: string;
|
|
4163
|
-
type: "
|
|
4164
|
-
personalisationRole?: "
|
|
4172
|
+
type: import("@brand-page").ContentType;
|
|
4173
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4165
4174
|
topPadding?: number | undefined;
|
|
4166
4175
|
bottomPadding?: number | undefined;
|
|
4167
4176
|
imageUrlOverride?: string | undefined;
|
|
@@ -4182,37 +4191,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4182
4191
|
}[];
|
|
4183
4192
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4184
4193
|
modeStack: {
|
|
4185
|
-
mode: "
|
|
4194
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4186
4195
|
selectedItemId?: string | undefined;
|
|
4187
4196
|
selectedItemFieldName?: string | undefined;
|
|
4188
4197
|
selectedItemIndex?: number | undefined;
|
|
4189
4198
|
}[];
|
|
4190
4199
|
selectedItemId: string | null;
|
|
4191
|
-
selectedItemEventSource: "
|
|
4200
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4192
4201
|
selectedItemFieldName: string | null;
|
|
4193
4202
|
selectedItemValue: string | null;
|
|
4194
4203
|
selectedItemIndex: number | null;
|
|
4195
|
-
activeCategoryTab:
|
|
4204
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4196
4205
|
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
4197
4206
|
getValue(state: {
|
|
4198
4207
|
addContentOptions: {
|
|
4199
|
-
type: "
|
|
4208
|
+
type: import("@brand-page").ContentType;
|
|
4200
4209
|
category: string;
|
|
4201
4210
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4202
4211
|
displayName: string;
|
|
4203
4212
|
iconName: string;
|
|
4204
4213
|
isEnabled: boolean;
|
|
4205
4214
|
isLocked: boolean;
|
|
4206
|
-
displayMode?: "
|
|
4215
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4207
4216
|
}[];
|
|
4208
4217
|
items: {
|
|
4209
4218
|
id: string;
|
|
4210
|
-
type: "
|
|
4219
|
+
type: import("@brand-page").ContentType;
|
|
4211
4220
|
settings: {
|
|
4212
4221
|
content: {
|
|
4213
4222
|
id: string;
|
|
4214
|
-
type: "
|
|
4215
|
-
personalisationRole?: "
|
|
4223
|
+
type: import("@brand-page").ContentType;
|
|
4224
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4216
4225
|
topPadding?: number | undefined;
|
|
4217
4226
|
bottomPadding?: number | undefined;
|
|
4218
4227
|
imageUrlOverride?: string | undefined;
|
|
@@ -4233,37 +4242,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4233
4242
|
}[];
|
|
4234
4243
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4235
4244
|
modeStack: {
|
|
4236
|
-
mode: "
|
|
4245
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4237
4246
|
selectedItemId?: string | undefined;
|
|
4238
4247
|
selectedItemFieldName?: string | undefined;
|
|
4239
4248
|
selectedItemIndex?: number | undefined;
|
|
4240
4249
|
}[];
|
|
4241
4250
|
selectedItemId: string | null;
|
|
4242
|
-
selectedItemEventSource: "
|
|
4251
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4243
4252
|
selectedItemFieldName: string | null;
|
|
4244
4253
|
selectedItemValue: string | null;
|
|
4245
4254
|
selectedItemIndex: number | null;
|
|
4246
|
-
activeCategoryTab:
|
|
4247
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string, fieldName: string) =>
|
|
4255
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4256
|
+
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => Content | string | undefined;
|
|
4248
4257
|
getItemState(state: {
|
|
4249
4258
|
addContentOptions: {
|
|
4250
|
-
type: "
|
|
4259
|
+
type: import("@brand-page").ContentType;
|
|
4251
4260
|
category: string;
|
|
4252
4261
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4253
4262
|
displayName: string;
|
|
4254
4263
|
iconName: string;
|
|
4255
4264
|
isEnabled: boolean;
|
|
4256
4265
|
isLocked: boolean;
|
|
4257
|
-
displayMode?: "
|
|
4266
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4258
4267
|
}[];
|
|
4259
4268
|
items: {
|
|
4260
4269
|
id: string;
|
|
4261
|
-
type: "
|
|
4270
|
+
type: import("@brand-page").ContentType;
|
|
4262
4271
|
settings: {
|
|
4263
4272
|
content: {
|
|
4264
4273
|
id: string;
|
|
4265
|
-
type: "
|
|
4266
|
-
personalisationRole?: "
|
|
4274
|
+
type: import("@brand-page").ContentType;
|
|
4275
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4267
4276
|
topPadding?: number | undefined;
|
|
4268
4277
|
bottomPadding?: number | undefined;
|
|
4269
4278
|
imageUrlOverride?: string | undefined;
|
|
@@ -4284,37 +4293,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4284
4293
|
}[];
|
|
4285
4294
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4286
4295
|
modeStack: {
|
|
4287
|
-
mode: "
|
|
4296
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4288
4297
|
selectedItemId?: string | undefined;
|
|
4289
4298
|
selectedItemFieldName?: string | undefined;
|
|
4290
4299
|
selectedItemIndex?: number | undefined;
|
|
4291
4300
|
}[];
|
|
4292
4301
|
selectedItemId: string | null;
|
|
4293
|
-
selectedItemEventSource: "
|
|
4302
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4294
4303
|
selectedItemFieldName: string | null;
|
|
4295
4304
|
selectedItemValue: string | null;
|
|
4296
4305
|
selectedItemIndex: number | null;
|
|
4297
|
-
activeCategoryTab:
|
|
4306
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4298
4307
|
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string) => import("../../../content-settings/models").ContentSettingsItemState;
|
|
4299
4308
|
getItemGroupState(state: {
|
|
4300
4309
|
addContentOptions: {
|
|
4301
|
-
type: "
|
|
4310
|
+
type: import("@brand-page").ContentType;
|
|
4302
4311
|
category: string;
|
|
4303
4312
|
createInitialContent: (options: import("../../../content-settings/models").CreateInitialContentOptions) => Content;
|
|
4304
4313
|
displayName: string;
|
|
4305
4314
|
iconName: string;
|
|
4306
4315
|
isEnabled: boolean;
|
|
4307
4316
|
isLocked: boolean;
|
|
4308
|
-
displayMode?: "
|
|
4317
|
+
displayMode?: import("../../../../brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
4309
4318
|
}[];
|
|
4310
4319
|
items: {
|
|
4311
4320
|
id: string;
|
|
4312
|
-
type: "
|
|
4321
|
+
type: import("@brand-page").ContentType;
|
|
4313
4322
|
settings: {
|
|
4314
4323
|
content: {
|
|
4315
4324
|
id: string;
|
|
4316
|
-
type: "
|
|
4317
|
-
personalisationRole?: "
|
|
4325
|
+
type: import("@brand-page").ContentType;
|
|
4326
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
4318
4327
|
topPadding?: number | undefined;
|
|
4319
4328
|
bottomPadding?: number | undefined;
|
|
4320
4329
|
imageUrlOverride?: string | undefined;
|
|
@@ -4335,26 +4344,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4335
4344
|
}[];
|
|
4336
4345
|
itemStates: Record<string, import("../../../content-settings/models").ContentSettingsItemState>;
|
|
4337
4346
|
modeStack: {
|
|
4338
|
-
mode: "
|
|
4347
|
+
mode: import("../../../content-settings/store").ContentSettingsMode;
|
|
4339
4348
|
selectedItemId?: string | undefined;
|
|
4340
4349
|
selectedItemFieldName?: string | undefined;
|
|
4341
4350
|
selectedItemIndex?: number | undefined;
|
|
4342
4351
|
}[];
|
|
4343
4352
|
selectedItemId: string | null;
|
|
4344
|
-
selectedItemEventSource: "
|
|
4353
|
+
selectedItemEventSource: import("../../../models").UIEventSource | null;
|
|
4345
4354
|
selectedItemFieldName: string | null;
|
|
4346
4355
|
selectedItemValue: string | null;
|
|
4347
4356
|
selectedItemIndex: number | null;
|
|
4348
|
-
activeCategoryTab:
|
|
4357
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4349
4358
|
} & import("pinia").PiniaCustomStateProperties<import("../../../content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("../../../content-settings/models").ContentSettingsItemGroupState;
|
|
4350
|
-
mode(): "
|
|
4359
|
+
mode(): import("../../../content-settings/store").ContentSettingsMode;
|
|
4351
4360
|
selectedItem(): ContentItem<any> | undefined;
|
|
4352
|
-
selectedItemTemplate(): import("../../../../brand-page-maker/models").ContentSettingsConfig<any
|
|
4361
|
+
selectedItemTemplate(): import("../../../../brand-page-maker/models").ContentSettingsConfig<any> | undefined;
|
|
4353
4362
|
}, {
|
|
4354
4363
|
onContentChanged(): void;
|
|
4355
4364
|
_addItem({ item, index, }: {
|
|
4356
4365
|
item: ContentItem<any>;
|
|
4357
|
-
index?: number
|
|
4366
|
+
index?: number;
|
|
4358
4367
|
}): void;
|
|
4359
4368
|
setState(payload: {
|
|
4360
4369
|
newState: Partial<import("../../../content-settings/store").ContentSettingsState>;
|
|
@@ -4371,7 +4380,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4371
4380
|
_setItemSettingsFieldErrorState(payload: import("../../../content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
4372
4381
|
_setSelectedItemId({ id, eventSource, }: {
|
|
4373
4382
|
id: string | null;
|
|
4374
|
-
eventSource: "
|
|
4383
|
+
eventSource: import("../../../models").UIEventSource | null;
|
|
4375
4384
|
}): void;
|
|
4376
4385
|
_setSelectedItemFieldName({ name: name }: {
|
|
4377
4386
|
name: string | null;
|
|
@@ -4385,10 +4394,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4385
4394
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
4386
4395
|
selectedItemId: string | null;
|
|
4387
4396
|
imageUrl: string;
|
|
4388
|
-
width?: number
|
|
4389
|
-
height?: number
|
|
4390
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
4391
|
-
aspectRatio?: number | null
|
|
4397
|
+
width?: number;
|
|
4398
|
+
height?: number;
|
|
4399
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
4400
|
+
aspectRatio?: number | null;
|
|
4392
4401
|
}): void;
|
|
4393
4402
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
4394
4403
|
_setItems({ items }: {
|
|
@@ -4412,7 +4421,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4412
4421
|
updateTextItemTextStyleType({ id, name, value, index, }: import("../../../content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
4413
4422
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../../content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
4414
4423
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
4415
|
-
activeCategoryTab:
|
|
4424
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4416
4425
|
}): void;
|
|
4417
4426
|
setItemState({ id, itemState, }: {
|
|
4418
4427
|
id: string;
|
|
@@ -4435,7 +4444,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4435
4444
|
}): void;
|
|
4436
4445
|
addItemByType({ type, index, }: {
|
|
4437
4446
|
type: string;
|
|
4438
|
-
index?: number
|
|
4447
|
+
index?: number;
|
|
4439
4448
|
}): ContentItem<Content> | undefined;
|
|
4440
4449
|
deleteItem(payload: {
|
|
4441
4450
|
id: string;
|
|
@@ -4447,13 +4456,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4447
4456
|
updateIsDefaultTextColorRequired(): void;
|
|
4448
4457
|
setSelectedItemId(payload: {
|
|
4449
4458
|
id: string | null;
|
|
4450
|
-
eventSource: "
|
|
4459
|
+
eventSource: import("../../../models").UIEventSource;
|
|
4451
4460
|
}): void;
|
|
4452
4461
|
setSelectedItemAndFieldName(payload: {
|
|
4453
4462
|
id: string | null;
|
|
4454
4463
|
name: string | null;
|
|
4455
4464
|
index: number | null;
|
|
4456
|
-
eventSource: "
|
|
4465
|
+
eventSource: import("../../../models").UIEventSource | null;
|
|
4457
4466
|
}): void;
|
|
4458
4467
|
setSelectedItemValue(payload: {
|
|
4459
4468
|
value: string | null;
|
|
@@ -4461,10 +4470,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4461
4470
|
setSelectedItemImage(payload: {
|
|
4462
4471
|
selectedItemId: string | null;
|
|
4463
4472
|
imageUrl: string;
|
|
4464
|
-
width?: number
|
|
4465
|
-
height?: number
|
|
4466
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
4467
|
-
aspectRatio?: number | null
|
|
4473
|
+
width?: number;
|
|
4474
|
+
height?: number;
|
|
4475
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
4476
|
+
aspectRatio?: number | null;
|
|
4468
4477
|
}): void;
|
|
4469
4478
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
4470
4479
|
setItems(payload: {
|
|
@@ -4476,19 +4485,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4476
4485
|
type: string;
|
|
4477
4486
|
}): Promise<void>;
|
|
4478
4487
|
setActiveCategoryTab(payload: {
|
|
4479
|
-
activeCategoryTab:
|
|
4488
|
+
activeCategoryTab: import("../../../../brand-page-maker/models").ItemCategory;
|
|
4480
4489
|
}): void;
|
|
4481
4490
|
selectInitialContentCategory(payload: {
|
|
4482
4491
|
selectedCategory: string;
|
|
4483
4492
|
}): void;
|
|
4484
4493
|
initialiseItemState({ item, itemState, }: {
|
|
4485
4494
|
item: ContentItem<Content>;
|
|
4486
|
-
itemState?: Partial<import("../../../content-settings/store").ContentSettingsState
|
|
4495
|
+
itemState?: Partial<import("../../../content-settings/store").ContentSettingsState>;
|
|
4487
4496
|
}): void;
|
|
4488
4497
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
4489
4498
|
id: string;
|
|
4490
4499
|
groupId: string;
|
|
4491
|
-
groupState?: import("../../../content-settings/models").ContentSettingsItemGroupState
|
|
4500
|
+
groupState?: import("../../../content-settings/models").ContentSettingsItemGroupState;
|
|
4492
4501
|
}): void;
|
|
4493
4502
|
}>;
|
|
4494
4503
|
navigationSettingsStore: import("pinia").Store<"uiNavigationStyleSettings", import("../../../navigation-style-settings/store").NavigationStyleSettingsState, {}, {
|
|
@@ -4496,52 +4505,52 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4496
4505
|
reset: boolean;
|
|
4497
4506
|
}): void;
|
|
4498
4507
|
setState({ newState, }: {
|
|
4499
|
-
newState: Omit<import("../../../navigation-style-settings/store").NavigationStyleSettingsState, "
|
|
4508
|
+
newState: Omit<import("../../../navigation-style-settings/store").NavigationStyleSettingsState, "availableNavigationStyleConfigs" | "navigationStyleTypeConfigs">;
|
|
4500
4509
|
}): void;
|
|
4501
4510
|
setNavigationOrder({ section, renderAfterLogo, viewport, }: {
|
|
4502
|
-
section: "
|
|
4511
|
+
section: import("../../models").PageSection;
|
|
4503
4512
|
renderAfterLogo: boolean;
|
|
4504
4513
|
viewport: import("@brand-page").ViewportsType;
|
|
4505
4514
|
}): void;
|
|
4506
4515
|
_setDefaultButtonStyle({ displayType, section, style, viewport, }: {
|
|
4507
4516
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
4508
|
-
section: "
|
|
4517
|
+
section: import("../../models").PageSection;
|
|
4509
4518
|
style: BrandPageCssStyle;
|
|
4510
4519
|
viewport: import("@brand-page").ViewportsType;
|
|
4511
4520
|
}): void;
|
|
4512
4521
|
_setSelectedButtonStyle({ displayType, section, style, viewport, }: {
|
|
4513
4522
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
4514
|
-
section: "
|
|
4523
|
+
section: import("../../models").PageSection;
|
|
4515
4524
|
style: BrandPageCssStyle;
|
|
4516
4525
|
viewport: import("@brand-page").ViewportsType;
|
|
4517
4526
|
}): void;
|
|
4518
4527
|
_setIconStyle({ displayType, section, style, viewport, }: {
|
|
4519
|
-
displayType?: import("@brand-page").NavigationDisplayType
|
|
4520
|
-
section: "
|
|
4528
|
+
displayType?: import("@brand-page").NavigationDisplayType;
|
|
4529
|
+
section: import("../../models").PageSection;
|
|
4521
4530
|
style: BrandPageCssStyle;
|
|
4522
4531
|
viewport: import("@brand-page").ViewportsType;
|
|
4523
4532
|
}): void;
|
|
4524
4533
|
_setSubNavBackgroundColor({ displayType, section, value, viewport, }: {
|
|
4525
4534
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
4526
|
-
section: "
|
|
4535
|
+
section: import("../../models").PageSection;
|
|
4527
4536
|
value: string | undefined;
|
|
4528
4537
|
viewport: import("@brand-page").ViewportsType;
|
|
4529
4538
|
}): void;
|
|
4530
4539
|
_setButtonStyles({ section, defaultButtonStyle, selectedButtonStyle, iconStyle, viewport, }: {
|
|
4531
|
-
section: "
|
|
4540
|
+
section: import("../../models").PageSection;
|
|
4532
4541
|
defaultButtonStyle: import("@brand-page").TextStyleDeclaration;
|
|
4533
4542
|
selectedButtonStyle: BrandPageCssStyle;
|
|
4534
4543
|
iconStyle: BrandPageCssStyle;
|
|
4535
4544
|
viewport: import("@brand-page").ViewportsType;
|
|
4536
4545
|
}): void;
|
|
4537
4546
|
setDisplayType({ section, displayType, viewport, }: {
|
|
4538
|
-
section: "
|
|
4547
|
+
section: import("../../models").PageSection;
|
|
4539
4548
|
displayType: import("@brand-page").NavigationDisplayType;
|
|
4540
4549
|
viewport: import("@brand-page").ViewportsType;
|
|
4541
4550
|
}): void;
|
|
4542
4551
|
setNavigationStyleOptionValue({ section, option, value, viewport, }: {
|
|
4543
|
-
section: "
|
|
4544
|
-
option: "
|
|
4552
|
+
section: import("../../models").PageSection;
|
|
4553
|
+
option: import("../../../../brand-page-maker/models/navigation-style-configs").NavigationStyleConfigOption;
|
|
4545
4554
|
value: any;
|
|
4546
4555
|
viewport: import("@brand-page").ViewportsType;
|
|
4547
4556
|
}): void;
|
|
@@ -4567,8 +4576,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4567
4576
|
updated: Date;
|
|
4568
4577
|
brandPageToken: string;
|
|
4569
4578
|
domainName: string;
|
|
4570
|
-
status: "
|
|
4571
|
-
dnsConfigurationStatus: "
|
|
4579
|
+
status: import("../../../../lib").CustomDomainStatus;
|
|
4580
|
+
dnsConfigurationStatus: import("../../../../lib").DnsConfigurationStatus;
|
|
4572
4581
|
triggerOrigin?: string | undefined;
|
|
4573
4582
|
} | null;
|
|
4574
4583
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -4624,7 +4633,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4624
4633
|
};
|
|
4625
4634
|
isSubsequentPublish: boolean;
|
|
4626
4635
|
isContextualUpgradeModalVisible: boolean;
|
|
4627
|
-
contextualUpgradeType:
|
|
4636
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
4628
4637
|
requestVerificationToken?: string | undefined;
|
|
4629
4638
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4630
4639
|
isUserDraft: (state: {
|
|
@@ -4645,8 +4654,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4645
4654
|
updated: Date;
|
|
4646
4655
|
brandPageToken: string;
|
|
4647
4656
|
domainName: string;
|
|
4648
|
-
status: "
|
|
4649
|
-
dnsConfigurationStatus: "
|
|
4657
|
+
status: import("../../../../lib").CustomDomainStatus;
|
|
4658
|
+
dnsConfigurationStatus: import("../../../../lib").DnsConfigurationStatus;
|
|
4650
4659
|
triggerOrigin?: string | undefined;
|
|
4651
4660
|
} | null;
|
|
4652
4661
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -4702,7 +4711,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4702
4711
|
};
|
|
4703
4712
|
isSubsequentPublish: boolean;
|
|
4704
4713
|
isContextualUpgradeModalVisible: boolean;
|
|
4705
|
-
contextualUpgradeType:
|
|
4714
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
4706
4715
|
requestVerificationToken?: string | undefined;
|
|
4707
4716
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
4708
4717
|
}, {
|
|
@@ -4739,7 +4748,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4739
4748
|
setIsSubsequentPublish(payload: any): void;
|
|
4740
4749
|
clearPublishErrorMessage(): void;
|
|
4741
4750
|
closePublishModal(payload?: {
|
|
4742
|
-
skipShowNextNotificationMessage?: boolean
|
|
4751
|
+
skipShowNextNotificationMessage?: boolean;
|
|
4743
4752
|
}): Promise<void>;
|
|
4744
4753
|
closeUpgradeModal(): Promise<void>;
|
|
4745
4754
|
endBrandPageSlugEditMode(): void;
|
|
@@ -4762,8 +4771,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4762
4771
|
redirectToStripeOnboarding(): Promise<void>;
|
|
4763
4772
|
exportDesignAsync(): Promise<any>;
|
|
4764
4773
|
saveBrandPage(payload?: {
|
|
4765
|
-
isPublish?: boolean
|
|
4766
|
-
eventButtonLocation?: string
|
|
4774
|
+
isPublish?: boolean;
|
|
4775
|
+
eventButtonLocation?: string;
|
|
4767
4776
|
}): Promise<false | {
|
|
4768
4777
|
saved: boolean;
|
|
4769
4778
|
canPublish: boolean;
|
|
@@ -4772,9 +4781,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4772
4781
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
4773
4782
|
saveTemplate(): Promise<void>;
|
|
4774
4783
|
setBrandPageStatus(status: any): Promise<void>;
|
|
4775
|
-
showPublishModal(eventButtonLocation?: string
|
|
4784
|
+
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
4776
4785
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
4777
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
4786
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType, cta?: string): Promise<void>;
|
|
4778
4787
|
getContextualUpgradeResponseAsync(): Promise<import("../../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
4779
4788
|
showStripeOnboardingModal(): void;
|
|
4780
4789
|
closeStripeOnboardingModal(): void;
|
|
@@ -4841,15 +4850,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4841
4850
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
4842
4851
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
4843
4852
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
4844
|
-
sendUpsellOpenEvent: (cta_location?: string
|
|
4853
|
+
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
4845
4854
|
sendDomainUpsellOpenEvent: () => void;
|
|
4846
4855
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
4847
4856
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
4848
4857
|
sendPublishOpenEvent: () => void;
|
|
4849
4858
|
appendPublishBridgeState: (props: any) => void;
|
|
4850
4859
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
4851
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean
|
|
4852
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean
|
|
4860
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
4861
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
4853
4862
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
4854
4863
|
sendPublishOptionsForFreeEvent: () => void;
|
|
4855
4864
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -4858,8 +4867,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4858
4867
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
4859
4868
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
4860
4869
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
4861
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string
|
|
4862
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string
|
|
4870
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
4871
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
4863
4872
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
4864
4873
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
4865
4874
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -4870,7 +4879,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4870
4879
|
isDeleteModalVisible: boolean;
|
|
4871
4880
|
deleteModalPageId: string | undefined;
|
|
4872
4881
|
deleteModalPageTitle: string | undefined;
|
|
4873
|
-
currentPageNo:
|
|
4882
|
+
currentPageNo: PageSettingsPage;
|
|
4874
4883
|
PAGE_SETTINGS_PAGES: {
|
|
4875
4884
|
readonly page: "page";
|
|
4876
4885
|
readonly logo: "logo";
|