@feedmepos/mf-inventory-portal 0.0.25-dev.3 → 0.0.25-dev.30

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 (121) hide show
  1. package/dist/App-CbGTNGMK.js +280 -0
  2. package/dist/ApprovalView-C9hrKiel.js +146 -0
  3. package/dist/{BindingsDialog-DPvBW5cM.js → BindingsDialog-DIxrUmBp.js} +6 -6
  4. package/dist/{BindingsPicker-DHjUZp_W.js → BindingsPicker-DT2fCUQ7.js} +3 -3
  5. package/dist/{BindingsTable-D29VX7KG.js → BindingsTable-rpRrfxfm.js} +6 -6
  6. package/dist/ClosingDraftView-aETdobNv.js +1340 -0
  7. package/dist/ClosingTemplateView-Cl-7Agfl.js +1859 -0
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
  9. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ugss5lqQ.js +215 -0
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DLVeADwI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BZoFs1-5.js} +52 -52
  11. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-uRrJNVoO.js +51 -0
  12. package/dist/{IngredientGroupView-BZGkNkrt.js → IngredientGroupView-DCtkP28-.js} +1 -1
  13. package/dist/{IngredientsView-V_vDYAho.js → IngredientsView-C4jOCqij.js} +394 -382
  14. package/dist/{IntegrationView-CK_4s6nJ.js → IntegrationView-DDAVjLV5.js} +660 -623
  15. package/dist/{InventoryBindingForm-CAWQBqr1.js → InventoryBindingForm-CbM-0GcS.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BDWmhU7C.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-uGVP8nwi.js} +99 -99
  17. package/dist/{InventoryBindingSummary-BBppQstd.js → InventoryBindingSummary-DOdGKen4.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-e54jzd1P.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CBu3pj-m.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DKUl-kuR.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BPmKDzxI.js} +15 -15
  20. package/dist/PublishView-BE8Fo2Go.js +222 -0
  21. package/dist/{PurchaseOrderPrintPreview-DiDSTpNu.js → PurchaseOrderPrintPreview-DBEfp8uZ.js} +1 -1
  22. package/dist/ReceiveRequestView-BmrpIRSM.js +2895 -0
  23. package/dist/{RecipeView-DmYWjO2j.js → RecipeView-DTFpgZwH.js} +32 -31
  24. package/dist/{index-CBXvWfSg.js → StockView-CF7VlY8S.js} +3577 -1764
  25. package/dist/{SupplierView-DKISIdqs.js → SupplierView-BZ4rA2D1.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CidXuoBS.js +1831 -0
  27. package/dist/TransferTemplateView-C7bYJLit.js +1660 -0
  28. package/dist/{UnitView-CvUayQQ1.js → UnitView-1lzQaH5U.js} +14 -14
  29. package/dist/{WarehouseView-IoiXm1I8.js → WarehouseView-eRypQalS.js} +332 -314
  30. package/dist/api/closing-draft.d.ts +1 -0
  31. package/dist/api/inventory.d.ts +9 -6
  32. package/dist/api/netsuite.d.ts +17 -0
  33. package/dist/api/purchase-order.d.ts +3 -1
  34. package/dist/{app-CX6n1ion.js → app-d94DuF5R.js} +28901 -28676
  35. package/dist/app.js +1 -1
  36. package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
  37. package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
  38. package/dist/components/FmLockableField.vue.d.ts +3 -0
  39. package/dist/components/FmMultiselectDialog.d.ts +46 -0
  40. package/dist/components/FmMultiselectDialog.vue.d.ts +20 -3
  41. package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
  42. package/dist/components/MountListener.vue.d.ts +15 -0
  43. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  44. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  45. package/dist/{decimal-CWOfT2lu.js → decimal-BCeq_89w.js} +1 -1
  46. package/dist/feature-BiSY0JBR.js +1011 -0
  47. package/dist/{format-unit-display-9aWRoLgP.js → format-unit-display-x2P1kVbK.js} +334 -327
  48. package/dist/helper/fuzzy.d.ts +10 -0
  49. package/dist/index-DnkQqb_5.js +35546 -0
  50. package/dist/{stock-C2QEA4Bf.js → stock-BHtAAvq5.js} +3 -3
  51. package/dist/stores/feature.d.ts +7 -7
  52. package/dist/stores/integration/netsuite.d.ts +22 -0
  53. package/dist/stores/inventory.d.ts +135 -8
  54. package/dist/stores/location.d.ts +100 -0
  55. package/dist/stores/warehouse.d.ts +1 -0
  56. package/dist/style.css +1 -1
  57. package/dist/{supplier-DNuzB_6-.js → supplier-BSiJWxYO.js} +1 -1
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/use-ingredient-select-dialog-CvsCbtLc.js +51 -0
  60. package/dist/{use-inventory-binding-dialog-D4We0HnY.js → use-inventory-binding-dialog-CmiGDFT9.js} +1 -1
  61. package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
  62. package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
  63. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
  64. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  65. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
  66. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  67. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  68. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
  69. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
  70. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
  71. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  72. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  73. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
  74. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  75. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  76. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +1389 -0
  77. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +5 -1
  78. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +3 -0
  79. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -2
  80. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +48 -2
  81. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +490 -2
  82. package/dist/views/receive-request/components/transfer-form/components/TransferSubItemTable.vue.d.ts +72 -0
  83. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +25 -2
  84. package/dist/views/receive-request/components/transfer-form/helpers/calculate-sub-item-total.helper.d.ts +4 -0
  85. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +702 -35
  86. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +690 -35
  87. package/dist/views/receive-request/helper/po-to-po-template.util.d.ts +1 -0
  88. package/dist/views/receive-request/helper/print-po.d.ts +9 -2
  89. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  90. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  91. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  92. package/dist/views/receive-request/import/export.d.ts +12 -0
  93. package/dist/views/receive-request/import/props.d.ts +7 -0
  94. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  95. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +270 -2
  96. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +286 -0
  97. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItem.vue.d.ts +74 -0
  98. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateSubItemTable.vue.d.ts +92 -0
  99. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
  100. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
  101. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +36 -2
  102. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +456 -12
  103. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +456 -12
  104. package/dist/views/transfer-template/helpers/location-to-po-supplier.util.d.ts +75 -0
  105. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
  106. package/dist/{vue-i18n-D1f9MmwY.js → vue-i18n-DC5cHFol.js} +153 -153
  107. package/package.json +2 -2
  108. package/dist/App-Du7DrI4b.js +0 -276
  109. package/dist/ApprovalView-CTZVmCbC.js +0 -138
  110. package/dist/ClosingDraftView-D6_mQmyF.js +0 -1225
  111. package/dist/ClosingTemplateView-DMConQNm.js +0 -1819
  112. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-DuB-gluw.js +0 -142
  113. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ttr6ec9b.js +0 -286
  114. package/dist/PublishView-BzUykEd5.js +0 -192
  115. package/dist/ReceiveRequestView-BWgm4e46.js +0 -1876
  116. package/dist/StockView--YVDLsgO.js +0 -1817
  117. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CTy65dTx.js +0 -1327
  118. package/dist/TransferTemplateView-KOeBENZz.js +0 -1284
  119. package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
  120. package/dist/index-CCWsIAQX.js +0 -29202
  121. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -2628
@@ -0,0 +1 @@
1
+ export declare function poToTemplatePo(po: FdoPurchaseOrder, name?: string): FdoPurchaseOrderTemplate;
@@ -1,2 +1,9 @@
1
- import type { InventoryLocation } from '@/stores/location';
2
- export declare function printPo(po: FdoPurchaseOrder, currentLocation: InventoryLocation): void;
1
+ export declare function printPo(po: FdoPurchaseOrder, currentLocation: {
2
+ doc: {
3
+ profile: {
4
+ name?: string;
5
+ address?: FdoAddress;
6
+ regNo?: string;
7
+ };
8
+ };
9
+ }): void;
@@ -0,0 +1,22 @@
1
+ import type { XilnexImportDialogProps } from './props';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<XilnexImportDialogProps>>, {
3
+ validateInputs: () => void;
4
+ resetInputsValidation: () => void;
5
+ resetInputs: () => void;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:show": (show: boolean) => void;
8
+ submitted: () => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<XilnexImportDialogProps>>> & Readonly<{
10
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
11
+ onSubmitted?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,17 @@
1
+ export interface XilnexImportCreateResult {
2
+ type: 'create';
3
+ poItems: FdoPurchaseOrderItem[];
4
+ excelSheetName: string;
5
+ errors: string[];
6
+ }
7
+ export type XilnexImportResult = {
8
+ invalidExcel: boolean;
9
+ invalidExcelMessage?: string;
10
+ importCreateResult: XilnexImportCreateResult[];
11
+ };
12
+ declare const _default: import("vue").DefineComponent<{}, {
13
+ validateInputs: () => void;
14
+ resetInputsValidation: () => void;
15
+ resetInputs: () => void;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export interface AdjustmentTemplateImportItemProps {
2
+ type: 'create' | 'update';
3
+ name: string;
4
+ items?: FdoPurchaseOrderItem[] | null | undefined;
5
+ errors: string[];
6
+ }
7
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,12 @@
1
+ import type { WorkBook, WorkSheet } from 'xlsx';
2
+ import type { XilnexImportResult } from './XilnexImportForm.vue';
3
+ interface XilnexItemRow {
4
+ item_code: string;
5
+ quantity: string;
6
+ }
7
+ export declare function worksheetToItemRow(sheet: WorkSheet): Array<{
8
+ index: number;
9
+ data: XilnexItemRow;
10
+ }>;
11
+ export declare function getItemToCreate(workbook: WorkBook): XilnexImportResult;
12
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface XilnexImportDialogProps {
2
+ show?: boolean;
3
+ }
4
+ export interface XilnexImportDialogEvents {
5
+ (event: 'update:show', show: boolean): void;
6
+ (event: 'submitted'): void;
7
+ }
@@ -47,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
47
  };
48
48
  id: string;
49
49
  doc: {
50
+ customAttributes?: Record<string, any> | null | undefined;
50
51
  trackingMeasurement?: string | null | undefined;
51
52
  convert?: {
52
53
  measurement?: string | null | undefined;
@@ -90,7 +91,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
90
91
  low: number;
91
92
  mid: number;
92
93
  } | null | undefined;
93
- customAttributes?: Record<string, any> | null | undefined;
94
94
  unit: {
95
95
  _id: string;
96
96
  name: string;
@@ -160,6 +160,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
160
160
  };
161
161
  id: string;
162
162
  doc: {
163
+ customAttributes?: Record<string, any> | null | undefined;
163
164
  trackingMeasurement?: string | null | undefined;
164
165
  convert?: {
165
166
  measurement?: string | null | undefined;
@@ -203,7 +204,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
203
204
  low: number;
204
205
  mid: number;
205
206
  } | null | undefined;
206
- customAttributes?: Record<string, any> | null | undefined;
207
207
  unit: {
208
208
  _id: string;
209
209
  name: string;
@@ -2,10 +2,278 @@ import { type Cell, type Row } from '@tanstack/vue-table';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
3
  cellByColId: Record<string, Cell<any, any>>;
4
4
  row: Row<unknown>;
5
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:item": (item: {
7
+ subItems?: {
8
+ measurement?: {
9
+ id: string;
10
+ name: string;
11
+ abbrev: string;
12
+ conversion: {
13
+ amount: number;
14
+ precision: number;
15
+ };
16
+ } | null | undefined;
17
+ totalCost?: {
18
+ 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";
19
+ amount: number;
20
+ precision: number;
21
+ } | null | undefined;
22
+ minimumQuantity?: {
23
+ amount: number;
24
+ precision: number;
25
+ } | null | undefined;
26
+ maximumQuantity?: {
27
+ amount: number;
28
+ precision: number;
29
+ } | null | undefined;
30
+ code: string;
31
+ id: string;
32
+ name: string;
33
+ quantity: {
34
+ amount: number;
35
+ precision: number;
36
+ };
37
+ quantityStep: {
38
+ amount: number;
39
+ precision: number;
40
+ };
41
+ }[] | null | undefined;
42
+ measurement?: {
43
+ id: string;
44
+ name: string;
45
+ abbrev: string;
46
+ conversion: {
47
+ amount: number;
48
+ precision: number;
49
+ };
50
+ } | null | undefined;
51
+ totalCost?: {
52
+ 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";
53
+ amount: number;
54
+ precision: number;
55
+ } | null | undefined;
56
+ minimumQuantity?: {
57
+ amount: number;
58
+ precision: number;
59
+ } | null | undefined;
60
+ maximumQuantity?: {
61
+ amount: number;
62
+ precision: number;
63
+ } | null | undefined;
64
+ sku: {
65
+ customAttributes?: Record<string, any> | null | undefined;
66
+ trackingMeasurement?: string | null | undefined;
67
+ convert?: {
68
+ measurement?: string | null | undefined;
69
+ inventoryBindings?: {
70
+ measurement?: {
71
+ id: string;
72
+ name: string;
73
+ abbrev: string;
74
+ conversion: {
75
+ amount: number;
76
+ precision: number;
77
+ };
78
+ } | null | undefined;
79
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
80
+ amount: {
81
+ amount: number;
82
+ precision: number;
83
+ };
84
+ id: string;
85
+ }[] | null | undefined;
86
+ } | null | undefined;
87
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
88
+ defaultCost?: {
89
+ measurement?: {
90
+ id: string;
91
+ name: string;
92
+ abbrev: string;
93
+ conversion: {
94
+ amount: number;
95
+ precision: number;
96
+ };
97
+ } | null | undefined;
98
+ costPerUnit: {
99
+ 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";
100
+ amount: number;
101
+ precision: number;
102
+ };
103
+ } | null | undefined;
104
+ operationalGroup?: string | null | undefined;
105
+ thresholds?: {
106
+ low: number;
107
+ mid: number;
108
+ } | null | undefined;
109
+ unit: {
110
+ _id: string;
111
+ name: string;
112
+ abbrev: string;
113
+ precision: number;
114
+ measurements: {
115
+ id: string;
116
+ name: string;
117
+ abbrev: string;
118
+ conversion: {
119
+ amount: number;
120
+ precision: number;
121
+ };
122
+ }[];
123
+ };
124
+ code: string;
125
+ _id: string;
126
+ name: string;
127
+ };
128
+ code: string;
129
+ name: string;
130
+ quantity: {
131
+ amount: number;
132
+ precision: number;
133
+ };
134
+ quantityStep: {
135
+ amount: number;
136
+ precision: number;
137
+ };
138
+ }) => void;
139
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
140
  cellByColId: Record<string, Cell<any, any>>;
7
141
  row: Row<unknown>;
8
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
142
+ }>>> & Readonly<{
143
+ "onUpdate:item"?: ((item: {
144
+ subItems?: {
145
+ measurement?: {
146
+ id: string;
147
+ name: string;
148
+ abbrev: string;
149
+ conversion: {
150
+ amount: number;
151
+ precision: number;
152
+ };
153
+ } | null | undefined;
154
+ totalCost?: {
155
+ 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";
156
+ amount: number;
157
+ precision: number;
158
+ } | null | undefined;
159
+ minimumQuantity?: {
160
+ amount: number;
161
+ precision: number;
162
+ } | null | undefined;
163
+ maximumQuantity?: {
164
+ amount: number;
165
+ precision: number;
166
+ } | null | undefined;
167
+ code: string;
168
+ id: string;
169
+ name: string;
170
+ quantity: {
171
+ amount: number;
172
+ precision: number;
173
+ };
174
+ quantityStep: {
175
+ amount: number;
176
+ precision: number;
177
+ };
178
+ }[] | null | undefined;
179
+ measurement?: {
180
+ id: string;
181
+ name: string;
182
+ abbrev: string;
183
+ conversion: {
184
+ amount: number;
185
+ precision: number;
186
+ };
187
+ } | null | undefined;
188
+ totalCost?: {
189
+ 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";
190
+ amount: number;
191
+ precision: number;
192
+ } | null | undefined;
193
+ minimumQuantity?: {
194
+ amount: number;
195
+ precision: number;
196
+ } | null | undefined;
197
+ maximumQuantity?: {
198
+ amount: number;
199
+ precision: number;
200
+ } | null | undefined;
201
+ sku: {
202
+ customAttributes?: Record<string, any> | null | undefined;
203
+ trackingMeasurement?: string | null | undefined;
204
+ convert?: {
205
+ measurement?: string | null | undefined;
206
+ inventoryBindings?: {
207
+ measurement?: {
208
+ id: string;
209
+ name: string;
210
+ abbrev: string;
211
+ conversion: {
212
+ amount: number;
213
+ precision: number;
214
+ };
215
+ } | null | undefined;
216
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
217
+ amount: {
218
+ amount: number;
219
+ precision: number;
220
+ };
221
+ id: string;
222
+ }[] | null | undefined;
223
+ } | null | undefined;
224
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
225
+ defaultCost?: {
226
+ measurement?: {
227
+ id: string;
228
+ name: string;
229
+ abbrev: string;
230
+ conversion: {
231
+ amount: number;
232
+ precision: number;
233
+ };
234
+ } | null | undefined;
235
+ costPerUnit: {
236
+ 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";
237
+ amount: number;
238
+ precision: number;
239
+ };
240
+ } | null | undefined;
241
+ operationalGroup?: string | null | undefined;
242
+ thresholds?: {
243
+ low: number;
244
+ mid: number;
245
+ } | null | undefined;
246
+ unit: {
247
+ _id: string;
248
+ name: string;
249
+ abbrev: string;
250
+ precision: number;
251
+ measurements: {
252
+ id: string;
253
+ name: string;
254
+ abbrev: string;
255
+ conversion: {
256
+ amount: number;
257
+ precision: number;
258
+ };
259
+ }[];
260
+ };
261
+ code: string;
262
+ _id: string;
263
+ name: string;
264
+ };
265
+ code: string;
266
+ name: string;
267
+ quantity: {
268
+ amount: number;
269
+ precision: number;
270
+ };
271
+ quantityStep: {
272
+ amount: number;
273
+ precision: number;
274
+ };
275
+ }) => any) | undefined;
276
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
277
  export default _default;
10
278
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
279
  type __VLS_TypePropsToRuntimeProps<T> = {