@designcrowd/library.brand-page 6.1.6-use-isadminmaker-2 → 6.1.6
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-CPLDYp5f.js → CreatedOnBrandCrowd-de-de-COw1kYDh.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Br3HqLLr.js → CreatedOnBrandCrowd-en-us-JRm1p0it.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DwkIQVgN.js → CreatedOnBrandCrowd-es-es-D-G9uI6b.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DqeI8mF_.js → CreatedOnBrandCrowd-fr-ca-DQCScohj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DqeI8mF_.js → CreatedOnBrandCrowd-fr-fr-DQCScohj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-bvgq_CN8.js → CreatedOnBrandCrowd-pt-br-4RazAfO7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-bvgq_CN8.js → CreatedOnBrandCrowd-pt-pt-4RazAfO7.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-nT3MnRXy.js → CreatedOnDcom-de-de-DqvLTbhq.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-D2TYrEzJ.js → CreatedOnDcom-en-us-DG1X0ero.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-Q-5tnP12.js → CreatedOnDcom-es-es-BxHAIikP.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-txkwqCzm.js → CreatedOnDcom-fr-ca-BGXoViAC.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CUnJXLgr.js → CreatedOnDcom-fr-fr-CsvmeK2T.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-7XAwvP9H.js → CreatedOnDcom-pt-br-DvWm7MjO.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DjhLiioZ.js → CreatedOnDcom-pt-pt-Bhz2YEVP.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 +4 -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 -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 +4 -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 +1 -1
- 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 +3 -0
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +3 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +3 -0
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +3 -0
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +4 -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 +3 -0
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +6 -1
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +6 -0
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +6 -0
- package/lib/src/clients/fabric-render-client.d.ts +1 -0
- 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-dewphkuW.js → lib-Bg2K2ze6.js} +225 -213
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -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/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +4 -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 +1 -1
- 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 +4 -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 +6 -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 +3 -0
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +4 -1
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +4 -1
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.js +2 -2
- 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 +7 -7
- 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 -1
- 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 +11 -11
- 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/stores/brandpage-container/brand-page-container-store.initialise.test.ts +53 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +20 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +7 -0
- package/src/clients/fabric-render-client.ts +5 -0
- package/src/shared/background-settings/components/BackgroundSettings.vue +7 -7
- package/src/shared/background-settings/components/MultiBackgroundShapes.vue +5 -5
- package/src/shared/background-settings/components/ReplaceImageSettingsForBackgroundSettings.vue +2 -2
- package/src/shared/background-settings/components/SingleBackgroundShape.vue +3 -3
- package/src/shared/background-settings/components/background-color/BackgroundColorSettings.vue +4 -4
- package/src/shared/background-settings/components/background-shapes/BackgroundShapeSettings.mixin.ts +1 -1
- 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 +9 -7
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +1 -1
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +2 -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 +2 -2
- 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 -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/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/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 +1 -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 +9 -9
- 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 +2 -2
|
@@ -67892,7 +67892,7 @@ const Wi = /* @__PURE__ */ f9(WG1), KG1 = (e, t, n) => {
|
|
|
67892
67892
|
canUseRichTextEditor: L(
|
|
67893
67893
|
() => i.features.canUseRichTextEditor
|
|
67894
67894
|
),
|
|
67895
|
-
|
|
67895
|
+
isAdminMaker: L(() => n.isAdminMaker),
|
|
67896
67896
|
logoTheme: L(() => a.logoTheme),
|
|
67897
67897
|
contentSettingsStore: e,
|
|
67898
67898
|
brandPageMakerStore: t,
|
|
@@ -68041,7 +68041,7 @@ const Wi = /* @__PURE__ */ f9(WG1), KG1 = (e, t, n) => {
|
|
|
68041
68041
|
});
|
|
68042
68042
|
}), this.isHeaderSelected = !1, this.isFooterSelected = !1, this.isContentSelected = !0, _C.includes(e.type) && this.canUseRichTextEditor) {
|
|
68043
68043
|
let o = e;
|
|
68044
|
-
if (this.
|
|
68044
|
+
if (this.isAdminMaker) {
|
|
68045
68045
|
const s = this.items.find(
|
|
68046
68046
|
(r) => r.id === e.id
|
|
68047
68047
|
);
|
|
@@ -68184,10 +68184,10 @@ const Wi = /* @__PURE__ */ f9(WG1), KG1 = (e, t, n) => {
|
|
|
68184
68184
|
He(() => n.context.isDesignCom, async () => {
|
|
68185
68185
|
const _ = i9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
68186
68186
|
try {
|
|
68187
|
-
const { default: M } = await tV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
68187
|
+
const { default: M } = await tV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-COw1kYDh.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-JRm1p0it.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-D-G9uI6b.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-DQCScohj.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-DQCScohj.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-4RazAfO7.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-4RazAfO7.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DqvLTbhq.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DG1X0ero.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BxHAIikP.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-BGXoViAC.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CsvmeK2T.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DvWm7MjO.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-Bhz2YEVP.js") }), `./watermark/CreatedOn${S}-${_}.vue`, 3);
|
|
68188
68188
|
i.value = M;
|
|
68189
68189
|
} catch {
|
|
68190
|
-
const { default: x } = await tV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
68190
|
+
const { default: x } = await tV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-JRm1p0it.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DG1X0ero.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
68191
68191
|
i.value = x;
|
|
68192
68192
|
}
|
|
68193
68193
|
}, {
|
|
@@ -79439,6 +79439,7 @@ const d0 = (e) => {
|
|
|
79439
79439
|
isSellDomainNameEnabled: !1,
|
|
79440
79440
|
isDesignCom: !1,
|
|
79441
79441
|
isPrePurchase: !1,
|
|
79442
|
+
prePurchaseBrandKitLogoDraftToken: "",
|
|
79442
79443
|
makerFonts: [],
|
|
79443
79444
|
eventButtonLocation: void 0,
|
|
79444
79445
|
websiteUpsellModalViewModel: void 0,
|
|
@@ -79469,7 +79470,7 @@ const d0 = (e) => {
|
|
|
79469
79470
|
templateId: this.designTemplateToken
|
|
79470
79471
|
});
|
|
79471
79472
|
const r = De();
|
|
79472
|
-
e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), e?.gettyVideos?.forEach(
|
|
79473
|
+
e.logoDraftToken && r.setLogoDraftToken({ logoDraftToken: e.logoDraftToken }), this.prePurchaseBrandKitLogoDraftToken = e.prePurchaseBrandKitLogoDraftToken || "", e?.gettyVideos?.forEach(
|
|
79473
79474
|
(a) => n.setVideoUrlsWithToken(
|
|
79474
79475
|
a.token,
|
|
79475
79476
|
a.videoPreviewAsset.uri,
|
|
@@ -80150,6 +80151,7 @@ const d0 = (e) => {
|
|
|
80150
80151
|
isTextOnlyLogo: !1,
|
|
80151
80152
|
enableEditMode: !1,
|
|
80152
80153
|
logoDraftToken: "",
|
|
80154
|
+
prePurchaseBrandKitLogoDraftToken: "",
|
|
80153
80155
|
editableLogoVariations: [
|
|
80154
80156
|
{
|
|
80155
80157
|
variationId: J6.LOGO_WITH_TRANSPARENT_BACKGROUND,
|
|
@@ -80217,7 +80219,7 @@ const d0 = (e) => {
|
|
|
80217
80219
|
}),
|
|
80218
80220
|
actions: {
|
|
80219
80221
|
async setStateAsync(e) {
|
|
80220
|
-
this.resetLogoEdits(), this.setLogoDraftToken(e.newState.logoDraftToken), this.makerFonts = e.newState.makerFonts;
|
|
80222
|
+
this.resetLogoEdits(), this.setLogoDraftToken(e.newState.logoDraftToken), this.prePurchaseBrandKitLogoDraftToken = e.newState.prePurchaseBrandKitLogoDraftToken || "", this.makerFonts = e.newState.makerFonts;
|
|
80221
80223
|
const t = await this.postEditableLogoRequestAsync({
|
|
80222
80224
|
returnJson: !0,
|
|
80223
80225
|
defaultPrimaryText: e?.defaultPrimaryText,
|
|
@@ -80408,17 +80410,21 @@ const d0 = (e) => {
|
|
|
80408
80410
|
), !1) : !1;
|
|
80409
80411
|
},
|
|
80410
80412
|
async postEditableLogoRequestAsync(e) {
|
|
80411
|
-
const t = P4(), n = !!e?.layout, i = {
|
|
80413
|
+
const t = P4(), n = !!e?.layout, i = !!this.prePurchaseBrandKitLogoDraftToken && this.logoDraftToken === this.prePurchaseBrandKitLogoDraftToken, o = {
|
|
80412
80414
|
returnJson: e?.returnJson || !1,
|
|
80413
80415
|
generateS3Url: !0,
|
|
80414
80416
|
dimensionsType: e?.dimensionType,
|
|
80415
80417
|
variation: e?.variationType,
|
|
80418
|
+
// BP-6010: a draft-based render must keep the draft's authored
|
|
80419
|
+
// arrangement - opt out of fabric-render's default re-stack. Rides the
|
|
80420
|
+
// same condition as the draft so the two can never drift apart.
|
|
80421
|
+
disableAutoLayout: i ? !0 : void 0,
|
|
80416
80422
|
logo: {
|
|
80417
80423
|
template: {
|
|
80418
80424
|
token: t.logoTemplateAsset.token,
|
|
80419
80425
|
version: t.logoTemplateAsset.version
|
|
80420
80426
|
},
|
|
80421
|
-
draft: null
|
|
80427
|
+
draft: i ? { token: this.prePurchaseBrandKitLogoDraftToken } : null
|
|
80422
80428
|
},
|
|
80423
80429
|
changeRequest: {
|
|
80424
80430
|
objects: {
|
|
@@ -80440,29 +80446,29 @@ const d0 = (e) => {
|
|
|
80440
80446
|
}
|
|
80441
80447
|
}
|
|
80442
80448
|
};
|
|
80443
|
-
return n ? (
|
|
80449
|
+
return n ? (o.logo.template.placeholder = {
|
|
80444
80450
|
primaryText: e.defaultPrimaryText
|
|
80445
|
-
},
|
|
80446
|
-
const
|
|
80447
|
-
fontFamily:
|
|
80448
|
-
fill:
|
|
80449
|
-
stroke:
|
|
80450
|
-
strokeWidth:
|
|
80451
|
-
isUppercase:
|
|
80451
|
+
}, o.logo.template.layout = e.layout, o.changeRequest.layout = e.layout) : o.primaryText = e?.defaultPrimaryText, this.logoEdits.textObjects.forEach((a) => {
|
|
80452
|
+
const l = {
|
|
80453
|
+
fontFamily: a.fontFamily,
|
|
80454
|
+
fill: a.fill,
|
|
80455
|
+
stroke: a.outlineColor,
|
|
80456
|
+
strokeWidth: a.outlineEnabled ? a.outlineWidth : 0,
|
|
80457
|
+
isUppercase: a.isUppercase,
|
|
80452
80458
|
shadow: {
|
|
80453
|
-
...
|
|
80454
|
-
blur:
|
|
80455
|
-
offsetX:
|
|
80456
|
-
offsetY:
|
|
80459
|
+
...a.shadow,
|
|
80460
|
+
blur: a.shadowEnabled ? a.shadow.blur : 0,
|
|
80461
|
+
offsetX: a.shadowEnabled ? a.shadow.offsetX : 0,
|
|
80462
|
+
offsetY: a.shadowEnabled ? a.shadow.offsetY : 0
|
|
80457
80463
|
}
|
|
80458
80464
|
};
|
|
80459
|
-
|
|
80460
|
-
type:
|
|
80461
|
-
role:
|
|
80462
|
-
removed: !
|
|
80463
|
-
updates:
|
|
80465
|
+
l.textOriginal = a.text, o.changeRequest.objects[a.id] = {
|
|
80466
|
+
type: a.type,
|
|
80467
|
+
role: a.role,
|
|
80468
|
+
removed: !a.textEnabled || !a.text,
|
|
80469
|
+
updates: l
|
|
80464
80470
|
};
|
|
80465
|
-
}), await C3.getInstance().getModifiedLogoAsync(
|
|
80471
|
+
}), await C3.getInstance().getModifiedLogoAsync(o);
|
|
80466
80472
|
}
|
|
80467
80473
|
},
|
|
80468
80474
|
getters: {
|
|
@@ -82863,6 +82869,12 @@ const L2 = o3("uiContentSettings", {
|
|
|
82863
82869
|
logoTemplateMetadata: "",
|
|
82864
82870
|
isLogoDraftSaved: !1,
|
|
82865
82871
|
logoDraftToken: b.logoDraftToken || o2.v4(),
|
|
82872
|
+
// Only the container's per-mount Brand Kit seed is a REAL server
|
|
82873
|
+
// draft (the editor was opened from one - Brand Kit Edit). The
|
|
82874
|
+
// uuid fallback above is a session-local identity, and
|
|
82875
|
+
// uiStore.logoDraftToken is never cleared between mounts -
|
|
82876
|
+
// neither must ever reach fabric-render as a render base.
|
|
82877
|
+
prePurchaseBrandKitLogoDraftToken: y.prePurchaseBrandKitLogoDraftToken,
|
|
82866
82878
|
logoEdits: {
|
|
82867
82879
|
backgroundObject: {
|
|
82868
82880
|
id: "",
|
|
@@ -88523,7 +88535,7 @@ const Wd = J({
|
|
|
88523
88535
|
setup() {
|
|
88524
88536
|
const e = x2(), t = le(), n = X1();
|
|
88525
88537
|
return {
|
|
88526
|
-
|
|
88538
|
+
isAdminMaker: L(() => n.isAdminMaker),
|
|
88527
88539
|
// BP-5873: the Preview button is behind an AB test, and pre/post purchase are
|
|
88528
88540
|
// two separate experiments. Pick the one for the current purchase state — a
|
|
88529
88541
|
// user's value on the other side is independent and must not leak across.
|
|
@@ -88575,7 +88587,7 @@ const Wd = J({
|
|
|
88575
88587
|
};
|
|
88576
88588
|
function h7e(e, t, n, i, o, s) {
|
|
88577
88589
|
const r = E("Button");
|
|
88578
|
-
return e.
|
|
88590
|
+
return e.isAdminMaker ? k("", !0) : (u(), f("div", f7e, [
|
|
88579
88591
|
e.isPublished ? k("", !0) : (u(), $(r, {
|
|
88580
88592
|
key: 0,
|
|
88581
88593
|
label: i.actionBarTr("saveProgress"),
|
|
@@ -91000,7 +91012,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91000
91012
|
value: {},
|
|
91001
91013
|
valueConvertor: { default: void 0 },
|
|
91002
91014
|
label: { default: void 0 },
|
|
91003
|
-
|
|
91015
|
+
isAdminMaker: { type: Boolean },
|
|
91004
91016
|
logoTheme: {},
|
|
91005
91017
|
toggleUniqueId: { default: "" },
|
|
91006
91018
|
enableColorMatch: { type: Boolean, default: !1 },
|
|
@@ -91075,7 +91087,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91075
91087
|
(I, B) => {
|
|
91076
91088
|
if (!s.value || I === B)
|
|
91077
91089
|
return;
|
|
91078
|
-
if (n.
|
|
91090
|
+
if (n.isAdminMaker && !I) {
|
|
91079
91091
|
a.value = "", S();
|
|
91080
91092
|
return;
|
|
91081
91093
|
}
|
|
@@ -91094,13 +91106,13 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91094
91106
|
"data-component": "color-field",
|
|
91095
91107
|
class: O(["tw-flex", {
|
|
91096
91108
|
"tw-mt-4": !!e.label,
|
|
91097
|
-
"tw-flex-col tw-gap-y-2 tw-w-full": e.
|
|
91098
|
-
"tw-gap-2 tw-justify-between tw-items-center": !e.
|
|
91109
|
+
"tw-flex-col tw-gap-y-2 tw-w-full": e.isAdminMaker,
|
|
91110
|
+
"tw-gap-2 tw-justify-between tw-items-center": !e.isAdminMaker
|
|
91099
91111
|
}])
|
|
91100
91112
|
}, [
|
|
91101
91113
|
e.label ? (u(), f("span", zne, P(e.label), 1)) : k("", !0),
|
|
91102
91114
|
p("div", qne, [
|
|
91103
|
-
e.
|
|
91115
|
+
e.isAdminMaker && e.enableColorMatch ? (u(), $(H(U3), {
|
|
91104
91116
|
key: 0,
|
|
91105
91117
|
id: `${e.id}-${e.name}-color-matched${g.value}`,
|
|
91106
91118
|
"model-value": h.value,
|
|
@@ -91123,7 +91135,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91123
91135
|
onInput: w
|
|
91124
91136
|
}, null, 8, ["custom-groups", "popup", "color", "use-v2", "is-rich-text-editor", "icon-type", "show-gradients"])) : k("", !0)
|
|
91125
91137
|
]),
|
|
91126
|
-
e.
|
|
91138
|
+
e.isAdminMaker && !e.isRichTextEditor && h.value ? (u(), f("div", jne, [
|
|
91127
91139
|
p("select", {
|
|
91128
91140
|
class: "c-select c-button-style tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
91129
91141
|
onChange: B[0] || (B[0] = w1((F) => b(
|
|
@@ -91163,14 +91175,14 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91163
91175
|
id: "background-color",
|
|
91164
91176
|
name: "background",
|
|
91165
91177
|
value: s.value.style.background || "",
|
|
91166
|
-
"is-admin": o.value,
|
|
91178
|
+
"is-admin-maker": o.value,
|
|
91167
91179
|
"logo-theme": e.logoTheme,
|
|
91168
91180
|
"enable-color-match": o.value,
|
|
91169
91181
|
"show-gradients": "",
|
|
91170
91182
|
"disable-transparent": "",
|
|
91171
91183
|
label: H(E2)("backgroundColor"),
|
|
91172
91184
|
"onUpdate:modelValue": l
|
|
91173
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "label"]),
|
|
91185
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "label"]),
|
|
91174
91186
|
a.value && o.value ? (u(), $(H(p0), {
|
|
91175
91187
|
key: 0,
|
|
91176
91188
|
label: "Color Matched Logo",
|
|
@@ -91673,14 +91685,14 @@ const nt = /* @__PURE__ */ v(uie, [["render", hie]]), gie = {
|
|
|
91673
91685
|
id: "background-shapes",
|
|
91674
91686
|
name: "shapeColor",
|
|
91675
91687
|
value: g.value,
|
|
91676
|
-
"is-admin": i.value,
|
|
91688
|
+
"is-admin-maker": i.value,
|
|
91677
91689
|
"logo-theme": e.logoTheme,
|
|
91678
91690
|
"enable-color-match": i.value,
|
|
91679
91691
|
"disable-transparent": !0,
|
|
91680
91692
|
"custom-groups": e.customGroups,
|
|
91681
91693
|
label: H(E2)("shapeColor"),
|
|
91682
91694
|
"onUpdate:modelValue": m
|
|
91683
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "custom-groups", "label"]),
|
|
91695
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "custom-groups", "label"]),
|
|
91684
91696
|
p("p", vie, P(H(E2)("shapeItems")), 1),
|
|
91685
91697
|
T(c7, {
|
|
91686
91698
|
items: h.value,
|
|
@@ -91859,14 +91871,14 @@ const nt = /* @__PURE__ */ v(uie, [["render", hie]]), gie = {
|
|
|
91859
91871
|
id: "background-shape",
|
|
91860
91872
|
name: "shapeColor",
|
|
91861
91873
|
value: H(r),
|
|
91862
|
-
"is-admin": i.value,
|
|
91874
|
+
"is-admin-maker": i.value,
|
|
91863
91875
|
"logo-theme": e.logoTheme,
|
|
91864
91876
|
"enable-color-match": i.value,
|
|
91865
91877
|
"disable-transparent": !0,
|
|
91866
91878
|
"custom-groups": e.customGroups,
|
|
91867
91879
|
label: H(E2)("shapeColor"),
|
|
91868
91880
|
"onUpdate:modelValue": H(a)
|
|
91869
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "custom-groups", "label", "onUpdate:modelValue"]),
|
|
91881
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "custom-groups", "label", "onUpdate:modelValue"]),
|
|
91870
91882
|
p("div", $ie, [
|
|
91871
91883
|
p("span", Bie, P(H(E2)("opacity")), 1),
|
|
91872
91884
|
T(H(j9), {
|
|
@@ -92247,7 +92259,7 @@ const Die = { key: 2 }, Nie = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, Rie
|
|
|
92247
92259
|
])) : k("", !0)
|
|
92248
92260
|
]));
|
|
92249
92261
|
}
|
|
92250
|
-
}), MR = /* @__PURE__ */ v(roe, [["__scopeId", "data-v-
|
|
92262
|
+
}), MR = /* @__PURE__ */ v(roe, [["__scopeId", "data-v-a77d954c"]]), aoe = {
|
|
92251
92263
|
key: 0,
|
|
92252
92264
|
class: "tw-text-xl tw-font-bold"
|
|
92253
92265
|
}, it = /* @__PURE__ */ J({
|
|
@@ -93017,7 +93029,7 @@ const Woe = /* @__PURE__ */ v($oe, [["render", joe], ["__scopeId", "data-v-68941
|
|
|
93017
93029
|
dropzoneImageUploaderRef: a1(null),
|
|
93018
93030
|
endpoints: L(() => e.endpoints),
|
|
93019
93031
|
uiStore: e,
|
|
93020
|
-
|
|
93032
|
+
isAdminMaker: L(() => !!n.isAdminMaker),
|
|
93021
93033
|
isLoggedIn: L(() => !!t.emailAddress)
|
|
93022
93034
|
};
|
|
93023
93035
|
},
|
|
@@ -93147,7 +93159,7 @@ const Woe = /* @__PURE__ */ v($oe, [["render", joe], ["__scopeId", "data-v-68941
|
|
|
93147
93159
|
}, tse = { class: "tw-text-info-500 tw-mb-1 tw-leading-relaxed group-hover:tw-underline" }, nse = { class: "tw-leading-relaxed tw-text-grayscale-600" }, ise = { key: 0 }, ose = { class: "tw-text-primary-500" }, sse = { key: 1 };
|
|
93148
93160
|
function rse(e, t, n, i, o, s) {
|
|
93149
93161
|
const r = E("LoginRequiredMessage"), a = E("DropzoneImageUploader"), l = E("MyMedia");
|
|
93150
|
-
return !e.isLoggedIn && !e.
|
|
93162
|
+
return !e.isLoggedIn && !e.isAdminMaker ? (u(), $(r, { key: 0 })) : (u(), f("div", Qoe, [
|
|
93151
93163
|
T(a, {
|
|
93152
93164
|
ref: "dropzoneImageUploaderRef",
|
|
93153
93165
|
class: "tw-mb-4 tw-group",
|
|
@@ -94050,7 +94062,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94050
94062
|
type: Object,
|
|
94051
94063
|
required: !0
|
|
94052
94064
|
},
|
|
94053
|
-
|
|
94065
|
+
isAdminMaker: {
|
|
94054
94066
|
type: Boolean,
|
|
94055
94067
|
required: !0,
|
|
94056
94068
|
default: !1
|
|
@@ -94113,7 +94125,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94113
94125
|
label: n("shapeLibrary"),
|
|
94114
94126
|
active: !1
|
|
94115
94127
|
}
|
|
94116
|
-
]), C = L(() => d.value.filter((x) => x.id !== "MY_DESIGNS" || !i.
|
|
94128
|
+
]), C = L(() => d.value.filter((x) => x.id !== "MY_DESIGNS" || !i.isAdminMaker).filter(
|
|
94117
94129
|
(x) => i.activeTabs.some((I) => I === x.id) && (!a.value || x.id !== "MY_DESIGNS")
|
|
94118
94130
|
).filter((x) => x.id !== "VIDEO_LIBRARY" || l.value)), h = L(() => !0), g = () => {
|
|
94119
94131
|
o("on-back");
|
|
@@ -94289,7 +94301,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94289
94301
|
"section-title": g.value,
|
|
94290
94302
|
"media-settings": C.value,
|
|
94291
94303
|
"image-extension": m.value,
|
|
94292
|
-
"is-admin": d.value,
|
|
94304
|
+
"is-admin-maker": d.value,
|
|
94293
94305
|
mode: c.value,
|
|
94294
94306
|
"active-tabs": h.value,
|
|
94295
94307
|
"media-type": e.mediaType,
|
|
@@ -94298,7 +94310,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94298
94310
|
onOnImagePicked: w,
|
|
94299
94311
|
onOnImageRemoved: b,
|
|
94300
94312
|
onOnVideoSelected: x
|
|
94301
|
-
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin", "mode", "active-tabs", "media-type"])
|
|
94313
|
+
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin-maker", "mode", "active-tabs", "media-type"])
|
|
94302
94314
|
]));
|
|
94303
94315
|
}
|
|
94304
94316
|
}), xre = { "data-test-tag": "background-settings" }, Vre = { key: 1 }, Hre = { class: "tw-top-0 tw-z-10 tw-px-1 tw-pt-4 tw-pb-4" }, Ire = { key: 2 }, Ere = { class: "tw-mt-3 tw-mb-1.5 tw-text-sm tw-font-bold tw-capitalize" }, Pre = { class: "tw-mt-2" }, Are = { class: "tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm" }, $re = {
|
|
@@ -94453,13 +94465,13 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94453
94465
|
id: "background-overlay-color",
|
|
94454
94466
|
name: "overlayColor",
|
|
94455
94467
|
value: b.value,
|
|
94456
|
-
"is-admin": C.value,
|
|
94468
|
+
"is-admin-maker": C.value,
|
|
94457
94469
|
"logo-theme": c.value,
|
|
94458
94470
|
"enable-color-match": C.value,
|
|
94459
94471
|
"disable-transparent": "",
|
|
94460
94472
|
label: H(E2)("overlayColor"),
|
|
94461
94473
|
"onUpdate:modelValue": S
|
|
94462
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "label"]),
|
|
94474
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "label"]),
|
|
94463
94475
|
p("div", Pre, [
|
|
94464
94476
|
p("span", Are, P(H(E2)("overlayOpacity")), 1),
|
|
94465
94477
|
T(H(j9), {
|
|
@@ -94696,7 +94708,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94696
94708
|
contentSettingsSelectedItemId: L(
|
|
94697
94709
|
() => t.selectedItemId
|
|
94698
94710
|
),
|
|
94699
|
-
|
|
94711
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
94700
94712
|
canUseRichTextEditor: L(
|
|
94701
94713
|
() => s.features.canUseRichTextEditor
|
|
94702
94714
|
),
|
|
@@ -94893,7 +94905,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94893
94905
|
isPersonalisationEnabled: L(
|
|
94894
94906
|
() => i.isPersonalisationEnabled
|
|
94895
94907
|
),
|
|
94896
|
-
|
|
94908
|
+
isAdminMaker: L(() => o.isAdminMaker),
|
|
94897
94909
|
contentSettingsStore: e,
|
|
94898
94910
|
sideBarStore: t,
|
|
94899
94911
|
eventTracker: r
|
|
@@ -94969,7 +94981,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94969
94981
|
return this.isFocusedDisplayMode || this.collapsed ? _H : eae;
|
|
94970
94982
|
},
|
|
94971
94983
|
showPersonalisationField() {
|
|
94972
|
-
return this.
|
|
94984
|
+
return this.isAdminMaker && this.isPersonalisationEnabled;
|
|
94973
94985
|
},
|
|
94974
94986
|
personalisationRole() {
|
|
94975
94987
|
return this.getValue(this.id, "personalisationRole");
|
|
@@ -95053,7 +95065,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95053
95065
|
getContent: L(() => e.getContent),
|
|
95054
95066
|
getValue: L(() => e.getValue),
|
|
95055
95067
|
brandPageData: L(() => t.brandPageData),
|
|
95056
|
-
|
|
95068
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
95057
95069
|
isDesignCom: L(() => r.isDesignCom),
|
|
95058
95070
|
canUseRichTextEditor: L(
|
|
95059
95071
|
() => n.features.canUseRichTextEditor
|
|
@@ -95140,7 +95152,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95140
95152
|
return this.field.name !== "buttonTextStyle" && this.type === "banner-section";
|
|
95141
95153
|
},
|
|
95142
95154
|
showToggle() {
|
|
95143
|
-
return this.field.name === "backgroundStyle" && this.
|
|
95155
|
+
return this.field.name === "backgroundStyle" && this.isAdminMaker ? !0 : this.field.showToggle;
|
|
95144
95156
|
},
|
|
95145
95157
|
disableTransparent() {
|
|
95146
95158
|
return typeof this.field.disableTransparent == "function" ? this.field.disableTransparent(this.brandPageType) : this.field.disableTransparent || !1;
|
|
@@ -95189,7 +95201,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95189
95201
|
}
|
|
95190
95202
|
},
|
|
95191
95203
|
onFieldChangeLogo() {
|
|
95192
|
-
this.
|
|
95204
|
+
this.isAdminMaker ? this.sideBarStore.setSelectedTabName({
|
|
95193
95205
|
tabName: P2.ADMIN_LOGO_SETTINGS
|
|
95194
95206
|
}) : this.sideBarStore.setSelectedTabName({
|
|
95195
95207
|
tabName: P2.LOGO_SETTINGS
|
|
@@ -95564,7 +95576,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95564
95576
|
type: Object,
|
|
95565
95577
|
required: !0
|
|
95566
95578
|
},
|
|
95567
|
-
|
|
95579
|
+
isAdminMaker: {
|
|
95568
95580
|
type: Boolean,
|
|
95569
95581
|
required: !0
|
|
95570
95582
|
}
|
|
@@ -95664,7 +95676,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95664
95676
|
type: Object,
|
|
95665
95677
|
required: !0
|
|
95666
95678
|
},
|
|
95667
|
-
|
|
95679
|
+
isAdminMaker: {
|
|
95668
95680
|
type: Boolean,
|
|
95669
95681
|
required: !0
|
|
95670
95682
|
}
|
|
@@ -95770,7 +95782,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95770
95782
|
id: {},
|
|
95771
95783
|
name: {},
|
|
95772
95784
|
value: {},
|
|
95773
|
-
|
|
95785
|
+
isAdminMaker: { type: Boolean },
|
|
95774
95786
|
label: {},
|
|
95775
95787
|
toggleUniqueId: {},
|
|
95776
95788
|
logoTheme: {}
|
|
@@ -95816,12 +95828,12 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95816
95828
|
return (h, g) => (u(), f("div", {
|
|
95817
95829
|
"data-component": "color-replacements-field",
|
|
95818
95830
|
class: O(["tw-flex", {
|
|
95819
|
-
"tw-flex-col tw-gap-y-2 tw-w-full": e.
|
|
95820
|
-
"tw-gap-2 tw-justify-between tw-items-center": !e.
|
|
95831
|
+
"tw-flex-col tw-gap-y-2 tw-w-full": e.isAdminMaker,
|
|
95832
|
+
"tw-gap-2 tw-justify-between tw-items-center": !e.isAdminMaker
|
|
95821
95833
|
}])
|
|
95822
95834
|
}, [
|
|
95823
95835
|
e.label ? (u(), f("span", hae, P(e.label), 1)) : k("", !0),
|
|
95824
|
-
e.
|
|
95836
|
+
e.isAdminMaker && s.colorReplacements && s.colorReplacements.length > 0 ? (u(), $(H(U3), {
|
|
95825
95837
|
key: 1,
|
|
95826
95838
|
id: `${e.id}-${e.name}-color-matched${l.value}`,
|
|
95827
95839
|
"model-value": a.value,
|
|
@@ -95839,17 +95851,17 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95839
95851
|
(u(!0), f(S1, null, N1(s.colorReplacements, (m, y) => (u(), f("div", {
|
|
95840
95852
|
key: `${m.attribute}-${m.originalColor}`
|
|
95841
95853
|
}, [
|
|
95842
|
-
!e.
|
|
95854
|
+
!e.isAdminMaker || !a.value ? (u(), $(p5, {
|
|
95843
95855
|
key: 0,
|
|
95844
95856
|
name: "fill",
|
|
95845
95857
|
"disable-transparent": !0,
|
|
95846
95858
|
value: m.replacementColor,
|
|
95847
|
-
"is-admin": e.
|
|
95859
|
+
"is-admin-maker": e.isAdminMaker,
|
|
95848
95860
|
"logo-theme": e.logoTheme,
|
|
95849
95861
|
"onUpdate:modelValue": (w) => c(w, y)
|
|
95850
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
95862
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
95851
95863
|
]))), 128)),
|
|
95852
|
-
e.
|
|
95864
|
+
e.isAdminMaker && s.colorReplacements && s.colorReplacements.length > 0 && a.value ? (u(), f("div", gae, [
|
|
95853
95865
|
p("select", {
|
|
95854
95866
|
class: "c-select c-button-style tw-flex-grow tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
95855
95867
|
onChange: g[0] || (g[0] = w1((m) => d(m.target.value), ["stop"]))
|
|
@@ -95994,11 +96006,11 @@ function Hae(e, t, n, i, o, s) {
|
|
|
95994
96006
|
name: e.name,
|
|
95995
96007
|
label: h.colorReplacements && h.colorReplacements.length === 1 ? i.commonTr("shapeColor") : "",
|
|
95996
96008
|
value: h.colorReplacements,
|
|
95997
|
-
"is-admin": e.
|
|
96009
|
+
"is-admin-maker": e.isAdminMaker,
|
|
95998
96010
|
"logo-theme": e.logoTheme,
|
|
95999
96011
|
"toggle-unique-id": g.toString(),
|
|
96000
96012
|
"onUpdate:modelValue": (m) => e.onColorReplacementsChange(m, g)
|
|
96001
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
96013
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
96002
96014
|
], 2)) : k("", !0)
|
|
96003
96015
|
])
|
|
96004
96016
|
]),
|
|
@@ -96015,7 +96027,7 @@ function Hae(e, t, n, i, o, s) {
|
|
|
96015
96027
|
}, null, 8, ["onOnClick"])) : k("", !0)
|
|
96016
96028
|
]);
|
|
96017
96029
|
}
|
|
96018
|
-
const VR = /* @__PURE__ */ v(wae, [["render", Hae], ["__scopeId", "data-v-
|
|
96030
|
+
const VR = /* @__PURE__ */ v(wae, [["render", Hae], ["__scopeId", "data-v-c1205c30"]]), Iae = {
|
|
96019
96031
|
components: {
|
|
96020
96032
|
DraggableItemList: VR,
|
|
96021
96033
|
Button: D1
|
|
@@ -96044,9 +96056,9 @@ function Pae(e, t, n, i, o, s) {
|
|
|
96044
96056
|
"value-prop-name": "imageTitle",
|
|
96045
96057
|
"media-type": e.mediaType,
|
|
96046
96058
|
"logo-theme": e.logoTheme,
|
|
96047
|
-
"is-admin": e.
|
|
96059
|
+
"is-admin-maker": e.isAdminMaker,
|
|
96048
96060
|
onOnIntentImageReplace: e.onReplace
|
|
96049
|
-
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "placeholder-suffix", "media-type", "logo-theme", "is-admin", "onOnIntentImageReplace"])) : k("", !0),
|
|
96061
|
+
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "placeholder-suffix", "media-type", "logo-theme", "is-admin-maker", "onOnIntentImageReplace"])) : k("", !0),
|
|
96050
96062
|
!e.maxLength || e.images.length < e.maxLength ? (u(), f("div", Eae, [
|
|
96051
96063
|
T(a, {
|
|
96052
96064
|
variant: "outline",
|
|
@@ -96062,7 +96074,7 @@ function Pae(e, t, n, i, o, s) {
|
|
|
96062
96074
|
])) : k("", !0)
|
|
96063
96075
|
]);
|
|
96064
96076
|
}
|
|
96065
|
-
const Aae = /* @__PURE__ */ v(Iae, [["render", Pae], ["__scopeId", "data-v-
|
|
96077
|
+
const Aae = /* @__PURE__ */ v(Iae, [["render", Pae], ["__scopeId", "data-v-593c94ff"]]), $ae = J({
|
|
96066
96078
|
props: {
|
|
96067
96079
|
value: {
|
|
96068
96080
|
type: Object,
|
|
@@ -96815,7 +96827,7 @@ const zae = /* @__PURE__ */ v(Nae, [["render", Uae], ["__scopeId", "data-v-8240b
|
|
|
96815
96827
|
type: Array,
|
|
96816
96828
|
required: !0
|
|
96817
96829
|
},
|
|
96818
|
-
|
|
96830
|
+
isAdminMaker: {
|
|
96819
96831
|
type: Boolean,
|
|
96820
96832
|
required: !0
|
|
96821
96833
|
},
|
|
@@ -96912,11 +96924,11 @@ function ble(e, t, n, i, o, s) {
|
|
|
96912
96924
|
"value-prop-name": "url",
|
|
96913
96925
|
"field-type": "url",
|
|
96914
96926
|
settings: e.itemListSettings,
|
|
96915
|
-
"is-admin": e.
|
|
96927
|
+
"is-admin-maker": e.isAdminMaker,
|
|
96916
96928
|
"logo-theme": e.logoTheme,
|
|
96917
96929
|
onOnIntentImageReplace: e.onItemListIntentImageReplace,
|
|
96918
96930
|
onOnColorReplacementsChange: e.onColorReplacementsChange
|
|
96919
|
-
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "settings", "is-admin", "logo-theme", "onOnIntentImageReplace", "onOnColorReplacementsChange"])) : k("", !0),
|
|
96931
|
+
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "settings", "is-admin-maker", "logo-theme", "onOnIntentImageReplace", "onOnColorReplacementsChange"])) : k("", !0),
|
|
96920
96932
|
p("div", wle, [
|
|
96921
96933
|
e.links.length < 4 ? (u(), $(a, {
|
|
96922
96934
|
key: 0,
|
|
@@ -103737,14 +103749,14 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103737
103749
|
name: e.name + "TextStyle",
|
|
103738
103750
|
value: K.value,
|
|
103739
103751
|
options: H(Un).convert(i.styles),
|
|
103740
|
-
"is-admin": y.value,
|
|
103752
|
+
"is-admin-maker": y.value,
|
|
103741
103753
|
"logo-theme": w.value,
|
|
103742
103754
|
"show-color-pallet": !1,
|
|
103743
103755
|
"is-toggled": !0,
|
|
103744
103756
|
"onUpdate:modelValue": q1[0] || (q1[0] = (Ce) => {
|
|
103745
103757
|
H(f1)(Ce, "textColor"), !Ce.value || Ce.value === "" ? S.value = !1 : S.value = !0;
|
|
103746
103758
|
})
|
|
103747
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme"]),
|
|
103759
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme"]),
|
|
103748
103760
|
p("p", yMe, P(H(Di)("backgroundColor")), 1),
|
|
103749
103761
|
T(p5, {
|
|
103750
103762
|
id: `${e.rawId}-backgroundStyle${e.textItemIndex ?? ""}`,
|
|
@@ -103752,14 +103764,14 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103752
103764
|
name: e.name,
|
|
103753
103765
|
value: o1.value,
|
|
103754
103766
|
options: H(j2).convert(i.styles),
|
|
103755
|
-
"is-admin": y.value,
|
|
103767
|
+
"is-admin-maker": y.value,
|
|
103756
103768
|
"show-color-pallet": !1,
|
|
103757
103769
|
"logo-theme": w.value,
|
|
103758
103770
|
"is-toggled": !1,
|
|
103759
103771
|
"onUpdate:modelValue": q1[1] || (q1[1] = (Ce) => {
|
|
103760
103772
|
H(f1)(Ce, "backgroundColor"), !Ce.value || Ce.value === "" ? M.value = !1 : M.value = !0;
|
|
103761
103773
|
})
|
|
103762
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme"])
|
|
103774
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme"])
|
|
103763
103775
|
])) : k("", !0),
|
|
103764
103776
|
p("div", wMe, [
|
|
103765
103777
|
p("div", null, [
|
|
@@ -103867,7 +103879,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103867
103879
|
"icon-type": "text-color",
|
|
103868
103880
|
"disable-transparent": !0,
|
|
103869
103881
|
value: b.selectedTextColor,
|
|
103870
|
-
"is-admin": y.value,
|
|
103882
|
+
"is-admin-maker": y.value,
|
|
103871
103883
|
"logo-theme": w.value,
|
|
103872
103884
|
"is-toggled": !0,
|
|
103873
103885
|
popup: !0,
|
|
@@ -103877,7 +103889,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103877
103889
|
value: Ce.value
|
|
103878
103890
|
});
|
|
103879
103891
|
})
|
|
103880
|
-
}, null, 8, ["class", "value", "is-admin", "logo-theme"])
|
|
103892
|
+
}, null, 8, ["class", "value", "is-admin-maker", "logo-theme"])
|
|
103881
103893
|
]),
|
|
103882
103894
|
q1[21] || (q1[21] = p("div", { class: "border desktop" }, null, -1)),
|
|
103883
103895
|
T(H(D1), {
|
|
@@ -103935,7 +103947,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103935
103947
|
"is-rich-text-editor": !0,
|
|
103936
103948
|
"icon-type": "text-background-color",
|
|
103937
103949
|
value: b.selectedBackgroundColor,
|
|
103938
|
-
"is-admin": y.value,
|
|
103950
|
+
"is-admin-maker": y.value,
|
|
103939
103951
|
"logo-theme": w.value,
|
|
103940
103952
|
"is-toggled": !0,
|
|
103941
103953
|
popup: !0,
|
|
@@ -103945,7 +103957,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103945
103957
|
value: Ce.value
|
|
103946
103958
|
});
|
|
103947
103959
|
})
|
|
103948
|
-
}, null, 8, ["class", "value", "is-admin", "logo-theme"])
|
|
103960
|
+
}, null, 8, ["class", "value", "is-admin-maker", "logo-theme"])
|
|
103949
103961
|
]),
|
|
103950
103962
|
T(H(D1), {
|
|
103951
103963
|
class: O(["toolbar-editor-button", {
|
|
@@ -104107,7 +104119,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
104107
104119
|
], 64);
|
|
104108
104120
|
};
|
|
104109
104121
|
}
|
|
104110
|
-
}), uZ = /* @__PURE__ */ v(NMe, [["__scopeId", "data-v-
|
|
104122
|
+
}), uZ = /* @__PURE__ */ v(NMe, [["__scopeId", "data-v-e32b05aa"]]), RMe = {
|
|
104111
104123
|
components: {
|
|
104112
104124
|
RichTextEditor: uZ
|
|
104113
104125
|
},
|
|
@@ -105125,7 +105137,7 @@ const pZ = /* @__PURE__ */ v(Vke, [["render", Eke], ["__scopeId", "data-v-f3d394
|
|
|
105125
105137
|
});
|
|
105126
105138
|
return (a, l) => (u(), f("div", lLe, [
|
|
105127
105139
|
T(su, {
|
|
105128
|
-
"is-admin": !1,
|
|
105140
|
+
"is-admin-maker": !1,
|
|
105129
105141
|
"transparent-bg": !0,
|
|
105130
105142
|
mode: "images",
|
|
105131
105143
|
"media-settings": r,
|
|
@@ -105583,7 +105595,7 @@ const NLe = /* @__PURE__ */ v(ELe, [["render", DLe]]), Jh = 5, WH = J({
|
|
|
105583
105595
|
type: Object,
|
|
105584
105596
|
required: !0
|
|
105585
105597
|
},
|
|
105586
|
-
|
|
105598
|
+
isAdminMaker: {
|
|
105587
105599
|
type: Boolean,
|
|
105588
105600
|
required: !0
|
|
105589
105601
|
},
|
|
@@ -105978,12 +105990,12 @@ function YLe(e, t, n, i, o, s) {
|
|
|
105978
105990
|
name: e.name,
|
|
105979
105991
|
value: e.textColorValue,
|
|
105980
105992
|
options: e.textColorOptions,
|
|
105981
|
-
"is-admin": e.
|
|
105993
|
+
"is-admin-maker": e.isAdminMaker,
|
|
105982
105994
|
"logo-theme": e.logoTheme,
|
|
105983
105995
|
"is-toggled": !1,
|
|
105984
105996
|
"disable-transparent": !0,
|
|
105985
105997
|
"onUpdate:modelValue": e.onSelectColor
|
|
105986
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme", "onUpdate:modelValue"]),
|
|
105998
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]),
|
|
105987
105999
|
e.showTextBackgroundColorOptions ? (u(), f("p", KLe, P(i.textStyleFieldTr("backgroundColor")), 1)) : k("", !0),
|
|
105988
106000
|
e.showTextBackgroundColorOptions ? (u(), $(h, {
|
|
105989
106001
|
key: 5,
|
|
@@ -105992,11 +106004,11 @@ function YLe(e, t, n, i, o, s) {
|
|
|
105992
106004
|
name: e.name,
|
|
105993
106005
|
value: e.textBackgroundColorValue,
|
|
105994
106006
|
options: e.textBackgroundColorOptions,
|
|
105995
|
-
"is-admin": e.
|
|
106007
|
+
"is-admin-maker": e.isAdminMaker,
|
|
105996
106008
|
"logo-theme": e.logoTheme,
|
|
105997
106009
|
"is-toggled": !1,
|
|
105998
106010
|
"onUpdate:modelValue": e.onSelectBackgroundColor
|
|
105999
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
106011
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
106000
106012
|
], 2)) : k("", !0)
|
|
106001
106013
|
], 2);
|
|
106002
106014
|
}
|
|
@@ -106024,7 +106036,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106024
106036
|
pages: { default: void 0 },
|
|
106025
106037
|
titleLength: { default: v3 },
|
|
106026
106038
|
descriptionLength: { default: l6 },
|
|
106027
|
-
|
|
106039
|
+
isAdminMaker: { type: Boolean, default: !1 }
|
|
106028
106040
|
},
|
|
106029
106041
|
emits: ["update:buttonConfig"],
|
|
106030
106042
|
setup(e, { emit: t }) {
|
|
@@ -106320,7 +106332,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106320
106332
|
maxLength: { default: void 0 },
|
|
106321
106333
|
logoTheme: {},
|
|
106322
106334
|
settings: {},
|
|
106323
|
-
|
|
106335
|
+
isAdminMaker: { type: Boolean },
|
|
106324
106336
|
brandPageType: { default: c1.brandSite }
|
|
106325
106337
|
},
|
|
106326
106338
|
emits: ["update:modelValue", "on-intent-image-replace"],
|
|
@@ -106459,7 +106471,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106459
106471
|
onOnIntentImageReplace: (l1) => B(G.index, G.item.imageUrl),
|
|
106460
106472
|
"onUpdate:modelValue": (l1) => F(G.index)
|
|
106461
106473
|
}, null, 8, ["id", "media-type", "name", "value", "onOnIntentImageReplace", "onUpdate:modelValue"]),
|
|
106462
|
-
e.
|
|
106474
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106463
106475
|
key: 0,
|
|
106464
106476
|
id: e.id,
|
|
106465
106477
|
name: "imageUrlOverride",
|
|
@@ -106474,11 +106486,11 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106474
106486
|
name: e.name,
|
|
106475
106487
|
label: G.item.colorReplacements && G.item.colorReplacements.length === 1 ? H(c4)("shapeColor") : "",
|
|
106476
106488
|
value: G.item.colorReplacements,
|
|
106477
|
-
"is-admin": e.
|
|
106489
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106478
106490
|
"logo-theme": e.logoTheme,
|
|
106479
106491
|
"toggle-unique-id": G.index.toString(),
|
|
106480
106492
|
"onUpdate:modelValue": (l1) => D(l1, G.index)
|
|
106481
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"]),
|
|
106493
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"]),
|
|
106482
106494
|
p("h4", vTe, P(H(c4)("title")), 1),
|
|
106483
106495
|
T(H(je), {
|
|
106484
106496
|
modelValue: s.value[G.index].title,
|
|
@@ -106492,7 +106504,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106492
106504
|
error: H(ao)(s.value[G.index].title) >= l.value
|
|
106493
106505
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "maxlength", "placeholder", "error"]),
|
|
106494
106506
|
H(ao)(s.value[G.index].title) >= l.value ? (u(), f("p", STe, P(r.value), 1)) : k("", !0),
|
|
106495
|
-
e.
|
|
106507
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106496
106508
|
key: 3,
|
|
106497
106509
|
id: e.id,
|
|
106498
106510
|
name: "titleOverride",
|
|
@@ -106520,7 +106532,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106520
106532
|
error: H(ao)(s.value[G.index].paragraph) >= C.value,
|
|
106521
106533
|
"onUpdate:modelValue": (l1) => n1(l1, G.index)
|
|
106522
106534
|
}, null, 8, ["id", "value", "item", "name", "max-length", "placeholder", "error", "onUpdate:modelValue"]),
|
|
106523
|
-
e.
|
|
106535
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106524
106536
|
key: 4,
|
|
106525
106537
|
id: e.id,
|
|
106526
106538
|
name: "paragraphOverride",
|
|
@@ -106545,7 +106557,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106545
106557
|
error: s.value[G.index].imageTitle.length >= C.value
|
|
106546
106558
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "maxlength", "placeholder", "attrs", "error"]),
|
|
106547
106559
|
s.value[G.index].imageTitle.length >= C.value ? (u(), f("p", TTe, P(r.value), 1)) : k("", !0),
|
|
106548
|
-
e.
|
|
106560
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106549
106561
|
key: 1,
|
|
106550
106562
|
id: e.id,
|
|
106551
106563
|
name: "imageTitleOverride",
|
|
@@ -106558,7 +106570,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106558
106570
|
T(aTe, {
|
|
106559
106571
|
id: e.id,
|
|
106560
106572
|
index: G.index,
|
|
106561
|
-
"is-admin": e.
|
|
106573
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106562
106574
|
"button-config": {
|
|
106563
106575
|
buttonText: s.value[G.index].buttonText ?? !1,
|
|
106564
106576
|
buttonLinkType: s.value[G.index].buttonLinkType || "url",
|
|
@@ -106568,7 +106580,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106568
106580
|
"title-length": l.value,
|
|
106569
106581
|
"description-length": C.value,
|
|
106570
106582
|
"onUpdate:buttonConfig": (l1) => e1(l1, G.index)
|
|
106571
|
-
}, null, 8, ["id", "index", "is-admin", "button-config", "title-length", "description-length", "onUpdate:buttonConfig"])
|
|
106583
|
+
}, null, 8, ["id", "index", "is-admin-maker", "button-config", "title-length", "description-length", "onUpdate:buttonConfig"])
|
|
106572
106584
|
], 64)),
|
|
106573
106585
|
!w(G.item) && e.brandPageType === H(c1).brandSite ? (u(), f("div", xTe, [
|
|
106574
106586
|
p("div", VTe, [
|
|
@@ -106643,7 +106655,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106643
106655
|
type: Object,
|
|
106644
106656
|
required: !0
|
|
106645
106657
|
},
|
|
106646
|
-
|
|
106658
|
+
isAdminMaker: {
|
|
106647
106659
|
type: Boolean,
|
|
106648
106660
|
required: !0
|
|
106649
106661
|
}
|
|
@@ -106781,11 +106793,11 @@ function GTe(e, t, n, i, o, s) {
|
|
|
106781
106793
|
name: e.name,
|
|
106782
106794
|
label: C.item.colorReplacements && C.item.colorReplacements.length === 1 ? i.shapeFieldTr("shapeColor") : "",
|
|
106783
106795
|
value: C.item.colorReplacements,
|
|
106784
|
-
"is-admin": e.
|
|
106796
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106785
106797
|
"logo-theme": e.logoTheme,
|
|
106786
106798
|
"toggle-unique-id": C.index.toString(),
|
|
106787
106799
|
"onUpdate:modelValue": (h) => e.onColorReplacementsChange(h, C.index)
|
|
106788
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
106800
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
106789
106801
|
]),
|
|
106790
106802
|
_: 1
|
|
106791
106803
|
}, 8, ["items", "onItemsChange", "onItemsDelete"]),
|
|
@@ -106817,7 +106829,7 @@ const jTe = /* @__PURE__ */ v(DTe, [["render", GTe]]), WTe = 250, KTe = J({
|
|
|
106817
106829
|
type: Object,
|
|
106818
106830
|
required: !0
|
|
106819
106831
|
},
|
|
106820
|
-
|
|
106832
|
+
isAdminMaker: {
|
|
106821
106833
|
type: Boolean,
|
|
106822
106834
|
required: !0
|
|
106823
106835
|
},
|
|
@@ -106999,7 +107011,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
106999
107011
|
"onUpdate:modelValue": (m) => e.onTextAreaTextChange(m, g.index)
|
|
107000
107012
|
}, null, 8, ["value", "name", "error", "max-length", "onBlur", "onFocus", "onUpdate:modelValue"]),
|
|
107001
107013
|
e.isEmpty[g.index] ? (u(), f("p", txe, P(e.testimonialEmptyErrorMessage), 1)) : e.options[g.index].testimonials && e.rteTextLength(e.options[g.index].testimonials) >= e.maxTestimonialLength ? (u(), f("p", nxe, P(e.testimonialMaxLengthErrorMessage), 1)) : k("", !0),
|
|
107002
|
-
e.
|
|
107014
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107003
107015
|
key: 2,
|
|
107004
107016
|
id: e.id,
|
|
107005
107017
|
name: "testimonialsOverride",
|
|
@@ -107016,7 +107028,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107016
107028
|
onOnIntentImageReplace: (m) => e.onReplaceImage(g.index),
|
|
107017
107029
|
"onUpdate:modelValue": (m) => e.onRemoveImage(g.index)
|
|
107018
107030
|
}, null, 8, ["id", "name", "value", "onOnIntentImageReplace", "onUpdate:modelValue"]),
|
|
107019
|
-
e.
|
|
107031
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107020
107032
|
key: 3,
|
|
107021
107033
|
id: e.id,
|
|
107022
107034
|
name: "imageUrlOverride",
|
|
@@ -107032,11 +107044,11 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107032
107044
|
name: e.name,
|
|
107033
107045
|
label: g.item.colorReplacements && g.item.colorReplacements.length === 1 ? i.testimonialItemsFieldTr("shapeColor") : "",
|
|
107034
107046
|
value: g.item.colorReplacements,
|
|
107035
|
-
"is-admin": e.
|
|
107047
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107036
107048
|
"logo-theme": e.logoTheme,
|
|
107037
107049
|
"toggle-unique-id": g.index.toString(),
|
|
107038
107050
|
"onUpdate:modelValue": (m) => e.onColorReplacementsChange(m, g.index)
|
|
107039
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
107051
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
107040
107052
|
])) : k("", !0),
|
|
107041
107053
|
p("h4", rxe, P(i.testimonialItemsFieldTr("name")), 1),
|
|
107042
107054
|
T(d, {
|
|
@@ -107047,7 +107059,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107047
107059
|
maxlength: 60
|
|
107048
107060
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
107049
107061
|
e.options[g.index] && e.options[g.index].name && e.rteTextLength(e.options[g.index].name) >= e.maxTitleLength ? (u(), f("p", axe, P(e.testimonialMaxLengthErrorMessage), 1)) : k("", !0),
|
|
107050
|
-
e.
|
|
107062
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107051
107063
|
key: 6,
|
|
107052
107064
|
id: e.id,
|
|
107053
107065
|
name: "nameOverride",
|
|
@@ -107066,7 +107078,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107066
107078
|
maxlength: 60
|
|
107067
107079
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
107068
107080
|
e.options[g.index] && e.options[g.index].position && e.rteTextLength(e.options[g.index].position) >= e.maxTitleLength ? (u(), f("p", cxe, P(e.testimonialMaxLengthErrorMessage), 1)) : k("", !0),
|
|
107069
|
-
e.
|
|
107081
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107070
107082
|
key: 8,
|
|
107071
107083
|
id: e.id,
|
|
107072
107084
|
name: "positionOverride",
|
|
@@ -107088,7 +107100,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107088
107100
|
}, null, 8, ["label", "onOnClick"])) : k("", !0)
|
|
107089
107101
|
]);
|
|
107090
107102
|
}
|
|
107091
|
-
const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-
|
|
107103
|
+
const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-e6fd86eb"]]), uxe = 250, pxe = J({
|
|
107092
107104
|
props: {
|
|
107093
107105
|
id: {
|
|
107094
107106
|
type: String,
|
|
@@ -107106,7 +107118,7 @@ const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-fe811
|
|
|
107106
107118
|
type: Array,
|
|
107107
107119
|
required: !0
|
|
107108
107120
|
},
|
|
107109
|
-
|
|
107121
|
+
isAdminMaker: {
|
|
107110
107122
|
type: Boolean,
|
|
107111
107123
|
required: !0
|
|
107112
107124
|
},
|
|
@@ -107299,7 +107311,7 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107299
107311
|
onFocus: (h) => e.onFocusOverride(C.index),
|
|
107300
107312
|
"onUpdate:modelValue": (h) => e.onTextAreaTextChange(h, C.index)
|
|
107301
107313
|
}, null, 8, ["id", "index", "show-rich-text-editor", "value", "name", "styles", "item", "error", "max-length", "content-type", "onBlur", "onFocus", "onUpdate:modelValue"])),
|
|
107302
|
-
e.
|
|
107314
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107303
107315
|
key: 0,
|
|
107304
107316
|
id: e.id,
|
|
107305
107317
|
name: "textOverride",
|
|
@@ -107311,14 +107323,14 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107311
107323
|
e.showRichTextEditor ? k("", !0) : (u(), $(l, {
|
|
107312
107324
|
id: `text-style-field-${C.index}`,
|
|
107313
107325
|
key: `text-style-field-${C.index}`,
|
|
107314
|
-
"is-admin": e.
|
|
107326
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107315
107327
|
value: e.options[C.index].textStyle,
|
|
107316
107328
|
"logo-theme": e.logoTheme,
|
|
107317
107329
|
"show-font-style-only": !0,
|
|
107318
107330
|
label: i.textItemsFieldTr("fontSettings"),
|
|
107319
107331
|
"is-text-content": !0,
|
|
107320
107332
|
"onUpdate:modelValue": (h) => e.setTextStyleOption(h, C.index)
|
|
107321
|
-
}, null, 8, ["id", "is-admin", "value", "logo-theme", "label", "onUpdate:modelValue"]))
|
|
107333
|
+
}, null, 8, ["id", "is-admin-maker", "value", "logo-theme", "label", "onUpdate:modelValue"]))
|
|
107322
107334
|
]),
|
|
107323
107335
|
_: 1
|
|
107324
107336
|
}, 8, ["items", "onItemsChange", "onItemsDelete"]),
|
|
@@ -107333,7 +107345,7 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107333
107345
|
}, null, 8, ["label", "onOnClick"])) : k("", !0)
|
|
107334
107346
|
]);
|
|
107335
107347
|
}
|
|
107336
|
-
const bxe = /* @__PURE__ */ v(fxe, [["render", wxe], ["__scopeId", "data-v-
|
|
107348
|
+
const bxe = /* @__PURE__ */ v(fxe, [["render", wxe], ["__scopeId", "data-v-960cf968"]]), vxe = J({
|
|
107337
107349
|
props: {
|
|
107338
107350
|
id: {
|
|
107339
107351
|
type: String,
|
|
@@ -107569,7 +107581,7 @@ function Bxe(e, t, n, i, o, s) {
|
|
|
107569
107581
|
},
|
|
107570
107582
|
name: e.fieldName,
|
|
107571
107583
|
content: e.content,
|
|
107572
|
-
"is-admin": e.
|
|
107584
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107573
107585
|
"logo-theme": e.logoTheme,
|
|
107574
107586
|
"is-toggled": e.isToggled,
|
|
107575
107587
|
multiple: e.field.multiple,
|
|
@@ -107600,7 +107612,7 @@ function Bxe(e, t, n, i, o, s) {
|
|
|
107600
107612
|
onOnIntentImageReplace: e.onIntentImageReplace,
|
|
107601
107613
|
onOnToggleStateChange: e.onToggleStateChange,
|
|
107602
107614
|
onCapturePreviewSnapshot: e.onCaptureSnapshot
|
|
107603
|
-
}, null, 40, ["id", "attrs", "name", "content", "is-admin", "logo-theme", "is-toggled", "multiple", "placeholder", "role", "value", "content-type", "show-rich-text-editor", "settings", "settings-name", "title", "styles", "label", "fields", "options-convertor", "value-convertor", "variant", "min-length", "max-length", "brand-page-type", "show-text-alignment-options", "show-text-background-color-options", "disable-transparent", "is-design-com", "onUpdate:modelValue", "onChangeLogo", "onOnIntentImageReplace", "onOnToggleStateChange", "onCapturePreviewSnapshot"])), [
|
|
107615
|
+
}, null, 40, ["id", "attrs", "name", "content", "is-admin-maker", "logo-theme", "is-toggled", "multiple", "placeholder", "role", "value", "content-type", "show-rich-text-editor", "settings", "settings-name", "title", "styles", "label", "fields", "options-convertor", "value-convertor", "variant", "min-length", "max-length", "brand-page-type", "show-text-alignment-options", "show-text-background-color-options", "disable-transparent", "is-design-com", "onUpdate:modelValue", "onChangeLogo", "onOnIntentImageReplace", "onOnToggleStateChange", "onCapturePreviewSnapshot"])), [
|
|
107604
107616
|
[N3, !e.showToggle || e.isToggled]
|
|
107605
107617
|
])
|
|
107606
107618
|
], 2)) : k("", !0)
|
|
@@ -107702,7 +107714,7 @@ const zxe = /* @__PURE__ */ v(Oxe, [["render", Uxe]]), KH = J({
|
|
|
107702
107714
|
() => t.selectedItemTemplate?.type
|
|
107703
107715
|
),
|
|
107704
107716
|
mode: L(() => t.mode),
|
|
107705
|
-
|
|
107717
|
+
isAdminMaker: L(() => i.isAdminMaker),
|
|
107706
107718
|
contentSettingsStore: t,
|
|
107707
107719
|
userStore: n,
|
|
107708
107720
|
pageSettingsStore: o,
|
|
@@ -107714,7 +107726,7 @@ const zxe = /* @__PURE__ */ v(Oxe, [["render", Uxe]]), KH = J({
|
|
|
107714
107726
|
},
|
|
107715
107727
|
computed: {
|
|
107716
107728
|
isDeleteEnabled() {
|
|
107717
|
-
return this.
|
|
107729
|
+
return this.isAdminMaker;
|
|
107718
107730
|
},
|
|
107719
107731
|
selectedField() {
|
|
107720
107732
|
if (this.selectedItemFieldName)
|
|
@@ -107884,7 +107896,7 @@ function jxe(e, t, n, i, o, s) {
|
|
|
107884
107896
|
return u(), f("div", Gxe, [
|
|
107885
107897
|
T(r, {
|
|
107886
107898
|
"section-title": e.sectionTitle,
|
|
107887
|
-
"is-admin": e.
|
|
107899
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107888
107900
|
mode: e.mode,
|
|
107889
107901
|
"media-settings": e.imageSettings,
|
|
107890
107902
|
"active-tabs": e.activeTabs,
|
|
@@ -107895,7 +107907,7 @@ function jxe(e, t, n, i, o, s) {
|
|
|
107895
107907
|
onOnImagePicked: e.onImageSelected,
|
|
107896
107908
|
onOnImageRemoved: e.onImageRemoved,
|
|
107897
107909
|
onOnVideoSelected: e.onVideoSelected
|
|
107898
|
-
}, null, 8, ["section-title", "is-admin", "mode", "media-settings", "active-tabs", "onOnBack", "onOnDesignSelected", "onOnShapeSelected", "onOnImagePicked", "onOnImageRemoved", "onOnVideoSelected"])
|
|
107910
|
+
}, null, 8, ["section-title", "is-admin-maker", "mode", "media-settings", "active-tabs", "onOnBack", "onOnDesignSelected", "onOnShapeSelected", "onOnImagePicked", "onOnImageRemoved", "onOnVideoSelected"])
|
|
107899
107911
|
]);
|
|
107900
107912
|
}
|
|
107901
107913
|
const Wxe = /* @__PURE__ */ v(qxe, [["render", jxe]]), Kxe = {
|
|
@@ -108230,7 +108242,7 @@ const dVe = /* @__PURE__ */ v(iVe, [["render", cVe]]), S5 = {
|
|
|
108230
108242
|
),
|
|
108231
108243
|
sections: L(() => i.sections),
|
|
108232
108244
|
features: L(() => n.features),
|
|
108233
|
-
|
|
108245
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
108234
108246
|
isBrandSite: L(() => e.isBrandSite),
|
|
108235
108247
|
navigationStyleTypeConfigs: L(
|
|
108236
108248
|
() => s.navigationStyleTypeConfigs
|
|
@@ -108575,7 +108587,7 @@ const bVe = /* @__PURE__ */ v(fVe, [["render", wVe]]), eg = () => [
|
|
|
108575
108587
|
required: !1,
|
|
108576
108588
|
default: () => []
|
|
108577
108589
|
},
|
|
108578
|
-
|
|
108590
|
+
isAdminMaker: {
|
|
108579
108591
|
type: Boolean,
|
|
108580
108592
|
required: !0
|
|
108581
108593
|
},
|
|
@@ -108970,7 +108982,7 @@ const bVe = /* @__PURE__ */ v(fVe, [["render", wVe]]), eg = () => [
|
|
|
108970
108982
|
type: Array,
|
|
108971
108983
|
required: !0
|
|
108972
108984
|
},
|
|
108973
|
-
|
|
108985
|
+
isAdminMaker: {
|
|
108974
108986
|
type: Boolean,
|
|
108975
108987
|
required: !0
|
|
108976
108988
|
},
|
|
@@ -109104,43 +109116,43 @@ function EVe(e, t, n, i, o, s) {
|
|
|
109104
109116
|
id: "navigation-hamburger-default-button-style",
|
|
109105
109117
|
key: "navigation-hamburger-default-button-style",
|
|
109106
109118
|
name: "Default text style",
|
|
109107
|
-
"is-admin": e.
|
|
109119
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109108
109120
|
label: i.commonTr("defaultTextStyle"),
|
|
109109
109121
|
"logo-theme": e.logoTheme,
|
|
109110
109122
|
value: e.value.hamburgerMenuStyle.defaultButtonStyle,
|
|
109111
109123
|
"onUpdate:modelValue": t[0] || (t[0] = (c) => e.setTextStyleOption("defaultTextStyle", c))
|
|
109112
|
-
}, null, 8, ["is-admin", "label", "logo-theme", "value"]), [
|
|
109124
|
+
}, null, 8, ["is-admin-maker", "label", "logo-theme", "value"]), [
|
|
109113
109125
|
[N3, e.value.displayType.includes("hamburger")]
|
|
109114
109126
|
]),
|
|
109115
109127
|
Je(T(r, {
|
|
109116
109128
|
id: "navigation-default-button-style",
|
|
109117
109129
|
key: "navigation-default-button-style",
|
|
109118
109130
|
name: "Default text style",
|
|
109119
|
-
"is-admin": e.
|
|
109131
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109120
109132
|
label: i.commonTr("defaultTextStyle"),
|
|
109121
109133
|
"logo-theme": e.logoTheme,
|
|
109122
109134
|
value: e.value.defaultButtonStyle,
|
|
109123
109135
|
"show-text-alignment-options": !1,
|
|
109124
109136
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => e.setTextStyleOption("defaultTextStyle", c))
|
|
109125
|
-
}, null, 8, ["is-admin", "label", "logo-theme", "value"]), [
|
|
109137
|
+
}, null, 8, ["is-admin-maker", "label", "logo-theme", "value"]), [
|
|
109126
109138
|
[N3, !e.value.displayType.includes("hamburger")]
|
|
109127
109139
|
])
|
|
109128
109140
|
]),
|
|
109129
109141
|
(u(!0), f(S1, null, N1(e.navigationStyleOptions, (c, d) => (u(), f("div", {
|
|
109130
109142
|
key: d,
|
|
109131
109143
|
class: O(["tw-flex tw-justify-between tw-w-full", {
|
|
109132
|
-
"tw-items-start": e.
|
|
109133
|
-
"tw-items-center": !e.
|
|
109144
|
+
"tw-items-start": e.isAdminMaker,
|
|
109145
|
+
"tw-items-center": !e.isAdminMaker,
|
|
109134
109146
|
"tw-mb-4": d < e.navigationStyleOptions.length - 1
|
|
109135
109147
|
}])
|
|
109136
109148
|
}, [
|
|
109137
109149
|
p("div", LVe, [
|
|
109138
109150
|
p("p", {
|
|
109139
109151
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm tw-break-words", {
|
|
109140
|
-
"tw-mb-2": e.
|
|
109152
|
+
"tw-mb-2": e.isAdminMaker
|
|
109141
109153
|
}])
|
|
109142
109154
|
}, P(e.navigationStyleConfigOptionTitles[c]), 3),
|
|
109143
|
-
e.
|
|
109155
|
+
e.isAdminMaker ? (u(), f("div", TVe, [
|
|
109144
109156
|
T(a, {
|
|
109145
109157
|
id: `${c}-color-matched`,
|
|
109146
109158
|
"model-value": e.isOptionColorMatched(c),
|
|
@@ -109151,19 +109163,19 @@ function EVe(e, t, n, i, o, s) {
|
|
|
109151
109163
|
}, null, 8, ["id", "model-value", "onUpdate:modelValue"])
|
|
109152
109164
|
])) : k("", !0)
|
|
109153
109165
|
]),
|
|
109154
|
-
e.
|
|
109166
|
+
e.isAdminMaker && !e.isOptionColorMatched(c) || !e.isAdminMaker ? (u(), f("div", xVe, [
|
|
109155
109167
|
T(l, {
|
|
109156
109168
|
id: "navigationStyle",
|
|
109157
109169
|
name: "navigationStyle",
|
|
109158
109170
|
value: e.colorPickerValue(c),
|
|
109159
|
-
"is-admin": e.
|
|
109171
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109160
109172
|
"is-toggled": !1,
|
|
109161
109173
|
"logo-theme": e.logoTheme,
|
|
109162
109174
|
"disable-transparent": c !== "defaultBackgroundColor" && c !== "selectedBackgroundColor",
|
|
109163
109175
|
"onUpdate:modelValue": (C) => e.onColorPickerInput(c, C)
|
|
109164
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "disable-transparent", "onUpdate:modelValue"])
|
|
109176
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "disable-transparent", "onUpdate:modelValue"])
|
|
109165
109177
|
])) : k("", !0),
|
|
109166
|
-
e.
|
|
109178
|
+
e.isAdminMaker && e.isOptionColorMatched(c) ? (u(), f("div", VVe, [
|
|
109167
109179
|
p("select", {
|
|
109168
109180
|
class: "c-select c-button-style tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-pr-8 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
109169
109181
|
onChange: w1((C) => e.onColorPickerInput(c, C.target.value), ["stop"])
|
|
@@ -109413,11 +109425,11 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109413
109425
|
]),
|
|
109414
109426
|
T(g, {
|
|
109415
109427
|
"available-navigation-style-configs": e.availableNavigationStyleConfigs,
|
|
109416
|
-
"is-admin": e.
|
|
109428
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109417
109429
|
"logo-theme": e.logoTheme,
|
|
109418
109430
|
value: e.navigation,
|
|
109419
109431
|
onOptionValueChange: e.handleHeaderNavigationStyleOptionValueChange
|
|
109420
|
-
}, null, 8, ["available-navigation-style-configs", "is-admin", "logo-theme", "value", "onOptionValueChange"])
|
|
109432
|
+
}, null, 8, ["available-navigation-style-configs", "is-admin-maker", "logo-theme", "value", "onOptionValueChange"])
|
|
109421
109433
|
])) : k("", !0),
|
|
109422
109434
|
S === e.PAGE_SECTION_STYLE_OPTIONS.copyright ? (u(), f("div", eHe, [
|
|
109423
109435
|
p("div", tHe, [
|
|
@@ -109460,10 +109472,10 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109460
109472
|
"font-family-options": e.availableTextFontFamilyOptions,
|
|
109461
109473
|
value: e.fontStyle(x.propName),
|
|
109462
109474
|
"show-text-alignment-options": !1,
|
|
109463
|
-
"is-admin": e.
|
|
109475
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109464
109476
|
"logo-theme": e.logoTheme,
|
|
109465
109477
|
"onUpdate:modelValue": (I) => e.setTextStyleOption(x.propName, I)
|
|
109466
|
-
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
109478
|
+
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
109467
109479
|
])) : k("", !0),
|
|
109468
109480
|
S === e.PAGE_SECTION_STYLE_OPTIONS.iconColor ? (u(), f("div", lHe, [
|
|
109469
109481
|
T(b, {
|
|
@@ -109472,12 +109484,12 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109472
109484
|
name: "fill",
|
|
109473
109485
|
label: i.commonTr("iconColor"),
|
|
109474
109486
|
value: e.iconColor,
|
|
109475
|
-
"is-admin": e.
|
|
109487
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109476
109488
|
"logo-theme": e.logoTheme,
|
|
109477
109489
|
"toggle-unique-id": e.sectionName,
|
|
109478
109490
|
"disable-transparent": !0,
|
|
109479
109491
|
"onUpdate:modelValue": e.onSelectColor
|
|
109480
|
-
}, null, 8, ["label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109492
|
+
}, null, 8, ["label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109481
109493
|
])) : k("", !0),
|
|
109482
109494
|
S === e.PAGE_SECTION_STYLE_OPTIONS.backgroundColor ? (u(), f("div", cHe, [
|
|
109483
109495
|
T(b, {
|
|
@@ -109487,11 +109499,11 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109487
109499
|
name: "backgroundColor",
|
|
109488
109500
|
label: i.commonTr("backgroundColor"),
|
|
109489
109501
|
value: e.backgroundColor,
|
|
109490
|
-
"is-admin": e.
|
|
109502
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109491
109503
|
"logo-theme": e.logoTheme,
|
|
109492
109504
|
"toggle-unique-id": e.sectionName,
|
|
109493
109505
|
"onUpdate:modelValue": e.onSelectColor
|
|
109494
|
-
}, null, 8, ["class", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109506
|
+
}, null, 8, ["class", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109495
109507
|
])) : k("", !0),
|
|
109496
109508
|
S === e.PAGE_SECTION_STYLE_OPTIONS.footerDisplay ? (u(), f("div", dHe, [
|
|
109497
109509
|
e.showFooterDisplayStyle ? (u(), $(_, {
|
|
@@ -109503,7 +109515,7 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109503
109515
|
]))), 128))
|
|
109504
109516
|
], 64);
|
|
109505
109517
|
}
|
|
109506
|
-
const uHe = /* @__PURE__ */ v(UVe, [["render", CHe], ["__scopeId", "data-v-
|
|
109518
|
+
const uHe = /* @__PURE__ */ v(UVe, [["render", CHe], ["__scopeId", "data-v-4a885317"]]), pHe = {
|
|
109507
109519
|
key: 0,
|
|
109508
109520
|
style: { "border-radius": "8px" },
|
|
109509
109521
|
class: "tw-absolute tw-right-0 tw-top-full tw-mt-1 tw-list-none tw-bg-white tw-shadow-md tw-py-2 tw-z-30 tw-max-w-[242px]"
|
|
@@ -109926,11 +109938,11 @@ function $He(e, t, n, i, o, s) {
|
|
|
109926
109938
|
default: t1(() => [
|
|
109927
109939
|
T(C, {
|
|
109928
109940
|
"section-name": "header",
|
|
109929
|
-
"is-admin": e.
|
|
109941
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109930
109942
|
"is-brand-site": e.isBrandSite,
|
|
109931
109943
|
"logo-theme": e.logoTheme,
|
|
109932
109944
|
"style-options": e.headerPageSectionStyleOptions
|
|
109933
|
-
}, null, 8, ["is-admin", "is-brand-site", "logo-theme", "style-options"])
|
|
109945
|
+
}, null, 8, ["is-admin-maker", "is-brand-site", "logo-theme", "style-options"])
|
|
109934
109946
|
]),
|
|
109935
109947
|
_: 1
|
|
109936
109948
|
}, 8, ["title", "is-collapsed"]),
|
|
@@ -109945,12 +109957,12 @@ function $He(e, t, n, i, o, s) {
|
|
|
109945
109957
|
T(C, {
|
|
109946
109958
|
"section-name": "footer",
|
|
109947
109959
|
"font-settings-options": e.footerFontSettingsOptions,
|
|
109948
|
-
"is-admin": e.
|
|
109960
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109949
109961
|
"is-brand-site": e.isBrandSite,
|
|
109950
109962
|
"logo-theme": e.logoTheme,
|
|
109951
109963
|
"style-options": e.footerPageSectionStyleOptions
|
|
109952
|
-
}, null, 8, ["font-settings-options", "is-admin", "is-brand-site", "logo-theme", "style-options"]),
|
|
109953
|
-
!e.
|
|
109964
|
+
}, null, 8, ["font-settings-options", "is-admin-maker", "is-brand-site", "logo-theme", "style-options"]),
|
|
109965
|
+
!e.isAdminMaker && !e.isPrePurchase && e.showBrandCrowdLogo ? (u(), f("div", {
|
|
109954
109966
|
key: 0,
|
|
109955
109967
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer",
|
|
109956
109968
|
onClick: t[1] || (t[1] = (...m) => e.onHideBrandPageLogoClickFromFooter && e.onHideBrandPageLogoClickFromFooter(...m))
|
|
@@ -109981,7 +109993,7 @@ function $He(e, t, n, i, o, s) {
|
|
|
109981
109993
|
])
|
|
109982
109994
|
]);
|
|
109983
109995
|
}
|
|
109984
|
-
const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-
|
|
109996
|
+
const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-d2becd27"]]), QH = J({
|
|
109985
109997
|
emits: ["capture-preview-snapshot"],
|
|
109986
109998
|
setup() {
|
|
109987
109999
|
const e = L2(), t = le();
|
|
@@ -109998,7 +110010,7 @@ const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-4686f
|
|
|
109998
110010
|
isPersonalisationEnabled: L(
|
|
109999
110011
|
() => o.isPersonalisationEnabled
|
|
110000
110012
|
),
|
|
110001
|
-
|
|
110013
|
+
isAdminMaker: L(() => i.isAdminMaker),
|
|
110002
110014
|
canUseRichTextEditor: L(
|
|
110003
110015
|
() => n.features.canUseRichTextEditor
|
|
110004
110016
|
),
|
|
@@ -110097,7 +110109,7 @@ const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-4686f
|
|
|
110097
110109
|
return this.template?.displayName || "";
|
|
110098
110110
|
},
|
|
110099
110111
|
showPersonalisationField() {
|
|
110100
|
-
return this.
|
|
110112
|
+
return this.isAdminMaker && this.isPersonalisationEnabled;
|
|
110101
110113
|
},
|
|
110102
110114
|
personalisationRole() {
|
|
110103
110115
|
return this.getValue(this.id, "personalisationRole");
|
|
@@ -111248,7 +111260,7 @@ function sEe(e, t, n, i, o, s) {
|
|
|
111248
111260
|
}
|
|
111249
111261
|
const rEe = /* @__PURE__ */ v(iEe, [["render", sEe]]), aEe = J({
|
|
111250
111262
|
props: {
|
|
111251
|
-
|
|
111263
|
+
isAdminMaker: {
|
|
111252
111264
|
type: Boolean,
|
|
111253
111265
|
required: !1,
|
|
111254
111266
|
default: !1
|
|
@@ -111321,7 +111333,7 @@ const rEe = /* @__PURE__ */ v(iEe, [["render", sEe]]), aEe = J({
|
|
|
111321
111333
|
function dEe(e, t, n, i, o, s) {
|
|
111322
111334
|
const r = E("Button");
|
|
111323
111335
|
return u(), f("div", cEe, [
|
|
111324
|
-
!e.
|
|
111336
|
+
!e.isAdminMaker && e.isLivePreviewEnabled ? (u(), $(r, {
|
|
111325
111337
|
key: 0,
|
|
111326
111338
|
label: i.constantsTr("previewDisplayName"),
|
|
111327
111339
|
variant: "no-border",
|
|
@@ -111336,8 +111348,8 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111336
111348
|
}, null, 8, ["label", "onOnClick"])) : k("", !0),
|
|
111337
111349
|
e.isPublished ? k("", !0) : (u(), $(r, {
|
|
111338
111350
|
key: 1,
|
|
111339
|
-
label: e.
|
|
111340
|
-
variant: e.
|
|
111351
|
+
label: e.isAdminMaker ? i.actionBarTr("saveTemplate") : i.actionBarTr("saveProgress"),
|
|
111352
|
+
variant: e.isAdminMaker ? "primary" : "outline",
|
|
111341
111353
|
disabled: e.isSaving,
|
|
111342
111354
|
white: !0,
|
|
111343
111355
|
size: "small-medium",
|
|
@@ -111345,7 +111357,7 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111345
111357
|
classes: "!tw-px-3 lg:!tw-px-6 tw-w-full lg:tw-w-auto tw-whitespace-nowrap",
|
|
111346
111358
|
onOnClick: w1(e.saveBrandPage, ["stop"])
|
|
111347
111359
|
}, null, 8, ["label", "variant", "disabled", "onOnClick"])),
|
|
111348
|
-
e.isBrandContact && e.isPublished && !e.
|
|
111360
|
+
e.isBrandContact && e.isPublished && !e.isAdminMaker ? (u(), $(r, {
|
|
111349
111361
|
key: 2,
|
|
111350
111362
|
label: i.actionBarTr("createTeamCards"),
|
|
111351
111363
|
variant: "gray",
|
|
@@ -111355,7 +111367,7 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111355
111367
|
"data-test-create-team-cards-button": "",
|
|
111356
111368
|
onOnClick: t[0] || (t[0] = w1((a) => e.createTeamCards(!0), ["stop"]))
|
|
111357
111369
|
}, null, 8, ["label"])) : k("", !0),
|
|
111358
|
-
e.
|
|
111370
|
+
e.isAdminMaker ? k("", !0) : (u(), $(r, {
|
|
111359
111371
|
key: 3,
|
|
111360
111372
|
label: i.actionBarTr("publish"),
|
|
111361
111373
|
variant: e.isPublishButtonEnabled ? "success" : "gray",
|
|
@@ -111593,11 +111605,11 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111593
111605
|
return u(), f("header", {
|
|
111594
111606
|
"data-component": "navigation",
|
|
111595
111607
|
class: O(["js-bp-header tw-h-24 lg:tw-h-16 tw-box-border lg:tw-py-4 lg:tw-px-5 tw-z-30 tw-fixed tw-w-full lg:tw-relative", {
|
|
111596
|
-
"tw-bg-grayscale-800": !e.
|
|
111608
|
+
"tw-bg-grayscale-800": !e.isAdminMaker
|
|
111597
111609
|
}])
|
|
111598
111610
|
}, [
|
|
111599
111611
|
p("div", kEe, [
|
|
111600
|
-
e.
|
|
111612
|
+
e.isAdminMaker ? k("", !0) : (u(), f("div", LEe, [
|
|
111601
111613
|
T(r, {
|
|
111602
111614
|
"brand-crowd-url": e.brandCrowdUrl,
|
|
111603
111615
|
"is-design-com": e.isDesignCom,
|
|
@@ -111608,7 +111620,7 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111608
111620
|
key: 1,
|
|
111609
111621
|
class: "tw-hidden lg:tw-flex"
|
|
111610
111622
|
})) : k("", !0),
|
|
111611
|
-
e.
|
|
111623
|
+
e.isAdminMaker || !i.showBreadcrumb ? (u(), $(l, {
|
|
111612
111624
|
key: 2,
|
|
111613
111625
|
label: i.backButtonLabel,
|
|
111614
111626
|
variant: "no-border",
|
|
@@ -111628,7 +111640,7 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111628
111640
|
])
|
|
111629
111641
|
], 2);
|
|
111630
111642
|
}
|
|
111631
|
-
const xEe = /* @__PURE__ */ v(MEe, [["render", TEe], ["__scopeId", "data-v-
|
|
111643
|
+
const xEe = /* @__PURE__ */ v(MEe, [["render", TEe], ["__scopeId", "data-v-b1e86b09"]]), VEe = 250, oI = J({
|
|
111632
111644
|
components: {
|
|
111633
111645
|
HelloBar: p0,
|
|
111634
111646
|
BrandPageMakerPage: yc,
|
|
@@ -112074,7 +112086,7 @@ const XEe = /* @__PURE__ */ v(UEe, [["render", YEe], ["__scopeId", "data-v-d1836
|
|
|
112074
112086
|
brandPageContainerStore: t,
|
|
112075
112087
|
tabs: L(() => e.tabs),
|
|
112076
112088
|
selectedTabName: L(() => e.selectedTabName),
|
|
112077
|
-
|
|
112089
|
+
isAdminMaker: L(() => t.isAdminMaker),
|
|
112078
112090
|
contentSettingsMode: L(() => i.mode),
|
|
112079
112091
|
contentSettingsSelectedItemId: L(
|
|
112080
112092
|
() => i.selectedItemId
|
|
@@ -112115,7 +112127,7 @@ const XEe = /* @__PURE__ */ v(UEe, [["render", YEe], ["__scopeId", "data-v-d1836
|
|
|
112115
112127
|
this.sideBarStore.setSelectedTabName({ tabName: this.mobileTabName });
|
|
112116
112128
|
},
|
|
112117
112129
|
shouldDisplayTab(e) {
|
|
112118
|
-
return this.isBrandPageLoaded === !1 && this.isPrePurchase === !1 || this.
|
|
112130
|
+
return this.isBrandPageLoaded === !1 && this.isPrePurchase === !1 || this.isAdminMaker && e.isDisabledForAdmin || !this.isAdminMaker && e.isEnabledForAdminOnly === !0 ? !1 : this.isPrepurchase && e.isPrepurchaseOnly === !0 ? !0 : !this.isMobileScreenSize && e.isMobileOnly ? !1 : e.name === P2.AI_WEBSITE_BUILDER ? this.isAiWebsiteAssistantVisible : e.isVisible;
|
|
112119
112131
|
},
|
|
112120
112132
|
contentScrollToTop() {
|
|
112121
112133
|
const e = this.$refs[this.sideBarContentRef];
|
|
@@ -112271,7 +112283,7 @@ const dPe = /* @__PURE__ */ v(oPe, [["render", cPe]]), lI = J({
|
|
|
112271
112283
|
isDefaultTextColorRequired: L(
|
|
112272
112284
|
() => e.isDefaultTextColorRequired
|
|
112273
112285
|
),
|
|
112274
|
-
|
|
112286
|
+
isAdminMaker: L(() => o.isAdminMaker),
|
|
112275
112287
|
brandPageType: L(() => i.brandPageType),
|
|
112276
112288
|
showBrandCrowdLogo: L(
|
|
112277
112289
|
() => i.showBrandCrowdLogo
|
|
@@ -112329,7 +112341,7 @@ const dPe = /* @__PURE__ */ v(oPe, [["render", cPe]]), lI = J({
|
|
|
112329
112341
|
}
|
|
112330
112342
|
},
|
|
112331
112343
|
created() {
|
|
112332
|
-
this.
|
|
112344
|
+
this.isAdminMaker && Object.keys(this.isColorMatch).forEach((e) => {
|
|
112333
112345
|
this.isColorMatch[e] = typeof this[e] == "string" && Zt(this[e]);
|
|
112334
112346
|
});
|
|
112335
112347
|
},
|
|
@@ -112506,12 +112518,12 @@ const mPe = /* @__PURE__ */ v(fPe, [["render", gPe]]), yPe = { "data-component":
|
|
|
112506
112518
|
value: w.style,
|
|
112507
112519
|
"show-text-alignment-options": !1,
|
|
112508
112520
|
"white-background": !0,
|
|
112509
|
-
"is-admin": l.value,
|
|
112521
|
+
"is-admin-maker": l.value,
|
|
112510
112522
|
"logo-theme": d.value,
|
|
112511
112523
|
"show-text-style-type-options": !1,
|
|
112512
112524
|
"title-text-size": "base",
|
|
112513
112525
|
"onUpdate:modelValue": (b) => h(w.type, b)
|
|
112514
|
-
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
112526
|
+
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
112515
112527
|
]));
|
|
112516
112528
|
}
|
|
112517
112529
|
}), bPe = {
|
|
@@ -112543,15 +112555,15 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112543
112555
|
T(r, {
|
|
112544
112556
|
title: i.styleSettingsTr("styleTitle")
|
|
112545
112557
|
}, null, 8, ["title"]),
|
|
112546
|
-
e.
|
|
112558
|
+
e.isAdminMaker ? (u(), $(c, { key: 0 }, {
|
|
112547
112559
|
default: t1(() => [
|
|
112548
112560
|
p("div", SPe, [
|
|
112549
112561
|
p("p", {
|
|
112550
112562
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112551
|
-
"tw-mb-2": e.
|
|
112563
|
+
"tw-mb-2": e.isAdminMaker
|
|
112552
112564
|
}])
|
|
112553
112565
|
}, P(i.styleSettingsTr("logoBackgroundColor")), 3),
|
|
112554
|
-
e.
|
|
112566
|
+
e.isAdminMaker ? (u(), f("div", _Pe, [
|
|
112555
112567
|
T(a, {
|
|
112556
112568
|
id: "logo-background-color-matched",
|
|
112557
112569
|
"model-value": e.isColorMatch.logoBackgroundColor,
|
|
@@ -112562,7 +112574,7 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112562
112574
|
}, null, 8, ["model-value", "label"])
|
|
112563
112575
|
])) : k("", !0)
|
|
112564
112576
|
]),
|
|
112565
|
-
e.
|
|
112577
|
+
e.isAdminMaker && e.isColorMatch.logoBackgroundColor ? (u(), f("div", MPe, [
|
|
112566
112578
|
p("select", {
|
|
112567
112579
|
class: "c-select c-button-style tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-pr-8 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
112568
112580
|
onChange: t[1] || (t[1] = w1((m) => e.onColorPickerInput("logoBackgroundColor", m), ["stop"]))
|
|
@@ -112574,42 +112586,42 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112574
112586
|
}, P(m), 9, kPe))), 128))
|
|
112575
112587
|
], 32)
|
|
112576
112588
|
])) : k("", !0),
|
|
112577
|
-
e.
|
|
112589
|
+
e.isAdminMaker && !e.isColorMatch.logoBackgroundColor ? (u(), f("div", LPe, [
|
|
112578
112590
|
T(l, {
|
|
112579
112591
|
id: "iconStyle",
|
|
112580
112592
|
name: "fill",
|
|
112581
112593
|
value: e.colorPickerValue("logoBackgroundColor"),
|
|
112582
|
-
"is-admin": e.
|
|
112594
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112583
112595
|
"logo-theme": e.logoTheme,
|
|
112584
112596
|
"toggle-unique-id": e.sectionName,
|
|
112585
112597
|
"disable-transparent": !0,
|
|
112586
112598
|
"onUpdate:modelValue": t[2] || (t[2] = (m) => e.onColorPickerInput("logoBackgroundColor", m))
|
|
112587
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id"])
|
|
112599
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id"])
|
|
112588
112600
|
])) : k("", !0)
|
|
112589
112601
|
]),
|
|
112590
112602
|
_: 1
|
|
112591
112603
|
})) : k("", !0),
|
|
112592
|
-
e.
|
|
112604
|
+
e.isAdminMaker ? (u(), $(c, { key: 1 }, {
|
|
112593
112605
|
default: t1(() => [
|
|
112594
112606
|
T(d)
|
|
112595
112607
|
]),
|
|
112596
112608
|
_: 1
|
|
112597
112609
|
})) : k("", !0),
|
|
112598
|
-
e.
|
|
112610
|
+
e.isAdminMaker && e.isDefaultTextColorRequired ? (u(), $(c, { key: 2 }, {
|
|
112599
112611
|
default: t1(() => [
|
|
112600
112612
|
p("div", {
|
|
112601
112613
|
class: O(["tw-flex tw-justify-between tw-w-full", {
|
|
112602
|
-
"tw-items-start": e.
|
|
112603
|
-
"tw-items-center": !e.
|
|
112614
|
+
"tw-items-start": e.isAdminMaker,
|
|
112615
|
+
"tw-items-center": !e.isAdminMaker
|
|
112604
112616
|
}])
|
|
112605
112617
|
}, [
|
|
112606
112618
|
p("div", TPe, [
|
|
112607
112619
|
p("p", {
|
|
112608
112620
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112609
|
-
"tw-mb-2": e.
|
|
112621
|
+
"tw-mb-2": e.isAdminMaker
|
|
112610
112622
|
}])
|
|
112611
112623
|
}, P(i.styleSettingsTr("defaultTextColor")), 3),
|
|
112612
|
-
e.
|
|
112624
|
+
e.isAdminMaker ? (u(), f("div", xPe, [
|
|
112613
112625
|
T(a, {
|
|
112614
112626
|
id: "default-text-color-matched",
|
|
112615
112627
|
"model-value": e.isColorMatch.defaultTextColor,
|
|
@@ -112620,19 +112632,19 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112620
112632
|
}, null, 8, ["model-value", "label"])
|
|
112621
112633
|
])) : k("", !0)
|
|
112622
112634
|
]),
|
|
112623
|
-
e.
|
|
112635
|
+
e.isAdminMaker && !e.isColorMatch.defaultTextColor || !e.isAdminMaker ? (u(), f("div", VPe, [
|
|
112624
112636
|
T(l, {
|
|
112625
112637
|
id: "iconStyle",
|
|
112626
112638
|
name: "fill",
|
|
112627
112639
|
value: e.colorPickerValue("defaultTextColor"),
|
|
112628
|
-
"is-admin": e.
|
|
112640
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112629
112641
|
"logo-theme": e.logoTheme,
|
|
112630
112642
|
"toggle-unique-id": e.sectionName,
|
|
112631
112643
|
"disable-transparent": !0,
|
|
112632
112644
|
"onUpdate:modelValue": t[4] || (t[4] = (m) => e.onColorPickerInput("defaultTextColor", m))
|
|
112633
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id"])
|
|
112645
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id"])
|
|
112634
112646
|
])) : k("", !0),
|
|
112635
|
-
e.
|
|
112647
|
+
e.isAdminMaker && e.isColorMatch.defaultTextColor ? (u(), f("div", HPe, [
|
|
112636
112648
|
p("select", {
|
|
112637
112649
|
class: "c-select c-button-style tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-pr-8 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
112638
112650
|
onChange: t[5] || (t[5] = w1((m) => e.onColorPickerInput("defaultTextColor", m), ["stop"]))
|
|
@@ -112690,17 +112702,17 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112690
112702
|
(u(!0), f(S1, null, N1(e.filteredButtonStyleOptions, (m, y) => (u(), f("div", {
|
|
112691
112703
|
key: y,
|
|
112692
112704
|
class: O(["tw-mb-4 tw-flex tw-justify-between", {
|
|
112693
|
-
"tw-items-start": e.
|
|
112694
|
-
"tw-items-center": !e.
|
|
112705
|
+
"tw-items-start": e.isAdminMaker,
|
|
112706
|
+
"tw-items-center": !e.isAdminMaker
|
|
112695
112707
|
}])
|
|
112696
112708
|
}, [
|
|
112697
112709
|
p("div", BPe, [
|
|
112698
112710
|
p("p", {
|
|
112699
112711
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112700
|
-
"tw-mb-2": e.
|
|
112712
|
+
"tw-mb-2": e.isAdminMaker
|
|
112701
112713
|
}])
|
|
112702
112714
|
}, P(e.getButtonStyleConfigOptionTitle(m)), 3),
|
|
112703
|
-
e.
|
|
112715
|
+
e.isAdminMaker ? (u(), f("div", OPe, [
|
|
112704
112716
|
T(a, {
|
|
112705
112717
|
id: `picker-colour-matched-${m}`,
|
|
112706
112718
|
"model-value": e.isColorMatch[m],
|
|
@@ -112711,19 +112723,19 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112711
112723
|
}, null, 8, ["id", "model-value", "onUpdate:modelValue"])
|
|
112712
112724
|
])) : k("", !0)
|
|
112713
112725
|
]),
|
|
112714
|
-
e.
|
|
112726
|
+
e.isAdminMaker && !e.isColorMatch[m] || !e.isAdminMaker ? (u(), f("div", DPe, [
|
|
112715
112727
|
T(l, {
|
|
112716
112728
|
id: "iconStyle",
|
|
112717
112729
|
name: "fill",
|
|
112718
112730
|
value: e.colorPickerValue(m),
|
|
112719
|
-
"is-admin": e.
|
|
112731
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112720
112732
|
"logo-theme": e.logoTheme,
|
|
112721
112733
|
"toggle-unique-id": e.sectionName,
|
|
112722
112734
|
"disable-transparent": !0,
|
|
112723
112735
|
"onUpdate:modelValue": (w) => e.onColorPickerInput(m, w)
|
|
112724
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
112736
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
112725
112737
|
])) : k("", !0),
|
|
112726
|
-
e.
|
|
112738
|
+
e.isAdminMaker && e.isColorMatch[m] ? (u(), f("div", NPe, [
|
|
112727
112739
|
p("select", {
|
|
112728
112740
|
class: "c-select c-button-style tw-border tw-appearance-none tw-border-none tw-h-10 tw-pl-2 tw-pr-8 tw-rounded tw-cursor-pointer tw-transition-all tw-duration-300 tw-bg-white",
|
|
112729
112741
|
onChange: w1((w) => e.onColorPickerInputDropdown(m, w.target.value), ["stop"])
|
|
@@ -112754,7 +112766,7 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112754
112766
|
]),
|
|
112755
112767
|
_: 1
|
|
112756
112768
|
}),
|
|
112757
|
-
!e.
|
|
112769
|
+
!e.isAdminMaker && !e.isPrePurchase && e.showBrandCrowdLogo ? (u(), f("div", {
|
|
112758
112770
|
key: 3,
|
|
112759
112771
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer",
|
|
112760
112772
|
onClick: t[6] || (t[6] = (...m) => e.onHideBrandPageLogoClick && e.onHideBrandPageLogoClick(...m))
|
|
@@ -113022,7 +113034,7 @@ const oAe = 100, dI = J({
|
|
|
113022
113034
|
backButtonLabel: L(() => r.backButtonLabel),
|
|
113023
113035
|
isDesignCom: L(() => r.isDesignCom),
|
|
113024
113036
|
selectedTabName: L(() => t.selectedTabName),
|
|
113025
|
-
|
|
113037
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
113026
113038
|
contentErrorCount: L(() => i.contentErrorCount),
|
|
113027
113039
|
mode: L(() => i.mode),
|
|
113028
113040
|
brandPageMakerStore: e,
|
|
@@ -113530,7 +113542,7 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113530
113542
|
runtimeEnvironment: L(
|
|
113531
113543
|
() => t.runtimeEnvironment
|
|
113532
113544
|
),
|
|
113533
|
-
|
|
113545
|
+
isAdminMaker: L(() => t.isAdminMaker),
|
|
113534
113546
|
userToken: L(() => n.userToken),
|
|
113535
113547
|
isBrandSite: L(
|
|
113536
113548
|
() => e.brandPageType === c1.brandSite
|
|
@@ -113684,19 +113696,19 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113684
113696
|
},
|
|
113685
113697
|
watch: {
|
|
113686
113698
|
template() {
|
|
113687
|
-
this.
|
|
113699
|
+
this.isAdminMaker ? this.updateViewModel() : (this.imageLoading = !0, this.imageLoadError = !1);
|
|
113688
113700
|
},
|
|
113689
113701
|
logoTheme: {
|
|
113690
113702
|
handler() {
|
|
113691
|
-
this.
|
|
113703
|
+
this.isAdminMaker && this.updateViewModel();
|
|
113692
113704
|
},
|
|
113693
113705
|
deep: !0
|
|
113694
113706
|
},
|
|
113695
113707
|
logoImageBase64Url() {
|
|
113696
|
-
this.
|
|
113708
|
+
this.isAdminMaker && this.updateViewModel();
|
|
113697
113709
|
},
|
|
113698
113710
|
previewImageUrl() {
|
|
113699
|
-
this.
|
|
113711
|
+
this.isAdminMaker || (this.imageLoading = !0, this.imageLoadError = !1);
|
|
113700
113712
|
}
|
|
113701
113713
|
},
|
|
113702
113714
|
created() {
|
|
@@ -113736,7 +113748,7 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113736
113748
|
this.imageLoadError = !1, this.imageLoading = !0, this.$forceUpdate();
|
|
113737
113749
|
},
|
|
113738
113750
|
async updateViewModel(e = !0) {
|
|
113739
|
-
if (!this.
|
|
113751
|
+
if (!this.isAdminMaker)
|
|
113740
113752
|
return;
|
|
113741
113753
|
const t = y9();
|
|
113742
113754
|
let n = this.template.brandPageModel;
|
|
@@ -115677,7 +115689,7 @@ const dOe = /* @__PURE__ */ v(QBe, [["render", cOe]]), COe = { class: "tw-relati
|
|
|
115677
115689
|
const e = le(), t = x2(), n = X1();
|
|
115678
115690
|
return {
|
|
115679
115691
|
mode: L(() => e.mode),
|
|
115680
|
-
|
|
115692
|
+
isAdminMaker: L(() => n.isAdminMaker),
|
|
115681
115693
|
brandPageMakerStore: e,
|
|
115682
115694
|
userStore: t
|
|
115683
115695
|
};
|
|
@@ -115763,7 +115775,7 @@ function EOe(e, t, n, i, o, s) {
|
|
|
115763
115775
|
"section-title": e.sectionTitle,
|
|
115764
115776
|
"media-settings": e.mediaSettings,
|
|
115765
115777
|
"image-extension": e.mediaExtension,
|
|
115766
|
-
"is-admin": e.
|
|
115778
|
+
"is-admin-maker": e.isAdminMaker,
|
|
115767
115779
|
mode: e.mode,
|
|
115768
115780
|
"active-tabs": e.activeTabs,
|
|
115769
115781
|
"media-type": e.mediaType,
|
|
@@ -115771,7 +115783,7 @@ function EOe(e, t, n, i, o, s) {
|
|
|
115771
115783
|
onOnDesignSelected: e.onDesignSelected,
|
|
115772
115784
|
onOnImagePicked: e.onImageSelected,
|
|
115773
115785
|
onOnImageRemoved: e.onImageRemoved
|
|
115774
|
-
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin", "mode", "active-tabs", "media-type", "onOnBack", "onOnDesignSelected", "onOnImagePicked", "onOnImageRemoved"])
|
|
115786
|
+
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin-maker", "mode", "active-tabs", "media-type", "onOnBack", "onOnDesignSelected", "onOnImagePicked", "onOnImageRemoved"])
|
|
115775
115787
|
]);
|
|
115776
115788
|
}
|
|
115777
115789
|
const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
@@ -115781,7 +115793,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
115781
115793
|
}, $Oe = { class: "section" }, BOe = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, OOe = { class: "tw-flex-none tw-mt-4" }, DOe = { class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer" }, NOe = { class: "tw-flex tw-items-center" }, ROe = { class: "tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm tw-mr-2" }, ZOe = { class: "tw-flex-none tw-mt-4" }, FOe = { class: "tw-flex tw-items-center tw-gap-1" }, UOe = { class: "tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm" }, zOe = { class: "tw-text-grayscale-600 tw-font-normal" }, qOe = { class: "tw-inline-block tw-text-primary-500 tw-border-2 tw-border-solid tw-border-current tw-rounded-full tw-px-3 tw-py-px tw-uppercase tw-text-xs" }, GOe = /* @__PURE__ */ J({
|
|
115782
115794
|
__name: "SaveContact",
|
|
115783
115795
|
props: {
|
|
115784
|
-
|
|
115796
|
+
isAdminMaker: { type: Boolean },
|
|
115785
115797
|
isPrePurchase: { type: Boolean },
|
|
115786
115798
|
isDesignCom: { type: Boolean }
|
|
115787
115799
|
},
|
|
@@ -115839,7 +115851,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
115839
115851
|
])
|
|
115840
115852
|
]),
|
|
115841
115853
|
p("div", ZOe, [
|
|
115842
|
-
!e.
|
|
115854
|
+
!e.isAdminMaker && !e.isPrePurchase && s.value ? (u(), f("div", {
|
|
115843
115855
|
key: 0,
|
|
115844
115856
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer tw-gap-1",
|
|
115845
115857
|
onClick: h
|
|
@@ -116100,10 +116112,10 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
116100
116112
|
default: t1(() => [
|
|
116101
116113
|
p("div", nDe, [
|
|
116102
116114
|
T(GOe, {
|
|
116103
|
-
"is-admin": m.value,
|
|
116115
|
+
"is-admin-maker": m.value,
|
|
116104
116116
|
"is-pre-purchase": _.value,
|
|
116105
116117
|
"is-design-com": y.value
|
|
116106
|
-
}, null, 8, ["is-admin", "is-pre-purchase", "is-design-com"])
|
|
116118
|
+
}, null, 8, ["is-admin-maker", "is-pre-purchase", "is-design-com"])
|
|
116107
116119
|
])
|
|
116108
116120
|
]),
|
|
116109
116121
|
_: 1
|
|
@@ -116124,7 +116136,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
116124
116136
|
])) : k("", !0)
|
|
116125
116137
|
]));
|
|
116126
116138
|
}
|
|
116127
|
-
}), sDe = /* @__PURE__ */ v(oDe, [["__scopeId", "data-v-
|
|
116139
|
+
}), sDe = /* @__PURE__ */ v(oDe, [["__scopeId", "data-v-f775b41a"]]), bI = J({
|
|
116128
116140
|
setup() {
|
|
116129
116141
|
const e = KN(), t = L2(), n = le();
|
|
116130
116142
|
return {
|
|
@@ -121158,7 +121170,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121158
121170
|
class: "tw-font-sans"
|
|
121159
121171
|
}, [
|
|
121160
121172
|
T(r, {
|
|
121161
|
-
"is-admin": e.
|
|
121173
|
+
"is-admin-maker": e.isAdminMaker,
|
|
121162
121174
|
"is-published": e.isPublished,
|
|
121163
121175
|
"is-saving": e.isSaving,
|
|
121164
121176
|
"brand-crowd-url": i.brandCrowdUrl,
|
|
@@ -121170,7 +121182,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121170
121182
|
onPublish: t[1] || (t[1] = (M) => e.saveAndPublishBrandPage(!1)),
|
|
121171
121183
|
onPreview: e.onPreview,
|
|
121172
121184
|
onCreateTeamCards: e.onCreateTeamCards
|
|
121173
|
-
}, null, 8, ["is-admin", "is-published", "is-saving", "brand-crowd-url", "back-url", "back-button-label", "is-design-com", "onBack", "onPreview", "onCreateTeamCards"]),
|
|
121185
|
+
}, null, 8, ["is-admin-maker", "is-published", "is-saving", "brand-crowd-url", "back-url", "back-button-label", "is-design-com", "onBack", "onPreview", "onCreateTeamCards"]),
|
|
121174
121186
|
R1(e.$slots, "editButtonHeader", {}, void 0, !0),
|
|
121175
121187
|
p("div", IZe, [
|
|
121176
121188
|
p("div", EZe, [
|
|
@@ -121283,7 +121295,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121283
121295
|
}, null, 8, ["visible", "onPublish", "onClose"])
|
|
121284
121296
|
], 8, HZe);
|
|
121285
121297
|
}
|
|
121286
|
-
const IUe = /* @__PURE__ */ v(VZe, [["render", UZe], ["__scopeId", "data-v-
|
|
121298
|
+
const IUe = /* @__PURE__ */ v(VZe, [["render", UZe], ["__scopeId", "data-v-08af5b72"]]), QI = J({
|
|
121287
121299
|
props: {
|
|
121288
121300
|
visible: {
|
|
121289
121301
|
type: Boolean,
|