@feedmepos/mf-settings 0.0.49 → 0.0.50-beta.1
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-22eddb78.js +4352 -0
- package/dist/{Business-618e5ec3.js → Business-416835ab.js} +57 -52
- package/dist/{CreateBusiness-8f569ca5.js → CreateBusiness-138ac258.js} +21 -22
- package/dist/{FoodCourt-b50a5495.js → FoodCourt-561cd7e3.js} +24 -26
- package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-664bb402.js → ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js} +1 -1
- package/dist/Tagging-b746a5f3.js +6683 -0
- package/dist/actionButton-cc6bcf01.js +66 -0
- package/dist/app-abfabbcf.js +782 -0
- package/dist/app.js +6 -9
- package/dist/apps/mf-settings/src/app.d.ts +1 -2
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
- package/dist/apps/mf-settings/src/init.d.ts +1 -0
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/business-9a4e5bd7.js +31 -0
- package/dist/createForm-681e977a.js +64 -0
- package/dist/{index-3dd7fe2c.js → index-1eb3cc0a.js} +1 -1
- package/dist/index-f1e5e565.js +10903 -0
- package/dist/index.esm2017-c60b1ce5.js +3147 -0
- package/dist/loading-84215dce.js +2385 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/App-358f23fc.js +0 -53
- package/dist/app-050b47dd.js +0 -34303
|
@@ -2,16 +2,21 @@ var Ir = Object.defineProperty;
|
|
|
2
2
|
var Ar = (r, e, t) => e in r ? Ir(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var Be = (r, e, t) => (Ar(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { ref as ne, computed as z, defineComponent as Q, resolveComponent as H, openBlock as F, createBlock as Z, Teleport as Or, createVNode as T, Transition as Sr, withCtx as q, normalizeClass as J, normalizeStyle as Ne, withKeys as Pr, createElementVNode as E, toDisplayString as D, renderSlot as ue, createElementBlock as K, Fragment as se, renderList as me, createCommentVNode as le, createTextVNode as Ce, h as _t, unref as R, watch as Et, onMounted as Tr, onUnmounted as Lr, toRaw as wt, reactive as lt, normalizeProps as Nr, guardReactiveProps as Cr, withModifiers as rt, nextTick as xr, getCurrentInstance as kr, isRef as Rt } from "vue";
|
|
5
|
-
import { c as Vr, g as ar,
|
|
6
|
-
import { useCoreStore as fe, useI18n as pe, CustomAttributesForm as
|
|
7
|
-
import { useDialog as
|
|
8
|
-
import { _ as
|
|
9
|
-
import {
|
|
5
|
+
import { c as Vr, g as ar, e as ut } from "./index-f1e5e565.js";
|
|
6
|
+
import { useCoreStore as fe, useI18n as pe, CustomAttributesForm as Fr } from "@feedmepos/mf-common";
|
|
7
|
+
import { useDialog as or, useDialogChild as jr, useSnackbar as ct, useBreakpoints as ir, components as Mr } from "@feedmepos/ui-library";
|
|
8
|
+
import { c as ge, _ as Ur, a as Ke } from "./createForm-681e977a.js";
|
|
9
|
+
import { _ as lr, r as ce } from "./rules-c9fa22f8.js";
|
|
10
|
+
import { w as xe, u as ve, x as Dr, y as Gr, t as qe, z as He, A as Br, B as Kr, D as qr, G as Hr } from "./index.esm2017-c60b1ce5.js";
|
|
11
|
+
import { D as dt, u as ur, _ as zr, a as Xr } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js";
|
|
12
|
+
import { b as ze, a as Xe, g as ft, u as cr } from "./loading-84215dce.js";
|
|
13
|
+
import { u as Yr } from "./app-abfabbcf.js";
|
|
14
|
+
import { _ as Ee, c as Wr } from "./actionButton-cc6bcf01.js";
|
|
15
|
+
import { b as Jr } from "./business-9a4e5bd7.js";
|
|
16
|
+
import "pinia";
|
|
10
17
|
import "@feedmepos/mf-mdm";
|
|
11
18
|
import "vue-router";
|
|
12
19
|
import "@feedmepos/mf-e-invoice";
|
|
13
|
-
import "pinia";
|
|
14
|
-
import "@vue/devtools-api";
|
|
15
20
|
var Zr = {};
|
|
16
21
|
(function(r) {
|
|
17
22
|
Object.defineProperty(r, "__esModule", { value: !0 }), function(e) {
|
|
@@ -878,7 +883,7 @@ const $n = {
|
|
|
878
883
|
};
|
|
879
884
|
}
|
|
880
885
|
});
|
|
881
|
-
const Rn = /* @__PURE__ */
|
|
886
|
+
const Rn = /* @__PURE__ */ lr(wn, [["__scopeId", "data-v-5b5c7179"]]), In = { class: "fm-typo-en-body-lg-600" }, An = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Lt = /* @__PURE__ */ Q({
|
|
882
887
|
__name: "FormLabel",
|
|
883
888
|
props: {
|
|
884
889
|
label: {},
|
|
@@ -916,7 +921,7 @@ function Ln(r, e) {
|
|
|
916
921
|
E("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
|
|
917
922
|
]));
|
|
918
923
|
}
|
|
919
|
-
const Nn = /* @__PURE__ */
|
|
924
|
+
const Nn = /* @__PURE__ */ lr(Tn, [["render", Ln]]), Cn = {
|
|
920
925
|
key: 0,
|
|
921
926
|
class: "ml-40 w-[320px] fm-corner-radius-lg p-16 border border-fm-color-neutral-gray-200 space-y-4"
|
|
922
927
|
}, xn = { class: "fm-typo-en-title-sm-600" }, Ct = /* @__PURE__ */ Q({
|
|
@@ -927,7 +932,7 @@ const Nn = /* @__PURE__ */ ur(Tn, [["render", Ln]]), Cn = {
|
|
|
927
932
|
items: {}
|
|
928
933
|
},
|
|
929
934
|
setup(r) {
|
|
930
|
-
const e = r, t =
|
|
935
|
+
const e = r, t = or();
|
|
931
936
|
function n() {
|
|
932
937
|
t.open({
|
|
933
938
|
title: e.title,
|
|
@@ -1255,7 +1260,7 @@ const Nn = /* @__PURE__ */ ur(Tn, [["render", Ln]]), Cn = {
|
|
|
1255
1260
|
}
|
|
1256
1261
|
},
|
|
1257
1262
|
setup(r) {
|
|
1258
|
-
const { t: e } = pe(), t = r, { emitData: n } =
|
|
1263
|
+
const { t: e } = pe(), t = r, { emitData: n } = jr(), s = lt(
|
|
1259
1264
|
ge(t.coordinate ? t.coordinate : xe.jb)
|
|
1260
1265
|
);
|
|
1261
1266
|
function o({ position: i }) {
|
|
@@ -1305,9 +1310,9 @@ const Nn = /* @__PURE__ */ ur(Tn, [["render", Ln]]), Cn = {
|
|
|
1305
1310
|
},
|
|
1306
1311
|
emits: ["update:model-value"],
|
|
1307
1312
|
setup(r, { emit: e }) {
|
|
1308
|
-
const { t } = pe(), n = r, s = e, o =
|
|
1313
|
+
const { t } = pe(), n = r, s = e, o = or(), i = z(() => {
|
|
1309
1314
|
const g = n.modelValue || [];
|
|
1310
|
-
return g.length < 2 ? null :
|
|
1315
|
+
return g.length < 2 ? null : Dr(g);
|
|
1311
1316
|
}), d = z(() => i.value ? `${i.value.lat}, ${i.value.lng}` : "");
|
|
1312
1317
|
async function c() {
|
|
1313
1318
|
const g = ve().maps.Geocoder, p = new g();
|
|
@@ -1336,7 +1341,7 @@ const Nn = /* @__PURE__ */ ur(Tn, [["render", Ln]]), Cn = {
|
|
|
1336
1341
|
close: !0
|
|
1337
1342
|
}
|
|
1338
1343
|
}).onPrimary(async ($) => {
|
|
1339
|
-
const y = $ ?
|
|
1344
|
+
const y = $ ? Gr($) : [];
|
|
1340
1345
|
b(), s("update:model-value", y);
|
|
1341
1346
|
}).onSecondary(() => {
|
|
1342
1347
|
b(), s("update:model-value", []);
|
|
@@ -1400,8 +1405,8 @@ const Nn = /* @__PURE__ */ ur(Tn, [["render", Ln]]), Cn = {
|
|
|
1400
1405
|
},
|
|
1401
1406
|
emits: ["update:model-value"],
|
|
1402
1407
|
setup(r, { emit: e }) {
|
|
1403
|
-
const t = r, n = e, s =
|
|
1404
|
-
|
|
1408
|
+
const t = r, n = e, s = ct(), { t: o } = pe();
|
|
1409
|
+
dt().startOf("week");
|
|
1405
1410
|
const i = z(
|
|
1406
1411
|
() => [
|
|
1407
1412
|
o("settings.operation_hours.mon"),
|
|
@@ -2843,7 +2848,7 @@ function ai(r) {
|
|
|
2843
2848
|
return Er[r].replace("-alpha", "");
|
|
2844
2849
|
}
|
|
2845
2850
|
function oi({ posVersion: r, payoutAccount: e }) {
|
|
2846
|
-
return !!r && si(it.qrEPayment, r) ? !e || !e.enable ? "Payout account is required" : e.status !==
|
|
2851
|
+
return !!r && si(it.qrEPayment, r) ? !e || !e.enable ? "Payout account is required" : e.status !== ut.F_PAYOUT_ACCOUNT_STATUS.enum.APPROVED ? "Payout account under review" : !0 : `For POS ${ai(it.qrEPayment)} or above`;
|
|
2847
2852
|
}
|
|
2848
2853
|
function wr(r) {
|
|
2849
2854
|
return {
|
|
@@ -2857,49 +2862,49 @@ function wr(r) {
|
|
|
2857
2862
|
};
|
|
2858
2863
|
}
|
|
2859
2864
|
function et(r) {
|
|
2860
|
-
return wr(
|
|
2865
|
+
return wr(ft(r));
|
|
2861
2866
|
}
|
|
2862
2867
|
async function rr(r) {
|
|
2863
|
-
const e =
|
|
2868
|
+
const e = ft(r), t = [];
|
|
2864
2869
|
for (const n of e)
|
|
2865
2870
|
t.push(await wr(n));
|
|
2866
2871
|
return t;
|
|
2867
2872
|
}
|
|
2868
2873
|
const Ve = {
|
|
2869
2874
|
async readRestaurant(r) {
|
|
2870
|
-
return await et(await
|
|
2875
|
+
return await et(await ze().get(`/restaurants/${r}`));
|
|
2871
2876
|
},
|
|
2872
2877
|
async readRestaurants() {
|
|
2873
|
-
return await rr(await
|
|
2878
|
+
return await rr(await Xe().get("/restaurants"));
|
|
2874
2879
|
},
|
|
2875
2880
|
async readRestaurantsByBusiness() {
|
|
2876
|
-
return await rr(await
|
|
2881
|
+
return await rr(await Xe().get("/restaurant-list"));
|
|
2877
2882
|
},
|
|
2878
2883
|
async createRestaurant(r) {
|
|
2879
|
-
return await et(await
|
|
2884
|
+
return await et(await Xe().post("/restaurants", r));
|
|
2880
2885
|
},
|
|
2881
2886
|
async updateRestaurantProfile(r, e) {
|
|
2882
2887
|
return await et(
|
|
2883
|
-
await
|
|
2888
|
+
await ze().put(`/restaurants/${r}/profile`, e)
|
|
2884
2889
|
);
|
|
2885
2890
|
},
|
|
2886
2891
|
async updateRestaurantAttributes(r, e) {
|
|
2887
|
-
return
|
|
2892
|
+
return ft(await ze().put(`/restaurants/${r}/attributes`, {
|
|
2888
2893
|
attributes: e
|
|
2889
2894
|
}));
|
|
2890
2895
|
}
|
|
2891
2896
|
}, tt = {
|
|
2892
2897
|
async get(r, e) {
|
|
2893
|
-
const t =
|
|
2894
|
-
return await (await
|
|
2898
|
+
const t = qe(void 0, e), n = He(t, r);
|
|
2899
|
+
return await (await Br(n)).text();
|
|
2895
2900
|
},
|
|
2896
2901
|
async update(r, e, t) {
|
|
2897
|
-
const n =
|
|
2898
|
-
return await
|
|
2902
|
+
const n = qe(void 0, t), s = He(n, r);
|
|
2903
|
+
return await Kr(s, e), await qr(s);
|
|
2899
2904
|
},
|
|
2900
2905
|
async delete(r, e) {
|
|
2901
|
-
const t =
|
|
2902
|
-
await
|
|
2906
|
+
const t = qe(void 0, e), n = He(t, r);
|
|
2907
|
+
await Hr(n);
|
|
2903
2908
|
}
|
|
2904
2909
|
}, de = {
|
|
2905
2910
|
async get(r) {
|
|
@@ -2919,7 +2924,7 @@ class ii {
|
|
|
2919
2924
|
this.restaurant = e, this.data = t;
|
|
2920
2925
|
}
|
|
2921
2926
|
generateUrl(e) {
|
|
2922
|
-
const t = e === "normal" ?
|
|
2927
|
+
const t = e === "normal" ? dt().toISOString() : "photo";
|
|
2923
2928
|
return `restaurant/${this.restaurant.id}/${e}/${t}`;
|
|
2924
2929
|
}
|
|
2925
2930
|
async manageThumbnail() {
|
|
@@ -2997,7 +3002,7 @@ const li = () => {
|
|
|
2997
3002
|
},
|
|
2998
3003
|
setup(r, { expose: e }) {
|
|
2999
3004
|
var I;
|
|
3000
|
-
const t = r, { restaurants: n, currentBusiness: s, restaurantAttributeSettings: o } = fe(), i =
|
|
3005
|
+
const t = r, { restaurants: n, currentBusiness: s, restaurantAttributeSettings: o } = fe(), i = ct(), d = cr(i), { copyTextToClipboard: c } = ur(), u = ne(!1), b = (w, h) => {
|
|
3001
3006
|
u.value = !u.value;
|
|
3002
3007
|
}, g = z(() => {
|
|
3003
3008
|
var w;
|
|
@@ -3127,9 +3132,9 @@ const li = () => {
|
|
|
3127
3132
|
value: M.value
|
|
3128
3133
|
}
|
|
3129
3134
|
]
|
|
3130
|
-
})), { isAtMost: P } =
|
|
3135
|
+
})), { isAtMost: P } = ir();
|
|
3131
3136
|
z(() => P("sm"));
|
|
3132
|
-
const f = ne(null), m =
|
|
3137
|
+
const f = ne(null), m = Yr(f);
|
|
3133
3138
|
return e({ trigger: b }), (w, h) => {
|
|
3134
3139
|
const O = H("FmTextField"), x = H("FmPhoneNumber"), G = H("FmTextarea"), V = H("FmButton");
|
|
3135
3140
|
return F(), K(se, null, [
|
|
@@ -3267,7 +3272,7 @@ const li = () => {
|
|
|
3267
3272
|
"sub-title": R(y)("settings.restaurantTagging.subtitle")
|
|
3268
3273
|
}, {
|
|
3269
3274
|
default: q(() => [
|
|
3270
|
-
T(R(
|
|
3275
|
+
T(R(Fr), {
|
|
3271
3276
|
entity: "restaurant",
|
|
3272
3277
|
modelValue: N.value,
|
|
3273
3278
|
"onUpdate:modelValue": h[8] || (h[8] = (L) => N.value = L)
|
|
@@ -3306,7 +3311,7 @@ const li = () => {
|
|
|
3306
3311
|
label: R(y)("settings.business.restaurant.form.sections.operation_hours.copy_with"),
|
|
3307
3312
|
optional: !1
|
|
3308
3313
|
}, null, 8, ["label"]),
|
|
3309
|
-
T(
|
|
3314
|
+
T(zr, {
|
|
3310
3315
|
class: "w-[320px]",
|
|
3311
3316
|
"exclude-restaurants": [r.restaurantId ?? ""],
|
|
3312
3317
|
"model-value": "",
|
|
@@ -3340,7 +3345,7 @@ const li = () => {
|
|
|
3340
3345
|
rules: [
|
|
3341
3346
|
(L) => {
|
|
3342
3347
|
var B;
|
|
3343
|
-
return !L || ((B = g.value) == null ? void 0 : B.url) == p.url || $.value == R(
|
|
3348
|
+
return !L || ((B = g.value) == null ? void 0 : B.url) == p.url || $.value == R(ut.F_COUNTRY).enum.MY || R(y)("settings.business.restaurant.form.sections.branding.url.errors.disabled");
|
|
3344
3349
|
},
|
|
3345
3350
|
(L) => !L || R(mr).test(L) || R(y)("settings.business.restaurant.form.sections.branding.url.errors.invalid"),
|
|
3346
3351
|
(L) => !L || !R(pr).includes(L) || R(y)("settings.business.restaurant.form.sections.branding.url.errors.reserved")
|
|
@@ -3425,7 +3430,7 @@ const li = () => {
|
|
|
3425
3430
|
}
|
|
3426
3431
|
},
|
|
3427
3432
|
setup(r, { expose: e }) {
|
|
3428
|
-
const t = r, n =
|
|
3433
|
+
const t = r, n = ct(), s = cr(n), o = "https://feedmedev.cc", i = lt(
|
|
3429
3434
|
t.initialValue ? ge(t.initialValue) : {
|
|
3430
3435
|
thumbnail: void 0,
|
|
3431
3436
|
name: "",
|
|
@@ -3446,13 +3451,13 @@ const li = () => {
|
|
|
3446
3451
|
var N, k, S;
|
|
3447
3452
|
if ($.newThumbnail) {
|
|
3448
3453
|
const M = await de.update(
|
|
3449
|
-
`business/${t.businessId}/thumbnail/${
|
|
3454
|
+
`business/${t.businessId}/thumbnail/${dt().toISOString()}.png`,
|
|
3450
3455
|
$.newThumbnail
|
|
3451
3456
|
);
|
|
3452
3457
|
$.thumbnail = M, (N = t.initialValue) != null && N.thumbnail && await de.delete(t.initialValue.thumbnail);
|
|
3453
3458
|
} else
|
|
3454
3459
|
(k = t.initialValue) != null && k.thumbnail && !$.thumbnail && await de.delete((S = t.initialValue) == null ? void 0 : S.thumbnail);
|
|
3455
|
-
const y = await
|
|
3460
|
+
const y = await Jr.updateBusinessProfile(t.businessId, $), C = fe().currentBusiness;
|
|
3456
3461
|
C.value = { ...C.value, ...y }, b();
|
|
3457
3462
|
});
|
|
3458
3463
|
};
|
|
@@ -3469,7 +3474,7 @@ const li = () => {
|
|
|
3469
3474
|
id: "unit-form",
|
|
3470
3475
|
modelValue: u.value,
|
|
3471
3476
|
"onUpdate:modelValue": y[4] || (y[4] = (S) => u.value = S),
|
|
3472
|
-
"is-container": R(
|
|
3477
|
+
"is-container": R(Mr).FmForm,
|
|
3473
3478
|
"is-container-props": {
|
|
3474
3479
|
onValidationSuccess: p,
|
|
3475
3480
|
blameFormChildOnValidationFailed: !0
|
|
@@ -3525,7 +3530,7 @@ const li = () => {
|
|
|
3525
3530
|
rules: [
|
|
3526
3531
|
(S) => {
|
|
3527
3532
|
var M;
|
|
3528
|
-
return !S || ((M = r.initialValue) == null ? void 0 : M.url) == i.url || d.value == R(
|
|
3533
|
+
return !S || ((M = r.initialValue) == null ? void 0 : M.url) == i.url || d.value == R(ut.F_COUNTRY).enum.MY || R(_)("settings.business.form.url.errors.disabled");
|
|
3529
3534
|
},
|
|
3530
3535
|
(S) => !S || R(mr).test(S) || R(_)("settings.business.form.url.errors.format"),
|
|
3531
3536
|
(S) => !S || !R(pr).includes(S) || R(_)("settings.business.form.url.errors.reserved")
|
|
@@ -3621,10 +3626,10 @@ const li = () => {
|
|
|
3621
3626
|
}, Ti = { class: "fm-typo-en-body-md-600" }, Li = {
|
|
3622
3627
|
key: 0,
|
|
3623
3628
|
class: "space-y-8"
|
|
3624
|
-
}, Ni = { class: "flex justify-end" }, Ci = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, xi = { key: 0 }, ki = ["onClick"], Vi = { class: "flex justify-between items-center" }, Fi = { class: "fm-typo-en-body-lg-600" }, ji = { class: "flex gap-8" }, Mi = { class: "text-fm-color-typo-secondary" }, Ui = { class: "text-fm-color-typo-secondary" }, Di = { class: "text-fm-color-typo-secondary" },
|
|
3629
|
+
}, Ni = { class: "flex justify-end" }, Ci = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, xi = { key: 0 }, ki = ["onClick"], Vi = { class: "flex justify-between items-center" }, Fi = { class: "fm-typo-en-body-lg-600" }, ji = { class: "flex gap-8" }, Mi = { class: "text-fm-color-typo-secondary" }, Ui = { class: "text-fm-color-typo-secondary" }, Di = { class: "text-fm-color-typo-secondary" }, al = /* @__PURE__ */ Q({
|
|
3625
3630
|
__name: "Business",
|
|
3626
3631
|
setup(r) {
|
|
3627
|
-
const { searchKey: e, filter: t } = yn(), { copyTextToClipboard: n } =
|
|
3632
|
+
const { searchKey: e, filter: t } = yn(), { copyTextToClipboard: n } = ur(), s = ir(), o = z(() => s.breakpoints.value.xs), { t: i } = pe(), d = z(() => {
|
|
3628
3633
|
const { currentBusiness: $, restaurants: y } = fe(), C = $.value;
|
|
3629
3634
|
if (!C)
|
|
3630
3635
|
return null;
|
|
@@ -3698,7 +3703,7 @@ const li = () => {
|
|
|
3698
3703
|
size: 80,
|
|
3699
3704
|
cell: ($) => {
|
|
3700
3705
|
const y = $.row.original;
|
|
3701
|
-
return
|
|
3706
|
+
return Wr([
|
|
3702
3707
|
{
|
|
3703
3708
|
name: "edit",
|
|
3704
3709
|
onClick: () => _(y)
|
|
@@ -3721,7 +3726,7 @@ const li = () => {
|
|
|
3721
3726
|
if (!d.value)
|
|
3722
3727
|
return;
|
|
3723
3728
|
const { name: $, url: y, thumbnail: C } = d.value.doc;
|
|
3724
|
-
|
|
3729
|
+
Ke(g, Ei, {
|
|
3725
3730
|
businessId: d.value.id,
|
|
3726
3731
|
initialValue: {
|
|
3727
3732
|
name: $,
|
|
@@ -3732,13 +3737,13 @@ const li = () => {
|
|
|
3732
3737
|
}
|
|
3733
3738
|
const g = kr();
|
|
3734
3739
|
function p() {
|
|
3735
|
-
|
|
3740
|
+
Ke(g, sr, {
|
|
3736
3741
|
enableFeedmeExpress: !1
|
|
3737
3742
|
});
|
|
3738
3743
|
}
|
|
3739
3744
|
function _($) {
|
|
3740
3745
|
var y;
|
|
3741
|
-
|
|
3746
|
+
Ke(g, sr, {
|
|
3742
3747
|
restaurantId: $.id,
|
|
3743
3748
|
restaurant: $.doc,
|
|
3744
3749
|
enableFeedmeExpress: ((y = $.doc.feedmeDelivery) == null ? void 0 : y.enable) || !1
|
|
@@ -3747,7 +3752,7 @@ const li = () => {
|
|
|
3747
3752
|
return ($, y) => {
|
|
3748
3753
|
var W;
|
|
3749
3754
|
const C = H("FmSpacer"), N = H("FmButton"), k = H("FmTooltip"), S = H("FmSearch"), M = H("FmTable"), Y = H("FmCircularProgress");
|
|
3750
|
-
return F(), Z(
|
|
3755
|
+
return F(), Z(Ur, {
|
|
3751
3756
|
heading: ((W = d.value) == null ? void 0 : W.name) || "--"
|
|
3752
3757
|
}, {
|
|
3753
3758
|
"sub-heading": q(() => {
|
|
@@ -3766,7 +3771,7 @@ const li = () => {
|
|
|
3766
3771
|
E("div", Oi, [
|
|
3767
3772
|
T(C),
|
|
3768
3773
|
o.value ? (F(), K(se, { key: 1 }, [
|
|
3769
|
-
T(
|
|
3774
|
+
T(Xr, {
|
|
3770
3775
|
onClick: p,
|
|
3771
3776
|
label: R(i)("settings.business.add_restaurant"),
|
|
3772
3777
|
"prepend-icon": "add"
|
|
@@ -3884,5 +3889,5 @@ const li = () => {
|
|
|
3884
3889
|
}
|
|
3885
3890
|
});
|
|
3886
3891
|
export {
|
|
3887
|
-
|
|
3892
|
+
al as default
|
|
3888
3893
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { unref as n, defineComponent as A, openBlock as
|
|
1
|
+
import { unref as n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as z, renderList as R, normalizeClass as Z, createBlock as q, createCommentVNode as Q } from "vue";
|
|
2
2
|
import { useCoreStore as Y, useI18n as J, CountryOptions as K } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as X, r as ee } from "./rules-c9fa22f8.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { b as w } from "./business-9a4e5bd7.js";
|
|
5
|
+
import "./index-f1e5e565.js";
|
|
6
|
+
import { useSnackbar as te } from "@feedmepos/ui-library";
|
|
7
|
+
import { u as se, F as ne } from "./loading-84215dce.js";
|
|
6
8
|
import { useRouter as oe } from "vue-router";
|
|
7
|
-
import "@feedmepos/mf-mdm";
|
|
8
|
-
import "@feedmepos/mf-e-invoice";
|
|
9
9
|
import "pinia";
|
|
10
|
-
import "@vue/devtools-api";
|
|
11
10
|
function L(r) {
|
|
12
11
|
return typeof r == "function" ? r() : n(r);
|
|
13
12
|
}
|
|
@@ -62,19 +61,19 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
|
|
|
62
61
|
`, ce = ["innerHTML"], ue = /* @__PURE__ */ A({
|
|
63
62
|
__name: "FeedmeLogo",
|
|
64
63
|
setup(r) {
|
|
65
|
-
return (e, o) => (
|
|
64
|
+
return (e, o) => (v(), y("div", {
|
|
66
65
|
class: "logo",
|
|
67
66
|
style: { width: "54px", height: "54px" },
|
|
68
67
|
innerHTML: n(re)
|
|
69
68
|
}, null, 8, ce));
|
|
70
69
|
}
|
|
71
70
|
});
|
|
72
|
-
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" },
|
|
71
|
+
const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, De = /* @__PURE__ */ A({
|
|
73
72
|
__name: "CreateBusiness",
|
|
74
73
|
setup(r) {
|
|
75
74
|
var V;
|
|
76
75
|
oe();
|
|
77
|
-
const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x =
|
|
76
|
+
const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = te(), _ = se(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
|
|
78
77
|
$(
|
|
79
78
|
i,
|
|
80
79
|
(p) => {
|
|
@@ -120,7 +119,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
120
119
|
}
|
|
121
120
|
async function E() {
|
|
122
121
|
await e.signOut(), setTimeout(() => {
|
|
123
|
-
window.location.href = `${
|
|
122
|
+
window.location.href = `${ne.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
|
|
124
123
|
}, 500);
|
|
125
124
|
}
|
|
126
125
|
return G(() => {
|
|
@@ -129,8 +128,8 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
129
128
|
e.hideSidebarToggle(!1);
|
|
130
129
|
}), (p, d) => {
|
|
131
130
|
const k = h("FmTextField"), N = h("FmSnackbar"), T = h("FmButton"), O = h("FmForm");
|
|
132
|
-
return
|
|
133
|
-
|
|
131
|
+
return v(), y("div", me, [
|
|
132
|
+
g(O, {
|
|
134
133
|
class: "w-[540px] xs:w-full xs:px-16 space-y-24",
|
|
135
134
|
"blame-form-child-on-validation-failed": "",
|
|
136
135
|
"on-validation-success": I
|
|
@@ -139,7 +138,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
139
138
|
var B, H, U;
|
|
140
139
|
return [
|
|
141
140
|
s("div", null, [
|
|
142
|
-
|
|
141
|
+
g(de)
|
|
143
142
|
]),
|
|
144
143
|
s("div", pe, [
|
|
145
144
|
s("div", _e, [
|
|
@@ -149,7 +148,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
149
148
|
s("div", null, b(n(l)("settings.create_business.subtitle")), 1)
|
|
150
149
|
]),
|
|
151
150
|
s("div", null, [
|
|
152
|
-
|
|
151
|
+
g(k, {
|
|
153
152
|
label: n(l)("settings.create_business.business_name.label"),
|
|
154
153
|
"label-mark": "required",
|
|
155
154
|
rules: [n(ee)],
|
|
@@ -158,7 +157,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
158
157
|
}, null, 8, ["label", "rules", "modelValue"])
|
|
159
158
|
]),
|
|
160
159
|
s("div", null, [
|
|
161
|
-
|
|
160
|
+
g(k, {
|
|
162
161
|
label: n(l)("settings.create_business.agent.label"),
|
|
163
162
|
modelValue: t.value,
|
|
164
163
|
"onUpdate:modelValue": [
|
|
@@ -168,10 +167,10 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
168
167
|
rules: [(a) => !a || u.value || n(l)("settings.create_business.agent.invalid")]
|
|
169
168
|
}, null, 8, ["label", "modelValue", "onUpdate:modelValue", "rules"])
|
|
170
169
|
]),
|
|
171
|
-
s("div",
|
|
172
|
-
s("div",
|
|
170
|
+
s("div", ge, [
|
|
171
|
+
s("div", ve, b(n(l)("settings.create_business.country.title")), 1),
|
|
173
172
|
s("div", he, [
|
|
174
|
-
(
|
|
173
|
+
(v(!0), y(z, null, R(n(K), (a) => (v(), y("div", {
|
|
175
174
|
key: a.code,
|
|
176
175
|
class: Z(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
|
|
177
176
|
i.value === a.code ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
|
|
@@ -190,7 +189,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
190
189
|
], 10, be))), 128))
|
|
191
190
|
])
|
|
192
191
|
]),
|
|
193
|
-
m.value.length > 0 ? (
|
|
192
|
+
m.value.length > 0 ? (v(), q(N, {
|
|
194
193
|
key: 0,
|
|
195
194
|
variant: "info",
|
|
196
195
|
title: n(l)("settings.create_business.country.exists.title"),
|
|
@@ -198,7 +197,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
198
197
|
}, null, 8, ["title", "description"])) : Q("", !0),
|
|
199
198
|
s("div", Fe, [
|
|
200
199
|
s("div", null, [
|
|
201
|
-
|
|
200
|
+
g(T, {
|
|
202
201
|
label: n(l)("settings.create_business.submit"),
|
|
203
202
|
variant: "primary",
|
|
204
203
|
size: "lg",
|
|
@@ -208,7 +207,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
208
207
|
}, null, 8, ["label", "disabled"])
|
|
209
208
|
]),
|
|
210
209
|
s("div", null, [
|
|
211
|
-
|
|
210
|
+
g(T, {
|
|
212
211
|
label: n(l)("settings.create_business.logout"),
|
|
213
212
|
variant: "secondary",
|
|
214
213
|
size: "lg",
|
|
@@ -227,5 +226,5 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
|
|
|
227
226
|
}
|
|
228
227
|
});
|
|
229
228
|
export {
|
|
230
|
-
|
|
229
|
+
De as default
|
|
231
230
|
};
|
|
@@ -2,16 +2,14 @@ var Yg = Object.defineProperty;
|
|
|
2
2
|
var Kg = (u, l, c) => l in u ? Yg(u, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : u[l] = c;
|
|
3
3
|
var Hi = (u, l, c) => (Kg(u, typeof l != "symbol" ? l + "" : l, c), c);
|
|
4
4
|
import { defineComponent as hl, ref as Rt, resolveComponent as wt, openBlock as Dt, createElementBlock as Kn, Fragment as Vr, renderSlot as Gf, createVNode as gt, unref as zt, withCtx as Jt, createElementVNode as He, computed as Rn, watch as Vf, withKeys as Hg, toDisplayString as un, renderList as nl, createBlock as Ur, createCommentVNode as rl, h as Su, getCurrentInstance as Wg, withModifiers as Jg } from "vue";
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
7
|
-
import { d as
|
|
8
|
-
import { useSnackbar as ml, components as so, useDialogChild as
|
|
5
|
+
import { l as q, c as V, d as ze, a as Sc, e as Ei, b as Yf } from "./index-f1e5e565.js";
|
|
6
|
+
import { c as Qg, a as zd } from "./index-1eb3cc0a.js";
|
|
7
|
+
import { d as Xg, _ as hc, u as Zg, a as xg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js";
|
|
8
|
+
import { useSnackbar as ml, components as so, useDialogChild as ep, useDialog as Kf, useBreakpoints as tp } from "@feedmepos/ui-library";
|
|
9
|
+
import { g as Gn, r as la, b as Fd, u as Oc } from "./loading-84215dce.js";
|
|
9
10
|
import { useCoreStore as gl, useI18n as Tc } from "@feedmepos/mf-common";
|
|
10
|
-
import "
|
|
11
|
-
import "vue-router";
|
|
12
|
-
import "@feedmepos/mf-e-invoice";
|
|
11
|
+
import { c as Hf, _ as np, a as C$ } from "./createForm-681e977a.js";
|
|
13
12
|
import "pinia";
|
|
14
|
-
import "@vue/devtools-api";
|
|
15
13
|
var wd = {}, fn = {}, pl = {};
|
|
16
14
|
Object.defineProperty(pl, "__esModule", { value: !0 });
|
|
17
15
|
pl.F_CHARGE_TYPE = void 0;
|
|
@@ -8560,7 +8558,7 @@ var nf;
|
|
|
8560
8558
|
function e_() {
|
|
8561
8559
|
return nf || (nf = 1, function(u) {
|
|
8562
8560
|
Object.defineProperty(u, "__esModule", { value: !0 }), u.PaymentTransactionPOSDto = u.PaymentTransactionCustomerV1Dto = u.PaymentTransactionCreateDto = u.PaymentTransactionCreateFoodCourtDto = u.PaymentTransactionCreateCreditDto = u.PaymentTransactionCreateBillDto = u.PaymentTransactionCreateOrderDto = u.PaymentTransactionCreateBaseDto = u.PaymentTransactionDto = u.PaymentTransactionWithoutChildrenDto = void 0;
|
|
8563
|
-
const l = s$, c = Ha, m = Ei, y =
|
|
8561
|
+
const l = s$, c = Ha, m = Ei, y = Qg, _ = q, z = Om(), w = Li, K = _.z.object({
|
|
8564
8562
|
_id: _.z.string(),
|
|
8565
8563
|
payFor: c.F_PAYMENT_FOR,
|
|
8566
8564
|
payId: _.z.string(),
|
|
@@ -9022,8 +9020,8 @@ var Gd = {}, Vd = {}, Yd = {}, Gi = {};
|
|
|
9022
9020
|
setImmediate(y);
|
|
9023
9021
|
} : function(y) {
|
|
9024
9022
|
setTimeout(y, 0);
|
|
9025
|
-
}, typeof
|
|
9026
|
-
var m = (typeof __webpack_require__ < "u" ? __non_webpack_require__ :
|
|
9023
|
+
}, typeof zd < "u" && (c.require = zd), c.exports = u, typeof process < "u" && (c.process = process), typeof __dirname < "u" && (c.__dirname = __dirname), typeof __filename < "u" && (c.__filename = __filename), typeof Buffer < "u" && (c.Buffer = Buffer), l) {
|
|
9024
|
+
var m = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : zd)("url");
|
|
9027
9025
|
Object.defineProperty(c, "location", { value: { get href() {
|
|
9028
9026
|
return m.pathToFileURL ? m.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
9029
9027
|
var y = process.cwd();
|
|
@@ -39630,7 +39628,7 @@ function Cs() {
|
|
|
39630
39628
|
return re.concat(C || Array.prototype.slice.call(H));
|
|
39631
39629
|
};
|
|
39632
39630
|
Object.defineProperty(ma, "__esModule", { value: !0 }), ma.GroupOperation = ma.generateGroupKey = void 0;
|
|
39633
|
-
var m = On, y = Wa(), _ = Ct, z = _u(), w = Gi, K = bu(), ie =
|
|
39631
|
+
var m = On, y = Wa(), _ = Ct, z = _u(), w = Gi, K = bu(), ie = Xg, ue = nt;
|
|
39634
39632
|
function oe(re) {
|
|
39635
39633
|
return "".concat(re, "//").concat((/* @__PURE__ */ new Date()).toISOString(), "_").concat((0, _.randomString)(6));
|
|
39636
39634
|
}
|
|
@@ -46934,13 +46932,13 @@ const _r = {
|
|
|
46934
46932
|
},
|
|
46935
46933
|
admin: {
|
|
46936
46934
|
async read() {
|
|
46937
|
-
return Gn(await
|
|
46935
|
+
return Gn(await Fd().get("/food-courts"));
|
|
46938
46936
|
},
|
|
46939
46937
|
async create(u) {
|
|
46940
|
-
return Gn(await
|
|
46938
|
+
return Gn(await Fd().post("/food-courts", u));
|
|
46941
46939
|
},
|
|
46942
46940
|
async update(u, l) {
|
|
46943
|
-
return Gn(await
|
|
46941
|
+
return Gn(await Fd().put(`/food-courts/${u}`, l));
|
|
46944
46942
|
}
|
|
46945
46943
|
}
|
|
46946
46944
|
}, Jz = { class: "pt-8 space-y-24" }, Qz = { class: "flex gap-8 items-center justify-start" }, Xz = /* @__PURE__ */ hl({
|
|
@@ -47135,13 +47133,13 @@ const Zz = { class: "space-y-24" }, xz = { class: "flex gap-8" }, eF = { class:
|
|
|
47135
47133
|
}
|
|
47136
47134
|
},
|
|
47137
47135
|
setup(u) {
|
|
47138
|
-
const { t: l } = Tc(), { emitData: c } =
|
|
47136
|
+
const { t: l } = Tc(), { emitData: c } = ep(), m = u, y = gl(), _ = ml(), z = Rn(() => {
|
|
47139
47137
|
var M;
|
|
47140
47138
|
return (M = y.currentRestaurant.value) == null ? void 0 : M._id;
|
|
47141
47139
|
});
|
|
47142
|
-
Rt(
|
|
47140
|
+
Rt(Hf(m.team));
|
|
47143
47141
|
const w = Rt(""), K = Rt([]), ie = Rt([]), ue = Rt(), oe = Rt(!0), X = Rn(() => oe.value ? "expand_more" : "expand_less"), L = Rn(() => oe.value ? K.value : []), B = Rn(() => ie.value.filter((M) => !K.value.find((I) => M._id === I._id)));
|
|
47144
|
-
|
|
47142
|
+
Zg();
|
|
47145
47143
|
async function k() {
|
|
47146
47144
|
try {
|
|
47147
47145
|
ie.value = await _r.readRestaurantByNameOrId(
|
|
@@ -47313,10 +47311,10 @@ const cF = { class: "fm-typo-en-title-md-600" }, $F = { class: "pt-8 space-y-24"
|
|
|
47313
47311
|
onSuccess: { type: Function }
|
|
47314
47312
|
},
|
|
47315
47313
|
setup(u, { expose: l }) {
|
|
47316
|
-
const c = u, m = gl(), y = ml(), _ = Oc(y), z =
|
|
47314
|
+
const c = u, m = gl(), y = ml(), _ = Oc(y), z = Kf(), { t: w } = Tc(), K = Rn(() => {
|
|
47317
47315
|
var C;
|
|
47318
47316
|
return (C = m.currentRestaurant.value) == null ? void 0 : C._id;
|
|
47319
|
-
}), ie = Rn(() => K.value === L.value.ownerId), ue = Rn(() => m.restaurants.value.filter((C) => C.managable)), oe = Rn(() => ue.value.some((C) => C._id === L.value.ownerId)), X = Rt(c.initialValue.name), L = Rt(
|
|
47317
|
+
}), ie = Rn(() => K.value === L.value.ownerId), ue = Rn(() => m.restaurants.value.filter((C) => C.managable)), oe = Rn(() => ue.value.some((C) => C._id === L.value.ownerId)), X = Rt(c.initialValue.name), L = Rt(Hf(c.initialValue)), B = Rn(() => {
|
|
47320
47318
|
const C = L.value.members.map((Y) => {
|
|
47321
47319
|
var fe;
|
|
47322
47320
|
const ee = Y._id, ae = L.value.pf_restaurants.find((e) => e._id === ee), le = K.value === ee, de = new Lf(
|
|
@@ -47541,13 +47539,13 @@ const cF = { class: "fm-typo-en-title-md-600" }, $F = { class: "pt-8 space-y-24"
|
|
|
47541
47539
|
}), yF = { class: "flex flex-1" }, bF = {
|
|
47542
47540
|
key: 0,
|
|
47543
47541
|
class: "space-y-24"
|
|
47544
|
-
}, _F = { class: "flex justify-between" }, vF = { class: "py-8 px-16 space-y-8" }, EF = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, zF = ["onClick"], FF = { class: "flex justify-between items-center" }, wF = { class: "fm-typo-en-body-lg-600" }, SF = { class: "flex gap-8" }, OF = { class: "text-fm-color-typo-secondary" }, TF = { class: "text-fm-color-typo-secondary" }, AF = { class: "text-fm-color-typo-secondary" },
|
|
47542
|
+
}, _F = { class: "flex justify-between" }, vF = { class: "py-8 px-16 space-y-8" }, EF = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, zF = ["onClick"], FF = { class: "flex justify-between items-center" }, wF = { class: "fm-typo-en-body-lg-600" }, SF = { class: "flex gap-8" }, OF = { class: "text-fm-color-typo-secondary" }, TF = { class: "text-fm-color-typo-secondary" }, AF = { class: "text-fm-color-typo-secondary" }, UF = /* @__PURE__ */ hl({
|
|
47545
47543
|
__name: "FoodCourt",
|
|
47546
47544
|
setup(u) {
|
|
47547
47545
|
const { t: l } = Tc(), c = Rt([]), m = Rt(""), y = Rn(() => c.value.filter((C) => {
|
|
47548
47546
|
var ee;
|
|
47549
47547
|
return `${C.name} ${(ee = C.pf_owner) == null ? void 0 : ee.profile.name} ${C.status}`.toLowerCase().includes(m.value.toLowerCase());
|
|
47550
|
-
})), _ =
|
|
47548
|
+
})), _ = Kf(), z = ml(), w = Oc(z), K = Rt(""), ie = [
|
|
47551
47549
|
{
|
|
47552
47550
|
header: () => l("settings.food_court.list.columns.name"),
|
|
47553
47551
|
accessorKey: "name"
|
|
@@ -47701,16 +47699,16 @@ const cF = { class: "fm-typo-en-title-md-600" }, $F = { class: "pt-8 space-y-24"
|
|
|
47701
47699
|
immediate: !0
|
|
47702
47700
|
}
|
|
47703
47701
|
);
|
|
47704
|
-
const I =
|
|
47702
|
+
const I = tp(), U = Rn(() => I.breakpoints.value.xs);
|
|
47705
47703
|
return (C, Y) => {
|
|
47706
47704
|
const ee = wt("FmSpacer"), ae = wt("FmSearch"), le = wt("FmTable"), de = wt("FmButton"), fe = wt("FmMenuItem"), e = wt("FmMenu");
|
|
47707
|
-
return Dt(), Ur(
|
|
47705
|
+
return Dt(), Ur(np, {
|
|
47708
47706
|
heading: zt(l)("settings.food_court.list.title")
|
|
47709
47707
|
}, {
|
|
47710
47708
|
"append-heading": Jt(() => [
|
|
47711
47709
|
He("div", yF, [
|
|
47712
47710
|
gt(ee),
|
|
47713
|
-
gt(
|
|
47711
|
+
gt(xg, {
|
|
47714
47712
|
label: zt(l)("settings.food_court.create.title"),
|
|
47715
47713
|
onClick: te
|
|
47716
47714
|
}, null, 8, ["label"])
|
|
@@ -47796,5 +47794,5 @@ const cF = { class: "fm-typo-en-title-md-600" }, $F = { class: "pt-8 space-y-24"
|
|
|
47796
47794
|
}
|
|
47797
47795
|
});
|
|
47798
47796
|
export {
|
|
47799
|
-
|
|
47797
|
+
UF as default
|
|
47800
47798
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as it, g as ot } from "./
|
|
1
|
+
import { c as it, g as ot } from "./index-f1e5e565.js";
|
|
2
2
|
import { defineComponent as K, mergeModels as ut, useModel as ct, computed as N, watchEffect as lt, resolveComponent as z, openBlock as j, createBlock as P, withCtx as G, createVNode as X, createElementBlock as tt, Fragment as ft, renderList as dt, normalizeProps as ht, mergeProps as Q } from "vue";
|
|
3
3
|
import { useCoreStore as mt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as $t, useBreakpoints as pt } from "@feedmepos/ui-library";
|