@feedmepos/mf-order-setting 0.0.95-dev.20261027T033938Z.40445229358 → 0.0.95
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/{DisplaySystemView-D6iUkdhV.js → DisplaySystemView-rCw3DE0u.js} +4 -4
- package/dist/FoodCourtOrderSettingsView-DUQXCKzB.js +323 -0
- package/dist/{KioskDevicesView-dmkOOlEi.js → KioskDevicesView-B4dgvMq_.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-rI-V00er.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-B-Oi8ZLq.js} +6 -7
- package/dist/{KioskSettingView-CriV9hNN.js → KioskSettingView-DXx6wQQQ.js} +4 -4
- package/dist/{KioskView-Bf8ExuXv.js → KioskView-BmSHCl13.js} +6 -6
- package/dist/{OrderSettingsView-kiUnR7uJ.js → OrderSettingsView-9NOSAxLf.js} +39 -31
- package/dist/{app-BY9zvKIk.js → app-y20uA-tu.js} +2036 -2486
- package/dist/app.js +1 -1
- package/dist/{featureFlag-CcSsaObb.js → featureFlag-GHmH1G2d.js} +1 -1
- package/dist/frontend/mf-order/src/api/food-court/index.d.ts +0 -71
- package/dist/frontend/mf-order/src/app.d.ts +0 -420
- package/dist/frontend/mf-order/src/main.d.ts +0 -420
- package/dist/frontend/mf-order/src/utils/constants/route.d.ts +0 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-CaKrN0zf.js → index-BlG6mIU4.js} +3 -3
- package/dist/index-CUI1lL9F.js +1347 -0
- package/dist/{index-DTByaJ_b.js → index-CmdP_QXF.js} +1 -1
- package/dist/{index-Dyz3yVeN.js → index-wMygvJpP.js} +2 -2
- package/dist/{order.dto-CufYp4uU.js → order.dto-CyHtvyly.js} +1 -1
- package/dist/package/entity/food-court/food-court.do.d.ts +1 -1
- package/dist/package/entity/food-court/food-court.dto.d.ts +7 -7
- package/dist/package/entity/food-court/order-v2.do.d.ts +24 -0
- package/dist/package/entity/food-court/order-v2.dto.d.ts +1353 -7
- package/dist/package/entity/order-platform/external/reconciliation/external-reconciliation.do.d.ts +2 -2
- package/package.json +1 -1
- package/src/api/food-court/index.ts +0 -124
- package/src/locales/en-US.json +1 -106
- package/src/locales/ja-JP.json +1 -106
- package/src/locales/th-TH.json +1 -106
- package/src/locales/zh-CN.json +1 -106
- package/src/router/routes.ts +0 -28
- package/src/utils/constants/route.ts +0 -6
- package/dist/FoodCourtInvitationsView-C9e8G26v.js +0 -425
- package/dist/FoodCourtOrderSettingsView-4GvvCyZc.js +0 -293
- package/dist/FoodCourtStallsView-CPBvml80.js +0 -550
- package/dist/FoodCourtStatusView-Bvek-o35.js +0 -109
- package/dist/dayjs.min-DiMUggXL.js +0 -285
- package/dist/food-court-member-CndyUoSh.js +0 -58
- package/dist/frontend/mf-order/src/api/food-court/invitation.d.ts +0 -30
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtInvitationsView.vue.d.ts +0 -2
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtStallsView.vue.d.ts +0 -2
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtStatusView.vue.d.ts +0 -2
- package/dist/frontend/mf-order/src/views/food-court/food-court-member.d.ts +0 -34
- package/dist/frontend/mf-order/src/views/food-court/invitations/InvitationReviewDialog.vue.d.ts +0 -21
- package/dist/frontend/mf-order/src/views/food-court/invitations/InvitationRowActions.vue.d.ts +0 -13
- package/dist/frontend/mf-order/src/views/food-court/stalls/EditStallSheet.vue.d.ts +0 -15
- package/dist/frontend/mf-order/src/views/food-court/stalls/InviteStallSheet.vue.d.ts +0 -18
- package/dist/frontend/mf-order/src/views/food-court/stalls/StallAssignmentFields.vue.d.ts +0 -16
- package/dist/frontend/mf-order/src/views/food-court/stalls/StallRowActions.vue.d.ts +0 -12
- package/dist/index-CyZxBmvF.js +0 -1065
- package/dist/index-bdI9fkLS.js +0 -84
- package/dist/search-BAPEUu1R.js +0 -15
- package/src/api/food-court/invitation.ts +0 -70
- package/src/views/food-court/FoodCourtInvitationsView.vue +0 -192
- package/src/views/food-court/FoodCourtStallsView.vue +0 -267
- package/src/views/food-court/FoodCourtStatusView.vue +0 -107
- package/src/views/food-court/food-court-member.ts +0 -95
- package/src/views/food-court/invitations/InvitationReviewDialog.vue +0 -225
- package/src/views/food-court/invitations/InvitationRowActions.vue +0 -29
- package/src/views/food-court/stalls/EditStallSheet.vue +0 -91
- package/src/views/food-court/stalls/InviteStallSheet.vue +0 -192
- package/src/views/food-court/stalls/StallAssignmentFields.vue +0 -35
- package/src/views/food-court/stalls/StallRowActions.vue +0 -27
|
@@ -2,12 +2,12 @@ import { ref as K, defineComponent as he, computed as V, watch as be, resolveCom
|
|
|
2
2
|
import { useRoute as es, useRouter as ts } from "vue-router";
|
|
3
3
|
import { useI18n as Pe, useCoreStore as at, RestaurantSelector as os } from "@feedmepos/mf-common";
|
|
4
4
|
import { u as Ka } from "./snackbar-DZQ0_reQ.js";
|
|
5
|
-
import { D as Ja } from "./order.dto-
|
|
5
|
+
import { D as Ja } from "./order.dto-CyHtvyly.js";
|
|
6
6
|
import { defineStore as as } from "pinia";
|
|
7
|
-
import { g as nt, a as Za, d as ns, c as so } from "./index-
|
|
7
|
+
import { g as nt, a as Za, d as ns, c as so } from "./index-CmdP_QXF.js";
|
|
8
8
|
import { useDialogChild as ss, useDialog as Ya } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as We, u as ls, e as rs } from "./featureFlag-
|
|
10
|
-
import { A as is, v as Xa, u as ds } from "./app-
|
|
9
|
+
import { _ as We, u as ls, e as rs } from "./featureFlag-GHmH1G2d.js";
|
|
10
|
+
import { A as is, v as Xa, u as ds } from "./app-y20uA-tu.js";
|
|
11
11
|
function Qa(e) {
|
|
12
12
|
return JSON.parse(JSON.stringify(e));
|
|
13
13
|
}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { computed as g, defineComponent as V, ref as F, onMounted as G, resolveComponent as u, unref as o, openBlock as i, createElementBlock as b, createElementVNode as l, toDisplayString as c, createVNode as d, createBlock as $, createCommentVNode as O, withCtx as A, Fragment as z } from "vue";
|
|
2
|
+
import "@feedmepos/ui-library";
|
|
3
|
+
import { useCoreStore as te, useI18n as P } from "@feedmepos/mf-common";
|
|
4
|
+
import { useRoute as re } from "vue-router";
|
|
5
|
+
import { u as H } from "./index-Cmb4sEqq.js";
|
|
6
|
+
import { u as W } from "./snackbar-DZQ0_reQ.js";
|
|
7
|
+
import { g as k, b as ne } from "./index-CmdP_QXF.js";
|
|
8
|
+
function le() {
|
|
9
|
+
const t = te(), n = re();
|
|
10
|
+
return g(() => {
|
|
11
|
+
var m, p, f;
|
|
12
|
+
if (((m = t.currentContextType) == null ? void 0 : m.value) === "foodCourt")
|
|
13
|
+
return ((f = (p = t.currentFoodCourt) == null ? void 0 : p.value) == null ? void 0 : f._id) ?? null;
|
|
14
|
+
const e = n.query.foodCourtId;
|
|
15
|
+
return typeof e == "string" && /^[0-9a-f]{24}$/i.test(e) ? e : null;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
const N = (t) => ne(`/food-court-v2/${t}`), R = {
|
|
19
|
+
async getDineIn(t) {
|
|
20
|
+
return k(await N(t).get("/dine-in"));
|
|
21
|
+
},
|
|
22
|
+
async updateDineIn(t, n) {
|
|
23
|
+
return k(
|
|
24
|
+
await N(t).put("/dine-in", n)
|
|
25
|
+
);
|
|
26
|
+
},
|
|
27
|
+
async getOrderNumber(t) {
|
|
28
|
+
return k(
|
|
29
|
+
await N(t).get("/order-number")
|
|
30
|
+
);
|
|
31
|
+
},
|
|
32
|
+
async updateOrderNumber(t, n) {
|
|
33
|
+
return k(
|
|
34
|
+
await N(t).put("/order-number", n)
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}, ae = { key: 0 }, se = { class: "p-[1.5rem] flex flex-col gap-5 m-5 w-2/3" }, ue = { class: "flex-grow fm-typo-en-title-sm-600" }, de = { class: "flex-grow fm-typo-en-title-sm-600 mt-4" }, ie = { class: "flex flex-col gap-2 fm-typo-en-body-md-400" }, ce = { class: "text-fm-color-typo-secondary" }, me = { class: "text-fm-color-typo-secondary" }, pe = { class: "fm-corner-radius-lg flex flex-col gap-5 m-5" }, fe = {
|
|
38
|
+
key: 2,
|
|
39
|
+
class: "p-[1.5rem] m-5 flex flex-col gap-3 items-start"
|
|
40
|
+
}, ve = { class: "fm-typo-en-body-md-400" }, _e = /* @__PURE__ */ V({
|
|
41
|
+
__name: "FoodCourtDineInSetting",
|
|
42
|
+
props: {
|
|
43
|
+
foodCourtId: {}
|
|
44
|
+
},
|
|
45
|
+
setup(t) {
|
|
46
|
+
const n = t, { t: e } = P(), { showSuccess: m } = W(), { startAsyncCallWithErr: p, isLoading: f } = H(), a = F(), r = F(!1);
|
|
47
|
+
async function v() {
|
|
48
|
+
r.value = !1;
|
|
49
|
+
try {
|
|
50
|
+
a.value = await p(
|
|
51
|
+
() => R.getDineIn(n.foodCourtId)
|
|
52
|
+
);
|
|
53
|
+
} catch {
|
|
54
|
+
r.value = !0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
G(v);
|
|
58
|
+
async function h() {
|
|
59
|
+
if (!a.value) return;
|
|
60
|
+
const y = { qrOrderingEnabled: a.value.qrOrderingEnabled };
|
|
61
|
+
a.value = await p(
|
|
62
|
+
() => R.updateDineIn(n.foodCourtId, y)
|
|
63
|
+
), m(e("order.foodCourt.saved"));
|
|
64
|
+
}
|
|
65
|
+
return (y, C) => {
|
|
66
|
+
const w = u("FmSwitch"), I = u("FmButton"), D = u("FmCircularProgress");
|
|
67
|
+
return !o(f) && a.value ? (i(), b("div", ae, [
|
|
68
|
+
l("div", se, [
|
|
69
|
+
l("div", ue, c(o(e)("order.generalSetting")), 1),
|
|
70
|
+
d(w, {
|
|
71
|
+
modelValue: a.value.qrOrderingEnabled,
|
|
72
|
+
"onUpdate:modelValue": C[0] || (C[0] = (S) => a.value.qrOrderingEnabled = S),
|
|
73
|
+
value: "qrOrderingEnabled",
|
|
74
|
+
label: o(e)("order.foodCourt.qrOrdering"),
|
|
75
|
+
sublabel: o(e)("order.foodCourt.qrOrderingSublabel"),
|
|
76
|
+
"label-placement": "right"
|
|
77
|
+
}, null, 8, ["modelValue", "label", "sublabel"]),
|
|
78
|
+
l("div", de, c(o(e)("order.acceptedPayment")), 1),
|
|
79
|
+
l("div", ie, [
|
|
80
|
+
l("span", null, c(o(e)("order.foodCourt.acceptedPaymentOnline")), 1),
|
|
81
|
+
l("span", ce, c(o(e)("order.foodCourt.acceptedPaymentNotAccepted")), 1),
|
|
82
|
+
l("span", me, c(o(e)("order.foodCourt.acceptedPaymentSource")), 1)
|
|
83
|
+
])
|
|
84
|
+
]),
|
|
85
|
+
l("div", pe, [
|
|
86
|
+
d(I, {
|
|
87
|
+
variant: "primary",
|
|
88
|
+
label: o(e)("order.saveSetting"),
|
|
89
|
+
class: "mr-auto",
|
|
90
|
+
onClick: h
|
|
91
|
+
}, null, 8, ["label"])
|
|
92
|
+
])
|
|
93
|
+
])) : o(f) ? (i(), $(D, {
|
|
94
|
+
key: 1,
|
|
95
|
+
size: "xxl"
|
|
96
|
+
})) : r.value ? (i(), b("div", fe, [
|
|
97
|
+
l("span", ve, c(o(e)("order.foodCourt.loadFailed")), 1),
|
|
98
|
+
d(I, {
|
|
99
|
+
variant: "secondary",
|
|
100
|
+
label: o(e)("order.foodCourt.retry"),
|
|
101
|
+
onClick: v
|
|
102
|
+
}, null, 8, ["label"])
|
|
103
|
+
])) : O("", !0);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}), Q = "FC-", L = 3, T = { min: 2, max: 6 };
|
|
107
|
+
function E(t) {
|
|
108
|
+
return typeof t == "number" && Number.isInteger(t) && t >= T.min && t <= T.max;
|
|
109
|
+
}
|
|
110
|
+
function ge(t) {
|
|
111
|
+
const n = (e) => `${Q}${String(e).padStart(t, "0")}`;
|
|
112
|
+
return { start: n(1), end: n(Math.pow(10, t) - 1) };
|
|
113
|
+
}
|
|
114
|
+
function B(t) {
|
|
115
|
+
return Math.pow(10, t) - 1;
|
|
116
|
+
}
|
|
117
|
+
function be(t, n) {
|
|
118
|
+
return typeof t == "number" && Number.isInteger(t) && t >= 0 && t <= B(n);
|
|
119
|
+
}
|
|
120
|
+
function ye(t, n) {
|
|
121
|
+
const e = t + 1 > B(n) ? 1 : t + 1;
|
|
122
|
+
return `${Q}${String(e).padStart(n, "0")}`;
|
|
123
|
+
}
|
|
124
|
+
const Ce = { key: 0 }, xe = { class: "p-[1.5rem] flex flex-col gap-5 m-5 mr-8 w-full max-w-4xl" }, Fe = { class: "flex-grow fm-typo-en-title-sm-600" }, he = { class: "mr-9 grid grid-cols-1 md:grid-cols-2 gap-5" }, we = { class: "min-w-0" }, Ie = { class: "bg-gray-50 p-3 rounded-lg border" }, Se = { class: "flex items-center gap-2" }, $e = { class: "mr-9 grid grid-cols-1 md:grid-cols-2 gap-5" }, ke = { class: "min-w-0" }, Ne = { class: "mt-3 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Oe = { class: "mt-1 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Re = { class: "fm-corner-radius-lg flex flex-col gap-5 m-5" }, Te = {
|
|
125
|
+
key: 2,
|
|
126
|
+
class: "p-[1.5rem] m-5 flex flex-col gap-3 items-start"
|
|
127
|
+
}, De = { class: "fm-typo-en-body-md-400" }, Ee = /* @__PURE__ */ V({
|
|
128
|
+
__name: "FoodCourtGeneralSetting",
|
|
129
|
+
props: {
|
|
130
|
+
foodCourtId: {}
|
|
131
|
+
},
|
|
132
|
+
setup(t) {
|
|
133
|
+
const n = t, { t: e } = P(), { showSuccess: m, showError: p } = W(), { startAsyncCallWithErr: f, isLoading: a } = H(), r = F(), v = g(
|
|
134
|
+
() => {
|
|
135
|
+
var s;
|
|
136
|
+
return E((s = r.value) == null ? void 0 : s.digit) ? r.value.digit : L;
|
|
137
|
+
}
|
|
138
|
+
), h = g(() => ge(v.value)), y = F(null), C = g(() => {
|
|
139
|
+
var s;
|
|
140
|
+
return (((s = r.value) == null ? void 0 : s.current) ?? null) !== y.value;
|
|
141
|
+
}), w = g(() => {
|
|
142
|
+
var s;
|
|
143
|
+
return be((s = r.value) == null ? void 0 : s.current, v.value);
|
|
144
|
+
}), I = g(
|
|
145
|
+
() => e("order.foodCourt.currentNumberRule", { max: B(v.value) })
|
|
146
|
+
), D = g(
|
|
147
|
+
() => ye(w.value ? r.value.current : y.value ?? 0, v.value)
|
|
148
|
+
), S = F(!1);
|
|
149
|
+
async function U() {
|
|
150
|
+
S.value = !1;
|
|
151
|
+
try {
|
|
152
|
+
r.value = await f(
|
|
153
|
+
() => R.getOrderNumber(n.foodCourtId)
|
|
154
|
+
), y.value = r.value.current ?? null;
|
|
155
|
+
} catch {
|
|
156
|
+
S.value = !0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
G(U);
|
|
160
|
+
function X(s) {
|
|
161
|
+
r.value && (r.value.resetTime = s ? "00:00" : null);
|
|
162
|
+
}
|
|
163
|
+
async function j() {
|
|
164
|
+
if (!r.value) return;
|
|
165
|
+
if (!E(r.value.digit)) {
|
|
166
|
+
p(e("order.foodCourt.numberOfDigitsRule"));
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
if (C.value && !w.value) {
|
|
170
|
+
p(I.value);
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
const s = {
|
|
174
|
+
digit: r.value.digit,
|
|
175
|
+
resetTime: r.value.resetTime ?? null,
|
|
176
|
+
...C.value ? { current: r.value.current } : {}
|
|
177
|
+
};
|
|
178
|
+
r.value = await f(
|
|
179
|
+
() => R.updateOrderNumber(n.foodCourtId, s)
|
|
180
|
+
), y.value = r.value.current ?? null, m(e("order.foodCourt.saved"));
|
|
181
|
+
}
|
|
182
|
+
return (s, x) => {
|
|
183
|
+
const J = u("FmSwitch"), K = u("FmIcon"), Y = u("FmTooltip"), Z = u("FmTimePicker"), q = u("FmStepperField"), ee = u("FmCard"), M = u("FmButton"), oe = u("FmCircularProgress");
|
|
184
|
+
return !o(a) && r.value ? (i(), b("div", Ce, [
|
|
185
|
+
l("div", xe, [
|
|
186
|
+
l("div", Fe, c(o(e)("order.orderNumberSettings")), 1),
|
|
187
|
+
l("div", he, [
|
|
188
|
+
l("div", we, [
|
|
189
|
+
l("div", Ie, [
|
|
190
|
+
l("div", Se, [
|
|
191
|
+
d(J, {
|
|
192
|
+
"model-value": !!r.value.resetTime,
|
|
193
|
+
label: o(e)("order.autoResetOrderNumber"),
|
|
194
|
+
"onUpdate:modelValue": X,
|
|
195
|
+
"label-placement": "right"
|
|
196
|
+
}, null, 8, ["model-value", "label"]),
|
|
197
|
+
d(Y, {
|
|
198
|
+
content: o(e)("order.foodCourt.autoResetTooltip"),
|
|
199
|
+
zIndex: 1e3
|
|
200
|
+
}, {
|
|
201
|
+
default: A(() => [
|
|
202
|
+
d(K, {
|
|
203
|
+
name: "info",
|
|
204
|
+
size: "sm",
|
|
205
|
+
class: "cursor-help text-fm-color-neutral-gray-400"
|
|
206
|
+
})
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
}, 8, ["content"])
|
|
210
|
+
]),
|
|
211
|
+
r.value.resetTime ? (i(), $(Z, {
|
|
212
|
+
key: 0,
|
|
213
|
+
"model-value": r.value.resetTime,
|
|
214
|
+
"onUpdate:modelValue": x[0] || (x[0] = (_) => _ && (r.value.resetTime = _)),
|
|
215
|
+
class: "mt-3"
|
|
216
|
+
}, null, 8, ["model-value"])) : O("", !0)
|
|
217
|
+
])
|
|
218
|
+
])
|
|
219
|
+
]),
|
|
220
|
+
l("div", $e, [
|
|
221
|
+
l("div", ke, [
|
|
222
|
+
d(ee, {
|
|
223
|
+
variant: "outlined",
|
|
224
|
+
class: "p-3"
|
|
225
|
+
}, {
|
|
226
|
+
default: A(() => [
|
|
227
|
+
d(q, {
|
|
228
|
+
"model-value": r.value.digit,
|
|
229
|
+
label: o(e)("order.foodCourt.numberOfDigits"),
|
|
230
|
+
"onUpdate:modelValue": x[1] || (x[1] = (_) => r.value.digit = _),
|
|
231
|
+
"show-steppers": !1,
|
|
232
|
+
placeholder: String(o(L)),
|
|
233
|
+
rules: [() => {
|
|
234
|
+
var _;
|
|
235
|
+
return o(E)((_ = r.value) == null ? void 0 : _.digit) || o(e)("order.foodCourt.numberOfDigitsRule");
|
|
236
|
+
}],
|
|
237
|
+
min: o(T).min,
|
|
238
|
+
max: o(T).max
|
|
239
|
+
}, null, 8, ["model-value", "label", "placeholder", "rules", "min", "max"]),
|
|
240
|
+
d(q, {
|
|
241
|
+
"model-value": r.value.current ?? null,
|
|
242
|
+
label: o(e)("order.currentNumber"),
|
|
243
|
+
"onUpdate:modelValue": x[2] || (x[2] = (_) => r.value.current = _),
|
|
244
|
+
"show-steppers": !1,
|
|
245
|
+
placeholder: "0",
|
|
246
|
+
rules: [() => !C.value || w.value || I.value],
|
|
247
|
+
min: 0,
|
|
248
|
+
class: "mt-3"
|
|
249
|
+
}, null, 8, ["model-value", "label", "rules"]),
|
|
250
|
+
l("div", Ne, c(o(e)("order.foodCourt.numberPreview", h.value)), 1),
|
|
251
|
+
l("div", Oe, c(o(e)("order.foodCourt.nextNumber", { number: D.value })), 1)
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
})
|
|
255
|
+
])
|
|
256
|
+
])
|
|
257
|
+
]),
|
|
258
|
+
l("div", Re, [
|
|
259
|
+
d(M, {
|
|
260
|
+
variant: "primary",
|
|
261
|
+
label: o(e)("order.saveSetting"),
|
|
262
|
+
class: "mr-auto",
|
|
263
|
+
onClick: j
|
|
264
|
+
}, null, 8, ["label"])
|
|
265
|
+
])
|
|
266
|
+
])) : o(a) ? (i(), $(oe, {
|
|
267
|
+
key: 1,
|
|
268
|
+
size: "xxl"
|
|
269
|
+
})) : S.value ? (i(), b("div", Te, [
|
|
270
|
+
l("span", De, c(o(e)("order.foodCourt.loadFailed")), 1),
|
|
271
|
+
d(M, {
|
|
272
|
+
variant: "secondary",
|
|
273
|
+
label: o(e)("order.foodCourt.retry"),
|
|
274
|
+
onClick: U
|
|
275
|
+
}, null, 8, ["label"])
|
|
276
|
+
])) : O("", !0);
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
}), Ve = { class: "py-[1.5rem]" }, Pe = {
|
|
280
|
+
key: 0,
|
|
281
|
+
class: "flex px-[1.5rem] items-center"
|
|
282
|
+
}, Be = {
|
|
283
|
+
key: 1,
|
|
284
|
+
class: "px-[1.5rem] fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
285
|
+
}, He = /* @__PURE__ */ V({
|
|
286
|
+
__name: "FoodCourtOrderSettingsView",
|
|
287
|
+
setup(t) {
|
|
288
|
+
const { t: n } = P(), e = le(), m = F("dinein"), p = g(() => [
|
|
289
|
+
{ label: n("order.dineIn"), value: "dinein" },
|
|
290
|
+
{ label: n("order.general"), value: "general" }
|
|
291
|
+
]);
|
|
292
|
+
return (f, a) => {
|
|
293
|
+
const r = u("FmPageHead"), v = u("FmTabs");
|
|
294
|
+
return i(), b(z, null, [
|
|
295
|
+
l("div", Ve, [
|
|
296
|
+
d(r, {
|
|
297
|
+
title: o(n)("order.orderSetting"),
|
|
298
|
+
"line-height": 1.7
|
|
299
|
+
}, null, 8, ["title"]),
|
|
300
|
+
o(e) ? (i(), b("div", Pe, [
|
|
301
|
+
d(v, {
|
|
302
|
+
"model-value": m.value,
|
|
303
|
+
"onUpdate:modelValue": a[0] || (a[0] = (h) => m.value = h),
|
|
304
|
+
items: p.value
|
|
305
|
+
}, null, 8, ["model-value", "items"])
|
|
306
|
+
])) : O("", !0)
|
|
307
|
+
]),
|
|
308
|
+
o(e) ? (i(), b(z, { key: 0 }, [
|
|
309
|
+
m.value === "dinein" ? (i(), $(_e, {
|
|
310
|
+
key: `dinein-${o(e)}`,
|
|
311
|
+
"food-court-id": o(e)
|
|
312
|
+
}, null, 8, ["food-court-id"])) : (i(), $(Ee, {
|
|
313
|
+
key: `general-${o(e)}`,
|
|
314
|
+
"food-court-id": o(e)
|
|
315
|
+
}, null, 8, ["food-court-id"]))
|
|
316
|
+
], 64)) : (i(), b("div", Be, c(o(n)("order.foodCourt.noFoodCourt")), 1))
|
|
317
|
+
], 64);
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
export {
|
|
322
|
+
He as default
|
|
323
|
+
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ref as C, defineComponent as Q, resolveComponent as x, openBlock as l, createElementBlock as m, createElementVNode as a, toDisplayString as d, unref as s, createVNode as v, computed as _, createBlock as M, withCtx as K, createCommentVNode as D, Fragment as q, renderList as G, watch as he, normalizeClass as $e, createTextVNode as te, renderSlot as Me } from "vue";
|
|
2
2
|
import { useI18n as ne, useCoreStore as Ve } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as ge } from "pinia";
|
|
4
|
-
import { r as J, g as ue, a as Be, p as Re } from "./index-
|
|
5
|
-
import "./order.dto-
|
|
4
|
+
import { r as J, g as ue, a as Be, p as Re } from "./index-CmdP_QXF.js";
|
|
5
|
+
import "./order.dto-CyHtvyly.js";
|
|
6
6
|
import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
|
|
7
|
-
import { d as ce } from "./
|
|
8
|
-
import { c as Ne, g as Ke, a as xe } from "./app-
|
|
9
|
-
import { s as be } from "./index-CyZxBmvF.js";
|
|
7
|
+
import { d as ce, s as be } from "./index-CUI1lL9F.js";
|
|
8
|
+
import { c as Ne, g as Ke, a as xe } from "./app-y20uA-tu.js";
|
|
10
9
|
async function Ue() {
|
|
11
10
|
const t = await J().get("/kiosk/otp");
|
|
12
11
|
return ue(t);
|
|
@@ -813,7 +812,7 @@ const ct = ge("payment", () => {
|
|
|
813
812
|
}, dn = {
|
|
814
813
|
key: 1,
|
|
815
814
|
class: "text-center py-8 text-fm-color-typo-tertiary fm-typo-en-body-md-400 col-span-2"
|
|
816
|
-
},
|
|
815
|
+
}, kn = /* @__PURE__ */ Q({
|
|
817
816
|
__name: "KioskDevicesView",
|
|
818
817
|
props: {
|
|
819
818
|
devices: {},
|
|
@@ -931,7 +930,7 @@ const ct = ge("payment", () => {
|
|
|
931
930
|
}
|
|
932
931
|
});
|
|
933
932
|
export {
|
|
934
|
-
|
|
933
|
+
kn as _,
|
|
935
934
|
ct as a,
|
|
936
935
|
Qe as u
|
|
937
936
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ve, computed as C, ref as Y, onMounted as Ue, resolveComponent as w, openBlock as V, createBlock as oe, withCtx as R, createVNode as i, unref as l, createElementVNode as s, withDirectives as F, vShow as N, toDisplayString as f, watch as Ee, createElementBlock as U, createCommentVNode as B, Fragment as te, renderList as ne, normalizeClass as Fe } from "vue";
|
|
2
|
-
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-
|
|
3
|
-
import { b as v, K as Le, c as Me } from "./order.dto-
|
|
4
|
-
import { _ as We, u as De } from "./index-
|
|
2
|
+
import { e as me, b as be, s as ge, d as Ne, r as pe, f as ce, h as Oe } from "./app-y20uA-tu.js";
|
|
3
|
+
import { b as v, K as Le, c as Me } from "./order.dto-CyHtvyly.js";
|
|
4
|
+
import { _ as We, u as De } from "./index-BlG6mIU4.js";
|
|
5
5
|
import { useI18n as he, FeedMeAuth as Ie, useCoreStore as $e } from "@feedmepos/mf-common";
|
|
6
6
|
import { u as Ye } from "./index-Cmb4sEqq.js";
|
|
7
7
|
import { useSnackbar as Ge } from "@feedmepos/ui-library";
|
|
@@ -255,7 +255,7 @@ function Ze(o) {
|
|
|
255
255
|
}
|
|
256
256
|
function el() {
|
|
257
257
|
var e;
|
|
258
|
-
return (((e = Je.firebase) == null ? void 0 : e.storageBucket) ?? Xe.firebase.storageBucket ?? "image.
|
|
258
|
+
return (((e = Je.firebase) == null ? void 0 : e.storageBucket) ?? Xe.firebase.storageBucket ?? "image.feedme.cc").replace(/^https?:\/\//, "").replace(/\/+$/, "");
|
|
259
259
|
}
|
|
260
260
|
function ll(o) {
|
|
261
261
|
const d = o.replace(/^\/+/, "");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Q, openBlock as C, createElementBlock as z, createElementVNode as f, toDisplayString as A, unref as i, ref as v, defineAsyncComponent as ce, computed as T, onMounted as re, watch as oe, resolveComponent as I, createVNode as U, withCtx as se, createBlock as L, createCommentVNode as E } from "vue";
|
|
2
|
-
import { u as pe, a as me, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as pe, a as me, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-B-Oi8ZLq.js";
|
|
3
3
|
import { useDialog as ie, useSnackbar as fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as J, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
5
|
-
import { S as j } from "./index-
|
|
5
|
+
import { S as j } from "./index-CmdP_QXF.js";
|
|
6
6
|
import { defineStore as ve } from "pinia";
|
|
7
|
-
import { O as F } from "./index-
|
|
8
|
-
import { F as be, a as he } from "./order.dto-
|
|
9
|
-
import { u as _e } from "./app-
|
|
7
|
+
import { O as F } from "./index-wMygvJpP.js";
|
|
8
|
+
import { F as be, a as he } from "./order.dto-CyHtvyly.js";
|
|
9
|
+
import { u as _e } from "./app-y20uA-tu.js";
|
|
10
10
|
const Ce = { class: "flex flex-col gap-5 pb-6" }, we = { class: "fm-typo-en-body-md-400 block" }, Pe = { class: "fm-typo-en-title-md-600" }, Ie = /* @__PURE__ */ Q({
|
|
11
11
|
__name: "KioskOtpDialog",
|
|
12
12
|
props: {
|
|
@@ -358,7 +358,7 @@ const He = { class: "py-[1.5rem]" }, Qe = { class: "px-[1.5rem]" }, ze = { class
|
|
|
358
358
|
setup(e) {
|
|
359
359
|
var M, W;
|
|
360
360
|
const { t: a } = J(), { canManageOrderSetting: n } = _e(), u = ce(
|
|
361
|
-
() => import("./KioskSettingView-
|
|
361
|
+
() => import("./KioskSettingView-DXx6wQQQ.js")
|
|
362
362
|
), t = v("device"), l = pe(), r = De(), o = me(), p = ie(), { currentRestaurant: m, restaurants: d, changeRestaurant: w } = ye(), b = fe(), y = v(((M = m.value) == null ? void 0 : M._id) ?? void 0), h = v(null), x = v(""), q = v(null), B = T(() => {
|
|
363
363
|
const c = x.value.trim().toLowerCase();
|
|
364
364
|
return d.value.filter(
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref as xe, computed as Fe, defineComponent as mt, onMounted as yn, onUnmounted as A0, resolveComponent as Ae, openBlock as ie, createBlock as nt, withCtx as et, createElementVNode as x, createVNode as ee, toDisplayString as he, unref as U, createElementBlock as pe, isRef as vk, Fragment as Xe, renderList as gt, createCommentVNode as Re, watch as Ft, renderSlot as Ec, normalizeClass as _t, reactive as Lt, createTextVNode as xt, nextTick as yk, shallowRef as kG, Teleport as OG, withModifiers as Mc, withDirectives as Zh, vModelText as Xh, toRaw as hA, normalizeStyle as RG, createSlots as DG, h as PG, withKeys as bk, resolveDynamicComponent as MG } from "vue";
|
|
2
2
|
import { useDialog as ma, useSnackbar as _k } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as vt, useCoreStore as Dt } from "@feedmepos/mf-common";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { O as ya, s as YG } from "./index-Dyz3yVeN.js";
|
|
4
|
+
import { e as Et, i as NG, c as ii, j as G$, k as xG, g as Ek, l as ri, m as K$, n as UG, o as z$, p as BG, q as S$, t as jG } from "./app-y20uA-tu.js";
|
|
5
|
+
import { d as Ou, e as e$, r as $n, f as Gt, T as Ac, C as xn, g as xu, h as LG, i as Sk, p as VG, j as qG, k as Ln, l as Hi, m as Fu, O as $A, n as gA, o as vA, q as yA, s as GG, t as t$, u as KG, v as zG } from "./order.dto-CyHtvyly.js";
|
|
6
|
+
import { O as ya, s as YG } from "./index-wMygvJpP.js";
|
|
8
7
|
import { u as on } from "./index-Cmb4sEqq.js";
|
|
9
|
-
import { r as $t, _ as
|
|
10
|
-
import { r as HG, d as kt } from "./
|
|
11
|
-
import { defineStore as
|
|
12
|
-
import { g as zu, m as bA, S as
|
|
8
|
+
import { r as $t, _ as Fk, u as oo, a as n$ } from "./index-BlG6mIU4.js";
|
|
9
|
+
import { r as HG, d as kt, s as WG } from "./index-CUI1lL9F.js";
|
|
10
|
+
import { defineStore as Ck } from "pinia";
|
|
11
|
+
import { g as zu, m as bA, S as QG, b as Nc, c as JG } from "./index-CmdP_QXF.js";
|
|
13
12
|
import { u as tn } from "./snackbar-DZQ0_reQ.js";
|
|
14
|
-
import { _ as Rr, u as
|
|
15
|
-
import { useRouter as
|
|
16
|
-
import { s as eK } from "./index-CyZxBmvF.js";
|
|
13
|
+
import { _ as Rr, u as ZG, e as XG } from "./featureFlag-GHmH1G2d.js";
|
|
14
|
+
import { useRouter as eK } from "vue-router";
|
|
17
15
|
function tK(s, c) {
|
|
18
16
|
return s ? s.autoAccept ? s.autoAcceptPaidOnly ? c : !0 : !1 : null;
|
|
19
17
|
}
|
|
@@ -106,13 +104,23 @@ function oK(s, c, m) {
|
|
|
106
104
|
F$(E)
|
|
107
105
|
);
|
|
108
106
|
}
|
|
109
|
-
const
|
|
107
|
+
const Ik = (s) => {
|
|
108
|
+
const c = xe("");
|
|
109
|
+
function m(E) {
|
|
110
|
+
return `${E}`.trim().toLowerCase();
|
|
111
|
+
}
|
|
112
|
+
const h = Fe(() => m(c.value));
|
|
113
|
+
function g(E) {
|
|
114
|
+
return h.value ? E.some((I) => m(I).includes(h.value)) : !0;
|
|
115
|
+
}
|
|
116
|
+
return { searchKey: c, filter: g };
|
|
117
|
+
}, sK = { class: "relative w-full" }, lK = { class: "flex-grow mx-2 min-w-0" }, dK = { class: "inline-block w-full break-words fm-typo-en-body-md-400" }, cK = {
|
|
110
118
|
key: 0,
|
|
111
119
|
class: "absolute w-full mt-2 bg-white border border-gray-200 rounded-lg shadow-lg min-w-[350px] z-[9999]"
|
|
112
120
|
}, mK = { class: "overflow-y-auto" }, pK = { class: "mt-2 mx-2" }, fK = ["onClick"], gi = /* @__PURE__ */ mt({
|
|
113
121
|
__name: "RestaurantSelector",
|
|
114
122
|
setup(s) {
|
|
115
|
-
const { t: c } = vt(), { restaurants: m, changeRestaurant: h, currentRestaurant: g } = Dt(), { searchKey: E, filter: I } =
|
|
123
|
+
const { t: c } = vt(), { restaurants: m, changeRestaurant: h, currentRestaurant: g } = Dt(), { searchKey: E, filter: I } = Ik(), A = Fe(() => {
|
|
116
124
|
let V = g.value;
|
|
117
125
|
return V || (V = m.value[0]), V;
|
|
118
126
|
}), R = Fe(
|
|
@@ -54221,7 +54229,7 @@ function iJ(s, c) {
|
|
|
54221
54229
|
items: m[h._id || ""] || []
|
|
54222
54230
|
}));
|
|
54223
54231
|
}
|
|
54224
|
-
const Ka =
|
|
54232
|
+
const Ka = Ck("menu", {
|
|
54225
54233
|
state: () => rJ(),
|
|
54226
54234
|
getters: {
|
|
54227
54235
|
version() {
|
|
@@ -54651,7 +54659,7 @@ function pJ() {
|
|
|
54651
54659
|
}(o$)), o$.exports;
|
|
54652
54660
|
}
|
|
54653
54661
|
var fJ = pJ();
|
|
54654
|
-
const hJ = /* @__PURE__ */
|
|
54662
|
+
const hJ = /* @__PURE__ */ Ek(fJ);
|
|
54655
54663
|
var s$ = { exports: {} }, kT;
|
|
54656
54664
|
function $J() {
|
|
54657
54665
|
return kT || (kT = 1, function(s, c) {
|
|
@@ -54716,7 +54724,7 @@ function $J() {
|
|
|
54716
54724
|
}(s$)), s$.exports;
|
|
54717
54725
|
}
|
|
54718
54726
|
var gJ = $J();
|
|
54719
|
-
const vJ = /* @__PURE__ */
|
|
54727
|
+
const vJ = /* @__PURE__ */ Ek(gJ);
|
|
54720
54728
|
kt.extend(hJ);
|
|
54721
54729
|
kt.extend(vJ);
|
|
54722
54730
|
const yJ = {
|
|
@@ -55764,7 +55772,7 @@ const CZ = /* @__PURE__ */ mt({
|
|
|
55764
55772
|
), T(g("order.storeRemoved")), await oe();
|
|
55765
55773
|
});
|
|
55766
55774
|
} catch (n) {
|
|
55767
|
-
if (!l && n instanceof
|
|
55775
|
+
if (!l && n instanceof QG && n.code === XZ) {
|
|
55768
55776
|
ke(Be);
|
|
55769
55777
|
return;
|
|
55770
55778
|
}
|
|
@@ -57328,7 +57336,7 @@ function pee(s) {
|
|
|
57328
57336
|
return !1;
|
|
57329
57337
|
}
|
|
57330
57338
|
}
|
|
57331
|
-
|
|
57339
|
+
Ck("app", {
|
|
57332
57340
|
state: () => dee(),
|
|
57333
57341
|
getters: {
|
|
57334
57342
|
country() {
|
|
@@ -61103,7 +61111,7 @@ const Iie = {
|
|
|
61103
61111
|
return { message: `${m("order.feedmeExpressPosVersionIssue", { minVersion: oe })}` };
|
|
61104
61112
|
}
|
|
61105
61113
|
return !0;
|
|
61106
|
-
}), P =
|
|
61114
|
+
}), P = eK(), M = Fe(() => {
|
|
61107
61115
|
var se;
|
|
61108
61116
|
const X = (se = R.value) == null ? void 0 : se.payoutAccount;
|
|
61109
61117
|
return X != null && X.enable ? X.status !== Et.F_PAYOUT_ACCOUNT_STATUS.enum.APPROVED ? {
|
|
@@ -62347,7 +62355,7 @@ const Bie = { class: "flex-grow fm-typo-en-title-sm-600 mb-3" }, jie = {
|
|
|
62347
62355
|
});
|
|
62348
62356
|
}
|
|
62349
62357
|
return (j, J) => (ie(), pe("div", null, [
|
|
62350
|
-
ee(
|
|
62358
|
+
ee(Fk, {
|
|
62351
62359
|
"payment-types": s.paymentTypes || [],
|
|
62352
62360
|
"offline-payment-types": s.offlinePaymentTypes || [],
|
|
62353
62361
|
"allow-e-payment": E.value,
|
|
@@ -62940,7 +62948,7 @@ function noe() {
|
|
|
62940
62948
|
}
|
|
62941
62949
|
const aoe = "ordering_enable_qr";
|
|
62942
62950
|
function kq() {
|
|
62943
|
-
const s =
|
|
62951
|
+
const s = ZG(), { currentRestaurant: c, namespace: m } = Dt();
|
|
62944
62952
|
return Ft(
|
|
62945
62953
|
() => {
|
|
62946
62954
|
var h;
|
|
@@ -62948,7 +62956,7 @@ function kq() {
|
|
|
62948
62956
|
},
|
|
62949
62957
|
async (h) => {
|
|
62950
62958
|
if (h) {
|
|
62951
|
-
await
|
|
62959
|
+
await XG(s, m.value === "dev" ? "dev" : "prod");
|
|
62952
62960
|
try {
|
|
62953
62961
|
await s.setUser(h);
|
|
62954
62962
|
} catch {
|
|
@@ -62964,7 +62972,7 @@ function kq() {
|
|
|
62964
62972
|
const roe = { class: "delivery-company-filter-toolbar" }, ioe = { class: "block" }, uoe = { key: 0 }, ooe = { key: 1 }, soe = { class: "flex gap-8 items-center justify-start" }, loe = { class: "block" }, doe = { class: "flex" }, coe = { class: "flex gap-8 items-center justify-start" }, uk = "feedme_express_feb_2025", moe = /* @__PURE__ */ mt({
|
|
62965
62973
|
__name: "DeliverySetting",
|
|
62966
62974
|
setup(s) {
|
|
62967
|
-
const { t: c } = vt(), m = kq(), { searchKey: h, filter: g } =
|
|
62975
|
+
const { t: c } = vt(), m = kq(), { searchKey: h, filter: g } = Ik(), { showError: E, showSuccess: I, showWarning: A } = tn(), R = oo(), {
|
|
62968
62976
|
currentRestaurant: T,
|
|
62969
62977
|
currentBusiness: P,
|
|
62970
62978
|
readRestaurants: M,
|
|
@@ -64065,7 +64073,7 @@ const roe = { class: "delivery-company-filter-toolbar" }, ioe = { class: "block"
|
|
|
64065
64073
|
const e = Fe(() => {
|
|
64066
64074
|
var w;
|
|
64067
64075
|
const S = (w = m.value) == null ? void 0 : w.posVersion;
|
|
64068
|
-
return S ?
|
|
64076
|
+
return S ? WG.gt(S, Coe) : !1;
|
|
64069
64077
|
}), ke = Fe(
|
|
64070
64078
|
() => {
|
|
64071
64079
|
var S, w, O;
|
|
@@ -64293,7 +64301,7 @@ const roe = { class: "delivery-company-filter-toolbar" }, ioe = { class: "block"
|
|
|
64293
64301
|
}, null, 8, ["model-value", "label", "sublabel"])
|
|
64294
64302
|
]),
|
|
64295
64303
|
x("div", Soe, [
|
|
64296
|
-
ee(
|
|
64304
|
+
ee(Fk, {
|
|
64297
64305
|
"payment-types": I.value.paymentTypes ?? [],
|
|
64298
64306
|
"allow-e-payment": T.value,
|
|
64299
64307
|
"allow-credit": !0,
|
|
@@ -64942,7 +64950,7 @@ const roe = { class: "delivery-company-filter-toolbar" }, ioe = { class: "block"
|
|
|
64942
64950
|
function sse(s) {
|
|
64943
64951
|
return ose.has((s ?? "").trim().toUpperCase());
|
|
64944
64952
|
}
|
|
64945
|
-
const lse =
|
|
64953
|
+
const lse = JG.create({ withCredentials: !1, timeout: 5e3 });
|
|
64946
64954
|
function dse(s, c) {
|
|
64947
64955
|
return `https://${c ? "api.feedmedev.vip" : "api.feedme.vip"}/metadata/${encodeURIComponent(s)}/native-app`;
|
|
64948
64956
|
}
|
|
@@ -64955,7 +64963,7 @@ async function cse(s, c) {
|
|
|
64955
64963
|
}
|
|
64956
64964
|
const _0 = Lt(/* @__PURE__ */ new Map()), v$ = /* @__PURE__ */ new Map();
|
|
64957
64965
|
function E0(s, c) {
|
|
64958
|
-
return !!(s != null && s.includes(
|
|
64966
|
+
return !!(s != null && s.includes(Sk.Enum.PUSH_NOTIFICATION)) && c !== "native";
|
|
64959
64967
|
}
|
|
64960
64968
|
async function sk(s, c) {
|
|
64961
64969
|
const m = (v$.get(s) ?? 0) + 1;
|
|
@@ -65011,7 +65019,7 @@ const mse = {
|
|
|
65011
65019
|
},
|
|
65012
65020
|
emits: ["update:modelValue"],
|
|
65013
65021
|
setup(s, { emit: c }) {
|
|
65014
|
-
const m = s, h = c, { t: g } = vt(), { currentCountry: E } = Dt(), I = Fe(() => sse(E.value)), { SMS: A, APP_INBOX: R, PUSH_NOTIFICATION: T } =
|
|
65022
|
+
const m = s, h = c, { t: g } = vt(), { currentCountry: E } = Dt(), I = Fe(() => sse(E.value)), { SMS: A, APP_INBOX: R, PUSH_NOTIFICATION: T } = Sk.Enum, P = [A, R, T], M = Fe(() => m.modelValue ?? []), { availability: j, retry: J } = zw(), V = Fe(() => j.value === "native"), G = Fe(() => E0(M.value, j.value)), H = Fe(
|
|
65015
65023
|
() => g(
|
|
65016
65024
|
"order.notifyChannel.pushAvailability." + (j.value === "checking" ? "checking" : j.value === "non-native" ? "requiresNativeApp" : "unavailable")
|
|
65017
65025
|
)
|
|
@@ -70653,7 +70661,7 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
70653
70661
|
}), Zfe = { class: "py-[1.5rem]" }, Xfe = { class: "flex px-[1.5rem] items-center" }, ehe = { class: "flex-[2_2_0%] overflow-auto" }, the = {
|
|
70654
70662
|
key: 0,
|
|
70655
70663
|
class: "flex items-center gap-2 ml-4"
|
|
70656
|
-
}, nhe = { class: "text-sm text-gray-600" },
|
|
70664
|
+
}, nhe = { class: "text-sm text-gray-600" }, _he = /* @__PURE__ */ mt({
|
|
70657
70665
|
__name: "OrderSettingsView",
|
|
70658
70666
|
setup(s) {
|
|
70659
70667
|
const { t: c } = vt(), { currentRestaurant: m, sessionUser: h } = Dt(), g = Fe(() => {
|
|
@@ -70742,5 +70750,5 @@ Free cancellation up to 24 hours before your reservation. Please contact the out
|
|
|
70742
70750
|
}
|
|
70743
70751
|
});
|
|
70744
70752
|
export {
|
|
70745
|
-
|
|
70753
|
+
_he as default
|
|
70746
70754
|
};
|