@feedmepos/mf-order-setting 0.0.69-prod → 0.0.70-prod

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.
@@ -1,4 +1,4 @@
1
- import { g as i, x as _, S as C, r as g } from "./queue-transfer.dto-CmjGH-Fa.js";
1
+ import { g as i, v as _, S as C, r as g } from "./queue-transfer.dto-DTfr17-h.js";
2
2
  async function R() {
3
3
  const r = await g().get("/order-settings");
4
4
  return i(r);
@@ -41,11 +41,11 @@ function T(r) {
41
41
  return e;
42
42
  }
43
43
  function b(r, e) {
44
- const [t, c, s] = E(r, e), a = h(e == null ? void 0 : e.locale), n = L(e == null ? void 0 : e.locale);
45
- return t + c.map(x(a, n)).join(" ") + s;
44
+ const [t, c, s] = x(r, e), a = h(e == null ? void 0 : e.locale), n = L(e == null ? void 0 : e.locale);
45
+ return t + c.map(E(a, n)).join(" ") + s;
46
46
  }
47
47
  function O(r, e) {
48
- const [t, c, s] = E(r, e), a = h(e == null ? void 0 : e.locale), n = L(e == null ? void 0 : e.locale), l = x(a, n);
48
+ const [t, c, s] = x(r, e), a = h(e == null ? void 0 : e.locale), n = L(e == null ? void 0 : e.locale), l = E(a, n);
49
49
  return t + c.map((u, P) => P === 0 ? l(u) : a(u)).join(" ") + s;
50
50
  }
51
51
  function h(r) {
@@ -54,10 +54,10 @@ function h(r) {
54
54
  function L(r) {
55
55
  return (e) => e.toLocaleUpperCase(r);
56
56
  }
57
- function x(r, e) {
57
+ function E(r, e) {
58
58
  return (t) => `${e(t[0])}${r(t.slice(1))}`;
59
59
  }
60
- function E(r, e = {}) {
60
+ function x(r, e = {}) {
61
61
  const t = e.split ?? (e.separateNumbers ? T : o), c = e.prefixCharacters ?? d, s = e.suffixCharacters ?? d;
62
62
  let a = 0, n = r.length;
63
63
  for (; a < r.length; ) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Q, ref as $, resolveComponent as O, openBlock as w, createElementBlock as T, createElementVNode as P, toDisplayString as C, createVNode as D, unref as R, createBlock as j, computed as I, watch as oe, onMounted as le, withCtx as M, createTextVNode as se, createCommentVNode as E, Fragment as ae, renderList as ue, renderSlot as ie } from "vue";
2
- import { e as h } from "./app-C3dbogci.js";
2
+ import { e as h } from "./app-CMmf-Znb.js";
3
3
  import { useDialog as de, useSnackbar as ce } from "@feedmepos/ui-library";
4
4
  import { useI18n as G, useCoreStore as ne } from "@feedmepos/mf-common";
5
5
  import { defineStore as pe } from "pinia";
6
- import { r as A, g as n, y as N, S as z, f as q } from "./queue-transfer.dto-CmjGH-Fa.js";
6
+ import { r as A, g as n, w as N, S as z, f as q } from "./queue-transfer.dto-DTfr17-h.js";
7
7
  const ye = /* @__PURE__ */ Q({
8
8
  __name: "OfflinePaymentTypeDialogContent",
9
9
  props: {
@@ -48,6 +48,7 @@ export declare const FdoIncomingOrderConfig: z.ZodObject<{
48
48
  printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
49
49
  overridePax: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
50
50
  remarkAction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["keep", "override", "concat"]>>>;
51
+ canMerge: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
51
52
  }, "strip", z.ZodTypeAny, {
52
53
  printChecklist?: boolean | null | undefined;
53
54
  taxes?: {
@@ -62,6 +63,7 @@ export declare const FdoIncomingOrderConfig: z.ZodObject<{
62
63
  voidReturnStock?: boolean | null | undefined;
63
64
  overridePax?: boolean | null | undefined;
64
65
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
66
+ canMerge?: boolean | null | undefined;
65
67
  autoAccept: boolean;
66
68
  autoSend: boolean;
67
69
  autoCloseBill: boolean;
@@ -79,6 +81,7 @@ export declare const FdoIncomingOrderConfig: z.ZodObject<{
79
81
  voidReturnStock?: boolean | null | undefined;
80
82
  overridePax?: boolean | null | undefined;
81
83
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
84
+ canMerge?: boolean | null | undefined;
82
85
  autoAccept: boolean;
83
86
  autoSend: boolean;
84
87
  autoCloseBill: boolean;
@@ -4607,6 +4607,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
4607
4607
  printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4608
4608
  overridePax: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4609
4609
  remarkAction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["keep", "override", "concat"]>>>;
4610
+ canMerge: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4610
4611
  }, "strip", z.ZodTypeAny, {
4611
4612
  printChecklist?: boolean | null | undefined;
4612
4613
  taxes?: {
@@ -4621,6 +4622,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
4621
4622
  voidReturnStock?: boolean | null | undefined;
4622
4623
  overridePax?: boolean | null | undefined;
4623
4624
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
4625
+ canMerge?: boolean | null | undefined;
4624
4626
  autoAccept: boolean;
4625
4627
  autoSend: boolean;
4626
4628
  autoCloseBill: boolean;
@@ -4638,6 +4640,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
4638
4640
  voidReturnStock?: boolean | null | undefined;
4639
4641
  overridePax?: boolean | null | undefined;
4640
4642
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
4643
+ canMerge?: boolean | null | undefined;
4641
4644
  autoAccept: boolean;
4642
4645
  autoSend: boolean;
4643
4646
  autoCloseBill: boolean;
@@ -5240,6 +5243,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
5240
5243
  voidReturnStock?: boolean | null | undefined;
5241
5244
  overridePax?: boolean | null | undefined;
5242
5245
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
5246
+ canMerge?: boolean | null | undefined;
5243
5247
  autoAccept: boolean;
5244
5248
  autoSend: boolean;
5245
5249
  autoCloseBill: boolean;
@@ -5841,6 +5845,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
5841
5845
  voidReturnStock?: boolean | null | undefined;
5842
5846
  overridePax?: boolean | null | undefined;
5843
5847
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
5848
+ canMerge?: boolean | null | undefined;
5844
5849
  autoAccept: boolean;
5845
5850
  autoSend: boolean;
5846
5851
  autoCloseBill: boolean;
@@ -5886,6 +5891,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
5886
5891
  printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5887
5892
  overridePax: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5888
5893
  remarkAction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["keep", "override", "concat"]>>>;
5894
+ canMerge: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5889
5895
  }, "strip", z.ZodTypeAny, {
5890
5896
  printChecklist?: boolean | null | undefined;
5891
5897
  taxes?: {
@@ -5900,6 +5906,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
5900
5906
  voidReturnStock?: boolean | null | undefined;
5901
5907
  overridePax?: boolean | null | undefined;
5902
5908
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
5909
+ canMerge?: boolean | null | undefined;
5903
5910
  autoAccept: boolean;
5904
5911
  autoSend: boolean;
5905
5912
  autoCloseBill: boolean;
@@ -5917,6 +5924,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
5917
5924
  voidReturnStock?: boolean | null | undefined;
5918
5925
  overridePax?: boolean | null | undefined;
5919
5926
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
5927
+ canMerge?: boolean | null | undefined;
5920
5928
  autoAccept: boolean;
5921
5929
  autoSend: boolean;
5922
5930
  autoCloseBill: boolean;
@@ -10504,6 +10512,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
10504
10512
  voidReturnStock?: boolean | null | undefined;
10505
10513
  overridePax?: boolean | null | undefined;
10506
10514
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
10515
+ canMerge?: boolean | null | undefined;
10507
10516
  autoAccept: boolean;
10508
10517
  autoSend: boolean;
10509
10518
  autoCloseBill: boolean;
@@ -11106,6 +11115,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
11106
11115
  voidReturnStock?: boolean | null | undefined;
11107
11116
  overridePax?: boolean | null | undefined;
11108
11117
  remarkAction?: "concat" | "override" | "keep" | null | undefined;
11118
+ canMerge?: boolean | null | undefined;
11109
11119
  autoAccept: boolean;
11110
11120
  autoSend: boolean;
11111
11121
  autoCloseBill: boolean;
@@ -474,8 +474,10 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
474
474
  status: z.ZodEnum<["ARRIVED", "EXPIRED", "CALLED", "QUEUE", "CANCEL"]>;
475
475
  createdAt: z.ZodString;
476
476
  cart: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
477
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
478
  }, "strip", z.ZodTypeAny, {
478
479
  remark?: string | null | undefined;
480
+ catalogId?: string | null | undefined;
479
481
  pax?: number | null | undefined;
480
482
  userId?: string | null | undefined;
481
483
  pf_restaurant?: any;
@@ -490,6 +492,7 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
490
492
  cart: any[];
491
493
  }, {
492
494
  remark?: string | null | undefined;
495
+ catalogId?: string | null | undefined;
493
496
  pax?: number | null | undefined;
494
497
  userId?: string | null | undefined;
495
498
  pf_restaurant?: any;
@@ -6905,9 +6908,11 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6905
6908
  }>>>>;
6906
6909
  /** @deprecated */
6907
6910
  cart: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
6911
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6908
6912
  }, "strip", z.ZodTypeAny, {
6909
6913
  orderId?: string | null | undefined;
6910
6914
  remark?: string | null | undefined;
6915
+ catalogId?: string | null | undefined;
6911
6916
  pax?: number | null | undefined;
6912
6917
  pf_order?: {
6913
6918
  bill?: any;
@@ -7751,6 +7756,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7751
7756
  }, {
7752
7757
  orderId?: string | null | undefined;
7753
7758
  remark?: string | null | undefined;
7759
+ catalogId?: string | null | undefined;
7754
7760
  pax?: number | null | undefined;
7755
7761
  pf_order?: {
7756
7762
  bill?: any;
@@ -8600,15 +8606,18 @@ export declare const FdtoCreateQueueRequest: z.ZodObject<{
8600
8606
  pax: z.ZodOptional<z.ZodNumber>;
8601
8607
  isSub: z.ZodOptional<z.ZodBoolean>;
8602
8608
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8609
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8603
8610
  }, "strip", z.ZodTypeAny, {
8604
8611
  name?: string | undefined;
8605
8612
  remark?: string | null | undefined;
8613
+ catalogId?: string | null | undefined;
8606
8614
  pax?: number | undefined;
8607
8615
  isSub?: boolean | undefined;
8608
8616
  phoneNumber: string;
8609
8617
  }, {
8610
8618
  name?: string | undefined;
8611
8619
  remark?: string | null | undefined;
8620
+ catalogId?: string | null | undefined;
8612
8621
  pax?: number | undefined;
8613
8622
  isSub?: boolean | undefined;
8614
8623
  phoneNumber: string;