@feedmepos/mf-inventory-portal 0.0.23-dev.9 → 0.0.24-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 (140) hide show
  1. package/dist/App-D3sNH2MR.js +276 -0
  2. package/dist/{ApprovalView-e85YmdZN.js → ApprovalView-DHnRx0hJ.js} +17 -20
  3. package/dist/{BindingsDialog-giBUD0IH.js → BindingsDialog-oTeg2Dai.js} +6 -6
  4. package/dist/{BindingsPicker-CC4MmPbF.js → BindingsPicker-CWdjmMJ3.js} +8 -9
  5. package/dist/{BindingsTable-WphZdzrA.js → BindingsTable-bKLR1OKX.js} +18 -22
  6. package/dist/ClosingDraftView-CIQVz7lY.js +1225 -0
  7. package/dist/{ClosingTemplateView-1lzoDyet.js → ClosingTemplateView-D5pLzQwU.js} +259 -274
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-ClLDcchC.js +142 -0
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cv-vvzr5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_c6Vn6P.js} +23 -24
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DIFQcrc0.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DhpHOaRH.js} +50 -51
  11. package/dist/{IngredientGroupView-UegBM_JK.js → IngredientGroupView-4C437mso.js} +63 -70
  12. package/dist/IngredientsView-DoiGgjre.js +1706 -0
  13. package/dist/{IntegrationView-FYNNzKia.js → IntegrationView-8ZKE7MAM.js} +123 -126
  14. package/dist/{InventoryBindingForm-DsHv_IHG.js → InventoryBindingForm-CcnfliYQ.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B_J-6C9x.js} +116 -108
  16. package/dist/{InventoryBindingSummary-BLb4MRPZ.js → InventoryBindingSummary-CRdHCzNE.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BG78-DHs.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B2-TypU0.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CqID5_7v.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BuQde75S.js} +20 -21
  19. package/dist/PublishView-t5gjGmK_.js +192 -0
  20. package/dist/{PurchaseOrderPrintPreview-BBMU3teq.js → PurchaseOrderPrintPreview-6i53Y-v1.js} +13 -14
  21. package/dist/ReceiveRequestView-uOeSh0Mr.js +1866 -0
  22. package/dist/RecipeView-BTWywckD.js +609 -0
  23. package/dist/StockView-DN2xk8ei.js +1817 -0
  24. package/dist/{SupplierView-B2aObtwK.js → SupplierView-l0XUg3J4.js} +185 -196
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CWMn6fFf.js +1327 -0
  26. package/dist/TransferTemplateView-wDKXpCWZ.js +1263 -0
  27. package/dist/UnitView-CUI-k-tS.js +648 -0
  28. package/dist/{WarehouseView-G8pej6Y2.js → WarehouseView-WsI_eG5r.js} +190 -197
  29. package/dist/api/adjustment-template.d.ts +25 -0
  30. package/dist/api/bill.d.ts +240 -84
  31. package/dist/api/inventory.d.ts +19 -6
  32. package/dist/api/netsuite.d.ts +3 -3
  33. package/dist/app-DntcWR3_.js +85558 -0
  34. package/dist/app.d.ts +85 -0
  35. package/dist/app.js +2 -2
  36. package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
  37. package/dist/components/FmLockableField.vue.d.ts +37 -0
  38. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
  40. package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
  41. package/dist/composable/defineDeepModel.d.ts +1 -1
  42. package/dist/{decimal-DC07xoJW.js → decimal-DTCTnMwO.js} +1 -1
  43. package/dist/format-unit-display-Hy48Iw5j.js +1215 -0
  44. package/dist/index-Bv9RYyTZ.js +29202 -0
  45. package/dist/{StockView-C5btudss.js → index-D4yJP9I2.js} +2220 -3863
  46. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
  47. package/dist/router/name.d.ts +2 -0
  48. package/dist/stock-BsdmfT-b.js +125 -0
  49. package/dist/stores/feature.d.ts +41 -1
  50. package/dist/stores/integration/netsuite.d.ts +3 -2
  51. package/dist/stores/inventory.d.ts +20 -8
  52. package/dist/stores/location.d.ts +29 -1
  53. package/dist/stores/supplier.d.ts +1 -1
  54. package/dist/style.css +1 -1
  55. package/dist/supplier-CXhkgC4M.js +77 -0
  56. package/dist/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/{use-inventory-binding-dialog-B0G2XYSw.js → use-inventory-binding-dialog-DPMJmBCr.js} +10 -11
  58. package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
  59. package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
  60. package/dist/views/adjustment-template/import/export.d.ts +60 -0
  61. package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
  62. package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
  63. package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
  64. package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
  65. package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
  66. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1377 -0
  67. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
  68. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
  69. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
  70. package/dist/views/adjustment-template/wastage-template/props.d.ts +36 -0
  71. package/dist/views/adjustment-template/wastage-template/table.d.ts +1351 -0
  72. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +198 -12
  73. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +7 -4
  74. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1559 -467
  75. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
  76. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
  77. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
  78. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +72 -12
  79. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +73 -13
  80. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
  81. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
  82. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
  83. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
  84. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
  85. package/dist/views/publish/PublishView.vue.d.ts +2 -0
  86. package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +12 -0
  87. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +13 -0
  88. package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +12 -0
  89. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +13 -0
  90. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  91. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +86 -17
  92. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
  93. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
  94. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +126 -24
  95. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +126 -24
  96. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
  97. package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
  98. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  99. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  100. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
  101. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
  102. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -12
  103. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -12
  104. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +2 -1
  105. package/dist/vue-i18n-ByVzHsI7.js +2365 -0
  106. package/package.json +5 -4
  107. package/dist/App-ByLgARNp.js +0 -259
  108. package/dist/ClosingDraftView-CQM1Sx45.js +0 -755
  109. package/dist/FmDroppableField-8RzKjEdL.js +0 -154
  110. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js +0 -436
  111. package/dist/FmMultiselectDialog-DScMA6iG.js +0 -415
  112. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js +0 -51
  113. package/dist/IngredientsView-BfW-jZLM.js +0 -1666
  114. package/dist/ReceiveRequestView-vbANEzne.js +0 -4165
  115. package/dist/RecipeView-DW4DY0C0.js +0 -598
  116. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
  117. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B2LOvVef.js +0 -1229
  118. package/dist/TransferTemplateView-BKumN_p6.js +0 -1262
  119. package/dist/UnitView-CHLucv9s.js +0 -648
  120. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  121. package/dist/app-BXjk74IB.js +0 -33538
  122. package/dist/date2-CWAt9bRf.js +0 -117
  123. package/dist/dayjs.min-D3jPOnu6.js +0 -282
  124. package/dist/defineDeepModel-CiD4GtOw.js +0 -13
  125. package/dist/feature-6tcLMotY.js +0 -92
  126. package/dist/form-mode.enum-BKiNVH6A.js +0 -4
  127. package/dist/format-time-from-id-CYU5Z9Mt.js +0 -15
  128. package/dist/format-unit-display-CY-0bznr.js +0 -1217
  129. package/dist/fuzzy-BMkhNYLR.js +0 -41
  130. package/dist/index-BXwQa14X.js +0 -45
  131. package/dist/index-CRLd5xyg.js +0 -22283
  132. package/dist/index-DqwAtOgI.js +0 -12087
  133. package/dist/netsuite-fYUUk_ss.js +0 -225
  134. package/dist/row-action.enum-7rGLGZ5v.js +0 -55
  135. package/dist/rules-BmRGm3yv.js +0 -203
  136. package/dist/stock-CEX0DP2B.js +0 -111
  137. package/dist/supplier-CdJmZr7w.js +0 -77
  138. package/dist/use-template-enabled-locations-2-xbPJWHCs.js +0 -86
  139. package/dist/xlsx-CTOKp7SQ.js +0 -24004
  140. package/dist/xlsx.util-D5NFSfDg.js +0 -78
package/dist/app.d.ts CHANGED
@@ -82,6 +82,7 @@ export declare const i18nMessages: {
82
82
  REQUEST: string;
83
83
  SALES: string;
84
84
  CLOSING: string;
85
+ WASTAGE: string;
85
86
  };
86
87
  };
87
88
  stock: {
@@ -223,6 +224,59 @@ export declare const i18nMessages: {
223
224
  };
224
225
  draft: {
225
226
  title: string;
227
+ approveDraft: string;
228
+ rejectDraft: string;
229
+ };
230
+ };
231
+ adjustment: {
232
+ template: {
233
+ wastage: {
234
+ title: string;
235
+ };
236
+ create: {
237
+ title: string;
238
+ success: string;
239
+ successMessage: string;
240
+ error: string;
241
+ errorMessage: string;
242
+ };
243
+ update: {
244
+ title: string;
245
+ success: string;
246
+ successMessage: string;
247
+ error: string;
248
+ errorMessage: string;
249
+ };
250
+ import: {
251
+ title: string;
252
+ message: string;
253
+ new: string;
254
+ allLocations: string;
255
+ nLocations: string;
256
+ nItems: string;
257
+ };
258
+ publish: {
259
+ title: string;
260
+ message: string;
261
+ dialogTitle: string;
262
+ noRecentActivity: string;
263
+ nothingToPublish: string;
264
+ publishing: string;
265
+ recentlyPublishedAt: string;
266
+ stillPublishing: string;
267
+ };
268
+ table: {
269
+ createdAt: string;
270
+ name: string;
271
+ noOfItems: string;
272
+ enabledOutlets: string;
273
+ reference: string;
274
+ status: string;
275
+ published: string;
276
+ unpublished: string;
277
+ enabledForAll: string;
278
+ enabledForN: string;
279
+ };
226
280
  };
227
281
  };
228
282
  ingredient: {
@@ -748,6 +802,18 @@ export declare const i18nMessages: {
748
802
  code: string;
749
803
  };
750
804
  };
805
+ publish: {
806
+ title: string;
807
+ actions: {
808
+ publishAll: string;
809
+ };
810
+ columns: {
811
+ type: string;
812
+ location: string;
813
+ status: string;
814
+ version: string;
815
+ };
816
+ };
751
817
  };
752
818
  };
753
819
  'zh-CN': {
@@ -812,6 +878,7 @@ export declare const i18nMessages: {
812
878
  REQUEST: string;
813
879
  SALES: string;
814
880
  CLOSING: string;
881
+ WASTAGE: string;
815
882
  };
816
883
  };
817
884
  stock: {
@@ -1386,6 +1453,18 @@ export declare const i18nMessages: {
1386
1453
  name: string;
1387
1454
  };
1388
1455
  };
1456
+ publish: {
1457
+ title: string;
1458
+ actions: {
1459
+ publishAll: string;
1460
+ };
1461
+ columns: {
1462
+ type: string;
1463
+ location: string;
1464
+ status: string;
1465
+ version: string;
1466
+ };
1467
+ };
1389
1468
  };
1390
1469
  };
1391
1470
  };
@@ -1437,6 +1516,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
1437
1516
  }[]>;
1438
1517
  default: () => never[];
1439
1518
  };
1519
+ readonly: {
1520
+ type: import("vue").PropType<boolean>;
1521
+ };
1440
1522
  iframeMode: {
1441
1523
  type: import("vue").PropType<boolean>;
1442
1524
  };
@@ -1508,6 +1590,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
1508
1590
  }[]>;
1509
1591
  default: () => never[];
1510
1592
  };
1593
+ readonly: {
1594
+ type: import("vue").PropType<boolean>;
1595
+ };
1511
1596
  iframeMode: {
1512
1597
  type: import("vue").PropType<boolean>;
1513
1598
  };
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "vue";
2
- import { P as a, Q as e, T as o, O as t, U as i, a as m } from "./app-BXjk74IB.js";
2
+ import { aX as s, aY as e, aZ as o, aW as t, a_ as i, a as m } from "./app-DntcWR3_.js";
3
3
  export {
4
- a as FmApp,
4
+ s as FmApp,
5
5
  e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
7
  t as i18nMessages,
@@ -0,0 +1,23 @@
1
+ export type CustomAttributes = Record<string, any>;
2
+ interface Props {
3
+ entity: 'inventorySku' | 'inventoryRecipe';
4
+ modelValue: CustomAttributes;
5
+ valueOptions?: {
6
+ [key: string]: string[];
7
+ };
8
+ }
9
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: CustomAttributes) => void;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: CustomAttributes) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -0,0 +1,37 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ locked?: boolean | undefined;
3
+ disabled?: boolean | undefined;
4
+ label?: string | undefined;
5
+ modelValue?: string | null | undefined;
6
+ tooltipMessage?: string | undefined;
7
+ tooltipPlacement?: "top" | "right" | "bottom" | "left" | undefined;
8
+ tooltipZIndex?: number | undefined;
9
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ locked?: boolean | undefined;
11
+ disabled?: boolean | undefined;
12
+ label?: string | undefined;
13
+ modelValue?: string | null | undefined;
14
+ tooltipMessage?: string | undefined;
15
+ tooltipPlacement?: "top" | "right" | "bottom" | "left" | undefined;
16
+ tooltipZIndex?: number | undefined;
17
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
18
+ label?(_: {}): any;
19
+ field?(_: {}): any;
20
+ modelValue?(_: {}): any;
21
+ default?(_: {}): any;
22
+ }>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -2,6 +2,7 @@ import type { ISelectItem } from 'node_modules/@feedmepos/ui-library/dist/compon
2
2
  export interface ISelectItemSublabel extends ISelectItem {
3
3
  groupId?: string;
4
4
  collapsed?: boolean;
5
+ tags?: string[];
5
6
  }
6
7
  export interface ISelectItemGroup {
7
8
  id: string;
@@ -83,11 +83,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
83
83
  precision: number;
84
84
  };
85
85
  } | null | undefined;
86
+ operationalGroup?: string | null | undefined;
86
87
  thresholds?: {
87
88
  low: number;
88
89
  mid: number;
89
90
  } | null | undefined;
90
- operationalGroup?: string | null | undefined;
91
+ customAttributes?: Record<string, any> | null | undefined;
91
92
  unit: {
92
93
  _id: string;
93
94
  name: string;
@@ -125,6 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
125
126
  id: string;
126
127
  }[];
127
128
  recipes: {
129
+ customAttributes?: Record<string, any> | null | undefined;
128
130
  _id: string;
129
131
  name: string;
130
132
  contains: {
@@ -63,11 +63,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  precision: number;
64
64
  };
65
65
  } | null | undefined;
66
+ operationalGroup?: string | null | undefined;
66
67
  thresholds?: {
67
68
  low: number;
68
69
  mid: number;
69
70
  } | null | undefined;
70
- operationalGroup?: string | null | undefined;
71
+ customAttributes?: Record<string, any> | null | undefined;
71
72
  unit: {
72
73
  _id: string;
73
74
  name: string;
@@ -90,6 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
90
91
  items: InventoryBinding[];
91
92
  editable: boolean;
92
93
  recipes: {
94
+ customAttributes?: Record<string, any> | null | undefined;
93
95
  _id: string;
94
96
  name: string;
95
97
  contains: {
@@ -1,2 +1,2 @@
1
- /** Use in <script setup> only! */
1
+ /** Use in "\<script setup\>" only! */
2
2
  export declare function defineDeepModel<T>(name?: string): T;
@@ -1,4 +1,4 @@
1
- import "./index-CRLd5xyg.js";
1
+ import "./app-DntcWR3_.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));