@feedmepos/mf-order-setting 0.0.34 → 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 (44) hide show
  1. package/dist/{KioskDevicesView-BHzBoF_O.js → KioskDevicesView-wPKewwAS.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-C5JpMDP_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js} +2 -2
  3. package/dist/{KioskSettingView-i8tgH3dF.js → KioskSettingView-CV54HpY2.js} +142 -140
  4. package/dist/{KioskView-DW7vX6rJ.js → KioskView-B4mggCt0.js} +4 -4
  5. package/dist/OrderSettingsView-Cp3aV3Ps.js +50624 -0
  6. package/dist/{app-C15xKXga.js → app-DlQj6ZP0.js} +20 -15
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-KE7XM_kc.js → dayjs.min-C_sCJHuD.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +5 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +5 -0
  11. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +393 -393
  12. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +75 -75
  13. package/dist/frontend/mf-order/src/stores/table-settings.d.ts +2 -0
  14. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +50 -50
  15. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +5 -0
  16. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -0
  17. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  18. package/dist/{index-DGfFxIZo.js → index-Cvhc_ltu.js} +2 -2
  19. package/dist/menu.dto-CeUdKgTW.js +103445 -0
  20. package/dist/package/entity/booking/booking.do.d.ts +502 -502
  21. package/dist/package/entity/delivery/delivery.dto.d.ts +100 -100
  22. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +17 -0
  23. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1973 -836
  24. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +32 -0
  25. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +555 -555
  26. package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
  27. package/dist/package/entity/order/order.do.d.ts +5 -0
  28. package/dist/package/entity/order/order.dto.d.ts +208 -200
  29. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +4 -4
  30. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +100 -100
  31. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +100 -100
  32. package/dist/package/entity/order-platform/menu.dto.d.ts +410 -410
  33. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +100 -100
  34. package/dist/package/entity/queue/queue.do.d.ts +34 -34
  35. package/package.json +3 -3
  36. package/src/locales/en-US.json +2 -0
  37. package/src/locales/th-TH.json +2 -0
  38. package/src/locales/zh-CN.json +1 -0
  39. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +11 -1
  40. package/src/views/order-settings/delivery/DeliverySetting.vue +11 -16
  41. package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +26 -9
  42. package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +12 -1
  43. package/dist/OrderSettingsView-D3SQHET3.js +0 -74796
  44. package/dist/menu.dto-CLARGRsi.js +0 -126428
@@ -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",
@@ -197,6 +198,7 @@ const k = {
197
198
  terminalScanPay: "Terminal Scan Pay",
198
199
  terminalQrPay: "Terminal QR Pay",
199
200
  rate: "Rate",
201
+ rateLimitWarning: "Please wait for 1 minute and sync again.",
200
202
  remoteId: "Remote ID",
201
203
  restaurant: "Restaurant",
202
204
  restaurantAsPickupPoint: "Restaurant as pickup point",
@@ -365,6 +367,7 @@ const k = {
365
367
  customerItemRemarkSublabel: "客户可以为商品添加备注",
366
368
  customOfflinePayment: "自定义线下付款方式",
367
369
  customOfflinePaymentHeader: "自定义线下付款方式",
370
+ customOrderNumber: "自定义订单号码",
368
371
  customServiceCharge: "自定义服务收费",
369
372
  customTime: "自定义时间",
370
373
  day: "天",
@@ -670,6 +673,7 @@ const k = {
670
673
  customerItemRemarkSublabel: "ลูกค้าสามารถแนบหมายเหตุกับรายการได้",
671
674
  customOfflinePayment: "การชำระเงินออฟไลน์แบบกำหนดเอง",
672
675
  customOfflinePaymentHeader: "การชำระเงินออฟไลน์แบบกำหนดเอง",
676
+ customOrderNumber: "หมายเลขคำสั่งซื้อแบบกำหนดเอง",
673
677
  customServiceCharge: "ค่าบริการแบบกำหนดเอง",
674
678
  customTime: "เวลาแบบกำหนดเอง",
675
679
  day: "วัน",
@@ -802,6 +806,7 @@ const k = {
802
806
  terminalScanPay: "ชำระเงินด้วยการสแกนเทอร์มินัล",
803
807
  terminalQrPay: "ชำระเงินด้วย QR เทอร์มินัล",
804
808
  rate: "อัตรา",
809
+ rateLimitWarning: "กรุณารอ 1 นาทีแล้วซิงค์อีกครั้ง",
805
810
  remoteId: "รหัสประจำตัวระยะไกล",
806
811
  restaurant: "ร้านอาหาร",
807
812
  restaurantAsPickupPoint: "ร้านอาหารเป็นจุดรับสินค้า",
@@ -906,7 +911,7 @@ const k = {
906
911
  }, T = {
907
912
  order: x
908
913
  }, m = g(null), v = () => m.value;
909
- function M(t) {
914
+ function O(t) {
910
915
  m.value || (m.value = t);
911
916
  }
912
917
  const B = Object.freeze({
@@ -936,7 +941,7 @@ function V({
936
941
  }
937
942
  return e.map((o) => ({ lat: o.lat(), lng: o.lng() }));
938
943
  }
939
- function Q(t) {
944
+ function W(t) {
940
945
  if (!t.length) return;
941
946
  const { lat: i, lng: e } = y(t[0]), { maxLng: a, minLng: r, maxLat: o, minLat: c } = t.reduce((n, p) => {
942
947
  const { lng: s, lat: l } = y(p);
@@ -986,22 +991,22 @@ class d {
986
991
  }
987
992
  }
988
993
  d.CALLBACK_NAME = "_dk_google_maps_loader_cb";
989
- var O = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
990
- const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
994
+ var M = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
995
+ const w = { class: "flex-1 overflow-auto" }, Q = /* @__PURE__ */ S({
991
996
  __name: "App",
992
997
  setup(t) {
993
998
  async function i() {
994
999
  if (v()) return;
995
- const a = await new d(O.googleMap, {
1000
+ const a = await new d(M.googleMap, {
996
1001
  libraries: ["places"]
997
1002
  }).load();
998
- M(a);
1003
+ O(a);
999
1004
  }
1000
1005
  return f(async () => {
1001
1006
  await i();
1002
1007
  }), (e, a) => {
1003
- const r = h("RouterView");
1004
- return P(), b("div", w, [
1008
+ const r = b("RouterView");
1009
+ return P(), h("div", w, [
1005
1010
  D(r)
1006
1011
  ]);
1007
1012
  };
@@ -1015,22 +1020,22 @@ const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
1015
1020
  {
1016
1021
  path: u.KioskRoute,
1017
1022
  name: "Kiosk",
1018
- component: () => import("./KioskView-DW7vX6rJ.js")
1023
+ component: () => import("./KioskView-B4mggCt0.js")
1019
1024
  },
1020
1025
  {
1021
1026
  path: u.KioskDeviceRoute,
1022
1027
  name: "Kiosk Device",
1023
- component: () => import("./KioskDevicesView-BHzBoF_O.js")
1028
+ component: () => import("./KioskDevicesView-wPKewwAS.js")
1024
1029
  },
1025
1030
  {
1026
1031
  path: u.KioskOrderSettingRoute,
1027
1032
  name: "Kiosk Order Setting",
1028
- component: () => import("./KioskSettingView-i8tgH3dF.js")
1033
+ component: () => import("./KioskSettingView-CV54HpY2.js")
1029
1034
  },
1030
1035
  {
1031
1036
  path: u.OrderSettingView,
1032
1037
  name: "Order Setting View",
1033
- component: () => import("./OrderSettingsView-D3SQHET3.js")
1038
+ component: () => import("./OrderSettingsView-Cp3aV3Ps.js")
1034
1039
  }
1035
1040
  ], H = {
1036
1041
  "en-US": C,
@@ -1038,12 +1043,12 @@ const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
1038
1043
  "th-TH": T
1039
1044
  };
1040
1045
  export {
1041
- W as _,
1046
+ Q as _,
1042
1047
  y as a,
1043
1048
  V as b,
1044
1049
  B as c,
1045
1050
  U as d,
1046
- Q as e,
1051
+ W as e,
1047
1052
  v as g,
1048
1053
  H as i,
1049
1054
  _ as r
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, i as e, r as o } from "./app-C15xKXga.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-CLARGRsi.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;
@@ -199,6 +200,7 @@ export declare const i18nMessages: {
199
200
  terminalScanPay: string;
200
201
  terminalQrPay: string;
201
202
  rate: string;
203
+ rateLimitWarning: string;
202
204
  remoteId: string;
203
205
  restaurant: string;
204
206
  restaurantAsPickupPoint: string;
@@ -368,6 +370,7 @@ export declare const i18nMessages: {
368
370
  customerItemRemarkSublabel: string;
369
371
  customOfflinePayment: string;
370
372
  customOfflinePaymentHeader: string;
373
+ customOrderNumber: string;
371
374
  customServiceCharge: string;
372
375
  customTime: string;
373
376
  day: string;
@@ -674,6 +677,7 @@ export declare const i18nMessages: {
674
677
  customerItemRemarkSublabel: string;
675
678
  customOfflinePayment: string;
676
679
  customOfflinePaymentHeader: string;
680
+ customOrderNumber: string;
677
681
  customServiceCharge: string;
678
682
  customTime: string;
679
683
  day: string;
@@ -806,6 +810,7 @@ export declare const i18nMessages: {
806
810
  terminalScanPay: string;
807
811
  terminalQrPay: string;
808
812
  rate: string;
813
+ rateLimitWarning: string;
809
814
  remoteId: string;
810
815
  restaurant: string;
811
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;
@@ -198,6 +199,7 @@ export declare const i18nMessages: {
198
199
  terminalScanPay: string;
199
200
  terminalQrPay: string;
200
201
  rate: string;
202
+ rateLimitWarning: string;
201
203
  remoteId: string;
202
204
  restaurant: string;
203
205
  restaurantAsPickupPoint: string;
@@ -367,6 +369,7 @@ export declare const i18nMessages: {
367
369
  customerItemRemarkSublabel: string;
368
370
  customOfflinePayment: string;
369
371
  customOfflinePaymentHeader: string;
372
+ customOrderNumber: string;
370
373
  customServiceCharge: string;
371
374
  customTime: string;
372
375
  day: string;
@@ -673,6 +676,7 @@ export declare const i18nMessages: {
673
676
  customerItemRemarkSublabel: string;
674
677
  customOfflinePayment: string;
675
678
  customOfflinePaymentHeader: string;
679
+ customOrderNumber: string;
676
680
  customServiceCharge: string;
677
681
  customTime: string;
678
682
  day: string;
@@ -805,6 +809,7 @@ export declare const i18nMessages: {
805
809
  terminalScanPay: string;
806
810
  terminalQrPay: string;
807
811
  rate: string;
812
+ rateLimitWarning: string;
808
813
  remoteId: string;
809
814
  restaurant: string;
810
815
  restaurantAsPickupPoint: string;