@feedmepos/mf-order-setting 0.0.49 → 0.0.50

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 (46) hide show
  1. package/dist/{KioskDevicesView-Ch_mWJz9.js → KioskDevicesView-u14hzPbE.js} +1 -1
  2. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js +501 -0
  3. package/dist/{KioskSettingView-CaBhf48e.js → KioskSettingView-DmvtZcV1.js} +1 -1
  4. package/dist/KioskView-M8V91gD5.js +474 -0
  5. package/dist/{OrderSettingsView-CRgoLOD2.js → OrderSettingsView-Bl3LshG3.js} +4 -4
  6. package/dist/{app-CDTAjXj9.js → app-CLewMjcd.js} +67 -19
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-dI_j30pv.js → dayjs.min-DCTYRWyD.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +48 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +48 -0
  11. package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
  12. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
  13. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +6 -3
  14. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -2
  15. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  16. package/dist/{index-B8U5Sawr.js → index-B7LtJeBJ.js} +2 -2
  17. package/dist/{menu.dto-qVeqpSdz.js → menu.dto-Co7iXHNr.js} +6345 -6286
  18. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +104 -12
  19. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +106 -6
  20. package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
  21. package/dist/package/entity/kiosk/kiosk.dto.d.ts +44 -0
  22. package/dist/package/entity/order/order.enum.d.ts +2 -0
  23. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +62 -0
  24. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +178 -0
  25. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +15 -0
  26. package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +1834 -15
  27. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +13 -13
  28. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
  29. package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +528 -805
  30. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +8 -5
  31. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
  32. package/dist/package/entity/order-platform/order-platform.dto.d.ts +0 -20
  33. package/dist/package/entity/queue/queue.dto.d.ts +20 -0
  34. package/package.json +1 -1
  35. package/src/locales/en-US.json +12 -0
  36. package/src/locales/ja-JP.json +12 -0
  37. package/src/locales/th-TH.json +12 -0
  38. package/src/locales/zh-CN.json +12 -0
  39. package/src/modules/kiosk/interface.ts +1 -0
  40. package/src/stores/kiosk/mapper.ts +1 -0
  41. package/src/views/kiosk/KioskSummary.vue +37 -31
  42. package/src/views/kiosk/KioskView.vue +4 -1
  43. package/src/views/kiosk/devices/KioskDeviceCard.vue +205 -89
  44. package/src/views/kiosk/devices/KioskDevicesView.vue +133 -17
  45. package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DV2HYd8u.js +0 -306
  46. package/dist/KioskView-BGm-emCw.js +0 -452
@@ -301,6 +301,18 @@ export declare const i18nMessages: {
301
301
  unbindKioskDeviceWarning: string;
302
302
  unbindSuccess: string;
303
303
  unbindWarning: string;
304
+ searchDevices: string;
305
+ allTypes: string;
306
+ tabletOnly: string;
307
+ kioskOnly: string;
308
+ showingDevices: string;
309
+ noDevicesMatch: string;
310
+ noDevicesBound: string;
311
+ clickToCopy: string;
312
+ machineIdCopied: string;
313
+ copyFailed: string;
314
+ pinSet: string;
315
+ noPin: string;
304
316
  unknown: string;
305
317
  update: string;
306
318
  updatedAt: string;
@@ -648,6 +660,18 @@ export declare const i18nMessages: {
648
660
  unbindKioskDeviceWarning: string;
649
661
  unbindSuccess: string;
650
662
  unbindWarning: string;
663
+ searchDevices: string;
664
+ allTypes: string;
665
+ tabletOnly: string;
666
+ kioskOnly: string;
667
+ showingDevices: string;
668
+ noDevicesMatch: string;
669
+ noDevicesBound: string;
670
+ clickToCopy: string;
671
+ machineIdCopied: string;
672
+ copyFailed: string;
673
+ pinSet: string;
674
+ noPin: string;
651
675
  unknown: string;
652
676
  update: string;
653
677
  updatedAt: string;
@@ -989,6 +1013,18 @@ export declare const i18nMessages: {
989
1013
  unbindKioskDeviceWarning: string;
990
1014
  unbindSuccess: string;
991
1015
  unbindWarning: string;
1016
+ searchDevices: string;
1017
+ allTypes: string;
1018
+ tabletOnly: string;
1019
+ kioskOnly: string;
1020
+ showingDevices: string;
1021
+ noDevicesMatch: string;
1022
+ noDevicesBound: string;
1023
+ clickToCopy: string;
1024
+ machineIdCopied: string;
1025
+ copyFailed: string;
1026
+ pinSet: string;
1027
+ noPin: string;
992
1028
  unknown: string;
993
1029
  update: string;
994
1030
  updatedAt: string;
@@ -1329,6 +1365,18 @@ export declare const i18nMessages: {
1329
1365
  unbindKioskDeviceWarning: string;
1330
1366
  unbindSuccess: string;
1331
1367
  unbindWarning: string;
1368
+ searchDevices: string;
1369
+ allTypes: string;
1370
+ tabletOnly: string;
1371
+ kioskOnly: string;
1372
+ showingDevices: string;
1373
+ noDevicesMatch: string;
1374
+ noDevicesBound: string;
1375
+ clickToCopy: string;
1376
+ machineIdCopied: string;
1377
+ copyFailed: string;
1378
+ pinSet: string;
1379
+ noPin: string;
1332
1380
  unknown: string;
1333
1381
  update: string;
1334
1382
  updatedAt: string;
@@ -300,6 +300,18 @@ export declare const i18nMessages: {
300
300
  unbindKioskDeviceWarning: string;
301
301
  unbindSuccess: string;
302
302
  unbindWarning: string;
303
+ searchDevices: string;
304
+ allTypes: string;
305
+ tabletOnly: string;
306
+ kioskOnly: string;
307
+ showingDevices: string;
308
+ noDevicesMatch: string;
309
+ noDevicesBound: string;
310
+ clickToCopy: string;
311
+ machineIdCopied: string;
312
+ copyFailed: string;
313
+ pinSet: string;
314
+ noPin: string;
303
315
  unknown: string;
304
316
  update: string;
305
317
  updatedAt: string;
@@ -647,6 +659,18 @@ export declare const i18nMessages: {
647
659
  unbindKioskDeviceWarning: string;
648
660
  unbindSuccess: string;
649
661
  unbindWarning: string;
662
+ searchDevices: string;
663
+ allTypes: string;
664
+ tabletOnly: string;
665
+ kioskOnly: string;
666
+ showingDevices: string;
667
+ noDevicesMatch: string;
668
+ noDevicesBound: string;
669
+ clickToCopy: string;
670
+ machineIdCopied: string;
671
+ copyFailed: string;
672
+ pinSet: string;
673
+ noPin: string;
650
674
  unknown: string;
651
675
  update: string;
652
676
  updatedAt: string;
@@ -988,6 +1012,18 @@ export declare const i18nMessages: {
988
1012
  unbindKioskDeviceWarning: string;
989
1013
  unbindSuccess: string;
990
1014
  unbindWarning: string;
1015
+ searchDevices: string;
1016
+ allTypes: string;
1017
+ tabletOnly: string;
1018
+ kioskOnly: string;
1019
+ showingDevices: string;
1020
+ noDevicesMatch: string;
1021
+ noDevicesBound: string;
1022
+ clickToCopy: string;
1023
+ machineIdCopied: string;
1024
+ copyFailed: string;
1025
+ pinSet: string;
1026
+ noPin: string;
991
1027
  unknown: string;
992
1028
  update: string;
993
1029
  updatedAt: string;
@@ -1328,6 +1364,18 @@ export declare const i18nMessages: {
1328
1364
  unbindKioskDeviceWarning: string;
1329
1365
  unbindSuccess: string;
1330
1366
  unbindWarning: string;
1367
+ searchDevices: string;
1368
+ allTypes: string;
1369
+ tabletOnly: string;
1370
+ kioskOnly: string;
1371
+ showingDevices: string;
1372
+ noDevicesMatch: string;
1373
+ noDevicesBound: string;
1374
+ clickToCopy: string;
1375
+ machineIdCopied: string;
1376
+ copyFailed: string;
1377
+ pinSet: string;
1378
+ noPin: string;
1331
1379
  unknown: string;
1332
1380
  update: string;
1333
1381
  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
  }
@@ -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>;
@@ -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;