@feedmepos/mf-order-setting 0.0.56 → 0.0.57

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 (38) hide show
  1. package/dist/{KioskDevicesView-CMKNjgWx.js → KioskDevicesView-CVnUSyRk.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B1sNvlUC.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-D-XcAx8n.js} +2 -2
  3. package/dist/KioskSettingView-CyAxzbP1.js +744 -0
  4. package/dist/{KioskView-Cl6eCUYX.js → KioskView-DYESsVun.js} +60 -57
  5. package/dist/{OrderSettingsView-Dj0Nd22Z.js → OrderSettingsView-BKkoSdAX.js} +4 -4
  6. package/dist/{app-DpOjaFJw.js → app-DaX8cX_Q.js} +126 -118
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-CuRr-wlf.js → dayjs.min-puCJYept.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-Bj0bCGTm.js → index-CtMw6yZU.js} +1 -1
  15. package/dist/{menu.dto-DAh1J2ES.js → menu.dto-Csu6ZBea.js} +2 -0
  16. package/dist/package/entity/food-court/order.do.d.ts +4 -24
  17. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +1 -12341
  18. package/dist/package/entity/order/order.do.d.ts +1 -6357
  19. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
  20. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -0
  21. package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
  22. package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
  23. package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
  24. package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
  25. package/package.json +1 -1
  26. package/src/locales/en-US.json +2 -0
  27. package/src/locales/ja-JP.json +11 -9
  28. package/src/locales/th-TH.json +2 -0
  29. package/src/locales/zh-CN.json +2 -0
  30. package/src/main.ts +5 -5
  31. package/src/modules/order-setting/kiosk/interface.ts +19 -17
  32. package/src/stores/order-setting/mapper.ts +66 -63
  33. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +19 -1
  34. package/src/views/kiosk/settings/KioskSettingView.vue +68 -48
  35. package/src/views/order-settings/OrderSettingsView.vue +1 -1
  36. package/src/views/order-settings/drive-thru/DriveThruSetting.vue +4 -4
  37. package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +1 -5
  38. package/dist/KioskSettingView-D1tvuPDv.js +0 -722
@@ -1,4 +1,4 @@
1
- import { g as i, C as P, S as _, r as g } from "./menu.dto-DAh1J2ES.js";
1
+ import { g as i, C as P, S as _, r as g } from "./menu.dto-Csu6ZBea.js";
2
2
  async function R() {
3
3
  const r = await g().get("/order-settings");
4
4
  return i(r);
@@ -67418,6 +67418,7 @@ const Sn = g.string().length(7).regex(/^#/), ik = g.object({
67418
67418
  takeaway: CW.nullish(),
67419
67419
  paymentSetting: AW.nullish(),
67420
67420
  menuItem: jW.nullish(),
67421
+ otaChannel: g.string().nullish(),
67421
67422
  coverImageLandscape: g.string().nullish(),
67422
67423
  coverImagePortrait: g.string().nullish()
67423
67424
  }), lM = g.record(ok, g.string()), ZI = g.object({
@@ -67453,6 +67454,7 @@ const Sn = g.string().length(7).regex(/^#/), ik = g.object({
67453
67454
  takeaway: qW.nullish(),
67454
67455
  paymentSetting: DW.nullish(),
67455
67456
  menuItem: BW.nullish(),
67457
+ otaChannel: g.string().nullish(),
67456
67458
  coverImageLandscape: g.string().nullish(),
67457
67459
  coverImagePortrait: g.string().nullish()
67458
67460
  }).default({
@@ -1,36 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  export declare const F_FOOD_COURT_CUSTOMER_STATUS: z.ZodEnum<["DRAFT", "COMPLETE"]>;
3
- export declare const FdoFoodCourtOrderPayment: z.ZodObject<{
4
- type: z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>;
5
- transactions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
6
- }, "strip", z.ZodTypeAny, {
7
- transactions?: string[] | null | undefined;
8
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
9
- }, {
10
- transactions?: string[] | null | undefined;
11
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
12
- }>;
3
+ export declare const FdoFoodCourtOrderPayment: z.AnyZodObject;
13
4
  export declare const FdoFoodCourtOrder: z.ZodObject<{
14
5
  _id: z.ZodEffects<z.ZodString, string, string>;
15
6
  foodCourtId: z.ZodEffects<z.ZodString, string, string>;
16
7
  orderIds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
17
- payment: z.ZodOptional<z.ZodObject<{
18
- type: z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>;
19
- transactions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
20
- }, "strip", z.ZodTypeAny, {
21
- transactions?: string[] | null | undefined;
22
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
23
- }, {
24
- transactions?: string[] | null | undefined;
25
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
26
- }>>;
8
+ payment: z.ZodOptional<z.AnyZodObject>;
27
9
  customerStatus: z.ZodDefault<z.ZodEnum<["DRAFT", "COMPLETE"]>>;
28
10
  lastUpdatedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
29
11
  }, "strip", z.ZodTypeAny, {
30
12
  lastUpdatedAt?: Date | null | undefined;
31
13
  payment?: {
32
- transactions?: string[] | null | undefined;
33
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
14
+ [x: string]: any;
34
15
  } | undefined;
35
16
  _id: string;
36
17
  foodCourtId: string;
@@ -39,8 +20,7 @@ export declare const FdoFoodCourtOrder: z.ZodObject<{
39
20
  }, {
40
21
  lastUpdatedAt?: Date | null | undefined;
41
22
  payment?: {
42
- transactions?: string[] | null | undefined;
43
- type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
23
+ [x: string]: any;
44
24
  } | undefined;
45
25
  customerStatus?: "COMPLETE" | "DRAFT" | undefined;
46
26
  _id: string;