@feedmepos/mf-order-setting 0.0.49 → 0.0.51

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 (64) hide show
  1. package/dist/{KioskDevicesView-Ch_mWJz9.js → KioskDevicesView-TIls1ag1.js} +1 -1
  2. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-B2gjPfOJ.js +501 -0
  3. package/dist/KioskSettingView-UPE-q-Zd.js +573 -0
  4. package/dist/KioskView-B0Jj2sOl.js +477 -0
  5. package/dist/{OrderSettingsView-CRgoLOD2.js → OrderSettingsView-Ca4y2PNF.js} +4 -4
  6. package/dist/{app-CDTAjXj9.js → app-JqOEacuf.js} +75 -19
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-dI_j30pv.js → dayjs.min-B42nUieJ.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +56 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +56 -0
  11. package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
  12. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
  13. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
  14. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
  15. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +6 -3
  16. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -2
  17. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  18. package/dist/{index-B8U5Sawr.js → index-B0teNm7_.js} +2 -2
  19. package/dist/{menu.dto-qVeqpSdz.js → menu.dto-DFTxveX1.js} +6355 -6287
  20. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +119 -12
  21. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +124 -6
  22. package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
  23. package/dist/package/entity/kiosk/kiosk.dto.d.ts +44 -0
  24. package/dist/package/entity/order/order-item/order-item.dto.d.ts +30 -0
  25. package/dist/package/entity/order/order.do.d.ts +8 -0
  26. package/dist/package/entity/order/order.dto.d.ts +118 -0
  27. package/dist/package/entity/order/order.enum.d.ts +2 -0
  28. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +20 -0
  29. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +23 -0
  30. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +62 -0
  31. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +178 -0
  32. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +15 -0
  33. package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +1834 -15
  34. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +13 -13
  35. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
  36. package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +528 -805
  37. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +8 -5
  38. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
  39. package/dist/package/entity/order-platform/menu.dto.d.ts +34 -0
  40. package/dist/package/entity/order-platform/order-platform.dto.d.ts +0 -20
  41. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
  42. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -0
  43. package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
  44. package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
  45. package/dist/package/entity/queue/queue.dto.d.ts +45 -0
  46. package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
  47. package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
  48. package/package.json +1 -1
  49. package/src/locales/en-US.json +15 -1
  50. package/src/locales/ja-JP.json +23 -9
  51. package/src/locales/th-TH.json +15 -1
  52. package/src/locales/zh-CN.json +15 -1
  53. package/src/modules/kiosk/interface.ts +1 -0
  54. package/src/modules/order-setting/kiosk/interface.ts +15 -13
  55. package/src/stores/kiosk/mapper.ts +1 -0
  56. package/src/stores/order-setting/mapper.ts +16 -13
  57. package/src/views/kiosk/KioskSummary.vue +37 -31
  58. package/src/views/kiosk/KioskView.vue +4 -1
  59. package/src/views/kiosk/devices/KioskDeviceCard.vue +205 -89
  60. package/src/views/kiosk/devices/KioskDevicesView.vue +133 -17
  61. package/src/views/kiosk/settings/KioskSettingView.vue +43 -23
  62. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DV2HYd8u.js +0 -306
  63. package/dist/KioskSettingView-CaBhf48e.js +0 -553
  64. package/dist/KioskView-BGm-emCw.js +0 -452
@@ -96,6 +96,8 @@ const D = {
96
96
  deliveryZone: "Delivery Zone",
97
97
  deviceBinding: "Device Binding",
98
98
  deviceDetails: "Device Details",
99
+ otaChannel: "OTA channel",
100
+ otaChannelHint: "Optional. Leave blank to use the default OTA feed.",
99
101
  dineIn: "Dine In",
100
102
  dineInCanTakeaway: "Allow Takeaway",
101
103
  driveThru: "Drive Thru",
@@ -299,6 +301,18 @@ const D = {
299
301
  unbindKioskDeviceWarning: "Are you sure want to unbind device? If yes, please enter {machineId} inside the textfield",
300
302
  unbindSuccess: "Kiosk display successfully unbinded.",
301
303
  unbindWarning: "Please enter the machine ID to confirm unbind.",
304
+ searchDevices: "Search by slot, machine ID, or name...",
305
+ allTypes: "All Types",
306
+ tabletOnly: "Tablet Only",
307
+ kioskOnly: "Kiosk Only",
308
+ showingDevices: "Showing {count} of {total}",
309
+ noDevicesMatch: "No devices match your search criteria.",
310
+ noDevicesBound: 'No devices bound yet. Click "Bind device" to add one.',
311
+ clickToCopy: "Click to copy",
312
+ machineIdCopied: "Machine ID copied to clipboard",
313
+ copyFailed: "Failed to copy to clipboard",
314
+ pinSet: "PIN Set",
315
+ noPin: "No PIN",
302
316
  unknown: "Unknown",
303
317
  update: "Update",
304
318
  updatedAt: "Updated at",
@@ -342,9 +356,9 @@ const D = {
342
356
  promotion: "Promotion",
343
357
  voucher: "Voucher"
344
358
  }
345
- }, x = {
346
- order: D
347
359
  }, C = {
360
+ order: D
361
+ }, x = {
348
362
  accept: "接受",
349
363
  acceptedPayment: "可接受付款方式",
350
364
  acceptQueue: "接受队列",
@@ -441,6 +455,8 @@ const D = {
441
455
  deliveryZone: "配送区域",
442
456
  deviceBinding: "设备绑定",
443
457
  deviceDetails: "设备详情",
458
+ otaChannel: "OTA 渠道",
459
+ otaChannelHint: "可选。留空将使用默认的 OTA 源。",
444
460
  dineIn: "堂食",
445
461
  dineInCanTakeaway: "允许外带",
446
462
  driveThru: "得来速",
@@ -645,6 +661,18 @@ const D = {
645
661
  unbindKioskDeviceWarning: "你确定要解除绑定设备吗?如果是,请在文本框中输入{machineId}",
646
662
  unbindSuccess: "自助点餐设备成功解除绑定",
647
663
  unbindWarning: "请输入设备ID以确认解除绑定",
664
+ searchDevices: "按槽位、设备ID或名称搜索...",
665
+ allTypes: "全部类型",
666
+ tabletOnly: "仅平板",
667
+ kioskOnly: "仅自助终端",
668
+ showingDevices: "显示 {count} / {total}",
669
+ noDevicesMatch: "没有设备符合您的搜索条件",
670
+ noDevicesBound: '尚未绑定任何设备。点击"绑定设备"添加。',
671
+ clickToCopy: "点击复制",
672
+ machineIdCopied: "设备ID已复制到剪贴板",
673
+ copyFailed: "复制到剪贴板失败",
674
+ pinSet: "已设置PIN",
675
+ noPin: "无PIN",
648
676
  unknown: "未知",
649
677
  update: "更新",
650
678
  updatedAt: "更新于",
@@ -690,7 +718,7 @@ const D = {
690
718
  voucher: "代金券"
691
719
  }
692
720
  }, _ = {
693
- order: C
721
+ order: x
694
722
  }, T = {
695
723
  accept: "ยอมรับ",
696
724
  acceptedPayment: "ยอมรับการชำระเงิน",
@@ -787,6 +815,8 @@ const D = {
787
815
  deliveryZone: "โซนการจัดส่ง",
788
816
  deviceBinding: "การผูกอุปกรณ์",
789
817
  deviceDetails: "รายละเอียดอุปกรณ์",
818
+ otaChannel: "ช่อง OTA",
819
+ otaChannelHint: "ไม่บังคับ เว้นว่างเพื่อใช้ฟีด OTA เริ่มต้น",
790
820
  dineIn: "รับประทานอาหารที่ร้าน",
791
821
  dineInCanTakeaway: "อนุญาตให้นำกลับบ้าน",
792
822
  driveThru: "ไดรฟ์ทรู",
@@ -985,6 +1015,18 @@ const D = {
985
1015
  unbindKioskDeviceWarning: "คุณแน่ใจว่าต้องการยกเลิกการเชื่อมโยงอุปกรณ์หรือไม่ หากใช่ โปรดป้อน {machineId} ในช่องข้อความ",
986
1016
  unbindSuccess: "ยกเลิกการเชื่อมโยงจอแสดงผล Kiosk สำเร็จแล้ว",
987
1017
  unbindWarning: "โปรดป้อน ID เครื่องเพื่อยืนยันการยกเลิกการเชื่อมโยง",
1018
+ searchDevices: "ค้นหาตามสล็อต, ID เครื่อง หรือชื่อ...",
1019
+ allTypes: "ทุกประเภท",
1020
+ tabletOnly: "แท็บเล็ตเท่านั้น",
1021
+ kioskOnly: "คีออสก์เท่านั้น",
1022
+ showingDevices: "แสดง {count} จาก {total}",
1023
+ noDevicesMatch: "ไม่มีอุปกรณ์ตรงกับเกณฑ์การค้นหาของคุณ",
1024
+ noDevicesBound: 'ยังไม่มีอุปกรณ์ที่ผูกไว้ คลิก "ผูกอุปกรณ์" เพื่อเพิ่ม',
1025
+ clickToCopy: "คลิกเพื่อคัดลอก",
1026
+ machineIdCopied: "คัดลอก ID เครื่องไปยังคลิปบอร์ดแล้ว",
1027
+ copyFailed: "ไม่สามารถคัดลอกไปยังคลิปบอร์ด",
1028
+ pinSet: "ตั้ง PIN แล้ว",
1029
+ noPin: "ไม่มี PIN",
988
1030
  unknown: "ไม่ทราบ",
989
1031
  update: "อัปเดต",
990
1032
  updatedAt: "อัปเดตเมื่อ",
@@ -1030,7 +1072,7 @@ const D = {
1030
1072
  }
1031
1073
  }, A = {
1032
1074
  order: T
1033
- }, R = {
1075
+ }, I = {
1034
1076
  accept: "受け入れる",
1035
1077
  acceptedPayment: "受け付けた支払い",
1036
1078
  acceptQueue: "待ち行列を受け付ける",
@@ -1126,6 +1168,8 @@ const D = {
1126
1168
  deliveryZone: "配達エリア",
1127
1169
  deviceBinding: "デバイス紐付け",
1128
1170
  deviceDetails: "デバイス詳細",
1171
+ otaChannel: "OTAチャネル",
1172
+ otaChannelHint: "任意。空欄の場合はデフォルトのOTAフィードを使用します。",
1129
1173
  dineIn: "店内飲食",
1130
1174
  dineInCanTakeaway: "テイクアウト許可",
1131
1175
  driveThru: "ドライブスルー",
@@ -1324,6 +1368,18 @@ const D = {
1324
1368
  unbindKioskDeviceWarning: "デバイスの紐付けを解除してもよろしいですか?解除する場合は、テキストフィールドに{machineId}を入力してください",
1325
1369
  unbindSuccess: "キオスクディスプレイの紐付けが正常に解除されました。",
1326
1370
  unbindWarning: "紐付け解除を確認するには、マシンIDを入力してください。",
1371
+ searchDevices: "スロット、マシンID、名前で検索...",
1372
+ allTypes: "すべてのタイプ",
1373
+ tabletOnly: "タブレットのみ",
1374
+ kioskOnly: "キオスクのみ",
1375
+ showingDevices: "{count} / {total} 件表示",
1376
+ noDevicesMatch: "検索条件に一致するデバイスはありません",
1377
+ noDevicesBound: "まだデバイスがバインドされていません。「デバイスをバインド」をクリックして追加してください。",
1378
+ clickToCopy: "クリックしてコピー",
1379
+ machineIdCopied: "マシンIDをクリップボードにコピーしました",
1380
+ copyFailed: "クリップボードへのコピーに失敗しました",
1381
+ pinSet: "PIN設定済み",
1382
+ noPin: "PINなし",
1327
1383
  unknown: "不明",
1328
1384
  update: "更新",
1329
1385
  updatedAt: "更新日時",
@@ -1367,7 +1423,7 @@ const D = {
1367
1423
  promotion: "プロモーション",
1368
1424
  voucher: "バウチャー"
1369
1425
  }
1370
- }, w = {
1426
+ }, O = {
1371
1427
  title: "メニュー",
1372
1428
  common: {
1373
1429
  actions: {
@@ -2781,11 +2837,11 @@ const D = {
2781
2837
  tax_setting: {
2782
2838
  title: "税金設定"
2783
2839
  }
2784
- }, I = {
2785
- order: R,
2786
- menu: w
2840
+ }, w = {
2841
+ order: I,
2842
+ menu: O
2787
2843
  }, m = v(null), g = () => m.value;
2788
- function O(t) {
2844
+ function R(t) {
2789
2845
  m.value || (m.value = t);
2790
2846
  }
2791
2847
  const U = Object.freeze({
@@ -2874,7 +2930,7 @@ const E = { class: "flex-1 overflow-auto" }, H = /* @__PURE__ */ b({
2874
2930
  const a = await new c(M.googleMap, {
2875
2931
  libraries: ["places"]
2876
2932
  }).load();
2877
- O(a);
2933
+ R(a);
2878
2934
  }
2879
2935
  return S(async () => {
2880
2936
  await i();
@@ -2885,37 +2941,37 @@ const E = { class: "flex-1 overflow-auto" }, H = /* @__PURE__ */ b({
2885
2941
  ]);
2886
2942
  };
2887
2943
  }
2888
- }), F = "/kiosk", N = "/kiosk/device", L = "/kiosk/order-setting", q = "/order-settings", u = {
2889
- KioskRoute: F,
2890
- KioskDeviceRoute: N,
2944
+ }), N = "/kiosk", F = "/kiosk/device", L = "/kiosk/order-setting", q = "/order-settings", u = {
2945
+ KioskRoute: N,
2946
+ KioskDeviceRoute: F,
2891
2947
  KioskOrderSettingRoute: L,
2892
2948
  OrderSettingView: q
2893
2949
  }, G = [
2894
2950
  {
2895
2951
  path: u.KioskRoute,
2896
2952
  name: "Kiosk",
2897
- component: () => import("./KioskView-BGm-emCw.js")
2953
+ component: () => import("./KioskView-B0Jj2sOl.js")
2898
2954
  },
2899
2955
  {
2900
2956
  path: u.KioskDeviceRoute,
2901
2957
  name: "Kiosk Device",
2902
- component: () => import("./KioskDevicesView-Ch_mWJz9.js")
2958
+ component: () => import("./KioskDevicesView-TIls1ag1.js")
2903
2959
  },
2904
2960
  {
2905
2961
  path: u.KioskOrderSettingRoute,
2906
2962
  name: "Kiosk Order Setting",
2907
- component: () => import("./KioskSettingView-CaBhf48e.js")
2963
+ component: () => import("./KioskSettingView-UPE-q-Zd.js")
2908
2964
  },
2909
2965
  {
2910
2966
  path: u.OrderSettingView,
2911
2967
  name: "Order Setting View",
2912
- component: () => import("./OrderSettingsView-CRgoLOD2.js")
2968
+ component: () => import("./OrderSettingsView-Ca4y2PNF.js")
2913
2969
  }
2914
2970
  ], j = {
2915
- "en-US": x,
2971
+ "en-US": C,
2916
2972
  "zh-CN": _,
2917
2973
  "th-TH": A,
2918
- "ja-JP": I
2974
+ "ja-JP": w
2919
2975
  };
2920
2976
  export {
2921
2977
  H as _,
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, i as e, r as o } from "./app-CDTAjXj9.js";
1
+ import { _ as a, i as e, r as o } from "./app-JqOEacuf.js";
2
2
  export {
3
3
  a as FmApp,
4
4
  e as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as nt, v as kt, j as Dt } from "./menu.dto-qVeqpSdz.js";
1
+ import { j as nt, g as kt, c as Dt } from "./menu.dto-DFTxveX1.js";
2
2
  import { useCoreStore as Z } from "@feedmepos/mf-common";
3
3
  function rt(e, t) {
4
4
  return function() {
@@ -98,6 +98,8 @@ export declare const i18nMessages: {
98
98
  deliveryZone: string;
99
99
  deviceBinding: string;
100
100
  deviceDetails: string;
101
+ otaChannel: string;
102
+ otaChannelHint: string;
101
103
  dineIn: string;
102
104
  dineInCanTakeaway: string;
103
105
  driveThru: string;
@@ -301,6 +303,18 @@ export declare const i18nMessages: {
301
303
  unbindKioskDeviceWarning: string;
302
304
  unbindSuccess: string;
303
305
  unbindWarning: string;
306
+ searchDevices: string;
307
+ allTypes: string;
308
+ tabletOnly: string;
309
+ kioskOnly: string;
310
+ showingDevices: string;
311
+ noDevicesMatch: string;
312
+ noDevicesBound: string;
313
+ clickToCopy: string;
314
+ machineIdCopied: string;
315
+ copyFailed: string;
316
+ pinSet: string;
317
+ noPin: string;
304
318
  unknown: string;
305
319
  update: string;
306
320
  updatedAt: string;
@@ -444,6 +458,8 @@ export declare const i18nMessages: {
444
458
  deliveryZone: string;
445
459
  deviceBinding: string;
446
460
  deviceDetails: string;
461
+ otaChannel: string;
462
+ otaChannelHint: string;
447
463
  dineIn: string;
448
464
  dineInCanTakeaway: string;
449
465
  driveThru: string;
@@ -648,6 +664,18 @@ export declare const i18nMessages: {
648
664
  unbindKioskDeviceWarning: string;
649
665
  unbindSuccess: string;
650
666
  unbindWarning: string;
667
+ searchDevices: string;
668
+ allTypes: string;
669
+ tabletOnly: string;
670
+ kioskOnly: string;
671
+ showingDevices: string;
672
+ noDevicesMatch: string;
673
+ noDevicesBound: string;
674
+ clickToCopy: string;
675
+ machineIdCopied: string;
676
+ copyFailed: string;
677
+ pinSet: string;
678
+ noPin: string;
651
679
  unknown: string;
652
680
  update: string;
653
681
  updatedAt: string;
@@ -791,6 +819,8 @@ export declare const i18nMessages: {
791
819
  deliveryZone: string;
792
820
  deviceBinding: string;
793
821
  deviceDetails: string;
822
+ otaChannel: string;
823
+ otaChannelHint: string;
794
824
  dineIn: string;
795
825
  dineInCanTakeaway: string;
796
826
  driveThru: string;
@@ -989,6 +1019,18 @@ export declare const i18nMessages: {
989
1019
  unbindKioskDeviceWarning: string;
990
1020
  unbindSuccess: string;
991
1021
  unbindWarning: string;
1022
+ searchDevices: string;
1023
+ allTypes: string;
1024
+ tabletOnly: string;
1025
+ kioskOnly: string;
1026
+ showingDevices: string;
1027
+ noDevicesMatch: string;
1028
+ noDevicesBound: string;
1029
+ clickToCopy: string;
1030
+ machineIdCopied: string;
1031
+ copyFailed: string;
1032
+ pinSet: string;
1033
+ noPin: string;
992
1034
  unknown: string;
993
1035
  update: string;
994
1036
  updatedAt: string;
@@ -1131,6 +1173,8 @@ export declare const i18nMessages: {
1131
1173
  deliveryZone: string;
1132
1174
  deviceBinding: string;
1133
1175
  deviceDetails: string;
1176
+ otaChannel: string;
1177
+ otaChannelHint: string;
1134
1178
  dineIn: string;
1135
1179
  dineInCanTakeaway: string;
1136
1180
  driveThru: string;
@@ -1329,6 +1373,18 @@ export declare const i18nMessages: {
1329
1373
  unbindKioskDeviceWarning: string;
1330
1374
  unbindSuccess: string;
1331
1375
  unbindWarning: string;
1376
+ searchDevices: string;
1377
+ allTypes: string;
1378
+ tabletOnly: string;
1379
+ kioskOnly: string;
1380
+ showingDevices: string;
1381
+ noDevicesMatch: string;
1382
+ noDevicesBound: string;
1383
+ clickToCopy: string;
1384
+ machineIdCopied: string;
1385
+ copyFailed: string;
1386
+ pinSet: string;
1387
+ noPin: string;
1332
1388
  unknown: string;
1333
1389
  update: string;
1334
1390
  updatedAt: string;
@@ -97,6 +97,8 @@ export declare const i18nMessages: {
97
97
  deliveryZone: string;
98
98
  deviceBinding: string;
99
99
  deviceDetails: string;
100
+ otaChannel: string;
101
+ otaChannelHint: string;
100
102
  dineIn: string;
101
103
  dineInCanTakeaway: string;
102
104
  driveThru: string;
@@ -300,6 +302,18 @@ export declare const i18nMessages: {
300
302
  unbindKioskDeviceWarning: string;
301
303
  unbindSuccess: string;
302
304
  unbindWarning: string;
305
+ searchDevices: string;
306
+ allTypes: string;
307
+ tabletOnly: string;
308
+ kioskOnly: string;
309
+ showingDevices: string;
310
+ noDevicesMatch: string;
311
+ noDevicesBound: string;
312
+ clickToCopy: string;
313
+ machineIdCopied: string;
314
+ copyFailed: string;
315
+ pinSet: string;
316
+ noPin: string;
303
317
  unknown: string;
304
318
  update: string;
305
319
  updatedAt: string;
@@ -443,6 +457,8 @@ export declare const i18nMessages: {
443
457
  deliveryZone: string;
444
458
  deviceBinding: string;
445
459
  deviceDetails: string;
460
+ otaChannel: string;
461
+ otaChannelHint: string;
446
462
  dineIn: string;
447
463
  dineInCanTakeaway: string;
448
464
  driveThru: string;
@@ -647,6 +663,18 @@ export declare const i18nMessages: {
647
663
  unbindKioskDeviceWarning: string;
648
664
  unbindSuccess: string;
649
665
  unbindWarning: string;
666
+ searchDevices: string;
667
+ allTypes: string;
668
+ tabletOnly: string;
669
+ kioskOnly: string;
670
+ showingDevices: string;
671
+ noDevicesMatch: string;
672
+ noDevicesBound: string;
673
+ clickToCopy: string;
674
+ machineIdCopied: string;
675
+ copyFailed: string;
676
+ pinSet: string;
677
+ noPin: string;
650
678
  unknown: string;
651
679
  update: string;
652
680
  updatedAt: string;
@@ -790,6 +818,8 @@ export declare const i18nMessages: {
790
818
  deliveryZone: string;
791
819
  deviceBinding: string;
792
820
  deviceDetails: string;
821
+ otaChannel: string;
822
+ otaChannelHint: string;
793
823
  dineIn: string;
794
824
  dineInCanTakeaway: string;
795
825
  driveThru: string;
@@ -988,6 +1018,18 @@ export declare const i18nMessages: {
988
1018
  unbindKioskDeviceWarning: string;
989
1019
  unbindSuccess: string;
990
1020
  unbindWarning: string;
1021
+ searchDevices: string;
1022
+ allTypes: string;
1023
+ tabletOnly: string;
1024
+ kioskOnly: string;
1025
+ showingDevices: string;
1026
+ noDevicesMatch: string;
1027
+ noDevicesBound: string;
1028
+ clickToCopy: string;
1029
+ machineIdCopied: string;
1030
+ copyFailed: string;
1031
+ pinSet: string;
1032
+ noPin: string;
991
1033
  unknown: string;
992
1034
  update: string;
993
1035
  updatedAt: string;
@@ -1130,6 +1172,8 @@ export declare const i18nMessages: {
1130
1172
  deliveryZone: string;
1131
1173
  deviceBinding: string;
1132
1174
  deviceDetails: string;
1175
+ otaChannel: string;
1176
+ otaChannelHint: string;
1133
1177
  dineIn: string;
1134
1178
  dineInCanTakeaway: string;
1135
1179
  driveThru: string;
@@ -1328,6 +1372,18 @@ export declare const i18nMessages: {
1328
1372
  unbindKioskDeviceWarning: string;
1329
1373
  unbindSuccess: string;
1330
1374
  unbindWarning: string;
1375
+ searchDevices: string;
1376
+ allTypes: string;
1377
+ tabletOnly: string;
1378
+ kioskOnly: string;
1379
+ showingDevices: string;
1380
+ noDevicesMatch: string;
1381
+ noDevicesBound: string;
1382
+ clickToCopy: string;
1383
+ machineIdCopied: string;
1384
+ copyFailed: string;
1385
+ pinSet: string;
1386
+ noPin: string;
1331
1387
  unknown: string;
1332
1388
  update: string;
1333
1389
  updatedAt: string;
@@ -14,4 +14,5 @@ export interface MfKioskDevice {
14
14
  pinInfo?: string;
15
15
  deviceAppVersion?: string;
16
16
  deviceAppOTAVersion?: string;
17
+ lastStartup?: Date;
17
18
  }
@@ -65,6 +65,7 @@ export interface MfKioskOrderSetting {
65
65
  takeaway: MfKioskTakeawaySetting;
66
66
  paymentSetting: MfKioskPaymentSetting;
67
67
  menuItem: MfKioskOrderSettingMenuItemForm;
68
+ otaChannel?: string | null;
68
69
  }
69
70
  export interface MfKioskOrderSettingMenuItemForm {
70
71
  showAllOnly: boolean;
@@ -74,6 +75,7 @@ export interface MfKioskOrderSettingForm {
74
75
  takeaway: KioskTakeawaySettingForm;
75
76
  paymentSetting: KioskPaymentSettingForm;
76
77
  menuItem: KioskMenuItemSettingForm;
78
+ otaChannel?: string | null;
77
79
  }
78
80
  export type KioskPickAtCounterSettingForm = MfKioskPickAtCounterSetting;
79
81
  export type KioskMenuItemSettingForm = MfKioskOrderSettingMenuItemForm;
@@ -85,6 +85,7 @@ export declare const useKioskStore: import("pinia").StoreDefinition<"kiosk", Pic
85
85
  pinInfo?: string | undefined;
86
86
  deviceAppVersion?: string | undefined;
87
87
  deviceAppOTAVersion?: string | undefined;
88
+ lastStartup?: Date | undefined;
88
89
  }[];
89
90
  };
90
91
  requestOtp: () => Promise<void>;
@@ -178,6 +179,7 @@ export declare const useKioskStore: import("pinia").StoreDefinition<"kiosk", Pic
178
179
  pinInfo?: string | undefined;
179
180
  deviceAppVersion?: string | undefined;
180
181
  deviceAppOTAVersion?: string | undefined;
182
+ lastStartup?: Date | undefined;
181
183
  }[];
182
184
  };
183
185
  requestOtp: () => Promise<void>;
@@ -271,6 +273,7 @@ export declare const useKioskStore: import("pinia").StoreDefinition<"kiosk", Pic
271
273
  pinInfo?: string | undefined;
272
274
  deviceAppVersion?: string | undefined;
273
275
  deviceAppOTAVersion?: string | undefined;
276
+ lastStartup?: Date | undefined;
274
277
  }[];
275
278
  };
276
279
  requestOtp: () => Promise<void>;
@@ -61,6 +61,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
61
61
  menuItem: {
62
62
  showAllOnly: boolean;
63
63
  };
64
+ otaChannel?: string | null | undefined;
64
65
  } | undefined;
65
66
  orderSetting?: {
66
67
  autoSendKitchen?: boolean | null | undefined;
@@ -150,6 +151,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
150
151
  menuItem?: {
151
152
  showAllOnly: boolean;
152
153
  } | null | undefined;
154
+ otaChannel?: string | null | undefined;
153
155
  } | null | undefined;
154
156
  enableV3?: boolean | null | undefined;
155
157
  dineInSettings?: {
@@ -319,6 +321,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
319
321
  menuItem: {
320
322
  showAllOnly: boolean;
321
323
  };
324
+ otaChannel?: string | null | undefined;
322
325
  } | undefined;
323
326
  orderSetting?: {
324
327
  autoSendKitchen?: boolean | null | undefined;
@@ -408,6 +411,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
408
411
  menuItem?: {
409
412
  showAllOnly: boolean;
410
413
  } | null | undefined;
414
+ otaChannel?: string | null | undefined;
411
415
  } | null | undefined;
412
416
  enableV3?: boolean | null | undefined;
413
417
  dineInSettings?: {
@@ -577,6 +581,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
577
581
  menuItem: {
578
582
  showAllOnly: boolean;
579
583
  };
584
+ otaChannel?: string | null | undefined;
580
585
  } | undefined;
581
586
  orderSetting?: {
582
587
  autoSendKitchen?: boolean | null | undefined;
@@ -666,6 +671,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
666
671
  menuItem?: {
667
672
  showAllOnly: boolean;
668
673
  } | null | undefined;
674
+ otaChannel?: string | null | undefined;
669
675
  } | null | undefined;
670
676
  enableV3?: boolean | null | undefined;
671
677
  dineInSettings?: {
@@ -1,7 +1,10 @@
1
- import type { MfKioskDevice } from "@/modules/kiosk/interface";
1
+ import type { MfKioskDevice } from '@/modules/kiosk/interface';
2
2
  interface Props {
3
3
  devices: MfKioskDevice[];
4
- requestOtp: () => Promise<void>;
5
4
  }
6
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ requestOtp: () => any;
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
+ onRequestOtp?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
10
  export default _default;
@@ -68,6 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
68
68
  required: true;
69
69
  };
70
70
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
71
+ delete: () => any;
71
72
  "update:model-value": (v: {
72
73
  inclusive: boolean;
73
74
  rate: {
@@ -80,7 +81,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
81
  tables?: string[] | null | undefined;
81
82
  };
82
83
  }) => any;
83
- delete: () => any;
84
84
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
85
85
  modelValue: {
86
86
  type: PropType<{
@@ -149,6 +149,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
149
149
  required: true;
150
150
  };
151
151
  }>> & Readonly<{
152
+ onDelete?: (() => any) | undefined;
152
153
  "onUpdate:model-value"?: ((v: {
153
154
  inclusive: boolean;
154
155
  rate: {
@@ -161,6 +162,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
161
162
  tables?: string[] | null | undefined;
162
163
  };
163
164
  }) => any) | undefined;
164
- onDelete?: (() => any) | undefined;
165
165
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
166
166
  export default _default;