@designcrowd/library.brand-page 6.1.5-jy-7 → 6.1.5
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-v0U_dynI.js → CreatedOnBrandCrowd-de-de-GQaFwETJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Cp9rTmh5.js → CreatedOnBrandCrowd-en-us-BaHiRIYi.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-35maIpcc.js → CreatedOnBrandCrowd-es-es-BAhFMH5T.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-B65va8LV.js → CreatedOnBrandCrowd-fr-ca-BibzMvn1.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-B65va8LV.js → CreatedOnBrandCrowd-fr-fr-BibzMvn1.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-Q46M3AXA.js → CreatedOnBrandCrowd-pt-br-DBIRdYQL.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-Q46M3AXA.js → CreatedOnBrandCrowd-pt-pt-DBIRdYQL.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CLlL1vZz.js → CreatedOnDcom-de-de-BhJQ0Nau.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Blk1poFT.js → CreatedOnDcom-en-us-BhJnRCR9.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-D7qOa1l2.js → CreatedOnDcom-es-es-CpWHG_KJ.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-Cq-dn1_p.js → CreatedOnDcom-fr-ca-BF8FCVBD.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CiQ8buFH.js → CreatedOnDcom-fr-fr-DYxQFWPx.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-D-e3-sQP.js → CreatedOnDcom-pt-br-Dh8Egq3-.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-D4Lsiy85.js → CreatedOnDcom-pt-pt-CsBU48dD.js} +1 -1
- 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 +1 -7
- 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 +5 -6
- 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 +1 -7
- 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 +2 -3
- 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 +0 -6
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +0 -6
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +0 -6
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +0 -6
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +1 -7
- 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 +0 -6
- package/lib/src/brand-page-maker/composables/useUndoRedoFlag.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/useUndoRedoFlag.js +2 -4
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +1 -10
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +6 -13
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +14 -19
- package/lib/src/brand-page-maker/stores/ui/ui-store.js +5 -3
- package/lib/src/brand-page-maker/stores/user/user-store.js +1 -4
- package/lib/src/brand-page-maker/stores/video/video-store.js +1 -3
- package/lib/src/clients/fabric-render-client.d.ts +0 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +57 -57
- package/lib/src/css/library.brand-page-brandPage.min.css +57 -57
- package/lib/src/css/library.brand-page-designCom.min.css +57 -57
- package/lib/src/css/library.brand-page-preview.min.css +57 -57
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-DcBI1GgG.js → lib-D_dzKkQC.js} +8662 -8677
- 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 +2 -3
- 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 +2 -3
- 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 +3 -4
- 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 +3 -4
- 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 +0 -6
- 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 +0 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -7
- package/lib/src/shared/logo-settings/store/editable-logo-store.d.ts +0 -2
- package/lib/src/shared/logo-settings/store/editable-logo-store.js +1 -20
- package/lib/src/shared/my-uploads/MyUploads.mixin.d.ts +1 -1
- package/lib/src/shared/my-uploads/MyUploads.mixin.js +2 -3
- 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 +1 -7
- 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 +2 -9
- 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 +0 -6
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -7
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -7
- 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 +9 -8
- package/package.json +1 -1
- 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.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 +6 -8
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +1 -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 +1 -3
- package/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.vue +1 -1
- 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/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 +5 -4
- package/src/brand-page-maker/composables/useUndoRedoFlag.ts +2 -4
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +8 -29
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +10 -5
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +14 -26
- package/src/brand-page-maker/stores/ui/ui-store.ts +5 -3
- package/src/brand-page-maker/stores/user/user-store.ts +1 -4
- package/src/brand-page-maker/stores/video/video-store.ts +1 -3
- package/src/clients/fabric-render-client.ts +0 -5
- 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 +2 -6
- package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.vue +1 -1
- 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 +7 -9
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -3
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +2 -4
- 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 +2 -5
- 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 +3 -1
- package/src/shared/content-settings/components/personalisation-override-field/PersonalisationOverrideField.vue +3 -6
- 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 +2 -3
- package/src/shared/logo-settings/store/editable-logo-store.ts +1 -28
- package/src/shared/my-uploads/MyUploads.mixin.ts +1 -3
- 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 +9 -12
- 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 +12 -10
- 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 +23 -29
- package/src/shared/style-settings/components/text-style-options-settings-with-state/TextStyleOptionsSettingsWithState.vue +2 -4
- package/src/shared/template-settings/components/TemplatesSettings.mixin.ts +1 -1
- package/src/shared/template-settings/store/template-settings-store.ts +9 -7
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.initialise.test.ts +0 -89
- package/src/shared/logo-settings/store/editable-logo-store.test.ts +0 -90
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
|
|
2
|
+
isAdmin: 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
|
+
isAdmin: computed(() => userStore.isAdmin),
|
|
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
|
+
isAdmin: 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,7 +261,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
261
|
isUpgradeModalVisible: boolean;
|
|
262
262
|
isPublishing: boolean;
|
|
263
263
|
isProduction: boolean;
|
|
264
|
-
isAdminMaker: boolean;
|
|
265
264
|
isSellDomainNameEnabled: boolean;
|
|
266
265
|
isStripeOnboardingModalVisible: boolean;
|
|
267
266
|
isReactivationModal: boolean;
|
|
@@ -279,7 +278,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
279
278
|
triggerSaveSuccessMessage: boolean;
|
|
280
279
|
isDesignCom: boolean;
|
|
281
280
|
isPrePurchase: boolean;
|
|
282
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
283
281
|
makerFonts: any[];
|
|
284
282
|
eventButtonLocation?: string | undefined;
|
|
285
283
|
websiteUpsellModalViewModel?: any;
|
|
@@ -357,7 +355,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
357
355
|
isUpgradeModalVisible: boolean;
|
|
358
356
|
isPublishing: boolean;
|
|
359
357
|
isProduction: boolean;
|
|
360
|
-
isAdminMaker: boolean;
|
|
361
358
|
isSellDomainNameEnabled: boolean;
|
|
362
359
|
isStripeOnboardingModalVisible: boolean;
|
|
363
360
|
isReactivationModal: boolean;
|
|
@@ -375,7 +372,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
375
372
|
triggerSaveSuccessMessage: boolean;
|
|
376
373
|
isDesignCom: boolean;
|
|
377
374
|
isPrePurchase: boolean;
|
|
378
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
379
375
|
makerFonts: any[];
|
|
380
376
|
eventButtonLocation?: string | undefined;
|
|
381
377
|
websiteUpsellModalViewModel?: any;
|
|
@@ -453,7 +449,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
453
449
|
isUpgradeModalVisible: boolean;
|
|
454
450
|
isPublishing: boolean;
|
|
455
451
|
isProduction: boolean;
|
|
456
|
-
isAdminMaker: boolean;
|
|
457
452
|
isSellDomainNameEnabled: boolean;
|
|
458
453
|
isStripeOnboardingModalVisible: boolean;
|
|
459
454
|
isReactivationModal: boolean;
|
|
@@ -471,7 +466,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
471
466
|
triggerSaveSuccessMessage: boolean;
|
|
472
467
|
isDesignCom: boolean;
|
|
473
468
|
isPrePurchase: boolean;
|
|
474
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
475
469
|
makerFonts: any[];
|
|
476
470
|
eventButtonLocation?: string | undefined;
|
|
477
471
|
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
|
+
isAdmin: computed(() => userStore.isAdmin),
|
|
88
88
|
contentErrorCount: computed(() => contentSettingsStore.contentErrorCount),
|
|
89
89
|
mode: computed(() => contentSettingsStore.mode),
|
|
90
90
|
brandPageMakerStore,
|
|
@@ -182,11 +182,10 @@ const InitialiseMakerStores = (options) => {
|
|
|
182
182
|
aiTemplateKeywords: undefined,
|
|
183
183
|
});
|
|
184
184
|
userStore.setUserState({
|
|
185
|
-
isAdmin: options.
|
|
185
|
+
isAdmin: options.isAdmin,
|
|
186
186
|
hasPremiumSubscription: false,
|
|
187
187
|
brandPageCommissionPercentage: 0.1,
|
|
188
188
|
});
|
|
189
|
-
brandPageContainerStore.isAdminMaker = options.isAdminMaker ?? false;
|
|
190
189
|
};
|
|
191
190
|
const FABRIC_RENDER_BASE_URL = 'https://localhost:6006/';
|
|
192
191
|
const SAMPLE_BRAND_PAGE_URL = 'https://brand.page';
|
|
@@ -367,7 +366,7 @@ SampleBanner.story = {
|
|
|
367
366
|
name: 'Sample (Banner)',
|
|
368
367
|
};
|
|
369
368
|
export const SamplePersonalised = () => {
|
|
370
|
-
InitialiseMakerStores({
|
|
369
|
+
InitialiseMakerStores({ isAdmin: true });
|
|
371
370
|
return defineComponent({
|
|
372
371
|
components: {
|
|
373
372
|
BrandPageMaker,
|
|
@@ -392,7 +391,7 @@ export const SamplePersonalised = () => {
|
|
|
392
391
|
template: `
|
|
393
392
|
<BrandPageMaker :view-model="viewModel"/>
|
|
394
393
|
`,
|
|
395
|
-
pinia: setupStoryPinia({
|
|
394
|
+
pinia: setupStoryPinia({ isAdmin: true }),
|
|
396
395
|
});
|
|
397
396
|
};
|
|
398
397
|
export const SamplePublished = {
|
|
@@ -1160,7 +1159,7 @@ export const SampleNoUserMedia = () => {
|
|
|
1160
1159
|
};
|
|
1161
1160
|
};
|
|
1162
1161
|
export const SampleAdminMode = () => {
|
|
1163
|
-
InitialiseMakerStores({
|
|
1162
|
+
InitialiseMakerStores({ isAdmin: true });
|
|
1164
1163
|
const pinia = setupStoryPinia();
|
|
1165
1164
|
return {
|
|
1166
1165
|
components: {
|
|
@@ -1202,7 +1201,7 @@ export const SampleAdminModeBrandSite = {
|
|
|
1202
1201
|
name: 'Sample (admin mode brandsite1)',
|
|
1203
1202
|
render: () => ({
|
|
1204
1203
|
setup() {
|
|
1205
|
-
InitialiseMakerStores({
|
|
1204
|
+
InitialiseMakerStores({ isAdmin: true });
|
|
1206
1205
|
},
|
|
1207
1206
|
components: {
|
|
1208
1207
|
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
|
+
isAdmin?: 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
|
+
isAdmin: import("vue").ComputedRef<boolean>;
|
|
41
41
|
logoTheme: import("vue").ComputedRef<{
|
|
42
42
|
logoTextColor: {
|
|
43
43
|
rgb: string;
|
|
@@ -704,7 +704,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
704
704
|
isUpgradeModalVisible: boolean;
|
|
705
705
|
isPublishing: boolean;
|
|
706
706
|
isProduction: boolean;
|
|
707
|
-
isAdminMaker: boolean;
|
|
708
707
|
isSellDomainNameEnabled: boolean;
|
|
709
708
|
isStripeOnboardingModalVisible: boolean;
|
|
710
709
|
isReactivationModal: boolean;
|
|
@@ -722,7 +721,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
722
721
|
triggerSaveSuccessMessage: boolean;
|
|
723
722
|
isDesignCom: boolean;
|
|
724
723
|
isPrePurchase: boolean;
|
|
725
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
726
724
|
makerFonts: any[];
|
|
727
725
|
eventButtonLocation?: string | undefined;
|
|
728
726
|
websiteUpsellModalViewModel?: any;
|
|
@@ -800,7 +798,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
800
798
|
isUpgradeModalVisible: boolean;
|
|
801
799
|
isPublishing: boolean;
|
|
802
800
|
isProduction: boolean;
|
|
803
|
-
isAdminMaker: boolean;
|
|
804
801
|
isSellDomainNameEnabled: boolean;
|
|
805
802
|
isStripeOnboardingModalVisible: boolean;
|
|
806
803
|
isReactivationModal: boolean;
|
|
@@ -818,7 +815,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
818
815
|
triggerSaveSuccessMessage: boolean;
|
|
819
816
|
isDesignCom: boolean;
|
|
820
817
|
isPrePurchase: boolean;
|
|
821
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
822
818
|
makerFonts: any[];
|
|
823
819
|
eventButtonLocation?: string | undefined;
|
|
824
820
|
websiteUpsellModalViewModel?: any;
|
|
@@ -896,7 +892,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
896
892
|
isUpgradeModalVisible: boolean;
|
|
897
893
|
isPublishing: boolean;
|
|
898
894
|
isProduction: boolean;
|
|
899
|
-
isAdminMaker: boolean;
|
|
900
895
|
isSellDomainNameEnabled: boolean;
|
|
901
896
|
isStripeOnboardingModalVisible: boolean;
|
|
902
897
|
isReactivationModal: boolean;
|
|
@@ -914,7 +909,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
914
909
|
triggerSaveSuccessMessage: boolean;
|
|
915
910
|
isDesignCom: boolean;
|
|
916
911
|
isPrePurchase: boolean;
|
|
917
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
918
912
|
makerFonts: any[];
|
|
919
913
|
eventButtonLocation?: string | undefined;
|
|
920
914
|
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
|
+
isAdmin: computed(() => brandPageMakerUserStore.isAdmin),
|
|
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.isAdmin) {
|
|
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
|
+
isAdmin: 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,
|
|
2
|
+
import { useBrandPageMakerStore, BRANDPAGE_SETTINGS_MODES, useBrandPageMakerUserStore, } 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,10 +13,9 @@ export default defineComponent({
|
|
|
13
13
|
setup() {
|
|
14
14
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
15
15
|
const userStore = useBrandPageMakerUserStore();
|
|
16
|
-
const containerStore = useBrandPageContainerStore();
|
|
17
16
|
return {
|
|
18
17
|
mode: computed(() => brandPageMakerStore.mode),
|
|
19
|
-
|
|
18
|
+
isAdmin: computed(() => userStore.isAdmin),
|
|
20
19
|
brandPageMakerStore,
|
|
21
20
|
userStore,
|
|
22
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
2
|
+
isAdmin: {
|
|
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
|
+
isAdmin: {
|
|
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;
|
|
84
85
|
isPublished: boolean;
|
|
85
|
-
isAdminMaker: boolean;
|
|
86
86
|
isSaving: boolean;
|
|
87
87
|
backButtonLabel: string;
|
|
88
88
|
isDesignCom: boolean;
|
|
@@ -47,7 +47,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
isUpgradeModalVisible: boolean;
|
|
48
48
|
isPublishing: boolean;
|
|
49
49
|
isProduction: boolean;
|
|
50
|
-
isAdminMaker: boolean;
|
|
51
50
|
isSellDomainNameEnabled: boolean;
|
|
52
51
|
isStripeOnboardingModalVisible: boolean;
|
|
53
52
|
isReactivationModal: boolean;
|
|
@@ -65,7 +64,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
64
|
triggerSaveSuccessMessage: boolean;
|
|
66
65
|
isDesignCom: boolean;
|
|
67
66
|
isPrePurchase: boolean;
|
|
68
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
69
67
|
makerFonts: any[];
|
|
70
68
|
eventButtonLocation?: string | undefined;
|
|
71
69
|
websiteUpsellModalViewModel?: any;
|
|
@@ -143,7 +141,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
141
|
isUpgradeModalVisible: boolean;
|
|
144
142
|
isPublishing: boolean;
|
|
145
143
|
isProduction: boolean;
|
|
146
|
-
isAdminMaker: boolean;
|
|
147
144
|
isSellDomainNameEnabled: boolean;
|
|
148
145
|
isStripeOnboardingModalVisible: boolean;
|
|
149
146
|
isReactivationModal: boolean;
|
|
@@ -161,7 +158,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
158
|
triggerSaveSuccessMessage: boolean;
|
|
162
159
|
isDesignCom: boolean;
|
|
163
160
|
isPrePurchase: boolean;
|
|
164
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
165
161
|
makerFonts: any[];
|
|
166
162
|
eventButtonLocation?: string | undefined;
|
|
167
163
|
websiteUpsellModalViewModel?: any;
|
|
@@ -239,7 +235,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
239
235
|
isUpgradeModalVisible: boolean;
|
|
240
236
|
isPublishing: boolean;
|
|
241
237
|
isProduction: boolean;
|
|
242
|
-
isAdminMaker: boolean;
|
|
243
238
|
isSellDomainNameEnabled: boolean;
|
|
244
239
|
isStripeOnboardingModalVisible: boolean;
|
|
245
240
|
isReactivationModal: boolean;
|
|
@@ -257,7 +252,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
257
252
|
triggerSaveSuccessMessage: boolean;
|
|
258
253
|
isDesignCom: boolean;
|
|
259
254
|
isPrePurchase: boolean;
|
|
260
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
261
255
|
makerFonts: any[];
|
|
262
256
|
eventButtonLocation?: string | undefined;
|
|
263
257
|
websiteUpsellModalViewModel?: any;
|
|
@@ -63,7 +63,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
isUpgradeModalVisible: boolean;
|
|
64
64
|
isPublishing: boolean;
|
|
65
65
|
isProduction: boolean;
|
|
66
|
-
isAdminMaker: boolean;
|
|
67
66
|
isSellDomainNameEnabled: boolean;
|
|
68
67
|
isStripeOnboardingModalVisible: boolean;
|
|
69
68
|
isReactivationModal: boolean;
|
|
@@ -81,7 +80,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
80
|
triggerSaveSuccessMessage: boolean;
|
|
82
81
|
isDesignCom: boolean;
|
|
83
82
|
isPrePurchase: boolean;
|
|
84
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
85
83
|
makerFonts: any[];
|
|
86
84
|
eventButtonLocation?: string | undefined;
|
|
87
85
|
websiteUpsellModalViewModel?: any;
|
|
@@ -159,7 +157,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
159
157
|
isUpgradeModalVisible: boolean;
|
|
160
158
|
isPublishing: boolean;
|
|
161
159
|
isProduction: boolean;
|
|
162
|
-
isAdminMaker: boolean;
|
|
163
160
|
isSellDomainNameEnabled: boolean;
|
|
164
161
|
isStripeOnboardingModalVisible: boolean;
|
|
165
162
|
isReactivationModal: boolean;
|
|
@@ -177,7 +174,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
174
|
triggerSaveSuccessMessage: boolean;
|
|
178
175
|
isDesignCom: boolean;
|
|
179
176
|
isPrePurchase: boolean;
|
|
180
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
181
177
|
makerFonts: any[];
|
|
182
178
|
eventButtonLocation?: string | undefined;
|
|
183
179
|
websiteUpsellModalViewModel?: any;
|
|
@@ -255,7 +251,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
255
251
|
isUpgradeModalVisible: boolean;
|
|
256
252
|
isPublishing: boolean;
|
|
257
253
|
isProduction: boolean;
|
|
258
|
-
isAdminMaker: boolean;
|
|
259
254
|
isSellDomainNameEnabled: boolean;
|
|
260
255
|
isStripeOnboardingModalVisible: boolean;
|
|
261
256
|
isReactivationModal: boolean;
|
|
@@ -273,7 +268,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
273
268
|
triggerSaveSuccessMessage: boolean;
|
|
274
269
|
isDesignCom: boolean;
|
|
275
270
|
isPrePurchase: boolean;
|
|
276
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
277
271
|
makerFonts: any[];
|
|
278
272
|
eventButtonLocation?: string | undefined;
|
|
279
273
|
websiteUpsellModalViewModel?: any;
|
|
@@ -68,7 +68,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
isUpgradeModalVisible: boolean;
|
|
69
69
|
isPublishing: boolean;
|
|
70
70
|
isProduction: boolean;
|
|
71
|
-
isAdminMaker: boolean;
|
|
72
71
|
isSellDomainNameEnabled: boolean;
|
|
73
72
|
isStripeOnboardingModalVisible: boolean;
|
|
74
73
|
isReactivationModal: boolean;
|
|
@@ -86,7 +85,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
85
|
triggerSaveSuccessMessage: boolean;
|
|
87
86
|
isDesignCom: boolean;
|
|
88
87
|
isPrePurchase: boolean;
|
|
89
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
90
88
|
makerFonts: any[];
|
|
91
89
|
eventButtonLocation?: string | undefined;
|
|
92
90
|
websiteUpsellModalViewModel?: any;
|
|
@@ -164,7 +162,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
162
|
isUpgradeModalVisible: boolean;
|
|
165
163
|
isPublishing: boolean;
|
|
166
164
|
isProduction: boolean;
|
|
167
|
-
isAdminMaker: boolean;
|
|
168
165
|
isSellDomainNameEnabled: boolean;
|
|
169
166
|
isStripeOnboardingModalVisible: boolean;
|
|
170
167
|
isReactivationModal: boolean;
|
|
@@ -182,7 +179,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
179
|
triggerSaveSuccessMessage: boolean;
|
|
183
180
|
isDesignCom: boolean;
|
|
184
181
|
isPrePurchase: boolean;
|
|
185
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
186
182
|
makerFonts: any[];
|
|
187
183
|
eventButtonLocation?: string | undefined;
|
|
188
184
|
websiteUpsellModalViewModel?: any;
|
|
@@ -260,7 +256,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
260
256
|
isUpgradeModalVisible: boolean;
|
|
261
257
|
isPublishing: boolean;
|
|
262
258
|
isProduction: boolean;
|
|
263
|
-
isAdminMaker: boolean;
|
|
264
259
|
isSellDomainNameEnabled: boolean;
|
|
265
260
|
isStripeOnboardingModalVisible: boolean;
|
|
266
261
|
isReactivationModal: boolean;
|
|
@@ -278,7 +273,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
278
273
|
triggerSaveSuccessMessage: boolean;
|
|
279
274
|
isDesignCom: boolean;
|
|
280
275
|
isPrePurchase: boolean;
|
|
281
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
282
276
|
makerFonts: any[];
|
|
283
277
|
eventButtonLocation?: string | undefined;
|
|
284
278
|
websiteUpsellModalViewModel?: any;
|
|
@@ -49,7 +49,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
isUpgradeModalVisible: boolean;
|
|
50
50
|
isPublishing: boolean;
|
|
51
51
|
isProduction: boolean;
|
|
52
|
-
isAdminMaker: boolean;
|
|
53
52
|
isSellDomainNameEnabled: boolean;
|
|
54
53
|
isStripeOnboardingModalVisible: boolean;
|
|
55
54
|
isReactivationModal: boolean;
|
|
@@ -67,7 +66,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
66
|
triggerSaveSuccessMessage: boolean;
|
|
68
67
|
isDesignCom: boolean;
|
|
69
68
|
isPrePurchase: boolean;
|
|
70
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
71
69
|
makerFonts: any[];
|
|
72
70
|
eventButtonLocation?: string | undefined;
|
|
73
71
|
websiteUpsellModalViewModel?: any;
|
|
@@ -145,7 +143,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
143
|
isUpgradeModalVisible: boolean;
|
|
146
144
|
isPublishing: boolean;
|
|
147
145
|
isProduction: boolean;
|
|
148
|
-
isAdminMaker: boolean;
|
|
149
146
|
isSellDomainNameEnabled: boolean;
|
|
150
147
|
isStripeOnboardingModalVisible: boolean;
|
|
151
148
|
isReactivationModal: boolean;
|
|
@@ -163,7 +160,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
160
|
triggerSaveSuccessMessage: boolean;
|
|
164
161
|
isDesignCom: boolean;
|
|
165
162
|
isPrePurchase: boolean;
|
|
166
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
167
163
|
makerFonts: any[];
|
|
168
164
|
eventButtonLocation?: string | undefined;
|
|
169
165
|
websiteUpsellModalViewModel?: any;
|
|
@@ -241,7 +237,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
241
237
|
isUpgradeModalVisible: boolean;
|
|
242
238
|
isPublishing: boolean;
|
|
243
239
|
isProduction: boolean;
|
|
244
|
-
isAdminMaker: boolean;
|
|
245
240
|
isSellDomainNameEnabled: boolean;
|
|
246
241
|
isStripeOnboardingModalVisible: boolean;
|
|
247
242
|
isReactivationModal: boolean;
|
|
@@ -259,7 +254,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
254
|
triggerSaveSuccessMessage: boolean;
|
|
260
255
|
isDesignCom: boolean;
|
|
261
256
|
isPrePurchase: boolean;
|
|
262
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
263
257
|
makerFonts: any[];
|
|
264
258
|
eventButtonLocation?: string | undefined;
|
|
265
259
|
websiteUpsellModalViewModel?: any;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
selectedTemplateId: import("vue").ComputedRef<string | false>;
|
|
65
65
|
isPrePurchase: import("vue").ComputedRef<boolean>;
|
|
66
66
|
runtimeEnvironment: import("vue").ComputedRef<string>;
|
|
67
|
-
|
|
67
|
+
isAdmin: import("vue").ComputedRef<boolean>;
|
|
68
68
|
userToken: import("vue").ComputedRef<string | undefined>;
|
|
69
69
|
isBrandSite: import("vue").ComputedRef<boolean>;
|
|
70
70
|
renderAsImage: import("vue").ComputedRef<boolean>;
|
|
@@ -117,7 +117,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
117
|
isUpgradeModalVisible: boolean;
|
|
118
118
|
isPublishing: boolean;
|
|
119
119
|
isProduction: boolean;
|
|
120
|
-
isAdminMaker: boolean;
|
|
121
120
|
isSellDomainNameEnabled: boolean;
|
|
122
121
|
isStripeOnboardingModalVisible: boolean;
|
|
123
122
|
isReactivationModal: boolean;
|
|
@@ -135,7 +134,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
134
|
triggerSaveSuccessMessage: boolean;
|
|
136
135
|
isDesignCom: boolean;
|
|
137
136
|
isPrePurchase: boolean;
|
|
138
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
139
137
|
makerFonts: any[];
|
|
140
138
|
eventButtonLocation?: string | undefined;
|
|
141
139
|
websiteUpsellModalViewModel?: any;
|
|
@@ -213,7 +211,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
213
211
|
isUpgradeModalVisible: boolean;
|
|
214
212
|
isPublishing: boolean;
|
|
215
213
|
isProduction: boolean;
|
|
216
|
-
isAdminMaker: boolean;
|
|
217
214
|
isSellDomainNameEnabled: boolean;
|
|
218
215
|
isStripeOnboardingModalVisible: boolean;
|
|
219
216
|
isReactivationModal: boolean;
|
|
@@ -231,7 +228,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
231
228
|
triggerSaveSuccessMessage: boolean;
|
|
232
229
|
isDesignCom: boolean;
|
|
233
230
|
isPrePurchase: boolean;
|
|
234
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
235
231
|
makerFonts: any[];
|
|
236
232
|
eventButtonLocation?: string | undefined;
|
|
237
233
|
websiteUpsellModalViewModel?: any;
|
|
@@ -309,7 +305,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
309
305
|
isUpgradeModalVisible: boolean;
|
|
310
306
|
isPublishing: boolean;
|
|
311
307
|
isProduction: boolean;
|
|
312
|
-
isAdminMaker: boolean;
|
|
313
308
|
isSellDomainNameEnabled: boolean;
|
|
314
309
|
isStripeOnboardingModalVisible: boolean;
|
|
315
310
|
isReactivationModal: boolean;
|
|
@@ -327,7 +322,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
327
322
|
triggerSaveSuccessMessage: boolean;
|
|
328
323
|
isDesignCom: boolean;
|
|
329
324
|
isPrePurchase: boolean;
|
|
330
|
-
prePurchaseBrandKitLogoDraftToken: string;
|
|
331
325
|
makerFonts: any[];
|
|
332
326
|
eventButtonLocation?: string | undefined;
|
|
333
327
|
websiteUpsellModalViewModel?: any;
|