@feedmepos/mf-brand-app-builder 0.5.13-alpha → 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-BrFOHUWK.js → AssetsSettings-GYv5Lgbv.js} +11 -11
- 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-DxE1yPGA.js → ImageUpload-DbMJq_mi.js} +9 -9
- package/dist/{LinkButton-Cbch02ih.js → LinkButton-PteLpFYx.js} +44 -44
- package/dist/{ListRepeater-Btngd8M3.js → ListRepeater-QEdnv9ML.js} +2 -2
- package/dist/{ManagementSettings-de-TEfbe.js → ManagementSettings-A6ZjMlBQ.js} +3 -3
- 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-s4CdT1Jt.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-C-MNSOjE.js → image-BTKrdsxd.js} +11 -11
- package/dist/index-CVTxYyKn.js +194 -0
- package/dist/{index-C4WOObjm.js → index-DIGmVQHT.js} +51 -51
- package/dist/{index-D2kxtvYi.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/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-Dx-zim3o.js +0 -99
- package/dist/BuilderView-qdOop6ed.js +0 -5498
- package/dist/ColorPicker-DAysa9fA.js +0 -22
- package/dist/index-C1ZVL1AH.js +0 -1729
- package/dist/index-WtAjKyig.js +0 -188
- package/dist/main-CZCjdYQJ.js +0 -6726
|
@@ -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",
|