@feedmepos/mf-menu 0.31.29-prod → 0.31.30-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.
Files changed (65) hide show
  1. package/dist/{App-CMyk-4AP.js → App-BJRzeuFa.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DUjX2e36.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CZvBKbuO.js} +2 -2
  3. package/dist/{Catalog-Cw5zYfIL.js → Catalog-BasadeTa.js} +5 -5
  4. package/dist/{Category-HZX511Ux.js → Category-BKOY8EOj.js} +5 -5
  5. package/dist/{Category-D-QPYuce.js → Category-DpSmiU_4.js} +4 -4
  6. package/dist/{CookingGuide-Bt3yJKCA.js → CookingGuide-DCWEdukp.js} +3 -3
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BxXs-hTQ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-31K-BPy7.js} +1 -1
  8. package/dist/{Group-2WjeuJCg.js → Group-BUtvSvXi.js} +1 -1
  9. package/dist/{Group-Q4qL57Y5.js → Group-BcBLIj_K.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-CTmnzXb0.js → Group.vue_vue_type_script_setup_true_lang-BmDoRh6L.js} +8 -8
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-ChYyAvkk.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5IfysZd.js} +3 -3
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CGqRGVlp.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Ch1zOwMj.js} +317 -317
  13. package/dist/{Ingredient-B70lpP-Q.js → Ingredient-CeX1_hSW.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-KJ2LJBeb.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cmasxzl4.js} +2 -2
  15. package/dist/{LinkProductSideSheet-BLAl_qoF.js → LinkProductSideSheet-CPVOjDNN.js} +10 -10
  16. package/dist/{MenuSetting-B8_mOqtt.js → MenuSetting-abWRuMaU.js} +4 -4
  17. package/dist/{PrintRoute-Bn2uLVtS.js → PrintRoute-pQO7apMR.js} +3 -3
  18. package/dist/{Product-CZKM9NYe.js → Product-DQcf5E2K.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-B5GWCs2t.js → Product.vue_vue_type_script_setup_true_lang-ChHIX135.js} +11 -11
  20. package/dist/{ProductInternalTools-CP0U2zKu.js → ProductInternalTools-BOlaurt5.js} +5 -5
  21. package/dist/{Products-CZndIzqL.js → Products-DGt539HS.js} +10 -10
  22. package/dist/{Publish-rWEr9KPU.js → Publish-SJDGikI0.js} +3 -3
  23. package/dist/{Recipe-DdsS8hD1.js → Recipe-CMdxgzrB.js} +4 -4
  24. package/dist/{Scheduler-BJuQehh7.js → Scheduler-B34-Fccv.js} +3 -3
  25. package/dist/{ServingSequence-awf57m3o.js → ServingSequence-Dym6Znae.js} +3 -3
  26. package/dist/{Setting-5bgL09SA.js → Setting-D_YP97kg.js} +4 -4
  27. package/dist/{Subcategory-DNNYtQIX.js → Subcategory-CkQWdeJH.js} +4 -4
  28. package/dist/{Takeaway-CkPJs_VK.js → Takeaway-CIQKIVnO.js} +1 -1
  29. package/dist/{Takeaway-Bk0WCnsw.js → Takeaway-Chy3gQJQ.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cic3lXSP.js → Takeaway.vue_vue_type_script_setup_true_lang-CbRJ01fX.js} +5 -5
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgPho0ew.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BQ27J77g.js} +12 -12
  32. package/dist/{Unit-ByI1kTCU.js → Unit-DKVBE9CN.js} +2 -2
  33. package/dist/{Variant-CskfGYC0.js → Variant-B1piUwDx.js} +3 -3
  34. package/dist/{_id_-ugAvUs79.js → _id_-DCsPotLb.js} +9 -9
  35. package/dist/app-BBFEsl2m.js +2063 -0
  36. package/dist/{app-ppru9sUj.js → app-Dj3OxAu7.js} +1 -1
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/src/app.d.ts +4 -0
  39. package/dist/apps/mf-menu/src/components/feature/InventoryManager/index.d.ts +2 -223
  40. package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductSideSheet.vue.d.ts +2 -0
  41. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +2 -0
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/{linked-status-A42gjyVD.js → linked-status-LG1xqIHi.js} +2 -2
  44. package/dist/assets/{override-menu-BN1IdF2m.js → override-menu-B0R9kJ6S.js} +2 -2
  45. package/dist/assets/{validate-menu-s_h4-vy1.js → validate-menu-C8xg1tJv.js} +2 -2
  46. package/dist/{catalog-BxSSNFKk.js → catalog-D5sr-EfC.js} +1 -1
  47. package/dist/{catalogSetting-Bpw8xIpV.js → catalogSetting-XHBfgqHs.js} +1 -1
  48. package/dist/{category-m2OV2dMK.js → category-CXTrCugk.js} +1 -1
  49. package/dist/{currency-B8VqeFp4.js → currency-BEtFNyYo.js} +1 -1
  50. package/dist/{dayjs.min-EVvlo7LL.js → dayjs.min-BCUiqFdZ.js} +1 -1
  51. package/dist/{index-BnUmaguT.js → index-CtWSiarU.js} +3 -3
  52. package/dist/{index-Daqvv4mX.js → index-DG0ove_n.js} +1 -1
  53. package/dist/{index-Cd9pDskw.js → index-jHw8foqu.js} +2 -2
  54. package/dist/{item-D03KCH0T.js → item-O2zZ6dTr.js} +2028 -2015
  55. package/dist/{jszip.min-FyS79FZm.js → jszip.min-Qyg6Ql31.js} +245 -245
  56. package/dist/{menu-DHpNXY4e.js → menu-BGcypjDs.js} +1 -1
  57. package/dist/{menu-uqtS2o-w.js → menu-B_DJ41Z4.js} +4 -4
  58. package/dist/mf-menu.css +1 -1
  59. package/dist/{priceTier-DgPiKhhP.js → priceTier-XQwbKyxQ.js} +1 -1
  60. package/dist/{scheduler-CZeKFAwZ.js → scheduler--ZJGj3Ah.js} +3 -3
  61. package/dist/{subcategory-CkoGJkAy.js → subcategory-DA63swab.js} +31 -31
  62. package/dist/{toExcel-Cb2UzJ4N.js → toExcel-BcJzFbY5.js} +2 -2
  63. package/dist/{unit-DiY2T4YH.js → unit-BQdfyaMq.js} +1 -1
  64. package/package.json +1 -1
  65. package/dist/app-DMCJ_R02.js +0 -2063
@@ -1,5 +1,5 @@
1
1
  import { defineStore as r } from "pinia";
2
- import { aq as a, ar as s, as as l } from "./menu-uqtS2o-w.js";
2
+ import { aq as a, ar as s, as as l } from "./menu-B_DJ41Z4.js";
3
3
  const u = {
4
4
  async read() {
5
5
  return a(await s().get("/public-setting"));
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, c as o, i as t, a as r, o as i, r as p, b as u } from "./app-DMCJ_R02.js";
1
+ import { F as e, c as o, i as t, a as r, o as i, r as p, b as u } from "./app-BBFEsl2m.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  o as catalogRoutes,
@@ -405,6 +405,7 @@ export declare const i18nMessages: {
405
405
  };
406
406
  option: {
407
407
  title: string;
408
+ subtitle: string;
408
409
  link_products: string;
409
410
  add_option: string;
410
411
  product_title: string;
@@ -1977,6 +1978,7 @@ export declare const i18nMessages: {
1977
1978
  };
1978
1979
  option: {
1979
1980
  title: string;
1981
+ subtitle: string;
1980
1982
  link_products: string;
1981
1983
  add_option: string;
1982
1984
  product_title: string;
@@ -3549,6 +3551,7 @@ export declare const i18nMessages: {
3549
3551
  };
3550
3552
  option: {
3551
3553
  title: string;
3554
+ subtitle: string;
3552
3555
  link_products: string;
3553
3556
  add_option: string;
3554
3557
  product_title: string;
@@ -5121,6 +5124,7 @@ export declare const i18nMessages: {
5121
5124
  };
5122
5125
  option: {
5123
5126
  title: string;
5127
+ subtitle: string;
5124
5128
  link_products: string;
5125
5129
  add_option: string;
5126
5130
  product_title: string;
@@ -1,223 +1,2 @@
1
- export declare const InventoryManagerForm: {
2
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
- bindingKey: {
4
- type: import("vue").PropType<string>;
5
- };
6
- title: {
7
- type: import("vue").PropType<string>;
8
- required: true;
9
- };
10
- initialValue: {
11
- type: import("vue").PropType<{
12
- measurement?: {
13
- name: string;
14
- id: string;
15
- abbrev: string;
16
- conversion: {
17
- amount: number;
18
- precision: number;
19
- };
20
- } | null | undefined;
21
- type: "SKU" | "RECIPE";
22
- id: string;
23
- amount: {
24
- amount: number;
25
- precision: number;
26
- };
27
- }[]>;
28
- required: true;
29
- };
30
- name: {
31
- type: import("vue").PropType<string>;
32
- required: true;
33
- };
34
- allowRefund: {
35
- type: import("vue").PropType<boolean>;
36
- };
37
- }>> & Readonly<{
38
- "onUpdate:inventory"?: ((inventory: {
39
- measurement?: {
40
- name: string;
41
- id: string;
42
- abbrev: string;
43
- conversion: {
44
- amount: number;
45
- precision: number;
46
- };
47
- } | null | undefined;
48
- type: "SKU" | "RECIPE";
49
- id: string;
50
- amount: {
51
- amount: number;
52
- precision: number;
53
- };
54
- }[]) => any) | undefined;
55
- }>, {
56
- getKey: () => string | undefined;
57
- trigger: (event?: any) => void;
58
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- "update:inventory": (inventory: {
60
- measurement?: {
61
- name: string;
62
- id: string;
63
- abbrev: string;
64
- conversion: {
65
- amount: number;
66
- precision: number;
67
- };
68
- } | null | undefined;
69
- type: "SKU" | "RECIPE";
70
- id: string;
71
- amount: {
72
- amount: number;
73
- precision: number;
74
- };
75
- }[]) => void;
76
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
77
- P: {};
78
- B: {};
79
- D: {};
80
- C: {};
81
- M: {};
82
- Defaults: {};
83
- }, Readonly<import("vue").ExtractPropTypes<{
84
- bindingKey: {
85
- type: import("vue").PropType<string>;
86
- };
87
- title: {
88
- type: import("vue").PropType<string>;
89
- required: true;
90
- };
91
- initialValue: {
92
- type: import("vue").PropType<{
93
- measurement?: {
94
- name: string;
95
- id: string;
96
- abbrev: string;
97
- conversion: {
98
- amount: number;
99
- precision: number;
100
- };
101
- } | null | undefined;
102
- type: "SKU" | "RECIPE";
103
- id: string;
104
- amount: {
105
- amount: number;
106
- precision: number;
107
- };
108
- }[]>;
109
- required: true;
110
- };
111
- name: {
112
- type: import("vue").PropType<string>;
113
- required: true;
114
- };
115
- allowRefund: {
116
- type: import("vue").PropType<boolean>;
117
- };
118
- }>> & Readonly<{
119
- "onUpdate:inventory"?: ((inventory: {
120
- measurement?: {
121
- name: string;
122
- id: string;
123
- abbrev: string;
124
- conversion: {
125
- amount: number;
126
- precision: number;
127
- };
128
- } | null | undefined;
129
- type: "SKU" | "RECIPE";
130
- id: string;
131
- amount: {
132
- amount: number;
133
- precision: number;
134
- };
135
- }[]) => any) | undefined;
136
- }>, {
137
- getKey: () => string | undefined;
138
- trigger: (event?: any) => void;
139
- }, {}, {}, {}, {}>;
140
- __isFragment?: undefined;
141
- __isTeleport?: undefined;
142
- __isSuspense?: undefined;
143
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
144
- bindingKey: {
145
- type: import("vue").PropType<string>;
146
- };
147
- title: {
148
- type: import("vue").PropType<string>;
149
- required: true;
150
- };
151
- initialValue: {
152
- type: import("vue").PropType<{
153
- measurement?: {
154
- name: string;
155
- id: string;
156
- abbrev: string;
157
- conversion: {
158
- amount: number;
159
- precision: number;
160
- };
161
- } | null | undefined;
162
- type: "SKU" | "RECIPE";
163
- id: string;
164
- amount: {
165
- amount: number;
166
- precision: number;
167
- };
168
- }[]>;
169
- required: true;
170
- };
171
- name: {
172
- type: import("vue").PropType<string>;
173
- required: true;
174
- };
175
- allowRefund: {
176
- type: import("vue").PropType<boolean>;
177
- };
178
- }>> & Readonly<{
179
- "onUpdate:inventory"?: ((inventory: {
180
- measurement?: {
181
- name: string;
182
- id: string;
183
- abbrev: string;
184
- conversion: {
185
- amount: number;
186
- precision: number;
187
- };
188
- } | null | undefined;
189
- type: "SKU" | "RECIPE";
190
- id: string;
191
- amount: {
192
- amount: number;
193
- precision: number;
194
- };
195
- }[]) => any) | undefined;
196
- }>, {
197
- getKey: () => string | undefined;
198
- trigger: (event?: any) => void;
199
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
200
- "update:inventory": (inventory: {
201
- measurement?: {
202
- name: string;
203
- id: string;
204
- abbrev: string;
205
- conversion: {
206
- amount: number;
207
- precision: number;
208
- };
209
- } | null | undefined;
210
- type: "SKU" | "RECIPE";
211
- id: string;
212
- amount: {
213
- amount: number;
214
- precision: number;
215
- };
216
- }[]) => void;
217
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
218
- $slots: {
219
- default?(_: {
220
- trigger: (event?: any) => void;
221
- }): any;
222
- };
223
- });
1
+ import Form from "./Form.vue";
2
+ export declare const InventoryManagerForm: typeof Form;
@@ -1,7 +1,9 @@
1
+ import type { F_ORDER_FROM } from "@feedmepos/menu/entity";
1
2
  import { type CategorizedItem } from "@/helper/menu";
2
3
  interface Item {
3
4
  _id: string;
4
5
  combinationKey?: string | null;
6
+ orderFrom?: F_ORDER_FROM;
5
7
  }
6
8
  export type LinkProductItem = Item;
7
9
  interface Props {
@@ -3,6 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
3
3
  priceTiers?: any;
4
4
  fallback?: any;
5
5
  menuStore?: MenuStoreLike | undefined;
6
+ disabled?: boolean | undefined;
6
7
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
8
  "update:priceTiers": (priceTiers: z.infer<z.ZodObject<{
8
9
  _id: z.ZodString;
@@ -814,6 +815,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
814
815
  priceTiers?: any;
815
816
  fallback?: any;
816
817
  menuStore?: MenuStoreLike | undefined;
818
+ disabled?: boolean | undefined;
817
819
  }>>> & Readonly<{
818
820
  "onUpdate:priceTiers"?: ((priceTiers: z.infer<z.ZodObject<{
819
821
  _id: z.ZodString;