@feedmepos/mf-brand-app-builder 0.5.13-alpha → 0.5.13
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-Dx-zim3o.js → App-DF03mf4C.js} +27 -25
- package/dist/{AssetsSettings-BrFOHUWK.js → AssetsSettings-CLNsRfkn.js} +84 -86
- package/dist/{BuilderView-qdOop6ed.js → BuilderView-C-zYam5O.js} +10 -10
- package/dist/{ButtonGroup-B3ba45VA.js → ButtonGroup-CbW3Lnxj.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/{ColorPicker-DAysa9fA.js → ColorPicker-Bz8yOMlS.js} +2 -2
- 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-Cpkzp4iS.js} +14 -14
- package/dist/{LinkButton-Cbch02ih.js → LinkButton-D0MS93kZ.js} +3 -3
- package/dist/{ListRepeater-Btngd8M3.js → ListRepeater-DDJL956f.js} +2 -2
- package/dist/{ManagementSettings-de-TEfbe.js → ManagementSettings-BQuJDFla.js} +6 -6
- 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/{app-s4CdT1Jt.js → app-DXnRpFqq.js} +27 -27
- 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 +3 -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/MemberCard.vue.d.ts +2 -1
- 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 +3 -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/views/OrderDetails.vue.d.ts +1 -1
- package/dist/{image-C-MNSOjE.js → image-Dm7AsBZX.js} +8 -8
- package/dist/index-B0O5NxWl.js +1741 -0
- package/dist/{index-D2kxtvYi.js → index-BZ63ygCw.js} +1 -1
- package/dist/{index-C4WOObjm.js → index-CAfpg2Eg.js} +205 -201
- package/dist/{index-WtAjKyig.js → index-CJXFGv-u.js} +21 -21
- package/dist/{main-CZCjdYQJ.js → main-BnnUrWK-.js} +265 -266
- package/dist/merchant/src/api/business/index.d.ts +1 -1
- package/dist/merchant/src/api/index.d.ts +21 -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 +1 -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/views/BuilderView.vue.d.ts +1 -1
- package/dist/merchant/src/views/HomeView.vue.d.ts +1 -1
- package/dist/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/package.json +1 -1
- package/dist/index-C1ZVL1AH.js +0 -1729
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { resolveComponent as Y, TransitionGroup as ko, defineComponent as ie,
|
|
2
|
-
import { T as Yo, B as Vn, u as rt } from "./index-
|
|
1
|
+
import { resolveComponent as Y, TransitionGroup as ko, defineComponent as ie, nextTick as On, h as Qt, isRef as Fo, isReactive as Po, isProxy as $o, toRaw as Ao, ref as q, createElementBlock as O, openBlock as D, Fragment as Te, renderList as ot, unref as $, createElementVNode as k, createVNode as S, createBlock as te, createCommentVNode as ne, toDisplayString as Pe, withCtx as M, computed as re, withDirectives as $t, withModifiers as Zt, vShow as At, normalizeClass as Ke, watch as en, createTextVNode as Mo, onMounted as Un, normalizeProps as Cn, mergeProps as Lo, resolveDynamicComponent as Ro, guardReactiveProps as Oo, normalizeStyle as Uo, renderSlot as dn, provide as Vo, inject as Ho, markRaw as zo } from "vue";
|
|
2
|
+
import { T as Yo, B as Vn, u as rt } from "./index-CJXFGv-u.js";
|
|
3
3
|
import { defineStore as jo, storeToRefs as Go } from "pinia";
|
|
4
|
-
import { v as _n } from "./v4-
|
|
5
|
-
import { _ as ke } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { _ as Wo, a as Xo, C as Ko } from "./main-
|
|
4
|
+
import { v as _n } from "./v4-CKwdnpQf.js";
|
|
5
|
+
import { _ as ke } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
|
+
import { _ as Wo, a as Xo, C as Ko } from "./main-BnnUrWK-.js";
|
|
7
7
|
import { useCoreStore as Fe } from "@feedmepos/mf-common";
|
|
8
|
-
import { K as se, V as Jo } from "./index-
|
|
8
|
+
import { K as se, V as Jo } from "./index-CAfpg2Eg.js";
|
|
9
9
|
import { useDialog as qo, components as Qo } from "@feedmepos/ui-library";
|
|
10
|
-
import { F as Zo, a as er } from "./app-
|
|
11
|
-
import { u as tr } from "./index-
|
|
10
|
+
import { F as Zo, a as er } from "./app-DXnRpFqq.js";
|
|
11
|
+
import { u as tr } from "./index-BZ63ygCw.js";
|
|
12
12
|
/**!
|
|
13
13
|
* Sortable 1.14.0
|
|
14
14
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -2650,7 +2650,7 @@ const si = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
2650
2650
|
}
|
|
2651
2651
|
async function g() {
|
|
2652
2652
|
var w;
|
|
2653
|
-
const m = `${"https://{slug}.
|
|
2653
|
+
const m = `${"https://{slug}.feedme.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((w = r.currentBusiness.value) == null ? void 0 : w.id)}`)}`;
|
|
2654
2654
|
se.promise(
|
|
2655
2655
|
async () => {
|
|
2656
2656
|
var v;
|
|
@@ -4212,7 +4212,7 @@ lt.toString = yn.bind(null, function(t, e, n) {
|
|
|
4212
4212
|
const pa = { class: "flex items-center justify-center" }, ma = { class: "w-full flex gap-8 justify-end items-center" }, ha = /* @__PURE__ */ ie({
|
|
4213
4213
|
__name: "PreviewQrCode",
|
|
4214
4214
|
setup(t) {
|
|
4215
|
-
const e = q(), n = Fe(), o = rt(), r = q(!1), i = re(() => `${`${"https://{slug}.
|
|
4215
|
+
const e = q(), n = Fe(), o = rt(), r = q(!1), i = re(() => `${`${"https://{slug}.feedme.vip".replace("{slug}", `${n.currentBusiness.value.url}`)}`}/preview/${o.state.selectedTemplate.templateId}`);
|
|
4216
4216
|
function a() {
|
|
4217
4217
|
se.promise(navigator.clipboard.writeText(i.value), {
|
|
4218
4218
|
loading: "Copying...",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r, computed as c, resolveComponent as l,
|
|
1
|
+
import { defineComponent as r, computed as c, resolveComponent as l, createBlock as s, openBlock as m } from "vue";
|
|
2
2
|
const i = /* @__PURE__ */ r({
|
|
3
3
|
__name: "ButtonGroup",
|
|
4
4
|
props: {
|
|
@@ -12,7 +12,7 @@ const i = /* @__PURE__ */ r({
|
|
|
12
12
|
));
|
|
13
13
|
return (e, a) => {
|
|
14
14
|
const p = l("FmButtonGroup");
|
|
15
|
-
return
|
|
15
|
+
return m(), s(p, {
|
|
16
16
|
"model-value": u.value,
|
|
17
17
|
"onUpdate:modelValue": n,
|
|
18
18
|
items: e.context.groupItems
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as s, openBlock as o, defineComponent as l, createElementVNode as r } from "vue";
|
|
2
2
|
import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const a = {}, _ = { class: "border-b border-fm-color-neutral-gray-100" };
|
|
4
4
|
function d(e, t) {
|
|
5
|
-
return
|
|
5
|
+
return o(), s("div", _);
|
|
6
6
|
}
|
|
7
7
|
const g = /* @__PURE__ */ n(a, [["render", d]]), f = { class: "relative" }, i = { class: "h-[18px] w-[18px] flex items-center justify-center" }, p = {
|
|
8
8
|
class: "absolute h-full left-0 top-0 w-full text-fm-color-primary",
|
|
@@ -17,9 +17,9 @@ const x = /* @__PURE__ */ l({
|
|
|
17
17
|
color: { default: "primary" }
|
|
18
18
|
},
|
|
19
19
|
setup(e) {
|
|
20
|
-
return (t, u) => (
|
|
20
|
+
return (t, u) => (o(), s("div", f, [
|
|
21
21
|
r("div", i, [
|
|
22
|
-
(
|
|
22
|
+
(o(), s("svg", p, [
|
|
23
23
|
r("circle", {
|
|
24
24
|
class: "spinner",
|
|
25
25
|
"stroke-width": c[t.size],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c,
|
|
1
|
+
import { defineComponent as c, createElementBlock as l, openBlock as a, createElementVNode as r } from "vue";
|
|
2
2
|
const s = { class: "flex justify-between items-center gap-8" }, p = ["value"], _ = /* @__PURE__ */ c({
|
|
3
3
|
__name: "ColorPicker",
|
|
4
4
|
props: {
|
|
@@ -8,7 +8,7 @@ const s = { class: "flex justify-between items-center gap-8" }, p = ["value"], _
|
|
|
8
8
|
const n = t, o = (e) => {
|
|
9
9
|
n.context.node.input(e.target.value);
|
|
10
10
|
};
|
|
11
|
-
return (e, u) => (
|
|
11
|
+
return (e, u) => (a(), l("label", s, [
|
|
12
12
|
r("input", {
|
|
13
13
|
type: "color",
|
|
14
14
|
value: e.context._value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, createElementBlock as o, openBlock as l, normalizeClass as a, toDisplayString as r } from "vue";
|
|
2
2
|
const i = /* @__PURE__ */ n({
|
|
3
3
|
__name: "Icon",
|
|
4
4
|
props: {
|
|
@@ -6,7 +6,7 @@ const i = /* @__PURE__ */ n({
|
|
|
6
6
|
filled: { type: Boolean, default: !1 }
|
|
7
7
|
},
|
|
8
8
|
setup(s) {
|
|
9
|
-
return (e, t) => (
|
|
9
|
+
return (e, t) => (l(), o("span", {
|
|
10
10
|
class: a(["material-symbols-rounded", `icon-${e.filled ? "filled" : "rounded"}`])
|
|
11
11
|
}, r(e.name), 3));
|
|
12
12
|
}
|
|
@@ -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 d, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
|
+
import { r as g, I as h } from "./image-Dm7AsBZX.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-BnnUrWK-.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.feedme.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 f;
|
|
30
|
+
((f = e.context.node.at("$root")) == null ? void 0 : f._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)) : d("", !0),
|
|
64
|
+
t.value ? (s(), r("div", z, [
|
|
65
65
|
c(u(k))
|
|
66
|
-
])) :
|
|
66
|
+
])) : d("", !0)
|
|
67
67
|
]);
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as L, ref as f, computed as k, onBeforeMount as P, resolveComponent as c,
|
|
2
|
-
import { u as $, B as y } from "./index-
|
|
3
|
-
import { _ as j } from "./Icon.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { defineComponent as L, ref as f, computed as k, onBeforeMount as P, resolveComponent as c, createBlock as v, openBlock as p, withCtx as m, createElementVNode as o, createVNode as r, createElementBlock as x, Fragment as C, renderList as F, toDisplayString as I, withModifiers as R } from "vue";
|
|
2
|
+
import { u as $, B as y } from "./index-CJXFGv-u.js";
|
|
3
|
+
import { _ as j } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
4
4
|
import { useCoreStore as z } from "@feedmepos/mf-common";
|
|
5
5
|
const A = {
|
|
6
6
|
key: 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-DXnRpFqq.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-CAfpg2Eg.js";
|
|
4
|
+
import { r as U, I as V } from "./image-Dm7AsBZX.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}.feedme.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.feedme.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.feedme.cc/business/${s.currentBusiness.value._id}/${u.imagePath}`;
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
return j(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, resolveComponent as m,
|
|
1
|
+
import { defineComponent as l, resolveComponent as m, createBlock as s, openBlock as p } from "vue";
|
|
2
2
|
const u = /* @__PURE__ */ l({
|
|
3
3
|
__name: "Select",
|
|
4
4
|
props: {
|
|
@@ -11,7 +11,7 @@ const u = /* @__PURE__ */ l({
|
|
|
11
11
|
}
|
|
12
12
|
return (e, a) => {
|
|
13
13
|
const c = m("FmSelect");
|
|
14
|
-
return
|
|
14
|
+
return p(), s(c, {
|
|
15
15
|
class: "w-[160px]",
|
|
16
16
|
items: e.context.selectItems,
|
|
17
17
|
"model-value": e.context._value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, resolveComponent as u,
|
|
1
|
+
import { defineComponent as m, resolveComponent as u, createElementBlock as f, openBlock as i, createElementVNode as p, createVNode as o, unref as t } from "vue";
|
|
2
2
|
import { useRoute as c, useRouter as d, RouterView as b } from "vue-router";
|
|
3
3
|
const g = { class: "h-full w-full p-24 bg-fm-color-neutral-white overflow-auto flex flex-col gap-24" }, R = /* @__PURE__ */ m({
|
|
4
4
|
__name: "SettingsView",
|
|
@@ -15,7 +15,7 @@ const g = { class: "h-full w-full p-24 bg-fm-color-neutral-white overflow-auto f
|
|
|
15
15
|
];
|
|
16
16
|
return (v, e) => {
|
|
17
17
|
const a = u("FmTabs");
|
|
18
|
-
return
|
|
18
|
+
return i(), f("div", g, [
|
|
19
19
|
e[1] || (e[1] = p("h1", { class: "fm-typo-en-title-md-600 text-fm-color-typo-primary" }, "Settings", -1)),
|
|
20
20
|
o(a, {
|
|
21
21
|
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 u } from "vue";
|
|
2
2
|
const m = /* @__PURE__ */ l({
|
|
3
3
|
__name: "StepperField",
|
|
4
4
|
props: {
|
|
@@ -12,7 +12,7 @@ const m = /* @__PURE__ */ l({
|
|
|
12
12
|
const p = c(() => +e.context._value.replace(e.context.suffix, ""));
|
|
13
13
|
return (t, i) => {
|
|
14
14
|
const a = d("FmStepperField");
|
|
15
|
-
return
|
|
15
|
+
return u(), s(a, {
|
|
16
16
|
class: "max-w-[160px]",
|
|
17
17
|
"model-value": p.value,
|
|
18
18
|
disabled: t.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),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, defineComponent as dr, getCurrentInstance as ct, markRaw as nt, watch as Re, watchEffect as ne, reactive as Ie, onMounted as yr, onUnmounted as vn,
|
|
1
|
+
import { defineAsyncComponent as L, defineComponent as dr, getCurrentInstance as ct, markRaw as nt, watch as Re, watchEffect as ne, reactive as Ie, onMounted as yr, onUnmounted as vn, h as pt, ref as z, inject as qe, computed as me, provide as gn, toRef as hn, onBeforeUnmount as bn, isRef as mt, createTextVNode as $n, resolveComponent as _n, nextTick as wn, triggerRef as Te, isReactive as Dt } from "vue";
|
|
2
2
|
const vo = [
|
|
3
3
|
// {
|
|
4
4
|
// path: '/',
|
|
@@ -8,23 +8,23 @@ const vo = [
|
|
|
8
8
|
{
|
|
9
9
|
path: "/builder",
|
|
10
10
|
name: "builder",
|
|
11
|
-
component: L(() => import("./BuilderView-
|
|
11
|
+
component: L(() => import("./BuilderView-C-zYam5O.js"))
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
path: "/settings",
|
|
15
15
|
name: "settings",
|
|
16
|
-
component: L(() => import("./SettingsView-
|
|
16
|
+
component: L(() => import("./SettingsView-BUGfoZhA.js")),
|
|
17
17
|
redirect: { name: "settings-assets" },
|
|
18
18
|
children: [
|
|
19
19
|
{
|
|
20
20
|
path: "assets",
|
|
21
21
|
name: "settings-assets",
|
|
22
|
-
component: L(() => import("./AssetsSettings-
|
|
22
|
+
component: L(() => import("./AssetsSettings-CLNsRfkn.js"))
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
path: "management",
|
|
26
26
|
name: "settings-management",
|
|
27
|
-
component: L(() => import("./ManagementSettings-
|
|
27
|
+
component: L(() => import("./ManagementSettings-BQuJDFla.js"))
|
|
28
28
|
}
|
|
29
29
|
]
|
|
30
30
|
},
|
|
@@ -3764,7 +3764,7 @@ var Rl = (e, t) => {
|
|
|
3764
3764
|
t.ledger.count("errors", (f) => f.type === "error");
|
|
3765
3765
|
const n = z(!!t.ledger.value("errors"));
|
|
3766
3766
|
let s = !1;
|
|
3767
|
-
|
|
3767
|
+
wn(() => {
|
|
3768
3768
|
s = !0;
|
|
3769
3769
|
});
|
|
3770
3770
|
const i = Ie(
|
|
@@ -3951,9 +3951,9 @@ var Rl = (e, t) => {
|
|
|
3951
3951
|
f.props && E(f.props);
|
|
3952
3952
|
}
|
|
3953
3953
|
t.props.definition && j(t.props.definition), t.on("added-props", ({ payload: f }) => E(f)), t.on("input", ({ payload: f }) => {
|
|
3954
|
-
t.type !== "input" && !
|
|
3954
|
+
t.type !== "input" && !mt(f) && !Dt(f) ? u.value = dt(f) : (u.value = f, Te(u));
|
|
3955
3955
|
}), t.on("commitRaw", ({ payload: f }) => {
|
|
3956
|
-
t.type !== "input" && !
|
|
3956
|
+
t.type !== "input" && !mt(f) && !Dt(f) ? w.value = u.value = dt(f) : (w.value = u.value = f, Te(w)), t.emit("modelUpdated");
|
|
3957
3957
|
}), t.on("commit", ({ payload: f }) => {
|
|
3958
3958
|
var k;
|
|
3959
3959
|
if ((!p.state.dirty || p.dirtyBehavior === "compare") && t.isCreated && s)
|
|
@@ -4041,7 +4041,7 @@ function zl(e, t) {
|
|
|
4041
4041
|
const n = e.split(".");
|
|
4042
4042
|
return ne(() => {
|
|
4043
4043
|
r.value = Nt(
|
|
4044
|
-
|
|
4044
|
+
mt(t) ? t.value : t,
|
|
4045
4045
|
n
|
|
4046
4046
|
);
|
|
4047
4047
|
}), r;
|
|
@@ -4178,11 +4178,11 @@ function ur(e, t, r) {
|
|
|
4178
4178
|
return c() ? _(p) : S && S(p);
|
|
4179
4179
|
if (m && (!c || c())) {
|
|
4180
4180
|
if (m === "text" && _)
|
|
4181
|
-
return
|
|
4181
|
+
return $n(String(_()));
|
|
4182
4182
|
if (m === "slot" && _)
|
|
4183
4183
|
return _(p);
|
|
4184
|
-
const E = w ?
|
|
4185
|
-
return
|
|
4184
|
+
const E = w ? _n(m) : m, R = _ != null && _.slot ? l(_, p) : null;
|
|
4185
|
+
return pt(
|
|
4186
4186
|
E,
|
|
4187
4187
|
d(),
|
|
4188
4188
|
R || (_ ? _(p) : [])
|
|
@@ -4347,7 +4347,7 @@ function Yl(e, t) {
|
|
|
4347
4347
|
if (r.props.definition || W(600, r), r.props.definition.component)
|
|
4348
4348
|
return () => {
|
|
4349
4349
|
var y;
|
|
4350
|
-
return
|
|
4350
|
+
return pt(
|
|
4351
4351
|
(y = r.props.definition) == null ? void 0 : y.component,
|
|
4352
4352
|
{
|
|
4353
4353
|
context: r.context
|
|
@@ -4373,7 +4373,7 @@ function Yl(e, t) {
|
|
|
4373
4373
|
function o() {
|
|
4374
4374
|
r.emit("mounted");
|
|
4375
4375
|
}
|
|
4376
|
-
return t.expose({ node: r }), () =>
|
|
4376
|
+
return t.expose({ node: r }), () => pt(
|
|
4377
4377
|
pn,
|
|
4378
4378
|
{
|
|
4379
4379
|
schema: n.value,
|
|
@@ -4665,22 +4665,22 @@ const go = (e) => {
|
|
|
4665
4665
|
Xl,
|
|
4666
4666
|
Vt({
|
|
4667
4667
|
inputs: {
|
|
4668
|
-
BaTextField: B(L(() => import("./TextField-
|
|
4669
|
-
BaStepperField: B(L(() => import("./StepperField-
|
|
4670
|
-
BaColorPicker: B(L(() => import("./ColorPicker-
|
|
4671
|
-
BaSelect: B(L(() => import("./Select-
|
|
4672
|
-
BaListRepeater: B(L(() => import("./ListRepeater-
|
|
4673
|
-
BaTextStyleList: B(L(() => import("./TextStyleList-
|
|
4674
|
-
BaTextAlign: B(L(() => import("./TextAlign-
|
|
4675
|
-
BaTextDecorators: B(L(() => import("./TextDecorators-
|
|
4676
|
-
BaImageUpload: B(L(() => import("./ImageUpload-
|
|
4677
|
-
BaLinkButton: B(L(() => import("./LinkButton-
|
|
4678
|
-
BaSwitch: B(L(() => import("./Switch-
|
|
4679
|
-
BaButtonGroup: B(L(() => import("./ButtonGroup-
|
|
4668
|
+
BaTextField: B(L(() => import("./TextField-DfBJB6vQ.js"))),
|
|
4669
|
+
BaStepperField: B(L(() => import("./StepperField-xVvcmxNx.js")), { props: ["suffix", "disabled"] }),
|
|
4670
|
+
BaColorPicker: B(L(() => import("./ColorPicker-Bz8yOMlS.js"))),
|
|
4671
|
+
BaSelect: B(L(() => import("./Select-C2r_c4vv.js")), { props: ["selectItems"] }),
|
|
4672
|
+
BaListRepeater: B(L(() => import("./ListRepeater-DDJL956f.js"))),
|
|
4673
|
+
BaTextStyleList: B(L(() => import("./TextStyleList-Bef3irUx.js"))),
|
|
4674
|
+
BaTextAlign: B(L(() => import("./TextAlign-BSp1Xi7F.js"))),
|
|
4675
|
+
BaTextDecorators: B(L(() => import("./TextDecorators-1C54q7us.js"))),
|
|
4676
|
+
BaImageUpload: B(L(() => import("./ImageUpload-Cpkzp4iS.js"))),
|
|
4677
|
+
BaLinkButton: B(L(() => import("./LinkButton-D0MS93kZ.js"))),
|
|
4678
|
+
BaSwitch: B(L(() => import("./Switch-uc_zN-mb.js"))),
|
|
4679
|
+
BaButtonGroup: B(L(() => import("./ButtonGroup-CbW3Lnxj.js")), { props: ["groupItems"] })
|
|
4680
4680
|
}
|
|
4681
4681
|
})
|
|
4682
4682
|
);
|
|
4683
|
-
}, ho = L(() => import("./App-
|
|
4683
|
+
}, ho = L(() => import("./App-DF03mf4C.js"));
|
|
4684
4684
|
export {
|
|
4685
4685
|
dn as F,
|
|
4686
4686
|
pn as a,
|
package/dist/app.js
CHANGED
|
@@ -11,5 +11,5 @@ declare const _default: import("vue").DefineComponent<IBranchListProps, {}, {},
|
|
|
11
11
|
click: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<IBranchListProps> & Readonly<{
|
|
13
13
|
onClick?: (() => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -15,5 +15,5 @@ declare const _default: import("vue").DefineComponent<IButtonListProps, {}, {},
|
|
|
15
15
|
linkClick: (linkTo: ILink) => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<IButtonListProps> & Readonly<{
|
|
17
17
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -8,5 +8,5 @@ declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {},
|
|
|
8
8
|
switchCountry: () => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<ITextDisplayProps> & Readonly<{
|
|
10
10
|
onSwitchCountry?: (() => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -6,11 +6,11 @@ interface IHomepageProps {
|
|
|
6
6
|
paddingRight?: string;
|
|
7
7
|
backgroundColor?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
10
|
-
default
|
|
9
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<IHomepageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IHomepageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
default?: ((props: {}) => any) | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export default _default;
|
|
13
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
14
|
new (): {
|
|
15
15
|
$slots: S;
|
|
16
16
|
};
|
|
@@ -16,5 +16,5 @@ declare const _default: import("vue").DefineComponent<IImageCarousel, {}, {}, {}
|
|
|
16
16
|
linkClick: (linkTo: ILink) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<IImageCarousel> & Readonly<{
|
|
18
18
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
export default _default;
|
|
@@ -11,5 +11,5 @@ declare const _default: import("vue").DefineComponent<IImageDisplayProps, {}, {}
|
|
|
11
11
|
linkClick: (linkTo: ILink) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<IImageDisplayProps> & Readonly<{
|
|
13
13
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -6,6 +6,7 @@ interface IMembershipCardData {
|
|
|
6
6
|
memberTierName: string;
|
|
7
7
|
memberCredit: number;
|
|
8
8
|
memberPoints: number;
|
|
9
|
+
memberCoins: number;
|
|
9
10
|
memberTitles: string[];
|
|
10
11
|
memberCurrentTierTotal: number;
|
|
11
12
|
memberPointToNextTier: number;
|
|
@@ -34,5 +35,5 @@ declare const _default: import("vue").DefineComponent<IMembershipCardProps, {},
|
|
|
34
35
|
onOpenMemberQr?: (() => any) | undefined;
|
|
35
36
|
}>, {
|
|
36
37
|
showMemberQr: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
39
|
export default _default;
|
|
@@ -18,5 +18,5 @@ declare const _default: import("vue").DefineComponent<IOrderHistoryCardProps, {}
|
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<IOrderHistoryCardProps> & Readonly<{
|
|
19
19
|
onSignIn?: (() => any) | undefined;
|
|
20
20
|
onOrderClicked?: ((orderId: string) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
export default _default;
|
|
@@ -22,5 +22,5 @@ declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {},
|
|
|
22
22
|
onQrOrder?: (() => any) | undefined;
|
|
23
23
|
onDelivery?: (() => any) | undefined;
|
|
24
24
|
onPickup?: (() => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
25
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
export default _default;
|
|
@@ -17,5 +17,5 @@ interface ITextDisplayProps {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextDisplayProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
20
|
+
declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextDisplayProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|