@feedmepos/mf-order-setting 0.0.44 → 0.0.46

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 (89) hide show
  1. package/dist/{KioskDevicesView-KBpXQJmy.js → KioskDevicesView-Dd3xcM5X.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-taf41a-7.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-D-epeOIx.js} +101 -96
  3. package/dist/{KioskSettingView-DG12ZvfT.js → KioskSettingView-D50Gh7NR.js} +1 -1
  4. package/dist/KioskView-BGiHHSjd.js +448 -0
  5. package/dist/{OrderSettingsView-CEh1QUZm.js → OrderSettingsView-DNuKMNFe.js} +33723 -34786
  6. package/dist/{app-CKeIud_f.js → app-DGT9bC4M.js} +115 -43
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-D9bsUd57.js → dayjs.min-D-vfvSns.js} +1 -1
  9. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +2 -2
  10. package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
  11. package/dist/frontend/mf-order/src/app.d.ts +72 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +72 -0
  13. package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
  14. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
  15. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +111 -1
  16. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +291 -288
  17. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +20 -173
  18. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +12 -114
  19. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +2 -2
  20. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +2 -2
  21. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +4 -4
  22. package/dist/frontend/mf-order/src/views/order-settings/queue/PresetRemarksSheet.vue.d.ts +19 -0
  23. package/dist/frontend/mf-order/src/views/order-settings/queue/QueueSetting.vue.d.ts +2 -0
  24. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  25. package/dist/{index-D_Tmm1qL.js → index-DAruvcri.js} +2 -2
  26. package/dist/{menu.dto-BY9dVf93.js → menu.dto-B82ITnH5.js} +54755 -57698
  27. package/dist/package/entity/booking/booking.do.d.ts +168 -2368
  28. package/dist/package/entity/delivery/delivery.dto.d.ts +33 -473
  29. package/dist/package/entity/food-court/food-court.dto.d.ts +44 -44
  30. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +23 -0
  31. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +450 -60
  32. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +680 -628
  33. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +2 -2
  34. package/dist/package/entity/index.d.ts +2 -0
  35. package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -0
  36. package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -0
  37. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +201 -2031
  38. package/dist/package/entity/order/order-item/order-item.dto.d.ts +129 -16
  39. package/dist/package/entity/order/order.do.d.ts +8 -0
  40. package/dist/package/entity/order/order.dto.d.ts +390 -974
  41. package/dist/package/entity/order/order.enum.d.ts +2 -0
  42. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +367 -18
  43. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +48 -8
  44. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1 -0
  45. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +33 -473
  46. package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +672 -0
  47. package/dist/package/entity/order-platform/grabfood/grabfood-omni.dto.d.ts +9 -0
  48. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +90 -508
  49. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
  50. package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +1130 -0
  51. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +34 -47
  52. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +8 -2
  53. package/dist/package/entity/order-platform/menu.dto.d.ts +46 -12
  54. package/dist/package/entity/order-platform/order-platform.dto.d.ts +8 -5
  55. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -473
  56. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
  57. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
  58. package/dist/package/entity/order-setting/customization/color.do.d.ts +3 -0
  59. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +18 -18
  60. package/dist/package/entity/order-setting/order-setting.do.d.ts +77 -88
  61. package/dist/package/entity/order-setting/order-setting.dto.d.ts +724 -1036
  62. package/dist/package/entity/order-setting/queue/queue.do.d.ts +22 -0
  63. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +12 -0
  64. package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +4 -51
  65. package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +248 -585
  66. package/dist/package/entity/pubsub/ably/ably.enum.d.ts +10 -1
  67. package/dist/package/entity/queue/queue.dto.d.ts +76 -14
  68. package/dist/package/entity/restaurant/restaurant.dto.d.ts +41 -26
  69. package/dist/package/entity/websocket/websocket.dto.d.ts +22 -22
  70. package/package.json +3 -3
  71. package/src/api/remoteOrder/index.ts +13 -2
  72. package/src/api/restaurant-setting/index.ts +6 -0
  73. package/src/locales/en-US.json +24 -0
  74. package/src/locales/th-TH.json +24 -0
  75. package/src/locales/zh-CN.json +24 -0
  76. package/src/modules/kiosk/interface.ts +1 -0
  77. package/src/stores/kiosk/mapper.ts +1 -0
  78. package/src/stores/order-setting/mapper.ts +20 -33
  79. package/src/stores/restaurant/index.ts +7 -3
  80. package/src/views/all-orders/FilterStatus.vue +1 -1
  81. package/src/views/kiosk/devices/KioskDeviceCard.vue +6 -0
  82. package/src/views/order-settings/OrderSettingsView.vue +13 -5
  83. package/src/views/order-settings/delivery/delivery.data.ts +7 -4
  84. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -2
  85. package/src/views/order-settings/dine-in/DineInSetting.vue +18 -2
  86. package/src/views/order-settings/general/GeneralSetting.vue +2 -2
  87. package/src/views/order-settings/queue/PresetRemarksSheet.vue +103 -0
  88. package/src/views/order-settings/queue/QueueSetting.vue +358 -0
  89. package/dist/KioskView-KNiT-upH.js +0 -453
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-taf41a-7.js";
1
+ import { _ as f } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-D-epeOIx.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,28 +1,28 @@
1
- import { defineComponent as T, ref as f, resolveComponent as b, createElementBlock as r, openBlock as a, createElementVNode as n, createVNode as v, toDisplayString as d, unref as y, computed as h, withCtx as M, Fragment as V, renderList as N, createCommentVNode as I, createBlock as S } from "vue";
1
+ import { defineComponent as S, ref as f, resolveComponent as b, createElementBlock as d, openBlock as l, createElementVNode as n, createVNode as v, toDisplayString as r, unref as y, computed as h, withCtx as M, Fragment as V, renderList as T, createCommentVNode as x, createBlock as N } from "vue";
2
2
  import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
3
3
  import { useI18n as K } from "@feedmepos/mf-common";
4
4
  import { defineStore as X } from "pinia";
5
- import { r as D, g as U, D as Z } from "./dayjs.min-D9bsUd57.js";
6
- import "./menu.dto-BY9dVf93.js";
7
- const ee = /* @__PURE__ */ T({
5
+ import { r as D, g as U, D as Z } from "./dayjs.min-D-vfvSns.js";
6
+ import "./menu.dto-B82ITnH5.js";
7
+ const ee = /* @__PURE__ */ S({
8
8
  __name: "KioskUnbindConfirm",
9
9
  props: {
10
10
  machineId: {}
11
11
  },
12
12
  emits: ["update:modelValue"],
13
13
  setup(e, { emit: t }) {
14
- const { t: l } = K(), u = t, m = f("");
15
- function o(s) {
16
- u("update:modelValue", s);
14
+ const { t: c } = K(), u = t, m = f("");
15
+ function s(i) {
16
+ u("update:modelValue", i);
17
17
  }
18
- return (s, k) => {
18
+ return (i, k) => {
19
19
  const w = b("FmTextField");
20
- return a(), r("div", null, [
21
- n("span", null, d(y(l)("order.unbindKioskDeviceWarning", { machineId: s.machineId })), 1),
20
+ return l(), d("div", null, [
21
+ n("span", null, r(y(c)("order.unbindKioskDeviceWarning", { machineId: i.machineId })), 1),
22
22
  v(w, {
23
23
  "model-value": m.value,
24
- "onUpdate:modelValue": o,
25
- placeholder: s.machineId
24
+ "onUpdate:modelValue": s,
25
+ placeholder: i.machineId
26
26
  }, null, 8, ["model-value", "placeholder"])
27
27
  ]);
28
28
  };
@@ -42,7 +42,7 @@ async function oe(e) {
42
42
  async function se(e, t) {
43
43
  await D().put(`/kiosk/updateDevicePin/${t}`, { pinInfo: e });
44
44
  }
45
- const x = {
45
+ const I = {
46
46
  requestOtp: ne,
47
47
  getDevices: te,
48
48
  unbind: oe,
@@ -59,11 +59,12 @@ const x = {
59
59
  deviceAppType: e.deviceAppType ?? void 0,
60
60
  slotInfo: e.slotInfo ?? void 0,
61
61
  pinInfo: e.pinInfo ?? void 0,
62
- deviceAppVersion: e.deviceAppVersion ?? void 0
62
+ deviceAppVersion: e.deviceAppVersion ?? void 0,
63
+ deviceAppOTAVersion: e.deviceAppOTAVersion ?? void 0
63
64
  });
64
65
  function ae(e) {
65
- const t = e.substring(0, 8), l = parseInt(t, 16);
66
- return new Date(l * 1e3);
66
+ const t = e.substring(0, 8), c = parseInt(t, 16);
67
+ return new Date(c * 1e3);
67
68
  }
68
69
  const le = {
69
70
  toMfKioskDevice: ie
@@ -73,50 +74,50 @@ const le = {
73
74
  devices: []
74
75
  });
75
76
  async function t() {
76
- const o = await x.requestOtp();
77
- e.value.otp = o.otp;
77
+ const s = await I.requestOtp();
78
+ e.value.otp = s.otp;
78
79
  }
79
- async function l() {
80
- const o = await x.getDevices();
81
- e.value.devices = o.map((s) => le.toMfKioskDevice(s));
80
+ async function c() {
81
+ const s = await I.getDevices();
82
+ e.value.devices = s.map((i) => le.toMfKioskDevice(i));
82
83
  }
83
- async function u(o) {
84
- await x.unbind(o), await l();
84
+ async function u(s) {
85
+ await I.unbind(s), await c();
85
86
  }
86
- async function m(o, s) {
87
- await x.updateDevicePin(o, s);
87
+ async function m(s, i) {
88
+ await I.updateDevicePin(s, i);
88
89
  }
89
90
  return {
90
91
  state: e.value,
91
92
  requestOtp: t,
92
- getDevices: l,
93
+ getDevices: c,
93
94
  unbind: u,
94
95
  updateDevicePin: m
95
96
  };
96
97
  }), re = { class: "border fm-corner-radius-lg flex justify-between pr-[1rem] w-11/12" }, de = {
97
98
  key: 0,
98
99
  class: "py-[1rem] flex flex-col gap-6"
99
- }, pe = { class: "fm-typo-en-title-sm-600" }, ue = { class: "w-full border p-[1.5rem] fm-corner-radius-lg flex flex-col gap-2" }, me = { class: "flex flex-col gap-1 mb-2" }, fe = { class: "fm-typo-en-body-lg-600 block" }, ve = { class: "flex flex-col gap-1 mb-2" }, ye = { class: "fm-typo-en-body-lg-600 block" }, _e = { class: "flex flex-col gap-1 mb-2" }, be = { class: "fm-typo-en-body-lg-600 block" }, ke = { class: "w-full border p-[1.5rem] fm-corner-radius-lg flex flex-col gap-2" }, ge = {
100
+ }, pe = { class: "fm-typo-en-title-sm-600" }, ue = { class: "w-full border p-[1.5rem] fm-corner-radius-lg flex flex-col gap-2" }, me = { class: "flex flex-col gap-1 mb-2" }, fe = { class: "fm-typo-en-body-lg-600 block" }, ve = { class: "flex flex-col gap-1 mb-2" }, ye = { class: "fm-typo-en-body-lg-600 block" }, _e = { class: "flex flex-col gap-1 mb-2" }, be = { class: "fm-typo-en-body-lg-600 block" }, ke = { class: "flex flex-col gap-1 mb-2" }, ge = { class: "fm-typo-en-body-lg-600 block" }, he = { class: "w-full border p-[1.5rem] fm-corner-radius-lg flex flex-col gap-2" }, xe = {
100
101
  key: 0,
101
102
  class: "fm-typo-en-title-sm-600"
102
- }, he = { class: "flex flex-col gap-1" }, Ie = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, xe = { class: "fm-typo-en-body-lg-600 block" }, De = { key: 1 }, we = { class: "py-[1rem] flex flex-col gap-6 text-center items-center" }, Pe = { class: "flex flex-col gap-1 mb-2" }, Ae = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Fe = { class: "mt-5 block" }, Ce = /* @__PURE__ */ T({
103
+ }, Ie = { class: "flex flex-col gap-1" }, De = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 block" }, Ae = { key: 1 }, Pe = { class: "py-[1rem] flex flex-col gap-6 text-center items-center" }, Fe = { class: "flex flex-col gap-1 mb-2" }, Ce = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ve = { class: "mt-5 block" }, Te = /* @__PURE__ */ S({
103
104
  __name: "KioskDeviceCard",
104
105
  props: {
105
106
  device: {}
106
107
  },
107
108
  setup(e) {
108
- const { t } = K(), l = J(), u = Q(), m = ce(), o = f(!1), s = e, k = f(""), w = h(() => Object.entries(s.device.config)), E = h(() => {
109
- var i;
110
- return ((i = s.device) == null ? void 0 : i.deviceAppType) === "TABLET_APP" ? "Tablet App" : "Kiosk App";
109
+ const { t } = K(), c = J(), u = Q(), m = ce(), s = f(!1), i = e, k = f(""), w = h(() => Object.entries(i.device.config)), E = h(() => {
110
+ var o;
111
+ return ((o = i.device) == null ? void 0 : o.deviceAppType) === "TABLET_APP" ? "Tablet App" : "Kiosk App";
111
112
  });
112
113
  function q() {
113
- k.value = "", l.open({
114
+ k.value = "", c.open({
114
115
  title: t("order.unbindKioskDevice"),
115
116
  contentComponent: ee,
116
117
  contentComponentProps: {
117
- machineId: s.device.machineId,
118
- "onUpdate:modelValue": (i) => {
119
- k.value = i;
118
+ machineId: i.device.machineId,
119
+ "onUpdate:modelValue": (o) => {
120
+ k.value = o;
120
121
  }
121
122
  },
122
123
  dismissAway: !1,
@@ -131,11 +132,11 @@ const le = {
131
132
  close: !0
132
133
  }
133
134
  }).onPrimary(async () => {
134
- k.value == s.device.machineId ? (await R(), u.open({
135
+ k.value == i.device.machineId ? (await R(), u.open({
135
136
  type: "success",
136
137
  message: t("order.unbindSuccess"),
137
138
  position: "bottom"
138
- }), l.close()) : u.open({
139
+ }), c.close()) : u.open({
139
140
  type: "warning",
140
141
  message: t("order.unbindWarning"),
141
142
  position: "bottom"
@@ -143,20 +144,20 @@ const le = {
143
144
  });
144
145
  }
145
146
  const Y = h(() => {
146
- var i;
147
- return (i = s.device) == null ? void 0 : i.pinInfo;
148
- }), L = h(() => _.value ? "Re-enter new PIN" : "Enter new PIN"), _ = f(!1), g = f(), P = f();
147
+ var o;
148
+ return (o = i.device) == null ? void 0 : o.pinInfo;
149
+ }), L = h(() => _.value ? "Re-enter new PIN" : "Enter new PIN"), _ = f(!1), g = f(), A = f();
149
150
  function j() {
150
- o.value = !0;
151
+ s.value = !0;
151
152
  }
152
- function A() {
153
- _.value = !1, g.value = null, P.value = null, o.value = !1;
153
+ function P() {
154
+ _.value = !1, g.value = null, A.value = null, s.value = !1;
154
155
  }
155
- function $(i) {
156
- _.value ? (P.value = i, W()) : (g.value = i, _.value = !0);
156
+ function O(o) {
157
+ _.value ? (A.value = o, W()) : (g.value = o, _.value = !0);
157
158
  }
158
159
  async function W() {
159
- g.value === P.value ? (await H(), u.open({
160
+ g.value === A.value ? (await H(), u.open({
160
161
  type: "success",
161
162
  message: "Successfuly update device PIN",
162
163
  position: "top"
@@ -164,87 +165,91 @@ const le = {
164
165
  type: "error",
165
166
  message: "Entered PIN not the same, please try again",
166
167
  position: "top"
167
- }), A();
168
+ }), P();
168
169
  }
169
170
  async function H() {
170
- await m.updateDevicePin(g.value, s.device.machineId);
171
+ await m.updateDevicePin(g.value, i.device.machineId);
171
172
  }
172
173
  async function R() {
173
- await m.unbind(s.device.machineId);
174
+ await m.unbind(i.device.machineId);
174
175
  }
175
- return (i, c) => {
176
- const z = b("FmListItem"), F = b("FmButton"), B = b("FmPinField"), G = b("FmSideSheet");
177
- return a(), r("div", re, [
176
+ return (o, a) => {
177
+ const z = b("FmListItem"), F = b("FmButton"), $ = b("FmPinField"), G = b("FmSideSheet");
178
+ return l(), d("div", re, [
178
179
  v(G, {
179
180
  header: y(t)("order.deviceDetails"),
180
181
  "dismiss-away": "",
181
182
  class: "w-full",
182
183
  maxWidth: 700,
183
- "onOn:clickedAway": A
184
+ "onOn:clickedAway": P
184
185
  }, {
185
186
  "side-sheet-button": M(() => [
186
187
  v(z, {
187
188
  class: "flex-1",
188
- label: i.device.name,
189
- sublabel: `${y(t)("order.activatedDate")}: ${y(Z)(i.device.activatedAt).format("DD MMM YYYY HH:mm")}`
189
+ label: o.device.name,
190
+ sublabel: `${y(t)("order.activatedDate")}: ${y(Z)(o.device.activatedAt).format("DD MMM YYYY HH:mm")}`
190
191
  }, null, 8, ["label", "sublabel"])
191
192
  ]),
192
193
  default: M(() => {
193
- var O;
194
+ var B;
194
195
  return [
195
- o.value ? (a(), r("div", De, [
196
- n("div", we, [
197
- n("div", Pe, [
198
- n("span", Ae, d(L.value), 1),
199
- n("span", Fe, [
200
- _.value ? I("", !0) : (a(), S(B, {
196
+ s.value ? (l(), d("div", Ae, [
197
+ n("div", Pe, [
198
+ n("div", Fe, [
199
+ n("span", Ce, r(L.value), 1),
200
+ n("span", Ve, [
201
+ _.value ? x("", !0) : (l(), N($, {
201
202
  key: 0,
202
203
  length: 4,
203
- onComplete: c[0] || (c[0] = (p) => $(p))
204
+ onComplete: a[0] || (a[0] = (p) => O(p))
204
205
  })),
205
- _.value ? (a(), S(B, {
206
+ _.value ? (l(), N($, {
206
207
  key: 1,
207
208
  length: 4,
208
- onComplete: c[1] || (c[1] = (p) => $(p))
209
- })) : I("", !0)
209
+ onComplete: a[1] || (a[1] = (p) => O(p))
210
+ })) : x("", !0)
210
211
  ])
211
212
  ]),
212
213
  v(F, {
213
214
  class: "w-1/3",
214
215
  variant: "secondary",
215
216
  label: "Cancel reset PIN",
216
- onClick: A
217
+ onClick: P
217
218
  })
218
219
  ])
219
- ])) : (a(), r("div", de, [
220
- n("span", pe, d(i.device.name), 1),
220
+ ])) : (l(), d("div", de, [
221
+ n("span", pe, r(o.device.name), 1),
221
222
  n("div", ue, [
222
- c[5] || (c[5] = n("span", { class: "fm-typo-en-title-sm-600 mb-3" }, "App Info", -1)),
223
+ a[6] || (a[6] = n("span", { class: "fm-typo-en-title-sm-600 mb-3" }, "App Info", -1)),
223
224
  n("div", me, [
224
- c[2] || (c[2] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "Type", -1)),
225
- n("span", fe, d(E.value), 1)
225
+ a[2] || (a[2] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "Type", -1)),
226
+ n("span", fe, r(E.value), 1)
226
227
  ]),
227
228
  n("div", ve, [
228
- c[3] || (c[3] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "Version", -1)),
229
- n("span", ye, d(i.device.deviceAppVersion ?? "Below 0.0.42"), 1)
229
+ a[3] || (a[3] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "Version", -1)),
230
+ n("span", ye, r(o.device.deviceAppVersion ?? "Below 0.0.42"), 1)
230
231
  ]),
231
232
  n("div", _e, [
232
- c[4] || (c[4] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "PIN Code", -1)),
233
- n("span", be, d(Y.value ? "Yes" : "No"), 1)
233
+ a[4] || (a[4] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "OTA Version", -1)),
234
+ n("span", be, r(o.device.deviceAppOTAVersion ?? "Not available"), 1)
235
+ ]),
236
+ n("div", ke, [
237
+ a[5] || (a[5] = n("span", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, "PIN Code", -1)),
238
+ n("span", ge, r(Y.value ? "Yes" : "No"), 1)
234
239
  ]),
235
240
  v(F, {
236
241
  class: "w-auto",
237
242
  variant: "primary",
238
- label: (O = i.device) != null && O.pinInfo ? "Reset Device PIN" : "Set Device PIN",
243
+ label: (B = o.device) != null && B.pinInfo ? "Reset Device PIN" : "Set Device PIN",
239
244
  onClick: j
240
245
  }, null, 8, ["label"])
241
246
  ]),
242
- (a(!0), r(V, null, N(w.value.filter((p) => p[1]), (p) => (a(), r("div", ke, [
243
- p[1] ? (a(), r("span", ge, d(p[0]), 1)) : I("", !0),
244
- p[1] ? (a(!0), r(V, { key: 1 }, N(Object.entries(p[1]), (C) => (a(), r("div", he, [
245
- n("span", Ie, d(C[0]), 1),
246
- n("span", xe, d(C[1] == "" ? "-" : C[1]), 1)
247
- ]))), 256)) : I("", !0)
247
+ (l(!0), d(V, null, T(w.value.filter((p) => p[1]), (p) => (l(), d("div", he, [
248
+ p[1] ? (l(), d("span", xe, r(p[0]), 1)) : x("", !0),
249
+ p[1] ? (l(!0), d(V, { key: 1 }, T(Object.entries(p[1]), (C) => (l(), d("div", Ie, [
250
+ n("span", De, r(C[0]), 1),
251
+ n("span", we, r(C[1] == "" ? "-" : C[1]), 1)
252
+ ]))), 256)) : x("", !0)
248
253
  ]))), 256))
249
254
  ]))
250
255
  ];
@@ -260,7 +265,7 @@ const le = {
260
265
  ]);
261
266
  };
262
267
  }
263
- }), Ve = { class: "flex flex-col gap-2" }, Ne = { class: "flex flex-col gap-2" }, Se = { class: "fm-typo-en-title-sm-600 block" }, Te = { class: "fm-typo-en-body-md-400 block" }, Ke = { class: "flex flex-col gap-6" }, qe = /* @__PURE__ */ T({
268
+ }), Ne = { class: "flex flex-col gap-2" }, Se = { class: "flex flex-col gap-2" }, Ke = { class: "fm-typo-en-title-sm-600 block" }, Oe = { class: "fm-typo-en-body-md-400 block" }, $e = { class: "flex flex-col gap-6" }, Le = /* @__PURE__ */ S({
264
269
  __name: "KioskDevicesView",
265
270
  props: {
266
271
  devices: {},
@@ -268,18 +273,18 @@ const le = {
268
273
  },
269
274
  setup(e) {
270
275
  const { t } = K();
271
- return (l, u) => {
276
+ return (c, u) => {
272
277
  const m = b("FmButton");
273
- return a(), r("div", null, [
274
- n("div", Ve, [
275
- n("div", Ne, [
276
- n("span", Se, d(y(t)("order.kioskDisplay")), 1),
277
- n("span", Te, d(y(t)("order.kioskDisplayDescription")), 1)
278
+ return l(), d("div", null, [
279
+ n("div", Ne, [
280
+ n("div", Se, [
281
+ n("span", Ke, r(y(t)("order.kioskDisplay")), 1),
282
+ n("span", Oe, r(y(t)("order.kioskDisplayDescription")), 1)
278
283
  ]),
279
- n("div", Ke, [
280
- (a(!0), r(V, null, N(l.devices, (o) => (a(), S(Ce, {
281
- key: o.machineId,
282
- device: o
284
+ n("div", $e, [
285
+ (l(!0), d(V, null, T(c.devices, (s) => (l(), N(Te, {
286
+ key: s.machineId,
287
+ device: s
283
288
  }, null, 8, ["device"]))), 128)),
284
289
  v(m, {
285
290
  variant: "plain",
@@ -287,7 +292,7 @@ const le = {
287
292
  label: y(t)("order.bindDevice"),
288
293
  size: "md",
289
294
  "prepend-icon": "link",
290
- onClick: l.requestOtp
295
+ onClick: c.requestOtp
291
296
  }, null, 8, ["label", "onClick"])
292
297
  ])
293
298
  ])
@@ -296,6 +301,6 @@ const le = {
296
301
  }
297
302
  });
298
303
  export {
299
- qe as _,
304
+ Le as _,
300
305
  ce as u
301
306
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as H, computed as h, ref as C, onMounted as le, resolveComponent as _, createElementBlock as I, openBlock as T, Fragment as q, createVNode as u, createElementVNode as s, createCommentVNode as M, unref as a, withCtx as A, createTextVNode as ae, toDisplayString as b, renderList as z, withDirectives as R, vShow as U } from "vue";
2
- import { F as w, c as r } from "./menu.dto-BY9dVf93.js";
2
+ import { F as w, c as r } from "./menu.dto-B82ITnH5.js";
3
3
  import { _ as ne, u as te } from "./index-BXsnV_eO.js";
4
4
  import { useI18n as J } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as oe } from "@feedmepos/ui-library";