@feedmepos/mf-inventory-portal 1.0.21-dev.1 → 1.0.22-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 (52) hide show
  1. package/dist/{App-Cpk0Wu_0.js → App-DKpBoETt.js} +2 -2
  2. package/dist/{ApprovalView-p1iGWSs1.js → ApprovalView-DUELMVOt.js} +2 -2
  3. package/dist/{BindingsDialog-Cs9FB1Kc.js → BindingsDialog-BbwaoH1V.js} +2 -2
  4. package/dist/{BindingsPicker-5WKT-tQj.js → BindingsPicker-Co91nBu5.js} +1 -1
  5. package/dist/{BindingsTable-C3Ln6H4O.js → BindingsTable-CfGpcJbV.js} +1 -1
  6. package/dist/{ClosingDraftView-D27NM_bF.js → ClosingDraftView-CtDu4gYg.js} +2 -2
  7. package/dist/{ClosingTemplateView-CUwLknJZ.js → ClosingTemplateView-9ugr-E5Y.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-CuMyAMbl.js → DeliveryOrderPrintPreview-D4wDJKJM.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-F4PeKtAh.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C6_Ua9qb.js} +3 -3
  10. package/dist/{FmMultiselectDialog-BX7To_wd.js → FmMultiselectDialog-fRcvT8PM.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-sLBOIq41.js → FmUnitInput.vue_vue_type_script_setup_true_lang-4xfely-0.js} +1 -1
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DiJVdFoO.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DCLepeXM.js} +1 -1
  13. package/dist/{IngredientGroupView-RLmE4LdD.js → IngredientGroupView-BKMbP_tk.js} +2 -2
  14. package/dist/{IngredientsView-CHIkVwR2.js → IngredientsView-DZ6GaNmh.js} +5 -5
  15. package/dist/{IntegrationView-xhCjaXot.js → IntegrationView-Cdxe3ek6.js} +5 -5
  16. package/dist/{InventoryBindingForm-DUlMGem9.js → InventoryBindingForm-Df2xDcAe.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bfa05ZZF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-uEO5JKUW.js} +3 -3
  18. package/dist/{InventoryBindingSummary-COU4urVr.js → InventoryBindingSummary-tR7tgq-a.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CCz5uOEd.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CPk_7mxH.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CbrcfUMT.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DV0sQIh_.js} +37 -37
  21. package/dist/{PublishView-BfXYT0Ni.js → PublishView-CZKgIE-X.js} +2 -2
  22. package/dist/{PurchaseOrderPrintPreview-SNTFMjxx.js → PurchaseOrderPrintPreview-DSluQZDi.js} +1 -1
  23. package/dist/ReceiveRequestView-Ldz7vr1u.js +2644 -0
  24. package/dist/{RecipeView-QtT5VCWT.js → RecipeView-CUJIeaWu.js} +4 -4
  25. package/dist/{StockView-BnfsJgSc.js → StockView-CBtAZjjj.js} +7 -7
  26. package/dist/{SupplierView-i3_6ei6J.js → SupplierView-Bjb0ygav.js} +482 -480
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BgezEhA2.js → TransferDetails.vue_vue_type_script_setup_true_lang-B0tt7ir6.js} +6 -6
  28. package/dist/{TransferTemplateView-e7mXYh9Y.js → TransferTemplateView-DN8G_xl8.js} +195 -194
  29. package/dist/{UnitView-Qq-6ZCju.js → UnitView-C2hi87bo.js} +3 -3
  30. package/dist/WarehouseView-DSpjmL-N.js +1034 -0
  31. package/dist/api/stock-estimate.d.ts +1 -1
  32. package/dist/{app-CNZ_QiI6.js → app-OXMxNgrT.js} +255 -253
  33. package/dist/app.js +1 -1
  34. package/dist/{decimal-Dn4Zx4WR.js → decimal-BHadyOEY.js} +1 -1
  35. package/dist/{feature-CA3VBtrB.js → feature-B9uo-iYZ.js} +394 -387
  36. package/dist/{format-unit-display-CYO2Ov4U.js → format-unit-display-Cji-r-K6.js} +2 -2
  37. package/dist/{index-CAf_Z_AY.js → index-B5xhf4x0.js} +1 -1
  38. package/dist/{index-CAWhMkMX.js → index-B72H3Oxs.js} +2 -2
  39. package/dist/{stock-7Lb1t4WF.js → stock-BpE4s385.js} +1 -1
  40. package/dist/stores/integration/netsuite.d.ts +4 -0
  41. package/dist/stores/stock-estimate.d.ts +1 -1
  42. package/dist/{supplier-BSvtp7BZ.js → supplier-CB_uu-6p.js} +2 -2
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/types/forecast.d.ts +6 -0
  45. package/dist/{use-ingredient-select-dialog-BlULowJ-.js → use-ingredient-select-dialog-C9dRsaoW.js} +1 -1
  46. package/dist/{use-inventory-binding-dialog-Cx_fu8cj.js → use-inventory-binding-dialog-BNHELUOB.js} +1 -1
  47. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +9 -0
  48. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -0
  49. package/dist/{vue-i18n-0nfW4sZc.js → vue-i18n-DsGf7G_F.js} +158 -158
  50. package/package.json +2 -2
  51. package/dist/ReceiveRequestView-CprLhACC.js +0 -2578
  52. package/dist/WarehouseView-D-7KEkr9.js +0 -1032
@@ -0,0 +1,6 @@
1
+ export type ForecastAmount = {
2
+ skuId: string;
3
+ amount: number;
4
+ precision: number;
5
+ helperState: 'success' | 'error' | 'warning' | 'none';
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineStore as y } from "pinia";
2
- import { a as S, a1 as b } from "./app-CNZ_QiI6.js";
2
+ import { a as S, a1 as b } from "./app-OXMxNgrT.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, a1 as g } from "./app-CNZ_QiI6.js";
1
+ import { a as P, a1 as g } from "./app-OXMxNgrT.js";
2
2
  import { useDialog as E } from "@feedmepos/ui-library";
3
3
  function B() {
4
4
  const u = P(), _ = E();
@@ -1,5 +1,9 @@
1
+ import type { ForecastAmount } from '@/types/forecast';
1
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ templateId?: string | undefined;
2
4
  disabled?: boolean | undefined;
5
+ poItems: FdoPurchaseOrderItem[];
6
+ templateItems: FdoPurchaseOrderTemplateItem[];
3
7
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
8
  "update:poItems": (poItems: {
5
9
  id?: string | null | undefined;
@@ -89,8 +93,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
93
  };
90
94
  };
91
95
  }[]) => void;
96
+ "update:forecastAmounts": (forecastAmounts: ForecastAmount[]) => void;
92
97
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
98
+ templateId?: string | undefined;
93
99
  disabled?: boolean | undefined;
100
+ poItems: FdoPurchaseOrderItem[];
101
+ templateItems: FdoPurchaseOrderTemplateItem[];
94
102
  }>>> & Readonly<{
95
103
  "onUpdate:poItems"?: ((poItems: {
96
104
  id?: string | null | undefined;
@@ -180,6 +188,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
180
188
  };
181
189
  };
182
190
  }[]) => any) | undefined;
191
+ "onUpdate:forecastAmounts"?: ((forecastAmounts: ForecastAmount[]) => any) | undefined;
183
192
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
184
193
  export default _default;
185
194
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,5 +1,6 @@
1
1
  import { PurchaseOrderTransactionType } from '@/views/receive-request/constants/purchase-order-transaction-type';
2
2
  import { type ColumnDef } from '@feedmepos/ui-library';
3
+ import type { ForecastAmount } from '@/types/forecast';
3
4
  export declare enum ItemColumn {
4
5
  Code = "Code",
5
6
  Name = "Name",
@@ -15,6 +16,7 @@ export declare function useTransferItems(controller: {
15
16
  get transferType(): PurchaseOrderTransactionType;
16
17
  get template(): FdoPurchaseOrderTemplate | undefined | null;
17
18
  get disabled(): boolean;
19
+ get forecastAmounts(): ForecastAmount[];
18
20
  updateItem: (item: FdoPurchaseOrderItem) => void;
19
21
  deleteItem: (item: FdoPurchaseOrderItem) => void;
20
22
  }): {