@feedmepos/mf-inventory-portal 0.0.25-dev.4 → 0.0.25-dev.42

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 (112) hide show
  1. package/dist/{App-DavuRdR4.js → App-BgLyTa3Z.js} +35 -34
  2. package/dist/ApprovalView-UC31qsPD.js +143 -0
  3. package/dist/{BindingsDialog-Ckbhr9x3.js → BindingsDialog-h9el4EvX.js} +6 -6
  4. package/dist/{BindingsPicker-B63gIPVJ.js → BindingsPicker-Cw5AT6xO.js} +8 -8
  5. package/dist/{BindingsTable-5w7_8JzF.js → BindingsTable-Boj3hZup.js} +6 -6
  6. package/dist/ClosingDraftView-DOH7FmkH.js +1348 -0
  7. package/dist/ClosingTemplateView-CG7qArA8.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-k1J8dWcK.js +211 -0
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-M5pWGm8D.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C5qp_p1A.js} +52 -52
  11. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DBYsiV9t.js +51 -0
  12. package/dist/{IngredientGroupView-D_1gJl4X.js → IngredientGroupView-CWEw3I3i.js} +14 -14
  13. package/dist/{IngredientsView-Xzt0_AP8.js → IngredientsView-B6EDjPTe.js} +577 -551
  14. package/dist/{IntegrationView-BcF7Qhvw.js → IntegrationView-DiSoM1K8.js} +660 -623
  15. package/dist/{InventoryBindingForm-Cm49VDtA.js → InventoryBindingForm-nKWx-EUW.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-EJ0U2gdF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMMD4hwX.js} +96 -96
  17. package/dist/{InventoryBindingSummary-D821YZ-3.js → InventoryBindingSummary-CQnCjIY4.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6jGlkOx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cr8DwdOC.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-TMYgOcbh.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DnZI3Gfj.js} +15 -15
  20. package/dist/PublishView-DvHW27pI.js +222 -0
  21. package/dist/{PurchaseOrderPrintPreview-DiCTMEY4.js → PurchaseOrderPrintPreview-DSTbRKyh.js} +1 -1
  22. package/dist/ReceiveRequestView-BKRHqSU-.js +2577 -0
  23. package/dist/{RecipeView-k5yiAPop.js → RecipeView-CFTrf0YF.js} +47 -46
  24. package/dist/{index-DhAsCP14.js → StockView-CAPLd29m.js} +3564 -1764
  25. package/dist/{SupplierView-De4_YCtR.js → SupplierView-C_CrS9FM.js} +446 -457
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BWuWB95v.js +1564 -0
  27. package/dist/TransferTemplateView-BaJaiaO9.js +1526 -0
  28. package/dist/{UnitView-DouWNXFf.js → UnitView-DY9nZs1y.js} +14 -14
  29. package/dist/{WarehouseView-RQN-XBeO.js → WarehouseView-CAFxl8K4.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 +21 -4
  33. package/dist/api/purchase-order.d.ts +6 -1
  34. package/dist/api/stock.d.ts +1 -0
  35. package/dist/{app-Bmmin1VX.js → app-Jh5wwLsF.js} +28968 -28906
  36. package/dist/app.js +1 -1
  37. package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
  38. package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
  39. package/dist/components/FmLockableField.vue.d.ts +3 -0
  40. package/dist/components/FmMultiselectDialog.d.ts +23 -0
  41. package/dist/components/FmMultiselectDialog.vue.d.ts +20 -3
  42. package/dist/components/FmMultiselectDialogProps.d.ts +2 -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-CZhBTty7.js → decimal-0_acpDRy.js} +1 -1
  46. package/dist/feature-CqX_LtOl.js +1007 -0
  47. package/dist/{format-unit-display-CijRcRSo.js → format-unit-display-CYPC8_oX.js} +335 -328
  48. package/dist/helper/country.d.ts +1 -0
  49. package/dist/helper/fuzzy.d.ts +10 -0
  50. package/dist/index-QcOk4LDU.js +35546 -0
  51. package/dist/{stock-D5lxPBQG.js → stock-BpWEKDoQ.js} +29 -25
  52. package/dist/stores/feature.d.ts +4 -5
  53. package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
  54. package/dist/stores/integration/netsuite.d.ts +21 -4
  55. package/dist/stores/inventory.d.ts +135 -8
  56. package/dist/stores/location.d.ts +100 -0
  57. package/dist/stores/warehouse.d.ts +1 -0
  58. package/dist/style.css +1 -1
  59. package/dist/{supplier-BU1WhNTR.js → supplier-By3gzRHW.js} +1 -1
  60. package/dist/tsconfig.app.tsbuildinfo +1 -1
  61. package/dist/use-ingredient-select-dialog-hkbfGnB9.js +51 -0
  62. package/dist/{use-inventory-binding-dialog-ZneYylve.js → use-inventory-binding-dialog-BFG04MUx.js} +1 -1
  63. package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
  64. package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
  65. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
  66. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  67. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
  68. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
  72. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
  73. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  74. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  75. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
  76. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  77. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  78. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
  79. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +411 -17
  80. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -2
  81. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
  82. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +6 -3
  83. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +822 -29
  84. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +650 -48
  85. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  86. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  87. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  88. package/dist/views/receive-request/import/export.d.ts +12 -0
  89. package/dist/views/receive-request/import/props.d.ts +7 -0
  90. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
  91. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
  92. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
  93. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
  94. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +9 -4
  95. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +60 -12
  96. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +60 -12
  97. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
  98. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
  99. package/dist/{vue-i18n-BQNx5sCM.js → vue-i18n-D57Xfcpf.js} +226 -226
  100. package/package.json +3 -3
  101. package/dist/ApprovalView-DjDzZmVI.js +0 -138
  102. package/dist/ClosingDraftView-BwV3uiYC.js +0 -1225
  103. package/dist/ClosingTemplateView-vaAj0Y-0.js +0 -1819
  104. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-Dy1BXu1R.js +0 -142
  105. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZ_Q-3lU.js +0 -286
  106. package/dist/PublishView-CYdu5jl4.js +0 -192
  107. package/dist/ReceiveRequestView-DGqs1rpr.js +0 -1876
  108. package/dist/StockView-DX0RjayP.js +0 -1817
  109. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DhdMwHAA.js +0 -1327
  110. package/dist/TransferTemplateView-DEwJaqYB.js +0 -1284
  111. package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
  112. package/dist/index-DbE8p73U.js +0 -29202
@@ -3,4 +3,5 @@ export declare const useClosingDraftApi: () => {
3
3
  getDraft(id: string): Promise<FdoClosingDraft & RevisionIdMeta>;
4
4
  readDrafts(): Promise<(FdoClosingDraft & RevisionIdMeta)[]>;
5
5
  runOperation(operation: FdtoClosingDraftOperation): Promise<void>;
6
+ sync(operation: FdtoClosingDraftOperation): Promise<void>;
6
7
  };
@@ -10,6 +10,7 @@ export declare const useInventoryApi: () => {
10
10
  acceptRequest: boolean;
11
11
  dbName: string;
12
12
  doc: {
13
+ customAttributes?: Record<string, any> | null | undefined;
13
14
  _id: string;
14
15
  businessId: string;
15
16
  profile: {
@@ -108,6 +109,7 @@ export declare const useInventoryApi: () => {
108
109
  }[];
109
110
  }[] | null | undefined;
110
111
  sku?: {
112
+ customAttributes?: Record<string, any> | null | undefined;
111
113
  trackingMeasurement?: string | null | undefined;
112
114
  convert?: {
113
115
  measurement?: string | null | undefined;
@@ -151,7 +153,6 @@ export declare const useInventoryApi: () => {
151
153
  low: number;
152
154
  mid: number;
153
155
  } | null | undefined;
154
- customAttributes?: Record<string, any> | null | undefined;
155
156
  unit: {
156
157
  _id: string;
157
158
  name: string;
@@ -213,6 +214,7 @@ export declare const useInventoryApi: () => {
213
214
  _id: string;
214
215
  name: string;
215
216
  skus: {
217
+ customAttributes?: Record<string, any> | null | undefined;
216
218
  trackingMeasurement?: string | null | undefined;
217
219
  convert?: {
218
220
  measurement?: string | null | undefined;
@@ -256,7 +258,6 @@ export declare const useInventoryApi: () => {
256
258
  low: number;
257
259
  mid: number;
258
260
  } | null | undefined;
259
- customAttributes?: Record<string, any> | null | undefined;
260
261
  code: string;
261
262
  _id: string;
262
263
  name: string;
@@ -282,6 +283,7 @@ export declare const useInventoryApi: () => {
282
283
  }[];
283
284
  }[] | null | undefined;
284
285
  sku?: {
286
+ customAttributes?: Record<string, any> | null | undefined;
285
287
  trackingMeasurement?: string | null | undefined;
286
288
  convert?: {
287
289
  measurement?: string | null | undefined;
@@ -325,7 +327,6 @@ export declare const useInventoryApi: () => {
325
327
  low: number;
326
328
  mid: number;
327
329
  } | null | undefined;
328
- customAttributes?: Record<string, any> | null | undefined;
329
330
  unit: {
330
331
  _id: string;
331
332
  name: string;
@@ -387,6 +388,7 @@ export declare const useInventoryApi: () => {
387
388
  _id: string;
388
389
  name: string;
389
390
  skus: {
391
+ customAttributes?: Record<string, any> | null | undefined;
390
392
  trackingMeasurement?: string | null | undefined;
391
393
  convert?: {
392
394
  measurement?: string | null | undefined;
@@ -430,7 +432,6 @@ export declare const useInventoryApi: () => {
430
432
  low: number;
431
433
  mid: number;
432
434
  } | null | undefined;
433
- customAttributes?: Record<string, any> | null | undefined;
434
435
  code: string;
435
436
  _id: string;
436
437
  name: string;
@@ -456,6 +457,7 @@ export declare const useInventoryApi: () => {
456
457
  }[];
457
458
  }[] | null | undefined;
458
459
  sku?: {
460
+ customAttributes?: Record<string, any> | null | undefined;
459
461
  trackingMeasurement?: string | null | undefined;
460
462
  convert?: {
461
463
  measurement?: string | null | undefined;
@@ -499,7 +501,6 @@ export declare const useInventoryApi: () => {
499
501
  low: number;
500
502
  mid: number;
501
503
  } | null | undefined;
502
- customAttributes?: Record<string, any> | null | undefined;
503
504
  unit: {
504
505
  _id: string;
505
506
  name: string;
@@ -561,6 +562,7 @@ export declare const useInventoryApi: () => {
561
562
  _id: string;
562
563
  name: string;
563
564
  skus: {
565
+ customAttributes?: Record<string, any> | null | undefined;
564
566
  trackingMeasurement?: string | null | undefined;
565
567
  convert?: {
566
568
  measurement?: string | null | undefined;
@@ -604,7 +606,6 @@ export declare const useInventoryApi: () => {
604
606
  low: number;
605
607
  mid: number;
606
608
  } | null | undefined;
607
- customAttributes?: Record<string, any> | null | undefined;
608
609
  code: string;
609
610
  _id: string;
610
611
  name: string;
@@ -613,6 +614,8 @@ export declare const useInventoryApi: () => {
613
614
  updatedAt?: string | null | undefined;
614
615
  _id: string;
615
616
  }>>;
617
+ publishInventory(locationId: string): Promise<String[]>;
618
+ publishAllInventory(): Promise<String[]>;
616
619
  urls: {
617
620
  portalBackendUrl: string;
618
621
  netSuiteBackendUrl: string;
@@ -9,9 +9,13 @@ export declare const useNetSuiteApi: () => {
9
9
  }[] | null | undefined;
10
10
  _id: string;
11
11
  items: {
12
+ externalId?: string | null | undefined;
13
+ cogsAccount?: {
14
+ id: string;
15
+ refName: string;
16
+ } | null | undefined;
12
17
  pktCode?: string | null | undefined;
13
18
  pktName?: string | null | undefined;
14
- externalId?: string | null | undefined;
15
19
  id: string;
16
20
  netSuiteId: string;
17
21
  unitTypeId: string;
@@ -28,9 +32,13 @@ export declare const useNetSuiteApi: () => {
28
32
  subsidiaryId: string;
29
33
  }[];
30
34
  childItems: {
35
+ externalId?: string | null | undefined;
36
+ cogsAccount?: {
37
+ id: string;
38
+ refName: string;
39
+ } | null | undefined;
31
40
  pktCode?: string | null | undefined;
32
41
  pktName?: string | null | undefined;
33
- externalId?: string | null | undefined;
34
42
  netSuiteId: string;
35
43
  parentNetSuiteId: string;
36
44
  unitTypeId: string;
@@ -64,6 +72,7 @@ export declare const useNetSuiteApi: () => {
64
72
  }[];
65
73
  realm: string;
66
74
  }>;
75
+ getNetSuiteLocation(): Promise<any>;
67
76
  syncTransferOrder(type: string, locationId: string, poId: string, porId?: string): Promise<{
68
77
  accessToken?: string | null | undefined;
69
78
  syncedAt?: string | null | undefined;
@@ -74,9 +83,13 @@ export declare const useNetSuiteApi: () => {
74
83
  }[] | null | undefined;
75
84
  _id: string;
76
85
  items: {
86
+ externalId?: string | null | undefined;
87
+ cogsAccount?: {
88
+ id: string;
89
+ refName: string;
90
+ } | null | undefined;
77
91
  pktCode?: string | null | undefined;
78
92
  pktName?: string | null | undefined;
79
- externalId?: string | null | undefined;
80
93
  id: string;
81
94
  netSuiteId: string;
82
95
  unitTypeId: string;
@@ -93,9 +106,13 @@ export declare const useNetSuiteApi: () => {
93
106
  subsidiaryId: string;
94
107
  }[];
95
108
  childItems: {
109
+ externalId?: string | null | undefined;
110
+ cogsAccount?: {
111
+ id: string;
112
+ refName: string;
113
+ } | null | undefined;
96
114
  pktCode?: string | null | undefined;
97
115
  pktName?: string | null | undefined;
98
- externalId?: string | null | undefined;
99
116
  netSuiteId: string;
100
117
  parentNetSuiteId: string;
101
118
  unitTypeId: string;
@@ -1,13 +1,18 @@
1
1
  import type { WithRev } from '@/api/type';
2
+ export type WithToInventoryLocation = {
3
+ toInventoryLocation: FdoInventoryLocation;
4
+ };
2
5
  export declare const usePurchaseOrderApi: () => {
3
- readRequests(dbName?: string): Promise<WithRev<FdoPurchaseOrderRequest>[]>;
6
+ readRequests(dbName?: string): Promise<WithRev<FdoPurchaseOrderRequest & WithToInventoryLocation>[]>;
4
7
  getPurchaseOrders({ start, end }: {
5
8
  start: string;
6
9
  end: string;
7
10
  }): Promise<WithRev<FdoPurchaseOrder>[]>;
11
+ getLatestPurchaseOrderRequest(purchaseOrderId: FdoPurchaseOrder['_id']): Promise<FdoPurchaseOrderRequest | undefined>;
8
12
  getPurchaseOrderById(id: FdoPurchaseOrder['_id']): Promise<WithRev<FdoPurchaseOrder>>;
9
13
  processPurchaseOrder(dto: FdtoPurchaseOrderOperation, db?: string): Promise<WithRev<FdoPurchaseOrder>>;
10
14
  createPurchaseOrder(purchase: FdtoCreatePurchaseOrder): Promise<WithRev<FdoPurchaseOrder>>;
11
15
  updatePurchaseOrder(purchase: FdtoUpdatePurchaseOrder): Promise<WithRev<FdoPurchaseOrder>>;
16
+ importFromXilnex(payload: FdtoXilnexTransferNote): Promise<void>;
12
17
  };
13
18
  export declare const purchaseOrderApi: {};
@@ -4,6 +4,7 @@ export declare const useStockApi: () => {
4
4
  readSkuBalance(): Promise<FdoProductBalance[]>;
5
5
  readSingleAdjustment(id: string): Promise<WithRev<FdoInventoryAdjustment> | null>;
6
6
  readStockAdjustment(id: string, start: string, end: string): Promise<WithRev<FdoInventoryAdjustment>[]>;
7
+ readAdjustmentById(id: string): Promise<WithRev<FdoInventoryAdjustment>>;
7
8
  convertSku(dto: FdtoConvertSku): Promise<any>;
8
9
  adjustSku(dto: FdtoAdjustSkuBalance): Promise<any>;
9
10
  recalculation: {