@designcrowd/library.brand-page 6.1.6-use-isadminmaker-2 → 6.1.6-use-isadminmaker-3
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-t5akeGDG.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Br3HqLLr.js → CreatedOnBrandCrowd-en-us-D6iRa7UV.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DwkIQVgN.js → CreatedOnBrandCrowd-es-es-BHwAxInw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DqeI8mF_.js → CreatedOnBrandCrowd-fr-ca-DETrOR_X.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DqeI8mF_.js → CreatedOnBrandCrowd-fr-fr-DETrOR_X.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-bvgq_CN8.js → CreatedOnBrandCrowd-pt-br-CtWsOLWg.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-bvgq_CN8.js → CreatedOnBrandCrowd-pt-pt-CtWsOLWg.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-nT3MnRXy.js → CreatedOnDcom-de-de-DsEbB4hv.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-D2TYrEzJ.js → CreatedOnDcom-en-us-CA3kvbs5.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-Q-5tnP12.js → CreatedOnDcom-es-es-B7o8joWb.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-txkwqCzm.js → CreatedOnDcom-fr-ca-Yz1cvzRY.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CUnJXLgr.js → CreatedOnDcom-fr-fr-BETGUOnB.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-7XAwvP9H.js → CreatedOnDcom-pt-br-B37QJXKn.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DjhLiioZ.js → CreatedOnDcom-pt-pt-DMkIALyd.js} +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +1 -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 +1 -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/template-preview/TemplatePreview.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +6 -6
- 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-BgxxXPxt.js} +191 -191
- 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/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/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 +1 -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 +2 -2
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -1
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +1 -1
- package/lib/src/shared/side-bar/components/SideBar.mixin.js +3 -3
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -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/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/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-t5akeGDG.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-D6iRa7UV.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BHwAxInw.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-DETrOR_X.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-DETrOR_X.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-CtWsOLWg.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-CtWsOLWg.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DsEbB4hv.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CA3kvbs5.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-B7o8joWb.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Yz1cvzRY.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BETGUOnB.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-B37QJXKn.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-DMkIALyd.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-D6iRa7UV.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-CA3kvbs5.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
68191
68191
|
i.value = x;
|
|
68192
68192
|
}
|
|
68193
68193
|
}, {
|
|
@@ -88523,7 +88523,7 @@ const Wd = J({
|
|
|
88523
88523
|
setup() {
|
|
88524
88524
|
const e = x2(), t = le(), n = X1();
|
|
88525
88525
|
return {
|
|
88526
|
-
|
|
88526
|
+
isAdminMaker: L(() => n.isAdminMaker),
|
|
88527
88527
|
// BP-5873: the Preview button is behind an AB test, and pre/post purchase are
|
|
88528
88528
|
// two separate experiments. Pick the one for the current purchase state — a
|
|
88529
88529
|
// user's value on the other side is independent and must not leak across.
|
|
@@ -88575,7 +88575,7 @@ const Wd = J({
|
|
|
88575
88575
|
};
|
|
88576
88576
|
function h7e(e, t, n, i, o, s) {
|
|
88577
88577
|
const r = E("Button");
|
|
88578
|
-
return e.
|
|
88578
|
+
return e.isAdminMaker ? k("", !0) : (u(), f("div", f7e, [
|
|
88579
88579
|
e.isPublished ? k("", !0) : (u(), $(r, {
|
|
88580
88580
|
key: 0,
|
|
88581
88581
|
label: i.actionBarTr("saveProgress"),
|
|
@@ -91000,7 +91000,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91000
91000
|
value: {},
|
|
91001
91001
|
valueConvertor: { default: void 0 },
|
|
91002
91002
|
label: { default: void 0 },
|
|
91003
|
-
|
|
91003
|
+
isAdminMaker: { type: Boolean },
|
|
91004
91004
|
logoTheme: {},
|
|
91005
91005
|
toggleUniqueId: { default: "" },
|
|
91006
91006
|
enableColorMatch: { type: Boolean, default: !1 },
|
|
@@ -91075,7 +91075,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91075
91075
|
(I, B) => {
|
|
91076
91076
|
if (!s.value || I === B)
|
|
91077
91077
|
return;
|
|
91078
|
-
if (n.
|
|
91078
|
+
if (n.isAdminMaker && !I) {
|
|
91079
91079
|
a.value = "", S();
|
|
91080
91080
|
return;
|
|
91081
91081
|
}
|
|
@@ -91094,13 +91094,13 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91094
91094
|
"data-component": "color-field",
|
|
91095
91095
|
class: O(["tw-flex", {
|
|
91096
91096
|
"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.
|
|
91097
|
+
"tw-flex-col tw-gap-y-2 tw-w-full": e.isAdminMaker,
|
|
91098
|
+
"tw-gap-2 tw-justify-between tw-items-center": !e.isAdminMaker
|
|
91099
91099
|
}])
|
|
91100
91100
|
}, [
|
|
91101
91101
|
e.label ? (u(), f("span", zne, P(e.label), 1)) : k("", !0),
|
|
91102
91102
|
p("div", qne, [
|
|
91103
|
-
e.
|
|
91103
|
+
e.isAdminMaker && e.enableColorMatch ? (u(), $(H(U3), {
|
|
91104
91104
|
key: 0,
|
|
91105
91105
|
id: `${e.id}-${e.name}-color-matched${g.value}`,
|
|
91106
91106
|
"model-value": h.value,
|
|
@@ -91123,7 +91123,7 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91123
91123
|
onInput: w
|
|
91124
91124
|
}, null, 8, ["custom-groups", "popup", "color", "use-v2", "is-rich-text-editor", "icon-type", "show-gradients"])) : k("", !0)
|
|
91125
91125
|
]),
|
|
91126
|
-
e.
|
|
91126
|
+
e.isAdminMaker && !e.isRichTextEditor && h.value ? (u(), f("div", jne, [
|
|
91127
91127
|
p("select", {
|
|
91128
91128
|
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
91129
|
onChange: B[0] || (B[0] = w1((F) => b(
|
|
@@ -91163,14 +91163,14 @@ const Bne = /* @__PURE__ */ v(Pne, [["render", $ne]]), One = {
|
|
|
91163
91163
|
id: "background-color",
|
|
91164
91164
|
name: "background",
|
|
91165
91165
|
value: s.value.style.background || "",
|
|
91166
|
-
"is-admin": o.value,
|
|
91166
|
+
"is-admin-maker": o.value,
|
|
91167
91167
|
"logo-theme": e.logoTheme,
|
|
91168
91168
|
"enable-color-match": o.value,
|
|
91169
91169
|
"show-gradients": "",
|
|
91170
91170
|
"disable-transparent": "",
|
|
91171
91171
|
label: H(E2)("backgroundColor"),
|
|
91172
91172
|
"onUpdate:modelValue": l
|
|
91173
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "label"]),
|
|
91173
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "label"]),
|
|
91174
91174
|
a.value && o.value ? (u(), $(H(p0), {
|
|
91175
91175
|
key: 0,
|
|
91176
91176
|
label: "Color Matched Logo",
|
|
@@ -91673,14 +91673,14 @@ const nt = /* @__PURE__ */ v(uie, [["render", hie]]), gie = {
|
|
|
91673
91673
|
id: "background-shapes",
|
|
91674
91674
|
name: "shapeColor",
|
|
91675
91675
|
value: g.value,
|
|
91676
|
-
"is-admin": i.value,
|
|
91676
|
+
"is-admin-maker": i.value,
|
|
91677
91677
|
"logo-theme": e.logoTheme,
|
|
91678
91678
|
"enable-color-match": i.value,
|
|
91679
91679
|
"disable-transparent": !0,
|
|
91680
91680
|
"custom-groups": e.customGroups,
|
|
91681
91681
|
label: H(E2)("shapeColor"),
|
|
91682
91682
|
"onUpdate:modelValue": m
|
|
91683
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "custom-groups", "label"]),
|
|
91683
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "custom-groups", "label"]),
|
|
91684
91684
|
p("p", vie, P(H(E2)("shapeItems")), 1),
|
|
91685
91685
|
T(c7, {
|
|
91686
91686
|
items: h.value,
|
|
@@ -91859,14 +91859,14 @@ const nt = /* @__PURE__ */ v(uie, [["render", hie]]), gie = {
|
|
|
91859
91859
|
id: "background-shape",
|
|
91860
91860
|
name: "shapeColor",
|
|
91861
91861
|
value: H(r),
|
|
91862
|
-
"is-admin": i.value,
|
|
91862
|
+
"is-admin-maker": i.value,
|
|
91863
91863
|
"logo-theme": e.logoTheme,
|
|
91864
91864
|
"enable-color-match": i.value,
|
|
91865
91865
|
"disable-transparent": !0,
|
|
91866
91866
|
"custom-groups": e.customGroups,
|
|
91867
91867
|
label: H(E2)("shapeColor"),
|
|
91868
91868
|
"onUpdate:modelValue": H(a)
|
|
91869
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "custom-groups", "label", "onUpdate:modelValue"]),
|
|
91869
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "custom-groups", "label", "onUpdate:modelValue"]),
|
|
91870
91870
|
p("div", $ie, [
|
|
91871
91871
|
p("span", Bie, P(H(E2)("opacity")), 1),
|
|
91872
91872
|
T(H(j9), {
|
|
@@ -92247,7 +92247,7 @@ const Die = { key: 2 }, Nie = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, Rie
|
|
|
92247
92247
|
])) : k("", !0)
|
|
92248
92248
|
]));
|
|
92249
92249
|
}
|
|
92250
|
-
}), MR = /* @__PURE__ */ v(roe, [["__scopeId", "data-v-
|
|
92250
|
+
}), MR = /* @__PURE__ */ v(roe, [["__scopeId", "data-v-a77d954c"]]), aoe = {
|
|
92251
92251
|
key: 0,
|
|
92252
92252
|
class: "tw-text-xl tw-font-bold"
|
|
92253
92253
|
}, it = /* @__PURE__ */ J({
|
|
@@ -93017,7 +93017,7 @@ const Woe = /* @__PURE__ */ v($oe, [["render", joe], ["__scopeId", "data-v-68941
|
|
|
93017
93017
|
dropzoneImageUploaderRef: a1(null),
|
|
93018
93018
|
endpoints: L(() => e.endpoints),
|
|
93019
93019
|
uiStore: e,
|
|
93020
|
-
|
|
93020
|
+
isAdminMaker: L(() => !!n.isAdminMaker),
|
|
93021
93021
|
isLoggedIn: L(() => !!t.emailAddress)
|
|
93022
93022
|
};
|
|
93023
93023
|
},
|
|
@@ -93147,7 +93147,7 @@ const Woe = /* @__PURE__ */ v($oe, [["render", joe], ["__scopeId", "data-v-68941
|
|
|
93147
93147
|
}, 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
93148
|
function rse(e, t, n, i, o, s) {
|
|
93149
93149
|
const r = E("LoginRequiredMessage"), a = E("DropzoneImageUploader"), l = E("MyMedia");
|
|
93150
|
-
return !e.isLoggedIn && !e.
|
|
93150
|
+
return !e.isLoggedIn && !e.isAdminMaker ? (u(), $(r, { key: 0 })) : (u(), f("div", Qoe, [
|
|
93151
93151
|
T(a, {
|
|
93152
93152
|
ref: "dropzoneImageUploaderRef",
|
|
93153
93153
|
class: "tw-mb-4 tw-group",
|
|
@@ -94050,7 +94050,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94050
94050
|
type: Object,
|
|
94051
94051
|
required: !0
|
|
94052
94052
|
},
|
|
94053
|
-
|
|
94053
|
+
isAdminMaker: {
|
|
94054
94054
|
type: Boolean,
|
|
94055
94055
|
required: !0,
|
|
94056
94056
|
default: !1
|
|
@@ -94113,7 +94113,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94113
94113
|
label: n("shapeLibrary"),
|
|
94114
94114
|
active: !1
|
|
94115
94115
|
}
|
|
94116
|
-
]), C = L(() => d.value.filter((x) => x.id !== "MY_DESIGNS" || !i.
|
|
94116
|
+
]), C = L(() => d.value.filter((x) => x.id !== "MY_DESIGNS" || !i.isAdminMaker).filter(
|
|
94117
94117
|
(x) => i.activeTabs.some((I) => I === x.id) && (!a.value || x.id !== "MY_DESIGNS")
|
|
94118
94118
|
).filter((x) => x.id !== "VIDEO_LIBRARY" || l.value)), h = L(() => !0), g = () => {
|
|
94119
94119
|
o("on-back");
|
|
@@ -94289,7 +94289,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94289
94289
|
"section-title": g.value,
|
|
94290
94290
|
"media-settings": C.value,
|
|
94291
94291
|
"image-extension": m.value,
|
|
94292
|
-
"is-admin": d.value,
|
|
94292
|
+
"is-admin-maker": d.value,
|
|
94293
94293
|
mode: c.value,
|
|
94294
94294
|
"active-tabs": h.value,
|
|
94295
94295
|
"media-type": e.mediaType,
|
|
@@ -94298,7 +94298,7 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94298
94298
|
onOnImagePicked: w,
|
|
94299
94299
|
onOnImageRemoved: b,
|
|
94300
94300
|
onOnVideoSelected: x
|
|
94301
|
-
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin", "mode", "active-tabs", "media-type"])
|
|
94301
|
+
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin-maker", "mode", "active-tabs", "media-type"])
|
|
94302
94302
|
]));
|
|
94303
94303
|
}
|
|
94304
94304
|
}), 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 +94453,13 @@ const ere = { "data-component": "video-library" }, tre = {
|
|
|
94453
94453
|
id: "background-overlay-color",
|
|
94454
94454
|
name: "overlayColor",
|
|
94455
94455
|
value: b.value,
|
|
94456
|
-
"is-admin": C.value,
|
|
94456
|
+
"is-admin-maker": C.value,
|
|
94457
94457
|
"logo-theme": c.value,
|
|
94458
94458
|
"enable-color-match": C.value,
|
|
94459
94459
|
"disable-transparent": "",
|
|
94460
94460
|
label: H(E2)("overlayColor"),
|
|
94461
94461
|
"onUpdate:modelValue": S
|
|
94462
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "enable-color-match", "label"]),
|
|
94462
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "enable-color-match", "label"]),
|
|
94463
94463
|
p("div", Pre, [
|
|
94464
94464
|
p("span", Are, P(H(E2)("overlayOpacity")), 1),
|
|
94465
94465
|
T(H(j9), {
|
|
@@ -94696,7 +94696,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94696
94696
|
contentSettingsSelectedItemId: L(
|
|
94697
94697
|
() => t.selectedItemId
|
|
94698
94698
|
),
|
|
94699
|
-
|
|
94699
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
94700
94700
|
canUseRichTextEditor: L(
|
|
94701
94701
|
() => s.features.canUseRichTextEditor
|
|
94702
94702
|
),
|
|
@@ -94893,7 +94893,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94893
94893
|
isPersonalisationEnabled: L(
|
|
94894
94894
|
() => i.isPersonalisationEnabled
|
|
94895
94895
|
),
|
|
94896
|
-
|
|
94896
|
+
isAdminMaker: L(() => o.isAdminMaker),
|
|
94897
94897
|
contentSettingsStore: e,
|
|
94898
94898
|
sideBarStore: t,
|
|
94899
94899
|
eventTracker: r
|
|
@@ -94969,7 +94969,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
94969
94969
|
return this.isFocusedDisplayMode || this.collapsed ? _H : eae;
|
|
94970
94970
|
},
|
|
94971
94971
|
showPersonalisationField() {
|
|
94972
|
-
return this.
|
|
94972
|
+
return this.isAdminMaker && this.isPersonalisationEnabled;
|
|
94973
94973
|
},
|
|
94974
94974
|
personalisationRole() {
|
|
94975
94975
|
return this.getValue(this.id, "personalisationRole");
|
|
@@ -95053,7 +95053,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95053
95053
|
getContent: L(() => e.getContent),
|
|
95054
95054
|
getValue: L(() => e.getValue),
|
|
95055
95055
|
brandPageData: L(() => t.brandPageData),
|
|
95056
|
-
|
|
95056
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
95057
95057
|
isDesignCom: L(() => r.isDesignCom),
|
|
95058
95058
|
canUseRichTextEditor: L(
|
|
95059
95059
|
() => n.features.canUseRichTextEditor
|
|
@@ -95140,7 +95140,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95140
95140
|
return this.field.name !== "buttonTextStyle" && this.type === "banner-section";
|
|
95141
95141
|
},
|
|
95142
95142
|
showToggle() {
|
|
95143
|
-
return this.field.name === "backgroundStyle" && this.
|
|
95143
|
+
return this.field.name === "backgroundStyle" && this.isAdminMaker ? !0 : this.field.showToggle;
|
|
95144
95144
|
},
|
|
95145
95145
|
disableTransparent() {
|
|
95146
95146
|
return typeof this.field.disableTransparent == "function" ? this.field.disableTransparent(this.brandPageType) : this.field.disableTransparent || !1;
|
|
@@ -95189,7 +95189,7 @@ const Qre = /* @__PURE__ */ v(Xre, [["render", Jre], ["__scopeId", "data-v-0cd8c
|
|
|
95189
95189
|
}
|
|
95190
95190
|
},
|
|
95191
95191
|
onFieldChangeLogo() {
|
|
95192
|
-
this.
|
|
95192
|
+
this.isAdminMaker ? this.sideBarStore.setSelectedTabName({
|
|
95193
95193
|
tabName: P2.ADMIN_LOGO_SETTINGS
|
|
95194
95194
|
}) : this.sideBarStore.setSelectedTabName({
|
|
95195
95195
|
tabName: P2.LOGO_SETTINGS
|
|
@@ -95564,7 +95564,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95564
95564
|
type: Object,
|
|
95565
95565
|
required: !0
|
|
95566
95566
|
},
|
|
95567
|
-
|
|
95567
|
+
isAdminMaker: {
|
|
95568
95568
|
type: Boolean,
|
|
95569
95569
|
required: !0
|
|
95570
95570
|
}
|
|
@@ -95664,7 +95664,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95664
95664
|
type: Object,
|
|
95665
95665
|
required: !0
|
|
95666
95666
|
},
|
|
95667
|
-
|
|
95667
|
+
isAdminMaker: {
|
|
95668
95668
|
type: Boolean,
|
|
95669
95669
|
required: !0
|
|
95670
95670
|
}
|
|
@@ -95770,7 +95770,7 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95770
95770
|
id: {},
|
|
95771
95771
|
name: {},
|
|
95772
95772
|
value: {},
|
|
95773
|
-
|
|
95773
|
+
isAdminMaker: { type: Boolean },
|
|
95774
95774
|
label: {},
|
|
95775
95775
|
toggleUniqueId: {},
|
|
95776
95776
|
logoTheme: {}
|
|
@@ -95816,12 +95816,12 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95816
95816
|
return (h, g) => (u(), f("div", {
|
|
95817
95817
|
"data-component": "color-replacements-field",
|
|
95818
95818
|
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.
|
|
95819
|
+
"tw-flex-col tw-gap-y-2 tw-w-full": e.isAdminMaker,
|
|
95820
|
+
"tw-gap-2 tw-justify-between tw-items-center": !e.isAdminMaker
|
|
95821
95821
|
}])
|
|
95822
95822
|
}, [
|
|
95823
95823
|
e.label ? (u(), f("span", hae, P(e.label), 1)) : k("", !0),
|
|
95824
|
-
e.
|
|
95824
|
+
e.isAdminMaker && s.colorReplacements && s.colorReplacements.length > 0 ? (u(), $(H(U3), {
|
|
95825
95825
|
key: 1,
|
|
95826
95826
|
id: `${e.id}-${e.name}-color-matched${l.value}`,
|
|
95827
95827
|
"model-value": a.value,
|
|
@@ -95839,17 +95839,17 @@ const Cae = /* @__PURE__ */ v(aae, [["render", dae]]), uae = "image/png, image/j
|
|
|
95839
95839
|
(u(!0), f(S1, null, N1(s.colorReplacements, (m, y) => (u(), f("div", {
|
|
95840
95840
|
key: `${m.attribute}-${m.originalColor}`
|
|
95841
95841
|
}, [
|
|
95842
|
-
!e.
|
|
95842
|
+
!e.isAdminMaker || !a.value ? (u(), $(p5, {
|
|
95843
95843
|
key: 0,
|
|
95844
95844
|
name: "fill",
|
|
95845
95845
|
"disable-transparent": !0,
|
|
95846
95846
|
value: m.replacementColor,
|
|
95847
|
-
"is-admin": e.
|
|
95847
|
+
"is-admin-maker": e.isAdminMaker,
|
|
95848
95848
|
"logo-theme": e.logoTheme,
|
|
95849
95849
|
"onUpdate:modelValue": (w) => c(w, y)
|
|
95850
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
95850
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
95851
95851
|
]))), 128)),
|
|
95852
|
-
e.
|
|
95852
|
+
e.isAdminMaker && s.colorReplacements && s.colorReplacements.length > 0 && a.value ? (u(), f("div", gae, [
|
|
95853
95853
|
p("select", {
|
|
95854
95854
|
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
95855
|
onChange: g[0] || (g[0] = w1((m) => d(m.target.value), ["stop"]))
|
|
@@ -95994,11 +95994,11 @@ function Hae(e, t, n, i, o, s) {
|
|
|
95994
95994
|
name: e.name,
|
|
95995
95995
|
label: h.colorReplacements && h.colorReplacements.length === 1 ? i.commonTr("shapeColor") : "",
|
|
95996
95996
|
value: h.colorReplacements,
|
|
95997
|
-
"is-admin": e.
|
|
95997
|
+
"is-admin-maker": e.isAdminMaker,
|
|
95998
95998
|
"logo-theme": e.logoTheme,
|
|
95999
95999
|
"toggle-unique-id": g.toString(),
|
|
96000
96000
|
"onUpdate:modelValue": (m) => e.onColorReplacementsChange(m, g)
|
|
96001
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
96001
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
96002
96002
|
], 2)) : k("", !0)
|
|
96003
96003
|
])
|
|
96004
96004
|
]),
|
|
@@ -96015,7 +96015,7 @@ function Hae(e, t, n, i, o, s) {
|
|
|
96015
96015
|
}, null, 8, ["onOnClick"])) : k("", !0)
|
|
96016
96016
|
]);
|
|
96017
96017
|
}
|
|
96018
|
-
const VR = /* @__PURE__ */ v(wae, [["render", Hae], ["__scopeId", "data-v-
|
|
96018
|
+
const VR = /* @__PURE__ */ v(wae, [["render", Hae], ["__scopeId", "data-v-c1205c30"]]), Iae = {
|
|
96019
96019
|
components: {
|
|
96020
96020
|
DraggableItemList: VR,
|
|
96021
96021
|
Button: D1
|
|
@@ -96044,9 +96044,9 @@ function Pae(e, t, n, i, o, s) {
|
|
|
96044
96044
|
"value-prop-name": "imageTitle",
|
|
96045
96045
|
"media-type": e.mediaType,
|
|
96046
96046
|
"logo-theme": e.logoTheme,
|
|
96047
|
-
"is-admin": e.
|
|
96047
|
+
"is-admin-maker": e.isAdminMaker,
|
|
96048
96048
|
onOnIntentImageReplace: e.onReplace
|
|
96049
|
-
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "placeholder-suffix", "media-type", "logo-theme", "is-admin", "onOnIntentImageReplace"])) : k("", !0),
|
|
96049
|
+
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "placeholder-suffix", "media-type", "logo-theme", "is-admin-maker", "onOnIntentImageReplace"])) : k("", !0),
|
|
96050
96050
|
!e.maxLength || e.images.length < e.maxLength ? (u(), f("div", Eae, [
|
|
96051
96051
|
T(a, {
|
|
96052
96052
|
variant: "outline",
|
|
@@ -96062,7 +96062,7 @@ function Pae(e, t, n, i, o, s) {
|
|
|
96062
96062
|
])) : k("", !0)
|
|
96063
96063
|
]);
|
|
96064
96064
|
}
|
|
96065
|
-
const Aae = /* @__PURE__ */ v(Iae, [["render", Pae], ["__scopeId", "data-v-
|
|
96065
|
+
const Aae = /* @__PURE__ */ v(Iae, [["render", Pae], ["__scopeId", "data-v-593c94ff"]]), $ae = J({
|
|
96066
96066
|
props: {
|
|
96067
96067
|
value: {
|
|
96068
96068
|
type: Object,
|
|
@@ -96815,7 +96815,7 @@ const zae = /* @__PURE__ */ v(Nae, [["render", Uae], ["__scopeId", "data-v-8240b
|
|
|
96815
96815
|
type: Array,
|
|
96816
96816
|
required: !0
|
|
96817
96817
|
},
|
|
96818
|
-
|
|
96818
|
+
isAdminMaker: {
|
|
96819
96819
|
type: Boolean,
|
|
96820
96820
|
required: !0
|
|
96821
96821
|
},
|
|
@@ -96912,11 +96912,11 @@ function ble(e, t, n, i, o, s) {
|
|
|
96912
96912
|
"value-prop-name": "url",
|
|
96913
96913
|
"field-type": "url",
|
|
96914
96914
|
settings: e.itemListSettings,
|
|
96915
|
-
"is-admin": e.
|
|
96915
|
+
"is-admin-maker": e.isAdminMaker,
|
|
96916
96916
|
"logo-theme": e.logoTheme,
|
|
96917
96917
|
onOnIntentImageReplace: e.onItemListIntentImageReplace,
|
|
96918
96918
|
onOnColorReplacementsChange: e.onColorReplacementsChange
|
|
96919
|
-
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "settings", "is-admin", "logo-theme", "onOnIntentImageReplace", "onOnColorReplacementsChange"])) : k("", !0),
|
|
96919
|
+
}, null, 8, ["id", "modelValue", "name", "placeholder-prefix", "settings", "is-admin-maker", "logo-theme", "onOnIntentImageReplace", "onOnColorReplacementsChange"])) : k("", !0),
|
|
96920
96920
|
p("div", wle, [
|
|
96921
96921
|
e.links.length < 4 ? (u(), $(a, {
|
|
96922
96922
|
key: 0,
|
|
@@ -103737,14 +103737,14 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103737
103737
|
name: e.name + "TextStyle",
|
|
103738
103738
|
value: K.value,
|
|
103739
103739
|
options: H(Un).convert(i.styles),
|
|
103740
|
-
"is-admin": y.value,
|
|
103740
|
+
"is-admin-maker": y.value,
|
|
103741
103741
|
"logo-theme": w.value,
|
|
103742
103742
|
"show-color-pallet": !1,
|
|
103743
103743
|
"is-toggled": !0,
|
|
103744
103744
|
"onUpdate:modelValue": q1[0] || (q1[0] = (Ce) => {
|
|
103745
103745
|
H(f1)(Ce, "textColor"), !Ce.value || Ce.value === "" ? S.value = !1 : S.value = !0;
|
|
103746
103746
|
})
|
|
103747
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme"]),
|
|
103747
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme"]),
|
|
103748
103748
|
p("p", yMe, P(H(Di)("backgroundColor")), 1),
|
|
103749
103749
|
T(p5, {
|
|
103750
103750
|
id: `${e.rawId}-backgroundStyle${e.textItemIndex ?? ""}`,
|
|
@@ -103752,14 +103752,14 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103752
103752
|
name: e.name,
|
|
103753
103753
|
value: o1.value,
|
|
103754
103754
|
options: H(j2).convert(i.styles),
|
|
103755
|
-
"is-admin": y.value,
|
|
103755
|
+
"is-admin-maker": y.value,
|
|
103756
103756
|
"show-color-pallet": !1,
|
|
103757
103757
|
"logo-theme": w.value,
|
|
103758
103758
|
"is-toggled": !1,
|
|
103759
103759
|
"onUpdate:modelValue": q1[1] || (q1[1] = (Ce) => {
|
|
103760
103760
|
H(f1)(Ce, "backgroundColor"), !Ce.value || Ce.value === "" ? M.value = !1 : M.value = !0;
|
|
103761
103761
|
})
|
|
103762
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme"])
|
|
103762
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme"])
|
|
103763
103763
|
])) : k("", !0),
|
|
103764
103764
|
p("div", wMe, [
|
|
103765
103765
|
p("div", null, [
|
|
@@ -103867,7 +103867,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103867
103867
|
"icon-type": "text-color",
|
|
103868
103868
|
"disable-transparent": !0,
|
|
103869
103869
|
value: b.selectedTextColor,
|
|
103870
|
-
"is-admin": y.value,
|
|
103870
|
+
"is-admin-maker": y.value,
|
|
103871
103871
|
"logo-theme": w.value,
|
|
103872
103872
|
"is-toggled": !0,
|
|
103873
103873
|
popup: !0,
|
|
@@ -103877,7 +103877,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103877
103877
|
value: Ce.value
|
|
103878
103878
|
});
|
|
103879
103879
|
})
|
|
103880
|
-
}, null, 8, ["class", "value", "is-admin", "logo-theme"])
|
|
103880
|
+
}, null, 8, ["class", "value", "is-admin-maker", "logo-theme"])
|
|
103881
103881
|
]),
|
|
103882
103882
|
q1[21] || (q1[21] = p("div", { class: "border desktop" }, null, -1)),
|
|
103883
103883
|
T(H(D1), {
|
|
@@ -103935,7 +103935,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103935
103935
|
"is-rich-text-editor": !0,
|
|
103936
103936
|
"icon-type": "text-background-color",
|
|
103937
103937
|
value: b.selectedBackgroundColor,
|
|
103938
|
-
"is-admin": y.value,
|
|
103938
|
+
"is-admin-maker": y.value,
|
|
103939
103939
|
"logo-theme": w.value,
|
|
103940
103940
|
"is-toggled": !0,
|
|
103941
103941
|
popup: !0,
|
|
@@ -103945,7 +103945,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
103945
103945
|
value: Ce.value
|
|
103946
103946
|
});
|
|
103947
103947
|
})
|
|
103948
|
-
}, null, 8, ["class", "value", "is-admin", "logo-theme"])
|
|
103948
|
+
}, null, 8, ["class", "value", "is-admin-maker", "logo-theme"])
|
|
103949
103949
|
]),
|
|
103950
103950
|
T(H(D1), {
|
|
103951
103951
|
class: O(["toolbar-editor-button", {
|
|
@@ -104107,7 +104107,7 @@ const Cu = /* @__PURE__ */ v(cMe, [["render", uMe]]), pMe = {
|
|
|
104107
104107
|
], 64);
|
|
104108
104108
|
};
|
|
104109
104109
|
}
|
|
104110
|
-
}), uZ = /* @__PURE__ */ v(NMe, [["__scopeId", "data-v-
|
|
104110
|
+
}), uZ = /* @__PURE__ */ v(NMe, [["__scopeId", "data-v-e32b05aa"]]), RMe = {
|
|
104111
104111
|
components: {
|
|
104112
104112
|
RichTextEditor: uZ
|
|
104113
104113
|
},
|
|
@@ -105125,7 +105125,7 @@ const pZ = /* @__PURE__ */ v(Vke, [["render", Eke], ["__scopeId", "data-v-f3d394
|
|
|
105125
105125
|
});
|
|
105126
105126
|
return (a, l) => (u(), f("div", lLe, [
|
|
105127
105127
|
T(su, {
|
|
105128
|
-
"is-admin": !1,
|
|
105128
|
+
"is-admin-maker": !1,
|
|
105129
105129
|
"transparent-bg": !0,
|
|
105130
105130
|
mode: "images",
|
|
105131
105131
|
"media-settings": r,
|
|
@@ -105583,7 +105583,7 @@ const NLe = /* @__PURE__ */ v(ELe, [["render", DLe]]), Jh = 5, WH = J({
|
|
|
105583
105583
|
type: Object,
|
|
105584
105584
|
required: !0
|
|
105585
105585
|
},
|
|
105586
|
-
|
|
105586
|
+
isAdminMaker: {
|
|
105587
105587
|
type: Boolean,
|
|
105588
105588
|
required: !0
|
|
105589
105589
|
},
|
|
@@ -105978,12 +105978,12 @@ function YLe(e, t, n, i, o, s) {
|
|
|
105978
105978
|
name: e.name,
|
|
105979
105979
|
value: e.textColorValue,
|
|
105980
105980
|
options: e.textColorOptions,
|
|
105981
|
-
"is-admin": e.
|
|
105981
|
+
"is-admin-maker": e.isAdminMaker,
|
|
105982
105982
|
"logo-theme": e.logoTheme,
|
|
105983
105983
|
"is-toggled": !1,
|
|
105984
105984
|
"disable-transparent": !0,
|
|
105985
105985
|
"onUpdate:modelValue": e.onSelectColor
|
|
105986
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme", "onUpdate:modelValue"]),
|
|
105986
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]),
|
|
105987
105987
|
e.showTextBackgroundColorOptions ? (u(), f("p", KLe, P(i.textStyleFieldTr("backgroundColor")), 1)) : k("", !0),
|
|
105988
105988
|
e.showTextBackgroundColorOptions ? (u(), $(h, {
|
|
105989
105989
|
key: 5,
|
|
@@ -105992,11 +105992,11 @@ function YLe(e, t, n, i, o, s) {
|
|
|
105992
105992
|
name: e.name,
|
|
105993
105993
|
value: e.textBackgroundColorValue,
|
|
105994
105994
|
options: e.textBackgroundColorOptions,
|
|
105995
|
-
"is-admin": e.
|
|
105995
|
+
"is-admin-maker": e.isAdminMaker,
|
|
105996
105996
|
"logo-theme": e.logoTheme,
|
|
105997
105997
|
"is-toggled": !1,
|
|
105998
105998
|
"onUpdate:modelValue": e.onSelectBackgroundColor
|
|
105999
|
-
}, null, 8, ["id", "name", "value", "options", "is-admin", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
105999
|
+
}, null, 8, ["id", "name", "value", "options", "is-admin-maker", "logo-theme", "onUpdate:modelValue"])) : k("", !0)
|
|
106000
106000
|
], 2)) : k("", !0)
|
|
106001
106001
|
], 2);
|
|
106002
106002
|
}
|
|
@@ -106024,7 +106024,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106024
106024
|
pages: { default: void 0 },
|
|
106025
106025
|
titleLength: { default: v3 },
|
|
106026
106026
|
descriptionLength: { default: l6 },
|
|
106027
|
-
|
|
106027
|
+
isAdminMaker: { type: Boolean, default: !1 }
|
|
106028
106028
|
},
|
|
106029
106029
|
emits: ["update:buttonConfig"],
|
|
106030
106030
|
setup(e, { emit: t }) {
|
|
@@ -106320,7 +106320,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106320
106320
|
maxLength: { default: void 0 },
|
|
106321
106321
|
logoTheme: {},
|
|
106322
106322
|
settings: {},
|
|
106323
|
-
|
|
106323
|
+
isAdminMaker: { type: Boolean },
|
|
106324
106324
|
brandPageType: { default: c1.brandSite }
|
|
106325
106325
|
},
|
|
106326
106326
|
emits: ["update:modelValue", "on-intent-image-replace"],
|
|
@@ -106459,7 +106459,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106459
106459
|
onOnIntentImageReplace: (l1) => B(G.index, G.item.imageUrl),
|
|
106460
106460
|
"onUpdate:modelValue": (l1) => F(G.index)
|
|
106461
106461
|
}, null, 8, ["id", "media-type", "name", "value", "onOnIntentImageReplace", "onUpdate:modelValue"]),
|
|
106462
|
-
e.
|
|
106462
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106463
106463
|
key: 0,
|
|
106464
106464
|
id: e.id,
|
|
106465
106465
|
name: "imageUrlOverride",
|
|
@@ -106474,11 +106474,11 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106474
106474
|
name: e.name,
|
|
106475
106475
|
label: G.item.colorReplacements && G.item.colorReplacements.length === 1 ? H(c4)("shapeColor") : "",
|
|
106476
106476
|
value: G.item.colorReplacements,
|
|
106477
|
-
"is-admin": e.
|
|
106477
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106478
106478
|
"logo-theme": e.logoTheme,
|
|
106479
106479
|
"toggle-unique-id": G.index.toString(),
|
|
106480
106480
|
"onUpdate:modelValue": (l1) => D(l1, G.index)
|
|
106481
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"]),
|
|
106481
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"]),
|
|
106482
106482
|
p("h4", vTe, P(H(c4)("title")), 1),
|
|
106483
106483
|
T(H(je), {
|
|
106484
106484
|
modelValue: s.value[G.index].title,
|
|
@@ -106492,7 +106492,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106492
106492
|
error: H(ao)(s.value[G.index].title) >= l.value
|
|
106493
106493
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "maxlength", "placeholder", "error"]),
|
|
106494
106494
|
H(ao)(s.value[G.index].title) >= l.value ? (u(), f("p", STe, P(r.value), 1)) : k("", !0),
|
|
106495
|
-
e.
|
|
106495
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106496
106496
|
key: 3,
|
|
106497
106497
|
id: e.id,
|
|
106498
106498
|
name: "titleOverride",
|
|
@@ -106520,7 +106520,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106520
106520
|
error: H(ao)(s.value[G.index].paragraph) >= C.value,
|
|
106521
106521
|
"onUpdate:modelValue": (l1) => n1(l1, G.index)
|
|
106522
106522
|
}, null, 8, ["id", "value", "item", "name", "max-length", "placeholder", "error", "onUpdate:modelValue"]),
|
|
106523
|
-
e.
|
|
106523
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106524
106524
|
key: 4,
|
|
106525
106525
|
id: e.id,
|
|
106526
106526
|
name: "paragraphOverride",
|
|
@@ -106545,7 +106545,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106545
106545
|
error: s.value[G.index].imageTitle.length >= C.value
|
|
106546
106546
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "maxlength", "placeholder", "attrs", "error"]),
|
|
106547
106547
|
s.value[G.index].imageTitle.length >= C.value ? (u(), f("p", TTe, P(r.value), 1)) : k("", !0),
|
|
106548
|
-
e.
|
|
106548
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $($7, {
|
|
106549
106549
|
key: 1,
|
|
106550
106550
|
id: e.id,
|
|
106551
106551
|
name: "imageTitleOverride",
|
|
@@ -106558,7 +106558,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106558
106558
|
T(aTe, {
|
|
106559
106559
|
id: e.id,
|
|
106560
106560
|
index: G.index,
|
|
106561
|
-
"is-admin": e.
|
|
106561
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106562
106562
|
"button-config": {
|
|
106563
106563
|
buttonText: s.value[G.index].buttonText ?? !1,
|
|
106564
106564
|
buttonLinkType: s.value[G.index].buttonLinkType || "url",
|
|
@@ -106568,7 +106568,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106568
106568
|
"title-length": l.value,
|
|
106569
106569
|
"description-length": C.value,
|
|
106570
106570
|
"onUpdate:buttonConfig": (l1) => e1(l1, G.index)
|
|
106571
|
-
}, null, 8, ["id", "index", "is-admin", "button-config", "title-length", "description-length", "onUpdate:buttonConfig"])
|
|
106571
|
+
}, null, 8, ["id", "index", "is-admin-maker", "button-config", "title-length", "description-length", "onUpdate:buttonConfig"])
|
|
106572
106572
|
], 64)),
|
|
106573
106573
|
!w(G.item) && e.brandPageType === H(c1).brandSite ? (u(), f("div", xTe, [
|
|
106574
106574
|
p("div", VTe, [
|
|
@@ -106643,7 +106643,7 @@ const Zs = /* @__PURE__ */ v(RLe, [["render", YLe]]), XLe = { "data-component":
|
|
|
106643
106643
|
type: Object,
|
|
106644
106644
|
required: !0
|
|
106645
106645
|
},
|
|
106646
|
-
|
|
106646
|
+
isAdminMaker: {
|
|
106647
106647
|
type: Boolean,
|
|
106648
106648
|
required: !0
|
|
106649
106649
|
}
|
|
@@ -106781,11 +106781,11 @@ function GTe(e, t, n, i, o, s) {
|
|
|
106781
106781
|
name: e.name,
|
|
106782
106782
|
label: C.item.colorReplacements && C.item.colorReplacements.length === 1 ? i.shapeFieldTr("shapeColor") : "",
|
|
106783
106783
|
value: C.item.colorReplacements,
|
|
106784
|
-
"is-admin": e.
|
|
106784
|
+
"is-admin-maker": e.isAdminMaker,
|
|
106785
106785
|
"logo-theme": e.logoTheme,
|
|
106786
106786
|
"toggle-unique-id": C.index.toString(),
|
|
106787
106787
|
"onUpdate:modelValue": (h) => e.onColorReplacementsChange(h, C.index)
|
|
106788
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
106788
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
106789
106789
|
]),
|
|
106790
106790
|
_: 1
|
|
106791
106791
|
}, 8, ["items", "onItemsChange", "onItemsDelete"]),
|
|
@@ -106817,7 +106817,7 @@ const jTe = /* @__PURE__ */ v(DTe, [["render", GTe]]), WTe = 250, KTe = J({
|
|
|
106817
106817
|
type: Object,
|
|
106818
106818
|
required: !0
|
|
106819
106819
|
},
|
|
106820
|
-
|
|
106820
|
+
isAdminMaker: {
|
|
106821
106821
|
type: Boolean,
|
|
106822
106822
|
required: !0
|
|
106823
106823
|
},
|
|
@@ -106999,7 +106999,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
106999
106999
|
"onUpdate:modelValue": (m) => e.onTextAreaTextChange(m, g.index)
|
|
107000
107000
|
}, null, 8, ["value", "name", "error", "max-length", "onBlur", "onFocus", "onUpdate:modelValue"]),
|
|
107001
107001
|
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.
|
|
107002
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107003
107003
|
key: 2,
|
|
107004
107004
|
id: e.id,
|
|
107005
107005
|
name: "testimonialsOverride",
|
|
@@ -107016,7 +107016,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107016
107016
|
onOnIntentImageReplace: (m) => e.onReplaceImage(g.index),
|
|
107017
107017
|
"onUpdate:modelValue": (m) => e.onRemoveImage(g.index)
|
|
107018
107018
|
}, null, 8, ["id", "name", "value", "onOnIntentImageReplace", "onUpdate:modelValue"]),
|
|
107019
|
-
e.
|
|
107019
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107020
107020
|
key: 3,
|
|
107021
107021
|
id: e.id,
|
|
107022
107022
|
name: "imageUrlOverride",
|
|
@@ -107032,11 +107032,11 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107032
107032
|
name: e.name,
|
|
107033
107033
|
label: g.item.colorReplacements && g.item.colorReplacements.length === 1 ? i.testimonialItemsFieldTr("shapeColor") : "",
|
|
107034
107034
|
value: g.item.colorReplacements,
|
|
107035
|
-
"is-admin": e.
|
|
107035
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107036
107036
|
"logo-theme": e.logoTheme,
|
|
107037
107037
|
"toggle-unique-id": g.index.toString(),
|
|
107038
107038
|
"onUpdate:modelValue": (m) => e.onColorReplacementsChange(m, g.index)
|
|
107039
|
-
}, null, 8, ["id", "name", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
107039
|
+
}, null, 8, ["id", "name", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
107040
107040
|
])) : k("", !0),
|
|
107041
107041
|
p("h4", rxe, P(i.testimonialItemsFieldTr("name")), 1),
|
|
107042
107042
|
T(d, {
|
|
@@ -107047,7 +107047,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107047
107047
|
maxlength: 60
|
|
107048
107048
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
107049
107049
|
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.
|
|
107050
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107051
107051
|
key: 6,
|
|
107052
107052
|
id: e.id,
|
|
107053
107053
|
name: "nameOverride",
|
|
@@ -107066,7 +107066,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107066
107066
|
maxlength: 60
|
|
107067
107067
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
107068
107068
|
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.
|
|
107069
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107070
107070
|
key: 8,
|
|
107071
107071
|
id: e.id,
|
|
107072
107072
|
name: "positionOverride",
|
|
@@ -107088,7 +107088,7 @@ function dxe(e, t, n, i, o, s) {
|
|
|
107088
107088
|
}, null, 8, ["label", "onOnClick"])) : k("", !0)
|
|
107089
107089
|
]);
|
|
107090
107090
|
}
|
|
107091
|
-
const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-
|
|
107091
|
+
const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-e6fd86eb"]]), uxe = 250, pxe = J({
|
|
107092
107092
|
props: {
|
|
107093
107093
|
id: {
|
|
107094
107094
|
type: String,
|
|
@@ -107106,7 +107106,7 @@ const Cxe = /* @__PURE__ */ v(YTe, [["render", dxe], ["__scopeId", "data-v-fe811
|
|
|
107106
107106
|
type: Array,
|
|
107107
107107
|
required: !0
|
|
107108
107108
|
},
|
|
107109
|
-
|
|
107109
|
+
isAdminMaker: {
|
|
107110
107110
|
type: Boolean,
|
|
107111
107111
|
required: !0
|
|
107112
107112
|
},
|
|
@@ -107299,7 +107299,7 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107299
107299
|
onFocus: (h) => e.onFocusOverride(C.index),
|
|
107300
107300
|
"onUpdate:modelValue": (h) => e.onTextAreaTextChange(h, C.index)
|
|
107301
107301
|
}, null, 8, ["id", "index", "show-rich-text-editor", "value", "name", "styles", "item", "error", "max-length", "content-type", "onBlur", "onFocus", "onUpdate:modelValue"])),
|
|
107302
|
-
e.
|
|
107302
|
+
e.isAdminMaker && e.content.personalisationRole ? (u(), $(a, {
|
|
107303
107303
|
key: 0,
|
|
107304
107304
|
id: e.id,
|
|
107305
107305
|
name: "textOverride",
|
|
@@ -107311,14 +107311,14 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107311
107311
|
e.showRichTextEditor ? k("", !0) : (u(), $(l, {
|
|
107312
107312
|
id: `text-style-field-${C.index}`,
|
|
107313
107313
|
key: `text-style-field-${C.index}`,
|
|
107314
|
-
"is-admin": e.
|
|
107314
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107315
107315
|
value: e.options[C.index].textStyle,
|
|
107316
107316
|
"logo-theme": e.logoTheme,
|
|
107317
107317
|
"show-font-style-only": !0,
|
|
107318
107318
|
label: i.textItemsFieldTr("fontSettings"),
|
|
107319
107319
|
"is-text-content": !0,
|
|
107320
107320
|
"onUpdate:modelValue": (h) => e.setTextStyleOption(h, C.index)
|
|
107321
|
-
}, null, 8, ["id", "is-admin", "value", "logo-theme", "label", "onUpdate:modelValue"]))
|
|
107321
|
+
}, null, 8, ["id", "is-admin-maker", "value", "logo-theme", "label", "onUpdate:modelValue"]))
|
|
107322
107322
|
]),
|
|
107323
107323
|
_: 1
|
|
107324
107324
|
}, 8, ["items", "onItemsChange", "onItemsDelete"]),
|
|
@@ -107333,7 +107333,7 @@ function wxe(e, t, n, i, o, s) {
|
|
|
107333
107333
|
}, null, 8, ["label", "onOnClick"])) : k("", !0)
|
|
107334
107334
|
]);
|
|
107335
107335
|
}
|
|
107336
|
-
const bxe = /* @__PURE__ */ v(fxe, [["render", wxe], ["__scopeId", "data-v-
|
|
107336
|
+
const bxe = /* @__PURE__ */ v(fxe, [["render", wxe], ["__scopeId", "data-v-960cf968"]]), vxe = J({
|
|
107337
107337
|
props: {
|
|
107338
107338
|
id: {
|
|
107339
107339
|
type: String,
|
|
@@ -107569,7 +107569,7 @@ function Bxe(e, t, n, i, o, s) {
|
|
|
107569
107569
|
},
|
|
107570
107570
|
name: e.fieldName,
|
|
107571
107571
|
content: e.content,
|
|
107572
|
-
"is-admin": e.
|
|
107572
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107573
107573
|
"logo-theme": e.logoTheme,
|
|
107574
107574
|
"is-toggled": e.isToggled,
|
|
107575
107575
|
multiple: e.field.multiple,
|
|
@@ -107600,7 +107600,7 @@ function Bxe(e, t, n, i, o, s) {
|
|
|
107600
107600
|
onOnIntentImageReplace: e.onIntentImageReplace,
|
|
107601
107601
|
onOnToggleStateChange: e.onToggleStateChange,
|
|
107602
107602
|
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"])), [
|
|
107603
|
+
}, 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
107604
|
[N3, !e.showToggle || e.isToggled]
|
|
107605
107605
|
])
|
|
107606
107606
|
], 2)) : k("", !0)
|
|
@@ -107702,7 +107702,7 @@ const zxe = /* @__PURE__ */ v(Oxe, [["render", Uxe]]), KH = J({
|
|
|
107702
107702
|
() => t.selectedItemTemplate?.type
|
|
107703
107703
|
),
|
|
107704
107704
|
mode: L(() => t.mode),
|
|
107705
|
-
|
|
107705
|
+
isAdminMaker: L(() => i.isAdminMaker),
|
|
107706
107706
|
contentSettingsStore: t,
|
|
107707
107707
|
userStore: n,
|
|
107708
107708
|
pageSettingsStore: o,
|
|
@@ -107714,7 +107714,7 @@ const zxe = /* @__PURE__ */ v(Oxe, [["render", Uxe]]), KH = J({
|
|
|
107714
107714
|
},
|
|
107715
107715
|
computed: {
|
|
107716
107716
|
isDeleteEnabled() {
|
|
107717
|
-
return this.
|
|
107717
|
+
return this.isAdminMaker;
|
|
107718
107718
|
},
|
|
107719
107719
|
selectedField() {
|
|
107720
107720
|
if (this.selectedItemFieldName)
|
|
@@ -107884,7 +107884,7 @@ function jxe(e, t, n, i, o, s) {
|
|
|
107884
107884
|
return u(), f("div", Gxe, [
|
|
107885
107885
|
T(r, {
|
|
107886
107886
|
"section-title": e.sectionTitle,
|
|
107887
|
-
"is-admin": e.
|
|
107887
|
+
"is-admin-maker": e.isAdminMaker,
|
|
107888
107888
|
mode: e.mode,
|
|
107889
107889
|
"media-settings": e.imageSettings,
|
|
107890
107890
|
"active-tabs": e.activeTabs,
|
|
@@ -107895,7 +107895,7 @@ function jxe(e, t, n, i, o, s) {
|
|
|
107895
107895
|
onOnImagePicked: e.onImageSelected,
|
|
107896
107896
|
onOnImageRemoved: e.onImageRemoved,
|
|
107897
107897
|
onOnVideoSelected: e.onVideoSelected
|
|
107898
|
-
}, null, 8, ["section-title", "is-admin", "mode", "media-settings", "active-tabs", "onOnBack", "onOnDesignSelected", "onOnShapeSelected", "onOnImagePicked", "onOnImageRemoved", "onOnVideoSelected"])
|
|
107898
|
+
}, null, 8, ["section-title", "is-admin-maker", "mode", "media-settings", "active-tabs", "onOnBack", "onOnDesignSelected", "onOnShapeSelected", "onOnImagePicked", "onOnImageRemoved", "onOnVideoSelected"])
|
|
107899
107899
|
]);
|
|
107900
107900
|
}
|
|
107901
107901
|
const Wxe = /* @__PURE__ */ v(qxe, [["render", jxe]]), Kxe = {
|
|
@@ -108230,7 +108230,7 @@ const dVe = /* @__PURE__ */ v(iVe, [["render", cVe]]), S5 = {
|
|
|
108230
108230
|
),
|
|
108231
108231
|
sections: L(() => i.sections),
|
|
108232
108232
|
features: L(() => n.features),
|
|
108233
|
-
|
|
108233
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
108234
108234
|
isBrandSite: L(() => e.isBrandSite),
|
|
108235
108235
|
navigationStyleTypeConfigs: L(
|
|
108236
108236
|
() => s.navigationStyleTypeConfigs
|
|
@@ -108575,7 +108575,7 @@ const bVe = /* @__PURE__ */ v(fVe, [["render", wVe]]), eg = () => [
|
|
|
108575
108575
|
required: !1,
|
|
108576
108576
|
default: () => []
|
|
108577
108577
|
},
|
|
108578
|
-
|
|
108578
|
+
isAdminMaker: {
|
|
108579
108579
|
type: Boolean,
|
|
108580
108580
|
required: !0
|
|
108581
108581
|
},
|
|
@@ -108970,7 +108970,7 @@ const bVe = /* @__PURE__ */ v(fVe, [["render", wVe]]), eg = () => [
|
|
|
108970
108970
|
type: Array,
|
|
108971
108971
|
required: !0
|
|
108972
108972
|
},
|
|
108973
|
-
|
|
108973
|
+
isAdminMaker: {
|
|
108974
108974
|
type: Boolean,
|
|
108975
108975
|
required: !0
|
|
108976
108976
|
},
|
|
@@ -109104,43 +109104,43 @@ function EVe(e, t, n, i, o, s) {
|
|
|
109104
109104
|
id: "navigation-hamburger-default-button-style",
|
|
109105
109105
|
key: "navigation-hamburger-default-button-style",
|
|
109106
109106
|
name: "Default text style",
|
|
109107
|
-
"is-admin": e.
|
|
109107
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109108
109108
|
label: i.commonTr("defaultTextStyle"),
|
|
109109
109109
|
"logo-theme": e.logoTheme,
|
|
109110
109110
|
value: e.value.hamburgerMenuStyle.defaultButtonStyle,
|
|
109111
109111
|
"onUpdate:modelValue": t[0] || (t[0] = (c) => e.setTextStyleOption("defaultTextStyle", c))
|
|
109112
|
-
}, null, 8, ["is-admin", "label", "logo-theme", "value"]), [
|
|
109112
|
+
}, null, 8, ["is-admin-maker", "label", "logo-theme", "value"]), [
|
|
109113
109113
|
[N3, e.value.displayType.includes("hamburger")]
|
|
109114
109114
|
]),
|
|
109115
109115
|
Je(T(r, {
|
|
109116
109116
|
id: "navigation-default-button-style",
|
|
109117
109117
|
key: "navigation-default-button-style",
|
|
109118
109118
|
name: "Default text style",
|
|
109119
|
-
"is-admin": e.
|
|
109119
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109120
109120
|
label: i.commonTr("defaultTextStyle"),
|
|
109121
109121
|
"logo-theme": e.logoTheme,
|
|
109122
109122
|
value: e.value.defaultButtonStyle,
|
|
109123
109123
|
"show-text-alignment-options": !1,
|
|
109124
109124
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => e.setTextStyleOption("defaultTextStyle", c))
|
|
109125
|
-
}, null, 8, ["is-admin", "label", "logo-theme", "value"]), [
|
|
109125
|
+
}, null, 8, ["is-admin-maker", "label", "logo-theme", "value"]), [
|
|
109126
109126
|
[N3, !e.value.displayType.includes("hamburger")]
|
|
109127
109127
|
])
|
|
109128
109128
|
]),
|
|
109129
109129
|
(u(!0), f(S1, null, N1(e.navigationStyleOptions, (c, d) => (u(), f("div", {
|
|
109130
109130
|
key: d,
|
|
109131
109131
|
class: O(["tw-flex tw-justify-between tw-w-full", {
|
|
109132
|
-
"tw-items-start": e.
|
|
109133
|
-
"tw-items-center": !e.
|
|
109132
|
+
"tw-items-start": e.isAdminMaker,
|
|
109133
|
+
"tw-items-center": !e.isAdminMaker,
|
|
109134
109134
|
"tw-mb-4": d < e.navigationStyleOptions.length - 1
|
|
109135
109135
|
}])
|
|
109136
109136
|
}, [
|
|
109137
109137
|
p("div", LVe, [
|
|
109138
109138
|
p("p", {
|
|
109139
109139
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm tw-break-words", {
|
|
109140
|
-
"tw-mb-2": e.
|
|
109140
|
+
"tw-mb-2": e.isAdminMaker
|
|
109141
109141
|
}])
|
|
109142
109142
|
}, P(e.navigationStyleConfigOptionTitles[c]), 3),
|
|
109143
|
-
e.
|
|
109143
|
+
e.isAdminMaker ? (u(), f("div", TVe, [
|
|
109144
109144
|
T(a, {
|
|
109145
109145
|
id: `${c}-color-matched`,
|
|
109146
109146
|
"model-value": e.isOptionColorMatched(c),
|
|
@@ -109151,19 +109151,19 @@ function EVe(e, t, n, i, o, s) {
|
|
|
109151
109151
|
}, null, 8, ["id", "model-value", "onUpdate:modelValue"])
|
|
109152
109152
|
])) : k("", !0)
|
|
109153
109153
|
]),
|
|
109154
|
-
e.
|
|
109154
|
+
e.isAdminMaker && !e.isOptionColorMatched(c) || !e.isAdminMaker ? (u(), f("div", xVe, [
|
|
109155
109155
|
T(l, {
|
|
109156
109156
|
id: "navigationStyle",
|
|
109157
109157
|
name: "navigationStyle",
|
|
109158
109158
|
value: e.colorPickerValue(c),
|
|
109159
|
-
"is-admin": e.
|
|
109159
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109160
109160
|
"is-toggled": !1,
|
|
109161
109161
|
"logo-theme": e.logoTheme,
|
|
109162
109162
|
"disable-transparent": c !== "defaultBackgroundColor" && c !== "selectedBackgroundColor",
|
|
109163
109163
|
"onUpdate:modelValue": (C) => e.onColorPickerInput(c, C)
|
|
109164
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "disable-transparent", "onUpdate:modelValue"])
|
|
109164
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "disable-transparent", "onUpdate:modelValue"])
|
|
109165
109165
|
])) : k("", !0),
|
|
109166
|
-
e.
|
|
109166
|
+
e.isAdminMaker && e.isOptionColorMatched(c) ? (u(), f("div", VVe, [
|
|
109167
109167
|
p("select", {
|
|
109168
109168
|
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
109169
|
onChange: w1((C) => e.onColorPickerInput(c, C.target.value), ["stop"])
|
|
@@ -109413,11 +109413,11 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109413
109413
|
]),
|
|
109414
109414
|
T(g, {
|
|
109415
109415
|
"available-navigation-style-configs": e.availableNavigationStyleConfigs,
|
|
109416
|
-
"is-admin": e.
|
|
109416
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109417
109417
|
"logo-theme": e.logoTheme,
|
|
109418
109418
|
value: e.navigation,
|
|
109419
109419
|
onOptionValueChange: e.handleHeaderNavigationStyleOptionValueChange
|
|
109420
|
-
}, null, 8, ["available-navigation-style-configs", "is-admin", "logo-theme", "value", "onOptionValueChange"])
|
|
109420
|
+
}, null, 8, ["available-navigation-style-configs", "is-admin-maker", "logo-theme", "value", "onOptionValueChange"])
|
|
109421
109421
|
])) : k("", !0),
|
|
109422
109422
|
S === e.PAGE_SECTION_STYLE_OPTIONS.copyright ? (u(), f("div", eHe, [
|
|
109423
109423
|
p("div", tHe, [
|
|
@@ -109460,10 +109460,10 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109460
109460
|
"font-family-options": e.availableTextFontFamilyOptions,
|
|
109461
109461
|
value: e.fontStyle(x.propName),
|
|
109462
109462
|
"show-text-alignment-options": !1,
|
|
109463
|
-
"is-admin": e.
|
|
109463
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109464
109464
|
"logo-theme": e.logoTheme,
|
|
109465
109465
|
"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))
|
|
109466
|
+
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
109467
109467
|
])) : k("", !0),
|
|
109468
109468
|
S === e.PAGE_SECTION_STYLE_OPTIONS.iconColor ? (u(), f("div", lHe, [
|
|
109469
109469
|
T(b, {
|
|
@@ -109472,12 +109472,12 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109472
109472
|
name: "fill",
|
|
109473
109473
|
label: i.commonTr("iconColor"),
|
|
109474
109474
|
value: e.iconColor,
|
|
109475
|
-
"is-admin": e.
|
|
109475
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109476
109476
|
"logo-theme": e.logoTheme,
|
|
109477
109477
|
"toggle-unique-id": e.sectionName,
|
|
109478
109478
|
"disable-transparent": !0,
|
|
109479
109479
|
"onUpdate:modelValue": e.onSelectColor
|
|
109480
|
-
}, null, 8, ["label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109480
|
+
}, null, 8, ["label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109481
109481
|
])) : k("", !0),
|
|
109482
109482
|
S === e.PAGE_SECTION_STYLE_OPTIONS.backgroundColor ? (u(), f("div", cHe, [
|
|
109483
109483
|
T(b, {
|
|
@@ -109487,11 +109487,11 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109487
109487
|
name: "backgroundColor",
|
|
109488
109488
|
label: i.commonTr("backgroundColor"),
|
|
109489
109489
|
value: e.backgroundColor,
|
|
109490
|
-
"is-admin": e.
|
|
109490
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109491
109491
|
"logo-theme": e.logoTheme,
|
|
109492
109492
|
"toggle-unique-id": e.sectionName,
|
|
109493
109493
|
"onUpdate:modelValue": e.onSelectColor
|
|
109494
|
-
}, null, 8, ["class", "label", "value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109494
|
+
}, null, 8, ["class", "label", "value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
109495
109495
|
])) : k("", !0),
|
|
109496
109496
|
S === e.PAGE_SECTION_STYLE_OPTIONS.footerDisplay ? (u(), f("div", dHe, [
|
|
109497
109497
|
e.showFooterDisplayStyle ? (u(), $(_, {
|
|
@@ -109503,7 +109503,7 @@ function CHe(e, t, n, i, o, s) {
|
|
|
109503
109503
|
]))), 128))
|
|
109504
109504
|
], 64);
|
|
109505
109505
|
}
|
|
109506
|
-
const uHe = /* @__PURE__ */ v(UVe, [["render", CHe], ["__scopeId", "data-v-
|
|
109506
|
+
const uHe = /* @__PURE__ */ v(UVe, [["render", CHe], ["__scopeId", "data-v-4a885317"]]), pHe = {
|
|
109507
109507
|
key: 0,
|
|
109508
109508
|
style: { "border-radius": "8px" },
|
|
109509
109509
|
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 +109926,11 @@ function $He(e, t, n, i, o, s) {
|
|
|
109926
109926
|
default: t1(() => [
|
|
109927
109927
|
T(C, {
|
|
109928
109928
|
"section-name": "header",
|
|
109929
|
-
"is-admin": e.
|
|
109929
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109930
109930
|
"is-brand-site": e.isBrandSite,
|
|
109931
109931
|
"logo-theme": e.logoTheme,
|
|
109932
109932
|
"style-options": e.headerPageSectionStyleOptions
|
|
109933
|
-
}, null, 8, ["is-admin", "is-brand-site", "logo-theme", "style-options"])
|
|
109933
|
+
}, null, 8, ["is-admin-maker", "is-brand-site", "logo-theme", "style-options"])
|
|
109934
109934
|
]),
|
|
109935
109935
|
_: 1
|
|
109936
109936
|
}, 8, ["title", "is-collapsed"]),
|
|
@@ -109945,12 +109945,12 @@ function $He(e, t, n, i, o, s) {
|
|
|
109945
109945
|
T(C, {
|
|
109946
109946
|
"section-name": "footer",
|
|
109947
109947
|
"font-settings-options": e.footerFontSettingsOptions,
|
|
109948
|
-
"is-admin": e.
|
|
109948
|
+
"is-admin-maker": e.isAdminMaker,
|
|
109949
109949
|
"is-brand-site": e.isBrandSite,
|
|
109950
109950
|
"logo-theme": e.logoTheme,
|
|
109951
109951
|
"style-options": e.footerPageSectionStyleOptions
|
|
109952
|
-
}, null, 8, ["font-settings-options", "is-admin", "is-brand-site", "logo-theme", "style-options"]),
|
|
109953
|
-
!e.
|
|
109952
|
+
}, null, 8, ["font-settings-options", "is-admin-maker", "is-brand-site", "logo-theme", "style-options"]),
|
|
109953
|
+
!e.isAdminMaker && !e.isPrePurchase && e.showBrandCrowdLogo ? (u(), f("div", {
|
|
109954
109954
|
key: 0,
|
|
109955
109955
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer",
|
|
109956
109956
|
onClick: t[1] || (t[1] = (...m) => e.onHideBrandPageLogoClickFromFooter && e.onHideBrandPageLogoClickFromFooter(...m))
|
|
@@ -109981,7 +109981,7 @@ function $He(e, t, n, i, o, s) {
|
|
|
109981
109981
|
])
|
|
109982
109982
|
]);
|
|
109983
109983
|
}
|
|
109984
|
-
const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-
|
|
109984
|
+
const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-d2becd27"]]), QH = J({
|
|
109985
109985
|
emits: ["capture-preview-snapshot"],
|
|
109986
109986
|
setup() {
|
|
109987
109987
|
const e = L2(), t = le();
|
|
@@ -109998,7 +109998,7 @@ const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-4686f
|
|
|
109998
109998
|
isPersonalisationEnabled: L(
|
|
109999
109999
|
() => o.isPersonalisationEnabled
|
|
110000
110000
|
),
|
|
110001
|
-
|
|
110001
|
+
isAdminMaker: L(() => i.isAdminMaker),
|
|
110002
110002
|
canUseRichTextEditor: L(
|
|
110003
110003
|
() => n.features.canUseRichTextEditor
|
|
110004
110004
|
),
|
|
@@ -110097,7 +110097,7 @@ const BHe = /* @__PURE__ */ v(VHe, [["render", $He], ["__scopeId", "data-v-4686f
|
|
|
110097
110097
|
return this.template?.displayName || "";
|
|
110098
110098
|
},
|
|
110099
110099
|
showPersonalisationField() {
|
|
110100
|
-
return this.
|
|
110100
|
+
return this.isAdminMaker && this.isPersonalisationEnabled;
|
|
110101
110101
|
},
|
|
110102
110102
|
personalisationRole() {
|
|
110103
110103
|
return this.getValue(this.id, "personalisationRole");
|
|
@@ -111248,7 +111248,7 @@ function sEe(e, t, n, i, o, s) {
|
|
|
111248
111248
|
}
|
|
111249
111249
|
const rEe = /* @__PURE__ */ v(iEe, [["render", sEe]]), aEe = J({
|
|
111250
111250
|
props: {
|
|
111251
|
-
|
|
111251
|
+
isAdminMaker: {
|
|
111252
111252
|
type: Boolean,
|
|
111253
111253
|
required: !1,
|
|
111254
111254
|
default: !1
|
|
@@ -111321,7 +111321,7 @@ const rEe = /* @__PURE__ */ v(iEe, [["render", sEe]]), aEe = J({
|
|
|
111321
111321
|
function dEe(e, t, n, i, o, s) {
|
|
111322
111322
|
const r = E("Button");
|
|
111323
111323
|
return u(), f("div", cEe, [
|
|
111324
|
-
!e.
|
|
111324
|
+
!e.isAdminMaker && e.isLivePreviewEnabled ? (u(), $(r, {
|
|
111325
111325
|
key: 0,
|
|
111326
111326
|
label: i.constantsTr("previewDisplayName"),
|
|
111327
111327
|
variant: "no-border",
|
|
@@ -111336,8 +111336,8 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111336
111336
|
}, null, 8, ["label", "onOnClick"])) : k("", !0),
|
|
111337
111337
|
e.isPublished ? k("", !0) : (u(), $(r, {
|
|
111338
111338
|
key: 1,
|
|
111339
|
-
label: e.
|
|
111340
|
-
variant: e.
|
|
111339
|
+
label: e.isAdminMaker ? i.actionBarTr("saveTemplate") : i.actionBarTr("saveProgress"),
|
|
111340
|
+
variant: e.isAdminMaker ? "primary" : "outline",
|
|
111341
111341
|
disabled: e.isSaving,
|
|
111342
111342
|
white: !0,
|
|
111343
111343
|
size: "small-medium",
|
|
@@ -111345,7 +111345,7 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111345
111345
|
classes: "!tw-px-3 lg:!tw-px-6 tw-w-full lg:tw-w-auto tw-whitespace-nowrap",
|
|
111346
111346
|
onOnClick: w1(e.saveBrandPage, ["stop"])
|
|
111347
111347
|
}, null, 8, ["label", "variant", "disabled", "onOnClick"])),
|
|
111348
|
-
e.isBrandContact && e.isPublished && !e.
|
|
111348
|
+
e.isBrandContact && e.isPublished && !e.isAdminMaker ? (u(), $(r, {
|
|
111349
111349
|
key: 2,
|
|
111350
111350
|
label: i.actionBarTr("createTeamCards"),
|
|
111351
111351
|
variant: "gray",
|
|
@@ -111355,7 +111355,7 @@ function dEe(e, t, n, i, o, s) {
|
|
|
111355
111355
|
"data-test-create-team-cards-button": "",
|
|
111356
111356
|
onOnClick: t[0] || (t[0] = w1((a) => e.createTeamCards(!0), ["stop"]))
|
|
111357
111357
|
}, null, 8, ["label"])) : k("", !0),
|
|
111358
|
-
e.
|
|
111358
|
+
e.isAdminMaker ? k("", !0) : (u(), $(r, {
|
|
111359
111359
|
key: 3,
|
|
111360
111360
|
label: i.actionBarTr("publish"),
|
|
111361
111361
|
variant: e.isPublishButtonEnabled ? "success" : "gray",
|
|
@@ -111593,11 +111593,11 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111593
111593
|
return u(), f("header", {
|
|
111594
111594
|
"data-component": "navigation",
|
|
111595
111595
|
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.
|
|
111596
|
+
"tw-bg-grayscale-800": !e.isAdminMaker
|
|
111597
111597
|
}])
|
|
111598
111598
|
}, [
|
|
111599
111599
|
p("div", kEe, [
|
|
111600
|
-
e.
|
|
111600
|
+
e.isAdminMaker ? k("", !0) : (u(), f("div", LEe, [
|
|
111601
111601
|
T(r, {
|
|
111602
111602
|
"brand-crowd-url": e.brandCrowdUrl,
|
|
111603
111603
|
"is-design-com": e.isDesignCom,
|
|
@@ -111608,7 +111608,7 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111608
111608
|
key: 1,
|
|
111609
111609
|
class: "tw-hidden lg:tw-flex"
|
|
111610
111610
|
})) : k("", !0),
|
|
111611
|
-
e.
|
|
111611
|
+
e.isAdminMaker || !i.showBreadcrumb ? (u(), $(l, {
|
|
111612
111612
|
key: 2,
|
|
111613
111613
|
label: i.backButtonLabel,
|
|
111614
111614
|
variant: "no-border",
|
|
@@ -111628,7 +111628,7 @@ function TEe(e, t, n, i, o, s) {
|
|
|
111628
111628
|
])
|
|
111629
111629
|
], 2);
|
|
111630
111630
|
}
|
|
111631
|
-
const xEe = /* @__PURE__ */ v(MEe, [["render", TEe], ["__scopeId", "data-v-
|
|
111631
|
+
const xEe = /* @__PURE__ */ v(MEe, [["render", TEe], ["__scopeId", "data-v-b1e86b09"]]), VEe = 250, oI = J({
|
|
111632
111632
|
components: {
|
|
111633
111633
|
HelloBar: p0,
|
|
111634
111634
|
BrandPageMakerPage: yc,
|
|
@@ -112074,7 +112074,7 @@ const XEe = /* @__PURE__ */ v(UEe, [["render", YEe], ["__scopeId", "data-v-d1836
|
|
|
112074
112074
|
brandPageContainerStore: t,
|
|
112075
112075
|
tabs: L(() => e.tabs),
|
|
112076
112076
|
selectedTabName: L(() => e.selectedTabName),
|
|
112077
|
-
|
|
112077
|
+
isAdminMaker: L(() => t.isAdminMaker),
|
|
112078
112078
|
contentSettingsMode: L(() => i.mode),
|
|
112079
112079
|
contentSettingsSelectedItemId: L(
|
|
112080
112080
|
() => i.selectedItemId
|
|
@@ -112115,7 +112115,7 @@ const XEe = /* @__PURE__ */ v(UEe, [["render", YEe], ["__scopeId", "data-v-d1836
|
|
|
112115
112115
|
this.sideBarStore.setSelectedTabName({ tabName: this.mobileTabName });
|
|
112116
112116
|
},
|
|
112117
112117
|
shouldDisplayTab(e) {
|
|
112118
|
-
return this.isBrandPageLoaded === !1 && this.isPrePurchase === !1 || this.
|
|
112118
|
+
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
112119
|
},
|
|
112120
112120
|
contentScrollToTop() {
|
|
112121
112121
|
const e = this.$refs[this.sideBarContentRef];
|
|
@@ -112271,7 +112271,7 @@ const dPe = /* @__PURE__ */ v(oPe, [["render", cPe]]), lI = J({
|
|
|
112271
112271
|
isDefaultTextColorRequired: L(
|
|
112272
112272
|
() => e.isDefaultTextColorRequired
|
|
112273
112273
|
),
|
|
112274
|
-
|
|
112274
|
+
isAdminMaker: L(() => o.isAdminMaker),
|
|
112275
112275
|
brandPageType: L(() => i.brandPageType),
|
|
112276
112276
|
showBrandCrowdLogo: L(
|
|
112277
112277
|
() => i.showBrandCrowdLogo
|
|
@@ -112329,7 +112329,7 @@ const dPe = /* @__PURE__ */ v(oPe, [["render", cPe]]), lI = J({
|
|
|
112329
112329
|
}
|
|
112330
112330
|
},
|
|
112331
112331
|
created() {
|
|
112332
|
-
this.
|
|
112332
|
+
this.isAdminMaker && Object.keys(this.isColorMatch).forEach((e) => {
|
|
112333
112333
|
this.isColorMatch[e] = typeof this[e] == "string" && Zt(this[e]);
|
|
112334
112334
|
});
|
|
112335
112335
|
},
|
|
@@ -112506,12 +112506,12 @@ const mPe = /* @__PURE__ */ v(fPe, [["render", gPe]]), yPe = { "data-component":
|
|
|
112506
112506
|
value: w.style,
|
|
112507
112507
|
"show-text-alignment-options": !1,
|
|
112508
112508
|
"white-background": !0,
|
|
112509
|
-
"is-admin": l.value,
|
|
112509
|
+
"is-admin-maker": l.value,
|
|
112510
112510
|
"logo-theme": d.value,
|
|
112511
112511
|
"show-text-style-type-options": !1,
|
|
112512
112512
|
"title-text-size": "base",
|
|
112513
112513
|
"onUpdate:modelValue": (b) => h(w.type, b)
|
|
112514
|
-
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
112514
|
+
}, null, 8, ["id", "name", "label", "font-family-options", "value", "is-admin-maker", "logo-theme", "onUpdate:modelValue"]))), 128))
|
|
112515
112515
|
]));
|
|
112516
112516
|
}
|
|
112517
112517
|
}), bPe = {
|
|
@@ -112543,15 +112543,15 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112543
112543
|
T(r, {
|
|
112544
112544
|
title: i.styleSettingsTr("styleTitle")
|
|
112545
112545
|
}, null, 8, ["title"]),
|
|
112546
|
-
e.
|
|
112546
|
+
e.isAdminMaker ? (u(), $(c, { key: 0 }, {
|
|
112547
112547
|
default: t1(() => [
|
|
112548
112548
|
p("div", SPe, [
|
|
112549
112549
|
p("p", {
|
|
112550
112550
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112551
|
-
"tw-mb-2": e.
|
|
112551
|
+
"tw-mb-2": e.isAdminMaker
|
|
112552
112552
|
}])
|
|
112553
112553
|
}, P(i.styleSettingsTr("logoBackgroundColor")), 3),
|
|
112554
|
-
e.
|
|
112554
|
+
e.isAdminMaker ? (u(), f("div", _Pe, [
|
|
112555
112555
|
T(a, {
|
|
112556
112556
|
id: "logo-background-color-matched",
|
|
112557
112557
|
"model-value": e.isColorMatch.logoBackgroundColor,
|
|
@@ -112562,7 +112562,7 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112562
112562
|
}, null, 8, ["model-value", "label"])
|
|
112563
112563
|
])) : k("", !0)
|
|
112564
112564
|
]),
|
|
112565
|
-
e.
|
|
112565
|
+
e.isAdminMaker && e.isColorMatch.logoBackgroundColor ? (u(), f("div", MPe, [
|
|
112566
112566
|
p("select", {
|
|
112567
112567
|
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
112568
|
onChange: t[1] || (t[1] = w1((m) => e.onColorPickerInput("logoBackgroundColor", m), ["stop"]))
|
|
@@ -112574,42 +112574,42 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112574
112574
|
}, P(m), 9, kPe))), 128))
|
|
112575
112575
|
], 32)
|
|
112576
112576
|
])) : k("", !0),
|
|
112577
|
-
e.
|
|
112577
|
+
e.isAdminMaker && !e.isColorMatch.logoBackgroundColor ? (u(), f("div", LPe, [
|
|
112578
112578
|
T(l, {
|
|
112579
112579
|
id: "iconStyle",
|
|
112580
112580
|
name: "fill",
|
|
112581
112581
|
value: e.colorPickerValue("logoBackgroundColor"),
|
|
112582
|
-
"is-admin": e.
|
|
112582
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112583
112583
|
"logo-theme": e.logoTheme,
|
|
112584
112584
|
"toggle-unique-id": e.sectionName,
|
|
112585
112585
|
"disable-transparent": !0,
|
|
112586
112586
|
"onUpdate:modelValue": t[2] || (t[2] = (m) => e.onColorPickerInput("logoBackgroundColor", m))
|
|
112587
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id"])
|
|
112587
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id"])
|
|
112588
112588
|
])) : k("", !0)
|
|
112589
112589
|
]),
|
|
112590
112590
|
_: 1
|
|
112591
112591
|
})) : k("", !0),
|
|
112592
|
-
e.
|
|
112592
|
+
e.isAdminMaker ? (u(), $(c, { key: 1 }, {
|
|
112593
112593
|
default: t1(() => [
|
|
112594
112594
|
T(d)
|
|
112595
112595
|
]),
|
|
112596
112596
|
_: 1
|
|
112597
112597
|
})) : k("", !0),
|
|
112598
|
-
e.
|
|
112598
|
+
e.isAdminMaker && e.isDefaultTextColorRequired ? (u(), $(c, { key: 2 }, {
|
|
112599
112599
|
default: t1(() => [
|
|
112600
112600
|
p("div", {
|
|
112601
112601
|
class: O(["tw-flex tw-justify-between tw-w-full", {
|
|
112602
|
-
"tw-items-start": e.
|
|
112603
|
-
"tw-items-center": !e.
|
|
112602
|
+
"tw-items-start": e.isAdminMaker,
|
|
112603
|
+
"tw-items-center": !e.isAdminMaker
|
|
112604
112604
|
}])
|
|
112605
112605
|
}, [
|
|
112606
112606
|
p("div", TPe, [
|
|
112607
112607
|
p("p", {
|
|
112608
112608
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112609
|
-
"tw-mb-2": e.
|
|
112609
|
+
"tw-mb-2": e.isAdminMaker
|
|
112610
112610
|
}])
|
|
112611
112611
|
}, P(i.styleSettingsTr("defaultTextColor")), 3),
|
|
112612
|
-
e.
|
|
112612
|
+
e.isAdminMaker ? (u(), f("div", xPe, [
|
|
112613
112613
|
T(a, {
|
|
112614
112614
|
id: "default-text-color-matched",
|
|
112615
112615
|
"model-value": e.isColorMatch.defaultTextColor,
|
|
@@ -112620,19 +112620,19 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112620
112620
|
}, null, 8, ["model-value", "label"])
|
|
112621
112621
|
])) : k("", !0)
|
|
112622
112622
|
]),
|
|
112623
|
-
e.
|
|
112623
|
+
e.isAdminMaker && !e.isColorMatch.defaultTextColor || !e.isAdminMaker ? (u(), f("div", VPe, [
|
|
112624
112624
|
T(l, {
|
|
112625
112625
|
id: "iconStyle",
|
|
112626
112626
|
name: "fill",
|
|
112627
112627
|
value: e.colorPickerValue("defaultTextColor"),
|
|
112628
|
-
"is-admin": e.
|
|
112628
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112629
112629
|
"logo-theme": e.logoTheme,
|
|
112630
112630
|
"toggle-unique-id": e.sectionName,
|
|
112631
112631
|
"disable-transparent": !0,
|
|
112632
112632
|
"onUpdate:modelValue": t[4] || (t[4] = (m) => e.onColorPickerInput("defaultTextColor", m))
|
|
112633
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id"])
|
|
112633
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id"])
|
|
112634
112634
|
])) : k("", !0),
|
|
112635
|
-
e.
|
|
112635
|
+
e.isAdminMaker && e.isColorMatch.defaultTextColor ? (u(), f("div", HPe, [
|
|
112636
112636
|
p("select", {
|
|
112637
112637
|
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
112638
|
onChange: t[5] || (t[5] = w1((m) => e.onColorPickerInput("defaultTextColor", m), ["stop"]))
|
|
@@ -112690,17 +112690,17 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112690
112690
|
(u(!0), f(S1, null, N1(e.filteredButtonStyleOptions, (m, y) => (u(), f("div", {
|
|
112691
112691
|
key: y,
|
|
112692
112692
|
class: O(["tw-mb-4 tw-flex tw-justify-between", {
|
|
112693
|
-
"tw-items-start": e.
|
|
112694
|
-
"tw-items-center": !e.
|
|
112693
|
+
"tw-items-start": e.isAdminMaker,
|
|
112694
|
+
"tw-items-center": !e.isAdminMaker
|
|
112695
112695
|
}])
|
|
112696
112696
|
}, [
|
|
112697
112697
|
p("div", BPe, [
|
|
112698
112698
|
p("p", {
|
|
112699
112699
|
class: O(["tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm", {
|
|
112700
|
-
"tw-mb-2": e.
|
|
112700
|
+
"tw-mb-2": e.isAdminMaker
|
|
112701
112701
|
}])
|
|
112702
112702
|
}, P(e.getButtonStyleConfigOptionTitle(m)), 3),
|
|
112703
|
-
e.
|
|
112703
|
+
e.isAdminMaker ? (u(), f("div", OPe, [
|
|
112704
112704
|
T(a, {
|
|
112705
112705
|
id: `picker-colour-matched-${m}`,
|
|
112706
112706
|
"model-value": e.isColorMatch[m],
|
|
@@ -112711,19 +112711,19 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112711
112711
|
}, null, 8, ["id", "model-value", "onUpdate:modelValue"])
|
|
112712
112712
|
])) : k("", !0)
|
|
112713
112713
|
]),
|
|
112714
|
-
e.
|
|
112714
|
+
e.isAdminMaker && !e.isColorMatch[m] || !e.isAdminMaker ? (u(), f("div", DPe, [
|
|
112715
112715
|
T(l, {
|
|
112716
112716
|
id: "iconStyle",
|
|
112717
112717
|
name: "fill",
|
|
112718
112718
|
value: e.colorPickerValue(m),
|
|
112719
|
-
"is-admin": e.
|
|
112719
|
+
"is-admin-maker": e.isAdminMaker,
|
|
112720
112720
|
"logo-theme": e.logoTheme,
|
|
112721
112721
|
"toggle-unique-id": e.sectionName,
|
|
112722
112722
|
"disable-transparent": !0,
|
|
112723
112723
|
"onUpdate:modelValue": (w) => e.onColorPickerInput(m, w)
|
|
112724
|
-
}, null, 8, ["value", "is-admin", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
112724
|
+
}, null, 8, ["value", "is-admin-maker", "logo-theme", "toggle-unique-id", "onUpdate:modelValue"])
|
|
112725
112725
|
])) : k("", !0),
|
|
112726
|
-
e.
|
|
112726
|
+
e.isAdminMaker && e.isColorMatch[m] ? (u(), f("div", NPe, [
|
|
112727
112727
|
p("select", {
|
|
112728
112728
|
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
112729
|
onChange: w1((w) => e.onColorPickerInputDropdown(m, w.target.value), ["stop"])
|
|
@@ -112754,7 +112754,7 @@ function jPe(e, t, n, i, o, s) {
|
|
|
112754
112754
|
]),
|
|
112755
112755
|
_: 1
|
|
112756
112756
|
}),
|
|
112757
|
-
!e.
|
|
112757
|
+
!e.isAdminMaker && !e.isPrePurchase && e.showBrandCrowdLogo ? (u(), f("div", {
|
|
112758
112758
|
key: 3,
|
|
112759
112759
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer",
|
|
112760
112760
|
onClick: t[6] || (t[6] = (...m) => e.onHideBrandPageLogoClick && e.onHideBrandPageLogoClick(...m))
|
|
@@ -113022,7 +113022,7 @@ const oAe = 100, dI = J({
|
|
|
113022
113022
|
backButtonLabel: L(() => r.backButtonLabel),
|
|
113023
113023
|
isDesignCom: L(() => r.isDesignCom),
|
|
113024
113024
|
selectedTabName: L(() => t.selectedTabName),
|
|
113025
|
-
|
|
113025
|
+
isAdminMaker: L(() => r.isAdminMaker),
|
|
113026
113026
|
contentErrorCount: L(() => i.contentErrorCount),
|
|
113027
113027
|
mode: L(() => i.mode),
|
|
113028
113028
|
brandPageMakerStore: e,
|
|
@@ -113530,7 +113530,7 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113530
113530
|
runtimeEnvironment: L(
|
|
113531
113531
|
() => t.runtimeEnvironment
|
|
113532
113532
|
),
|
|
113533
|
-
|
|
113533
|
+
isAdminMaker: L(() => t.isAdminMaker),
|
|
113534
113534
|
userToken: L(() => n.userToken),
|
|
113535
113535
|
isBrandSite: L(
|
|
113536
113536
|
() => e.brandPageType === c1.brandSite
|
|
@@ -113684,19 +113684,19 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113684
113684
|
},
|
|
113685
113685
|
watch: {
|
|
113686
113686
|
template() {
|
|
113687
|
-
this.
|
|
113687
|
+
this.isAdminMaker ? this.updateViewModel() : (this.imageLoading = !0, this.imageLoadError = !1);
|
|
113688
113688
|
},
|
|
113689
113689
|
logoTheme: {
|
|
113690
113690
|
handler() {
|
|
113691
|
-
this.
|
|
113691
|
+
this.isAdminMaker && this.updateViewModel();
|
|
113692
113692
|
},
|
|
113693
113693
|
deep: !0
|
|
113694
113694
|
},
|
|
113695
113695
|
logoImageBase64Url() {
|
|
113696
|
-
this.
|
|
113696
|
+
this.isAdminMaker && this.updateViewModel();
|
|
113697
113697
|
},
|
|
113698
113698
|
previewImageUrl() {
|
|
113699
|
-
this.
|
|
113699
|
+
this.isAdminMaker || (this.imageLoading = !0, this.imageLoadError = !1);
|
|
113700
113700
|
}
|
|
113701
113701
|
},
|
|
113702
113702
|
created() {
|
|
@@ -113736,7 +113736,7 @@ const yAe = /* @__PURE__ */ v(rAe, [["render", mAe], ["__scopeId", "data-v-246f2
|
|
|
113736
113736
|
this.imageLoadError = !1, this.imageLoading = !0, this.$forceUpdate();
|
|
113737
113737
|
},
|
|
113738
113738
|
async updateViewModel(e = !0) {
|
|
113739
|
-
if (!this.
|
|
113739
|
+
if (!this.isAdminMaker)
|
|
113740
113740
|
return;
|
|
113741
113741
|
const t = y9();
|
|
113742
113742
|
let n = this.template.brandPageModel;
|
|
@@ -115677,7 +115677,7 @@ const dOe = /* @__PURE__ */ v(QBe, [["render", cOe]]), COe = { class: "tw-relati
|
|
|
115677
115677
|
const e = le(), t = x2(), n = X1();
|
|
115678
115678
|
return {
|
|
115679
115679
|
mode: L(() => e.mode),
|
|
115680
|
-
|
|
115680
|
+
isAdminMaker: L(() => n.isAdminMaker),
|
|
115681
115681
|
brandPageMakerStore: e,
|
|
115682
115682
|
userStore: t
|
|
115683
115683
|
};
|
|
@@ -115763,7 +115763,7 @@ function EOe(e, t, n, i, o, s) {
|
|
|
115763
115763
|
"section-title": e.sectionTitle,
|
|
115764
115764
|
"media-settings": e.mediaSettings,
|
|
115765
115765
|
"image-extension": e.mediaExtension,
|
|
115766
|
-
"is-admin": e.
|
|
115766
|
+
"is-admin-maker": e.isAdminMaker,
|
|
115767
115767
|
mode: e.mode,
|
|
115768
115768
|
"active-tabs": e.activeTabs,
|
|
115769
115769
|
"media-type": e.mediaType,
|
|
@@ -115771,7 +115771,7 @@ function EOe(e, t, n, i, o, s) {
|
|
|
115771
115771
|
onOnDesignSelected: e.onDesignSelected,
|
|
115772
115772
|
onOnImagePicked: e.onImageSelected,
|
|
115773
115773
|
onOnImageRemoved: e.onImageRemoved
|
|
115774
|
-
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin", "mode", "active-tabs", "media-type", "onOnBack", "onOnDesignSelected", "onOnImagePicked", "onOnImageRemoved"])
|
|
115774
|
+
}, null, 8, ["section-title", "media-settings", "image-extension", "is-admin-maker", "mode", "active-tabs", "media-type", "onOnBack", "onOnDesignSelected", "onOnImagePicked", "onOnImageRemoved"])
|
|
115775
115775
|
]);
|
|
115776
115776
|
}
|
|
115777
115777
|
const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
@@ -115781,7 +115781,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
115781
115781
|
}, $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
115782
|
__name: "SaveContact",
|
|
115783
115783
|
props: {
|
|
115784
|
-
|
|
115784
|
+
isAdminMaker: { type: Boolean },
|
|
115785
115785
|
isPrePurchase: { type: Boolean },
|
|
115786
115786
|
isDesignCom: { type: Boolean }
|
|
115787
115787
|
},
|
|
@@ -115839,7 +115839,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
115839
115839
|
])
|
|
115840
115840
|
]),
|
|
115841
115841
|
p("div", ZOe, [
|
|
115842
|
-
!e.
|
|
115842
|
+
!e.isAdminMaker && !e.isPrePurchase && s.value ? (u(), f("div", {
|
|
115843
115843
|
key: 0,
|
|
115844
115844
|
class: "tw-flex tw-items-center tw-justify-between tw-cursor-pointer tw-gap-1",
|
|
115845
115845
|
onClick: h
|
|
@@ -116100,10 +116100,10 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
116100
116100
|
default: t1(() => [
|
|
116101
116101
|
p("div", nDe, [
|
|
116102
116102
|
T(GOe, {
|
|
116103
|
-
"is-admin": m.value,
|
|
116103
|
+
"is-admin-maker": m.value,
|
|
116104
116104
|
"is-pre-purchase": _.value,
|
|
116105
116105
|
"is-design-com": y.value
|
|
116106
|
-
}, null, 8, ["is-admin", "is-pre-purchase", "is-design-com"])
|
|
116106
|
+
}, null, 8, ["is-admin-maker", "is-pre-purchase", "is-design-com"])
|
|
116107
116107
|
])
|
|
116108
116108
|
]),
|
|
116109
116109
|
_: 1
|
|
@@ -116124,7 +116124,7 @@ const POe = /* @__PURE__ */ v(HOe, [["render", EOe]]), AOe = {
|
|
|
116124
116124
|
])) : k("", !0)
|
|
116125
116125
|
]));
|
|
116126
116126
|
}
|
|
116127
|
-
}), sDe = /* @__PURE__ */ v(oDe, [["__scopeId", "data-v-
|
|
116127
|
+
}), sDe = /* @__PURE__ */ v(oDe, [["__scopeId", "data-v-f775b41a"]]), bI = J({
|
|
116128
116128
|
setup() {
|
|
116129
116129
|
const e = KN(), t = L2(), n = le();
|
|
116130
116130
|
return {
|
|
@@ -121158,7 +121158,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121158
121158
|
class: "tw-font-sans"
|
|
121159
121159
|
}, [
|
|
121160
121160
|
T(r, {
|
|
121161
|
-
"is-admin": e.
|
|
121161
|
+
"is-admin-maker": e.isAdminMaker,
|
|
121162
121162
|
"is-published": e.isPublished,
|
|
121163
121163
|
"is-saving": e.isSaving,
|
|
121164
121164
|
"brand-crowd-url": i.brandCrowdUrl,
|
|
@@ -121170,7 +121170,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121170
121170
|
onPublish: t[1] || (t[1] = (M) => e.saveAndPublishBrandPage(!1)),
|
|
121171
121171
|
onPreview: e.onPreview,
|
|
121172
121172
|
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"]),
|
|
121173
|
+
}, null, 8, ["is-admin-maker", "is-published", "is-saving", "brand-crowd-url", "back-url", "back-button-label", "is-design-com", "onBack", "onPreview", "onCreateTeamCards"]),
|
|
121174
121174
|
R1(e.$slots, "editButtonHeader", {}, void 0, !0),
|
|
121175
121175
|
p("div", IZe, [
|
|
121176
121176
|
p("div", EZe, [
|
|
@@ -121283,7 +121283,7 @@ function UZe(e, t, n, i, o, s) {
|
|
|
121283
121283
|
}, null, 8, ["visible", "onPublish", "onClose"])
|
|
121284
121284
|
], 8, HZe);
|
|
121285
121285
|
}
|
|
121286
|
-
const IUe = /* @__PURE__ */ v(VZe, [["render", UZe], ["__scopeId", "data-v-
|
|
121286
|
+
const IUe = /* @__PURE__ */ v(VZe, [["render", UZe], ["__scopeId", "data-v-08af5b72"]]), QI = J({
|
|
121287
121287
|
props: {
|
|
121288
121288
|
visible: {
|
|
121289
121289
|
type: Boolean,
|