@feedmepos/mf-inventory-portal 1.2.65 → 1.2.66-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 (135) hide show
  1. package/dist/{App-DEmYZZ1B.js → App-BUNonuLz.js} +82 -78
  2. package/dist/{ApprovalView-BsjUVJws.js → ApprovalView-BlS1tfbh.js} +5 -5
  3. package/dist/{BindingsDialog-D3imHH3Z.js → BindingsDialog-tRpsVTm0.js} +5 -5
  4. package/dist/{BindingsPicker-DO4gQPN1.js → BindingsPicker-CUvkqcAG.js} +3 -3
  5. package/dist/{BindingsTable-D7xNfttj.js → BindingsTable-B86pWYMk.js} +5 -5
  6. package/dist/{ClosingDraftView-CtnBSmw8.js → ClosingDraftView-gMVnQcWw.js} +225 -223
  7. package/dist/ClosingHistoryView-DhbE1pEl.js +1147 -0
  8. package/dist/{ClosingTemplateView-CMwSS9rh.js → ClosingTemplateView-Ywbdj05y.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-BjmSS9su.js → DeliveryOrderPrintPreview-BPhVNc_r.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-PaJxAwfq.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js} +16 -16
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiVdVYaT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js} +2 -2
  12. package/dist/{FmMultiselectDialog-CbyZNNG-.js → FmMultiselectDialog-C6E_KMFO.js} +1 -1
  13. package/dist/{FmMultiselectDialog-D0nX5qsz.js → FmMultiselectDialog-DBXpkw5b.js} +16 -16
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CD_YyePH.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js} +23 -22
  15. package/dist/{ImportView-aJ4TFKPM.js → ImportView-DV1e51qk.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CuR9NfYU.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DkQL7hK2.js} +1 -1
  17. package/dist/{IngredientGroupView-DUEG260s.js → IngredientGroupView-CdXGO34J.js} +5 -5
  18. package/dist/{IngredientsView-DVMyMVrC.js → IngredientsView-D2qffNiJ.js} +25 -24
  19. package/dist/{IntegrationView-fPxyilFi.js → IntegrationView-RFJIHXQv.js} +18 -17
  20. package/dist/{InventoryBindingForm-B3UkZuh1.js → InventoryBindingForm-CPn-IXgg.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BKIPodzM.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js} +17 -16
  22. package/dist/{InventoryBindingSummary-BouYW6hE.js → InventoryBindingSummary-B_WUQ6By.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DNKT61XF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js} +5 -5
  24. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DhIHSpzG.js +93 -0
  25. package/dist/{PublishView-DOqZQ6EC.js → PublishView-BtTSOUyL.js} +8 -8
  26. package/dist/{PurchaseOrderPrintPreview-Ce5gAr4m.js → PurchaseOrderPrintPreview-CxhMPx5u.js} +11 -11
  27. package/dist/{ReceiveRequestView-Cc64UK7B.js → ReceiveRequestView-CsqEjf7r.js} +144 -142
  28. package/dist/RecipeView-DASoba97.js +1558 -0
  29. package/dist/StockView-B4Km4DgB.js +2395 -0
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DET2fkbz.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cki-LAZR.js} +1 -1
  31. package/dist/{SupplierView-DHN7YeKF.js → SupplierView-CrzFvBIx.js} +20 -19
  32. package/dist/{SurchargeView-HP1FTw9C.js → SurchargeView-BoNWpxFY.js} +6 -6
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dmc1JYgH.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dcp5vZPM.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B7oS8hTd.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-IAknr-ye.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DHV6OqXy.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9aNX0oM.js} +131 -130
  36. package/dist/{TransferTemplateView-EXdlE0KB.js → TransferTemplateView-DwIU0paO.js} +22 -21
  37. package/dist/UnitCostHistoryView-Bjs4RwyR.js +651 -0
  38. package/dist/UnitDisplayControl.vue_vue_type_script_setup_true_lang-BH0PxivU.js +137 -0
  39. package/dist/{UnitView-_-DIG18g.js → UnitView-BbQ0jOgS.js} +11 -9
  40. package/dist/{WarehouseView-WMQ_n-_f.js → WarehouseView-DzPttKzE.js} +5 -5
  41. package/dist/{WastageTemplateView-C-wRbiNy.js → WastageTemplateView-CxyZz5JC.js} +14 -14
  42. package/dist/api/closing.d.ts +2 -0
  43. package/dist/api/inventory.d.ts +126 -36
  44. package/dist/api/netsuite.d.ts +8 -1
  45. package/dist/api/stock.d.ts +5 -1
  46. package/dist/api/unit-cost-history.d.ts +28 -0
  47. package/dist/{app-_wLPJvlC.js → app-EoCCjoRh.js} +8957 -7882
  48. package/dist/app.d.ts +236 -0
  49. package/dist/app.js +1 -1
  50. package/dist/{closing-template-B0HNCf_j.js → closing-template-O_hzhisU.js} +1 -1
  51. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
  52. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
  53. package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
  54. package/dist/{date2-BmRujNQL.js → date2-CTHKdfXp.js} +1 -1
  55. package/dist/{dayjs.min-CXh48dHa.js → dayjs.min-Ccv4NdEp.js} +16 -16
  56. package/dist/decimal-tRyklLh0.js +99 -0
  57. package/dist/{defineDeepModel-TkDG2QNy.js → defineDeepModel-rmOd66to.js} +1 -1
  58. package/dist/{duplicate-template-BzBR_5Cy.js → duplicate-template-k8Erwdzo.js} +1 -1
  59. package/dist/export-TmaGpV98.js +25 -0
  60. package/dist/{feature-BAPc_0tE.js → feature-D4-lt7R6.js} +94 -89
  61. package/dist/{format-time-from-id-Ch8lz0j3.js → format-time-from-id-Cru7cG1h.js} +1 -1
  62. package/dist/{format-unit-display-pxNgyWy1.js → format-unit-display-DZDD796a.js} +16 -15
  63. package/dist/{import-export.helper-COYebamd.js → import-export.helper-BjzXGudc.js} +16 -15
  64. package/dist/{index-DZJznlrX.js → index-BeEz64I1.js} +3 -3
  65. package/dist/{index--_LLyzOc.js → index-DKCY6354.js} +1471 -1412
  66. package/dist/{index-C0t1NFHp.js → index-gGbN4qbt.js} +1 -1
  67. package/dist/{lodash-AonP5yrI.js → lodash-BSCFf0k7.js} +1 -1
  68. package/dist/{netsuite-DxqPjEqv.js → netsuite-DwoCq3Mv.js} +92 -92
  69. package/dist/number-CEUoMyIk.js +138 -0
  70. package/dist/{purchase-order-template-C0aR-o7E.js → purchase-order-template-DWTdjo9l.js} +1 -1
  71. package/dist/router/name.d.ts +1 -0
  72. package/dist/rules-CyW1Bx31.js +98 -0
  73. package/dist/{stock-ClNth1E-.js → stock-DYWJ4DZW.js} +28 -27
  74. package/dist/stock-Ds3GNgHG.js +75 -0
  75. package/dist/stores/feature.d.ts +2 -0
  76. package/dist/stores/integration/netsuite.d.ts +8 -1
  77. package/dist/stores/inventory.d.ts +120 -30
  78. package/dist/{supplier-B8TSd8y3.js → supplier-DwUb1oVo.js} +2 -2
  79. package/dist/{surcharge-CA0pCS0I.js → surcharge-UTJFNBLN.js} +1 -1
  80. package/dist/tsconfig.app.tsbuildinfo +1 -1
  81. package/dist/{use-ingredient-select-dialog-Dvcgd9yd.js → use-ingredient-select-dialog-D8A3bPTe.js} +2 -2
  82. package/dist/{use-inventory-binding-dialog-CzthGApH.js → use-inventory-binding-dialog-DFmiAQ9d.js} +2 -2
  83. package/dist/{use-template-enabled-locations-2-DKXN5g18.js → use-template-enabled-locations-2-snlITfW8.js} +2 -2
  84. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -12
  85. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +204 -36
  86. package/dist/views/closing-history/ClosingDetailDialog.vue.d.ts +23 -0
  87. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  88. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  89. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  90. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  91. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  92. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  93. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  94. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  95. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  96. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  97. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  98. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  99. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  100. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  101. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  102. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  103. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  104. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  105. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  106. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  107. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  108. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  109. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  110. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  111. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
  112. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  113. package/dist/views/stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts +11 -0
  114. package/dist/views/stock/components/dialog/recalculationUtils.d.ts +16 -0
  115. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  116. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  117. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  118. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  119. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  120. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  121. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  122. package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
  123. package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
  124. package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
  125. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
  126. package/dist/{vue-i18n-CEulw4I5.js → vue-i18n-CY4442Fb.js} +374 -374
  127. package/dist/{xlsx-BtS4E6KT.js → xlsx-Kc1XotGV.js} +1 -1
  128. package/dist/{xlsx.util-DJI2rWqR.js → xlsx.util-Dy4jmPyv.js} +1 -1
  129. package/package.json +1 -1
  130. package/dist/ClosingHistoryView-DYL41vEL.js +0 -447
  131. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BqbGMohU.js +0 -116
  132. package/dist/RecipeView-BFizdFr2.js +0 -646
  133. package/dist/StockView-BrUbNS1w.js +0 -2520
  134. package/dist/rules-RTkxkzJH.js +0 -327
  135. package/dist/stock-DPU3FeY4.js +0 -75
@@ -1,26 +1,27 @@
1
1
  import { defineComponent as ae, onMounted as Fe, computed as N, ref as H, watch as Ce, inject as ot, resolveComponent as V, openBlock as S, createElementBlock as L, createElementVNode as e, createVNode as c, withCtx as B, renderSlot as xe, withDirectives as qe, normalizeClass as re, vModelText as Pe, reactive as st, h as Q, toDisplayString as I, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as ke, renderList as Qe, createBlock as ne, mergeProps as Ye, createTextVNode as le, mergeModels as Le, useModel as nt, isRef as He, Teleport as lt, normalizeProps as at, guardReactiveProps as rt } from "vue";
2
2
  import { u as it, _ as ut } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
3
3
  import { useI18n as me } from "@feedmepos/mf-common";
4
- import { f as dt, t as mt, u as Ne, a as pt } from "./format-unit-display-pxNgyWy1.js";
4
+ import { f as dt, t as mt, u as Ne, a as pt } from "./format-unit-display-DZDD796a.js";
5
5
  import { R as Ee } from "./row-action.enum-BcW_L_nE.js";
6
- import { a as We, s as ct, t as X, u as Ge, v as ft, k as ye } from "./app-_wLPJvlC.js";
7
- import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiVdVYaT.js";
6
+ import { a as We, s as ct, t as X, u as Ge, v as ft, k as ye } from "./app-EoCCjoRh.js";
7
+ import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js";
8
8
  import { components as ue, useSnackbar as vt, useProxiedModel as Ke, useBreakpoints as bt } from "@feedmepos/ui-library";
9
9
  import { defineStore as gt, storeToRefs as ze } from "pinia";
10
10
  import { F as de } from "./form-mode.enum-BKiNVH6A.js";
11
- import { u as he, t as je, I as ht, b as _t, n as xt, a as se, c as kt, R as we, g as be, d as ve, A as Te, M as wt, e as Tt } from "./rules-RTkxkzJH.js";
12
- import { d as Ze } from "./defineDeepModel-TkDG2QNy.js";
13
- import { _ as Ft, F as Ct, a as It, b as Mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CD_YyePH.js";
14
- import { F as _e, u as ge } from "./feature-BAPc_0tE.js";
15
- import { u as Je } from "./netsuite-DxqPjEqv.js";
16
- import { u as $t } from "./supplier-B8TSd8y3.js";
17
- import { u as St } from "./use-ingredient-select-dialog-Dvcgd9yd.js";
11
+ import { I as ht, a as _t, R as we, A as Te, M as xt } from "./rules-CyW1Bx31.js";
12
+ import { u as he, t as je, b as kt, n as wt, a as se, g as be, c as ve, d as Tt } from "./number-CEUoMyIk.js";
13
+ import { d as Ze } from "./defineDeepModel-rmOd66to.js";
14
+ import { _ as Ft, F as Ct, a as It, b as Mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js";
15
+ import { F as _e, u as ge } from "./feature-D4-lt7R6.js";
16
+ import { u as Je } from "./netsuite-DwoCq3Mv.js";
17
+ import { u as $t } from "./supplier-DwUb1oVo.js";
18
+ import { u as St } from "./use-ingredient-select-dialog-D8A3bPTe.js";
18
19
  import { F as ee, _ as Xe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
19
- import { u as Ot } from "./use-template-enabled-locations-2-DKXN5g18.js";
20
- import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-PaJxAwfq.js";
21
- import { u as At } from "./purchase-order-template-C0aR-o7E.js";
22
- import { f as Rt } from "./format-time-from-id-Ch8lz0j3.js";
23
- import { f as Bt } from "./date2-BmRujNQL.js";
20
+ import { u as Ot } from "./use-template-enabled-locations-2-snlITfW8.js";
21
+ import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js";
22
+ import { u as At } from "./purchase-order-template-DWTdjo9l.js";
23
+ import { f as Rt } from "./format-time-from-id-Cru7cG1h.js";
24
+ import { f as Bt } from "./date2-CTHKdfXp.js";
24
25
  const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { class: "flex-1" }, Lt = { class: "flex items-center" }, Nt = { class: "flex-1" }, Et = { class: "flex-1" }, zt = /* @__PURE__ */ ae({
25
26
  __name: "FmMinMaxInput",
26
27
  props: {
@@ -72,8 +73,8 @@ const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { c
72
73
  return Math.max((p == null ? void 0 : p.precision) ?? 0, (b == null ? void 0 : b.precision) ?? 0, h.precision ?? 0);
73
74
  }), s = (p) => {
74
75
  if (!p) return "";
75
- const b = _t(p), w = r.value, i = he(b, w);
76
- return xt(
76
+ const b = kt(p), w = r.value, i = he(b, w);
77
+ return wt(
77
78
  +se(i),
78
79
  i.precision
79
80
  );
@@ -182,7 +183,7 @@ function Qt(f, h) {
182
183
  };
183
184
  }
184
185
  function Yt(f) {
185
- const h = kt(f), y = se(f);
186
+ const h = _t(f), y = se(f);
186
187
  return function(r) {
187
188
  const s = !(r != null && r.min) || h(r.min) === !0, u = !(r != null && r.max) || h(r.max) === !0;
188
189
  return !s && !u ? `Min & max must be a multiple of ${y}` : s ? u ? !0 : `Max must be a multiple of ${y}` : `Min must be a multiple of ${y}`;
@@ -415,7 +416,7 @@ function Ht(f, h = {}) {
415
416
  amount: 1,
416
417
  precision: be(o.sku.unit, o.measurement)
417
418
  }),
418
- wt(o.sku.unit, o.measurement)
419
+ xt(o.sku.unit, o.measurement)
419
420
  ]
420
421
  });
421
422
  },
@@ -1463,7 +1464,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
1463
1464
  }, 8, ["header", "modelValue", "dismiss-away"]);
1464
1465
  };
1465
1466
  }
1466
- }), cs = { class: "flex-1 flex flex-col gap-8" }, fs = { class: "flex flex-col" }, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, bs = { class: "fm-typo-en-body-lg-400" }, gs = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, hs = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, zs = /* @__PURE__ */ ae({
1467
+ }), cs = { class: "flex-1 flex flex-col gap-8" }, fs = { class: "flex flex-col" }, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, bs = { class: "fm-typo-en-body-lg-400" }, gs = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, hs = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, js = /* @__PURE__ */ ae({
1467
1468
  __name: "TransferTemplateView",
1468
1469
  setup(f) {
1469
1470
  const { t: h } = me(), { createTemplate: y, viewTemplate: a, importTemplates: r, exportTemplates: s } = Ne(), { templateDialogProps: u, templateDetailsProps: _ } = ze(Ne()), M = pt(), { loading: v, templates: o } = ze(M), d = H(!1), m = it(), k = Ge(), { breakpoints: T } = bt();
@@ -1611,5 +1612,5 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
1611
1612
  }
1612
1613
  });
1613
1614
  export {
1614
- zs as default
1615
+ js as default
1615
1616
  };