@designcrowd/library.brand-page 6.1.5 → 6.1.6-ast-preview-1
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-GQaFwETJ.js → CreatedOnBrandCrowd-de-de-M2r1eHAG.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-BaHiRIYi.js → CreatedOnBrandCrowd-en-us-COWvAImD.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BAhFMH5T.js → CreatedOnBrandCrowd-es-es-3PSBgEav.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BibzMvn1.js → CreatedOnBrandCrowd-fr-ca-DJYHHBcZ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-BibzMvn1.js → CreatedOnBrandCrowd-fr-fr-DJYHHBcZ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DBIRdYQL.js → CreatedOnBrandCrowd-pt-br-C4xJs85Y.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DBIRdYQL.js → CreatedOnBrandCrowd-pt-pt-C4xJs85Y.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BhJQ0Nau.js → CreatedOnDcom-de-de-CCUYn9l1.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BhJnRCR9.js → CreatedOnDcom-en-us-JlHVjCJB.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CpWHG_KJ.js → CreatedOnDcom-es-es-BLt6T4r1.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-BF8FCVBD.js → CreatedOnDcom-fr-ca-C3wUszaH.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DYxQFWPx.js → CreatedOnDcom-fr-fr-CGas_sVx.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Dh8Egq3-.js → CreatedOnDcom-pt-br-DZVj_DXB.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-CsBU48dD.js → CreatedOnDcom-pt-pt-CyeJs00o.js} +1 -1
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +0 -1
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +1 -4
- package/lib/src/brand-page/utils/route.util.d.ts +12 -0
- package/lib/src/brand-page/utils/route.util.js +53 -0
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +7 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +6 -5
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +7 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +2 -2
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.js +3 -2
- package/lib/src/brand-page-maker/components/index.d.ts +1 -0
- package/lib/src/brand-page-maker/components/index.js +1 -0
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.d.ts +3 -3
- package/lib/src/brand-page-maker/components/navigation/Navigation.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +6 -0
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +6 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +6 -0
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +6 -0
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +7 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +6 -6
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +6 -0
- package/lib/src/brand-page-maker/composables/useUndoRedoFlag.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/useUndoRedoFlag.js +4 -2
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +11 -1
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +11 -6
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +19 -14
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +3 -5
- package/lib/src/brand-page-maker/stores/user/user-store.js +4 -1
- package/lib/src/brand-page-maker/stores/video/video-store.js +3 -1
- package/lib/src/bundled-translations-B4__t_42.js +179 -0
- package/lib/src/bundled-translations.de-DE-DZm_F46B.js +179 -0
- package/lib/src/bundled-translations.es-ES-DiOMEwZz.js +179 -0
- package/lib/src/bundled-translations.fr-CA-BPBNxV69.js +179 -0
- package/lib/src/bundled-translations.fr-FR-bCNdWkJW.js +179 -0
- package/lib/src/bundled-translations.pt-BR-CC6okekB.js +179 -0
- package/lib/src/bundled-translations.pt-PT-CSgMSLFn.js +179 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +5 -4
- package/lib/src/bundles/bundled-translations.es-ES.json +5 -4
- package/lib/src/bundles/bundled-translations.fr-CA.json +5 -4
- package/lib/src/bundles/bundled-translations.fr-FR.json +5 -4
- package/lib/src/bundles/bundled-translations.json +5 -4
- package/lib/src/bundles/bundled-translations.pt-BR.json +5 -4
- package/lib/src/bundles/bundled-translations.pt-PT.json +5 -4
- package/lib/src/clients/fabric-render-client.d.ts +1 -0
- package/lib/src/css/library.brand-page-brandCrowd.min.css +165 -237
- package/lib/src/css/library.brand-page-brandPage.min.css +165 -237
- package/lib/src/css/library.brand-page-designCom.min.css +165 -237
- package/lib/src/css/library.brand-page-preview.min.css +165 -237
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +110 -109
- package/lib/src/{lib-D_dzKkQC.js → lib-Bdwt-_Gt.js} +22103 -22045
- package/lib/src/lib.js +1 -1
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.d.ts +1 -1
- package/lib/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.js +3 -2
- package/lib/src/shared/components/live-preview-modal/live-preview-modal.utils.d.ts +4 -0
- package/lib/src/shared/components/live-preview-modal/live-preview-modal.utils.js +3 -0
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +3 -2
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +4 -3
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +4 -4
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +3 -3
- package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +4 -3
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/images-field/ImagesField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/links-field/LinksField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +6 -0
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/shape-field/ShapeField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +2 -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 +2 -2
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +1 -1
- package/lib/src/shared/content-settings/store/content-settings-store.js +3 -3
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +7 -0
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +2 -0
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +20 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +3 -2
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.d.ts +2 -2
- package/lib/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.js +1 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +7 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +1 -1
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +9 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +6 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +7 -1
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +7 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +2 -2
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.js +1 -1
- package/lib/src/shared/template-settings/store/template-settings-store.js +8 -9
- package/package.json +1 -1
- package/src/brand-page/components/button/Button.vue +41 -18
- package/src/brand-page/components/button/Button.vue.test.ts +213 -0
- package/src/brand-page/components/images-section/ImagesSection.test.ts +91 -0
- package/src/brand-page/components/images-section/ImagesSection.vue +29 -10
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +1 -4
- package/src/brand-page/components/page-footer/PageFooter.vue +0 -1
- package/src/brand-page/components/payment/Payment.vue +0 -3
- package/src/brand-page/components/payment/request-payment/RequestPayment.vue +0 -1
- package/src/brand-page/components/payment/support-me/SupportMe.vue +0 -3
- package/src/brand-page/components/save-contact/SaveContactWidget.vue +1 -0
- package/src/brand-page/components/save-contact/popup-card/PopupCard.vue +1 -0
- package/src/brand-page/components/shop/FeaturedDisplay.vue +8 -3
- package/src/brand-page/components/shop/Shop.vue +5 -5
- package/src/brand-page/components/shop/Shop.vue.test.ts +104 -2
- package/src/brand-page/components/social-links/SocialLinks.vue +1 -9
- package/src/brand-page/components/social-links/SocialLinks.vue.test.ts +28 -8
- package/src/brand-page/components/social-links/SocialLinksItems.vue +6 -2
- package/src/brand-page/components/video/Video.vue +0 -3
- package/src/brand-page/utils/route.util.test.ts +116 -0
- package/src/brand-page/utils/route.util.ts +79 -0
- package/src/brand-page-maker/components/action-bar/ActionBar.mixin.ts +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBar.vue +1 -1
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.test.ts +23 -0
- package/src/brand-page-maker/components/action-bar/ActionBarNavigation.vue +5 -5
- package/src/brand-page-maker/components/admin-background-settings/AdminBackgroundSettings.vue +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +8 -6
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +2 -1
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.ts +1 -1
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +2 -2
- package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +3 -3
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.ts +3 -1
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.vue +1 -1
- package/src/brand-page-maker/components/index.ts +1 -0
- package/src/brand-page-maker/components/navigation/Navigation.mixin.ts +1 -1
- package/src/brand-page-maker/components/navigation/Navigation.vue +3 -3
- package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.test.ts +32 -44
- package/src/brand-page-maker/components/preview-modal/PreviewModalWithState.vue +29 -42
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +13 -13
- package/src/brand-page-maker/components/save-contact/SaveContact.vue +2 -2
- package/src/brand-page-maker/components/shop/ReplaceImageSettingsForShop.vue +1 -1
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +6 -6
- package/src/brand-page-maker/composables/useQuickLinkBarVisibility.test.ts +4 -5
- package/src/brand-page-maker/composables/useUndoRedoFlag.ts +4 -2
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.initialise.test.ts +142 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +28 -8
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +5 -10
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +26 -14
- package/src/brand-page-maker/stores/ui/ui-store.ts +3 -5
- package/src/brand-page-maker/stores/user/user-store.ts +4 -1
- package/src/brand-page-maker/stores/video/video-store.ts +3 -1
- package/src/bundles/bundled-translations.de-DE.json +5 -4
- package/src/bundles/bundled-translations.es-ES.json +5 -4
- package/src/bundles/bundled-translations.fr-CA.json +5 -4
- package/src/bundles/bundled-translations.fr-FR.json +5 -4
- package/src/bundles/bundled-translations.json +5 -4
- package/src/bundles/bundled-translations.pt-BR.json +5 -4
- package/src/bundles/bundled-translations.pt-PT.json +5 -4
- package/src/clients/fabric-render-client.ts +5 -0
- package/src/lib.ts +1 -0
- package/src/shared/background-settings/components/BackgroundSettings.vue +9 -9
- package/src/shared/background-settings/components/MultiBackgroundShapes.vue +7 -7
- package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +4 -4
- package/src/shared/background-settings/components/SingleBackgroundShape.vue +5 -5
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +6 -6
- package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +6 -2
- package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.vue +1 -1
- package/src/{brand-page-maker/components/preview-modal/PreviewModal.test.ts → shared/components/live-preview-modal/LivePreviewModal.test.ts} +96 -3
- package/src/{brand-page-maker/components/preview-modal/PreviewModal.vue → shared/components/live-preview-modal/LivePreviewModal.vue} +103 -89
- package/src/shared/components/live-preview-modal/i18n/preview-modal.de-DE.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.es-ES.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.fr-CA.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.fr-FR.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.pt-BR.json +7 -0
- package/src/shared/components/live-preview-modal/i18n/preview-modal.pt-PT.json +7 -0
- package/src/shared/components/live-preview-modal/live-preview-modal.utils.ts +11 -0
- package/src/shared/content-settings/components/button-configuration-field/ButtonConfigurationField.vue +2 -2
- package/src/shared/content-settings/components/color-field/ColorField.vue +6 -6
- package/src/shared/content-settings/components/color-replacements-field/ColorReplacementsField.vue +9 -7
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +3 -1
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +4 -2
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.vue +1 -1
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +4 -4
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +3 -3
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +1 -1
- package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.mixin.ts +1 -1
- package/src/shared/content-settings/components/draggable-item-list/DraggableItemList.vue +1 -1
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +5 -2
- package/src/shared/content-settings/components/images-field/ImagesField.mixin.ts +1 -1
- package/src/shared/content-settings/components/images-field/ImagesField.vue +1 -1
- package/src/shared/content-settings/components/links-field/LinksField.mixin.ts +1 -1
- package/src/shared/content-settings/components/links-field/LinksField.vue +1 -1
- package/src/shared/content-settings/components/logo-selection-field/LogoSelection.vue +1 -3
- package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +6 -3
- package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +2 -2
- package/src/shared/content-settings/components/shape-field/ShapeField.mixin.ts +1 -1
- package/src/shared/content-settings/components/shape-field/ShapeField.vue +1 -1
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/testimonial-items-field/TestimonialItemsField.vue +5 -5
- package/src/shared/content-settings/components/text-image-field/TextImageField.vue +7 -7
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.test.ts +1 -1
- package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +2 -2
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +1 -1
- package/src/shared/content-settings/components/text-style-field/TextStyleField.vue +2 -2
- package/src/shared/content-settings/store/content-settings-store.ts +3 -2
- package/src/shared/ecommerce-settings/store/cart-store.test.ts +38 -0
- package/src/shared/logo-settings/store/editable-logo-store.test.ts +90 -0
- package/src/shared/logo-settings/store/editable-logo-store.ts +28 -1
- package/src/shared/my-uploads/MyUploads.mixin.ts +3 -1
- package/src/shared/my-uploads/MyUploads.vue +1 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.mixin.ts +1 -1
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +12 -9
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +1 -1
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +3 -3
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +1 -1
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +4 -4
- package/src/shared/shape-library/ShapeLibrary.vue +10 -12
- package/src/shared/side-bar/components/SideBar.mixin.ts +3 -3
- package/src/shared/style-settings/components/StyleSettings.mixin.ts +2 -2
- package/src/shared/style-settings/components/StyleSettings.vue +29 -23
- package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +4 -2
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +1 -1
- package/src/shared/template-settings/store/template-settings-store.ts +7 -9
- package/lib/src/bundled-translations-D42tE0D2.js +0 -179
- package/lib/src/bundled-translations.de-DE-D9aWGgFt.js +0 -179
- package/lib/src/bundled-translations.es-ES-lk4B0xQ7.js +0 -179
- package/lib/src/bundled-translations.fr-CA-DhOBNt6q.js +0 -179
- package/lib/src/bundled-translations.fr-FR-CnpafQeG.js +0 -179
- package/lib/src/bundled-translations.pt-BR-C4PnKrd9.js +0 -179
- package/lib/src/bundled-translations.pt-PT-CfKDVQC-.js +0 -179
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.preview-gate.test.ts +0 -48
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.de-DE.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.es-ES.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-CA.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.fr-FR.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-BR.json +0 -6
- package/src/brand-page-maker/components/preview-modal/i18n/preview-modal.pt-PT.json +0 -6
|
@@ -20,7 +20,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
}>, {}, {}, {
|
|
23
|
-
isInPreviewMode(): boolean;
|
|
24
23
|
containerStyle(): BrandPageCssStyle;
|
|
25
24
|
socialLinksIconStyle(): BrandPageCssStyle;
|
|
26
25
|
isDisplayStyleCentered(): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
|
-
import { getRenderText
|
|
2
|
+
import { getRenderText } from '@brand-page/utils';
|
|
3
3
|
import { FOOTER_DISPLAY } from '../../constants';
|
|
4
4
|
export default defineComponent({
|
|
5
5
|
props: {
|
|
@@ -23,9 +23,6 @@ export default defineComponent({
|
|
|
23
23
|
},
|
|
24
24
|
emits: ['on-logo-click', 'footer-container-click'],
|
|
25
25
|
computed: {
|
|
26
|
-
isInPreviewMode() {
|
|
27
|
-
return isPreviewMode(this.context);
|
|
28
|
-
},
|
|
29
26
|
containerStyle() {
|
|
30
27
|
return this.viewModel.backgroundStyle;
|
|
31
28
|
},
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BrandPageType } from '../models/brand-page-context.model';
|
|
1
2
|
import type { NavItemViewModel } from '../view-models';
|
|
2
3
|
export declare const buildRelativePathFromParams: (params: {
|
|
3
4
|
pageSlug?: string;
|
|
@@ -19,5 +20,16 @@ export declare const getRouteParamsByPage: (isCustomDomain: boolean, brandPageSl
|
|
|
19
20
|
};
|
|
20
21
|
export declare const getRouteNameByPageIndex: (isCustomDomain: boolean, pageIndex?: number, isSubPage?: boolean) => string;
|
|
21
22
|
export declare const findNavItemByPageId: (navItems: NavItemViewModel[], pageId: string) => NavItemViewModel | undefined;
|
|
23
|
+
export declare const findNavItemByOwnSiteUrl: ({ url, navItems, brandPageType, brandPageSlug, customDomain, }: {
|
|
24
|
+
url: string | undefined;
|
|
25
|
+
navItems: NavItemViewModel[];
|
|
26
|
+
brandPageType: BrandPageType;
|
|
27
|
+
brandPageSlug: string;
|
|
28
|
+
customDomain?: string;
|
|
29
|
+
}) => NavItemViewModel | undefined;
|
|
30
|
+
export declare const toRouteLocation: (navItem?: NavItemViewModel) => {
|
|
31
|
+
name: string;
|
|
32
|
+
params: {};
|
|
33
|
+
};
|
|
22
34
|
export declare const findNavItemByRelativePath: (navItems: NavItemViewModel[], relativePath: string) => NavItemViewModel | undefined;
|
|
23
35
|
export declare const findNavItemByPageSlug: (navItems: NavItemViewModel[], pageSlug: string) => NavItemViewModel | undefined;
|
|
@@ -53,6 +53,59 @@ export const findNavItemByPageId = (navItems, pageId) => {
|
|
|
53
53
|
}
|
|
54
54
|
return undefined;
|
|
55
55
|
};
|
|
56
|
+
// Keep in sync with web-renderer's `constants/host.constant` + `getProductHostForType`.
|
|
57
|
+
const PRODUCT_HOST_BY_BRAND_PAGE_TYPE = {
|
|
58
|
+
default: 'brand.page',
|
|
59
|
+
brandSite: 'brand.site',
|
|
60
|
+
brandContact: 'brand.contact',
|
|
61
|
+
};
|
|
62
|
+
const bareHost = (hostname) => hostname.replace(/^www\./i, '').toLowerCase();
|
|
63
|
+
// A typed URL can still address a page of THIS site: whole-host on the site's own
|
|
64
|
+
// custom domain, or under its slug on the multi-tenant product domain.
|
|
65
|
+
export const findNavItemByOwnSiteUrl = ({ url, navItems, brandPageType, brandPageSlug, customDomain, }) => {
|
|
66
|
+
if (!url) {
|
|
67
|
+
return undefined;
|
|
68
|
+
}
|
|
69
|
+
let parsed;
|
|
70
|
+
try {
|
|
71
|
+
parsed = new URL(url);
|
|
72
|
+
}
|
|
73
|
+
catch {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
// A route location carries neither, so converting would silently drop them — leave
|
|
77
|
+
// the author's exact URL to the plain anchor instead.
|
|
78
|
+
if (parsed.search || parsed.hash) {
|
|
79
|
+
return undefined;
|
|
80
|
+
}
|
|
81
|
+
const host = bareHost(parsed.hostname);
|
|
82
|
+
const segments = parsed.pathname.split('/').filter(Boolean);
|
|
83
|
+
const productHost = PRODUCT_HOST_BY_BRAND_PAGE_TYPE[brandPageType];
|
|
84
|
+
const slug = brandPageSlug.trim();
|
|
85
|
+
let pagePath;
|
|
86
|
+
if (customDomain && host === bareHost(customDomain)) {
|
|
87
|
+
pagePath = segments.join('/');
|
|
88
|
+
}
|
|
89
|
+
else if (productHost &&
|
|
90
|
+
(host === productHost || host.endsWith(`.${productHost}`)) &&
|
|
91
|
+
slug &&
|
|
92
|
+
segments[0]?.toLowerCase() === slug.toLowerCase()) {
|
|
93
|
+
pagePath = segments.slice(1).join('/');
|
|
94
|
+
}
|
|
95
|
+
if (pagePath === undefined) {
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
return pagePath
|
|
99
|
+
? findNavItemByRelativePath(navItems, pagePath)
|
|
100
|
+
: navItems.find((item) => item.isRoot);
|
|
101
|
+
};
|
|
102
|
+
// Shared by every caller that resolves a nav item then navigates to it
|
|
103
|
+
// (Button.vue, ImagesSection.vue) — one place to turn "which page" into "where to
|
|
104
|
+
// route", so a resolved nav item is never hand-unpacked into a route object twice.
|
|
105
|
+
export const toRouteLocation = (navItem) => ({
|
|
106
|
+
name: navItem?.routeName || '',
|
|
107
|
+
params: navItem?.routeParams || {},
|
|
108
|
+
});
|
|
56
109
|
export const findNavItemByRelativePath = (navItems, relativePath) => {
|
|
57
110
|
for (const item of navItems) {
|
|
58
111
|
if (item.relativePath === relativePath ||
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
|
|
2
|
+
isAdminMaker: import("vue").ComputedRef<boolean>;
|
|
3
3
|
isLivePreviewEnabled: import("vue").ComputedRef<boolean>;
|
|
4
4
|
isSaving: import("vue").ComputedRef<boolean>;
|
|
5
5
|
isPublished: import("vue").ComputedRef<boolean>;
|
|
@@ -10,7 +10,7 @@ export default defineComponent({
|
|
|
10
10
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
11
11
|
const containerStore = useBrandPageContainerStore();
|
|
12
12
|
return {
|
|
13
|
-
|
|
13
|
+
isAdminMaker: computed(() => containerStore.isAdminMaker),
|
|
14
14
|
// BP-5873: the Preview button is behind an AB test, and pre/post purchase are
|
|
15
15
|
// two separate experiments. Pick the one for the current purchase state — a
|
|
16
16
|
// user's value on the other side is independent and must not leak across.
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
57
57
|
backButtonLabel: import("vue").ComputedRef<string>;
|
|
58
58
|
isDesignCom: import("vue").ComputedRef<boolean>;
|
|
59
59
|
selectedTabName: import("vue").ComputedRef<string>;
|
|
60
|
-
|
|
60
|
+
isAdminMaker: import("vue").ComputedRef<boolean>;
|
|
61
61
|
contentErrorCount: import("vue").ComputedRef<number>;
|
|
62
62
|
mode: import("vue").ComputedRef<"images" | "add" | "pages" | "edit" | "focusedContentItem">;
|
|
63
63
|
brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
|
|
@@ -261,6 +261,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
261
|
isUpgradeModalVisible: boolean;
|
|
262
262
|
isPublishing: boolean;
|
|
263
263
|
isProduction: boolean;
|
|
264
|
+
isAdminMaker: boolean;
|
|
264
265
|
isSellDomainNameEnabled: boolean;
|
|
265
266
|
isStripeOnboardingModalVisible: boolean;
|
|
266
267
|
isReactivationModal: boolean;
|
|
@@ -278,6 +279,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
278
279
|
triggerSaveSuccessMessage: boolean;
|
|
279
280
|
isDesignCom: boolean;
|
|
280
281
|
isPrePurchase: boolean;
|
|
282
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
281
283
|
makerFonts: any[];
|
|
282
284
|
eventButtonLocation?: string | undefined;
|
|
283
285
|
websiteUpsellModalViewModel?: any;
|
|
@@ -355,6 +357,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
355
357
|
isUpgradeModalVisible: boolean;
|
|
356
358
|
isPublishing: boolean;
|
|
357
359
|
isProduction: boolean;
|
|
360
|
+
isAdminMaker: boolean;
|
|
358
361
|
isSellDomainNameEnabled: boolean;
|
|
359
362
|
isStripeOnboardingModalVisible: boolean;
|
|
360
363
|
isReactivationModal: boolean;
|
|
@@ -372,6 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
372
375
|
triggerSaveSuccessMessage: boolean;
|
|
373
376
|
isDesignCom: boolean;
|
|
374
377
|
isPrePurchase: boolean;
|
|
378
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
375
379
|
makerFonts: any[];
|
|
376
380
|
eventButtonLocation?: string | undefined;
|
|
377
381
|
websiteUpsellModalViewModel?: any;
|
|
@@ -449,6 +453,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
449
453
|
isUpgradeModalVisible: boolean;
|
|
450
454
|
isPublishing: boolean;
|
|
451
455
|
isProduction: boolean;
|
|
456
|
+
isAdminMaker: boolean;
|
|
452
457
|
isSellDomainNameEnabled: boolean;
|
|
453
458
|
isStripeOnboardingModalVisible: boolean;
|
|
454
459
|
isReactivationModal: boolean;
|
|
@@ -466,6 +471,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
466
471
|
triggerSaveSuccessMessage: boolean;
|
|
467
472
|
isDesignCom: boolean;
|
|
468
473
|
isPrePurchase: boolean;
|
|
474
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
469
475
|
makerFonts: any[];
|
|
470
476
|
eventButtonLocation?: string | undefined;
|
|
471
477
|
websiteUpsellModalViewModel?: any;
|
|
@@ -84,7 +84,7 @@ export default defineComponent({
|
|
|
84
84
|
backButtonLabel: computed(() => containerStore.backButtonLabel),
|
|
85
85
|
isDesignCom: computed(() => containerStore.isDesignCom),
|
|
86
86
|
selectedTabName: computed(() => sideBarStore.selectedTabName),
|
|
87
|
-
|
|
87
|
+
isAdminMaker: computed(() => containerStore.isAdminMaker),
|
|
88
88
|
contentErrorCount: computed(() => contentSettingsStore.contentErrorCount),
|
|
89
89
|
mode: computed(() => contentSettingsStore.mode),
|
|
90
90
|
brandPageMakerStore,
|
|
@@ -182,10 +182,11 @@ const InitialiseMakerStores = (options) => {
|
|
|
182
182
|
aiTemplateKeywords: undefined,
|
|
183
183
|
});
|
|
184
184
|
userStore.setUserState({
|
|
185
|
-
isAdmin: options.
|
|
185
|
+
isAdmin: options.isAdminMaker,
|
|
186
186
|
hasPremiumSubscription: false,
|
|
187
187
|
brandPageCommissionPercentage: 0.1,
|
|
188
188
|
});
|
|
189
|
+
brandPageContainerStore.isAdminMaker = options.isAdminMaker ?? false;
|
|
189
190
|
};
|
|
190
191
|
const FABRIC_RENDER_BASE_URL = 'https://localhost:6006/';
|
|
191
192
|
const SAMPLE_BRAND_PAGE_URL = 'https://brand.page';
|
|
@@ -366,7 +367,7 @@ SampleBanner.story = {
|
|
|
366
367
|
name: 'Sample (Banner)',
|
|
367
368
|
};
|
|
368
369
|
export const SamplePersonalised = () => {
|
|
369
|
-
InitialiseMakerStores({
|
|
370
|
+
InitialiseMakerStores({ isAdminMaker: true });
|
|
370
371
|
return defineComponent({
|
|
371
372
|
components: {
|
|
372
373
|
BrandPageMaker,
|
|
@@ -391,7 +392,7 @@ export const SamplePersonalised = () => {
|
|
|
391
392
|
template: `
|
|
392
393
|
<BrandPageMaker :view-model="viewModel"/>
|
|
393
394
|
`,
|
|
394
|
-
pinia: setupStoryPinia({
|
|
395
|
+
pinia: setupStoryPinia({ isAdminMaker: true }),
|
|
395
396
|
});
|
|
396
397
|
};
|
|
397
398
|
export const SamplePublished = {
|
|
@@ -1159,7 +1160,7 @@ export const SampleNoUserMedia = () => {
|
|
|
1159
1160
|
};
|
|
1160
1161
|
};
|
|
1161
1162
|
export const SampleAdminMode = () => {
|
|
1162
|
-
InitialiseMakerStores({
|
|
1163
|
+
InitialiseMakerStores({ isAdminMaker: true });
|
|
1163
1164
|
const pinia = setupStoryPinia();
|
|
1164
1165
|
return {
|
|
1165
1166
|
components: {
|
|
@@ -1201,7 +1202,7 @@ export const SampleAdminModeBrandSite = {
|
|
|
1201
1202
|
name: 'Sample (admin mode brandsite1)',
|
|
1202
1203
|
render: () => ({
|
|
1203
1204
|
setup() {
|
|
1204
|
-
InitialiseMakerStores({
|
|
1205
|
+
InitialiseMakerStores({ isAdminMaker: true });
|
|
1205
1206
|
},
|
|
1206
1207
|
components: {
|
|
1207
1208
|
BrandPageMaker,
|
package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/store-fixture.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const setupStoryPinia: (options?: {
|
|
|
5
5
|
customDomain?: CustomDomainModel;
|
|
6
6
|
designDraftToken?: string;
|
|
7
7
|
endpoints?: Endpoints;
|
|
8
|
-
|
|
8
|
+
isAdminMaker?: boolean;
|
|
9
9
|
noUserMedia?: boolean;
|
|
10
10
|
noPaymentConfig?: boolean;
|
|
11
11
|
disableMock?: boolean;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
37
37
|
getValue: import("vue").ComputedRef<(id: string, fieldName: string) => Content | string | undefined>;
|
|
38
38
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
39
39
|
canUseRichTextEditor: import("vue").ComputedRef<boolean>;
|
|
40
|
-
|
|
40
|
+
isAdminMaker: import("vue").ComputedRef<boolean>;
|
|
41
41
|
logoTheme: import("vue").ComputedRef<{
|
|
42
42
|
logoTextColor: {
|
|
43
43
|
rgb: string;
|
|
@@ -704,6 +704,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
704
704
|
isUpgradeModalVisible: boolean;
|
|
705
705
|
isPublishing: boolean;
|
|
706
706
|
isProduction: boolean;
|
|
707
|
+
isAdminMaker: boolean;
|
|
707
708
|
isSellDomainNameEnabled: boolean;
|
|
708
709
|
isStripeOnboardingModalVisible: boolean;
|
|
709
710
|
isReactivationModal: boolean;
|
|
@@ -721,6 +722,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
721
722
|
triggerSaveSuccessMessage: boolean;
|
|
722
723
|
isDesignCom: boolean;
|
|
723
724
|
isPrePurchase: boolean;
|
|
725
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
724
726
|
makerFonts: any[];
|
|
725
727
|
eventButtonLocation?: string | undefined;
|
|
726
728
|
websiteUpsellModalViewModel?: any;
|
|
@@ -798,6 +800,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
798
800
|
isUpgradeModalVisible: boolean;
|
|
799
801
|
isPublishing: boolean;
|
|
800
802
|
isProduction: boolean;
|
|
803
|
+
isAdminMaker: boolean;
|
|
801
804
|
isSellDomainNameEnabled: boolean;
|
|
802
805
|
isStripeOnboardingModalVisible: boolean;
|
|
803
806
|
isReactivationModal: boolean;
|
|
@@ -815,6 +818,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
815
818
|
triggerSaveSuccessMessage: boolean;
|
|
816
819
|
isDesignCom: boolean;
|
|
817
820
|
isPrePurchase: boolean;
|
|
821
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
818
822
|
makerFonts: any[];
|
|
819
823
|
eventButtonLocation?: string | undefined;
|
|
820
824
|
websiteUpsellModalViewModel?: any;
|
|
@@ -892,6 +896,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
892
896
|
isUpgradeModalVisible: boolean;
|
|
893
897
|
isPublishing: boolean;
|
|
894
898
|
isProduction: boolean;
|
|
899
|
+
isAdminMaker: boolean;
|
|
895
900
|
isSellDomainNameEnabled: boolean;
|
|
896
901
|
isStripeOnboardingModalVisible: boolean;
|
|
897
902
|
isReactivationModal: boolean;
|
|
@@ -909,6 +914,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
909
914
|
triggerSaveSuccessMessage: boolean;
|
|
910
915
|
isDesignCom: boolean;
|
|
911
916
|
isPrePurchase: boolean;
|
|
917
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
912
918
|
makerFonts: any[];
|
|
913
919
|
eventButtonLocation?: string | undefined;
|
|
914
920
|
websiteUpsellModalViewModel?: any;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js
CHANGED
|
@@ -42,7 +42,7 @@ export default defineComponent({
|
|
|
42
42
|
getValue: computed(() => contentSettingsStore.getValue),
|
|
43
43
|
selectedTemplateId: computed(() => brandPageMakerStore.selectedTemplateId),
|
|
44
44
|
canUseRichTextEditor: computed(() => brandPageMakerUserStore.features.canUseRichTextEditor),
|
|
45
|
-
|
|
45
|
+
isAdminMaker: computed(() => brandPageContainerStore.isAdminMaker),
|
|
46
46
|
logoTheme: computed(() => uiStore.logoTheme),
|
|
47
47
|
contentSettingsStore,
|
|
48
48
|
brandPageMakerStore,
|
|
@@ -211,7 +211,7 @@ export default defineComponent({
|
|
|
211
211
|
if (RTE_ALLOWED_SECTION_TYPES.includes(item.type) &&
|
|
212
212
|
this.canUseRichTextEditor) {
|
|
213
213
|
let selectedItem = item;
|
|
214
|
-
if (this.
|
|
214
|
+
if (this.isAdminMaker) {
|
|
215
215
|
const currentItem = this.items.find((i) => i.id === item.id);
|
|
216
216
|
if (currentItem) {
|
|
217
217
|
selectedItem = currentItem.settings.content;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
};
|
|
9
9
|
}>, {
|
|
10
10
|
mode: import("vue").ComputedRef<"images" | "shapes" | "edit">;
|
|
11
|
-
|
|
11
|
+
isAdminMaker: import("vue").ComputedRef<boolean>;
|
|
12
12
|
brandPageMakerStore: import("pinia").Store<"brandPageMaker", import("@brand-page-maker/stores").BrandPageMakerState, {
|
|
13
13
|
contentErrorCount(): number;
|
|
14
14
|
brandPageBaseUrl(): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, defineComponent } from 'vue';
|
|
2
|
-
import { useBrandPageMakerStore, BRANDPAGE_SETTINGS_MODES, useBrandPageMakerUserStore, } from '@brand-page-maker/stores';
|
|
2
|
+
import { useBrandPageMakerStore, BRANDPAGE_SETTINGS_MODES, useBrandPageMakerUserStore, useBrandPageContainerStore, } from '@brand-page-maker/stores';
|
|
3
3
|
import { MEDIA_TYPES } from '@brand-page/models/brand-page-context.model';
|
|
4
4
|
const imageExtension = ['.png', '.ico'];
|
|
5
5
|
export default defineComponent({
|
|
@@ -13,9 +13,10 @@ export default defineComponent({
|
|
|
13
13
|
setup() {
|
|
14
14
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
15
15
|
const userStore = useBrandPageMakerUserStore();
|
|
16
|
+
const containerStore = useBrandPageContainerStore();
|
|
16
17
|
return {
|
|
17
18
|
mode: computed(() => brandPageMakerStore.mode),
|
|
18
|
-
|
|
19
|
+
isAdminMaker: computed(() => containerStore.isAdminMaker),
|
|
19
20
|
brandPageMakerStore,
|
|
20
21
|
userStore,
|
|
21
22
|
};
|
|
@@ -5,3 +5,4 @@ export { default as SensitiveContent } from './sensitive-content/SensitiveConten
|
|
|
5
5
|
export { default as SeoPageSettings } from './seo-settings/SeoPageSettings.vue';
|
|
6
6
|
export { default as GoogleAnalytics } from './google-analytics/GoogleAnalytics.vue';
|
|
7
7
|
export { default as PublishBrandPageModalWithState } from '@shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue';
|
|
8
|
+
export { default as PreviewModalWithState } from './preview-modal/PreviewModalWithState.vue';
|
|
@@ -5,3 +5,4 @@ export { default as SensitiveContent } from './sensitive-content/SensitiveConten
|
|
|
5
5
|
export { default as SeoPageSettings } from './seo-settings/SeoPageSettings.vue';
|
|
6
6
|
export { default as GoogleAnalytics } from './google-analytics/GoogleAnalytics.vue';
|
|
7
7
|
export { default as PublishBrandPageModalWithState } from '@shared/publish-brand-page-with-state/PublishBrandPageModalWithState.vue';
|
|
8
|
+
export { default as PreviewModalWithState } from './preview-modal/PreviewModalWithState.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
2
|
+
isAdminMaker: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
required: false;
|
|
5
5
|
default: boolean;
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
cta_location: string;
|
|
44
44
|
}): void;
|
|
45
45
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "create-team-cards"[], "create-team-cards", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
|
|
46
|
+
isAdminMaker: {
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
required: false;
|
|
49
49
|
default: boolean;
|
|
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
81
|
}>> & Readonly<{
|
|
82
82
|
"onCreate-team-cards"?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
|
-
isAdmin: boolean;
|
|
85
84
|
isPublished: boolean;
|
|
85
|
+
isAdminMaker: boolean;
|
|
86
86
|
isSaving: boolean;
|
|
87
87
|
backButtonLabel: string;
|
|
88
88
|
isDesignCom: boolean;
|
|
@@ -47,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
isUpgradeModalVisible: boolean;
|
|
48
48
|
isPublishing: boolean;
|
|
49
49
|
isProduction: boolean;
|
|
50
|
+
isAdminMaker: boolean;
|
|
50
51
|
isSellDomainNameEnabled: boolean;
|
|
51
52
|
isStripeOnboardingModalVisible: boolean;
|
|
52
53
|
isReactivationModal: boolean;
|
|
@@ -64,6 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
65
|
triggerSaveSuccessMessage: boolean;
|
|
65
66
|
isDesignCom: boolean;
|
|
66
67
|
isPrePurchase: boolean;
|
|
68
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
67
69
|
makerFonts: any[];
|
|
68
70
|
eventButtonLocation?: string | undefined;
|
|
69
71
|
websiteUpsellModalViewModel?: any;
|
|
@@ -141,6 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
141
143
|
isUpgradeModalVisible: boolean;
|
|
142
144
|
isPublishing: boolean;
|
|
143
145
|
isProduction: boolean;
|
|
146
|
+
isAdminMaker: boolean;
|
|
144
147
|
isSellDomainNameEnabled: boolean;
|
|
145
148
|
isStripeOnboardingModalVisible: boolean;
|
|
146
149
|
isReactivationModal: boolean;
|
|
@@ -158,6 +161,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
158
161
|
triggerSaveSuccessMessage: boolean;
|
|
159
162
|
isDesignCom: boolean;
|
|
160
163
|
isPrePurchase: boolean;
|
|
164
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
161
165
|
makerFonts: any[];
|
|
162
166
|
eventButtonLocation?: string | undefined;
|
|
163
167
|
websiteUpsellModalViewModel?: any;
|
|
@@ -235,6 +239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
235
239
|
isUpgradeModalVisible: boolean;
|
|
236
240
|
isPublishing: boolean;
|
|
237
241
|
isProduction: boolean;
|
|
242
|
+
isAdminMaker: boolean;
|
|
238
243
|
isSellDomainNameEnabled: boolean;
|
|
239
244
|
isStripeOnboardingModalVisible: boolean;
|
|
240
245
|
isReactivationModal: boolean;
|
|
@@ -252,6 +257,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
252
257
|
triggerSaveSuccessMessage: boolean;
|
|
253
258
|
isDesignCom: boolean;
|
|
254
259
|
isPrePurchase: boolean;
|
|
260
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
255
261
|
makerFonts: any[];
|
|
256
262
|
eventButtonLocation?: string | undefined;
|
|
257
263
|
websiteUpsellModalViewModel?: any;
|
|
@@ -63,6 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
isUpgradeModalVisible: boolean;
|
|
64
64
|
isPublishing: boolean;
|
|
65
65
|
isProduction: boolean;
|
|
66
|
+
isAdminMaker: boolean;
|
|
66
67
|
isSellDomainNameEnabled: boolean;
|
|
67
68
|
isStripeOnboardingModalVisible: boolean;
|
|
68
69
|
isReactivationModal: boolean;
|
|
@@ -80,6 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
81
|
triggerSaveSuccessMessage: boolean;
|
|
81
82
|
isDesignCom: boolean;
|
|
82
83
|
isPrePurchase: boolean;
|
|
84
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
83
85
|
makerFonts: any[];
|
|
84
86
|
eventButtonLocation?: string | undefined;
|
|
85
87
|
websiteUpsellModalViewModel?: any;
|
|
@@ -157,6 +159,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
159
|
isUpgradeModalVisible: boolean;
|
|
158
160
|
isPublishing: boolean;
|
|
159
161
|
isProduction: boolean;
|
|
162
|
+
isAdminMaker: boolean;
|
|
160
163
|
isSellDomainNameEnabled: boolean;
|
|
161
164
|
isStripeOnboardingModalVisible: boolean;
|
|
162
165
|
isReactivationModal: boolean;
|
|
@@ -174,6 +177,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
177
|
triggerSaveSuccessMessage: boolean;
|
|
175
178
|
isDesignCom: boolean;
|
|
176
179
|
isPrePurchase: boolean;
|
|
180
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
177
181
|
makerFonts: any[];
|
|
178
182
|
eventButtonLocation?: string | undefined;
|
|
179
183
|
websiteUpsellModalViewModel?: any;
|
|
@@ -251,6 +255,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
251
255
|
isUpgradeModalVisible: boolean;
|
|
252
256
|
isPublishing: boolean;
|
|
253
257
|
isProduction: boolean;
|
|
258
|
+
isAdminMaker: boolean;
|
|
254
259
|
isSellDomainNameEnabled: boolean;
|
|
255
260
|
isStripeOnboardingModalVisible: boolean;
|
|
256
261
|
isReactivationModal: boolean;
|
|
@@ -268,6 +273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
268
273
|
triggerSaveSuccessMessage: boolean;
|
|
269
274
|
isDesignCom: boolean;
|
|
270
275
|
isPrePurchase: boolean;
|
|
276
|
+
prePurchaseBrandKitLogoDraftToken: string;
|
|
271
277
|
makerFonts: any[];
|
|
272
278
|
eventButtonLocation?: string | undefined;
|
|
273
279
|
websiteUpsellModalViewModel?: any;
|