@designcrowd/library.brand-page 5.19.2 → 6.0.0
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-Ekmn0O3s.js → CreatedOnBrandCrowd-de-de-BhimVEpD.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-en-us-BjeXlKTS.js → CreatedOnBrandCrowd-en-us-CcBSmedR.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-es-es-rpNINAMY.js → CreatedOnBrandCrowd-es-es-Bywf3OqP.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BL4nSaLj.js → CreatedOnBrandCrowd-fr-ca-CWpYmK2m.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-BL4nSaLj.js → CreatedOnBrandCrowd-fr-fr-CWpYmK2m.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-K0r4FyYq.js → CreatedOnBrandCrowd-pt-br-DHM9G51s.js} +3 -3
- package/lib/src/{CreatedOnBrandCrowd-pt-br-K0r4FyYq.js → CreatedOnBrandCrowd-pt-pt-DHM9G51s.js} +3 -3
- package/lib/src/{CreatedOnDcom-de-de-0XYyEKYc.js → CreatedOnDcom-de-de-BnUSIarY.js} +3 -3
- package/lib/src/{CreatedOnDcom-en-us-E8hvwiMd.js → CreatedOnDcom-en-us-DzU8X52o.js} +3 -3
- package/lib/src/{CreatedOnDcom-es-es-pRuCd7xX.js → CreatedOnDcom-es-es-rpp-c_OZ.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-ca-Bu4V3jpn.js → CreatedOnDcom-fr-ca-MJ7nCJTH.js} +3 -3
- package/lib/src/{CreatedOnDcom-fr-fr-CCcrGNz2.js → CreatedOnDcom-fr-fr-B3USPvBZ.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-br-1GTvaLKd.js → CreatedOnDcom-pt-br-DJv7sfEZ.js} +3 -3
- package/lib/src/{CreatedOnDcom-pt-pt-CTIYW10X.js → CreatedOnDcom-pt-pt-DAPP7A-E.js} +3 -3
- package/lib/src/brand-page/clients/brand-page.client.d.ts +9 -9
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.d.ts +103 -0
- package/lib/src/brand-page/components/banner-section/BannerSection.mixin.js +178 -0
- package/lib/src/brand-page/components/image-gallery/masonry/MasonryGallery.mixin.d.ts +0 -1
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.d.ts +4 -2
- package/lib/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.js +1 -0
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.d.ts +4 -2
- package/lib/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.js +5 -4
- package/lib/src/brand-page/components/page/Page.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/page/PageComponent.mixin.d.ts +1 -1
- package/lib/src/brand-page/components/payment/Payment.mixin.d.ts +3 -3
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +13 -13
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +13 -13
- package/lib/src/brand-page/constants/sections/footer-display.constants.js +1 -1
- package/lib/src/brand-page/models/index.d.ts +1 -1
- package/lib/src/brand-page/models/payment.model.d.ts +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +21 -19
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.mixin.d.ts +10 -10
- 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 -170
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.js +2 -2
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.js +0 -7
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +148 -149
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +21 -21
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.d.ts +5 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/device/Device.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/device/Device.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +4 -2
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +27 -25
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +27 -27
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +17 -12
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +12 -12
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +29 -30
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +11 -11
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +6 -6
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -2
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +6 -6
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +1 -1
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.d.ts +1 -1
- package/lib/src/brand-page-maker/convertors/text-image-display-style.convertor.js +1 -1
- package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.js +1 -1
- package/lib/src/brand-page-maker/routing/brand-page-maker-router.d.ts +1 -2
- package/lib/src/brand-page-maker/stores/ai-checkpoint/ai-checkpoint-store.d.ts +360 -360
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +4 -4
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +5 -5
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +1 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -3
- package/lib/src/brand-page-maker/stores/history/history-store.d.ts +15 -15
- 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/brand-page-client.d.ts +16 -15
- package/lib/src/clients/media-client.d.ts +2 -2
- package/lib/src/css/library.brand-page-brandCrowd.min.css +323 -317
- package/lib/src/css/library.brand-page-brandPage.min.css +601 -317
- package/lib/src/css/library.brand-page-designCom.min.css +323 -317
- package/lib/src/css/library.brand-page-preview.min.css +579 -317
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +16 -15
- package/lib/src/{lib-BfgUqu0B.js → lib-Cfx4mNMR.js} +36304 -33366
- package/lib/src/lib.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/image-gallery-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/images-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/testimonial-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/section-builders/text-section-builder.js +1 -1
- package/lib/src/metadata-builder/builders/shape-color-utils.js +1 -1
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.d.ts +1 -1
- package/lib/src/plugins/google-maps-plugin/google-maps-plugin.js +8 -8
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +13 -13
- package/lib/src/shared/background-settings/store/background-settings-store.d.ts +3 -3
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.d.ts +4 -2
- package/lib/src/shared/color-picker/components/ColorPicker.mixin.js +2 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.d.ts +4 -2
- package/lib/src/shared/color-picker/components/ColorPickerSwatch.mixin.js +1 -0
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +5 -2
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +1 -0
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +131 -129
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +2 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +111 -110
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +84 -81
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +5 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +111 -109
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -14
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +72 -70
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +4 -3
- package/lib/src/shared/content-settings/components/form-fields-field/FormFieldsField.mixin.d.ts +4 -4
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.d.ts +3 -1
- package/lib/src/shared/content-settings/components/icon-library/IconLibrary.mixin.js +1 -0
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +4 -3
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +40 -40
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.d.ts +5 -6
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/slider-field/SliderField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +1 -2
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +1 -2
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +28 -28
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/toggle-field/ToggleField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +39 -39
- package/lib/src/shared/content-settings/utils.js +0 -1
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +6 -4
- package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +1 -0
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.d.ts +4 -2
- package/lib/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.js +1 -0
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +20 -21
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.js +1 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +50 -51
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.d.ts +6 -4
- package/lib/src/shared/logo-settings/components/LogoSettingsHeader.mixin.js +1 -0
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +1 -1
- package/lib/src/shared/logo-settings/store/logo-settings-store.d.ts +1 -1
- package/lib/src/shared/logo-versions/LogoVersions.mixin.d.ts +7 -5
- package/lib/src/shared/logo-versions/LogoVersions.mixin.js +1 -0
- package/lib/src/shared/my-designs/MyDesigns.mixin.d.ts +8 -6
- package/lib/src/shared/my-designs/MyDesigns.mixin.js +1 -0
- package/lib/src/shared/my-uploads/MyMedia.mixin.d.ts +8 -5
- package/lib/src/shared/my-uploads/MyMedia.mixin.js +1 -0
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +8 -5
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +1 -0
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +5 -3
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -0
- package/lib/src/shared/navigation-style-settings/store/index.d.ts +2 -2
- package/lib/src/shared/page-navigation/store/page-navigation-store.d.ts +2 -2
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +27 -28
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.js +0 -2
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +182 -177
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +175 -175
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +9 -9
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +39 -39
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +0 -1
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +18 -18
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +6 -6
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +60 -60
- package/lib/src/shared/style-settings/store/style-settings-store.d.ts +1 -1
- package/lib/src/shared/style-settings/store/style-settings-store.js +1 -1
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +10 -11
- package/lib/src/shared/unsplash-library/UnsplashLibrary.mixin.d.ts +3 -4
- package/package.json +61 -57
- package/src/brand-page/components/about-section/AboutSection.vue.test.ts +7 -5
- package/src/brand-page/components/banner-section/BannerSection.mixin.ts +210 -0
- package/src/brand-page/components/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/images-section/ImagesSection.vue +0 -1
- package/src/brand-page/components/logo/LogoRender.vue +188 -188
- package/src/brand-page/components/navigation/hamburger/HamburgerNavigation.mixin.ts +1 -0
- package/src/brand-page/components/navigation/navigation-side-menu/NavigationSideMenu.mixin.ts +15 -6
- package/src/brand-page/components/page-footer/PageFooter.vue +1 -0
- package/src/brand-page/components/page-header/HeaderLayout.vue +12 -6
- package/src/brand-page/components/page-header/PageHeader.vue +1 -0
- package/src/brand-page/components/shapes-section/ShapesSection.vue +1 -1
- package/src/brand-page/components/shop/CartModal.vue +1 -3
- package/src/brand-page/components/shop/FeaturedDisplay.vue +2 -2
- package/src/brand-page/components/shop/PaymentModal.vue +1 -5
- package/src/brand-page/components/shop/ProductDetailModal.vue +1 -1
- package/src/brand-page/components/shop/Shop.vue +1 -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 +3 -1
- package/src/brand-page/constants/sections/footer-display.constants.ts +1 -1
- package/src/brand-page/models/payment.model.ts +2 -1
- package/src/brand-page/models/shop.model.ts +0 -2
- package/src/brand-page/models/user-personalisation.model.ts +1 -2
- package/src/brand-page/utils/migration/migration-01_1.ts +1 -1
- package/src/brand-page/utils/migration/migration-02.ts +0 -1
- package/src/brand-page/utils/migration/migration-03.ts +0 -1
- package/src/brand-page/utils/migration/migration-04.ts +0 -1
- package/src/brand-page/utils/migration/migration-05.ts +1 -5
- package/src/brand-page/utils/migration/migration-05_2.ts +1 -1
- package/src/brand-page/utils/migration/migration-08.test.ts +1 -1
- package/src/brand-page/view-models.ts +38 -56
- package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +6 -6
- package/src/brand-page-maker/assessors/color-replacement-icon-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-profile-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/color-replacement-visibility.assessor.ts +2 -2
- package/src/brand-page-maker/assessors/contact-form-visibility.assessor.ts +14 -14
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -0
- package/src/brand-page-maker/components/ai-text-edit/TextBubble.vue +1 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.stories.ts +2 -5
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +0 -5
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-payment.ts +0 -8
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-site-template.examples.ts +0 -2
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.vue +1 -0
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +1 -1
- package/src/brand-page-maker/components/color-palette/BpColorPalette.vue +1 -2
- package/src/brand-page-maker/components/color-picker/components/ColorModeSelect.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientColorSlider.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientColorSliderHandler.mixin.ts +1 -0
- package/src/brand-page-maker/components/color-picker/components/GradientTypeSelector.mixin.ts +1 -0
- package/src/brand-page-maker/components/device/Device.mixin.ts +1 -0
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -0
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +3 -1
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +1 -4
- package/src/brand-page-maker/components/seo-settings/DeleteDomainModal.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +1 -0
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +1 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.ts +0 -1
- package/src/brand-page-maker/components/seo-settings/UrlSettings.vue +0 -1
- package/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.vue +1 -5
- package/src/brand-page-maker/components/shop/AddOrEditProductContainer.vue +1 -1
- package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
- package/src/brand-page-maker/components/social-share/SocialShare.vue +1 -1
- package/src/brand-page-maker/components/video-play/VideoPlayButton.vue +1 -1
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +1 -1
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +6 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +3 -3
- package/src/brand-page-maker/convertors/text-image-display-style.convertor.ts +1 -1
- package/src/brand-page-maker/models/button-styles-config.ts +4 -2
- package/src/brand-page-maker/models/content-settings-configs.ts +4 -2
- package/src/brand-page-maker/models/navigation-style-configs.ts +5 -6
- package/src/brand-page-maker/stores/admin-logo-settings/admin-logo-settings-store.ts +0 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +3 -5
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +1 -3
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +2 -4
- 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/lib.ts +1 -0
- package/src/metadata-builder/builders/section-builders/image-gallery-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/images-section-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/testimonial-section-builder.ts +1 -1
- package/src/metadata-builder/builders/section-builders/text-section-builder.ts +1 -1
- package/src/metadata-builder/builders/shape-color-utils.ts +2 -2
- package/src/plugins/google-maps-plugin/google-maps-plugin.ts +8 -8
- package/src/shared/background-settings/components/BackgroundSettings.vue +1 -1
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +1 -1
- package/src/shared/color-picker/components/ColorPicker.mixin.ts +2 -7
- package/src/shared/color-picker/components/ColorPickerSwatch.mixin.ts +1 -0
- package/src/shared/common/NumberInput.vue +1 -0
- package/src/shared/common/SideBarSettingsHeader.vue +2 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +1 -0
- package/src/shared/content-settings/components/booking-url-field/BookingUrlField.vue +1 -0
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +1 -0
- package/src/shared/content-settings/components/color-field/ColorField.vue +3 -10
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettingsLockedButton.vue +1 -0
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +5 -0
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -14
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +4 -6
- package/src/shared/content-settings/components/icon-library/IconLibrary.mixin.ts +1 -0
- package/src/shared/content-settings/components/items-field/ItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelectionField.vue +1 -1
- package/src/shared/content-settings/components/logo-size-field/LogoSizeSliderField.vue +1 -1
- package/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.vue +1 -1
- package/src/shared/content-settings/components/personalisation-role-field/PersonalisationRoleField.vue +4 -4
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +2 -8
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/models.ts +3 -2
- package/src/shared/content-settings/utils.ts +0 -1
- package/src/shared/dropzone-image-uploader/components/DropzoneImageUploader.vue +1 -0
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +1 -1
- package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +1 -0
- package/src/shared/image-gallery-style-settings/ImageGalleryStyleSettings.mixin.ts +1 -0
- package/src/shared/logo-settings/components/EditLogoSettings.mixin.ts +1 -1
- package/src/shared/logo-settings/components/LogoSettings.mixin.ts +0 -1
- package/src/shared/logo-settings/components/LogoSettingsHeader.mixin.ts +1 -0
- package/src/shared/logo-settings/components/LogoStyleSettingsWithState.vue +2 -2
- package/src/shared/logo-settings/components/LogoTemplateSearch.vue +1 -1
- package/src/shared/logo-settings/store/editable-logo-store.ts +1 -1
- package/src/shared/logo-settings/store/logo-settings-store.test.ts +4 -4
- package/src/shared/logo-versions/LogoVersions.mixin.ts +1 -0
- package/src/shared/my-designs/MyDesigns.mixin.ts +1 -0
- package/src/shared/my-uploads/MyMedia.mixin.ts +1 -0
- package/src/shared/my-uploads/MyMediaSelectionItem.vue +2 -1
- package/src/shared/my-uploads/MyUploads.mixin.ts +1 -0
- package/src/shared/my-uploads/models.ts +1 -2
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -0
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +1 -1
- package/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.ts +0 -3
- package/src/shared/page-settings/components/page-settings/NestedDraggable.vue +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +1 -2
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderDisplayStyle.vue +1 -1
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
- package/src/shared/page-settings/store/page-settings-store.test.ts +4 -8
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +0 -1
- package/src/shared/shape-library/ShapeLibrary.vue +2 -2
- package/src/shared/style-settings/store/style-settings-store.ts +1 -1
- package/src/shared/unsplash-library/UnsplashLibrary.vue +2 -6
- package/src/shared/video-library/VideoLibrary.vue +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="types/lodash-shims" />
|
|
2
1
|
import type { PropType } from 'vue';
|
|
3
2
|
import type { DebounceHandle } from 'lodash.debounce';
|
|
4
3
|
import { type BrandPageData, type BrandPageType, type ViewportsType, type UserPersonalisationContent } from '@brand-page';
|
|
@@ -6,7 +5,6 @@ import type { InitialCategories, TemplateCategory } from '@shared/template-setti
|
|
|
6
5
|
import type { UserFeatures } from '@brand-page-maker/stores';
|
|
7
6
|
import { type LogoDesignAttributesModel } from '@shared/models';
|
|
8
7
|
import type { AdminPreviewLogoTemplateModel } from '@brand-page-maker/stores/admin-logo-settings';
|
|
9
|
-
import type { UpdateItemValuePayload } from '@shared/content-settings/models';
|
|
10
8
|
export interface BrandPageMakerViewModel {
|
|
11
9
|
adminPreviewLogoTemplateModels?: AdminPreviewLogoTemplateModel[];
|
|
12
10
|
brandPageData?: string;
|
|
@@ -35,7 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
33
|
}>, {
|
|
36
34
|
commonTr: (key: any) => any;
|
|
37
35
|
currentNotificationMessage: import("vue").ComputedRef<false | {
|
|
38
|
-
type: "
|
|
36
|
+
type: "success" | "warning" | "error";
|
|
39
37
|
label: string;
|
|
40
38
|
description: string | false;
|
|
41
39
|
}>;
|
|
@@ -69,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
67
|
brandPageToken(): string | undefined;
|
|
70
68
|
brandPageDescription(): string;
|
|
71
69
|
brandPageSlug(): string;
|
|
72
|
-
brandPageTemplate():
|
|
70
|
+
brandPageTemplate(): BrandPageData;
|
|
73
71
|
brandPageTitle(): string;
|
|
74
72
|
brandPageViewModel(): import("@brand-page").BrandPageViewModel;
|
|
75
73
|
gettyVideoIds(): string[];
|
|
@@ -84,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
82
|
showBrandCrowdLogo(): boolean;
|
|
85
83
|
}, {
|
|
86
84
|
setMode(payload: {
|
|
87
|
-
mode: "
|
|
85
|
+
mode: import("@brand-page-maker/stores").BrandPageSettingsMode;
|
|
88
86
|
}): void;
|
|
89
87
|
setFaviconUrl(payload: {
|
|
90
88
|
faviconUrl: string | undefined;
|
|
@@ -120,7 +118,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
118
|
isCookiePreviewEnabled: boolean;
|
|
121
119
|
}): void;
|
|
122
120
|
setFieldSettings(payload: {
|
|
123
|
-
settings: import("
|
|
121
|
+
settings: import("../../../shared/content-settings/models").FieldSettingsBase;
|
|
124
122
|
}): void;
|
|
125
123
|
enqueueNotificationMessage({ message, }: {
|
|
126
124
|
message: import("@brand-page-maker/stores").NotificationMessage;
|
|
@@ -128,7 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
126
|
enqueueContentErrorMessage(): void;
|
|
129
127
|
dequeueNotificationMessageQueue(): void;
|
|
130
128
|
setCurrentNotificationMessage(payload: {
|
|
131
|
-
message:
|
|
129
|
+
message: import("@brand-page-maker/stores").NotificationMessage | false;
|
|
132
130
|
}): void;
|
|
133
131
|
setIsApplyingTemplate(payload: import("@brand-page-maker/stores").IsApplyingTemplatePayload): void;
|
|
134
132
|
setIsPageNavigating(isPageNavigating: boolean): void;
|
|
@@ -147,9 +145,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
145
|
applySelectedTemplate(): Promise<void>;
|
|
148
146
|
enqueueErrorMessage(): Promise<void>;
|
|
149
147
|
enqueueSaveSuccessMessage(payload?: {
|
|
150
|
-
description?: string
|
|
151
|
-
isPublished?: boolean
|
|
152
|
-
noDescription?: boolean
|
|
148
|
+
description?: string;
|
|
149
|
+
isPublished?: boolean;
|
|
150
|
+
noDescription?: boolean;
|
|
153
151
|
}): Promise<void>;
|
|
154
152
|
hideChangeTemplateConfirmModal(): void;
|
|
155
153
|
onBackgroundChanged(): void;
|
|
@@ -165,16 +163,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
163
|
content: TContent;
|
|
166
164
|
}>(payload: P): Promise<void>;
|
|
167
165
|
_captureTemplateSwitchIfEnabled(): void;
|
|
168
|
-
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string
|
|
169
|
-
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string
|
|
170
|
-
_navigateToActivePage(activePageId?: string
|
|
166
|
+
applyHistorySnapshot(snapshot: import("@brand-page").BrandPageModel, activePageId?: string, logoEditsStr?: string): Promise<void>;
|
|
167
|
+
_syncLogoSettingsFromSnapshot(snapshot: import("@brand-page").BrandPageModel, logoEditsStr?: string): Promise<void>;
|
|
168
|
+
_navigateToActivePage(activePageId?: string): void;
|
|
171
169
|
_fallbackSidebarIfSelectedContentMissing(snapshot: import("@brand-page").BrandPageModel): void;
|
|
172
170
|
export(): import("@brand-page").BrandPageModel;
|
|
173
171
|
setBrandPageType({ brandPageType }: {
|
|
174
|
-
brandPageType:
|
|
172
|
+
brandPageType: BrandPageType;
|
|
175
173
|
}): void;
|
|
176
174
|
initialiseStoresByBrandPageModelAsync(brandPageModel: import("@brand-page").BrandPageModel): Promise<void>;
|
|
177
|
-
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
175
|
+
initialise({ brandPage, brandPageType, logoDraftDesignAttributes, unsplashApplicationName, templateCategories, personalisationData, isPersonalisationEnabled, userPromptContentKey, showAiTemplatesTab, businessName, industry, layout, logoVariationImageUrls, shopConfigData: _shopConfigData, isServerRenderOverride, }: import("@brand-page-maker/stores").InitialisePayload): Promise<void>;
|
|
178
176
|
initialisePages({ pages, sections, }: {
|
|
179
177
|
pages: import("@brand-page").PageModel[];
|
|
180
178
|
sections: import("@shared/page-settings/store").PageSettingsStateSections;
|
|
@@ -202,7 +200,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
200
|
viewport: ViewportsType;
|
|
203
201
|
}): void;
|
|
204
202
|
showStripeOnboardingModal(): Promise<void>;
|
|
205
|
-
selectInitialCategories(payload:
|
|
203
|
+
selectInitialCategories(payload: import("@brand-page-maker/stores").SelectedCategoryPayload): void;
|
|
206
204
|
}>;
|
|
207
205
|
uiSideBarStore: import("pinia").Store<"uiSideBar", import("@shared/side-bar/store").SideBarState, {}, {
|
|
208
206
|
setBrandPageSettingsTabVisibility(payload: {
|
|
@@ -210,17 +208,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
208
|
}): void;
|
|
211
209
|
setSelectedTabName(payload: import("../../../lib").SetSelectedTabNamePayload): void;
|
|
212
210
|
setSelectedSettingsSection(payload: {
|
|
213
|
-
sectionName?: string
|
|
211
|
+
sectionName?: string;
|
|
214
212
|
}): void;
|
|
215
213
|
}>;
|
|
216
214
|
userStore: import("pinia").Store<"brandPageMakerUser", import("@brand-page-maker/stores").UserState, {}, {
|
|
217
215
|
setUserState(payload: {
|
|
218
|
-
emailAddress?: string
|
|
219
|
-
userToken?: string
|
|
220
|
-
isAdmin?: boolean
|
|
221
|
-
hasPremiumSubscription?: boolean
|
|
222
|
-
brandPageCommissionPercentage?: number
|
|
223
|
-
features?: Partial<
|
|
216
|
+
emailAddress?: string;
|
|
217
|
+
userToken?: string;
|
|
218
|
+
isAdmin?: boolean;
|
|
219
|
+
hasPremiumSubscription?: boolean;
|
|
220
|
+
brandPageCommissionPercentage?: number;
|
|
221
|
+
features?: Partial<UserFeatures>;
|
|
224
222
|
}): void;
|
|
225
223
|
}>;
|
|
226
224
|
containerStore: import("pinia").Store<"brandPageContainer", import("@brand-page-maker/stores").BrandPageContainerState, {
|
|
@@ -244,8 +242,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
242
|
updated: Date;
|
|
245
243
|
brandPageToken: string;
|
|
246
244
|
domainName: string;
|
|
247
|
-
status: "
|
|
248
|
-
dnsConfigurationStatus: "
|
|
245
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
246
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
249
247
|
triggerOrigin?: string | undefined;
|
|
250
248
|
} | null;
|
|
251
249
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -301,7 +299,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
301
299
|
};
|
|
302
300
|
isSubsequentPublish: boolean;
|
|
303
301
|
isContextualUpgradeModalVisible: boolean;
|
|
304
|
-
contextualUpgradeType:
|
|
302
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
305
303
|
requestVerificationToken?: string | undefined;
|
|
306
304
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
307
305
|
isUserDraft: (state: {
|
|
@@ -322,8 +320,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
322
320
|
updated: Date;
|
|
323
321
|
brandPageToken: string;
|
|
324
322
|
domainName: string;
|
|
325
|
-
status: "
|
|
326
|
-
dnsConfigurationStatus: "
|
|
323
|
+
status: import("@brand-page-maker/constants").CustomDomainStatus;
|
|
324
|
+
dnsConfigurationStatus: import("@brand-page-maker/constants").DnsConfigurationStatus;
|
|
327
325
|
triggerOrigin?: string | undefined;
|
|
328
326
|
} | null;
|
|
329
327
|
createCustomDomainErrorMessage: string | null;
|
|
@@ -379,7 +377,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
379
377
|
};
|
|
380
378
|
isSubsequentPublish: boolean;
|
|
381
379
|
isContextualUpgradeModalVisible: boolean;
|
|
382
|
-
contextualUpgradeType:
|
|
380
|
+
contextualUpgradeType: import("@brand-page-maker/stores").WebsiteContextUpgradeType | undefined;
|
|
383
381
|
requestVerificationToken?: string | undefined;
|
|
384
382
|
} & import("pinia").PiniaCustomStateProperties<import("@brand-page-maker/stores").BrandPageContainerState>) => boolean;
|
|
385
383
|
}, {
|
|
@@ -416,7 +414,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
416
414
|
setIsSubsequentPublish(payload: any): void;
|
|
417
415
|
clearPublishErrorMessage(): void;
|
|
418
416
|
closePublishModal(payload?: {
|
|
419
|
-
skipShowNextNotificationMessage?: boolean
|
|
417
|
+
skipShowNextNotificationMessage?: boolean;
|
|
420
418
|
}): Promise<void>;
|
|
421
419
|
closeUpgradeModal(): Promise<void>;
|
|
422
420
|
endBrandPageSlugEditMode(): void;
|
|
@@ -439,8 +437,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
439
437
|
redirectToStripeOnboarding(): Promise<void>;
|
|
440
438
|
exportDesignAsync(): Promise<any>;
|
|
441
439
|
saveBrandPage(payload?: {
|
|
442
|
-
isPublish?: boolean
|
|
443
|
-
eventButtonLocation?: string
|
|
440
|
+
isPublish?: boolean;
|
|
441
|
+
eventButtonLocation?: string;
|
|
444
442
|
}): Promise<false | {
|
|
445
443
|
saved: boolean;
|
|
446
444
|
canPublish: boolean;
|
|
@@ -449,9 +447,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
449
447
|
saveAndPublishBrandPage(eventButtonLocation: string): Promise<void>;
|
|
450
448
|
saveTemplate(): Promise<void>;
|
|
451
449
|
setBrandPageStatus(status: any): Promise<void>;
|
|
452
|
-
showPublishModal(eventButtonLocation?: string
|
|
450
|
+
showPublishModal(eventButtonLocation?: string, websiteUpsellModalViewModel?: any, isSubsequentPublish?: boolean): void;
|
|
453
451
|
showBrandPageSlugEditModal(eventButtonLocation: string): Promise<void>;
|
|
454
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
452
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType, cta?: string): Promise<void>;
|
|
455
453
|
getContextualUpgradeResponseAsync(): Promise<import("../../../clients/brand-page-client").getWebsiteContextualUpgradeResponse | undefined>;
|
|
456
454
|
showStripeOnboardingModal(): void;
|
|
457
455
|
closeStripeOnboardingModal(): void;
|
|
@@ -486,23 +484,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
486
484
|
contentErrorCount(): number;
|
|
487
485
|
getContent(state: {
|
|
488
486
|
addContentOptions: {
|
|
489
|
-
type: "
|
|
487
|
+
type: import("@brand-page").ContentType;
|
|
490
488
|
category: string;
|
|
491
|
-
createInitialContent: (options: import("
|
|
489
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
492
490
|
displayName: string;
|
|
493
491
|
iconName: string;
|
|
494
492
|
isEnabled: boolean;
|
|
495
493
|
isLocked: boolean;
|
|
496
|
-
displayMode?: "
|
|
494
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
497
495
|
}[];
|
|
498
496
|
items: {
|
|
499
497
|
id: string;
|
|
500
|
-
type: "
|
|
498
|
+
type: import("@brand-page").ContentType;
|
|
501
499
|
settings: {
|
|
502
500
|
content: {
|
|
503
501
|
id: string;
|
|
504
|
-
type: "
|
|
505
|
-
personalisationRole?: "
|
|
502
|
+
type: import("@brand-page").ContentType;
|
|
503
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
506
504
|
topPadding?: number | undefined;
|
|
507
505
|
bottomPadding?: number | undefined;
|
|
508
506
|
imageUrlOverride?: string | undefined;
|
|
@@ -518,42 +516,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
518
516
|
textOverride?: string | undefined;
|
|
519
517
|
paragraphOverride?: string | undefined;
|
|
520
518
|
};
|
|
521
|
-
fields: Record<string, import("
|
|
519
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
522
520
|
};
|
|
523
521
|
}[];
|
|
524
|
-
itemStates: Record<string, import("
|
|
522
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
525
523
|
modeStack: {
|
|
526
|
-
mode: "
|
|
524
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
527
525
|
selectedItemId?: string | undefined;
|
|
528
526
|
selectedItemFieldName?: string | undefined;
|
|
529
527
|
selectedItemIndex?: number | undefined;
|
|
530
528
|
}[];
|
|
531
529
|
selectedItemId: string | null;
|
|
532
|
-
selectedItemEventSource: "
|
|
530
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
533
531
|
selectedItemFieldName: string | null;
|
|
534
532
|
selectedItemValue: string | null;
|
|
535
533
|
selectedItemIndex: number | null;
|
|
536
|
-
activeCategoryTab:
|
|
534
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
537
535
|
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("@brand-page").Content | undefined;
|
|
538
536
|
getFieldSettings(state: {
|
|
539
537
|
addContentOptions: {
|
|
540
|
-
type: "
|
|
538
|
+
type: import("@brand-page").ContentType;
|
|
541
539
|
category: string;
|
|
542
|
-
createInitialContent: (options: import("
|
|
540
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
543
541
|
displayName: string;
|
|
544
542
|
iconName: string;
|
|
545
543
|
isEnabled: boolean;
|
|
546
544
|
isLocked: boolean;
|
|
547
|
-
displayMode?: "
|
|
545
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
548
546
|
}[];
|
|
549
547
|
items: {
|
|
550
548
|
id: string;
|
|
551
|
-
type: "
|
|
549
|
+
type: import("@brand-page").ContentType;
|
|
552
550
|
settings: {
|
|
553
551
|
content: {
|
|
554
552
|
id: string;
|
|
555
|
-
type: "
|
|
556
|
-
personalisationRole?: "
|
|
553
|
+
type: import("@brand-page").ContentType;
|
|
554
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
557
555
|
topPadding?: number | undefined;
|
|
558
556
|
bottomPadding?: number | undefined;
|
|
559
557
|
imageUrlOverride?: string | undefined;
|
|
@@ -569,42 +567,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
569
567
|
textOverride?: string | undefined;
|
|
570
568
|
paragraphOverride?: string | undefined;
|
|
571
569
|
};
|
|
572
|
-
fields: Record<string, import("
|
|
570
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
573
571
|
};
|
|
574
572
|
}[];
|
|
575
|
-
itemStates: Record<string, import("
|
|
573
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
576
574
|
modeStack: {
|
|
577
|
-
mode: "
|
|
575
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
578
576
|
selectedItemId?: string | undefined;
|
|
579
577
|
selectedItemFieldName?: string | undefined;
|
|
580
578
|
selectedItemIndex?: number | undefined;
|
|
581
579
|
}[];
|
|
582
580
|
selectedItemId: string | null;
|
|
583
|
-
selectedItemEventSource: "
|
|
581
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
584
582
|
selectedItemFieldName: string | null;
|
|
585
583
|
selectedItemValue: string | null;
|
|
586
584
|
selectedItemIndex: number | null;
|
|
587
|
-
activeCategoryTab:
|
|
588
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("
|
|
585
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
586
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("../../../shared/content-settings/models").ContentItemFieldSettings | undefined;
|
|
589
587
|
getItem(state: {
|
|
590
588
|
addContentOptions: {
|
|
591
|
-
type: "
|
|
589
|
+
type: import("@brand-page").ContentType;
|
|
592
590
|
category: string;
|
|
593
|
-
createInitialContent: (options: import("
|
|
591
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
594
592
|
displayName: string;
|
|
595
593
|
iconName: string;
|
|
596
594
|
isEnabled: boolean;
|
|
597
595
|
isLocked: boolean;
|
|
598
|
-
displayMode?: "
|
|
596
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
599
597
|
}[];
|
|
600
598
|
items: {
|
|
601
599
|
id: string;
|
|
602
|
-
type: "
|
|
600
|
+
type: import("@brand-page").ContentType;
|
|
603
601
|
settings: {
|
|
604
602
|
content: {
|
|
605
603
|
id: string;
|
|
606
|
-
type: "
|
|
607
|
-
personalisationRole?: "
|
|
604
|
+
type: import("@brand-page").ContentType;
|
|
605
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
608
606
|
topPadding?: number | undefined;
|
|
609
607
|
bottomPadding?: number | undefined;
|
|
610
608
|
imageUrlOverride?: string | undefined;
|
|
@@ -620,42 +618,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
620
618
|
textOverride?: string | undefined;
|
|
621
619
|
paragraphOverride?: string | undefined;
|
|
622
620
|
};
|
|
623
|
-
fields: Record<string, import("
|
|
621
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
624
622
|
};
|
|
625
623
|
}[];
|
|
626
|
-
itemStates: Record<string, import("
|
|
624
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
627
625
|
modeStack: {
|
|
628
|
-
mode: "
|
|
626
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
629
627
|
selectedItemId?: string | undefined;
|
|
630
628
|
selectedItemFieldName?: string | undefined;
|
|
631
629
|
selectedItemIndex?: number | undefined;
|
|
632
630
|
}[];
|
|
633
631
|
selectedItemId: string | null;
|
|
634
|
-
selectedItemEventSource: "
|
|
632
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
635
633
|
selectedItemFieldName: string | null;
|
|
636
634
|
selectedItemValue: string | null;
|
|
637
635
|
selectedItemIndex: number | null;
|
|
638
|
-
activeCategoryTab:
|
|
639
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("
|
|
636
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
637
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentItem<any> | undefined;
|
|
640
638
|
getValue(state: {
|
|
641
639
|
addContentOptions: {
|
|
642
|
-
type: "
|
|
640
|
+
type: import("@brand-page").ContentType;
|
|
643
641
|
category: string;
|
|
644
|
-
createInitialContent: (options: import("
|
|
642
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
645
643
|
displayName: string;
|
|
646
644
|
iconName: string;
|
|
647
645
|
isEnabled: boolean;
|
|
648
646
|
isLocked: boolean;
|
|
649
|
-
displayMode?: "
|
|
647
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
650
648
|
}[];
|
|
651
649
|
items: {
|
|
652
650
|
id: string;
|
|
653
|
-
type: "
|
|
651
|
+
type: import("@brand-page").ContentType;
|
|
654
652
|
settings: {
|
|
655
653
|
content: {
|
|
656
654
|
id: string;
|
|
657
|
-
type: "
|
|
658
|
-
personalisationRole?: "
|
|
655
|
+
type: import("@brand-page").ContentType;
|
|
656
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
659
657
|
topPadding?: number | undefined;
|
|
660
658
|
bottomPadding?: number | undefined;
|
|
661
659
|
imageUrlOverride?: string | undefined;
|
|
@@ -671,42 +669,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
671
669
|
textOverride?: string | undefined;
|
|
672
670
|
paragraphOverride?: string | undefined;
|
|
673
671
|
};
|
|
674
|
-
fields: Record<string, import("
|
|
672
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
675
673
|
};
|
|
676
674
|
}[];
|
|
677
|
-
itemStates: Record<string, import("
|
|
675
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
678
676
|
modeStack: {
|
|
679
|
-
mode: "
|
|
677
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
680
678
|
selectedItemId?: string | undefined;
|
|
681
679
|
selectedItemFieldName?: string | undefined;
|
|
682
680
|
selectedItemIndex?: number | undefined;
|
|
683
681
|
}[];
|
|
684
682
|
selectedItemId: string | null;
|
|
685
|
-
selectedItemEventSource: "
|
|
683
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
686
684
|
selectedItemFieldName: string | null;
|
|
687
685
|
selectedItemValue: string | null;
|
|
688
686
|
selectedItemIndex: number | null;
|
|
689
|
-
activeCategoryTab:
|
|
690
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) =>
|
|
687
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
688
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, fieldName: string) => import("@brand-page").Content | string | undefined;
|
|
691
689
|
getItemState(state: {
|
|
692
690
|
addContentOptions: {
|
|
693
|
-
type: "
|
|
691
|
+
type: import("@brand-page").ContentType;
|
|
694
692
|
category: string;
|
|
695
|
-
createInitialContent: (options: import("
|
|
693
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
696
694
|
displayName: string;
|
|
697
695
|
iconName: string;
|
|
698
696
|
isEnabled: boolean;
|
|
699
697
|
isLocked: boolean;
|
|
700
|
-
displayMode?: "
|
|
698
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
701
699
|
}[];
|
|
702
700
|
items: {
|
|
703
701
|
id: string;
|
|
704
|
-
type: "
|
|
702
|
+
type: import("@brand-page").ContentType;
|
|
705
703
|
settings: {
|
|
706
704
|
content: {
|
|
707
705
|
id: string;
|
|
708
|
-
type: "
|
|
709
|
-
personalisationRole?: "
|
|
706
|
+
type: import("@brand-page").ContentType;
|
|
707
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
710
708
|
topPadding?: number | undefined;
|
|
711
709
|
bottomPadding?: number | undefined;
|
|
712
710
|
imageUrlOverride?: string | undefined;
|
|
@@ -722,42 +720,42 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
722
720
|
textOverride?: string | undefined;
|
|
723
721
|
paragraphOverride?: string | undefined;
|
|
724
722
|
};
|
|
725
|
-
fields: Record<string, import("
|
|
723
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
726
724
|
};
|
|
727
725
|
}[];
|
|
728
|
-
itemStates: Record<string, import("
|
|
726
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
729
727
|
modeStack: {
|
|
730
|
-
mode: "
|
|
728
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
731
729
|
selectedItemId?: string | undefined;
|
|
732
730
|
selectedItemFieldName?: string | undefined;
|
|
733
731
|
selectedItemIndex?: number | undefined;
|
|
734
732
|
}[];
|
|
735
733
|
selectedItemId: string | null;
|
|
736
|
-
selectedItemEventSource: "
|
|
734
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
737
735
|
selectedItemFieldName: string | null;
|
|
738
736
|
selectedItemValue: string | null;
|
|
739
737
|
selectedItemIndex: number | null;
|
|
740
|
-
activeCategoryTab:
|
|
741
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("
|
|
738
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
739
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string) => import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
742
740
|
getItemGroupState(state: {
|
|
743
741
|
addContentOptions: {
|
|
744
|
-
type: "
|
|
742
|
+
type: import("@brand-page").ContentType;
|
|
745
743
|
category: string;
|
|
746
|
-
createInitialContent: (options: import("
|
|
744
|
+
createInitialContent: (options: import("../../../shared/content-settings/models").CreateInitialContentOptions) => import("@brand-page").Content;
|
|
747
745
|
displayName: string;
|
|
748
746
|
iconName: string;
|
|
749
747
|
isEnabled: boolean;
|
|
750
748
|
isLocked: boolean;
|
|
751
|
-
displayMode?: "
|
|
749
|
+
displayMode?: import("@brand-page-maker/models").ContentSettingsDisplayMode | undefined;
|
|
752
750
|
}[];
|
|
753
751
|
items: {
|
|
754
752
|
id: string;
|
|
755
|
-
type: "
|
|
753
|
+
type: import("@brand-page").ContentType;
|
|
756
754
|
settings: {
|
|
757
755
|
content: {
|
|
758
756
|
id: string;
|
|
759
|
-
type: "
|
|
760
|
-
personalisationRole?: "
|
|
757
|
+
type: import("@brand-page").ContentType;
|
|
758
|
+
personalisationRole?: import("@brand-page").PersonalisationRole | undefined;
|
|
761
759
|
topPadding?: number | undefined;
|
|
762
760
|
bottomPadding?: number | undefined;
|
|
763
761
|
imageUrlOverride?: string | undefined;
|
|
@@ -773,31 +771,31 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
773
771
|
textOverride?: string | undefined;
|
|
774
772
|
paragraphOverride?: string | undefined;
|
|
775
773
|
};
|
|
776
|
-
fields: Record<string, import("
|
|
774
|
+
fields: Record<string, import("../../../shared/content-settings/models").ContentItemFieldSettings>;
|
|
777
775
|
};
|
|
778
776
|
}[];
|
|
779
|
-
itemStates: Record<string, import("
|
|
777
|
+
itemStates: Record<string, import("../../../shared/content-settings/models").ContentSettingsItemState>;
|
|
780
778
|
modeStack: {
|
|
781
|
-
mode: "
|
|
779
|
+
mode: import("@shared/content-settings/store").ContentSettingsMode;
|
|
782
780
|
selectedItemId?: string | undefined;
|
|
783
781
|
selectedItemFieldName?: string | undefined;
|
|
784
782
|
selectedItemIndex?: number | undefined;
|
|
785
783
|
}[];
|
|
786
784
|
selectedItemId: string | null;
|
|
787
|
-
selectedItemEventSource: "
|
|
785
|
+
selectedItemEventSource: import("@shared/models").UIEventSource | null;
|
|
788
786
|
selectedItemFieldName: string | null;
|
|
789
787
|
selectedItemValue: string | null;
|
|
790
788
|
selectedItemIndex: number | null;
|
|
791
|
-
activeCategoryTab:
|
|
792
|
-
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("
|
|
793
|
-
mode(): "
|
|
794
|
-
selectedItem(): import("
|
|
795
|
-
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any
|
|
789
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
790
|
+
} & import("pinia").PiniaCustomStateProperties<import("@shared/content-settings/store").ContentSettingsState>): (id: string, groupId: string) => import("../../../shared/content-settings/models").ContentSettingsItemGroupState;
|
|
791
|
+
mode(): import("@shared/content-settings/store").ContentSettingsMode;
|
|
792
|
+
selectedItem(): import("../../../shared/content-settings/models").ContentItem<any> | undefined;
|
|
793
|
+
selectedItemTemplate(): import("@brand-page-maker/models").ContentSettingsConfig<any> | undefined;
|
|
796
794
|
}, {
|
|
797
795
|
onContentChanged(): void;
|
|
798
796
|
_addItem({ item, index, }: {
|
|
799
|
-
item: import("
|
|
800
|
-
index?: number
|
|
797
|
+
item: import("../../../shared/content-settings/models").ContentItem<any>;
|
|
798
|
+
index?: number;
|
|
801
799
|
}): void;
|
|
802
800
|
setState(payload: {
|
|
803
801
|
newState: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
@@ -809,12 +807,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
809
807
|
id: string;
|
|
810
808
|
}): void;
|
|
811
809
|
_setAddContentOptions({ addContentOptions, }: {
|
|
812
|
-
addContentOptions: import("
|
|
810
|
+
addContentOptions: import("../../../shared/content-settings/models").AddContentOption<any>[];
|
|
813
811
|
}): void;
|
|
814
|
-
_setItemSettingsFieldErrorState(payload: import("
|
|
812
|
+
_setItemSettingsFieldErrorState(payload: import("../../../shared/content-settings/models").SetItemSettingsFieldErrorMessagePayload): void;
|
|
815
813
|
_setSelectedItemId({ id, eventSource, }: {
|
|
816
814
|
id: string | null;
|
|
817
|
-
eventSource: "
|
|
815
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
818
816
|
}): void;
|
|
819
817
|
_setSelectedItemFieldName({ name: name }: {
|
|
820
818
|
name: string | null;
|
|
@@ -828,14 +826,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
828
826
|
_setSelectedItemImage({ selectedItemId, imageUrl, width, height, colorReplacements, aspectRatio, }: {
|
|
829
827
|
selectedItemId: string | null;
|
|
830
828
|
imageUrl: string;
|
|
831
|
-
width?: number
|
|
832
|
-
height?: number
|
|
833
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
834
|
-
aspectRatio?: number | null
|
|
829
|
+
width?: number;
|
|
830
|
+
height?: number;
|
|
831
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
832
|
+
aspectRatio?: number | null;
|
|
835
833
|
}): void;
|
|
836
834
|
_setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
837
835
|
_setItems({ items }: {
|
|
838
|
-
items: import("
|
|
836
|
+
items: import("../../../shared/content-settings/models").ContentItem<any>[];
|
|
839
837
|
}): void;
|
|
840
838
|
updateContent<T extends import("@brand-page").Content>({ id, content, }: {
|
|
841
839
|
id: string;
|
|
@@ -844,27 +842,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
844
842
|
popMode(): void;
|
|
845
843
|
pushMode(item: import("@shared/content-settings/store").ContentSettingsModeStackItem): void;
|
|
846
844
|
resetMode(): void;
|
|
847
|
-
updateItemValue(payload: UpdateItemValuePayload<unknown>): void;
|
|
848
|
-
updateMultipleItemValues({ id, name, value, }: import("
|
|
849
|
-
updateTextStyleType({ id, name, value, }: import("
|
|
850
|
-
updateTextStyles({ id, name, value, }: import("
|
|
845
|
+
updateItemValue(payload: import("../../../shared/content-settings/models").UpdateItemValuePayload<unknown>): void;
|
|
846
|
+
updateMultipleItemValues({ id, name, value, }: import("../../../shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
847
|
+
updateTextStyleType({ id, name, value, }: import("../../../shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
848
|
+
updateTextStyles({ id, name, value, }: import("../../../shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
851
849
|
getTextStyles({ id, name }: {
|
|
852
850
|
id: string;
|
|
853
851
|
name: string;
|
|
854
852
|
}): unknown;
|
|
855
|
-
updateTextItemTextStyleType({ id, name, value, index, }: import("
|
|
856
|
-
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("
|
|
853
|
+
updateTextItemTextStyleType({ id, name, value, index, }: import("../../../shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
854
|
+
updateTextItemTextStyleTypeWithStyles({ id, name, value, index, }: import("../../../shared/content-settings/models").UpdateMultipleItemValuesPayload<any>): void;
|
|
857
855
|
_setActiveCategoryTab({ activeCategoryTab, }: {
|
|
858
|
-
activeCategoryTab:
|
|
856
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
859
857
|
}): void;
|
|
860
858
|
setItemState({ id, itemState, }: {
|
|
861
859
|
id: string;
|
|
862
|
-
itemState: import("
|
|
860
|
+
itemState: import("../../../shared/content-settings/models").ContentSettingsItemState;
|
|
863
861
|
}): void;
|
|
864
862
|
setItemGroupState({ id, groupId, groupState, }: {
|
|
865
863
|
id: string;
|
|
866
864
|
groupId: string;
|
|
867
|
-
groupState: import("
|
|
865
|
+
groupState: import("../../../shared/content-settings/models").ContentSettingsItemGroupState;
|
|
868
866
|
}): void;
|
|
869
867
|
collapseAllItems(): void;
|
|
870
868
|
setItemIsCollapsed({ id, isCollapsed, }: {
|
|
@@ -878,25 +876,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
878
876
|
}): void;
|
|
879
877
|
addItemByType({ type, index, }: {
|
|
880
878
|
type: string;
|
|
881
|
-
index?: number
|
|
882
|
-
}): import("
|
|
879
|
+
index?: number;
|
|
880
|
+
}): import("../../../shared/content-settings/models").ContentItem<import("@brand-page").Content> | undefined;
|
|
883
881
|
deleteItem(payload: {
|
|
884
882
|
id: string;
|
|
885
883
|
}): void;
|
|
886
884
|
getContentCategory(type: string): any;
|
|
887
885
|
setAddContentOptions(payload: {
|
|
888
|
-
addContentOptions: import("
|
|
886
|
+
addContentOptions: import("../../../shared/content-settings/models").AddContentOption<any>[];
|
|
889
887
|
}): void;
|
|
890
888
|
updateIsDefaultTextColorRequired(): void;
|
|
891
889
|
setSelectedItemId(payload: {
|
|
892
890
|
id: string | null;
|
|
893
|
-
eventSource: "
|
|
891
|
+
eventSource: import("@shared/models").UIEventSource;
|
|
894
892
|
}): void;
|
|
895
893
|
setSelectedItemAndFieldName(payload: {
|
|
896
894
|
id: string | null;
|
|
897
895
|
name: string | null;
|
|
898
896
|
index: number | null;
|
|
899
|
-
eventSource: "
|
|
897
|
+
eventSource: import("@shared/models").UIEventSource | null;
|
|
900
898
|
}): void;
|
|
901
899
|
setSelectedItemValue(payload: {
|
|
902
900
|
value: string | null;
|
|
@@ -904,34 +902,34 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
904
902
|
setSelectedItemImage(payload: {
|
|
905
903
|
selectedItemId: string | null;
|
|
906
904
|
imageUrl: string;
|
|
907
|
-
width?: number
|
|
908
|
-
height?: number
|
|
909
|
-
colorReplacements?: import("@brand-page").ColorReplacement[]
|
|
910
|
-
aspectRatio?: number | null
|
|
905
|
+
width?: number;
|
|
906
|
+
height?: number;
|
|
907
|
+
colorReplacements?: import("@brand-page").ColorReplacement[];
|
|
908
|
+
aspectRatio?: number | null;
|
|
911
909
|
}): void;
|
|
912
910
|
setSelectedItemMedia(selectedItemId: string | null, mediaPayload: import("../../../shared/my-uploads/models").MediaBaseSelectedPayload): void;
|
|
913
911
|
setItems(payload: {
|
|
914
|
-
items: import("
|
|
912
|
+
items: import("../../../shared/content-settings/models").ContentItem<import("@brand-page").Content>[];
|
|
915
913
|
}): void;
|
|
916
|
-
validateItem(payload: import("
|
|
914
|
+
validateItem(payload: import("../../../shared/content-settings/models").ValidateItemPayload): void;
|
|
917
915
|
validateItems(): Promise<void>;
|
|
918
916
|
triggerLockedContentClickedEvent(payload: {
|
|
919
917
|
type: string;
|
|
920
918
|
}): Promise<void>;
|
|
921
919
|
setActiveCategoryTab(payload: {
|
|
922
|
-
activeCategoryTab:
|
|
920
|
+
activeCategoryTab: import("@brand-page-maker/models").ItemCategory;
|
|
923
921
|
}): void;
|
|
924
922
|
selectInitialContentCategory(payload: {
|
|
925
923
|
selectedCategory: string;
|
|
926
924
|
}): void;
|
|
927
925
|
initialiseItemState({ item, itemState, }: {
|
|
928
|
-
item: import("
|
|
929
|
-
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState
|
|
926
|
+
item: import("../../../shared/content-settings/models").ContentItem<import("@brand-page").Content>;
|
|
927
|
+
itemState?: Partial<import("@shared/content-settings/store").ContentSettingsState>;
|
|
930
928
|
}): void;
|
|
931
929
|
initialiseItemGroupState({ id, groupId, groupState, }: {
|
|
932
930
|
id: string;
|
|
933
931
|
groupId: string;
|
|
934
|
-
groupState?: import("
|
|
932
|
+
groupState?: import("../../../shared/content-settings/models").ContentSettingsItemGroupState;
|
|
935
933
|
}): void;
|
|
936
934
|
}>;
|
|
937
935
|
uiStore: import("pinia").Store<"ui", import("@shared/models").UIRootState, {
|
|
@@ -947,10 +945,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
947
945
|
thirdPartySettings: import("@shared/models").UIRootStateThirdPartySettings;
|
|
948
946
|
}): void;
|
|
949
947
|
setDeviceMode({ mode }: {
|
|
950
|
-
mode: "
|
|
948
|
+
mode: import("@shared/models").UiDeviceMode;
|
|
951
949
|
}): void;
|
|
952
950
|
setScreenSizeMode({ mode }: {
|
|
953
|
-
mode: "
|
|
951
|
+
mode: import("@shared/models").UiScreenSizeMode;
|
|
954
952
|
}): void;
|
|
955
953
|
setUserPersonalisationData({ personalisationData, }: {
|
|
956
954
|
personalisationData: UserPersonalisationContent[];
|
|
@@ -973,7 +971,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
973
971
|
type: string;
|
|
974
972
|
}): Promise<void>;
|
|
975
973
|
onTemplateSelected(payload: import("@brand-page-maker/stores").OnTemplateSelectedPayload): Promise<void>;
|
|
976
|
-
showUpgradeModalAndSaveAsync(contextualUpgradeType?:
|
|
974
|
+
showUpgradeModalAndSaveAsync(contextualUpgradeType?: import("@brand-page-maker/stores").WebsiteContextUpgradeType): Promise<void>;
|
|
977
975
|
setIsPersonalisationEnabled({ isPersonalisationEnabled, }: {
|
|
978
976
|
isPersonalisationEnabled: boolean;
|
|
979
977
|
}): void;
|
|
@@ -988,14 +986,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
988
986
|
setContentsByActivePage(): void;
|
|
989
987
|
setPageContents({ pageId, contents, }: {
|
|
990
988
|
pageId: string;
|
|
991
|
-
contents: import("
|
|
989
|
+
contents: import("../../../shared/content-settings/models").ContentItem<import("@brand-page").Content>[];
|
|
992
990
|
}): void;
|
|
993
991
|
setPages({ pages }: {
|
|
994
992
|
pages: import("../../../shared/page-settings/models").ContentPage[];
|
|
995
993
|
}): void;
|
|
996
994
|
setNewPageModalVisibilityAsync({ isNewPageModalVisible, parentPageId, }: {
|
|
997
995
|
isNewPageModalVisible: boolean;
|
|
998
|
-
parentPageId?: string
|
|
996
|
+
parentPageId?: string;
|
|
999
997
|
}): Promise<void>;
|
|
1000
998
|
addPage({ page }: {
|
|
1001
999
|
page: import("../../../shared/page-settings/models").ContentPage;
|
|
@@ -1010,22 +1008,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1010
1008
|
pageId: string;
|
|
1011
1009
|
}): void;
|
|
1012
1010
|
setPageSettingsSectionValue({ sectionName, propName, index, value, merge, viewport, }: {
|
|
1013
|
-
sectionName: "
|
|
1014
|
-
propName:
|
|
1015
|
-
index?: number
|
|
1016
|
-
value: string |
|
|
1017
|
-
merge?: boolean
|
|
1011
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1012
|
+
propName: keyof import("@shared/page-settings/store").PageSettingsStateSectionStyles;
|
|
1013
|
+
index?: number;
|
|
1014
|
+
value: string | boolean | import("@brand-page").LinksItem[] | BrandPageCssStyle | Partial<import("@brand-page").ImageGalleryItem> | number | null | undefined;
|
|
1015
|
+
merge?: boolean;
|
|
1018
1016
|
viewport: ViewportsType;
|
|
1019
1017
|
}): void;
|
|
1020
1018
|
setPageSettingsSectionLogoImage({ sectionName, logoImage, logoTemplateImage, logoImageBase64Url, viewport, keepLogoVariation, logoImageHeight, logoImageWidth, }: {
|
|
1021
1019
|
logoImage: import("@brand-page").LogoImageModel;
|
|
1022
|
-
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel
|
|
1020
|
+
logoTemplateImage?: import("@brand-page").LogoTemplateImageModel;
|
|
1023
1021
|
logoImageBase64Url: string | undefined;
|
|
1024
|
-
sectionName: "
|
|
1022
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1025
1023
|
viewport: ViewportsType;
|
|
1026
|
-
keepLogoVariation?: boolean
|
|
1027
|
-
logoImageHeight?: string
|
|
1028
|
-
logoImageWidth?: string
|
|
1024
|
+
keepLogoVariation?: boolean;
|
|
1025
|
+
logoImageHeight?: string;
|
|
1026
|
+
logoImageWidth?: string;
|
|
1029
1027
|
}): void;
|
|
1030
1028
|
updatePageSettingsSectionLogoImageStyle({ sectionName, viewport, logoImageHeight, logoImageWidth, }: {
|
|
1031
1029
|
sectionName: string;
|
|
@@ -1040,13 +1038,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1040
1038
|
}): void;
|
|
1041
1039
|
addNewPage(payload: {
|
|
1042
1040
|
title: string;
|
|
1043
|
-
newPageParentId?: string
|
|
1041
|
+
newPageParentId?: string;
|
|
1044
1042
|
}): import("../../../shared/page-settings/models").ContentPage;
|
|
1045
1043
|
setSelectedSectionName({ sectionName, }: {
|
|
1046
|
-
sectionName?: "
|
|
1044
|
+
sectionName?: import("@shared/page-settings/store").PageSettingsSection;
|
|
1047
1045
|
}): void;
|
|
1048
1046
|
setSectionCollapsedState({ sectionName, isCollapsed, }: {
|
|
1049
|
-
sectionName: "
|
|
1047
|
+
sectionName: import("@shared/page-settings/store").PageSettingsSection;
|
|
1050
1048
|
isCollapsed: boolean;
|
|
1051
1049
|
}): void;
|
|
1052
1050
|
collapseAllSections(): void;
|
|
@@ -1077,7 +1075,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1077
1075
|
searchTerm: string | undefined;
|
|
1078
1076
|
}): void;
|
|
1079
1077
|
_setSelectedTab({ tabName }: {
|
|
1080
|
-
tabName: "
|
|
1078
|
+
tabName: import("@shared/template-settings/models").TemplateTab;
|
|
1081
1079
|
}): void;
|
|
1082
1080
|
_setSelectedCategory({ categoryName, }: {
|
|
1083
1081
|
categoryName: string | undefined;
|
|
@@ -1105,7 +1103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1105
1103
|
}): void;
|
|
1106
1104
|
setInitialSearchTerm(payload: {
|
|
1107
1105
|
initialSearchTerm: string;
|
|
1108
|
-
onSearchTermChanged?: import("@shared/template-settings/store").OnSearchTermChangedCallback
|
|
1106
|
+
onSearchTermChanged?: import("@shared/template-settings/store").OnSearchTermChangedCallback;
|
|
1109
1107
|
}): void;
|
|
1110
1108
|
setAiTemplateKeywords(payload: {
|
|
1111
1109
|
aiTemplateKeywords: string;
|
|
@@ -1234,7 +1232,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1234
1232
|
setImageUpload(option: any): void;
|
|
1235
1233
|
getProductModel(): import("@brand-page/models/shop.model").ProductModel;
|
|
1236
1234
|
}>;
|
|
1237
|
-
router: import("vue-router").
|
|
1235
|
+
router: import("vue-router")._RouterClassic;
|
|
1238
1236
|
snapshotStore: import("pinia").Store<"snapshot", import("@brand-page-maker/stores").SnapshotState, {
|
|
1239
1237
|
hasSnapshot: (state: {
|
|
1240
1238
|
snapshotBase64: string | null;
|
|
@@ -1286,27 +1284,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1286
1284
|
pageNavigationStore: import("pinia").Store<"pageNavigation", import("@src/shared/page-navigation/store/page-navigation-store").PageNavigationState, {
|
|
1287
1285
|
nav(): import("@brand-page").NavModel;
|
|
1288
1286
|
}, {
|
|
1289
|
-
getPageSlugsForDepth(parentRouteId?: string
|
|
1287
|
+
getPageSlugsForDepth(parentRouteId?: string): string[];
|
|
1290
1288
|
getParentRouteIdForPage(pageId: string): string | undefined;
|
|
1291
1289
|
getParentRouteIdForRoute(routeId: string): string | undefined;
|
|
1292
1290
|
getFirstOrDefaultRoute(): import("@brand-page").NavRoute;
|
|
1293
1291
|
setCurrentActivePage({ pageId }: {
|
|
1294
|
-
pageId?: string
|
|
1292
|
+
pageId?: string;
|
|
1295
1293
|
}): void;
|
|
1296
1294
|
setCurrentActivePageAndGoToPage({ pageId }: {
|
|
1297
|
-
pageId?: string
|
|
1295
|
+
pageId?: string;
|
|
1298
1296
|
}): void;
|
|
1299
1297
|
setNav({ nav }: {
|
|
1300
1298
|
nav: import("@brand-page").NavModel;
|
|
1301
1299
|
}): void;
|
|
1302
|
-
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string
|
|
1300
|
+
addNavRoute(newRoute: import("@brand-page").NavRoute, parentRouteId?: string): void;
|
|
1303
1301
|
removeNavRoute(routeId: string): void;
|
|
1304
1302
|
onDisplayNameChange(routeId: string, newDisplayName: string): void;
|
|
1305
1303
|
setRouteTitleAndSlugByPageId(pageId: string, displayName: string, slug: string): void;
|
|
1306
1304
|
updateRouteVisibility(routeId: string, isHidden: boolean): void;
|
|
1307
1305
|
reorderVisibleAndHiddenRoutes(): void;
|
|
1308
1306
|
isRouteASubpage(navRouteId: string): boolean;
|
|
1309
|
-
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string
|
|
1307
|
+
recalculateSlugForRoute(routeId: string, previousParentRouteId?: string): void;
|
|
1310
1308
|
}>;
|
|
1311
1309
|
}, {
|
|
1312
1310
|
mounted: boolean;
|
|
@@ -1332,10 +1330,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1332
1330
|
onCreateTeamCards(payload: {
|
|
1333
1331
|
cta_location: string;
|
|
1334
1332
|
}): void;
|
|
1335
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1333
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "create-team-cards"[], "create-team-cards", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1336
1334
|
viewModel: {
|
|
1337
1335
|
type: PropType<BrandPageMakerViewModel>;
|
|
1338
1336
|
required: true;
|
|
1339
1337
|
};
|
|
1340
|
-
}>> & Readonly<{
|
|
1338
|
+
}>> & Readonly<{
|
|
1339
|
+
"onCreate-team-cards"?: ((...args: any[]) => any) | undefined;
|
|
1340
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1341
1341
|
export default _default;
|