@feedmepos/mf-brand-app-builder 0.5.20-dev.3 → 0.5.20-prod.0
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-DNayQ0r1.js → App-BYIiIzgl.js} +7 -7
- package/dist/{AssetsSettings-Cgp-Awzc.js → AssetsSettings-DMEHi2uS.js} +18 -18
- package/dist/{BrandkitView-BCggsZJY.js → BrandkitView-BXo0FO6R.js} +2600 -1983
- package/dist/{BuilderView-BhuHqSEj.js → BuilderView-CnHk6Qkp.js} +2716 -2162
- package/dist/{ImageUpload-CEVZ2Smd.js → ImageUpload-CsSstgwO.js} +8 -8
- package/dist/{LinkButton-DRpeZMhV.js → LinkButton-EI8lIb33.js} +1 -1
- package/dist/{ListRepeater-BNEN5FMB.js → ListRepeater-BIEp3DDy.js} +1 -1
- package/dist/{ManagementSettings-lMIl05UD.js → ManagementSettings-B4vwsKt5.js} +6 -6
- package/dist/{ProjectView-Cdm7gqIj.js → ProjectView-lj60UJiJ.js} +36 -36
- package/dist/{app-DLQ8KWDz.js → app-ChDWaqYQ.js} +3316 -1239
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +20 -0
- package/dist/client/components/src/components/Member/MemberCards.vue.d.ts +1 -0
- package/dist/client/components/src/components/MemberCard.vue.d.ts +6 -0
- package/dist/client/components/src/components/OrderHistoryCard.vue.d.ts +6 -1
- package/dist/client/components/src/i18n.d.ts +4 -0
- package/dist/client/merchant/src/app.d.ts +2068 -4
- package/dist/client/merchant/src/components/modals/TemplateSelectionModal.vue.d.ts +18 -0
- package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +14 -0
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +10 -0
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +14 -0
- package/dist/client/merchant/src/composables/useNode/index.d.ts +1 -0
- package/dist/client/merchant/src/config/defaultTemplateConfig.d.ts +18 -0
- package/dist/client/merchant/src/node-configs/member-card/mock-data.d.ts +1 -0
- package/dist/client/merchant/src/node-configs/member-card/props.d.ts +1 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +108 -0
- package/dist/{image-PTt3u2NG.js → image-Bnqhv2q1.js} +7 -7
- package/dist/{index-ChqP94MN.js → index-1uBwP1Z9.js} +19 -19
- package/dist/{index-eP_AjEnI.js → index-B4ng69tO.js} +1 -1
- package/dist/{index-CNJn9sP5.js → index-DO2AwhyJ.js} +216 -216
- package/dist/{index-3aVTK-0n.js → index-j6IFIh2x.js} +15 -15
- package/dist/{main-D_oG0ihX.js → main-GG3sMSoX.js} +6656 -4135
- package/dist/package.json +4 -2
- package/dist/style.css +1 -1
- package/package.json +4 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { H as d } from "./index-
|
|
1
|
+
import { H as d } from "./index-DO2AwhyJ.js";
|
|
2
2
|
import { defineStore as w } from "pinia";
|
|
3
3
|
import { ref as y } from "vue";
|
|
4
4
|
import { v as I } from "./v4-ANoOI1Qw.js";
|
|
5
5
|
async function g(e) {
|
|
6
6
|
return (await d.Get(
|
|
7
|
-
"https://api.
|
|
7
|
+
"https://api.feedme.vip",
|
|
8
8
|
`/template/${e}`
|
|
9
9
|
)).data;
|
|
10
10
|
}
|
|
11
11
|
async function A(e, l, p) {
|
|
12
12
|
return (await d.Get(
|
|
13
|
-
"https://api.
|
|
13
|
+
"https://api.feedme.vip",
|
|
14
14
|
`/template/${e}/${l}/${p}`
|
|
15
15
|
)).data;
|
|
16
16
|
}
|
|
17
17
|
async function P(e, l, p, m) {
|
|
18
18
|
return (await d.Put(
|
|
19
|
-
"https://api.
|
|
19
|
+
"https://api.feedme.vip",
|
|
20
20
|
`/template/${e}/${l}/${p.templateId}`,
|
|
21
21
|
{
|
|
22
22
|
data: {
|
|
@@ -29,7 +29,7 @@ async function P(e, l, p, m) {
|
|
|
29
29
|
}
|
|
30
30
|
async function M(e, l, p) {
|
|
31
31
|
return (await d.Put(
|
|
32
|
-
"https://api.
|
|
32
|
+
"https://api.feedme.vip",
|
|
33
33
|
`/template/${e}/active${p ? `/${p}` : ""}`,
|
|
34
34
|
{
|
|
35
35
|
data: {
|
|
@@ -40,19 +40,19 @@ async function M(e, l, p) {
|
|
|
40
40
|
}
|
|
41
41
|
async function b(e, l) {
|
|
42
42
|
return (await d.Get(
|
|
43
|
-
"https://api.
|
|
43
|
+
"https://api.feedme.vip",
|
|
44
44
|
`/template/${e}/active${l ? `/${l}` : ""}`
|
|
45
45
|
)).data;
|
|
46
46
|
}
|
|
47
47
|
async function U(e, l, p) {
|
|
48
48
|
return await d.Head(
|
|
49
|
-
"https://api.
|
|
49
|
+
"https://api.feedme.vip",
|
|
50
50
|
`/template/${e}/${l}/${p}`
|
|
51
51
|
).then((c) => c.status === 200).catch(() => !1);
|
|
52
52
|
}
|
|
53
53
|
async function B(e, l, p) {
|
|
54
54
|
return (await d.Post(
|
|
55
|
-
"https://api.
|
|
55
|
+
"https://api.feedme.vip",
|
|
56
56
|
`/template/${e}/${l}/rename`,
|
|
57
57
|
{
|
|
58
58
|
data: {
|
|
@@ -63,7 +63,7 @@ async function B(e, l, p) {
|
|
|
63
63
|
}
|
|
64
64
|
async function x(e, l, p) {
|
|
65
65
|
return (await d.Delete(
|
|
66
|
-
"https://api.
|
|
66
|
+
"https://api.feedme.vip",
|
|
67
67
|
`/template/${e}/${l}/${p}`
|
|
68
68
|
)).data;
|
|
69
69
|
}
|
|
@@ -120,7 +120,7 @@ const i = {
|
|
|
120
120
|
t
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function o(a, t) {
|
|
124
124
|
i.setMainPageTemplateId(
|
|
125
125
|
a,
|
|
126
126
|
e.value.selectedTemplate.templateId,
|
|
@@ -129,7 +129,7 @@ const i = {
|
|
|
129
129
|
e.value.activeTemplateId = e.value.selectedTemplate.templateId;
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function f(a = {}) {
|
|
133
133
|
let t = "Untitled", s = 2;
|
|
134
134
|
e.value.allTemplates.forEach((r) => {
|
|
135
135
|
if (!r.templateAlias.startsWith("Untitled")) return;
|
|
@@ -145,7 +145,7 @@ const i = {
|
|
|
145
145
|
};
|
|
146
146
|
e.value.allTemplates.push(n), e.value.selectedTemplate = n;
|
|
147
147
|
}
|
|
148
|
-
async function
|
|
148
|
+
async function v(a, t, s) {
|
|
149
149
|
await i.renameTemplate(a, t, s).then(() => {
|
|
150
150
|
var n;
|
|
151
151
|
e.value.allTemplates = e.value.allTemplates.map((r) => r.templateId === t ? {
|
|
@@ -185,9 +185,9 @@ const i = {
|
|
|
185
185
|
getMainTemplateId: m,
|
|
186
186
|
setSelectedTemplate: c,
|
|
187
187
|
saveTemplate: T,
|
|
188
|
-
setMainPageTemplate:
|
|
189
|
-
addNewTemplate:
|
|
190
|
-
renameTemplate:
|
|
188
|
+
setMainPageTemplate: o,
|
|
189
|
+
addNewTemplate: f,
|
|
190
|
+
renameTemplate: v,
|
|
191
191
|
deleteTemplate: h,
|
|
192
192
|
unpublishTemplate: $
|
|
193
193
|
};
|