@feedmepos/mf-brand-app-builder 0.5.12 → 0.5.14-alpha
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/dist/App-Xo6sYLKN.js +107 -0
- package/dist/{AssetsSettings-BRmUNWzU.js → AssetsSettings-GYv5Lgbv.js} +86 -84
- package/dist/BaDivider-Cp9gfB4r.js +10 -0
- package/dist/BuilderView-DbmdbQY9.js +9346 -0
- package/dist/{ButtonGroup-B3ba45VA.js → ButtonGroup-CbW3Lnxj.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/ColorPicker-CD7uePb_.js +590 -0
- package/dist/HomeView-3aPMgIRl.js +10 -0
- package/dist/{Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js → Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js} +2 -2
- package/dist/{ImageUpload-EpMFyZdg.js → ImageUpload-DbMJq_mi.js} +14 -14
- package/dist/{LinkButton-DENsxaU5.js → LinkButton-PteLpFYx.js} +44 -44
- package/dist/{ListRepeater-DLracrtI.js → ListRepeater-QEdnv9ML.js} +2 -2
- package/dist/{ManagementSettings-BM5Ln-Sx.js → ManagementSettings-A6ZjMlBQ.js} +6 -6
- package/dist/ProjectView-BWC0s0Bv.js +509 -0
- package/dist/{Select-CbQFoAzb.js → Select-C2r_c4vv.js} +2 -2
- package/dist/{SettingsView-DFAxZPug.js → SettingsView-BUGfoZhA.js} +2 -2
- package/dist/{StepperField-DrHM9EDn.js → StepperField-xVvcmxNx.js} +2 -2
- package/dist/{Switch-8mmNQUDo.js → Switch-uc_zN-mb.js} +2 -2
- package/dist/{TextAlign-BOC8ekaH.js → TextAlign-BSp1Xi7F.js} +2 -2
- package/dist/{TextDecorators-BJC4umDR.js → TextDecorators-1C54q7us.js} +4 -4
- package/dist/{TextField-BiVH5rLX.js → TextField-DfBJB6vQ.js} +2 -2
- package/dist/{TextStyleList-CuPE80Py.js → TextStyleList-Bef3irUx.js} +3 -3
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{app-B1o1qlxh.js → app-DVFhgbmV.js} +42 -33
- package/dist/app.js +1 -1
- package/dist/components/src/components/BranchList.vue.d.ts +1 -1
- package/dist/components/src/components/ButtonList.vue.d.ts +1 -1
- package/dist/components/src/components/CountrySwitcher.vue.d.ts +1 -1
- package/dist/components/src/components/Homepage.vue.d.ts +5 -3
- package/dist/components/src/components/ImageCarousel.vue.d.ts +1 -1
- package/dist/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/Member/MemberAchievements.vue.d.ts +33 -0
- package/dist/components/src/components/Member/MemberButtonList.vue.d.ts +21 -0
- package/dist/components/src/components/Member/MemberCards.vue.d.ts +19 -0
- package/dist/components/src/components/Member/MemberSummary.vue.d.ts +24 -0
- package/dist/components/src/components/Member/TransactionList.vue.d.ts +5 -0
- package/dist/components/src/components/MemberCard.vue.d.ts +1 -1
- package/dist/components/src/components/NavigationBar.vue.d.ts +17 -0
- package/dist/components/src/components/OrderHistoryCard.vue.d.ts +1 -1
- package/dist/components/src/components/OrderMethod.vue.d.ts +1 -1
- package/dist/components/src/components/TextDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Button.vue.d.ts +4 -4
- package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Container.vue.d.ts +4 -3
- package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Icon.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
- package/dist/components/src/main.d.ts +10 -1
- package/dist/components/src/utils/date.d.ts +22 -0
- package/dist/components/src/views/OrderDetails.vue.d.ts +1 -1
- package/dist/components/src/views/_Credit.vue.d.ts +20 -0
- package/dist/components/src/views/_MemberProfile.vue.d.ts +39 -0
- package/dist/components/src/views/_Point.vue.d.ts +20 -0
- package/dist/components/src/views/_Referral.vue.d.ts +31 -0
- package/dist/components/src/views/_ReferralTutorial.vue.d.ts +23 -0
- package/dist/{image-Dw_jz8xE.js → image-BTKrdsxd.js} +12 -12
- package/dist/index-CVTxYyKn.js +194 -0
- package/dist/{index-T23clKe0.js → index-DIGmVQHT.js} +52 -52
- package/dist/{index-Dw3CRqw2.js → index-H0Aroxdr.js} +1 -1
- package/dist/index-tAs8jqUd.js +1737 -0
- package/dist/main-DsKVTvvP.js +7980 -0
- package/dist/merchant/src/api/business/index.d.ts +1 -1
- package/dist/merchant/src/api/template/index.d.ts +2 -2
- package/dist/merchant/src/app.d.ts +1 -1
- package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
- package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
- package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +2 -1
- package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
- package/dist/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
- package/dist/merchant/src/composables/useNode/index.d.ts +1 -1
- package/dist/merchant/src/node-configs/branch-list/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/button-list/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/carousel/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/container/props.d.ts +28 -0
- package/dist/merchant/src/node-configs/display-image/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/display-text/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/member-achievements/mock-data.d.ts +15 -0
- package/dist/merchant/src/node-configs/member-achievements/props.d.ts +40 -0
- package/dist/merchant/src/node-configs/member-achievements/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-button-list/props.d.ts +31 -0
- package/dist/merchant/src/node-configs/member-button-list/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-card/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/member-cards/mock-data.d.ts +3 -0
- package/dist/merchant/src/node-configs/member-cards/props.d.ts +24 -0
- package/dist/merchant/src/node-configs/member-cards/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-history/mock-data.d.ts +843 -0
- package/dist/merchant/src/node-configs/member-history/props.d.ts +1692 -0
- package/dist/merchant/src/node-configs/member-history/schema.d.ts +3 -0
- package/dist/merchant/src/node-configs/member-profile/props.d.ts +449 -0
- package/dist/merchant/src/node-configs/member-profile/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-referral/props.d.ts +98 -0
- package/dist/merchant/src/node-configs/member-referral/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-referral-tutorial/props.d.ts +8 -0
- package/dist/merchant/src/node-configs/member-referral-tutorial/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-summary/mock-data.d.ts +9 -0
- package/dist/merchant/src/node-configs/member-summary/props.d.ts +32 -0
- package/dist/merchant/src/node-configs/member-summary/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/mock-data.d.ts +5 -1
- package/dist/merchant/src/node-configs/order-history-card/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/order-method/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/props.d.ts +9 -1
- package/dist/merchant/src/node-configs/schema.d.ts +9 -1
- package/dist/merchant/src/stores/editor/index.d.ts +1 -1
- package/dist/merchant/src/stores/template/index.d.ts +85 -6
- package/dist/merchant/src/views/BuilderView.vue.d.ts +1 -1
- package/dist/merchant/src/views/HomeView.vue.d.ts +1 -1
- package/dist/merchant/src/views/ProjectView.vue.d.ts +2 -0
- package/dist/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/merchant/src/views/views.d.ts +11 -0
- package/dist/package.json +5 -2
- package/dist/style.css +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/dist/views-Dd4l-D61.js +89 -0
- package/package.json +5 -2
- package/dist/App-D-sh0my5.js +0 -99
- package/dist/BuilderView-DPoES6BN.js +0 -5498
- package/dist/ColorPicker-DAysa9fA.js +0 -22
- package/dist/index-BMPqWhXR.js +0 -188
- package/dist/index-BxQr98LR.js +0 -1729
- package/dist/main-CZCjdYQJ.js +0 -6726
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as y, ref as b, resolveComponent as w,
|
|
2
|
-
import { r as g, I as h } from "./image-
|
|
1
|
+
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as f, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
|
+
import { r as g, I as h } from "./image-BTKrdsxd.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
5
|
-
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { C as k } from "./CircularProgress-
|
|
7
|
-
import { v as F } from "./v4-
|
|
4
|
+
import "./main-DsKVTvvP.js";
|
|
5
|
+
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
|
+
import { C as k } from "./CircularProgress-DdblYCtV.js";
|
|
7
|
+
import { v as F } from "./v4-CKwdnpQf.js";
|
|
8
8
|
const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] top-0 left-0 h-full w-full bg-fm-color-neutral-white border border-dashed border-fm-color-neutral-gray-200" }, j = ["src"], z = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "absolute z-[3] top-0 left-0 rounded-md bg-fm-color-neutral-gray-100 bg-opacity-80 w-full h-full flex justify-center items-center"
|
|
@@ -22,12 +22,12 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
|
|
|
22
22
|
o
|
|
23
23
|
).then((m) => {
|
|
24
24
|
var p;
|
|
25
|
-
const a = `https://image.
|
|
25
|
+
const a = `https://image.feedmedev.cc/business/${l.currentBusiness.value._id}/${m.imagePath}`;
|
|
26
26
|
e.context.node.input(a);
|
|
27
27
|
const n = new Image();
|
|
28
28
|
(p = e.context.attrs.props) != null && p.ignoreUpdate || (n.onload = () => {
|
|
29
|
-
var
|
|
30
|
-
((
|
|
29
|
+
var d;
|
|
30
|
+
((d = e.context.node.at("$root")) == null ? void 0 : d._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
|
|
31
31
|
}), n.src = g(a);
|
|
32
32
|
}).finally(() => t.value = !1);
|
|
33
33
|
}
|
|
@@ -38,12 +38,12 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
|
|
|
38
38
|
}
|
|
39
39
|
return (o, m) => {
|
|
40
40
|
const a = w("FmDropField");
|
|
41
|
-
return
|
|
41
|
+
return s(), r("div", B, [
|
|
42
42
|
c(a, {
|
|
43
43
|
class: "w-full h-full",
|
|
44
44
|
onFileUpload: v
|
|
45
45
|
}),
|
|
46
|
-
e.context._value && !t.value ? (
|
|
46
|
+
e.context._value && !t.value ? (s(), r(C, { key: 0 }, [
|
|
47
47
|
i("div", P, [
|
|
48
48
|
i("img", {
|
|
49
49
|
class: "w-full h-full object-contain",
|
|
@@ -60,10 +60,10 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
|
|
|
60
60
|
class: "!text-[16px] text-fm-color-typo-white"
|
|
61
61
|
})
|
|
62
62
|
])
|
|
63
|
-
], 64)) :
|
|
64
|
-
t.value ? (
|
|
63
|
+
], 64)) : f("", !0),
|
|
64
|
+
t.value ? (s(), r("div", z, [
|
|
65
65
|
c(u(k))
|
|
66
|
-
])) :
|
|
66
|
+
])) : f("", !0)
|
|
67
67
|
]);
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as L, ref as f, computed as k, onBeforeMount as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { defineComponent as L, ref as f, computed as k, onBeforeMount as I, resolveComponent as c, createBlock as v, openBlock as u, withCtx as m, createElementVNode as o, createVNode as r, createElementBlock as x, Fragment as F, renderList as M, toDisplayString as P, withModifiers as R } from "vue";
|
|
2
|
+
import { B as y } from "./BaDivider-Cp9gfB4r.js";
|
|
3
|
+
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
4
|
+
import { u as j } from "./index-CVTxYyKn.js";
|
|
5
|
+
import "@feedmepos/mf-common";
|
|
6
|
+
const z = {
|
|
6
7
|
key: 1,
|
|
7
8
|
type: "button",
|
|
8
9
|
class: "min-w-[162px] py-[6px] px-8 flex justify-between items-center bg-fm-color-system-warning-100 rounded-lg"
|
|
9
|
-
},
|
|
10
|
+
}, A = { class: "w-[113px] h-full fm-typo-en-body-md-600 text-fm-color-primary line-clamp-1" }, N = { class: "w-full flex flex-col gap-16" }, O = { class: "w-full flex gap-8 flex-wrap" }, W = { class: "w-full flex gap-8 flex-wrap" }, G = { class: "w-full flex items-center" }, H = { class: "w-full flex justify-end items-center gap-12" }, Y = /* @__PURE__ */ L({
|
|
10
11
|
__name: "LinkButton",
|
|
11
12
|
props: {
|
|
12
13
|
context: {}
|
|
13
14
|
},
|
|
14
15
|
setup(E) {
|
|
15
|
-
const l = E, s = f(""), i = f(""), d = f(!1)
|
|
16
|
-
|
|
17
|
-
const b = $(), h = k(
|
|
18
|
-
() => b.state.allTemplates.filter(
|
|
16
|
+
const l = E, s = f(""), i = f(""), d = f(!1), h = j(), b = k(
|
|
17
|
+
() => h.state.allTemplates.filter(
|
|
19
18
|
(t) => {
|
|
20
19
|
var e;
|
|
21
|
-
return t.templateId !== ((e =
|
|
20
|
+
return t.templateId !== ((e = h.state.selectedTemplate) == null ? void 0 : e.templateId);
|
|
22
21
|
}
|
|
23
22
|
)
|
|
24
23
|
), _ = [
|
|
25
|
-
{ title: "Homepage", path: "
|
|
26
|
-
{ title: "
|
|
27
|
-
{ title: "Points", path: "Member::
|
|
28
|
-
{ title: "
|
|
29
|
-
{ title: "
|
|
30
|
-
{ title: "
|
|
24
|
+
{ title: "Homepage", path: "" },
|
|
25
|
+
{ title: "Credits", path: "Member::credit" },
|
|
26
|
+
{ title: "Points", path: "Member::point" },
|
|
27
|
+
{ title: "Vouchers", path: "Member::vouchers" },
|
|
28
|
+
{ title: "Store", path: "Member::store" },
|
|
29
|
+
{ title: "Missions", path: "Member::mission" },
|
|
30
|
+
{ title: "Games", path: "Member::games" }
|
|
31
31
|
];
|
|
32
|
-
function
|
|
32
|
+
function B() {
|
|
33
33
|
i.value ? l.context.node.input({
|
|
34
34
|
path: i.value ? `https://${i.value}` : "",
|
|
35
35
|
isExternal: !0
|
|
@@ -38,13 +38,13 @@ const A = {
|
|
|
38
38
|
isExternal: !1
|
|
39
39
|
}), d.value = !1;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function C() {
|
|
42
42
|
l.context.node.input({
|
|
43
43
|
path: "",
|
|
44
44
|
isExternal: !1
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function T(t) {
|
|
48
48
|
s.value = "", i.value = t;
|
|
49
49
|
}
|
|
50
50
|
function g(t) {
|
|
@@ -54,25 +54,25 @@ const A = {
|
|
|
54
54
|
var t, e, n;
|
|
55
55
|
(t = l.context._value) != null && t.isExternal ? (i.value = ((e = l.context._value) == null ? void 0 : e.path.replace("https://", "")) || "", s.value = "") : (s.value = ((n = l.context._value) == null ? void 0 : n.path) || "", i.value = "");
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function V() {
|
|
58
58
|
d.value = !1, w();
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const U = k(() => {
|
|
61
61
|
var t, e, n;
|
|
62
62
|
if ((t = l.context._value) != null && t.isExternal)
|
|
63
63
|
return l.context._value.path;
|
|
64
64
|
if (l.context._value.path.startsWith("Template::"))
|
|
65
|
-
return (e =
|
|
66
|
-
(
|
|
65
|
+
return (e = b.value.find(
|
|
66
|
+
(p) => p.templateId === l.context._value.path.split("::").pop()
|
|
67
67
|
)) == null ? void 0 : e.templateAlias;
|
|
68
68
|
if (l.context._value.path.startsWith("Member::"))
|
|
69
|
-
return (n = _.find((
|
|
69
|
+
return (n = _.find((p) => p.path === l.context._value.path)) == null ? void 0 : n.title;
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return I(() => {
|
|
72
72
|
w();
|
|
73
73
|
}), (t, e) => {
|
|
74
|
-
const n = c("FmButton"),
|
|
75
|
-
return
|
|
74
|
+
const n = c("FmButton"), p = c("FmRadio"), S = c("FmTextField"), D = c("FmDialog");
|
|
75
|
+
return u(), v(D, {
|
|
76
76
|
modelValue: d.value,
|
|
77
77
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => d.value = a),
|
|
78
78
|
"min-width": 500
|
|
@@ -80,14 +80,14 @@ const A = {
|
|
|
80
80
|
"dialog-button": m(() => {
|
|
81
81
|
var a;
|
|
82
82
|
return [
|
|
83
|
-
(a = t.context._value) != null && a.path ? (
|
|
84
|
-
o("p",
|
|
85
|
-
r(
|
|
83
|
+
(a = t.context._value) != null && a.path ? (u(), x("button", z, [
|
|
84
|
+
o("p", A, P(U.value), 1),
|
|
85
|
+
r($, {
|
|
86
86
|
name: "close",
|
|
87
87
|
class: "text-[24px] text-fm-color-primary",
|
|
88
|
-
onClick: R(
|
|
88
|
+
onClick: R(C, ["stop"])
|
|
89
89
|
})
|
|
90
|
-
])) : (
|
|
90
|
+
])) : (u(), v(n, {
|
|
91
91
|
key: 0,
|
|
92
92
|
variant: "secondary",
|
|
93
93
|
"prepend-icon": "link",
|
|
@@ -101,29 +101,29 @@ const A = {
|
|
|
101
101
|
o("div", null, "Link Destination", -1)
|
|
102
102
|
])),
|
|
103
103
|
"dialog-footer": m(() => [
|
|
104
|
-
o("div",
|
|
104
|
+
o("div", H, [
|
|
105
105
|
r(n, {
|
|
106
106
|
type: "button",
|
|
107
107
|
variant: "secondary",
|
|
108
108
|
label: "Cancel",
|
|
109
109
|
size: "md",
|
|
110
|
-
onClick:
|
|
110
|
+
onClick: V
|
|
111
111
|
}),
|
|
112
112
|
r(n, {
|
|
113
113
|
type: "button",
|
|
114
114
|
variant: "primary",
|
|
115
115
|
label: "Save",
|
|
116
116
|
size: "md",
|
|
117
|
-
onClick:
|
|
117
|
+
onClick: B
|
|
118
118
|
})
|
|
119
119
|
])
|
|
120
120
|
]),
|
|
121
121
|
default: m(() => [
|
|
122
|
-
o("div",
|
|
122
|
+
o("div", N, [
|
|
123
123
|
e[4] || (e[4] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, " Member ", -1)),
|
|
124
124
|
r(y),
|
|
125
|
-
o("div",
|
|
126
|
-
(
|
|
125
|
+
o("div", O, [
|
|
126
|
+
(u(), x(F, null, M(_, (a) => r(p, {
|
|
127
127
|
"model-value": s.value,
|
|
128
128
|
"onUpdate:modelValue": g,
|
|
129
129
|
rules: () => [],
|
|
@@ -133,8 +133,8 @@ const A = {
|
|
|
133
133
|
]),
|
|
134
134
|
e[5] || (e[5] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, " Other template ", -1)),
|
|
135
135
|
r(y),
|
|
136
|
-
o("div",
|
|
137
|
-
(
|
|
136
|
+
o("div", W, [
|
|
137
|
+
(u(!0), x(F, null, M(b.value, (a) => (u(), v(p, {
|
|
138
138
|
"model-value": s.value,
|
|
139
139
|
"onUpdate:modelValue": g,
|
|
140
140
|
rules: () => [],
|
|
@@ -144,12 +144,12 @@ const A = {
|
|
|
144
144
|
]),
|
|
145
145
|
e[6] || (e[6] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, " External URL ", -1)),
|
|
146
146
|
r(y),
|
|
147
|
-
o("div",
|
|
147
|
+
o("div", G, [
|
|
148
148
|
e[3] || (e[3] = o("div", { class: "w-120 shrink-0" }, "Enter URL", -1)),
|
|
149
|
-
r(
|
|
149
|
+
r(S, {
|
|
150
150
|
class: "w-full",
|
|
151
151
|
"model-value": i.value,
|
|
152
|
-
"onUpdate:modelValue":
|
|
152
|
+
"onUpdate:modelValue": T
|
|
153
153
|
}, {
|
|
154
154
|
prepend: m(() => e[2] || (e[2] = [
|
|
155
155
|
o("div", { class: "text-fm-color-typo-tertiary" }, "https://", -1)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as b, resolveComponent as y,
|
|
2
|
-
import { F as f } from "./app-
|
|
1
|
+
import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
+
import { F as f } from "./app-DVFhgbmV.js";
|
|
3
3
|
const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ListRepeater",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as x, ref as b, computed as B, watch as j, resolveComponent as m,
|
|
1
|
+
import { defineComponent as x, ref as b, computed as B, watch as j, resolveComponent as m, createElementBlock as w, openBlock as p, createElementVNode as r, createVNode as c, createBlock as z, unref as l, withCtx as S, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
3
|
-
import { K as P, B as g } from "./index-
|
|
4
|
-
import { r as U, I as V } from "./image-
|
|
3
|
+
import { K as P, B as g } from "./index-DIGmVQHT.js";
|
|
4
|
+
import { r as U, I as V } from "./image-BTKrdsxd.js";
|
|
5
5
|
const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
6
6
|
"brand",
|
|
7
7
|
"home",
|
|
@@ -508,7 +508,7 @@ const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
|
508
508
|
url: "",
|
|
509
509
|
thumbnail: ""
|
|
510
510
|
}), y = B(
|
|
511
|
-
() => "https://{slug}.
|
|
511
|
+
() => "https://{slug}.feedmedev.vip".replace("https://{slug}", "")
|
|
512
512
|
);
|
|
513
513
|
function k() {
|
|
514
514
|
P.promise(
|
|
@@ -547,9 +547,9 @@ const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
|
547
547
|
await g.updateBusinessProfile(s.currentBusiness.value._id, {
|
|
548
548
|
name: a.value.name,
|
|
549
549
|
url: a.value.url,
|
|
550
|
-
thumbnail: `https://image.
|
|
550
|
+
thumbnail: `https://image.feedmedev.cc/business/${s.currentBusiness.value._id}/${u.imagePath}`,
|
|
551
551
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
552
|
-
}), a.value.thumbnail = `https://image.
|
|
552
|
+
}), a.value.thumbnail = `https://image.feedmedev.cc/business/${s.currentBusiness.value._id}/${u.imagePath}`;
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
return j(
|