@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
|
@@ -8,9 +8,23 @@ import { SIDE_BAR_TAB_NAMES } from '@brand-page-maker/constants';
|
|
|
8
8
|
import { ITEM_FIELD_TYPES } from '@brand-page-maker/models';
|
|
9
9
|
import { useUiPageSettingsStore } from '../../../page-settings/store';
|
|
10
10
|
import { PAGE_SECTIONS } from '../../../page-settings/models';
|
|
11
|
+
import { commonTr } from '@src/composables/useTranslate';
|
|
11
12
|
import { getPlainTextFromRTE, replaceTextInRTE, RTE_ALLOWED_SECTION_TYPES, isRTEManagedStyleField, } from '@brand-page-maker/utils';
|
|
12
13
|
import { isDefaultContentText } from '@shared/content-settings/utils';
|
|
13
14
|
import { useUiLogoSettingsStore } from '../../../logo-settings/store';
|
|
15
|
+
const RTE_DISALLOWED_STYLE_FIELD_NAMES = [
|
|
16
|
+
'descriptionStyle',
|
|
17
|
+
'titleStyle',
|
|
18
|
+
'textStyle',
|
|
19
|
+
'paragraphStyle',
|
|
20
|
+
];
|
|
21
|
+
const AI_ALLOWED_SECTION_TYPES = [
|
|
22
|
+
'banner-section',
|
|
23
|
+
'text',
|
|
24
|
+
'about-section',
|
|
25
|
+
'testimonials-section',
|
|
26
|
+
];
|
|
27
|
+
const AI_ALLOWED_FIELD_NAMES = ['description', 'title', 'text', 'paragraph'];
|
|
14
28
|
const RTE_DISALLOWED_FIELD_NAMES = ['buttonText'];
|
|
15
29
|
export default defineComponent({
|
|
16
30
|
props: {
|
|
@@ -33,7 +47,6 @@ export default defineComponent({
|
|
|
33
47
|
default: undefined,
|
|
34
48
|
},
|
|
35
49
|
},
|
|
36
|
-
emits: ['capture-preview-snapshot'],
|
|
37
50
|
setup() {
|
|
38
51
|
const contentSettingsStore = useUiContentSettingsStore();
|
|
39
52
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
selectedItemId: import("vue").ComputedRef<string | null>;
|
|
9
9
|
getContent: import("vue").ComputedRef<(id: string) => import("@brand-page").Content | undefined>;
|
|
10
10
|
getItem: import("vue").ComputedRef<(id: string) => ContentItem<any> | undefined>;
|
|
11
|
-
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => import("@brand-page").Content |
|
|
11
|
+
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => string | import("@brand-page").Content | undefined>;
|
|
12
12
|
getItemGroupState: import("vue").ComputedRef<(id: string, groupId: string) => import("../../models").ContentSettingsItemGroupState>;
|
|
13
13
|
brandPageData: import("vue").ComputedRef<import("@brand-page").BrandPageModel>;
|
|
14
14
|
isPersonalisationEnabled: import("vue").ComputedRef<boolean>;
|
|
@@ -19,23 +19,23 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
19
19
|
contentErrorCount(): number;
|
|
20
20
|
getContent(state: {
|
|
21
21
|
addContentOptions: {
|
|
22
|
-
type:
|
|
22
|
+
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";
|
|
23
23
|
category: string;
|
|
24
24
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
25
25
|
displayName: string;
|
|
26
26
|
iconName: string;
|
|
27
27
|
isEnabled: boolean;
|
|
28
28
|
isLocked: boolean;
|
|
29
|
-
displayMode?:
|
|
29
|
+
displayMode?: "default" | "focused" | undefined;
|
|
30
30
|
}[];
|
|
31
31
|
items: {
|
|
32
32
|
id: string;
|
|
33
|
-
type:
|
|
33
|
+
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";
|
|
34
34
|
settings: {
|
|
35
35
|
content: {
|
|
36
36
|
id: string;
|
|
37
|
-
type:
|
|
38
|
-
personalisationRole?:
|
|
37
|
+
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";
|
|
38
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
39
39
|
topPadding?: number | undefined;
|
|
40
40
|
bottomPadding?: number | undefined;
|
|
41
41
|
imageUrlOverride?: string | undefined;
|
|
@@ -56,37 +56,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
56
56
|
}[];
|
|
57
57
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
58
58
|
modeStack: {
|
|
59
|
-
mode:
|
|
59
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
60
60
|
selectedItemId?: string | undefined;
|
|
61
61
|
selectedItemFieldName?: string | undefined;
|
|
62
62
|
selectedItemIndex?: number | undefined;
|
|
63
63
|
}[];
|
|
64
64
|
selectedItemId: string | null;
|
|
65
|
-
selectedItemEventSource:
|
|
65
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
66
66
|
selectedItemFieldName: string | null;
|
|
67
67
|
selectedItemValue: string | null;
|
|
68
68
|
selectedItemIndex: number | null;
|
|
69
|
-
activeCategoryTab:
|
|
69
|
+
activeCategoryTab: string;
|
|
70
70
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("@brand-page").Content | undefined;
|
|
71
71
|
getFieldSettings(state: {
|
|
72
72
|
addContentOptions: {
|
|
73
|
-
type:
|
|
73
|
+
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";
|
|
74
74
|
category: string;
|
|
75
75
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
76
76
|
displayName: string;
|
|
77
77
|
iconName: string;
|
|
78
78
|
isEnabled: boolean;
|
|
79
79
|
isLocked: boolean;
|
|
80
|
-
displayMode?:
|
|
80
|
+
displayMode?: "default" | "focused" | undefined;
|
|
81
81
|
}[];
|
|
82
82
|
items: {
|
|
83
83
|
id: string;
|
|
84
|
-
type:
|
|
84
|
+
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";
|
|
85
85
|
settings: {
|
|
86
86
|
content: {
|
|
87
87
|
id: string;
|
|
88
|
-
type:
|
|
89
|
-
personalisationRole?:
|
|
88
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
89
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
90
90
|
topPadding?: number | undefined;
|
|
91
91
|
bottomPadding?: number | undefined;
|
|
92
92
|
imageUrlOverride?: string | undefined;
|
|
@@ -107,37 +107,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
107
107
|
}[];
|
|
108
108
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
109
109
|
modeStack: {
|
|
110
|
-
mode:
|
|
110
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
111
111
|
selectedItemId?: string | undefined;
|
|
112
112
|
selectedItemFieldName?: string | undefined;
|
|
113
113
|
selectedItemIndex?: number | undefined;
|
|
114
114
|
}[];
|
|
115
115
|
selectedItemId: string | null;
|
|
116
|
-
selectedItemEventSource:
|
|
116
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
117
117
|
selectedItemFieldName: string | null;
|
|
118
118
|
selectedItemValue: string | null;
|
|
119
119
|
selectedItemIndex: number | null;
|
|
120
|
-
activeCategoryTab:
|
|
120
|
+
activeCategoryTab: string;
|
|
121
121
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("../../models").ContentItemFieldSettings | undefined;
|
|
122
122
|
getItem(state: {
|
|
123
123
|
addContentOptions: {
|
|
124
|
-
type:
|
|
124
|
+
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";
|
|
125
125
|
category: string;
|
|
126
126
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
127
127
|
displayName: string;
|
|
128
128
|
iconName: string;
|
|
129
129
|
isEnabled: boolean;
|
|
130
130
|
isLocked: boolean;
|
|
131
|
-
displayMode?:
|
|
131
|
+
displayMode?: "default" | "focused" | undefined;
|
|
132
132
|
}[];
|
|
133
133
|
items: {
|
|
134
134
|
id: string;
|
|
135
|
-
type:
|
|
135
|
+
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";
|
|
136
136
|
settings: {
|
|
137
137
|
content: {
|
|
138
138
|
id: string;
|
|
139
|
-
type:
|
|
140
|
-
personalisationRole?:
|
|
139
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
140
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
141
141
|
topPadding?: number | undefined;
|
|
142
142
|
bottomPadding?: number | undefined;
|
|
143
143
|
imageUrlOverride?: string | undefined;
|
|
@@ -158,37 +158,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
158
158
|
}[];
|
|
159
159
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
160
160
|
modeStack: {
|
|
161
|
-
mode:
|
|
161
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
162
162
|
selectedItemId?: string | undefined;
|
|
163
163
|
selectedItemFieldName?: string | undefined;
|
|
164
164
|
selectedItemIndex?: number | undefined;
|
|
165
165
|
}[];
|
|
166
166
|
selectedItemId: string | null;
|
|
167
|
-
selectedItemEventSource:
|
|
167
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
168
168
|
selectedItemFieldName: string | null;
|
|
169
169
|
selectedItemValue: string | null;
|
|
170
170
|
selectedItemIndex: number | null;
|
|
171
|
-
activeCategoryTab:
|
|
171
|
+
activeCategoryTab: string;
|
|
172
172
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => ContentItem<any> | undefined;
|
|
173
173
|
getValue(state: {
|
|
174
174
|
addContentOptions: {
|
|
175
|
-
type:
|
|
175
|
+
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";
|
|
176
176
|
category: string;
|
|
177
177
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
178
178
|
displayName: string;
|
|
179
179
|
iconName: string;
|
|
180
180
|
isEnabled: boolean;
|
|
181
181
|
isLocked: boolean;
|
|
182
|
-
displayMode?:
|
|
182
|
+
displayMode?: "default" | "focused" | undefined;
|
|
183
183
|
}[];
|
|
184
184
|
items: {
|
|
185
185
|
id: string;
|
|
186
|
-
type:
|
|
186
|
+
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";
|
|
187
187
|
settings: {
|
|
188
188
|
content: {
|
|
189
189
|
id: string;
|
|
190
|
-
type:
|
|
191
|
-
personalisationRole?:
|
|
190
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
191
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
192
192
|
topPadding?: number | undefined;
|
|
193
193
|
bottomPadding?: number | undefined;
|
|
194
194
|
imageUrlOverride?: string | undefined;
|
|
@@ -209,37 +209,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
209
209
|
}[];
|
|
210
210
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
211
211
|
modeStack: {
|
|
212
|
-
mode:
|
|
212
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
213
213
|
selectedItemId?: string | undefined;
|
|
214
214
|
selectedItemFieldName?: string | undefined;
|
|
215
215
|
selectedItemIndex?: number | undefined;
|
|
216
216
|
}[];
|
|
217
217
|
selectedItemId: string | null;
|
|
218
|
-
selectedItemEventSource:
|
|
218
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
219
219
|
selectedItemFieldName: string | null;
|
|
220
220
|
selectedItemValue: string | null;
|
|
221
221
|
selectedItemIndex: number | null;
|
|
222
|
-
activeCategoryTab:
|
|
223
|
-
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => import("@brand-page").Content |
|
|
222
|
+
activeCategoryTab: string;
|
|
223
|
+
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, fieldName: string) => string | import("@brand-page").Content | undefined;
|
|
224
224
|
getItemState(state: {
|
|
225
225
|
addContentOptions: {
|
|
226
|
-
type:
|
|
226
|
+
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";
|
|
227
227
|
category: string;
|
|
228
228
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
229
229
|
displayName: string;
|
|
230
230
|
iconName: string;
|
|
231
231
|
isEnabled: boolean;
|
|
232
232
|
isLocked: boolean;
|
|
233
|
-
displayMode?:
|
|
233
|
+
displayMode?: "default" | "focused" | undefined;
|
|
234
234
|
}[];
|
|
235
235
|
items: {
|
|
236
236
|
id: string;
|
|
237
|
-
type:
|
|
237
|
+
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";
|
|
238
238
|
settings: {
|
|
239
239
|
content: {
|
|
240
240
|
id: string;
|
|
241
|
-
type:
|
|
242
|
-
personalisationRole?:
|
|
241
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
242
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
243
243
|
topPadding?: number | undefined;
|
|
244
244
|
bottomPadding?: number | undefined;
|
|
245
245
|
imageUrlOverride?: string | undefined;
|
|
@@ -260,37 +260,37 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
260
260
|
}[];
|
|
261
261
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
262
262
|
modeStack: {
|
|
263
|
-
mode:
|
|
263
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
264
264
|
selectedItemId?: string | undefined;
|
|
265
265
|
selectedItemFieldName?: string | undefined;
|
|
266
266
|
selectedItemIndex?: number | undefined;
|
|
267
267
|
}[];
|
|
268
268
|
selectedItemId: string | null;
|
|
269
|
-
selectedItemEventSource:
|
|
269
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
270
270
|
selectedItemFieldName: string | null;
|
|
271
271
|
selectedItemValue: string | null;
|
|
272
272
|
selectedItemIndex: number | null;
|
|
273
|
-
activeCategoryTab:
|
|
273
|
+
activeCategoryTab: string;
|
|
274
274
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string) => import("../../models").ContentSettingsItemState;
|
|
275
275
|
getItemGroupState(state: {
|
|
276
276
|
addContentOptions: {
|
|
277
|
-
type:
|
|
277
|
+
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";
|
|
278
278
|
category: string;
|
|
279
279
|
createInitialContent: (options: import("../../models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
280
280
|
displayName: string;
|
|
281
281
|
iconName: string;
|
|
282
282
|
isEnabled: boolean;
|
|
283
283
|
isLocked: boolean;
|
|
284
|
-
displayMode?:
|
|
284
|
+
displayMode?: "default" | "focused" | undefined;
|
|
285
285
|
}[];
|
|
286
286
|
items: {
|
|
287
287
|
id: string;
|
|
288
|
-
type:
|
|
288
|
+
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";
|
|
289
289
|
settings: {
|
|
290
290
|
content: {
|
|
291
291
|
id: string;
|
|
292
|
-
type:
|
|
293
|
-
personalisationRole?:
|
|
292
|
+
type: "website" | "image" | "email" | "phone" | "logo" | "general-link" | "profile" | "video" | "text" | "facebook" | "x" | "instagram" | "youtube" | "linkedin" | "pinterest" | "twitch" | "tiktok" | "map" | "image-gallery" | "mailing-list" | "request-payment" | "support-me" | "contact-form" | "banner-section" | "about-section" | "divider-section" | "images-section" | "testimonial-section" | "social-links" | "shapes-section" | "shop-section" | "booking-section";
|
|
293
|
+
personalisationRole?: "website" | "email" | "phone" | "profile" | "about" | "information" | "media" | undefined;
|
|
294
294
|
topPadding?: number | undefined;
|
|
295
295
|
bottomPadding?: number | undefined;
|
|
296
296
|
imageUrlOverride?: string | undefined;
|
|
@@ -311,26 +311,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
311
311
|
}[];
|
|
312
312
|
itemStates: Record<string, import("../../models").ContentSettingsItemState>;
|
|
313
313
|
modeStack: {
|
|
314
|
-
mode:
|
|
314
|
+
mode: "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
315
315
|
selectedItemId?: string | undefined;
|
|
316
316
|
selectedItemFieldName?: string | undefined;
|
|
317
317
|
selectedItemIndex?: number | undefined;
|
|
318
318
|
}[];
|
|
319
319
|
selectedItemId: string | null;
|
|
320
|
-
selectedItemEventSource:
|
|
320
|
+
selectedItemEventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
321
321
|
selectedItemFieldName: string | null;
|
|
322
322
|
selectedItemValue: string | null;
|
|
323
323
|
selectedItemIndex: number | null;
|
|
324
|
-
activeCategoryTab:
|
|
324
|
+
activeCategoryTab: string;
|
|
325
325
|
} & import("pinia").PiniaCustomStateProperties<import("../../store").ContentSettingsState>): (id: string, groupId: string) => import("../../models").ContentSettingsItemGroupState;
|
|
326
|
-
mode():
|
|
326
|
+
mode(): "images" | "pages" | "add" | "edit" | "focusedContentItem";
|
|
327
327
|
selectedItem(): ContentItem<any> | undefined;
|
|
328
|
-
selectedItemTemplate(): ContentSettingsConfig<any> | undefined;
|
|
328
|
+
selectedItemTemplate(): ContentSettingsConfig<any, {}> | undefined;
|
|
329
329
|
}, {
|
|
330
330
|
onContentChanged(): void;
|
|
331
331
|
_addItem({ item, index, }: {
|
|
332
332
|
item: ContentItem<any>;
|
|
333
|
-
index?: number;
|
|
333
|
+
index?: number | undefined;
|
|
334
334
|
}): void;
|
|
335
335
|
setState(payload: {
|
|
336
336
|
newState: Partial<import("../../store").ContentSettingsState>;
|
|
@@ -347,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
347
347
|
_setItemSettingsFieldErrorState(payload: import("../../models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
348
348
|
_setSelectedItemId({ id, eventSource, }: {
|
|
349
349
|
id: string | null;
|
|
350
|
-
eventSource:
|
|
350
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
351
351
|
}): void;
|
|
352
352
|
_setSelectedItemFieldName({ name: name }: {
|
|
353
353
|
name: string | null;
|
|
@@ -361,10 +361,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
361
361
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
362
362
|
selectedItemId: string | null;
|
|
363
363
|
imageUrl: string;
|
|
364
|
-
width?: number;
|
|
365
|
-
height?: number;
|
|
366
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
367
|
-
aspectRatio?: number | null;
|
|
364
|
+
width?: number | undefined;
|
|
365
|
+
height?: number | undefined;
|
|
366
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
367
|
+
aspectRatio?: number | null | undefined;
|
|
368
368
|
}): void;
|
|
369
369
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
370
370
|
_setItems({ items }: {
|
|
@@ -388,7 +388,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
388
388
|
updateTextItemTextStyleType({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
389
389
|
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../models").UpdateMultipleItemValuesPayload<any>): void;
|
|
390
390
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
391
|
-
activeCategoryTab:
|
|
391
|
+
activeCategoryTab: string;
|
|
392
392
|
}): void;
|
|
393
393
|
setItemState({ id, itemState, }: {
|
|
394
394
|
id: string;
|
|
@@ -411,7 +411,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
411
411
|
}): void;
|
|
412
412
|
addItemByType({ type, index, }: {
|
|
413
413
|
type: string;
|
|
414
|
-
index?: number;
|
|
414
|
+
index?: number | undefined;
|
|
415
415
|
}): ContentItem<import("@brand-page").Content> | undefined;
|
|
416
416
|
deleteItem(payload: {
|
|
417
417
|
id: string;
|
|
@@ -423,13 +423,13 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
423
423
|
updateIsDefaultTextColorRequired(): void;
|
|
424
424
|
setSelectedItemId(payload: {
|
|
425
425
|
id: string | null;
|
|
426
|
-
eventSource:
|
|
426
|
+
eventSource: "preview" | "contentSettings" | "pageSettings";
|
|
427
427
|
}): void;
|
|
428
428
|
setSelectedItemAndFieldName(payload: {
|
|
429
429
|
id: string | null;
|
|
430
430
|
name: string | null;
|
|
431
431
|
index: number | null;
|
|
432
|
-
eventSource:
|
|
432
|
+
eventSource: "preview" | "contentSettings" | "pageSettings" | null;
|
|
433
433
|
}): void;
|
|
434
434
|
setSelectedItemValue(payload: {
|
|
435
435
|
value: string | null;
|
|
@@ -437,10 +437,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
437
437
|
setSelectedItemImage(payload: {
|
|
438
438
|
selectedItemId: string | null;
|
|
439
439
|
imageUrl: string;
|
|
440
|
-
width?: number;
|
|
441
|
-
height?: number;
|
|
442
|
-
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
443
|
-
aspectRatio?: number | null;
|
|
440
|
+
width?: number | undefined;
|
|
441
|
+
height?: number | undefined;
|
|
442
|
+
colorReplacements?: import("@brand-page").ColorReplacement[] | undefined;
|
|
443
|
+
aspectRatio?: number | null | undefined;
|
|
444
444
|
}): void;
|
|
445
445
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../my-uploads/models").MediaBaseSelectedPayload): void;
|
|
446
446
|
setItems(payload: {
|
|
@@ -452,19 +452,19 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
452
452
|
type: string;
|
|
453
453
|
}): Promise<void>;
|
|
454
454
|
setActiveCategoryTab(payload: {
|
|
455
|
-
activeCategoryTab:
|
|
455
|
+
activeCategoryTab: string;
|
|
456
456
|
}): void;
|
|
457
457
|
selectInitialContentCategory(payload: {
|
|
458
458
|
selectedCategory: string;
|
|
459
459
|
}): void;
|
|
460
460
|
initialiseItemState({ item, itemState, }: {
|
|
461
461
|
item: ContentItem<import("@brand-page").Content>;
|
|
462
|
-
itemState?: Partial<import("../../store").ContentSettingsState
|
|
462
|
+
itemState?: Partial<import("../../store").ContentSettingsState> | undefined;
|
|
463
463
|
}): void;
|
|
464
464
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
465
465
|
id: string;
|
|
466
466
|
groupId: string;
|
|
467
|
-
groupState?: import("../../models").ContentSettingsItemGroupState;
|
|
467
|
+
groupState?: import("../../models").ContentSettingsItemGroupState | undefined;
|
|
468
468
|
}): void;
|
|
469
469
|
}>;
|
|
470
470
|
}, {
|
|
@@ -485,7 +485,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
485
485
|
onCaptureSnapshotBeforeModal(): void;
|
|
486
486
|
onToggleGroupCollapseClick(groupId: string): void;
|
|
487
487
|
onPersonalisationRoleChange(payload: UpdateItemValuePayload<PersonalisationRole | undefined>): void;
|
|
488
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
489
|
-
"onCapture-preview-snapshot"?: ((...args: any[]) => any) | undefined;
|
|
490
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
488
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
491
489
|
export default _default;
|
|
@@ -5,17 +5,16 @@ import { useUiContentSettingsStore } from '../../store';
|
|
|
5
5
|
import { useBrandPageMakerStore, useBrandPageMakerUserStore, useRouteStore, useUiStore, } from '@brand-page-maker/stores';
|
|
6
6
|
import { BRAND_PAGE_TYPES, MEDIA_SIZES, } from '@brand-page';
|
|
7
7
|
import { buildRelativePathFromParams } from '@brand-page/utils/route.util';
|
|
8
|
-
import { isRTEManagedStyleField } from '@brand-page-maker/utils';
|
|
8
|
+
import { switchAllContentToRTE, isRTEManagedStyleField, } from '@brand-page-maker/utils';
|
|
9
9
|
import { useUiPageSettingsStore } from '@shared/page-settings/store';
|
|
10
10
|
import { useExternalRichTextEditor } from '@brand-page-maker/composables/rich-text-editor/useRichTextEditor';
|
|
11
11
|
import { useUiStyleSettingsStore } from '@shared/style-settings/store';
|
|
12
12
|
export default defineComponent({
|
|
13
|
-
emits: ['capture-preview-snapshot'],
|
|
14
13
|
setup() {
|
|
15
14
|
const contentSettingsStore = useUiContentSettingsStore();
|
|
16
15
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
17
|
-
const
|
|
18
|
-
const
|
|
16
|
+
const pageSettingsStore = useUiPageSettingsStore();
|
|
17
|
+
const styleSettingsStore = useUiStyleSettingsStore();
|
|
19
18
|
const userStore = useBrandPageMakerUserStore();
|
|
20
19
|
const uiStore = useUiStore();
|
|
21
20
|
const routeStore = useRouteStore();
|
package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts
CHANGED
|
@@ -31,11 +31,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
}[];
|
|
32
32
|
valueWithState: import("vue").Ref<{
|
|
33
33
|
field: {
|
|
34
|
-
id:
|
|
34
|
+
id: "firstName" | "lastName" | "emailAddress" | "phoneNumber" | "message" | "customField1" | "customField2" | "customField3";
|
|
35
35
|
name: string;
|
|
36
36
|
enabled: boolean;
|
|
37
37
|
required: boolean;
|
|
38
|
-
type:
|
|
38
|
+
type: "email" | "phone" | "text" | "text-area";
|
|
39
39
|
};
|
|
40
40
|
isCollapsed: boolean;
|
|
41
41
|
isTypeDropdownOpen: boolean;
|
|
@@ -45,11 +45,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
45
|
isTypeDropdownOpen: boolean;
|
|
46
46
|
}[] | {
|
|
47
47
|
field: {
|
|
48
|
-
id:
|
|
48
|
+
id: "firstName" | "lastName" | "emailAddress" | "phoneNumber" | "message" | "customField1" | "customField2" | "customField3";
|
|
49
49
|
name: string;
|
|
50
50
|
enabled: boolean;
|
|
51
51
|
required: boolean;
|
|
52
|
-
type:
|
|
52
|
+
type: "email" | "phone" | "text" | "text-area";
|
|
53
53
|
};
|
|
54
54
|
isCollapsed: boolean;
|
|
55
55
|
isTypeDropdownOpen: boolean;
|
|
@@ -2,9 +2,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
2
2
|
orderedIcons: string[];
|
|
3
3
|
}, {}, {
|
|
4
4
|
setSelectedIcon(icon: string): void;
|
|
5
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
6
|
-
"onOn-select-image"?: ((...args: any[]) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {
|
|
5
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
8
6
|
Icon: import("vue").DefineComponent<{}, {}, any>;
|
|
9
7
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
8
|
export default _default;
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
value: {
|
|
23
|
-
type: PropType<
|
|
23
|
+
type: PropType<import("@brand-page").ImageItem[]>;
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
maxLength: {
|
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
value: {
|
|
72
|
-
type: PropType<
|
|
72
|
+
type: PropType<import("@brand-page").ImageItem[]>;
|
|
73
73
|
required: true;
|
|
74
74
|
};
|
|
75
75
|
maxLength: {
|
|
@@ -11,7 +11,7 @@ interface ItemField {
|
|
|
11
11
|
}
|
|
12
12
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
items: {
|
|
14
|
-
type: PropType<
|
|
14
|
+
type: PropType<unknown[]>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
canCollapse: {
|
|
@@ -35,9 +35,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
35
|
toggleCollapsed(index: number): void;
|
|
36
36
|
onDelete(index: number): void;
|
|
37
37
|
onEdit(index: number): void;
|
|
38
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("items-change" | "items-delete"
|
|
38
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("items-change" | "items-delete")[], "items-change" | "items-delete", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
39
|
items: {
|
|
40
|
-
type: PropType<
|
|
40
|
+
type: PropType<unknown[]>;
|
|
41
41
|
required: true;
|
|
42
42
|
};
|
|
43
43
|
canCollapse: {
|
|
@@ -53,6 +53,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
}>> & Readonly<{
|
|
54
54
|
"onItems-change"?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
"onItems-delete"?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
onItemsEdit?: ((...args: any[]) => any) | undefined;
|
|
57
56
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
57
|
export default _default;
|