@feedmepos/mf-order-setting 0.0.23 → 0.0.25

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.
Files changed (65) hide show
  1. package/dist/{KioskDevicesView-BdJCcotz.js → KioskDevicesView-gzH9-zL_.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CLpClo-r.js} +3 -3
  3. package/dist/KioskSettingView-D1WdpaQN.js +821 -0
  4. package/dist/{KioskView-DPU-oQ1H.js → KioskView-D6-1bn1n.js} +90 -76
  5. package/dist/{OrderSettingsView-BOiflwB_.js → OrderSettingsView-CqZREmjo.js} +6155 -6096
  6. package/dist/{app-CaYWSLe1.js → app-i4N2c7ms.js} +54 -38
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-8NyoNely.js → dayjs.min-CA-XbgTY.js} +36 -36
  9. package/dist/frontend/mf-order/src/app.d.ts +16 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +797 -0
  11. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +4 -0
  12. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +6 -6
  13. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +8 -260
  14. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +29 -710
  15. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +3 -2
  16. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +1456 -2239
  17. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +9 -0
  18. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  19. package/dist/{index-B7GFhkAE.js → index-C4HI1NS4.js} +2 -2
  20. package/dist/package/entity/delivery/delivery.dto.d.ts +11 -6
  21. package/dist/package/entity/food-court/food-court.dto.d.ts +1 -1
  22. package/dist/package/entity/food-court/order.dto.d.ts +727 -378
  23. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +6 -6
  24. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +8 -8
  25. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +16 -16
  26. package/dist/package/entity/index.d.ts +1 -0
  27. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1337 -656
  28. package/dist/package/entity/order/order.dto.d.ts +4942 -2401
  29. package/dist/package/entity/order/order.enum.d.ts +1 -1
  30. package/dist/package/entity/order/payment/payment.dto.d.ts +2899 -1419
  31. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +9 -21
  32. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +19 -51
  33. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +14 -0
  34. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +30 -0
  35. package/dist/package/entity/order-setting/order-setting.do.d.ts +26 -0
  36. package/dist/package/entity/order-setting/order-setting.dto.d.ts +52 -0
  37. package/dist/package/entity/order-setting/v3/v3.do.d.ts +3 -0
  38. package/dist/package/entity/order-setting/v3/v3.dto.d.ts +3 -0
  39. package/dist/package/entity/order-setting/v3/v3.enum.d.ts +3 -0
  40. package/dist/package/entity/payment/payment.dto.d.ts +3 -3
  41. package/dist/package/entity/restaurant/restaurant.dto.d.ts +37 -11
  42. package/dist/package/entity/websocket/websocket.dto.d.ts +40 -0
  43. package/dist/{queue.do-CIyIpp22.js → queue.do-DcOVgeUq.js} +17143 -16655
  44. package/package.json +3 -3
  45. package/src/Entry.vue +3 -3
  46. package/src/locales/en-US.json +8 -0
  47. package/src/locales/th-TH.json +257 -0
  48. package/src/locales/zh-CN.json +8 -0
  49. package/src/main.ts +9 -1
  50. package/src/modules/order-setting/kiosk/interface.ts +4 -0
  51. package/src/stores/iframe/index.ts +1 -1
  52. package/src/stores/kiosk/index.ts +1 -1
  53. package/src/stores/order-setting/index.ts +1 -1
  54. package/src/stores/order-setting/mapper.ts +27 -11
  55. package/src/stores/restaurant/index.ts +106 -85
  56. package/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue +33 -0
  57. package/src/views/kiosk/settings/KioskSettingView.vue +26 -0
  58. package/src/views/order-settings/delivery/DeliverySetting.vue +12 -12
  59. package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +39 -35
  60. package/src/views/order-settings/dine-in/DineInSetting.vue +158 -24
  61. package/src/views/order-settings/general/GeneralSetting.vue +29 -33
  62. package/src/views/order-settings/pickup/PickUpSetting.vue +4 -2
  63. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +23 -10
  64. package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +17 -8
  65. package/dist/KioskSettingView-BChhriPk.js +0 -782
@@ -1,17 +1,17 @@
1
- import { defineComponent as I, computed as b, openBlock as c, createElementBlock as y, normalizeClass as X, toDisplayString as m, unref as d, createCommentVNode as _, createElementVNode as o, Fragment as Z, renderList as ee, ref as T, defineAsyncComponent as te, watch as ae, resolveComponent as O, createVNode as k, withCtx as ne, withDirectives as se, vShow as oe, createBlock as R } from "vue";
2
- import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js";
1
+ import { defineComponent as I, computed as b, openBlock as c, createElementBlock as y, normalizeClass as X, toDisplayString as m, unref as d, createCommentVNode as _, createElementVNode as o, Fragment as Z, renderList as ee, ref as x, defineAsyncComponent as te, watch as ae, resolveComponent as k, createVNode as P, withCtx as ne, withDirectives as se, vShow as oe, createBlock as R } from "vue";
2
+ import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-CLpClo-r.js";
3
3
  import { useI18n as A, useCoreStore as de } from "@feedmepos/mf-common";
4
- import { F as V, a as ie, b as ce } from "./queue.do-CIyIpp22.js";
4
+ import { F as V, a as ie, b as ce } from "./queue.do-DcOVgeUq.js";
5
5
  import { useDialog as ue, useSnackbar as pe, useBreakpoints as me } from "@feedmepos/ui-library";
6
6
  import { defineStore as ye } from "pinia";
7
- import { O as B, c as E } from "./index-B7GFhkAE.js";
7
+ import { O as B, c as D } from "./index-C4HI1NS4.js";
8
8
  const fe = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-title-sm-600"
11
11
  }, ve = {
12
12
  key: 1,
13
13
  class: "my-[0.25rem]"
14
- }, _e = { class: "flex flex-col gap-1" }, be = { class: "flex flex-col gap-1" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-lg-600" }, ke = { key: 0 }, Se = { key: 1 }, Pe = { key: 0 }, Oe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Te = { class: "fm-typo-en-body-lg-600 block" }, we = { key: 1 }, Ce = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-lg-600 block" }, Ie = { key: 2 }, Ae = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ke = { class: "fm-typo-en-body-lg-600 block" }, Ue = { key: 3 }, $e = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Fe = { class: "fm-typo-en-body-lg-600 block" }, qe = { key: 0 }, N = /* @__PURE__ */ I({
14
+ }, _e = { class: "flex flex-col gap-1" }, be = { class: "flex flex-col gap-1" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-lg-600" }, Pe = { key: 0 }, we = { key: 1 }, Oe = { key: 0 }, ke = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-lg-600 block" }, Se = { key: 1 }, Te = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ce = { class: "fm-typo-en-body-lg-600 block" }, Ie = { key: 2 }, Ae = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ke = { class: "fm-typo-en-body-lg-600 block" }, Ue = { key: 3 }, $e = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Fe = { class: "fm-typo-en-body-lg-600 block" }, qe = { key: 0 }, E = /* @__PURE__ */ I({
15
15
  __name: "KioskSummary",
16
16
  props: {
17
17
  restaurantId: {},
@@ -52,22 +52,22 @@ const fe = {
52
52
  o("div", be, [
53
53
  o("span", he, m(d(e)("order.kioskDisplay")), 1),
54
54
  o("div", ge, [
55
- a.devices.length > 0 ? (c(), y("div", ke, [
55
+ a.devices.length > 0 ? (c(), y("div", Pe, [
56
56
  (c(!0), y(Z, null, ee(a.devices, (v) => (c(), y("li", {
57
57
  class: "block",
58
58
  key: v.machineId
59
59
  }, m(v.name), 1))), 128))
60
- ])) : (c(), y("div", Se, "-"))
60
+ ])) : (c(), y("div", we, "-"))
61
61
  ]),
62
- l.value === d(e)("order.activated") ? (c(), y("div", Pe, [
63
- o("span", Oe, m(d(e)("order.dineIn")), 1),
64
- o("div", Te, [
62
+ l.value === d(e)("order.activated") ? (c(), y("div", Oe, [
63
+ o("span", ke, m(d(e)("order.dineIn")), 1),
64
+ o("div", xe, [
65
65
  o("div", null, m(l.value), 1)
66
66
  ])
67
67
  ])) : _("", !0),
68
- l.value === d(e)("order.activated") && s.value !== d(e)("order.unknown") ? (c(), y("div", we, [
69
- o("span", Ce, m(d(e)("order.dineInType")), 1),
70
- o("div", xe, [
68
+ l.value === d(e)("order.activated") && s.value !== d(e)("order.unknown") ? (c(), y("div", Se, [
69
+ o("span", Te, m(d(e)("order.dineInType")), 1),
70
+ o("div", Ce, [
71
71
  o("div", null, m(s.value), 1)
72
72
  ])
73
73
  ])) : _("", !0),
@@ -88,7 +88,7 @@ const fe = {
88
88
  ])
89
89
  ], 2));
90
90
  }
91
- }), Re = { class: "flex flex-col gap-5 pb-6" }, Ve = { class: "fm-typo-en-body-md-400 block" }, Be = { class: "fm-typo-en-title-md-600" }, Ee = /* @__PURE__ */ I({
91
+ }), Re = { class: "flex flex-col gap-5 pb-6" }, Ve = { class: "fm-typo-en-body-md-400 block" }, Be = { class: "fm-typo-en-title-md-600" }, De = /* @__PURE__ */ I({
92
92
  __name: "KioskOtpDialog",
93
93
  props: {
94
94
  otp: {}
@@ -100,7 +100,7 @@ const fe = {
100
100
  o("div", Be, m(r.otp), 1)
101
101
  ]));
102
102
  }
103
- }), D = {
103
+ }), M = {
104
104
  enabled: !1,
105
105
  prefix: null,
106
106
  padDigit: 0,
@@ -108,30 +108,32 @@ const fe = {
108
108
  min: 1,
109
109
  max: 10
110
110
  },
111
+ enablePaxDialog: !1,
111
112
  submitOrderInstruction: {
112
113
  payAtCounter: null,
113
114
  paid: null
114
115
  }
115
- }, W = {
116
+ }, Ee = {
116
117
  enabled: !1,
117
118
  submitOrderInstruction: {
118
119
  payAtCounter: null,
119
120
  paid: null
120
121
  }
122
+ }, W = {
123
+ enabled: !1,
124
+ submitOrderInstruction: {
125
+ payAtCounter: null,
126
+ paid: null
127
+ },
128
+ enablePaxDialog: !1
121
129
  }, Ne = {
122
130
  dineIn: {
123
131
  enabled: !1,
124
132
  pickUp: W,
125
133
  sequenceNumber: ie.parse({}),
126
- displayStand: D
127
- },
128
- takeaway: {
129
- enabled: !1,
130
- submitOrderInstruction: {
131
- payAtCounter: null,
132
- paid: null
133
- }
134
+ displayStand: M
134
135
  },
136
+ takeaway: Ee,
135
137
  paymentSetting: {
136
138
  paymentTypes: [],
137
139
  offlinePaymentTypes: [],
@@ -149,18 +151,18 @@ const fe = {
149
151
  menuItem: {
150
152
  showAllOnly: !1
151
153
  }
152
- }, x = {
154
+ }, C = {
153
155
  payAtCounter: null,
154
156
  paid: null
155
157
  }, Me = (t) => {
156
158
  var e;
157
159
  return {
158
- kiosk: De(t.kioskSettings, (e = t.sequenceSettings) == null ? void 0 : e.kioskDineIn)
160
+ kiosk: We(t.kioskSettings, (e = t.sequenceSettings) == null ? void 0 : e.kioskDineIn)
159
161
  };
160
- }, De = (t, e) => {
162
+ }, We = (t, e) => {
161
163
  var r, l, n, s, u, i, a, p, v;
162
164
  return {
163
- dineIn: We(e ?? {
165
+ dineIn: je(e ?? {
164
166
  current: 0,
165
167
  prefix: "#K"
166
168
  }, t.dineIn ?? void 0),
@@ -169,7 +171,7 @@ const fe = {
169
171
  submitOrderInstruction: (r = t == null ? void 0 : t.takeaway) != null && r.submitOrderInstruction ? {
170
172
  payAtCounter: ((n = (l = t.takeaway.submitOrderInstruction) == null ? void 0 : l.payAtCounter) == null ? void 0 : n.en) ?? null,
171
173
  paid: ((u = (s = t.takeaway.submitOrderInstruction) == null ? void 0 : s.paid) == null ? void 0 : u.en) ?? null
172
- } : x
174
+ } : C
173
175
  },
174
176
  paymentSetting: {
175
177
  paymentTypes: ((i = t == null ? void 0 : t.paymentSetting) == null ? void 0 : i.paymentTypes) ?? [],
@@ -189,7 +191,7 @@ const fe = {
189
191
  showAllOnly: ((v = t.menuItem) == null ? void 0 : v.showAllOnly) ?? !1
190
192
  }
191
193
  };
192
- }, We = (t, e) => {
194
+ }, je = (t, e) => {
193
195
  var r, l, n, s, u, i, a, p;
194
196
  return {
195
197
  enabled: !!e,
@@ -199,20 +201,22 @@ const fe = {
199
201
  submitOrderInstruction: e.pickUp.submitOrderInstruction ? {
200
202
  payAtCounter: ((l = (r = e.pickUp.submitOrderInstruction) == null ? void 0 : r.payAtCounter) == null ? void 0 : l.en) ?? null,
201
203
  paid: ((s = (n = e.pickUp.submitOrderInstruction) == null ? void 0 : n.paid) == null ? void 0 : s.en) ?? null
202
- } : x
204
+ } : C,
205
+ enablePaxDialog: e.pickUp.enablePaxDialog ? e.pickUp.enablePaxDialog : !1
203
206
  } : W,
204
207
  displayStand: e != null && e.displayStand ? {
205
208
  enabled: e.displayStand.enabled,
206
209
  standSlotRange: e.displayStand.standSlotRange,
207
210
  prefix: e.displayStand.prefix,
208
211
  padDigit: e.displayStand.padDigit,
212
+ enablePaxDialog: e.displayStand.enablePaxDialog ?? !1,
209
213
  submitOrderInstruction: e.displayStand.submitOrderInstruction ? {
210
214
  payAtCounter: ((i = (u = e.displayStand.submitOrderInstruction) == null ? void 0 : u.payAtCounter) == null ? void 0 : i.en) ?? null,
211
215
  paid: ((p = (a = e.displayStand.submitOrderInstruction) == null ? void 0 : a.paid) == null ? void 0 : p.en) ?? null
212
- } : x
213
- } : D
216
+ } : C
217
+ } : M
214
218
  };
215
- }, je = (t) => {
219
+ }, He = (t) => {
216
220
  const e = (n) => {
217
221
  var s, u, i, a;
218
222
  return {
@@ -244,7 +248,17 @@ const fe = {
244
248
  canTakeaway: t.takeaway.enabled,
245
249
  dineIn: n,
246
250
  menuItem: t.menuItem,
247
- paymentSetting: l(t.paymentSetting)
251
+ paymentSetting: l(t.paymentSetting),
252
+ takeaway: t.takeaway.submitOrderInstruction ? {
253
+ submitOrderInstruction: {
254
+ payAtCounter: t.takeaway.submitOrderInstruction.payAtCounter ? {
255
+ en: t.takeaway.submitOrderInstruction.payAtCounter
256
+ } : null,
257
+ paid: t.takeaway.submitOrderInstruction.paid ? {
258
+ en: t.takeaway.submitOrderInstruction.paid
259
+ } : null
260
+ }
261
+ } : void 0
248
262
  }), l = (n) => ({
249
263
  paymentTypes: n.paymentTypes,
250
264
  offlinePaymentTypes: n.offlinePaymentTypes,
@@ -256,18 +270,18 @@ const fe = {
256
270
  } : {
257
271
  kioskSettings: r()
258
272
  };
259
- }, M = {
273
+ }, N = {
260
274
  convertOrderSettingDto: Me,
261
- toOrderKioskSettingsDto: je
262
- }, He = ye("orderSetting", () => {
263
- const t = T({});
275
+ toOrderKioskSettingsDto: He
276
+ }, Le = ye("orderSetting", () => {
277
+ const t = x({});
264
278
  async function e() {
265
279
  const s = await B.getOrderSetting();
266
280
  l(s);
267
281
  }
268
282
  async function r() {
269
283
  if (t.value.orderSetting && t.value.kiosk) {
270
- const { _id: s, ...u } = t.value.orderSetting, i = M.toOrderKioskSettingsDto(t.value.kiosk), a = {
284
+ const { _id: s, ...u } = t.value.orderSetting, i = N.toOrderKioskSettingsDto(t.value.kiosk), a = {
271
285
  ...u,
272
286
  kioskSettings: i.kioskSettings
273
287
  }, p = await B.updateOrderSetting(a);
@@ -275,35 +289,35 @@ const fe = {
275
289
  }
276
290
  }
277
291
  function l(s) {
278
- t.value.orderSetting = s, t.value.kiosk = M.convertOrderSettingDto(s).kiosk;
292
+ t.value.orderSetting = s, t.value.kiosk = N.convertOrderSettingDto(s).kiosk;
279
293
  }
280
294
  function n(s) {
281
295
  t.value.kiosk = s;
282
296
  }
283
297
  return {
284
- state: t,
298
+ state: t.value,
285
299
  getSetting: e,
286
300
  updateKioskSetting: r,
287
301
  setKioskOrderSetting: n
288
302
  };
289
- }), Le = { class: "py-[1.5rem]" }, Ye = { class: "flex px-[1.5rem]" }, ze = { class: "flex-[2_2_0%]" }, Ge = { class: "pt-[1.5rem]" }, Je = { class: "flex flex-col gap-10" }, Qe = { class: "flex flex-col gap-2" }, Xe = { class: "fm-typo-en-title-sm-600" }, Ze = { class: "fm-typo-en-title-sm-400" }, et = {
303
+ }), Ye = { class: "py-[1.5rem]" }, ze = { class: "flex px-[1.5rem]" }, Ge = { class: "flex-[2_2_0%]" }, Je = { class: "pt-[1.5rem]" }, Qe = { class: "flex flex-col gap-10" }, Xe = { class: "flex flex-col gap-2" }, Ze = { class: "fm-typo-en-title-sm-600" }, et = { class: "fm-typo-en-title-sm-400" }, tt = {
290
304
  key: 0,
291
305
  class: "flex-[1_1_0%]"
292
- }, dt = /* @__PURE__ */ I({
306
+ }, it = /* @__PURE__ */ I({
293
307
  __name: "KioskView",
294
308
  setup(t) {
295
309
  var F, q;
296
310
  const { t: e } = A(), r = te(
297
- () => import("./KioskSettingView-BChhriPk.js")
298
- ), l = T("device"), n = re(), s = He(), u = ue(), { currentRestaurant: i, restaurants: a, changeRestaurant: p } = de(), v = pe(), h = me(), K = b(() => h.breakpoints.value.xs), S = T(((F = i.value) == null ? void 0 : F._id) ?? void 0), j = b(() => a.value.map((f) => ({
311
+ () => import("./KioskSettingView-D1WdpaQN.js")
312
+ ), l = x("device"), n = re(), s = Le(), u = ue(), { currentRestaurant: i, restaurants: a, changeRestaurant: p } = de(), v = pe(), h = me(), K = b(() => h.breakpoints.value.xs), w = x(((F = i.value) == null ? void 0 : F._id) ?? void 0), j = b(() => a.value.map((f) => ({
299
313
  label: f.profile.name,
300
314
  value: f._id
301
- }))), P = T(((q = i.value) == null ? void 0 : q._id) ?? "");
315
+ }))), O = x(((q = i.value) == null ? void 0 : q._id) ?? "");
302
316
  function H() {
303
317
  var f;
304
318
  u.open({
305
- title: E(e("order.kioskSummary")),
306
- contentComponent: N,
319
+ title: D(e("order.kioskSummary")),
320
+ contentComponent: E,
307
321
  contentComponentProps: {
308
322
  restaurantId: (f = i.value) == null ? void 0 : f._id,
309
323
  devices: n.state.devices,
@@ -313,8 +327,8 @@ const fe = {
313
327
  });
314
328
  }
315
329
  async function U(f) {
316
- const g = a.value.find((w) => w._id == f);
317
- await p(g), await s.getSetting(), await n.getDevices(), S.value = f, P.value = f;
330
+ const g = a.value.find((S) => S._id == f);
331
+ await p(g), await s.getSetting(), await n.getDevices(), w.value = f, O.value = f;
318
332
  }
319
333
  const L = b(() => [
320
334
  {
@@ -328,8 +342,8 @@ const fe = {
328
342
  ]), $ = b(() => n.state.devices);
329
343
  async function Y() {
330
344
  await n.requestOtp(), u.open({
331
- title: E(e("order.bindDevice")),
332
- contentComponent: Ee,
345
+ title: D(e("order.bindDevice")),
346
+ contentComponent: De,
333
347
  contentComponentProps: {
334
348
  otp: n.state.otp
335
349
  }
@@ -351,17 +365,17 @@ const fe = {
351
365
  return ae(
352
366
  () => a.value.length,
353
367
  async (f) => {
354
- S.value === void 0 && a.value.length > 0 && await U(a.value[0]._id);
368
+ w.value === void 0 && a.value.length > 0 && await U(a.value[0]._id);
355
369
  },
356
370
  { immediate: !0 }
357
371
  ), (f, g) => {
358
- const w = O("FmButton"), G = O("FmPageHead"), J = O("FmTabs"), Q = O("FmSelect");
359
- return c(), y("div", Le, [
360
- k(G, {
372
+ const S = k("FmButton"), G = k("FmPageHead"), J = k("FmTabs"), Q = k("FmSelect");
373
+ return c(), y("div", Ye, [
374
+ P(G, {
361
375
  title: d(e)("order.kiosk")
362
376
  }, {
363
377
  append: ne(() => [
364
- se(k(w, {
378
+ se(P(S, {
365
379
  icon: "info",
366
380
  variant: "tertiary",
367
381
  onClick: H
@@ -371,23 +385,23 @@ const fe = {
371
385
  ]),
372
386
  _: 1
373
387
  }, 8, ["title"]),
374
- o("div", Ye, [
375
- o("div", ze, [
376
- k(J, {
388
+ o("div", ze, [
389
+ o("div", Ge, [
390
+ P(J, {
377
391
  "model-value": l.value,
378
- "onUpdate:modelValue": g[0] || (g[0] = (C) => l.value = C),
392
+ "onUpdate:modelValue": g[0] || (g[0] = (T) => l.value = T),
379
393
  items: L.value
380
394
  }, null, 8, ["model-value", "items"]),
381
- o("div", Ge, [
382
- o("div", Je, [
383
- o("div", Qe, [
384
- o("span", Xe, m(d(e)("order.activateLocation")), 1),
385
- o("span", Ze, m(d(e)("order.selectRestaurant")) + ": ", 1),
386
- k(Q, {
395
+ o("div", Je, [
396
+ o("div", Qe, [
397
+ o("div", Xe, [
398
+ o("span", Ze, m(d(e)("order.activateLocation")), 1),
399
+ o("span", et, m(d(e)("order.selectRestaurant")) + ": ", 1),
400
+ P(Q, {
387
401
  class: "w-1/2",
388
- modelValue: S.value,
402
+ modelValue: w.value,
389
403
  "onUpdate:modelValue": [
390
- g[1] || (g[1] = (C) => S.value = C),
404
+ g[1] || (g[1] = (T) => w.value = T),
391
405
  U
392
406
  ],
393
407
  items: j.value,
@@ -400,17 +414,17 @@ const fe = {
400
414
  "request-otp": Y
401
415
  }, null, 8, ["devices"])) : _("", !0),
402
416
  l.value == "setting" ? (c(), R(d(r), {
403
- key: `KioskSettingView-${P.value}`,
404
- "restaurant-id": P.value,
417
+ key: `KioskSettingView-${O.value}`,
418
+ "restaurant-id": O.value,
405
419
  onUpdateKioskOrderSetting: z,
406
420
  form: d(s).state.kiosk ?? d(Ne)
407
421
  }, null, 8, ["restaurant-id", "form"])) : _("", !0)
408
422
  ])
409
423
  ])
410
424
  ]),
411
- K.value ? _("", !0) : (c(), y("div", et, [
412
- k(N, {
413
- "restaurant-id": P.value,
425
+ K.value ? _("", !0) : (c(), y("div", tt, [
426
+ P(E, {
427
+ "restaurant-id": O.value,
414
428
  devices: $.value,
415
429
  "kiosk-order-setting": d(s).state.kiosk,
416
430
  dialogType: !1
@@ -422,5 +436,5 @@ const fe = {
422
436
  }
423
437
  });
424
438
  export {
425
- dt as default
439
+ it as default
426
440
  };