@feedmepos/mf-order-setting 0.0.33 → 0.0.35

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 (56) hide show
  1. package/dist/{KioskDevicesView-CxZI99me.js → KioskDevicesView-wPKewwAS.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-EGj4fxeN.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js} +2 -2
  3. package/dist/KioskSettingView-CV54HpY2.js +843 -0
  4. package/dist/{KioskView-IUQTvUF8.js → KioskView-B4mggCt0.js} +41 -34
  5. package/dist/OrderSettingsView-Cp3aV3Ps.js +50624 -0
  6. package/dist/{app-cd45Ryph.js → app-DlQj6ZP0.js} +26 -15
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-CRAlrjJy.js → dayjs.min-C_sCJHuD.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +11 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +11 -0
  11. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +393 -393
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +12 -0
  13. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +3 -3
  14. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +75 -75
  15. package/dist/frontend/mf-order/src/stores/table-settings.d.ts +2 -0
  16. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +50 -50
  17. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +8 -0
  18. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +5 -0
  19. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -0
  20. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  21. package/dist/{index-DLWAy-3K.js → index-Cvhc_ltu.js} +2 -2
  22. package/dist/menu.dto-CeUdKgTW.js +103445 -0
  23. package/dist/package/entity/booking/booking.do.d.ts +502 -502
  24. package/dist/package/entity/delivery/delivery.dto.d.ts +100 -100
  25. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +17 -0
  26. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1973 -836
  27. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +32 -0
  28. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +555 -555
  29. package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
  30. package/dist/package/entity/order/order.do.d.ts +5 -0
  31. package/dist/package/entity/order/order.dto.d.ts +208 -200
  32. package/dist/package/entity/order/order.enum.d.ts +1 -1
  33. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +4 -4
  34. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +100 -100
  35. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +100 -100
  36. package/dist/package/entity/order-platform/menu.dto.d.ts +410 -410
  37. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +100 -100
  38. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +42 -0
  39. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +32 -0
  40. package/dist/package/entity/order-setting/order-setting.do.d.ts +22 -0
  41. package/dist/package/entity/order-setting/order-setting.dto.d.ts +44 -0
  42. package/dist/package/entity/queue/queue.do.d.ts +34 -34
  43. package/dist/package/entity/restaurant/restaurant.dto.d.ts +22 -0
  44. package/dist/package/entity/websocket/websocket.dto.d.ts +48 -0
  45. package/package.json +3 -3
  46. package/src/locales/en-US.json +4 -0
  47. package/src/locales/th-TH.json +4 -0
  48. package/src/locales/zh-CN.json +3 -0
  49. package/src/stores/order-setting/mapper.ts +230 -168
  50. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +42 -2
  51. package/src/views/order-settings/delivery/DeliverySetting.vue +11 -16
  52. package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +26 -9
  53. package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +12 -1
  54. package/dist/KioskSettingView-CTDY8__s.js +0 -821
  55. package/dist/OrderSettingsView-VLE9yxNt.js +0 -74796
  56. package/dist/menu.dto-DGDI6XwH.js +0 -126424
@@ -1,4 +1,4 @@
1
- import { ref as g, defineComponent as S, onMounted as f, resolveComponent as h, createElementBlock as b, openBlock as P, createVNode as D } from "vue";
1
+ import { ref as g, defineComponent as S, onMounted as f, resolveComponent as b, createElementBlock as h, openBlock as P, createVNode as D } from "vue";
2
2
  import "vue-router";
3
3
  const k = {
4
4
  accept: "accept",
@@ -62,6 +62,7 @@ const k = {
62
62
  customerItemRemarkSublabel: "Customer can attach remark to item",
63
63
  customOfflinePayment: "Custom Offline Payment",
64
64
  customOfflinePaymentHeader: "Custom offline payments",
65
+ customOrderNumber: "Custom order number",
65
66
  customServiceCharge: "Custom Service Charge",
66
67
  customTime: "Custom time",
67
68
  day: "Day",
@@ -194,7 +195,10 @@ const k = {
194
195
  productSelected: "product(s) selected",
195
196
  promptAnonymousLoginDialog: "Prompt Login Dialog For Anonymous Order",
196
197
  qrPay: "QR Pay",
198
+ terminalScanPay: "Terminal Scan Pay",
199
+ terminalQrPay: "Terminal QR Pay",
197
200
  rate: "Rate",
201
+ rateLimitWarning: "Please wait for 1 minute and sync again.",
198
202
  remoteId: "Remote ID",
199
203
  restaurant: "Restaurant",
200
204
  restaurantAsPickupPoint: "Restaurant as pickup point",
@@ -363,6 +367,7 @@ const k = {
363
367
  customerItemRemarkSublabel: "客户可以为商品添加备注",
364
368
  customOfflinePayment: "自定义线下付款方式",
365
369
  customOfflinePaymentHeader: "自定义线下付款方式",
370
+ customOrderNumber: "自定义订单号码",
366
371
  customServiceCharge: "自定义服务收费",
367
372
  customTime: "自定义时间",
368
373
  day: "天",
@@ -495,6 +500,8 @@ const k = {
495
500
  productSelected: "已选择商品",
496
501
  promptAnonymousLoginDialog: "为匿名用户弹出登入对话框",
497
502
  qrPay: "二维码支付",
503
+ terminalScanPay: "终端扫描支付",
504
+ terminalQrPay: "终端二维码支付",
498
505
  rate: "费率",
499
506
  remoteId: "平台注册ID",
500
507
  restaurant: "餐厅",
@@ -666,6 +673,7 @@ const k = {
666
673
  customerItemRemarkSublabel: "ลูกค้าสามารถแนบหมายเหตุกับรายการได้",
667
674
  customOfflinePayment: "การชำระเงินออฟไลน์แบบกำหนดเอง",
668
675
  customOfflinePaymentHeader: "การชำระเงินออฟไลน์แบบกำหนดเอง",
676
+ customOrderNumber: "หมายเลขคำสั่งซื้อแบบกำหนดเอง",
669
677
  customServiceCharge: "ค่าบริการแบบกำหนดเอง",
670
678
  customTime: "เวลาแบบกำหนดเอง",
671
679
  day: "วัน",
@@ -795,7 +803,10 @@ const k = {
795
803
  productSelected: "ผลิตภัณฑ์ที่เลือก",
796
804
  promptAnonymousLoginDialog: "กล่องโต้ตอบพร้อมท์เข้าสู่ระบบสำหรับคำสั่งซื้อแบบไม่เปิดเผยตัวตน",
797
805
  qrPay: "ชำระเงินด้วย QR",
806
+ terminalScanPay: "ชำระเงินด้วยการสแกนเทอร์มินัล",
807
+ terminalQrPay: "ชำระเงินด้วย QR เทอร์มินัล",
798
808
  rate: "อัตรา",
809
+ rateLimitWarning: "กรุณารอ 1 นาทีแล้วซิงค์อีกครั้ง",
799
810
  remoteId: "รหัสประจำตัวระยะไกล",
800
811
  restaurant: "ร้านอาหาร",
801
812
  restaurantAsPickupPoint: "ร้านอาหารเป็นจุดรับสินค้า",
@@ -900,7 +911,7 @@ const k = {
900
911
  }, T = {
901
912
  order: x
902
913
  }, m = g(null), v = () => m.value;
903
- function M(t) {
914
+ function O(t) {
904
915
  m.value || (m.value = t);
905
916
  }
906
917
  const B = Object.freeze({
@@ -980,22 +991,22 @@ class d {
980
991
  }
981
992
  }
982
993
  d.CALLBACK_NAME = "_dk_google_maps_loader_cb";
983
- var O = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
984
- const w = { class: "flex-1 overflow-auto" }, _ = /* @__PURE__ */ S({
994
+ var M = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
995
+ const w = { class: "flex-1 overflow-auto" }, Q = /* @__PURE__ */ S({
985
996
  __name: "App",
986
997
  setup(t) {
987
998
  async function i() {
988
999
  if (v()) return;
989
- const a = await new d(O.googleMap, {
1000
+ const a = await new d(M.googleMap, {
990
1001
  libraries: ["places"]
991
1002
  }).load();
992
- M(a);
1003
+ O(a);
993
1004
  }
994
1005
  return f(async () => {
995
1006
  await i();
996
1007
  }), (e, a) => {
997
- const r = h("RouterView");
998
- return P(), b("div", w, [
1008
+ const r = b("RouterView");
1009
+ return P(), h("div", w, [
999
1010
  D(r)
1000
1011
  ]);
1001
1012
  };
@@ -1005,26 +1016,26 @@ const w = { class: "flex-1 overflow-auto" }, _ = /* @__PURE__ */ S({
1005
1016
  KioskDeviceRoute: E,
1006
1017
  KioskOrderSettingRoute: F,
1007
1018
  OrderSettingView: N
1008
- }, Q = [
1019
+ }, _ = [
1009
1020
  {
1010
1021
  path: u.KioskRoute,
1011
1022
  name: "Kiosk",
1012
- component: () => import("./KioskView-IUQTvUF8.js")
1023
+ component: () => import("./KioskView-B4mggCt0.js")
1013
1024
  },
1014
1025
  {
1015
1026
  path: u.KioskDeviceRoute,
1016
1027
  name: "Kiosk Device",
1017
- component: () => import("./KioskDevicesView-CxZI99me.js")
1028
+ component: () => import("./KioskDevicesView-wPKewwAS.js")
1018
1029
  },
1019
1030
  {
1020
1031
  path: u.KioskOrderSettingRoute,
1021
1032
  name: "Kiosk Order Setting",
1022
- component: () => import("./KioskSettingView-CTDY8__s.js")
1033
+ component: () => import("./KioskSettingView-CV54HpY2.js")
1023
1034
  },
1024
1035
  {
1025
1036
  path: u.OrderSettingView,
1026
1037
  name: "Order Setting View",
1027
- component: () => import("./OrderSettingsView-VLE9yxNt.js")
1038
+ component: () => import("./OrderSettingsView-Cp3aV3Ps.js")
1028
1039
  }
1029
1040
  ], H = {
1030
1041
  "en-US": C,
@@ -1032,7 +1043,7 @@ const w = { class: "flex-1 overflow-auto" }, _ = /* @__PURE__ */ S({
1032
1043
  "th-TH": T
1033
1044
  };
1034
1045
  export {
1035
- _,
1046
+ Q as _,
1036
1047
  y as a,
1037
1048
  V as b,
1038
1049
  B as c,
@@ -1040,5 +1051,5 @@ export {
1040
1051
  W as e,
1041
1052
  v as g,
1042
1053
  H as i,
1043
- Q as r
1054
+ _ as r
1044
1055
  };
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, i as e, r as o } from "./app-cd45Ryph.js";
1
+ import { _ as a, i as e, r as o } from "./app-DlQj6ZP0.js";
2
2
  export {
3
3
  a as FmApp,
4
4
  e as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as nt, r as kt, m as Dt } from "./menu.dto-DGDI6XwH.js";
1
+ import { g as nt, q as kt, j as Dt } from "./menu.dto-CeUdKgTW.js";
2
2
  import { useCoreStore as Q } from "@feedmepos/mf-common";
3
3
  function rt(e, t) {
4
4
  return function() {
@@ -64,6 +64,7 @@ export declare const i18nMessages: {
64
64
  customerItemRemarkSublabel: string;
65
65
  customOfflinePayment: string;
66
66
  customOfflinePaymentHeader: string;
67
+ customOrderNumber: string;
67
68
  customServiceCharge: string;
68
69
  customTime: string;
69
70
  day: string;
@@ -196,7 +197,10 @@ export declare const i18nMessages: {
196
197
  productSelected: string;
197
198
  promptAnonymousLoginDialog: string;
198
199
  qrPay: string;
200
+ terminalScanPay: string;
201
+ terminalQrPay: string;
199
202
  rate: string;
203
+ rateLimitWarning: string;
200
204
  remoteId: string;
201
205
  restaurant: string;
202
206
  restaurantAsPickupPoint: string;
@@ -366,6 +370,7 @@ export declare const i18nMessages: {
366
370
  customerItemRemarkSublabel: string;
367
371
  customOfflinePayment: string;
368
372
  customOfflinePaymentHeader: string;
373
+ customOrderNumber: string;
369
374
  customServiceCharge: string;
370
375
  customTime: string;
371
376
  day: string;
@@ -498,6 +503,8 @@ export declare const i18nMessages: {
498
503
  productSelected: string;
499
504
  promptAnonymousLoginDialog: string;
500
505
  qrPay: string;
506
+ terminalScanPay: string;
507
+ terminalQrPay: string;
501
508
  rate: string;
502
509
  remoteId: string;
503
510
  restaurant: string;
@@ -670,6 +677,7 @@ export declare const i18nMessages: {
670
677
  customerItemRemarkSublabel: string;
671
678
  customOfflinePayment: string;
672
679
  customOfflinePaymentHeader: string;
680
+ customOrderNumber: string;
673
681
  customServiceCharge: string;
674
682
  customTime: string;
675
683
  day: string;
@@ -799,7 +807,10 @@ export declare const i18nMessages: {
799
807
  productSelected: string;
800
808
  promptAnonymousLoginDialog: string;
801
809
  qrPay: string;
810
+ terminalScanPay: string;
811
+ terminalQrPay: string;
802
812
  rate: string;
813
+ rateLimitWarning: string;
803
814
  remoteId: string;
804
815
  restaurant: string;
805
816
  restaurantAsPickupPoint: string;
@@ -63,6 +63,7 @@ export declare const i18nMessages: {
63
63
  customerItemRemarkSublabel: string;
64
64
  customOfflinePayment: string;
65
65
  customOfflinePaymentHeader: string;
66
+ customOrderNumber: string;
66
67
  customServiceCharge: string;
67
68
  customTime: string;
68
69
  day: string;
@@ -195,7 +196,10 @@ export declare const i18nMessages: {
195
196
  productSelected: string;
196
197
  promptAnonymousLoginDialog: string;
197
198
  qrPay: string;
199
+ terminalScanPay: string;
200
+ terminalQrPay: string;
198
201
  rate: string;
202
+ rateLimitWarning: string;
199
203
  remoteId: string;
200
204
  restaurant: string;
201
205
  restaurantAsPickupPoint: string;
@@ -365,6 +369,7 @@ export declare const i18nMessages: {
365
369
  customerItemRemarkSublabel: string;
366
370
  customOfflinePayment: string;
367
371
  customOfflinePaymentHeader: string;
372
+ customOrderNumber: string;
368
373
  customServiceCharge: string;
369
374
  customTime: string;
370
375
  day: string;
@@ -497,6 +502,8 @@ export declare const i18nMessages: {
497
502
  productSelected: string;
498
503
  promptAnonymousLoginDialog: string;
499
504
  qrPay: string;
505
+ terminalScanPay: string;
506
+ terminalQrPay: string;
500
507
  rate: string;
501
508
  remoteId: string;
502
509
  restaurant: string;
@@ -669,6 +676,7 @@ export declare const i18nMessages: {
669
676
  customerItemRemarkSublabel: string;
670
677
  customOfflinePayment: string;
671
678
  customOfflinePaymentHeader: string;
679
+ customOrderNumber: string;
672
680
  customServiceCharge: string;
673
681
  customTime: string;
674
682
  day: string;
@@ -798,7 +806,10 @@ export declare const i18nMessages: {
798
806
  productSelected: string;
799
807
  promptAnonymousLoginDialog: string;
800
808
  qrPay: string;
809
+ terminalScanPay: string;
810
+ terminalQrPay: string;
801
811
  rate: string;
812
+ rateLimitWarning: string;
802
813
  remoteId: string;
803
814
  restaurant: string;
804
815
  restaurantAsPickupPoint: string;