@feedmepos/mf-inventory-portal 1.1.9-dev.1 → 1.1.9

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 (48) hide show
  1. package/dist/{App-BfIpFPGU.js → App-D1UJ8NY1.js} +1 -1
  2. package/dist/{ApprovalView-Do1yyzE6.js → ApprovalView-Cf6tfPo1.js} +22 -22
  3. package/dist/{BindingsDialog-ubaL5OwF.js → BindingsDialog-C4XnyllW.js} +2 -2
  4. package/dist/{BindingsPicker-BYchmbg-.js → BindingsPicker-BW4-JT2R.js} +1 -1
  5. package/dist/{BindingsTable-ICktlHep.js → BindingsTable-DtDFatll.js} +1 -1
  6. package/dist/{ClosingDraftView-DwbYmvym.js → ClosingDraftView-TtsNry0r.js} +2 -2
  7. package/dist/{ClosingTemplateView-uQSTyQiB.js → ClosingTemplateView-NbwT6bOk.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-mIAgCIr3.js → DeliveryOrderPrintPreview-ujSpOCKj.js} +8 -8
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DDLdXyp6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-AGOtUG41.js} +12 -12
  10. package/dist/{FmMultiselectDialog-zemj5Lmo.js → FmMultiselectDialog-c2e1Pisp.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D9saKOiN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BNxA-pQp.js} +25 -25
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BozsxAU4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-HkmovqY5.js} +1 -1
  13. package/dist/{IngredientGroupView-COhf_EZ5.js → IngredientGroupView-CnSZ_jFk.js} +2 -2
  14. package/dist/{IngredientsView-8VBajGKt.js → IngredientsView-DjWSaEi8.js} +4 -4
  15. package/dist/{IntegrationView-Cs-WRZFa.js → IntegrationView-CJJKfJDQ.js} +83 -83
  16. package/dist/{InventoryBindingForm-BagZK7OF.js → InventoryBindingForm-DhnOLZJo.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DG7_OLWa.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CgLA6KH7.js} +3 -3
  18. package/dist/{InventoryBindingSummary-pPCMIHWZ.js → InventoryBindingSummary-_DhLtjfm.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D2xliATx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BzlWBYz0.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BvDgdLC4.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DRlFOUlD.js} +7 -7
  21. package/dist/{PublishView-BpSIH0g0.js → PublishView-DjA8RTiy.js} +4 -4
  22. package/dist/{PurchaseOrderPrintPreview-CHFo2OWK.js → PurchaseOrderPrintPreview-Bzdm9Vd-.js} +7 -7
  23. package/dist/{ReceiveRequestView-DmhXAzCY.js → ReceiveRequestView-CJ7oiJBQ.js} +60 -60
  24. package/dist/{RecipeView-D_o1ilxq.js → RecipeView--lcBWmZ3.js} +3 -3
  25. package/dist/StockView-BGNukBaV.js +1856 -0
  26. package/dist/{SupplierView-DfMlG0Kb.js → SupplierView-BN1P0pgR.js} +3 -3
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CUbqoBpx.js → TransferDetails.vue_vue_type_script_setup_true_lang-CiK1nGyN.js} +5 -5
  28. package/dist/{TransferTemplateView-M90fc49b.js → TransferTemplateView-P25c3cZ-.js} +64 -64
  29. package/dist/{UnitView-DoBEmSwl.js → UnitView-Umy1Vy0Y.js} +3 -3
  30. package/dist/{WarehouseView-BsogK81-.js → WarehouseView-DNDIdR4i.js} +1 -1
  31. package/dist/api/stock.d.ts +0 -2
  32. package/dist/{app-CwtJJj6R.js → app-CgzMLhAo.js} +20966 -20819
  33. package/dist/app.d.ts +328 -71
  34. package/dist/app.js +1 -1
  35. package/dist/{decimal-Chx0lsE-.js → decimal-D_3mwNtr.js} +1 -1
  36. package/dist/{format-unit-display-CIdi-ibN.js → format-unit-display-Bu29MSxm.js} +17 -17
  37. package/dist/{index-DrX61Ix1.js → index-BE8jrI3O.js} +1 -1
  38. package/dist/{index-m57qt8LD.js → index-D-fVJxc8.js} +1 -1
  39. package/dist/{stock-DRK5DdRY.js → stock-JVbFNtIv.js} +27 -35
  40. package/dist/{supplier-Dyvr7-wz.js → supplier-nx8WElIW.js} +1 -1
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/{use-ingredient-select-dialog-g2uXpJK9.js → use-ingredient-select-dialog-CX9_4vk_.js} +1 -1
  43. package/dist/{use-inventory-binding-dialog-CnXislSE.js → use-inventory-binding-dialog-BfVLQDzr.js} +1 -1
  44. package/dist/views/stock/components/StockRecordCard.vue.d.ts +2 -6
  45. package/package.json +2 -2
  46. package/dist/StockView-BFRupdag.js +0 -2080
  47. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +0 -94
  48. package/dist/views/stock/components/dialog/AmendAdjustmentFormProps.d.ts +0 -3
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as de, mergeModels as Bd, computed as x, useModel as Gd, resolveComponent as A, openBlock as N, createElementBlock as I, createElementVNode as b, createVNode as P, withCtx as L, toDisplayString as w, unref as c, Fragment as Q, renderList as te, ref as M, createBlock as Y, createCommentVNode as X, isRef as Qe, normalizeClass as ee, createTextVNode as Hd, watch as Od, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
2
- import { u as oe } from "./supplier-Dyvr7-wz.js";
3
- import { b as we, h as Yd, D as ed, i as se, f as Ne, a as Fd, o as dd, p as td, k as Xd, a2 as Zd, w as wd, u as ye, m as K, c as ve, e as U, r as Ad, s as zd, v as Td, x as qd, y as Jd, z as Qd, B as et, _ as dt, C as tt, E as rt, G as ue } from "./app-CwtJJj6R.js";
2
+ import { u as oe } from "./supplier-nx8WElIW.js";
3
+ import { b as we, h as Yd, D as ed, i as se, f as Ne, a as Fd, o as dd, p as td, k as Xd, a2 as Zd, w as wd, u as ye, m as K, c as ve, e as U, r as Ad, s as zd, v as Td, x as qd, y as Jd, z as Qd, B as et, _ as dt, C as tt, E as rt, G as ue } from "./app-CgzMLhAo.js";
4
4
  import { useI18n as z, useCoreStore as ge } from "@feedmepos/mf-common";
5
5
  import { useDialog as Ae, useSnackbar as he, useProxiedModel as rd, useDialogChild as nt, useBreakpoints as ot } from "@feedmepos/ui-library";
6
6
  import { _ as at } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
7
- import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D9saKOiN.js";
7
+ import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNxA-pQp.js";
8
8
  import { defineStore as it } from "pinia";
9
9
  function lt(e, d) {
10
10
  const { t } = z(), r = we();
@@ -1,13 +1,13 @@
1
- import { a3 as pt, u as me, aS as O, aT as Ae, aA as ie, c as $e, b as Te, ab as vt, ad as yt, ae as ht, aU as bt, e as Xe, f as rt, a0 as Ke, aV as gt, a8 as st, T as nt, j as fe, a6 as _t, aW as at, ai as qe, h as Ze, i as J, D as ne, aX as ot, aY as it, aZ as Ee, ay as Je, aa as xe, a4 as Le, a5 as St, a_ as ke, Q as wt } from "./app-CwtJJj6R.js";
1
+ import { a3 as pt, u as me, aR as O, aS as Ae, az as ie, c as $e, b as Te, a8 as vt, aa as yt, ab as ht, aT as bt, e as Xe, f as rt, a0 as Ke, aU as gt, a5 as st, T as nt, j as fe, aV as _t, aW as at, af as qe, h as Ze, i as J, D as ne, aX as ot, aY as it, aZ as Ee, ax as Je, a7 as xe, am as Le, as as St, a_ as ke, Q as wt } from "./app-CgzMLhAo.js";
2
2
  import { ref as M, computed as Z, h as A, defineComponent as he, reactive as Rt, onMounted as lt, resolveComponent as z, openBlock as g, createBlock as oe, withCtx as ae, createElementVNode as o, createVNode as I, unref as w, createElementBlock as N, toDisplayString as D, createCommentVNode as U, Fragment as se, renderList as ve, watch as Ot, isRef as Nt, normalizeClass as De, createTextVNode as Be, resolveDynamicComponent as xt } from "vue";
3
- import { F as kt } from "./decimal-Chx0lsE-.js";
3
+ import { F as kt } from "./decimal-D_3mwNtr.js";
4
4
  import { useCoreStore as Pe, useI18n as ct } from "@feedmepos/mf-common";
5
5
  import { useDialog as je, useSnackbar as Ce, components as et, FmButtonVariant as re, useProxiedModel as Dt } from "@feedmepos/ui-library";
6
- import { b as qt, u as At, P as ye, f as $t } from "./format-unit-display-CIdi-ibN.js";
6
+ import { b as qt, u as At, P as ye, f as $t } from "./format-unit-display-Bu29MSxm.js";
7
7
  import { E as Tt } from "./empty-placeholder-wf6-BWE8.js";
8
- import { _ as Pt, F as Ct, a as It } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D9saKOiN.js";
8
+ import { _ as Pt, F as Ct, a as It } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNxA-pQp.js";
9
9
  import { u as Ft, R as tt } from "./usePromise-CbVUCxhj.js";
10
- import { u as Et } from "./index-m57qt8LD.js";
10
+ import { u as Et } from "./index-D-fVJxc8.js";
11
11
  const Ie = pt((p, e) => {
12
12
  const a = me(), b = Pe();
13
13
  return {
@@ -1,13 +1,13 @@
1
- import { defineComponent as ae, onMounted as Te, computed as L, ref as Y, watch as Ce, inject as ot, resolveComponent as V, openBlock as $, createElementBlock as N, createElementVNode as e, createVNode as m, withCtx as U, renderSlot as xe, withDirectives as Pe, normalizeClass as re, vModelText as Be, reactive as st, h as j, toDisplayString as I, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as _e, renderList as je, createBlock as le, mergeProps as Qe, createTextVNode as ne, mergeModels as qe, useModel as lt, isRef as Ye, Teleport as nt, normalizeProps as at, guardReactiveProps as rt } from "vue";
2
- import { K as We, aJ as he, t as Ne, I as it, aK as ut, aL as dt, j as se, aM as mt, b as Ke, a as Ge, Q as Le, c as ge, m as ke, Y as be, T as ye, A as we, M as pt, G as ee, u as Je, an as ct, a0 as ft, E as Ze, e as ue, aN as ve, ai as yt, s as vt, aa as bt, B as gt, i as Ee, _ as ht, C as xt } from "./app-CwtJJj6R.js";
1
+ import { defineComponent as ae, onMounted as Te, computed as L, ref as Y, watch as Ce, inject as ot, resolveComponent as V, openBlock as $, createElementBlock as N, createElementVNode as e, createVNode as m, withCtx as U, renderSlot as xe, withDirectives as Pe, normalizeClass as re, vModelText as Be, reactive as st, h as j, toDisplayString as S, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as _e, renderList as je, createBlock as le, mergeProps as Qe, createTextVNode as ne, mergeModels as qe, useModel as lt, isRef as Ye, Teleport as nt, normalizeProps as at, guardReactiveProps as rt } from "vue";
2
+ import { K as We, aI as he, t as Ne, I as it, aJ as ut, aK as dt, j as se, aL as mt, b as Ke, a as Ge, Q as Le, c as ge, m as ke, Y as be, T as ye, A as we, M as pt, G as ee, u as Je, ak as ct, a0 as ft, E as Ze, e as ue, aM as ve, af as yt, s as vt, a7 as bt, B as gt, i as Ee, _ as ht, C as xt } from "./app-CgzMLhAo.js";
3
3
  import { useI18n as me } from "@feedmepos/mf-common";
4
- import { P as X, a as _t, f as kt, t as wt, b as ze, u as Tt } from "./format-unit-display-CIdi-ibN.js";
4
+ import { P as X, a as _t, f as kt, t as wt, b as ze, u as Tt } from "./format-unit-display-Bu29MSxm.js";
5
5
  import { components as de, useSnackbar as Ct, useProxiedModel as Xe, useBreakpoints as Ft } from "@feedmepos/ui-library";
6
- import { defineStore as St, storeToRefs as He } from "pinia";
7
- import { _ as It, b as Mt, F as $t, a as Ot } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D9saKOiN.js";
8
- import { c as Dt, u as Vt, _ as At } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DDLdXyp6.js";
9
- import { u as Rt } from "./supplier-Dyvr7-wz.js";
10
- import { u as Ut } from "./use-ingredient-select-dialog-g2uXpJK9.js";
6
+ import { defineStore as It, storeToRefs as He } from "pinia";
7
+ import { _ as St, b as Mt, F as $t, a as Ot } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNxA-pQp.js";
8
+ import { c as Dt, u as Vt, _ as At } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-AGOtUG41.js";
9
+ import { u as Rt } from "./supplier-nx8WElIW.js";
10
+ import { u as Ut } from "./use-ingredient-select-dialog-CX9_4vk_.js";
11
11
  const Pt = { class: "flex flex-col" }, Bt = { class: "flex flex-col" }, qt = { class: "flex-1" }, Nt = { class: "flex items-center" }, Lt = { class: "flex-1" }, Et = { class: "flex-1" }, zt = /* @__PURE__ */ ae({
12
12
  __name: "FmMinMaxInput",
13
13
  props: {
@@ -175,7 +175,7 @@ function Qt(p) {
175
175
  return !s && !u ? `Min & max must be a multiple of ${v}` : s ? u ? !0 : `Max must be a multiple of ${v}` : `Min must be a multiple of ${v}`;
176
176
  };
177
177
  }
178
- const et = St("netsuite-custom-field-helper", () => {
178
+ const et = It("netsuite-custom-field-helper", () => {
179
179
  const p = Ke();
180
180
  function h(v, a, r, s, u) {
181
181
  var F;
@@ -291,7 +291,7 @@ function Yt(p, h = {}) {
291
291
  var d;
292
292
  return ((d = o.measurement) == null ? void 0 : d.id) === P.id;
293
293
  }), T = o.sku.unit._id !== f.unit._id || !b || o.measurement && !k;
294
- return j(It, {
294
+ return j(St, {
295
295
  style: {
296
296
  flex: "1 1 0%"
297
297
  },
@@ -512,8 +512,8 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
512
512
  return $(), N("div", Wt, [
513
513
  e("div", Kt, [
514
514
  e("div", Gt, [
515
- e("span", Jt, " (" + I(a.row.original.sku.code) + ") ", 1),
516
- e("span", Zt, I(a.row.original.sku.name), 1)
515
+ e("span", Jt, " (" + S(a.row.original.sku.code) + ") ", 1),
516
+ e("span", Zt, S(a.row.original.sku.name), 1)
517
517
  ]),
518
518
  e("div", null, [
519
519
  m(t(ee), {
@@ -622,7 +622,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
622
622
  e("td", {
623
623
  colspan: v.row.getVisibleCells().length,
624
624
  class: "text-red-600 px-16 py-2"
625
- }, I(v.errorMessage), 9, mo)
625
+ }, S(v.errorMessage), 9, mo)
626
626
  ])) : oe("", !0)
627
627
  ], 64));
628
628
  }
@@ -788,7 +788,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
788
788
  if (G)
789
789
  return G;
790
790
  const Z = { amount: 1, precision: be(A.unit) };
791
- let S = {
791
+ let I = {
792
792
  id: f.usePurchaseOrderV2 ? crypto.randomUUID() : void 0,
793
793
  sku: A,
794
794
  code: A.code,
@@ -802,16 +802,16 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
802
802
  quantityStep: Z
803
803
  };
804
804
  return k.validateUnitInput(
805
- S,
805
+ I,
806
806
  A,
807
807
  {
808
808
  amount: Z,
809
809
  measurement: null
810
810
  },
811
811
  (H) => {
812
- S.code = H.code;
812
+ I.code = H.code;
813
813
  }
814
- ), S;
814
+ ), I;
815
815
  }
816
816
  );
817
817
  if (!q) return;
@@ -844,13 +844,13 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
844
844
  label: t(u)("inventory.transfer.form.name"),
845
845
  "label-mark": "required",
846
846
  modelValue: t(s).name,
847
- "onUpdate:modelValue": n[0] || (n[0] = (S) => t(s).name = S),
847
+ "onUpdate:modelValue": n[0] || (n[0] = (I) => t(s).name = I),
848
848
  rules: [t(ke)()]
849
849
  }, null, 8, ["label", "modelValue", "rules"]),
850
850
  m(q, {
851
851
  label: t(u)("inventory.transfer.form.type.title"),
852
852
  "model-value": R.value,
853
- "onUpdate:modelValue": n[1] || (n[1] = (S) => R.value = S),
853
+ "onUpdate:modelValue": n[1] || (n[1] = (I) => R.value = I),
854
854
  items: [
855
855
  {
856
856
  label: t(u)("inventory.transfer.form.type.purchase"),
@@ -873,34 +873,34 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
873
873
  "line-clamp-1 fm-typo-en-body-lg-400",
874
874
  l.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
875
875
  ])
876
- }, I(t(ft)(R.value)), 3)
876
+ }, S(t(ft)(R.value)), 3)
877
877
  ]),
878
878
  _: 1
879
879
  }, 8, ["label", "model-value", "items", "rules"]),
880
880
  m(q, {
881
881
  label: R.value === t(X).PURCHASE ? t(u)("inventory.transfer.form.purchaseFrom") : t(u)("inventory.transfer.form.transferFrom"),
882
882
  modelValue: d.value,
883
- "onUpdate:modelValue": n[2] || (n[2] = (S) => d.value = S),
883
+ "onUpdate:modelValue": n[2] || (n[2] = (I) => d.value = I),
884
884
  items: P.value
885
885
  }, {
886
- "menu-wrapper": U((S) => {
886
+ "menu-wrapper": U((I) => {
887
887
  var H;
888
888
  return [
889
- m(At, Qe(S, {
889
+ m(At, Qe(I, {
890
890
  items: P.value,
891
891
  "model-value": (H = l.modelValue.purchaseOrder.supplier) == null ? void 0 : H._id
892
892
  }), null, 16, ["items", "model-value"])
893
893
  ];
894
894
  }),
895
895
  default: U(() => {
896
- var S;
896
+ var I;
897
897
  return [
898
898
  e("span", {
899
899
  class: re([
900
900
  "line-clamp-1 fm-typo-en-body-lg-400",
901
901
  l.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
902
902
  ])
903
- }, I((S = P.value.find((H) => H.value === d.value)) == null ? void 0 : S.label), 3)
903
+ }, S((I = P.value.find((H) => H.value === d.value)) == null ? void 0 : I.label), 3)
904
904
  ];
905
905
  }),
906
906
  _: 1
@@ -909,14 +909,14 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
909
909
  label: t(u)("inventory.transfer.form.reference"),
910
910
  "label-mark": "optional",
911
911
  modelValue: t(s).purchaseOrder.ref,
912
- "onUpdate:modelValue": n[3] || (n[3] = (S) => t(s).purchaseOrder.ref = S)
912
+ "onUpdate:modelValue": n[3] || (n[3] = (I) => t(s).purchaseOrder.ref = I)
913
913
  }, null, 8, ["label", "modelValue"]),
914
914
  m(z, {
915
915
  label: t(u)("inventory.transfer.form.remark"),
916
916
  "label-mark": "optional",
917
917
  "max-length": 240,
918
918
  modelValue: M.value,
919
- "onUpdate:modelValue": n[4] || (n[4] = (S) => M.value = S),
919
+ "onUpdate:modelValue": n[4] || (n[4] = (I) => M.value = I),
920
920
  class: re({ "text-fm-color-typo-disabled": l.disabled })
921
921
  }, null, 8, ["label", "modelValue", "class"])
922
922
  ])
@@ -952,7 +952,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
952
952
  ]),
953
953
  e("div", go, [
954
954
  e("div", ho, [
955
- e("div", xo, I(t(u)("inventory.transfer.form.items.title")), 1),
955
+ e("div", xo, S(t(u)("inventory.transfer.form.items.title")), 1),
956
956
  t(b).isEnabled ? ($(), le(K, {
957
957
  key: 0,
958
958
  label: "Check NetSuite",
@@ -967,7 +967,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
967
967
  "prepend-icon": "add",
968
968
  variant: "plain",
969
969
  class: "border-2 rounded-lg border-fm-color-primary",
970
- onClick: n[5] || (n[5] = (S) => J()),
970
+ onClick: n[5] || (n[5] = (I) => J()),
971
971
  size: "md"
972
972
  }, null, 8, ["disabled", "label"])
973
973
  ]),
@@ -981,7 +981,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
981
981
  ]))) : oe("", !0),
982
982
  e("div", ko, [
983
983
  e("p", wo, [
984
- ne(' Set "' + I(t(u)("inventory.transfer.form.items.table.DefaultAmount")) + '" to "0" to mark the item as ', 1),
984
+ ne(' Set "' + S(t(u)("inventory.transfer.form.items.table.DefaultAmount")) + '" to "0" to mark the item as ', 1),
985
985
  n[10] || (n[10] = e("b", null, "optional", -1)),
986
986
  n[11] || (n[11] = ne(" when creating an order request. ")),
987
987
  n[12] || (n[12] = e("ul", { style: { "list-style": "initial", "margin-left": "20px" } }, [
@@ -993,26 +993,26 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
993
993
  ($(), le(D, {
994
994
  "column-defs": E.value,
995
995
  "row-data": t(s).purchaseOrder.items,
996
- key: t(s).purchaseOrder.items.map((S) => S.sku._id).join("."),
996
+ key: t(s).purchaseOrder.items.map((I) => I.sku._id).join("."),
997
997
  "hide-footer": "",
998
998
  "page-size": t(s).purchaseOrder.items.length
999
999
  }, {
1000
- "table-row": U((S) => [
1000
+ "table-row": U((I) => [
1001
1001
  m(po, {
1002
- row: S,
1003
- errorMessage: x.value[S.index],
1002
+ row: I,
1003
+ errorMessage: x.value[I.index],
1004
1004
  "onUpdate:item": n[6] || (n[6] = (H) => W.value.updateItem(H)),
1005
1005
  disabled: l.disabled
1006
1006
  }, null, 8, ["row", "errorMessage", "disabled"])
1007
1007
  ]),
1008
- "list-row": U((S) => [
1008
+ "list-row": U((I) => [
1009
1009
  ($(), le(Ze, {
1010
- row: S,
1010
+ row: I,
1011
1011
  key: t(s).purchaseOrder.items.map((H) => H.sku._id).join(".")
1012
1012
  }, {
1013
1013
  default: U((H) => [
1014
1014
  m(ro, {
1015
- row: S,
1015
+ row: I,
1016
1016
  "cell-by-col-id": H,
1017
1017
  "onUpdate:item": n[7] || (n[7] = (ie) => W.value.updateItem(ie)),
1018
1018
  disabled: l.disabled
@@ -1062,7 +1062,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1062
1062
  overlay: !0
1063
1063
  }, {
1064
1064
  "dialog-header": U(() => [
1065
- e("div", null, I(v.confirmTitle || "Confirm"), 1)
1065
+ e("div", null, S(v.confirmTitle || "Confirm"), 1)
1066
1066
  ]),
1067
1067
  "dialog-footer": U(() => [
1068
1068
  e("div", Co, [
@@ -1081,7 +1081,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1081
1081
  ]),
1082
1082
  default: U(() => [
1083
1083
  xe(u.$slots, "dialog-content", {}, () => [
1084
- ne(I(v.confirmMessage || "Are you sure you want to proceed?"), 1)
1084
+ ne(S(v.confirmMessage || "Are you sure you want to proceed?"), 1)
1085
1085
  ])
1086
1086
  ]),
1087
1087
  _: 3
@@ -1089,7 +1089,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1089
1089
  ]);
1090
1090
  };
1091
1091
  }
1092
- }), So = { class: "flex items-center" }, Io = { class: "fm-typo-en-title-md-800" }, Mo = { class: "flex gap-4" }, $o = /* @__PURE__ */ ae({
1092
+ }), Io = { class: "flex items-center" }, So = { class: "fm-typo-en-title-md-800" }, Mo = { class: "flex gap-4" }, $o = /* @__PURE__ */ ae({
1093
1093
  __name: "TransferTemplateDialog",
1094
1094
  props: /* @__PURE__ */ qe({
1095
1095
  mode: {},
@@ -1236,8 +1236,8 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1236
1236
  "max-width": 1600
1237
1237
  }, {
1238
1238
  "side-sheet-header": U(() => [
1239
- e("div", So, [
1240
- e("div", Io, I(k.value), 1)
1239
+ e("div", Io, [
1240
+ e("div", So, S(k.value), 1)
1241
1241
  ])
1242
1242
  ]),
1243
1243
  default: U(() => [
@@ -1344,8 +1344,8 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1344
1344
  var _, W, te, E, B, J, l, n, C;
1345
1345
  return [
1346
1346
  e("div", Do, [
1347
- e("div", Vo, I(t(s)("inventory.transfer.template.details.templateSummary")), 1),
1348
- e("div", Ao, I(t(s)(
1347
+ e("div", Vo, S(t(s)("inventory.transfer.template.details.templateSummary")), 1),
1348
+ e("div", Ao, S(t(s)(
1349
1349
  `inventory.transfer.receiveRequest.details.type.${c.value.toLocaleLowerCase("en-US")}`
1350
1350
  )), 1)
1351
1351
  ]),
@@ -1353,32 +1353,32 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1353
1353
  e("div", Ro, [
1354
1354
  e("div", Uo, [
1355
1355
  e("div", Po, [
1356
- e("div", Bo, I(t(s)("inventory.transfer.receiveRequest.details.createdAt")), 1)
1356
+ e("div", Bo, S(t(s)("inventory.transfer.receiveRequest.details.createdAt")), 1)
1357
1357
  ]),
1358
- e("div", qo, I(t(yt)(((_ = b.template) == null ? void 0 : _._id) ?? "")), 1)
1358
+ e("div", qo, S(t(yt)(((_ = b.template) == null ? void 0 : _._id) ?? "")), 1)
1359
1359
  ]),
1360
1360
  (W = b.template) != null && W.updatedAt ? ($(), N("div", No, [
1361
1361
  e("div", Lo, [
1362
- e("div", Eo, I(t(s)("inventory.transfer.receiveRequest.details.updatedAt")), 1)
1362
+ e("div", Eo, S(t(s)("inventory.transfer.receiveRequest.details.updatedAt")), 1)
1363
1363
  ]),
1364
1364
  e("div", zo, [
1365
- ne(I(t(vt)(new Date(b.template.updatedAt))) + " ", 1),
1365
+ ne(S(t(vt)(new Date(b.template.updatedAt))) + " ", 1),
1366
1366
  (te = b.template.updatedBy) != null && te.name ? ($(), N(pe, { key: 0 }, [
1367
- ne(" (" + I(b.template.updatedBy.name) + ") ", 1)
1367
+ ne(" (" + S(b.template.updatedBy.name) + ") ", 1)
1368
1368
  ], 64)) : oe("", !0)
1369
1369
  ])
1370
1370
  ])) : oe("", !0),
1371
1371
  (B = (E = u.value) == null ? void 0 : E.supplier) != null && B.name ? ($(), N("div", Ho, [
1372
- e("div", jo, I(t(s)("inventory.transfer.receiveRequest.details.from")), 1),
1373
- e("div", Qo, I((l = (J = u.value) == null ? void 0 : J.supplier) == null ? void 0 : l.name), 1)
1372
+ e("div", jo, S(t(s)("inventory.transfer.receiveRequest.details.from")), 1),
1373
+ e("div", Qo, S((l = (J = u.value) == null ? void 0 : J.supplier) == null ? void 0 : l.name), 1)
1374
1374
  ])) : oe("", !0),
1375
1375
  (n = u.value) != null && n.ref ? ($(), N("div", Yo, [
1376
- e("div", Wo, I(t(s)("inventory.transfer.receiveRequest.details.reference")), 1),
1377
- e("div", Ko, I(u.value.ref), 1)
1376
+ e("div", Wo, S(t(s)("inventory.transfer.receiveRequest.details.reference")), 1),
1377
+ e("div", Ko, S(u.value.ref), 1)
1378
1378
  ])) : oe("", !0),
1379
1379
  (C = u.value) != null && C.remark ? ($(), N("div", Go, [
1380
- e("div", Jo, I(t(s)("inventory.transfer.receiveRequest.details.remark")), 1),
1381
- e("div", Zo, I(u.value.remark), 1)
1380
+ e("div", Jo, S(t(s)("inventory.transfer.receiveRequest.details.remark")), 1),
1381
+ e("div", Zo, S(u.value.remark), 1)
1382
1382
  ])) : oe("", !0)
1383
1383
  ])
1384
1384
  ];
@@ -1388,19 +1388,19 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1388
1388
  ]),
1389
1389
  e("div", Xo, [
1390
1390
  e("div", es, [
1391
- e("div", ts, I(t(s)("inventory.transfer.receiveRequest.details.requestedItems")), 1),
1391
+ e("div", ts, S(t(s)("inventory.transfer.receiveRequest.details.requestedItems")), 1),
1392
1392
  ($(!0), N(pe, null, je(((O = u.value) == null ? void 0 : O.items) ?? [], (_) => ($(), N("div", {
1393
1393
  key: _.code,
1394
1394
  class: "flex flex-col"
1395
1395
  }, [
1396
1396
  e("div", os, [
1397
- e("div", ss, I(_.name), 1),
1397
+ e("div", ss, S(_.name), 1),
1398
1398
  k[3] || (k[3] = e("div", { class: "flex-1 min-w-32" }, null, -1)),
1399
- e("div", ls, I(t(kt)(_.quantity, _.sku.unit, _.measurement)), 1)
1399
+ e("div", ls, S(t(kt)(_.quantity, _.sku.unit, _.measurement)), 1)
1400
1400
  ]),
1401
1401
  e("div", ns, [
1402
- e("div", as, I(_.code), 1),
1403
- _.totalCost && t(r).enableTotalCost ? ($(), N("div", rs, " (" + I(t(bt)(_.totalCost)) + ") ", 1)) : oe("", !0)
1402
+ e("div", as, S(_.code), 1),
1403
+ _.totalCost && t(r).enableTotalCost ? ($(), N("div", rs, " (" + S(t(bt)(_.totalCost)) + ") ", 1)) : oe("", !0)
1404
1404
  ]),
1405
1405
  t(wt)(_) ? ($(), N("div", is, [
1406
1406
  m(P, {
@@ -1539,7 +1539,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1539
1539
  onRowClick: (B) => t(a)(B)
1540
1540
  }, {
1541
1541
  default: U((B) => {
1542
- var J, l, n, C, q, z, K, D, A, G, Z, S, H, ie, Fe, Se, Ie, Me, $e, Oe, ce, De, Ve, Ae, Re, fe, Ue;
1542
+ var J, l, n, C, q, z, K, D, A, G, Z, I, H, ie, Fe, Ie, Se, Me, $e, Oe, ce, De, Ve, Ae, Re, fe, Ue;
1543
1543
  return [
1544
1544
  e("div", cs, [
1545
1545
  e("div", fs, [
@@ -1557,12 +1557,12 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Kt = { class: "flex items-cen
1557
1557
  ]),
1558
1558
  e("div", bs, [
1559
1559
  m(t(ee), {
1560
- render: (H = (S = (Z = B.supplier) == null ? void 0 : Z.column) == null ? void 0 : S.columnDef) == null ? void 0 : H.cell,
1560
+ render: (H = (I = (Z = B.supplier) == null ? void 0 : Z.column) == null ? void 0 : I.columnDef) == null ? void 0 : H.cell,
1561
1561
  props: (Fe = (ie = B.supplier) == null ? void 0 : ie.getContext) == null ? void 0 : Fe.call(ie)
1562
1562
  }, null, 8, ["render", "props"])
1563
1563
  ]),
1564
- e("div", null, I((Se = E.original.locations) != null && Se.length ? `Enabled for ${(Ie = E.original.locations) == null ? void 0 : Ie.length} outlets` : "Enabled for all outlets"), 1),
1565
- e("div", gs, I(E.original.purchaseOrder.items.length ? E.original.purchaseOrder.items.map((tt) => tt.name).join(", ") : "No items"), 1),
1564
+ e("div", null, S((Ie = E.original.locations) != null && Ie.length ? `Enabled for ${(Se = E.original.locations) == null ? void 0 : Se.length} outlets` : "Enabled for all outlets"), 1),
1565
+ e("div", gs, S(E.original.purchaseOrder.items.length ? E.original.purchaseOrder.items.map((tt) => tt.name).join(", ") : "No items"), 1),
1566
1566
  e("div", hs, [
1567
1567
  m(t(ee), {
1568
1568
  render: (Oe = ($e = (Me = B.ref) == null ? void 0 : Me.column) == null ? void 0 : $e.columnDef) == null ? void 0 : Oe.cell,
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as G, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as R, watch as ee, resolveComponent as I, createBlock as T, withCtx as A, createVNode as f, unref as l, isRef as te, normalizeClass as ie, normalizeStyle as ue, Teleport as de, normalizeProps as me, guardReactiveProps as ce } from "vue";
2
- import { a as K, e as U, S as pe, h as ve, D as ne, i as L, f as se, Q as fe, m as j, A as ye, j as J, T as be, V as ge, q as oe, u as xe, b as _e, B as he, _ as Ve, C as Ue, E as we, G as Ce } from "./app-CwtJJj6R.js";
2
+ import { a as K, e as U, S as pe, h as ve, D as ne, i as L, f as se, Q as fe, m as j, A as ye, j as J, T as be, V as ge, q as oe, u as xe, b as _e, B as he, _ as Ve, C as Ue, E as we, G as Ce } from "./app-CgzMLhAo.js";
3
3
  import { useDialog as Se, useSnackbar as ae, useProxiedModel as le, useBreakpoints as ke } from "@feedmepos/ui-library";
4
4
  import { i as Fe, _ as Ee } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { defineStore as $e, storeToRefs as Ie } from "pinia";
6
6
  import { useI18n as O } from "@feedmepos/mf-common";
7
- import { F as De } from "./decimal-Chx0lsE-.js";
8
- import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D2xliATx.js";
7
+ import { F as De } from "./decimal-D_3mwNtr.js";
8
+ import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BzlWBYz0.js";
9
9
  const Re = { class: "flex flex-col gap-8" }, Me = {
10
10
  key: 0,
11
11
  class: "flex flex-col"
@@ -1,5 +1,5 @@
1
1
  import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as R, createElementBlock as q, toRaw as ge, reactive as $e, createElementVNode as g, toDisplayString as T, unref as c, createVNode as _, resolveComponent as N, createSlots as Se, withCtx as B, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as x, isRef as we, normalizeClass as Pe, normalizeStyle as Re } from "vue";
2
- import { a3 as Ue, av as Ee, aw as Te, h as Le, D as Ve, i as Q, f as O, ax as Ne, ao as Be, m as L, e as E, S as qe, u as ze, B as Ie, _ as je, C as Ge, E as Oe, G as X } from "./app-CwtJJj6R.js";
2
+ import { a3 as Ue, au as Ee, av as Te, h as Le, D as Ve, i as Q, f as O, aw as Ne, al as Be, m as L, e as E, S as qe, u as ze, B as Ie, _ as je, C as Ge, E as Oe, G as X } from "./app-CgzMLhAo.js";
3
3
  import { useCoreStore as Me, useI18n as j } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as Ke, useDialog as Ce, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as He } from "@feedmepos/ui-library";
5
5
  import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
@@ -7,7 +7,6 @@ export declare const useStockApi: () => {
7
7
  readAdjustmentById(id: string): Promise<WithRev<FdoInventoryAdjustment>>;
8
8
  convertSku(dto: FdtoConvertSku): Promise<any>;
9
9
  adjustSku(dto: FdtoAdjustSkuBalance): Promise<any>;
10
- revertWastageAdjustment(payload: FdtoRevertWastageAdjustment): Promise<any>;
11
10
  recalculation: {
12
11
  getRecalculateAbility(): Promise<{
13
12
  reason?: string | null | undefined;
@@ -15,7 +14,6 @@ export declare const useStockApi: () => {
15
14
  canRecalculate: boolean;
16
15
  }>;
17
16
  startRecalculateTask(): Promise<any>;
18
- refreshCurrentBalances(): Promise<any>;
19
17
  calculateStockSnapshotAtDate(effectiveAt: string, closingDraftId: string): Promise<{
20
18
  closing?: {
21
19
  costBalances?: {