@feedmepos/mf-inventory-portal 1.2.3 → 1.2.4-dev.1

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 (44) hide show
  1. package/dist/{App-CSdfULWS.js → App-CdweYGJb.js} +1 -1
  2. package/dist/{ApprovalView-DTwnAFlM.js → ApprovalView-N5aTAawv.js} +8 -8
  3. package/dist/{BindingsDialog-Bv24Ys1r.js → BindingsDialog-CF43nBIL.js} +2 -2
  4. package/dist/{BindingsPicker-D-HNXv6l.js → BindingsPicker-UXffTvIT.js} +1 -1
  5. package/dist/{BindingsTable-B5xE1kAV.js → BindingsTable-bGEdChlq.js} +1 -1
  6. package/dist/{ClosingDraftView-BbLjS-QV.js → ClosingDraftView-CU6ncRGd.js} +93 -93
  7. package/dist/{ClosingTemplateView-Do0CkGUH.js → ClosingTemplateView-B7hlv-ol.js} +17 -17
  8. package/dist/{DeliveryOrderPrintPreview-B2YhyN59.js → DeliveryOrderPrintPreview-BHsASpvc.js} +7 -7
  9. package/dist/{FmAdminBadge-Cj1R2Bi0.js → FmAdminBadge-phxApe08.js} +3 -3
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C1pSdLfz.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQi8T-o4.js} +11 -11
  11. package/dist/{FmMultiselectDialog-eq994oQ-.js → FmMultiselectDialog-Cw7978N9.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BheQFvJF.js → FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js} +24 -24
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DDbMiztC.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK2uHzWs.js} +1 -1
  14. package/dist/{IngredientGroupView-DNAdO4WQ.js → IngredientGroupView-BLlM22XE.js} +31 -31
  15. package/dist/{IngredientsView-d-wTEFTk.js → IngredientsView-D-MLnQUs.js} +689 -671
  16. package/dist/{IntegrationView-COWJlO4B.js → IntegrationView-DS8GfDcu.js} +299 -297
  17. package/dist/{InventoryBindingForm-DngxfNzM.js → InventoryBindingForm-Cxl3010v.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CfIUE7Oj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js} +39 -39
  19. package/dist/{InventoryBindingSummary-ZepcUPQ3.js → InventoryBindingSummary-BPLbgkdU.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-rynZcLum.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6G0tvu8.js} +4 -4
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CDfN66ys.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DIgC7Vso.js} +1 -1
  22. package/dist/{PublishView-DuRaDpQj.js → PublishView-C7M3-gQh.js} +1 -1
  23. package/dist/{PurchaseOrderPrintPreview-CiwFb-cX.js → PurchaseOrderPrintPreview-ZhFYuurj.js} +6 -6
  24. package/dist/{ReceiveRequestView-CMtXbZFg.js → ReceiveRequestView-BCdKPhsr.js} +110 -110
  25. package/dist/{RecipeView-C9MuhpHd.js → RecipeView-DUmXQOxV.js} +19 -19
  26. package/dist/{StockView-CzDFioRG.js → StockView-BcxAyI7w.js} +135 -135
  27. package/dist/{SupplierView-BKHKbhGh.js → SupplierView-q04_80bh.js} +3 -3
  28. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-alkGEMZE.js → TransferDetails.vue_vue_type_script_setup_true_lang-CBFgpKee.js} +6 -6
  29. package/dist/{TransferTemplateView-B-iTVtoR.js → TransferTemplateView-Cfcu-qeJ.js} +57 -57
  30. package/dist/{UnitView-9cX60HUq.js → UnitView-BAPZkTQp.js} +27 -27
  31. package/dist/{WarehouseView-Bt54k8Fr.js → WarehouseView-9AkOoqZV.js} +8 -8
  32. package/dist/{app-D68Nrj_W.js → app-Bcq0U90V.js} +9646 -9600
  33. package/dist/app.js +1 -1
  34. package/dist/{decimal-DwlcTwF4.js → decimal-Dhnp84Mk.js} +1 -1
  35. package/dist/{format-unit-display-B7zglpxP.js → format-unit-display-X0is3zJN.js} +57 -57
  36. package/dist/{index-CaMvI8x0.js → index-Bb9d1Qcc.js} +1 -1
  37. package/dist/{index-B4zWtnox.js → index-CnqZ1tak.js} +1 -1
  38. package/dist/{stock-FiZmySc9.js → stock-DcD5Tbqe.js} +1 -1
  39. package/dist/{supplier-AxlUb2WF.js → supplier-njZB-A08.js} +1 -1
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{use-ingredient-select-dialog-BH-QS0jx.js → use-ingredient-select-dialog-CFxbHyQu.js} +1 -1
  42. package/dist/{use-inventory-binding-dialog-TU1dCDcj.js → use-inventory-binding-dialog-CtvdrDNH.js} +1 -1
  43. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +157 -12
  44. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { defineStore as y } from "pinia";
2
- import { a as S, a2 as b } from "./app-D68Nrj_W.js";
2
+ import { a as S, a3 as b } from "./app-Bcq0U90V.js";
3
3
  import { useDialog as A } from "@feedmepos/ui-library";
4
4
  import { useI18n as I } from "@feedmepos/mf-common";
5
5
  const h = y(
@@ -1,4 +1,4 @@
1
- import { a as P, a2 as g } from "./app-D68Nrj_W.js";
1
+ import { a as P, a3 as g } from "./app-Bcq0U90V.js";
2
2
  import { useDialog as E } from "@feedmepos/ui-library";
3
3
  function B() {
4
4
  const u = P(), _ = E();
@@ -1,5 +1,82 @@
1
- import type { IngredientFormProps } from './IngredientFormProps';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientFormProps>>, {
1
+ import { FormMode } from '@/components/form/form-mode.enum';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ search: import("vue").PropType<string>;
4
+ mode: {
5
+ type: import("vue").PropType<FormMode>;
6
+ required: true;
7
+ };
8
+ modelValue: {
9
+ type: import("vue").PropType<{
10
+ isInactive?: boolean | null | undefined;
11
+ trackingMeasurement?: string | null | undefined;
12
+ convert?: {
13
+ measurement?: string | null | undefined;
14
+ inventoryBindings?: {
15
+ measurement?: {
16
+ id: string;
17
+ name: string;
18
+ abbrev: string;
19
+ conversion: {
20
+ amount: number;
21
+ precision: number;
22
+ };
23
+ } | null | undefined;
24
+ id: string;
25
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
26
+ amount: {
27
+ amount: number;
28
+ precision: number;
29
+ };
30
+ }[] | null | undefined;
31
+ } | null | undefined;
32
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
33
+ defaultCost?: {
34
+ measurement?: {
35
+ id: string;
36
+ name: string;
37
+ abbrev: string;
38
+ conversion: {
39
+ amount: number;
40
+ precision: number;
41
+ };
42
+ } | null | undefined;
43
+ costPerUnit: {
44
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
45
+ amount: number;
46
+ precision: number;
47
+ };
48
+ } | null | undefined;
49
+ operationalGroup?: string | null | undefined;
50
+ thresholds?: {
51
+ low: number;
52
+ mid: number;
53
+ } | null | undefined;
54
+ customAttributes?: Record<string, any> | null | undefined;
55
+ _id: string;
56
+ name: string;
57
+ code: string;
58
+ unit: {
59
+ _id: string;
60
+ name: string;
61
+ abbrev: string;
62
+ precision: number;
63
+ measurements: {
64
+ id: string;
65
+ name: string;
66
+ abbrev: string;
67
+ conversion: {
68
+ amount: number;
69
+ precision: number;
70
+ };
71
+ }[];
72
+ };
73
+ } | null>;
74
+ required: true;
75
+ };
76
+ disabled: {
77
+ type: import("vue").PropType<boolean>;
78
+ };
79
+ }>, {
3
80
  validateInputs: () => void;
4
81
  resetInputsValidation: () => void;
5
82
  resetInputs: () => void;
@@ -70,7 +147,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
147
  };
71
148
  }) => void;
72
149
  "click:submit": () => void;
73
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientFormProps>>> & Readonly<{
150
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
151
+ search: import("vue").PropType<string>;
152
+ mode: {
153
+ type: import("vue").PropType<FormMode>;
154
+ required: true;
155
+ };
156
+ modelValue: {
157
+ type: import("vue").PropType<{
158
+ isInactive?: boolean | null | undefined;
159
+ trackingMeasurement?: string | null | undefined;
160
+ convert?: {
161
+ measurement?: string | null | undefined;
162
+ inventoryBindings?: {
163
+ measurement?: {
164
+ id: string;
165
+ name: string;
166
+ abbrev: string;
167
+ conversion: {
168
+ amount: number;
169
+ precision: number;
170
+ };
171
+ } | null | undefined;
172
+ id: string;
173
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
174
+ amount: {
175
+ amount: number;
176
+ precision: number;
177
+ };
178
+ }[] | null | undefined;
179
+ } | null | undefined;
180
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
181
+ defaultCost?: {
182
+ measurement?: {
183
+ id: string;
184
+ name: string;
185
+ abbrev: string;
186
+ conversion: {
187
+ amount: number;
188
+ precision: number;
189
+ };
190
+ } | null | undefined;
191
+ costPerUnit: {
192
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
193
+ amount: number;
194
+ precision: number;
195
+ };
196
+ } | null | undefined;
197
+ operationalGroup?: string | null | undefined;
198
+ thresholds?: {
199
+ low: number;
200
+ mid: number;
201
+ } | null | undefined;
202
+ customAttributes?: Record<string, any> | null | undefined;
203
+ _id: string;
204
+ name: string;
205
+ code: string;
206
+ unit: {
207
+ _id: string;
208
+ name: string;
209
+ abbrev: string;
210
+ precision: number;
211
+ measurements: {
212
+ id: string;
213
+ name: string;
214
+ abbrev: string;
215
+ conversion: {
216
+ amount: number;
217
+ precision: number;
218
+ };
219
+ }[];
220
+ };
221
+ } | null>;
222
+ required: true;
223
+ };
224
+ disabled: {
225
+ type: import("vue").PropType<boolean>;
226
+ };
227
+ }>> & Readonly<{
74
228
  "onUpdate:modelValue"?: ((mv: {
75
229
  isInactive?: boolean | null | undefined;
76
230
  trackingMeasurement?: string | null | undefined;
@@ -139,12 +293,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
139
293
  "onClick:submit"?: (() => any) | undefined;
140
294
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
295
  export default _default;
142
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
143
- type __VLS_TypePropsToRuntimeProps<T> = {
144
- [K in keyof T]-?: {} extends Pick<T, K> ? {
145
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
146
- } : {
147
- type: import('vue').PropType<T[K]>;
148
- required: true;
149
- };
150
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-inventory-portal",
3
- "version": "1.2.3",
3
+ "version": "1.2.4-dev.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"