@feedmepos/mf-brand-app-builder 0.5.22-dev.1 → 0.5.24-dev.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-D5eO5srB.js → App-CoIlf_Tr.js} +5 -5
- package/dist/{AssetsSettings-D_E8q7eK.js → AssetsSettings-DhprCc4v.js} +6 -6
- package/dist/{BaDivider-DWZv3fqi.js → BaDivider-Cp9gfB4r.js} +2 -2
- package/dist/{BrandkitView-BlJhBYi6.js → BrandkitView-BHBErfbu.js} +3382 -2867
- package/dist/{BuilderView-Dfl1VhES.js → BuilderView-DY_Clqms.js} +427 -444
- package/dist/{ButtonGroup-D_HkX122.js → ButtonGroup-2ilMTPHH.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/ColorPicker-RKWzhLBO.js +543 -0
- package/dist/{ColorPicker-I6CkNIxt.js → ColorPicker-dVFIiu94.js} +14 -14
- 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-FyvXrDKK.js → ImageUpload-B8OINKSx.js} +9 -9
- package/dist/{LinkButton-C9OU3Rcs.js → LinkButton-De-YNclu.js} +4 -4
- package/dist/{ListRepeater-BnVoFhhm.js → ListRepeater-rkz-trRq.js} +2 -2
- package/dist/{ManagementSettings-CtvF5d9C.js → ManagementSettings-Cz4HkNm1.js} +4 -4
- package/dist/ProjectView-ByxaVBFb.js +428 -0
- package/dist/{Select-BRYuMWoQ.js → Select-DQx6OfZx.js} +9 -9
- package/dist/{SettingsView-DHA7hXUx.js → SettingsView-uft0uKio.js} +2 -2
- package/dist/{StepperField-BeeZ_sl9.js → StepperField-nyaUK9ht.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/{app-CJ2VgCHp.js → app-pY4HD-TA.js} +6693 -3895
- package/dist/app.js +1 -1
- package/dist/brand-core/src/brandkit.d.ts +5 -0
- package/dist/brand-core/src/entity.d.ts +32 -15
- package/dist/client/components/src/components/BranchList.vue.d.ts +1 -1
- package/dist/client/components/src/components/ButtonList.vue.d.ts +1 -1
- package/dist/client/components/src/components/CountrySwitcher.vue.d.ts +1 -1
- package/dist/client/components/src/components/Homepage.vue.d.ts +3 -3
- package/dist/client/components/src/components/ImageCarousel.vue.d.ts +1 -1
- package/dist/client/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/client/components/src/components/Member/TransactionList.vue.d.ts +1 -1
- package/dist/client/components/src/components/MemberCard.vue.d.ts +1 -1
- package/dist/client/components/src/components/NavigationBar.vue.d.ts +4 -4
- package/dist/client/components/src/components/OrderHistoryCard.vue.d.ts +4 -3
- package/dist/client/components/src/components/OrderMethod.vue.d.ts +1 -1
- package/dist/client/components/src/components/TextDisplay.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/Button.vue.d.ts +4 -4
- package/dist/client/components/src/components/atoms/CircularProgress.vue.d.ts +2 -2
- package/dist/client/components/src/components/atoms/Container.vue.d.ts +3 -3
- package/dist/client/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/Icon.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
- package/dist/client/components/src/views/OrderDetails.vue.d.ts +1 -1
- package/dist/client/components/src/views/_Credit.vue.d.ts +1 -1
- package/dist/client/components/src/views/_MemberProfile.vue.d.ts +4 -4
- package/dist/client/components/src/views/_Point.vue.d.ts +1 -1
- package/dist/client/components/src/views/_Referral.vue.d.ts +4 -4
- package/dist/client/components/src/views/_ReferralTutorial.vue.d.ts +4 -4
- package/dist/client/merchant/src/api/business/index.d.ts +41 -1
- package/dist/client/merchant/src/app.d.ts +2794 -0
- package/dist/client/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/brandkit/ColorOverrideDialog.vue.d.ts +26 -0
- package/dist/client/merchant/src/components/brandkit/ColorSelection.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/ColorPicker.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/TemplateVersionHistory.vue.d.ts +18 -0
- package/dist/client/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/template/TemplatePreview.vue.d.ts +1 -1
- package/dist/client/merchant/src/stores/business/index.d.ts +469 -1
- package/dist/client/merchant/src/views/BrandkitView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/BuilderView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/ProjectView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/dayjs.min-DnbY0e60.js +282 -0
- package/dist/{image-BtHlnsmY.js → image-D_Djf1PS.js} +1 -1
- package/dist/{index-ChMgx2Hq.js → index-Bk6TOZrx.js} +2 -2
- package/dist/{index-5BRydZO9.js → index-C1rSMuKA.js} +1 -1
- package/dist/index-C4vwWvn_.js +112 -0
- package/dist/index-D0LOMBBD.js +1822 -0
- package/dist/{main-8cObQmGm.js → main-CKhW2ogv.js} +3536 -3547
- package/dist/package.json +5 -4
- package/dist/style.css +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/dist/{vue-sonner-PX6Req0V.js → vue-sonner-CBFYmm8_.js} +129 -125
- package/package.json +5 -4
- package/dist/ColorPicker-CHzKbuCD.js +0 -543
- package/dist/ProjectView-Bq0vBJ3V.js +0 -705
- package/dist/index-BEAkOquM.js +0 -90
- package/dist/index-BXwbQwb-.js +0 -1736
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, ref as y, computed as h, onMounted as I, resolveComponent as p,
|
|
1
|
+
import { defineComponent as F, ref as y, computed as h, onMounted as I, resolveComponent as p, createBlock as d, openBlock as n, withCtx as v, createElementBlock as r, createCommentVNode as c, Fragment as B, renderList as N, normalizeClass as V, toDisplayString as x, createTextVNode as z, createVNode as _, createElementVNode as P } from "vue";
|
|
2
2
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
3
3
|
const $ = { class: "min-w-[100px] w-full flex items-center justify-between" }, j = ["value"], E = {
|
|
4
4
|
key: 1,
|
|
@@ -30,14 +30,14 @@ const $ = { class: "min-w-[100px] w-full flex items-center justify-between" }, j
|
|
|
30
30
|
onPopoverChanged: t[3] || (t[3] = (o) => s.value = o)
|
|
31
31
|
}, {
|
|
32
32
|
"popover-button": v(() => [
|
|
33
|
-
|
|
33
|
+
_(w, {
|
|
34
34
|
size: "sm",
|
|
35
35
|
class: "hover:!border-fm-color-neutral-gray-200"
|
|
36
36
|
}, {
|
|
37
37
|
default: v(() => {
|
|
38
38
|
var o;
|
|
39
39
|
return [
|
|
40
|
-
|
|
40
|
+
P("div", $, [
|
|
41
41
|
l.value ? (n(), r("input", {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "fm-text-field--input fm-typo-en-body-lg-400 text-fm-color-typo-primary outline-none",
|
|
@@ -46,7 +46,7 @@ const $ = { class: "min-w-[100px] w-full flex items-center justify-between" }, j
|
|
|
46
46
|
type: "text",
|
|
47
47
|
value: e.context._value,
|
|
48
48
|
onChange: t[0] || (t[0] = (a) => m(a.target.value))
|
|
49
|
-
}, null, 40, j)) : (n(), r("div", E,
|
|
49
|
+
}, null, 40, j)) : (n(), r("div", E, x(((o = i.value.find((a) => a.value === e.context._value)) == null ? void 0 : o.label) || e.context._value), 1)),
|
|
50
50
|
l.value ? c("", !0) : (n(), d(f, {
|
|
51
51
|
key: 2,
|
|
52
52
|
outline: "",
|
|
@@ -66,19 +66,19 @@ const $ = { class: "min-w-[100px] w-full flex items-center justify-between" }, j
|
|
|
66
66
|
]),
|
|
67
67
|
default: v(() => [
|
|
68
68
|
l.value ? c("", !0) : (n(), r("div", q, [
|
|
69
|
-
(n(!0), r(
|
|
69
|
+
(n(!0), r(B, null, N(i.value, (o) => (n(), r("div", {
|
|
70
70
|
onClick: (a) => (m(o.value), l.value = !1),
|
|
71
|
-
class:
|
|
71
|
+
class: V(["hover:bg-fm-color-neutral-gray-100 px-8 py-4 cursor-pointer rounded-sm w-full", {
|
|
72
72
|
"!bg-fm-color-system-warning-100": o.value === e.context._value
|
|
73
73
|
}])
|
|
74
|
-
},
|
|
74
|
+
}, x(o.label), 11, D))), 256)),
|
|
75
75
|
e.context.editable ? (n(), r("div", {
|
|
76
76
|
key: 0,
|
|
77
77
|
onClick: t[2] || (t[2] = (o) => (l.value = !0, m(e.context._value))),
|
|
78
78
|
class: "hover:bg-fm-color-neutral-gray-100 px-8 py-4 cursor-pointer rounded-sm flex items-center justify-between gap-4 text-fm-color-primary w-[150px]"
|
|
79
79
|
}, [
|
|
80
|
-
t[4] || (t[4] =
|
|
81
|
-
|
|
80
|
+
t[4] || (t[4] = z(" Customize ")),
|
|
81
|
+
_(f, {
|
|
82
82
|
outline: "",
|
|
83
83
|
name: "edit_square"
|
|
84
84
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, resolveComponent as i,
|
|
1
|
+
import { defineComponent as u, resolveComponent as i, createElementBlock as c, openBlock as p, createElementVNode as f, createVNode as s, toDisplayString as d, unref as e } from "vue";
|
|
2
2
|
import { useRoute as b, useRouter as g, RouterView as _ } from "vue-router";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
4
|
const w = { class: "h-full w-full p-24 bg-fm-color-neutral-white overflow-auto flex flex-col gap-24" }, h = { class: "fm-typo-en-title-md-600 text-fm-color-typo-primary" }, B = /* @__PURE__ */ u({
|
|
@@ -16,7 +16,7 @@ const w = { class: "h-full w-full p-24 bg-fm-color-neutral-white overflow-auto f
|
|
|
16
16
|
];
|
|
17
17
|
return (y, o) => {
|
|
18
18
|
const r = i("FmTabs");
|
|
19
|
-
return
|
|
19
|
+
return p(), c("div", w, [
|
|
20
20
|
f("h1", h, d(e(t)("brand.settings.title")), 1),
|
|
21
21
|
s(r, {
|
|
22
22
|
class: "border-b border-fm-color-neutral-gray-100 w-full",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as c, resolveComponent as d,
|
|
1
|
+
import { defineComponent as l, computed as c, resolveComponent as d, createBlock as s, openBlock as i } from "vue";
|
|
2
2
|
const r = /* @__PURE__ */ l({
|
|
3
3
|
__name: "StepperField",
|
|
4
4
|
props: {
|
|
@@ -12,7 +12,7 @@ const r = /* @__PURE__ */ l({
|
|
|
12
12
|
const p = c(() => +t.context._value.replace(t.context.suffix, ""));
|
|
13
13
|
return (e, u) => {
|
|
14
14
|
const a = d("FmStepperField");
|
|
15
|
-
return
|
|
15
|
+
return i(), s(a, {
|
|
16
16
|
class: "max-w-[160px]",
|
|
17
17
|
"model-value": p.value,
|
|
18
18
|
disabled: e.context.disabled ?? !1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, resolveComponent as p,
|
|
1
|
+
import { defineComponent as l, resolveComponent as p, createBlock as m, openBlock as r } from "vue";
|
|
2
2
|
const a = /* @__PURE__ */ l({
|
|
3
3
|
__name: "Switch",
|
|
4
4
|
props: {
|
|
@@ -7,7 +7,7 @@ const a = /* @__PURE__ */ l({
|
|
|
7
7
|
setup(c) {
|
|
8
8
|
return (e, o) => {
|
|
9
9
|
const t = p("FmSwitch");
|
|
10
|
-
return
|
|
10
|
+
return r(), m(t, {
|
|
11
11
|
modelValue: e.context._value,
|
|
12
12
|
"onUpdate:modelValue": o[0] || (o[0] = (n) => e.context.node.input(n))
|
|
13
13
|
}, null, 8, ["modelValue"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as c,
|
|
2
|
-
import { _ as g } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { defineComponent as c, createElementBlock as a, openBlock as t, Fragment as m, renderList as i, createVNode as d, normalizeClass as p, createBlock as _, unref as f } from "vue";
|
|
2
|
+
import { _ as g } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
3
3
|
const v = { class: "border border-fm-color-neutral-gray-300 rounded-md flex gap-16 p-4" }, x = ["onClick"], y = /* @__PURE__ */ c({
|
|
4
4
|
__name: "BaButtonGroup",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as d,
|
|
2
|
-
import { _ as g } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { defineComponent as d, createElementBlock as l, openBlock as c, Fragment as m, renderList as f, createElementVNode as h, createVNode as p, normalizeClass as _ } from "vue";
|
|
2
|
+
import { _ as g } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
3
3
|
const x = { class: "border border-fm-color-neutral-gray-300 rounded-md flex gap-16 p-4" }, v = ["onClick"], y = /* @__PURE__ */ d({
|
|
4
4
|
__name: "TextDecorators",
|
|
5
5
|
props: {
|
|
@@ -32,8 +32,8 @@ const x = { class: "border border-fm-color-neutral-gray-300 rounded-md flex gap-
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
const s = (t) => o.context._value.fontStyle.includes(t) || o.context._value.textDecorationLine.includes(t);
|
|
35
|
-
return (t, r) => (
|
|
36
|
-
(
|
|
35
|
+
return (t, r) => (c(), l("div", x, [
|
|
36
|
+
(c(), l(m, null, f(i, (e) => h("button", {
|
|
37
37
|
class: "flex justify-center items-center",
|
|
38
38
|
type: "button",
|
|
39
39
|
onClick: (n) => u(e.value)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, resolveComponent as p,
|
|
1
|
+
import { defineComponent as c, resolveComponent as p, createBlock as a, openBlock as u } from "vue";
|
|
2
2
|
const r = /* @__PURE__ */ c({
|
|
3
3
|
__name: "TextField",
|
|
4
4
|
props: {
|
|
@@ -11,7 +11,7 @@ const r = /* @__PURE__ */ c({
|
|
|
11
11
|
}
|
|
12
12
|
return (e, m) => {
|
|
13
13
|
const l = p("FmTextField");
|
|
14
|
-
return
|
|
14
|
+
return u(), a(l, {
|
|
15
15
|
class: "w-full",
|
|
16
16
|
"model-value": e.context._value,
|
|
17
17
|
"onUpdate:modelValue": t
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p,
|
|
1
|
+
import { defineComponent as p, createElementBlock as l, openBlock as o, Fragment as s, renderList as c, createElementVNode as d, normalizeStyle as f, toDisplayString as x } from "vue";
|
|
2
2
|
const y = { class: "px-12 flex flex-col gap-12 w-full" }, m = ["onClick"], h = /* @__PURE__ */ p({
|
|
3
3
|
__name: "TextStyleList",
|
|
4
4
|
props: {
|
|
@@ -53,8 +53,8 @@ const y = { class: "px-12 flex flex-col gap-12 w-full" }, m = ["onClick"], h = /
|
|
|
53
53
|
...n
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
return (n, g) => (
|
|
57
|
-
(
|
|
56
|
+
return (n, g) => (o(), l("div", y, [
|
|
57
|
+
(o(), l(s, null, c(r, (t) => d("button", {
|
|
58
58
|
class: "w-full p-8 flex items-center border border-fm-color-neutral-gray-300 rounded-md",
|
|
59
59
|
type: "button",
|
|
60
60
|
style: f(t.style),
|