@feedmepos/mf-order-setting 0.0.50 → 0.0.52

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 (42) hide show
  1. package/dist/{KioskDevicesView-u14hzPbE.js → KioskDevicesView-D_YT-CL0.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Bxv6oiFw.js} +2 -2
  3. package/dist/KioskSettingView-DS5vEQ07.js +573 -0
  4. package/dist/{KioskView-M8V91gD5.js → KioskView-B8NHcyGz.js} +111 -108
  5. package/dist/{OrderSettingsView-Bl3LshG3.js → OrderSettingsView-BhEN-2ZZ.js} +2940 -2941
  6. package/dist/{app-CLewMjcd.js → app-BWFBpJUR.js} +20 -12
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-DCTYRWyD.js → dayjs.min-CD9R3x-Y.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +8 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +8 -0
  11. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
  13. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  14. package/dist/{index-B7LtJeBJ.js → index-Bjwv8B4h.js} +2 -2
  15. package/dist/{menu.dto-Co7iXHNr.js → menu.dto-Wzm4Tz0i.js} +1577 -1572
  16. package/dist/package/entity/food-court/order.do.d.ts +26 -1
  17. package/dist/package/entity/food-court/order.dto.d.ts +0 -3
  18. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +15 -0
  19. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +18 -0
  20. package/dist/package/entity/order/order-item/order-item.dto.d.ts +30 -0
  21. package/dist/package/entity/order/order.do.d.ts +8 -0
  22. package/dist/package/entity/order/order.dto.d.ts +118 -0
  23. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +20 -0
  24. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +23 -0
  25. package/dist/package/entity/order-platform/menu.dto.d.ts +34 -0
  26. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
  27. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -0
  28. package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
  29. package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
  30. package/dist/package/entity/queue/queue.dto.d.ts +25 -0
  31. package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
  32. package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
  33. package/package.json +1 -1
  34. package/src/locales/en-US.json +3 -1
  35. package/src/locales/ja-JP.json +11 -9
  36. package/src/locales/th-TH.json +3 -1
  37. package/src/locales/zh-CN.json +3 -1
  38. package/src/modules/order-setting/kiosk/interface.ts +15 -13
  39. package/src/stores/order-setting/mapper.ts +16 -13
  40. package/src/views/kiosk/settings/KioskSettingView.vue +43 -23
  41. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +3 -1
  42. package/dist/KioskSettingView-DmvtZcV1.js +0 -553
@@ -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",
@@ -453,6 +455,8 @@ const D = {
453
455
  deliveryZone: "配送区域",
454
456
  deviceBinding: "设备绑定",
455
457
  deviceDetails: "设备详情",
458
+ otaChannel: "OTA 渠道",
459
+ otaChannelHint: "可选。留空将使用默认的 OTA 源。",
456
460
  dineIn: "堂食",
457
461
  dineInCanTakeaway: "允许外带",
458
462
  driveThru: "得来速",
@@ -811,6 +815,8 @@ const D = {
811
815
  deliveryZone: "โซนการจัดส่ง",
812
816
  deviceBinding: "การผูกอุปกรณ์",
813
817
  deviceDetails: "รายละเอียดอุปกรณ์",
818
+ otaChannel: "ช่อง OTA",
819
+ otaChannelHint: "ไม่บังคับ เว้นว่างเพื่อใช้ฟีด OTA เริ่มต้น",
814
820
  dineIn: "รับประทานอาหารที่ร้าน",
815
821
  dineInCanTakeaway: "อนุญาตให้นำกลับบ้าน",
816
822
  driveThru: "ไดรฟ์ทรู",
@@ -1064,9 +1070,9 @@ const D = {
1064
1070
  promotion: "โปรโมชั่น",
1065
1071
  voucher: "บัตรกำนัล"
1066
1072
  }
1067
- }, I = {
1068
- order: T
1069
1073
  }, A = {
1074
+ order: T
1075
+ }, I = {
1070
1076
  accept: "受け入れる",
1071
1077
  acceptedPayment: "受け付けた支払い",
1072
1078
  acceptQueue: "待ち行列を受け付ける",
@@ -1162,6 +1168,8 @@ const D = {
1162
1168
  deliveryZone: "配達エリア",
1163
1169
  deviceBinding: "デバイス紐付け",
1164
1170
  deviceDetails: "デバイス詳細",
1171
+ otaChannel: "OTAチャネル",
1172
+ otaChannelHint: "任意。空欄の場合はデフォルトのOTAフィードを使用します。",
1165
1173
  dineIn: "店内飲食",
1166
1174
  dineInCanTakeaway: "テイクアウト許可",
1167
1175
  driveThru: "ドライブスルー",
@@ -1415,7 +1423,7 @@ const D = {
1415
1423
  promotion: "プロモーション",
1416
1424
  voucher: "バウチャー"
1417
1425
  }
1418
- }, w = {
1426
+ }, O = {
1419
1427
  title: "メニュー",
1420
1428
  common: {
1421
1429
  actions: {
@@ -2829,9 +2837,9 @@ const D = {
2829
2837
  tax_setting: {
2830
2838
  title: "税金設定"
2831
2839
  }
2832
- }, O = {
2833
- order: A,
2834
- menu: w
2840
+ }, w = {
2841
+ order: I,
2842
+ menu: O
2835
2843
  }, m = v(null), g = () => m.value;
2836
2844
  function R(t) {
2837
2845
  m.value || (m.value = t);
@@ -2942,28 +2950,28 @@ const E = { class: "flex-1 overflow-auto" }, H = /* @__PURE__ */ b({
2942
2950
  {
2943
2951
  path: u.KioskRoute,
2944
2952
  name: "Kiosk",
2945
- component: () => import("./KioskView-M8V91gD5.js")
2953
+ component: () => import("./KioskView-B8NHcyGz.js")
2946
2954
  },
2947
2955
  {
2948
2956
  path: u.KioskDeviceRoute,
2949
2957
  name: "Kiosk Device",
2950
- component: () => import("./KioskDevicesView-u14hzPbE.js")
2958
+ component: () => import("./KioskDevicesView-D_YT-CL0.js")
2951
2959
  },
2952
2960
  {
2953
2961
  path: u.KioskOrderSettingRoute,
2954
2962
  name: "Kiosk Order Setting",
2955
- component: () => import("./KioskSettingView-DmvtZcV1.js")
2963
+ component: () => import("./KioskSettingView-DS5vEQ07.js")
2956
2964
  },
2957
2965
  {
2958
2966
  path: u.OrderSettingView,
2959
2967
  name: "Order Setting View",
2960
- component: () => import("./OrderSettingsView-Bl3LshG3.js")
2968
+ component: () => import("./OrderSettingsView-BhEN-2ZZ.js")
2961
2969
  }
2962
2970
  ], j = {
2963
2971
  "en-US": C,
2964
2972
  "zh-CN": _,
2965
- "th-TH": I,
2966
- "ja-JP": O
2973
+ "th-TH": A,
2974
+ "ja-JP": w
2967
2975
  };
2968
2976
  export {
2969
2977
  H as _,
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, i as e, r as o } from "./app-CLewMjcd.js";
1
+ import { _ as a, i as e, r as o } from "./app-BWFBpJUR.js";
2
2
  export {
3
3
  a as FmApp,
4
4
  e as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { j as nt, g as kt, c as Dt } from "./menu.dto-Co7iXHNr.js";
1
+ import { j as nt, g as kt, c as Dt } from "./menu.dto-Wzm4Tz0i.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;
@@ -456,6 +458,8 @@ export declare const i18nMessages: {
456
458
  deliveryZone: string;
457
459
  deviceBinding: string;
458
460
  deviceDetails: string;
461
+ otaChannel: string;
462
+ otaChannelHint: string;
459
463
  dineIn: string;
460
464
  dineInCanTakeaway: string;
461
465
  driveThru: string;
@@ -815,6 +819,8 @@ export declare const i18nMessages: {
815
819
  deliveryZone: string;
816
820
  deviceBinding: string;
817
821
  deviceDetails: string;
822
+ otaChannel: string;
823
+ otaChannelHint: string;
818
824
  dineIn: string;
819
825
  dineInCanTakeaway: string;
820
826
  driveThru: string;
@@ -1167,6 +1173,8 @@ export declare const i18nMessages: {
1167
1173
  deliveryZone: string;
1168
1174
  deviceBinding: string;
1169
1175
  deviceDetails: string;
1176
+ otaChannel: string;
1177
+ otaChannelHint: string;
1170
1178
  dineIn: string;
1171
1179
  dineInCanTakeaway: string;
1172
1180
  driveThru: 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;
@@ -455,6 +457,8 @@ export declare const i18nMessages: {
455
457
  deliveryZone: string;
456
458
  deviceBinding: string;
457
459
  deviceDetails: string;
460
+ otaChannel: string;
461
+ otaChannelHint: string;
458
462
  dineIn: string;
459
463
  dineInCanTakeaway: string;
460
464
  driveThru: string;
@@ -814,6 +818,8 @@ export declare const i18nMessages: {
814
818
  deliveryZone: string;
815
819
  deviceBinding: string;
816
820
  deviceDetails: string;
821
+ otaChannel: string;
822
+ otaChannelHint: string;
817
823
  dineIn: string;
818
824
  dineInCanTakeaway: string;
819
825
  driveThru: string;
@@ -1166,6 +1172,8 @@ export declare const i18nMessages: {
1166
1172
  deliveryZone: string;
1167
1173
  deviceBinding: string;
1168
1174
  deviceDetails: string;
1175
+ otaChannel: string;
1176
+ otaChannelHint: string;
1169
1177
  dineIn: string;
1170
1178
  dineInCanTakeaway: string;
1171
1179
  driveThru: string;
@@ -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;
@@ -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?: {