@designcrowd/library.brand-page 6.0.3 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/{CreatedOnBrandCrowd-de-de-BctSP4tp.js → CreatedOnBrandCrowd-de-de-Ruu5Az32.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-en-us-BeNytcxt.js → CreatedOnBrandCrowd-en-us-DGUJtvld.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-es-es-hY12f5TN.js → CreatedOnBrandCrowd-es-es-Dg-1uOfV.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-C4SCU39P.js → CreatedOnBrandCrowd-fr-ca-CRKraZl8.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-C4SCU39P.js → CreatedOnBrandCrowd-fr-fr-CRKraZl8.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-C5J5kWiD.js → CreatedOnBrandCrowd-pt-br-bZ9VlEAu.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-br-C5J5kWiD.js → CreatedOnBrandCrowd-pt-pt-bZ9VlEAu.js} +3 -3
- package/lib/src/{CreatedOnDcom-de-de-DXCeZZLg.js → CreatedOnDcom-de-de-CJYfwZx8.js} +3 -3
- package/lib/src/{CreatedOnDcom-en-us-GeBTaofv.js → CreatedOnDcom-en-us-rzA1lVxH.js} +3 -3
- package/lib/src/{CreatedOnDcom-es-es-BiPmv1q-.js → CreatedOnDcom-es-es-CNwGPjik.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-ca-Cns_iX4-.js → CreatedOnDcom-fr-ca-DKw7OGIz.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-fr-CC-f_hUR.js → CreatedOnDcom-fr-fr-WzOEaAZG.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-br-DnhSuPKo.js → CreatedOnDcom-pt-br-DkualVhm.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-pt-BCgbUsqY.js → CreatedOnDcom-pt-pt-w4Nnsdzq.js} +3 -3
- package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +2 -1
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.d.ts +2 -4
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.js +0 -1
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +2 -4
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +4 -5
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +3 -3
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +13 -13
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +13 -13
- package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
- package/lib/src/brand-page/models/index.d.ts +13 -2
- package/lib/src/brand-page/models/index.js +0 -3
- package/lib/src/brand-page/models/payment.model.d.ts +1 -1
- package/lib/src/brand-page/utils/personalisation.util.js +14 -72
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +19 -21
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +10 -16
- package/lib/src/brand-page-maker/components/admin-background-settings/ShapePositionSlider.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +170 -181
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +0 -3
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.js +7 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +149 -148
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +21 -21
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.d.ts +2 -5
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/device/Device.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/device/Device.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +2 -4
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +25 -27
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +0 -1
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +27 -27
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +12 -17
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +32 -30
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +5 -16
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +6 -3
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +6 -6
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -2
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +6 -6
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +3 -3
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.js +1 -1
- package/lib/src/brand-page-maker/routing/brand-page-maker-router.d.ts +2 -1
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +378 -366
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +4 -5
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -8
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +1 -3
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -7
- package/lib/src/brand-page-maker/stores/history/history-store.d.ts +15 -15
- package/lib/src/brand-page-maker/stores/ui/ui-store.d.ts +0 -6
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +0 -8
- package/lib/src/brand-page-maker/utils/content-settings.util.js +1 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +1 -1
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +4 -4
- package/lib/src/clients/ai-assistant-client.d.ts +0 -7
- package/lib/src/clients/brand-page-client.d.ts +15 -16
- package/lib/src/clients/design-template-client.d.ts +0 -3
- package/lib/src/clients/media-client.d.ts +2 -2
- package/lib/src/clients/models.d.ts +0 -2
- package/lib/src/composables/useSnapshot.js +18 -18
- package/lib/src/css/library.brand-page-brandCrowd.min.css +324 -342
- package/lib/src/css/library.brand-page-brandPage.min.css +324 -620
- package/lib/src/css/library.brand-page-designCom.min.css +324 -342
- package/lib/src/css/library.brand-page-preview.min.css +324 -598
- package/lib/src/index.d.ts +1 -5
- package/lib/src/index.mjs +106 -110
- package/lib/src/{lib-Cw6L6CfQ.js → lib-Dy7MYyqz.js} +33240 -36457
- package/lib/src/lib.js +1 -11
- package/lib/src/metadata-builder/builders/footer-builder.js +62 -105
- package/lib/src/metadata-builder/builders/item-id-utils.d.ts +54 -0
- package/lib/src/metadata-builder/builders/item-id-utils.js +96 -0
- package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +57 -68
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +58 -93
- package/lib/src/metadata-builder/builders/section-builders/shapes-section-builder.js +66 -99
- package/lib/src/metadata-builder/builders/section-builders/social-links-builder.js +57 -17
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +51 -85
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +49 -74
- package/lib/src/metadata-builder/builders/section-field-utils.d.ts +0 -7
- package/lib/src/metadata-builder/builders/section-field-utils.js +1 -1
- package/lib/src/metadata-builder/builders/shape-color-utils.js +1 -1
- package/lib/src/metadata-builder/parsers/ai-toolcall-parser.d.ts +16 -7
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +66 -48
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.d.ts +1 -1
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.js +8 -8
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +13 -13
- package/lib/src/shared/background-settings/store/background-settings-store.d.ts +3 -3
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.d.ts +2 -4
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +2 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.d.ts +2 -4
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.js +0 -1
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +2 -5
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +0 -1
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +129 -131
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +1 -2
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +110 -111
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +81 -84
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +0 -5
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +109 -117
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +14 -1
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +70 -72
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +3 -4
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +4 -4
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.d.ts +1 -3
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +0 -1
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +3 -4
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +40 -40
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +6 -5
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +28 -28
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +39 -39
- package/lib/src/shared/content-settings/utils.js +1 -0
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +4 -6
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +0 -1
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +2 -4
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.js +0 -1
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +21 -29
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +51 -50
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +4 -6
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.js +0 -1
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +1 -1
- package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +5 -13
- package/lib/src/shared/logo-versions/LogoVersions.mixin.js +0 -1
- package/lib/src/shared/models.d.ts +0 -2
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +6 -14
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +0 -1
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +5 -14
- package/lib/src/shared/my-uploads/MyMedia.mixin.js +0 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +5 -14
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +0 -1
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +3 -5
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +0 -1
- package/lib/src/shared/navigation-style-settings/store/index.d.ts +2 -2
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +2 -2
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +28 -27
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +2 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +179 -188
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +177 -181
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +9 -9
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +39 -39
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +1 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +18 -18
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +6 -6
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +60 -66
- package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -1
- package/lib/src/shared/style-settings/store/style-settings-store.js +1 -1
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +450 -20
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +2 -2
- package/lib/src/shared/template-settings/models.d.ts +0 -1
- package/lib/src/shared/template-settings/store/template-settings-store.d.ts +0 -4
- package/lib/src/shared/template-settings/store/template-settings-store.js +11 -79
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +4 -9
- package/lib/src/utils/build-asset-manifest.d.ts +0 -4
- package/lib/src/utils/build-asset-manifest.js +0 -8
- package/lib/src/utils/minify-brand-page-metadata.d.ts +2 -0
- package/lib/src/utils/minify-brand-page-metadata.js +17 -2
- package/package.json +56 -60
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +5 -7
- package/src/brand-page/components/brand-page-footer/BrandPageFooter.vue +1 -1
- package/src/brand-page/components/image/Image.mixin.ts +1 -1
- package/src/brand-page/components/image/Image.test.ts +1 -1
- package/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.ts +2 -1
- package/src/brand-page/components/images-section/ImagesSection.vue +1 -0
- package/src/brand-page/components/logo/LogoRender.vue +188 -188
- package/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.ts +0 -1
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +6 -15
- package/src/brand-page/components/page-footer/PageFooter.vue +0 -1
- package/src/brand-page/components/page-header/HeaderLayout.vue +6 -12
- package/src/brand-page/components/page-header/PageHeader.vue +0 -1
- package/src/brand-page/components/shapes-section/ShapesSection.vue +1 -1
- package/src/brand-page/components/shop/CartModal.vue +3 -1
- package/src/brand-page/components/shop/FeaturedDisplay.vue +2 -2
- package/src/brand-page/components/shop/PaymentModal.vue +5 -1
- package/src/brand-page/components/shop/ProductDetailModal.vue +1 -1
- package/src/brand-page/components/shop/Shop.vue +1 -1
- package/src/brand-page/components/shop/TextDisplay.vue +1 -1
- package/src/brand-page/components/shop/ThumbnailDisplay.vue +2 -2
- package/src/brand-page/components/testimonial-section/TestimonialSection.vue +3 -3
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +1 -3
- package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
- package/src/brand-page/models/index.ts +12 -4
- package/src/brand-page/models/payment.model.ts +1 -2
- package/src/brand-page/models/shop.model.ts +2 -0
- package/src/brand-page/models/user-personalisation.model.ts +2 -1
- package/src/brand-page/utils/__snapshots__/migration.util.test.ts.snap +0 -3
- package/src/brand-page/utils/__snapshots__/migration2.util.test.ts.snap +0 -1
- package/src/brand-page/utils/__snapshots__/model.util.test.ts.snap +0 -2
- package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
- package/src/brand-page/utils/migration/migration-02.ts +1 -0
- package/src/brand-page/utils/migration/migration-03.ts +1 -0
- package/src/brand-page/utils/migration/migration-04.ts +1 -0
- package/src/brand-page/utils/migration/migration-05.ts +5 -1
- package/src/brand-page/utils/migration/migration-05_2.ts +1 -1
- package/src/brand-page/utils/migration/migration-08.test.ts +1 -1
- package/src/brand-page/utils/personalisation.util.test.ts +0 -35
- package/src/brand-page/utils/personalisation.util.ts +23 -119
- package/src/brand-page/view-models.ts +56 -38
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +6 -6
- package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +14 -14
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +0 -1
- package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +0 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -5
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +0 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +5 -2
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +5 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +8 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +2 -0
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +0 -1
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +2 -1
- package/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.ts +0 -1
- package/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.ts +0 -1
- package/src/brand-page-maker/components/device/Device.mixin.ts +0 -1
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +0 -1
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -3
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +4 -1
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +0 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +1 -0
- package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +1 -0
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +5 -1
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +1 -1
- package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
- package/src/brand-page-maker/components/social-share/SocialShare.vue +1 -1
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +8 -22
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +10 -5
- package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +7 -3
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +5 -5
- package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +1 -1
- package/src/brand-page-maker/models/button-styles-config.ts +2 -4
- package/src/brand-page-maker/models/content-settings-configs.ts +2 -4
- package/src/brand-page-maker/models/navigation-style-configs.ts +6 -5
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +1 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +5 -8
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +3 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +4 -12
- package/src/brand-page-maker/stores/ui/ui-store.ts +0 -16
- package/src/brand-page-maker/utils/content-settings.util.ts +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +4 -4
- package/src/clients/ai-assistant-client.ts +0 -7
- package/src/clients/design-template-client.ts +0 -3
- package/src/clients/models.ts +0 -2
- package/src/composables/useSnapshot.ts +22 -19
- package/src/lib.ts +0 -13
- package/src/metadata-builder/builders/footer-builder.test.ts +229 -130
- package/src/metadata-builder/builders/footer-builder.ts +90 -155
- package/src/metadata-builder/builders/item-id-utils.test.ts +184 -0
- package/src/metadata-builder/builders/item-id-utils.ts +117 -0
- package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +62 -88
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +66 -129
- package/src/metadata-builder/builders/section-builders/shapes-section-builder.ts +105 -160
- package/src/metadata-builder/builders/section-builders/social-links-builder.ts +65 -20
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +83 -146
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +70 -122
- package/src/metadata-builder/builders/section-field-utils.ts +1 -1
- package/src/metadata-builder/builders/shape-color-utils.ts +2 -2
- package/src/metadata-builder/parsers/ai-toolcall-parser.ts +16 -7
- package/src/metadata-builder/parsers/section-tool-arguments.ts +66 -48
- package/src/plugins/google-maps-plugin/google-maps-plugin.ts +8 -8
- package/src/shared/background-settings/components/BackgroundSettings.vue +1 -1
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +1 -1
- package/src/shared/color-picker/components/ColorPicker.mixin.ts +7 -2
- package/src/shared/color-picker/components/ColorPickerSwatch.mixin.ts +0 -1
- package/src/shared/common/NumberInput.vue +0 -1
- package/src/shared/common/SideBarSettingsHeader.vue +2 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +0 -1
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +0 -1
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +0 -1
- package/src/shared/content-settings/components/color-field/ColorField.vue +10 -3
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettingsLockedButton.vue +0 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +0 -5
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +14 -1
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +6 -4
- package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +0 -1
- package/src/shared/content-settings/components/items-field/ItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +1 -1
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +1 -1
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -1
- package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +4 -4
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +8 -2
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/models.ts +2 -3
- package/src/shared/content-settings/utils.ts +1 -0
- package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +0 -1
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +0 -1
- package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +0 -1
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +1 -0
- package/src/shared/logo-settings/components/LogoSettingsHeader.mixin.ts +0 -1
- package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +2 -2
- package/src/shared/logo-settings/components/LogoTemplateSearch.vue +1 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +1 -1
- package/src/shared/logo-settings/store/logo-settings-store.test.ts +4 -4
- package/src/shared/logo-versions/LogoVersions.mixin.ts +0 -1
- package/src/shared/models.ts +0 -6
- package/src/shared/my-designs/MyDesigns.mixin.ts +0 -1
- package/src/shared/my-uploads/MyMedia.mixin.ts +0 -1
- package/src/shared/my-uploads/MyMediaSelectionItem.vue +1 -2
- package/src/shared/my-uploads/MyUploads.mixin.ts +0 -1
- package/src/shared/my-uploads/models.ts +2 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +0 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +3 -0
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +2 -1
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +1 -1
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
- package/src/shared/page-settings/store/page-settings-store.test.ts +8 -4
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +1 -0
- package/src/shared/shape-library/ShapeLibrary.vue +2 -2
- package/src/shared/style-settings/store/style-settings-store.ts +1 -1
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +2 -2
- package/src/shared/template-settings/models.ts +0 -1
- package/src/shared/template-settings/store/template-settings-store.ts +18 -105
- package/src/shared/unsplash-library/UnsplashLibrary.vue +6 -2
- package/src/shared/video-library/VideoLibrary.vue +1 -1
- package/src/utils/build-asset-manifest.ts +0 -12
- package/src/utils/minify-brand-page-metadata.ts +27 -7
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +0 -103
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +0 -178
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +0 -210
- package/src/brand-page-maker/components/template-preview/TemplatePreviewAiBadge.vue +0 -12
package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
12
12
|
title: string;
|
|
13
13
|
contents: {
|
|
14
14
|
id: string;
|
|
15
|
-
type:
|
|
15
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
16
16
|
settings: {
|
|
17
17
|
content: {
|
|
18
18
|
id: string;
|
|
19
|
-
type:
|
|
20
|
-
personalisationRole?:
|
|
19
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
20
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
21
21
|
topPadding?: number | undefined;
|
|
22
22
|
bottomPadding?: number | undefined;
|
|
23
23
|
imageUrlOverride?: string | undefined;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
51
51
|
brandPageToken(): string | undefined;
|
|
52
52
|
brandPageDescription(): string;
|
|
53
53
|
brandPageSlug(): string;
|
|
54
|
-
brandPageTemplate():
|
|
54
|
+
brandPageTemplate(): any;
|
|
55
55
|
brandPageTitle(): string;
|
|
56
56
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
57
57
|
gettyVideoIds(): string[];
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
66
66
|
showBrandCrowdLogo(): boolean;
|
|
67
67
|
}, {
|
|
68
68
|
setMode(payload: {
|
|
69
|
-
mode:
|
|
69
|
+
mode: "images" | "edit";
|
|
70
70
|
}): void;
|
|
71
71
|
setFaviconUrl(payload: {
|
|
72
72
|
faviconUrl: string | undefined;
|
|
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
110
110
|
enqueueContentErrorMessage(): void;
|
|
111
111
|
dequeueNotificationMessageQueue(): void;
|
|
112
112
|
setCurrentNotificationMessage(payload: {
|
|
113
|
-
message: import("@brand-page-maker/stores").NotificationMessage
|
|
113
|
+
message: false | import("@brand-page-maker/stores").NotificationMessage;
|
|
114
114
|
}): void;
|
|
115
115
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
116
116
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -129,9 +129,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
129
129
|
applySelectedTemplate(): Promise<void>;
|
|
130
130
|
enqueueErrorMessage(): Promise<void>;
|
|
131
131
|
enqueueSaveSuccessMessage(payload?: {
|
|
132
|
-
description?: string;
|
|
133
|
-
isPublished?: boolean;
|
|
134
|
-
noDescription?: boolean;
|
|
132
|
+
description?: string | undefined;
|
|
133
|
+
isPublished?: boolean | undefined;
|
|
134
|
+
noDescription?: boolean | undefined;
|
|
135
135
|
}): Promise<void>;
|
|
136
136
|
hideChangeTemplateConfirmModal(): void;
|
|
137
137
|
onBackgroundChanged(): void;
|
|
@@ -147,16 +147,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
147
147
|
content: TContent;
|
|
148
148
|
}>(payload: P): Promise<void>;
|
|
149
149
|
_captureTemplateSwitchIfEnabled(): void;
|
|
150
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
151
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
152
|
-
_navigateToActivePage(activePageId?: string): void;
|
|
150
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string | undefined, logoEditsStr?: string | undefined): Promise<void>;
|
|
151
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string | undefined): Promise<void>;
|
|
152
|
+
_navigateToActivePage(activePageId?: string | undefined): void;
|
|
153
153
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
154
154
|
export(): import("@brand-page").BrandPageModel;
|
|
155
155
|
setBrandPageType({ brandPageType }: {
|
|
156
|
-
brandPageType:
|
|
156
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
157
157
|
}): void;
|
|
158
158
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
159
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled,
|
|
159
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
160
160
|
initialisePages({ pages, sections, }: {
|
|
161
161
|
pages: import("@brand-page").PageModel[];
|
|
162
162
|
sections: import("../../../page-settings/store").PageSettingsStateSections;
|
|
@@ -184,29 +184,29 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
184
184
|
viewport: import("@brand-page").ViewportsType;
|
|
185
185
|
}): void;
|
|
186
186
|
showStripeOnboardingModal(): Promise<void>;
|
|
187
|
-
selectInitialCategories(payload: import("
|
|
187
|
+
selectInitialCategories(payload: import("../../../template-settings/models").InitialCategories): void;
|
|
188
188
|
}>;
|
|
189
189
|
contentSettingsStore: import("pinia").Store<"uiContentSettings", import("../../store").ContentSettingsState, {
|
|
190
190
|
contentErrorCount(): number;
|
|
191
191
|
getContent(state: {
|
|
192
192
|
addContentOptions: {
|
|
193
|
-
type:
|
|
193
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
194
194
|
category: string;
|
|
195
195
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
196
196
|
displayName: string;
|
|
197
197
|
iconName: string;
|
|
198
198
|
isEnabled: boolean;
|
|
199
199
|
isLocked: boolean;
|
|
200
|
-
displayMode?:
|
|
200
|
+
displayMode?: "default" | "focused" | undefined;
|
|
201
201
|
}[];
|
|
202
202
|
items: {
|
|
203
203
|
id: string;
|
|
204
|
-
type:
|
|
204
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
205
205
|
settings: {
|
|
206
206
|
content: {
|
|
207
207
|
id: string;
|
|
208
|
-
type:
|
|
209
|
-
personalisationRole?:
|
|
208
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
209
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
210
210
|
topPadding?: number | undefined;
|
|
211
211
|
bottomPadding?: number | undefined;
|
|
212
212
|
imageUrlOverride?: string | undefined;
|
|
@@ -227,37 +227,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
227
227
|
}[];
|
|
228
228
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
229
229
|
modeStack: {
|
|
230
|
-
mode:
|
|
230
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
231
231
|
selectedItemId?: string | undefined;
|
|
232
232
|
selectedItemFieldName?: string | undefined;
|
|
233
233
|
selectedItemIndex?: number | undefined;
|
|
234
234
|
}[];
|
|
235
235
|
selectedItemId: string | null;
|
|
236
|
-
selectedItemEventSource:
|
|
236
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
237
237
|
selectedItemFieldName: string | null;
|
|
238
238
|
selectedItemValue: string | null;
|
|
239
239
|
selectedItemIndex: number | null;
|
|
240
|
-
activeCategoryTab:
|
|
240
|
+
activeCategoryTab: string;
|
|
241
241
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => Content | undefined;
|
|
242
242
|
getFieldSettings(state: {
|
|
243
243
|
addContentOptions: {
|
|
244
|
-
type:
|
|
244
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
245
245
|
category: string;
|
|
246
246
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
247
247
|
displayName: string;
|
|
248
248
|
iconName: string;
|
|
249
249
|
isEnabled: boolean;
|
|
250
250
|
isLocked: boolean;
|
|
251
|
-
displayMode?:
|
|
251
|
+
displayMode?: "default" | "focused" | undefined;
|
|
252
252
|
}[];
|
|
253
253
|
items: {
|
|
254
254
|
id: string;
|
|
255
|
-
type:
|
|
255
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
256
256
|
settings: {
|
|
257
257
|
content: {
|
|
258
258
|
id: string;
|
|
259
|
-
type:
|
|
260
|
-
personalisationRole?:
|
|
259
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
260
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
261
261
|
topPadding?: number | undefined;
|
|
262
262
|
bottomPadding?: number | undefined;
|
|
263
263
|
imageUrlOverride?: string | undefined;
|
|
@@ -278,37 +278,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
278
278
|
}[];
|
|
279
279
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
280
280
|
modeStack: {
|
|
281
|
-
mode:
|
|
281
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
282
282
|
selectedItemId?: string | undefined;
|
|
283
283
|
selectedItemFieldName?: string | undefined;
|
|
284
284
|
selectedItemIndex?: number | undefined;
|
|
285
285
|
}[];
|
|
286
286
|
selectedItemId: string | null;
|
|
287
|
-
selectedItemEventSource:
|
|
287
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
288
288
|
selectedItemFieldName: string | null;
|
|
289
289
|
selectedItemValue: string | null;
|
|
290
290
|
selectedItemIndex: number | null;
|
|
291
|
-
activeCategoryTab:
|
|
291
|
+
activeCategoryTab: string;
|
|
292
292
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("../../models").ContentItemFieldSettings | undefined;
|
|
293
293
|
getItem(state: {
|
|
294
294
|
addContentOptions: {
|
|
295
|
-
type:
|
|
295
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
296
296
|
category: string;
|
|
297
297
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
298
298
|
displayName: string;
|
|
299
299
|
iconName: string;
|
|
300
300
|
isEnabled: boolean;
|
|
301
301
|
isLocked: boolean;
|
|
302
|
-
displayMode?:
|
|
302
|
+
displayMode?: "default" | "focused" | undefined;
|
|
303
303
|
}[];
|
|
304
304
|
items: {
|
|
305
305
|
id: string;
|
|
306
|
-
type:
|
|
306
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
307
307
|
settings: {
|
|
308
308
|
content: {
|
|
309
309
|
id: string;
|
|
310
|
-
type:
|
|
311
|
-
personalisationRole?:
|
|
310
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
311
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
312
312
|
topPadding?: number | undefined;
|
|
313
313
|
bottomPadding?: number | undefined;
|
|
314
314
|
imageUrlOverride?: string | undefined;
|
|
@@ -329,37 +329,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
329
329
|
}[];
|
|
330
330
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
331
331
|
modeStack: {
|
|
332
|
-
mode:
|
|
332
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
333
333
|
selectedItemId?: string | undefined;
|
|
334
334
|
selectedItemFieldName?: string | undefined;
|
|
335
335
|
selectedItemIndex?: number | undefined;
|
|
336
336
|
}[];
|
|
337
337
|
selectedItemId: string | null;
|
|
338
|
-
selectedItemEventSource:
|
|
338
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
339
339
|
selectedItemFieldName: string | null;
|
|
340
340
|
selectedItemValue: string | null;
|
|
341
341
|
selectedItemIndex: number | null;
|
|
342
|
-
activeCategoryTab:
|
|
342
|
+
activeCategoryTab: string;
|
|
343
343
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
344
344
|
getValue(state: {
|
|
345
345
|
addContentOptions: {
|
|
346
|
-
type:
|
|
346
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
347
347
|
category: string;
|
|
348
348
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
349
349
|
displayName: string;
|
|
350
350
|
iconName: string;
|
|
351
351
|
isEnabled: boolean;
|
|
352
352
|
isLocked: boolean;
|
|
353
|
-
displayMode?:
|
|
353
|
+
displayMode?: "default" | "focused" | undefined;
|
|
354
354
|
}[];
|
|
355
355
|
items: {
|
|
356
356
|
id: string;
|
|
357
|
-
type:
|
|
357
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
358
358
|
settings: {
|
|
359
359
|
content: {
|
|
360
360
|
id: string;
|
|
361
|
-
type:
|
|
362
|
-
personalisationRole?:
|
|
361
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
362
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
363
363
|
topPadding?: number | undefined;
|
|
364
364
|
bottomPadding?: number | undefined;
|
|
365
365
|
imageUrlOverride?: string | undefined;
|
|
@@ -380,37 +380,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
380
380
|
}[];
|
|
381
381
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
382
382
|
modeStack: {
|
|
383
|
-
mode:
|
|
383
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
384
384
|
selectedItemId?: string | undefined;
|
|
385
385
|
selectedItemFieldName?: string | undefined;
|
|
386
386
|
selectedItemIndex?: number | undefined;
|
|
387
387
|
}[];
|
|
388
388
|
selectedItemId: string | null;
|
|
389
|
-
selectedItemEventSource:
|
|
389
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
390
390
|
selectedItemFieldName: string | null;
|
|
391
391
|
selectedItemValue: string | null;
|
|
392
392
|
selectedItemIndex: number | null;
|
|
393
|
-
activeCategoryTab:
|
|
394
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) =>
|
|
393
|
+
activeCategoryTab: string;
|
|
394
|
+
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => string | Content | undefined;
|
|
395
395
|
getItemState(state: {
|
|
396
396
|
addContentOptions: {
|
|
397
|
-
type:
|
|
397
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
398
398
|
category: string;
|
|
399
399
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
400
400
|
displayName: string;
|
|
401
401
|
iconName: string;
|
|
402
402
|
isEnabled: boolean;
|
|
403
403
|
isLocked: boolean;
|
|
404
|
-
displayMode?:
|
|
404
|
+
displayMode?: "default" | "focused" | undefined;
|
|
405
405
|
}[];
|
|
406
406
|
items: {
|
|
407
407
|
id: string;
|
|
408
|
-
type:
|
|
408
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
409
409
|
settings: {
|
|
410
410
|
content: {
|
|
411
411
|
id: string;
|
|
412
|
-
type:
|
|
413
|
-
personalisationRole?:
|
|
412
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
413
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
414
414
|
topPadding?: number | undefined;
|
|
415
415
|
bottomPadding?: number | undefined;
|
|
416
416
|
imageUrlOverride?: string | undefined;
|
|
@@ -431,37 +431,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
431
431
|
}[];
|
|
432
432
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
433
433
|
modeStack: {
|
|
434
|
-
mode:
|
|
434
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
435
435
|
selectedItemId?: string | undefined;
|
|
436
436
|
selectedItemFieldName?: string | undefined;
|
|
437
437
|
selectedItemIndex?: number | undefined;
|
|
438
438
|
}[];
|
|
439
439
|
selectedItemId: string | null;
|
|
440
|
-
selectedItemEventSource:
|
|
440
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
441
441
|
selectedItemFieldName: string | null;
|
|
442
442
|
selectedItemValue: string | null;
|
|
443
443
|
selectedItemIndex: number | null;
|
|
444
|
-
activeCategoryTab:
|
|
444
|
+
activeCategoryTab: string;
|
|
445
445
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("../../models").ContentSettingsItemState;
|
|
446
446
|
getItemGroupState(state: {
|
|
447
447
|
addContentOptions: {
|
|
448
|
-
type:
|
|
448
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
449
449
|
category: string;
|
|
450
450
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => Content;
|
|
451
451
|
displayName: string;
|
|
452
452
|
iconName: string;
|
|
453
453
|
isEnabled: boolean;
|
|
454
454
|
isLocked: boolean;
|
|
455
|
-
displayMode?:
|
|
455
|
+
displayMode?: "default" | "focused" | undefined;
|
|
456
456
|
}[];
|
|
457
457
|
items: {
|
|
458
458
|
id: string;
|
|
459
|
-
type:
|
|
459
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
460
460
|
settings: {
|
|
461
461
|
content: {
|
|
462
462
|
id: string;
|
|
463
|
-
type:
|
|
464
|
-
personalisationRole?:
|
|
463
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
464
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
465
465
|
topPadding?: number | undefined;
|
|
466
466
|
bottomPadding?: number | undefined;
|
|
467
467
|
imageUrlOverride?: string | undefined;
|
|
@@ -482,26 +482,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
482
482
|
}[];
|
|
483
483
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
484
484
|
modeStack: {
|
|
485
|
-
mode:
|
|
485
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
486
486
|
selectedItemId?: string | undefined;
|
|
487
487
|
selectedItemFieldName?: string | undefined;
|
|
488
488
|
selectedItemIndex?: number | undefined;
|
|
489
489
|
}[];
|
|
490
490
|
selectedItemId: string | null;
|
|
491
|
-
selectedItemEventSource:
|
|
491
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
492
492
|
selectedItemFieldName: string | null;
|
|
493
493
|
selectedItemValue: string | null;
|
|
494
494
|
selectedItemIndex: number | null;
|
|
495
|
-
activeCategoryTab:
|
|
495
|
+
activeCategoryTab: string;
|
|
496
496
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, groupId: string) => import("../../models").ContentSettingsItemGroupState;
|
|
497
|
-
mode():
|
|
497
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
498
498
|
selectedItem(): ContentItem<any> | undefined;
|
|
499
|
-
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any> | undefined;
|
|
499
|
+
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any, {}> | undefined;
|
|
500
500
|
}, {
|
|
501
501
|
onContentChanged(): void;
|
|
502
502
|
_addItem({ item, index, }: {
|
|
503
503
|
item: ContentItem<any>;
|
|
504
|
-
index?: number;
|
|
504
|
+
index?: number | undefined;
|
|
505
505
|
}): void;
|
|
506
506
|
setState(payload: {
|
|
507
507
|
newState: Partial<import("../../store").ContentSettingsState>;
|
|
@@ -518,7 +518,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
518
518
|
_setItemSettingsFieldErrorState(payload: import("../../models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
519
519
|
_setSelectedItemId({ id, eventSource, }: {
|
|
520
520
|
id: string | null;
|
|
521
|
-
eventSource:
|
|
521
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
522
522
|
}): void;
|
|
523
523
|
_setSelectedItemFieldName({ name: name }: {
|
|
524
524
|
name: string | null;
|
|
@@ -532,10 +532,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
532
532
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
533
533
|
selectedItemId: string | null;
|
|
534
534
|
imageUrl: string;
|
|
535
|
-
width?: number;
|
|
536
|
-
height?: number;
|
|
537
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
538
|
-
aspectRatio?: number | null;
|
|
535
|
+
width?: number | undefined;
|
|
536
|
+
height?: number | undefined;
|
|
537
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
538
|
+
aspectRatio?: number | null | undefined;
|
|
539
539
|
}): void;
|
|
540
540
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
541
541
|
_setItems({ items }: {
|
|
@@ -559,7 +559,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
559
559
|
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
560
560
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
561
561
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
562
|
-
activeCategoryTab:
|
|
562
|
+
activeCategoryTab: string;
|
|
563
563
|
}): void;
|
|
564
564
|
setItemState({ id, itemState, }: {
|
|
565
565
|
id: string;
|
|
@@ -582,7 +582,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
582
582
|
}): void;
|
|
583
583
|
addItemByType({ type, index, }: {
|
|
584
584
|
type: string;
|
|
585
|
-
index?: number;
|
|
585
|
+
index?: number | undefined;
|
|
586
586
|
}): ContentItem<Content> | undefined;
|
|
587
587
|
deleteItem(payload: {
|
|
588
588
|
id: string;
|
|
@@ -594,13 +594,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
594
594
|
updateIsDefaultTextColorRequired(): void;
|
|
595
595
|
setSelectedItemId(payload: {
|
|
596
596
|
id: string | null;
|
|
597
|
-
eventSource:
|
|
597
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
598
598
|
}): void;
|
|
599
599
|
setSelectedItemAndFieldName(payload: {
|
|
600
600
|
id: string | null;
|
|
601
601
|
name: string | null;
|
|
602
602
|
index: number | null;
|
|
603
|
-
eventSource:
|
|
603
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
604
604
|
}): void;
|
|
605
605
|
setSelectedItemValue(payload: {
|
|
606
606
|
value: string | null;
|
|
@@ -608,10 +608,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
608
608
|
setSelectedItemImage(payload: {
|
|
609
609
|
selectedItemId: string | null;
|
|
610
610
|
imageUrl: string;
|
|
611
|
-
width?: number;
|
|
612
|
-
height?: number;
|
|
613
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
614
|
-
aspectRatio?: number | null;
|
|
611
|
+
width?: number | undefined;
|
|
612
|
+
height?: number | undefined;
|
|
613
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
614
|
+
aspectRatio?: number | null | undefined;
|
|
615
615
|
}): void;
|
|
616
616
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
617
617
|
setItems(payload: {
|
|
@@ -623,45 +623,45 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
623
623
|
type: string;
|
|
624
624
|
}): Promise<void>;
|
|
625
625
|
setActiveCategoryTab(payload: {
|
|
626
|
-
activeCategoryTab:
|
|
626
|
+
activeCategoryTab: string;
|
|
627
627
|
}): void;
|
|
628
628
|
selectInitialContentCategory(payload: {
|
|
629
629
|
selectedCategory: string;
|
|
630
630
|
}): void;
|
|
631
631
|
initialiseItemState({ item, itemState, }: {
|
|
632
632
|
item: ContentItem<Content>;
|
|
633
|
-
itemState?: Partial<import("../../store").ContentSettingsState
|
|
633
|
+
itemState?: Partial<import("../../store").ContentSettingsState> | undefined;
|
|
634
634
|
}): void;
|
|
635
635
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
636
636
|
id: string;
|
|
637
637
|
groupId: string;
|
|
638
|
-
groupState?: import("../../models").ContentSettingsItemGroupState;
|
|
638
|
+
groupState?: import("../../models").ContentSettingsItemGroupState | undefined;
|
|
639
639
|
}): void;
|
|
640
640
|
}>;
|
|
641
641
|
pageNavigationStore: import("pinia").Store<"pageNavigation", import("../../../../shared/page-navigation/store/page-navigation-store").PageNavigationState, {
|
|
642
642
|
nav(): import("@brand-page").NavModel;
|
|
643
643
|
}, {
|
|
644
|
-
getPageSlugsForDepth(parentRouteId?: string): string[];
|
|
644
|
+
getPageSlugsForDepth(parentRouteId?: string | undefined): string[];
|
|
645
645
|
getParentRouteIdForPage(pageId: string): string | undefined;
|
|
646
646
|
getParentRouteIdForRoute(routeId: string): string | undefined;
|
|
647
647
|
getFirstOrDefaultRoute(): import("@brand-page").NavRoute;
|
|
648
648
|
setCurrentActivePage({ pageId }: {
|
|
649
|
-
pageId?: string;
|
|
649
|
+
pageId?: string | undefined;
|
|
650
650
|
}): void;
|
|
651
651
|
setCurrentActivePageAndGoToPage({ pageId }: {
|
|
652
|
-
pageId?: string;
|
|
652
|
+
pageId?: string | undefined;
|
|
653
653
|
}): void;
|
|
654
654
|
setNav({ nav }: {
|
|
655
655
|
nav: import("@brand-page").NavModel;
|
|
656
656
|
}): void;
|
|
657
|
-
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string): void;
|
|
657
|
+
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string | undefined): void;
|
|
658
658
|
removeNavRoute(routeId: string): void;
|
|
659
659
|
onDisplayNameChange(routeId: string, newDisplayName: string): void;
|
|
660
660
|
setRouteTitleAndSlugByPageId(pageId: string, displayName: string, slug: string): void;
|
|
661
661
|
updateRouteVisibility(routeId: string, isHidden: boolean): void;
|
|
662
662
|
reorderVisibleAndHiddenRoutes(): void;
|
|
663
663
|
isRouteASubpage(navRouteId: string): boolean;
|
|
664
|
-
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string): void;
|
|
664
|
+
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string | undefined): void;
|
|
665
665
|
}>;
|
|
666
666
|
pageSettingsStore: import("pinia").Store<"uiPageSettings", import("../../../page-settings/store").PageSettingsState, {
|
|
667
667
|
getFirstOrDefaultPage(): import("../../../page-settings/models").ContentPage;
|
|
@@ -680,7 +680,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
680
680
|
}): void;
|
|
681
681
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
682
682
|
isNewPageModalVisible: boolean;
|
|
683
|
-
parentPageId?: string;
|
|
683
|
+
parentPageId?: string | undefined;
|
|
684
684
|
}): Promise<void>;
|
|
685
685
|
addPage({ page }: {
|
|
686
686
|
page: import("../../../page-settings/models").ContentPage;
|
|
@@ -695,22 +695,22 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
695
695
|
pageId: string;
|
|
696
696
|
}): void;
|
|
697
697
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
698
|
-
sectionName:
|
|
699
|
-
propName:
|
|
700
|
-
index?: number;
|
|
701
|
-
value: string | boolean | import("@brand-page").LinksItem[] |
|
|
702
|
-
merge?: boolean;
|
|
698
|
+
sectionName: "footer" | "header" | "pages";
|
|
699
|
+
propName: "copyrightStyle" | "style" | "iconStyle" | "displayStyle" | "backgroundStyle" | "logoImage" | "logoImageStyle" | "isLogoOptional" | "viewport" | "isLogoVisible" | "logoTemplateImage" | "logoImageHeight" | "logoImageWidth" | "navigationStyles" | "navigation" | "logoImageUrl" | "logoDraftToken" | "logoVariation" | "logoImageBase64Url" | "copyrightText" | "socialLinks" | "textFontFamily";
|
|
700
|
+
index?: number | undefined;
|
|
701
|
+
value: string | number | boolean | BrandPageCssStyle | import("@brand-page").LinksItem[] | Partial<import("@brand-page").ImageItem> | null | undefined;
|
|
702
|
+
merge?: boolean | undefined;
|
|
703
703
|
viewport: import("@brand-page").ViewportsType;
|
|
704
704
|
}): void;
|
|
705
705
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
706
706
|
logoImage: import("@brand-page").LogoImageModel;
|
|
707
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
707
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel | undefined;
|
|
708
708
|
logoImageBase64Url: string | undefined;
|
|
709
|
-
sectionName:
|
|
709
|
+
sectionName: "footer" | "header" | "pages";
|
|
710
710
|
viewport: import("@brand-page").ViewportsType;
|
|
711
|
-
keepLogoVariation?: boolean;
|
|
712
|
-
logoImageHeight?: string;
|
|
713
|
-
logoImageWidth?: string;
|
|
711
|
+
keepLogoVariation?: boolean | undefined;
|
|
712
|
+
logoImageHeight?: string | undefined;
|
|
713
|
+
logoImageWidth?: string | undefined;
|
|
714
714
|
}): void;
|
|
715
715
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
716
716
|
sectionName: string;
|
|
@@ -725,13 +725,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
725
725
|
}): void;
|
|
726
726
|
addNewPage(payload: {
|
|
727
727
|
title: string;
|
|
728
|
-
newPageParentId?: string;
|
|
728
|
+
newPageParentId?: string | undefined;
|
|
729
729
|
}): import("../../../page-settings/models").ContentPage;
|
|
730
730
|
setSelectedSectionName({ sectionName, }: {
|
|
731
|
-
sectionName?:
|
|
731
|
+
sectionName?: "footer" | "header" | "pages" | undefined;
|
|
732
732
|
}): void;
|
|
733
733
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
734
|
-
sectionName:
|
|
734
|
+
sectionName: "footer" | "header" | "pages";
|
|
735
735
|
isCollapsed: boolean;
|
|
736
736
|
}): void;
|
|
737
737
|
collapseAllSections(): void;
|
|
@@ -747,13 +747,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
747
747
|
defaultTextColor(): string | undefined;
|
|
748
748
|
logoBackgroundColor(): string | undefined;
|
|
749
749
|
selectedButtonStyleConfig(): import("@brand-page-maker/models").ButtonStyleConfig | undefined;
|
|
750
|
-
selectedTextFontFamily():
|
|
750
|
+
selectedTextFontFamily(): "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
751
751
|
doesLogoHaveBackground(): boolean;
|
|
752
752
|
activeLogoStyles(): import("@brand-page").LogoStyles;
|
|
753
753
|
}, {
|
|
754
754
|
initialise(options: {
|
|
755
755
|
reset: boolean;
|
|
756
|
-
brandPageType:
|
|
756
|
+
brandPageType: "default" | "brandSite" | "brandContact";
|
|
757
757
|
}): void;
|
|
758
758
|
setState(payload: {
|
|
759
759
|
newState: Omit<import("../../../style-settings/store").StyleSettingsState, "availableButtonStyleConfigs" | "availableGalleryTypes">;
|
|
@@ -771,16 +771,16 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
771
771
|
id: string;
|
|
772
772
|
}): void;
|
|
773
773
|
_setTextFontFamily(payload: {
|
|
774
|
-
fontFamily:
|
|
774
|
+
fontFamily: "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
775
775
|
}): void;
|
|
776
776
|
_setTextStyles(payload: Partial<import("@brand-page").TextStyles>): void;
|
|
777
777
|
setAdminStyleOptionDefaultValues(): void;
|
|
778
778
|
setTextStyleOption(payload: {
|
|
779
|
-
type:
|
|
779
|
+
type: "buttons" | "titles" | "headings" | "paragraphs";
|
|
780
780
|
style: import("@brand-page").TextStyleDeclaration;
|
|
781
781
|
}): void;
|
|
782
782
|
setStyleOptionValue(payload: {
|
|
783
|
-
option:
|
|
783
|
+
option: "buttonBorderColor" | "buttonFillColor" | "buttonShadowColor" | "buttonSoftShadowColor" | "buttonIconColor" | "logoBackgroundColor" | "defaultTextColor";
|
|
784
784
|
value: string;
|
|
785
785
|
}): void;
|
|
786
786
|
setButtonStyles(payload: import("@brand-page").ButtonStyles): void;
|
|
@@ -797,7 +797,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
797
797
|
id: string;
|
|
798
798
|
}): void;
|
|
799
799
|
setTextFontFamily(payload: {
|
|
800
|
-
fontFamily:
|
|
800
|
+
fontFamily: "lato" | "roboto" | "notoSans" | "openSans" | "arvo" | "bebasNeue" | "ptSerif" | "oswald" | "inter" | "montserrat" | "raleway" | "anton" | "antonSc" | "quicksand" | "pacifico" | "bioRhyme" | "playfairDisplay" | "mulish" | "telex" | "pridi" | "hindMadurai" | "kanit" | "libreBaskerville" | "amiko" | "neuton" | "tenorSans" | "jacquesFrancois" | "varela" | "quattrocentoSans" | "workSans" | "titilliumWeb" | "amaticSc" | "poiretOne" | "shantellSans" | "dancingScript" | "tangerine" | "cinzel" | "jost" | "exo2" | "ebGaramond" | "ubuntu" | "cabin" | "josefinSans" | "lobsterTwo" | "sacramento" | "nunito" | "aboreto" | "afacad" | "aleo" | "abhayaLibre" | "caladea" | "rokkitt" | "rubik" | "frankRuhlLibre" | "spectral" | "abrilFatface" | "courgette" | "kiteOne" | "amarante" | "satisfy" | "lilitaOne" | "lobster" | "titanOne" | "cookie" | "bungee" | "poppins" | "staatliches" | "patuaOne" | "calistoga" | "suezOne" | "caprasimo" | "rubikMonoOne" | "silkscreen" | "alfaSlabOne" | "orelegaOne" | "audiowide" | "redRose" | "kalnia" | "imbue" | "climateCrisis" | "gluten" | "madimiOne" | "anta" | "trykker" | "moul" | "bevan" | "wendyOne" | "lexendDeca" | "vinaSans" | "chango" | "changaOne" | "protestGuerrilla" | "londrinaShadow" | "candal" | "borel" | "rockNRollOne" | "bungeeInline" | "rampartOne" | "manrope" | "yuseiMagic" | "patrickHandSC" | "farsan" | "handlee" | "lemonada" | "arsenal" | "bakbakOne" | "belleza" | "blackHanSans" | "bowlbyOne" | "brunoAceSC" | "castoroTitling" | "contrailOne" | "delaGothicOne" | "dotGothic16" | "fahkwang" | "francoisOne" | "gloock" | "graduate" | "jersey10" | "kavoon" | "kronaOne" | "notable" | "pavanam" | "phudu" | "poetsenOne" | "pollerOne" | "questrial" | "racingSansOne" | "rammettoOne" | "rubikGlitch" | "shrikhand" | "spicyRice" | "syncopate" | "urbanist" | "yesevaOne" | "zenDots" | "ballet" | "luxuriousScript" | "windSong" | "calSans" | "specialGothicExpandedOne" | "imperialScript" | "greatVibes" | "limelight" | "bodoniModaSc" | "zillaSlab" | "righteous" | "cherryBombOne" | "barlow" | "comfortaa" | "cormorant" | "msMadi" | "tektur" | "spaceGrotesk" | "leagueSpartan" | "cormorantGaramond" | "gwendolyn" | "playwriteOsterreich" | "sourceCodePro" | "commissioner" | "lora" | "sairaCondensed" | "fruktur" | "caudex" | "cascadiaCode" | "merriweather" | "unbounded" | "nataSans" | "museoModerno" | "geologica" | "tomorrow" | "fraunces" | "notoSerifDisplay" | "coiny" | "sriracha" | "redditSans" | "heptaSlab" | "parisienne" | "monteCarlo" | "georama" | "goldman" | "montaguSlab" | "ephesis" | "sigmar" | "knewave";
|
|
801
801
|
}): Promise<void>;
|
|
802
802
|
toggleLogoBackground(): Promise<any>;
|
|
803
803
|
}>;
|
|
@@ -833,15 +833,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
833
833
|
subscribe: (callbackFn: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void) => void;
|
|
834
834
|
sendWebsiteEvent: (event: import("@brand-page-maker/composables/useEventTracker").BpEventTrackerEvent) => void;
|
|
835
835
|
sendWebsiteMakerOpenEvent: (location: string) => void;
|
|
836
|
-
sendUpsellOpenEvent: (cta_location?: string) => void;
|
|
836
|
+
sendUpsellOpenEvent: (cta_location?: string | undefined) => void;
|
|
837
837
|
sendDomainUpsellOpenEvent: () => void;
|
|
838
838
|
sendDomainUpsellContinuationEvent: (continuation: string) => void;
|
|
839
839
|
sendUpsellContinuationEvent: (continuation: string) => void;
|
|
840
840
|
sendPublishOpenEvent: () => void;
|
|
841
841
|
appendPublishBridgeState: (props: any) => void;
|
|
842
842
|
sendPublishContinuationEvent: (continuation: string, domain: string | null) => void;
|
|
843
|
-
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean) => void;
|
|
844
|
-
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean) => void;
|
|
843
|
+
sendWebsiteManageAddPageEvent: (pageName: string, isSubPageMode?: boolean | undefined) => void;
|
|
844
|
+
sendWebsiteManageRemovePageEvent: (pageName: string, isRouteNested?: boolean | undefined) => void;
|
|
845
845
|
sendWebsiteManageReorderPageEvent: (pageName: string) => void;
|
|
846
846
|
sendPublishOptionsForFreeEvent: () => void;
|
|
847
847
|
sendPublishOptionsForPremiumEvent: () => void;
|
|
@@ -850,8 +850,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
850
850
|
sendTemplateSelectEvent: (templateId: string) => void;
|
|
851
851
|
sendTemplateCategorySelectEvent: (category: string) => void;
|
|
852
852
|
sendSidebarCategoryClickedEvent: (tabName: string) => void;
|
|
853
|
-
sendAddContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
854
|
-
sendRemoveContentEvent: (contentType: string, selectLocation?: string, contentCategory?: string, triggerType?: string) => void;
|
|
853
|
+
sendAddContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
854
|
+
sendRemoveContentEvent: (contentType: string, selectLocation?: string | undefined, contentCategory?: string | undefined, triggerType?: string) => void;
|
|
855
855
|
sendAddContentContinuationEvent: (continuation: string) => void;
|
|
856
856
|
sendUpsellOfferEvent: (upsellType: string) => void;
|
|
857
857
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
@@ -868,12 +868,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
868
868
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
869
869
|
captureBaseline: () => void;
|
|
870
870
|
capture: (args: {
|
|
871
|
-
source:
|
|
872
|
-
actor:
|
|
873
|
-
label?: string;
|
|
871
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
872
|
+
actor: "user" | "ai_builder";
|
|
873
|
+
label?: string | undefined;
|
|
874
874
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
875
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
876
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
875
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
876
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
877
877
|
mergeNextMutation: () => void;
|
|
878
878
|
undo: () => Promise<void>;
|
|
879
879
|
redo: () => Promise<void>;
|
|
@@ -890,12 +890,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
890
890
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
891
891
|
captureBaseline: () => void;
|
|
892
892
|
capture: (args: {
|
|
893
|
-
source:
|
|
894
|
-
actor:
|
|
895
|
-
label?: string;
|
|
893
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
894
|
+
actor: "user" | "ai_builder";
|
|
895
|
+
label?: string | undefined;
|
|
896
896
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
897
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
898
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
897
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
898
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
899
899
|
mergeNextMutation: () => void;
|
|
900
900
|
undo: () => Promise<void>;
|
|
901
901
|
redo: () => Promise<void>;
|
|
@@ -912,12 +912,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
912
912
|
canRedo: import("vue").ComputedRef<boolean>;
|
|
913
913
|
captureBaseline: () => void;
|
|
914
914
|
capture: (args: {
|
|
915
|
-
source:
|
|
916
|
-
actor:
|
|
917
|
-
label?: string;
|
|
915
|
+
source: "manual_edit" | "template_switch" | "ai_changeset" | "rich_text";
|
|
916
|
+
actor: "user" | "ai_builder";
|
|
917
|
+
label?: string | undefined;
|
|
918
918
|
}) => "committed" | "oversized" | "noop" | "skipped";
|
|
919
|
-
captureTemplateSwitch: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
920
|
-
captureAiChangeset: (label?: string) => "committed" | "oversized" | "noop" | "skipped";
|
|
919
|
+
captureTemplateSwitch: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
920
|
+
captureAiChangeset: (label?: string | undefined) => "committed" | "oversized" | "noop" | "skipped";
|
|
921
921
|
mergeNextMutation: () => void;
|
|
922
922
|
undo: () => Promise<void>;
|
|
923
923
|
redo: () => Promise<void>;
|
|
@@ -956,7 +956,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
956
956
|
onAddPageButtonClick(): void;
|
|
957
957
|
onAddModeBackButtonClick(): void;
|
|
958
958
|
scrollToSelectedItem(itemId: string): void;
|
|
959
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
960
|
-
"onCapture-preview-snapshot"?: ((...args: any[]) => any) | undefined;
|
|
961
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
959
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
962
960
|
export default _default;
|