@feedmepos/mf-inventory-portal 1.0.9-dev.3 → 1.0.9-dev.4

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 (60) hide show
  1. package/dist/{App-C6gg2tff.js → App-BOKGVcoO.js} +2 -2
  2. package/dist/{ApprovalView-DZifohZp.js → ApprovalView-Bo-4fnEU.js} +2 -2
  3. package/dist/{BindingsDialog-D-NE4sbz.js → BindingsDialog-DM2b4GN4.js} +2 -2
  4. package/dist/{BindingsPicker-BP5HkQhe.js → BindingsPicker-CJKBXA0c.js} +3 -3
  5. package/dist/{BindingsTable-DCLu2260.js → BindingsTable-BxCEEJfb.js} +1 -1
  6. package/dist/{ClosingDraftView-CF1WvxPK.js → ClosingDraftView-bQxPF18V.js} +2 -2
  7. package/dist/{ClosingTemplateView-BTAwwKIK.js → ClosingTemplateView-DLkp9Qt8.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-C0ornFrS.js → DeliveryOrderPrintPreview-CK3HdYVb.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C5aDXHfX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DvCBsPdI.js} +3 -3
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DMHC_WQn.js → FmUnitInput.vue_vue_type_script_setup_true_lang-R8f-Q9Nk.js} +20 -20
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CDB7BLGo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BOyqgaik.js} +1 -1
  12. package/dist/{IngredientsView-Cw9hWci5.js → IngredientsView-DmKCy_JQ.js} +4 -4
  13. package/dist/{IntegrationView-Af4yE6YN.js → IntegrationView-B1dzt8WK.js} +4 -4
  14. package/dist/{InventoryBindingForm-CKNE-9XF.js → InventoryBindingForm-CeTlH0U1.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DXGno3jm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DsM2bCNe.js} +92 -87
  16. package/dist/{InventoryBindingSummary-DeNGAysn.js → InventoryBindingSummary-QVSD87YL.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BiB8cZwH.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C-lgLo2e.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CriwQBvl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CEMRfo1C.js} +1 -1
  19. package/dist/{PublishView-CXRCoNai.js → PublishView-BYGKLC9D.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-C02inqk2.js → PurchaseOrderPrintPreview-CEVjGeom.js} +1 -1
  21. package/dist/{ReceiveRequestView-B7S4pKgp.js → ReceiveRequestView-D5PcGCLv.js} +42 -42
  22. package/dist/RecipeView-DmTDCsvk.js +8493 -0
  23. package/dist/{StockView-C7X97PgJ.js → StockView-EmTqUcP1.js} +7 -7
  24. package/dist/{SupplierView-DSD56NEd.js → SupplierView-BaLnW761.js} +4 -4
  25. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-COa-ENT_.js → TransferDetails.vue_vue_type_script_setup_true_lang-B3ew6mc5.js} +36 -36
  26. package/dist/{TransferTemplateView-D76GtJPP.js → TransferTemplateView-DoeLAFmJ.js} +114 -114
  27. package/dist/{UnitView-DjrfCvNG.js → UnitView-6Kobe5di.js} +18 -18
  28. package/dist/{WarehouseView-BenlwQj0.js → WarehouseView-BBMS14jU.js} +1 -1
  29. package/dist/api/inventory.d.ts +66 -207
  30. package/dist/{app-Cn649AKe.js → app-CUTIQqG_.js} +7318 -7360
  31. package/dist/app.js +1 -1
  32. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +22 -0
  33. package/dist/components/shell/inventory/binding-ui.vue.d.ts +22 -0
  34. package/dist/{decimal-B_2tpC5T.js → decimal-Bb7Chjpr.js} +1 -1
  35. package/dist/{feature-C3tkzv_R.js → feature-D5GLIW5h.js} +143 -148
  36. package/dist/{format-unit-display-CUjVAExM.js → format-unit-display-CqqBiewI.js} +29 -29
  37. package/dist/{index-WEO-tzBF.js → index-B7QMXzGe.js} +2739 -2823
  38. package/dist/{index-C8N0qnaj.js → index-DiEdX1Bs.js} +2 -2
  39. package/dist/main.d.ts +1 -0
  40. package/dist/{stock-D5ctHplB.js → stock-CO0XWh8j.js} +1 -1
  41. package/dist/stores/feature.d.ts +0 -2
  42. package/dist/stores/inventory.d.ts +89 -211
  43. package/dist/{supplier-CnlrJD2z.js → supplier-C877x7mU.js} +1 -1
  44. package/dist/tsconfig.app.tsbuildinfo +1 -1
  45. package/dist/{use-ingredient-select-dialog-DnG7HGSX.js → use-ingredient-select-dialog-ClufUFeU.js} +1 -1
  46. package/dist/{use-inventory-binding-dialog-sALJ--xH.js → use-inventory-binding-dialog-BuRe6QNp.js} +1 -1
  47. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +44 -0
  48. package/dist/views/recipe/components/recipe-override-form-field/RecipeOverrideFormField.vue.d.ts +61 -0
  49. package/dist/views/recipe/composables/use-recipe-overrides-form-field.d.ts +10 -0
  50. package/dist/{vue-i18n-B_Hl3d6o.js → vue-i18n-CxuQa0ds.js} +401 -401
  51. package/package.json +6 -5
  52. package/dist/IngredientGroupView-DwUeV_bZ.js +0 -604
  53. package/dist/RecipeView-dUKMM9iC.js +0 -616
  54. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
  55. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  56. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -12
  57. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -20
  58. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  59. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  60. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -218
@@ -1,12 +1,12 @@
1
- import { defineComponent as J, computed as _, reactive as Q, resolveComponent as x, openBlock as m, createElementBlock as y, createVNode as c, createElementVNode as n, toDisplayString as v, unref as l, createBlock as V, createCommentVNode as g, Fragment as R, renderList as S, withCtx as T, nextTick as X } from "vue";
2
- import { a as Z, O as ee, aS as ne, i as B, aT as oe, L as N, K as te, F as ie } from "./app-Cn649AKe.js";
3
- import { u as le } from "./use-inventory-binding-dialog-sALJ--xH.js";
4
- import { _ as re, c as se, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DMHC_WQn.js";
1
+ import { defineComponent as H, computed as _, reactive as Q, resolveComponent as x, openBlock as m, createElementBlock as f, createVNode as c, withCtx as F, createElementVNode as n, toDisplayString as v, unref as l, createBlock as V, createCommentVNode as b, Fragment as S, renderList as T, nextTick as X } from "vue";
2
+ import { a as Z, N as ee, aS as ne, i as B, aT as oe, K as N, J as te, F as ie } from "./app-CUTIQqG_.js";
3
+ import { u as le } from "./use-inventory-binding-dialog-BuRe6QNp.js";
4
+ import { _ as re, c as se, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-R8f-Q9Nk.js";
5
5
  import { useI18n as ae } from "@feedmepos/mf-common";
6
- const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, fe = { class: "flex flex-col" }, ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ve = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, _e = {
6
+ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, ye = { class: "flex flex-col" }, fe = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ve = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, _e = {
7
7
  class: "flex items-center w-full border-b border-fm-color-neutral-gray-100",
8
8
  style: { "min-height": "48px" }
9
- }, ge = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, be = { class: "flex flex-col" }, xe = {
9
+ }, be = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, ge = { class: "flex flex-col" }, xe = {
10
10
  key: 0,
11
11
  class: "flex gap-4 text-fm-color-system-error-300 fm-typo-en-body-sm-400"
12
12
  }, he = { class: "w-[200px]" }, Ve = {
@@ -18,7 +18,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
18
18
  }, Ae = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Re = { class: "line-clamp-1" }, Se = { class: "w-[150px]" }, Te = {
19
19
  key: 0,
20
20
  class: "w-[52px]"
21
- }, Ne = { class: "flex flex-col px-12 pb-4" }, ze = /* @__PURE__ */ J({
21
+ }, Ne = { class: "flex flex-col px-12 pb-4" }, ze = /* @__PURE__ */ H({
22
22
  __name: "InventoryBindingForm",
23
23
  props: {
24
24
  id: {},
@@ -31,74 +31,74 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
31
31
  },
32
32
  emits: ["update:modelValue", "click:pick-inventory-bindings"],
33
33
  setup(P, { emit: M }) {
34
- const { t: p } = ae(), F = Z(), I = _(() => F.inventory.recipe ?? []), h = _(() => F.inventory.sku ?? []), r = P, f = M, w = _(() => ee({
34
+ const { t: p } = ae(), I = Z(), w = _(() => I.inventory.recipe ?? []), h = _(() => I.inventory.sku ?? []), r = P, y = M, U = _(() => ee({
35
35
  bindings: r.modelValue,
36
- recipes: I.value.map((o) => o._id === r.id ? {
37
- ...o,
36
+ recipes: w.value.map((t) => t._id === r.id ? {
37
+ ...t,
38
38
  contains: r.modelValue
39
- } : o),
39
+ } : t),
40
40
  skus: h.value
41
- }).inventoryBindings.filter((o) => "error" in o && o.error).map((o) => o).filter((o) => o.reason === ne.enum.circularDependency)), K = _(
42
- () => new Set(w.value.map((e) => {
43
- var t;
44
- return (t = e.bindingPaths[0]) == null ? void 0 : t.id;
41
+ }).inventoryBindings.filter((t) => "error" in t && t.error).map((t) => t).filter((t) => t.reason === ne.enum.circularDependency)), D = _(
42
+ () => new Set(U.value.map((e) => {
43
+ var o;
44
+ return (o = e.bindingPaths[0]) == null ? void 0 : o.id;
45
45
  }))
46
- ), D = _(() => r.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: $, promptRecipesBinding: z } = le();
46
+ ), K = _(() => r.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: $, promptRecipesBinding: z } = le();
47
47
  async function G() {
48
48
  if (r.iframeMode) {
49
- f("click:pick-inventory-bindings", "RECIPE");
49
+ y("click:pick-inventory-bindings", "RECIPE");
50
50
  return;
51
51
  }
52
52
  z(
53
53
  r.modelValue,
54
- (e) => f("update:modelValue", e),
54
+ (e) => y("update:modelValue", e),
55
55
  r.id ? [r.id] : []
56
56
  );
57
57
  }
58
- const U = _(() => r.modelValue.filter((e) => e.type === "SKU") ?? []);
59
- async function L() {
58
+ const E = _(() => r.modelValue.filter((e) => e.type === "SKU") ?? []);
59
+ async function j() {
60
60
  if (r.iframeMode) {
61
- f("click:pick-inventory-bindings", "SKU");
61
+ y("click:pick-inventory-bindings", "SKU");
62
62
  return;
63
63
  }
64
64
  $(
65
65
  r.modelValue,
66
- (e) => f("update:modelValue", e),
66
+ (e) => y("update:modelValue", e),
67
67
  r.excludeBindingId,
68
68
  r.id ? [r.id] : []
69
69
  );
70
70
  }
71
- function j(e, t, o) {
72
- const s = +t;
73
- let d = o;
74
- t.length > 0 && isFinite(s) ? d = o.map((a) => (a.id !== e || (a.amount = te(s)), a)) : d = o.map((a) => (a.id !== e || (a.amount = { amount: 0, precision: 0 }), a)), f("update:modelValue", d);
71
+ function L(e, o, t) {
72
+ const s = +o;
73
+ let d = t;
74
+ o.length > 0 && isFinite(s) ? d = t.map((a) => (a.id !== e || (a.amount = te(s)), a)) : d = t.map((a) => (a.id !== e || (a.amount = { amount: 0, precision: 0 }), a)), y("update:modelValue", d);
75
75
  }
76
- function E(e, t) {
77
- const o = t.filter((s) => s.id !== e);
78
- f("update:modelValue", o);
76
+ function C(e, o) {
77
+ const t = o.filter((s) => s.id !== e);
78
+ y("update:modelValue", t);
79
79
  }
80
- function C(e) {
81
- var o, s;
80
+ function A(e) {
81
+ var t, s;
82
82
  if (e.type !== ie.enum.SKU)
83
83
  throw new Error("Non-SKU binding does not have unit");
84
- if (!((o = h.value.find((d) => d._id === e.id)) == null ? void 0 : o.unit))
84
+ if (!((t = h.value.find((d) => d._id === e.id)) == null ? void 0 : t.unit))
85
85
  throw new Error(`Cannot find ingredient: ${e.id}`);
86
86
  return (s = h.value.find((d) => d._id === e.id)) == null ? void 0 : s.unit;
87
87
  }
88
- function O(e) {
88
+ function Y(e) {
89
89
  return { amount: e.amount, measurement: e.measurement };
90
90
  }
91
- function Y(e, t, o) {
92
- const s = o.map((d) => d.id !== e ? d : {
91
+ function J(e, o, t) {
92
+ const s = t.map((d) => d.id !== e ? d : {
93
93
  ...d,
94
- amount: t.amount,
95
- measurement: t.measurement
94
+ amount: o.amount,
95
+ measurement: o.measurement
96
96
  });
97
- f("update:modelValue", s);
97
+ y("update:modelValue", s);
98
98
  }
99
- const A = Q({});
100
- function W(e) {
101
- return A[e.id] ?? {
99
+ const R = Q({});
100
+ function O(e) {
101
+ return R[e.id] ?? {
102
102
  modelValue: {
103
103
  amount: e.amount,
104
104
  measurement: e.measurement
@@ -106,29 +106,34 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
106
106
  amountAsString: B(e.amount)
107
107
  };
108
108
  }
109
- function q(e, t) {
109
+ function W(e, o) {
110
110
  X(() => {
111
- A[e.id] = {
111
+ R[e.id] = {
112
112
  modelValue: {
113
113
  amount: e.amount,
114
114
  measurement: e.measurement
115
115
  },
116
- amountAsString: t
116
+ amountAsString: o
117
117
  };
118
118
  });
119
119
  }
120
- return (e, t) => {
121
- const o = x("FmFormGroup"), s = x("FmButton"), d = x("FmIcon"), a = x("FmTextField"), H = x("FmTooltip");
122
- return m(), y("div", ue, [
123
- c(o, {
120
+ return (e, o) => {
121
+ const t = x("FmFormGroup"), s = x("FmButton"), d = x("FmIcon"), a = x("FmTextField"), q = x("FmTooltip");
122
+ return m(), f("div", ue, [
123
+ c(t, {
124
124
  disabled: e.disabled,
125
125
  "model-value": e.modelValue,
126
126
  rules: e.rules
127
- }, null, 8, ["disabled", "model-value", "rules"]),
127
+ }, {
128
+ label: F(() => o[0] || (o[0] = [
129
+ n("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Define the inventory bindings for this recipe or ingredient. ", -1)
130
+ ])),
131
+ _: 1
132
+ }, 8, ["disabled", "model-value", "rules"]),
128
133
  n("div", me, [
129
134
  n("div", ce, [
130
135
  n("div", pe, v(l(p)("inventory.inventoryBindings.recipe")), 1),
131
- e.readonly ? g("", !0) : (m(), V(s, {
136
+ e.readonly ? b("", !0) : (m(), V(s, {
132
137
  key: 0,
133
138
  variant: "secondary",
134
139
  "text-color": "primary",
@@ -138,33 +143,33 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
138
143
  onClick: G
139
144
  }, null, 8, ["label"]))
140
145
  ]),
141
- n("div", fe, [
142
- n("div", ye, [
146
+ n("div", ye, [
147
+ n("div", fe, [
143
148
  n("div", ve, v(l(p)("inventory.inventoryBindings.recipe")), 1),
144
- t[0] || (t[0] = n("div", { class: "w-[200px]" }, null, -1)),
145
- t[1] || (t[1] = n("div", { class: "w-[52px]" }, null, -1))
149
+ o[1] || (o[1] = n("div", { class: "w-[200px]" }, null, -1)),
150
+ o[2] || (o[2] = n("div", { class: "w-[52px]" }, null, -1))
146
151
  ]),
147
- (m(!0), y(R, null, S(D.value, (i) => (m(), V(o, {
152
+ (m(!0), f(S, null, T(K.value, (i) => (m(), V(t, {
148
153
  key: i.id,
149
154
  disabled: e.disabled,
150
155
  modelValue: +l(B)(i.amount ?? { amount: 1, precision: 0 }),
151
156
  rules: [l(oe)(0), l(N)(0)]
152
157
  }, {
153
- default: T(({ invalid: k }) => {
154
- var b;
158
+ default: F(({ invalid: k }) => {
159
+ var g;
155
160
  return [
156
161
  n("div", _e, [
157
- n("div", ge, [
158
- n("div", be, [
159
- n("div", null, v((b = I.value.find((u) => u._id === i.id)) == null ? void 0 : b.name), 1),
160
- K.value.has(i.id) ? (m(), y("div", xe, [
162
+ n("div", be, [
163
+ n("div", ge, [
164
+ n("div", null, v((g = w.value.find((u) => u._id === i.id)) == null ? void 0 : g.name), 1),
165
+ D.value.has(i.id) ? (m(), f("div", xe, [
161
166
  c(d, {
162
167
  name: "error",
163
168
  color: "system-error-400",
164
169
  size: "sm"
165
170
  }),
166
- t[2] || (t[2] = n("div", null, "There is circular linking in your binding.", -1))
167
- ])) : g("", !0)
171
+ o[3] || (o[3] = n("div", null, "There is circular linking in your binding.", -1))
172
+ ])) : b("", !0)
168
173
  ])
169
174
  ]),
170
175
  n("div", he, [
@@ -172,18 +177,18 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
172
177
  class: "w-full",
173
178
  disabled: e.disabled,
174
179
  modelValue: +l(B)(i.amount ?? { amount: 1, precision: 0 }),
175
- "onUpdate:modelValue": (u) => j(i.id, u, e.modelValue),
180
+ "onUpdate:modelValue": (u) => L(i.id, u, e.modelValue),
176
181
  invalid: k
177
182
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
178
183
  ]),
179
- e.readonly ? g("", !0) : (m(), y("div", Ve, [
184
+ e.readonly ? b("", !0) : (m(), f("div", Ve, [
180
185
  c(s, {
181
186
  disabled: e.disabled,
182
187
  type: "button",
183
188
  variant: "plain",
184
189
  icon: "delete",
185
190
  "icon-color": "#000000",
186
- onClick: (u) => E(i.id, e.modelValue)
191
+ onClick: (u) => C(i.id, e.modelValue)
187
192
  }, null, 8, ["disabled", "onClick"])
188
193
  ]))
189
194
  ])
@@ -196,32 +201,32 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
196
201
  n("div", Be, [
197
202
  n("div", ke, [
198
203
  n("div", Fe, v(l(p)("inventory.inventoryBindings.ingredient")), 1),
199
- e.readonly ? g("", !0) : (m(), V(s, {
204
+ e.readonly ? b("", !0) : (m(), V(s, {
200
205
  key: 0,
201
206
  variant: "secondary",
202
207
  "text-color": "primary",
203
208
  "border-color": "primary",
204
209
  label: l(p)("inventory.inventoryBindings.linkIngredient"),
205
210
  "prepend-icon": "link",
206
- onClick: L
211
+ onClick: j
207
212
  }, null, 8, ["label"]))
208
213
  ]),
209
214
  n("div", Ie, [
210
215
  n("div", we, [
211
216
  n("div", Ue, v(l(p)("inventory.inventoryBindings.ingredient")), 1),
212
217
  n("div", Ee, v(l(p)("inventory.inventoryBindings.amount")), 1),
213
- t[3] || (t[3] = n("div", { class: "w-[52px]" }, null, -1))
218
+ o[4] || (o[4] = n("div", { class: "w-[52px]" }, null, -1))
214
219
  ]),
215
- (m(!0), y(R, null, S(U.value, (i, k) => {
216
- var b;
217
- return m(), y("div", {
220
+ (m(!0), f(S, null, T(E.value, (i, k) => {
221
+ var g;
222
+ return m(), f("div", {
218
223
  key: i.id,
219
224
  class: "flex flex-col border-b border-fm-color-neutral-gray-100"
220
225
  }, [
221
226
  n("div", Ce, [
222
227
  n("div", Ae, [
223
- n("span", Re, v((b = h.value.find((u) => u._id === i.id)) == null ? void 0 : b.name), 1),
224
- w.value.length ? (m(), V(H, {
228
+ n("span", Re, v((g = h.value.find((u) => u._id === i.id)) == null ? void 0 : g.name), 1),
229
+ U.value.length ? (m(), V(q, {
225
230
  key: 0,
226
231
  variant: "plain",
227
232
  placement: "bottom",
@@ -229,7 +234,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
229
234
  "hide-arrow": !0,
230
235
  "z-index": 50
231
236
  }, {
232
- default: T(() => [
237
+ default: F(() => [
233
238
  c(d, {
234
239
  name: "error",
235
240
  size: "sm",
@@ -237,39 +242,39 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
237
242
  })
238
243
  ]),
239
244
  _: 1
240
- }, 8, ["content"])) : g("", !0)
245
+ }, 8, ["content"])) : b("", !0)
241
246
  ]),
242
247
  n("div", Se, [
243
248
  c(re, {
244
- "model-value": O(i),
245
- "onUpdate:modelValue": (u) => Y(i.id, u, e.modelValue),
246
- "onUpdate:amount": (u) => q(i, u),
247
- unit: C(i),
248
- placement: k === U.value.length - 1 ? "top" : "bottom",
249
+ "model-value": Y(i),
250
+ "onUpdate:modelValue": (u) => J(i.id, u, e.modelValue),
251
+ "onUpdate:amount": (u) => W(i, u),
252
+ unit: A(i),
253
+ placement: k === E.value.length - 1 ? "top" : "bottom",
249
254
  "convert-amount-on-change-unit": "",
250
255
  disabled: e.readonly
251
256
  }, null, 8, ["model-value", "onUpdate:modelValue", "onUpdate:amount", "unit", "placement", "disabled"])
252
257
  ]),
253
- e.readonly ? g("", !0) : (m(), y("div", Te, [
258
+ e.readonly ? b("", !0) : (m(), f("div", Te, [
254
259
  c(s, {
255
260
  disabled: e.disabled,
256
261
  type: "button",
257
262
  variant: "tertiary",
258
263
  icon: "delete",
259
- onClick: (u) => E(i.id, e.modelValue)
264
+ onClick: (u) => C(i.id, e.modelValue)
260
265
  }, null, 8, ["disabled", "onClick"])
261
266
  ]))
262
267
  ]),
263
268
  n("div", Ne, [
264
- c(o, {
269
+ c(t, {
265
270
  modelValue: +l(B)(i.amount ?? { amount: 1, precision: 0 }),
266
271
  rules: [l(N)(0)]
267
272
  }, null, 8, ["modelValue", "rules"]),
268
- c(o, {
269
- modelValue: W(i),
273
+ c(t, {
274
+ modelValue: O(i),
270
275
  rules: [
271
276
  l(se)(),
272
- l(de)(C(i))
277
+ l(de)(A(i))
273
278
  ]
274
279
  }, null, 8, ["modelValue", "rules"])
275
280
  ])
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
2
2
  import { useI18n as p } from "@feedmepos/mf-common";
3
3
  import { components as u } from "@feedmepos/ui-library";
4
- import { F as r } from "./app-Cn649AKe.js";
4
+ import { F as r } from "./app-CUTIQqG_.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
2
- import { K as d } from "./app-Cn649AKe.js";
2
+ import { J as d } from "./app-CUTIQqG_.js";
3
3
  const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { aw as d, ax as f, X as _, u as h } from "./app-Cn649AKe.js";
1
+ import { aw as d, ax as f, X as _, u as h } from "./app-CUTIQqG_.js";
2
2
  import { useCoreStore as F } from "@feedmepos/mf-common";
3
3
  import { ref as y, defineComponent as v, resolveComponent as p, openBlock as k, createElementBlock as g, renderSlot as x, createVNode as l, withCtx as S } from "vue";
4
4
  function w(e, t) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Q, ref as D, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as u, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
2
- import { u as oe, a as ne, aM as ae, z as se, _ as le, ae as H } from "./app-Cn649AKe.js";
2
+ import { u as oe, a as ne, aM as ae, z as se, _ as le, ae as H } from "./app-CUTIQqG_.js";
3
3
  import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
4
- import { u as ce } from "./vue-i18n-B_Hl3d6o.js";
4
+ import { u as ce } from "./vue-i18n-CxuQa0ds.js";
5
5
  const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
6
6
  __name: "PublishView",
7
7
  setup(ye) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { aq as y, ad as R } from "./app-Cn649AKe.js";
3
+ import { aq as y, ad as R } from "./app-CUTIQqG_.js";
4
4
  const C = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "text-right" }, P = { class: "header" }, D = { class: "sub-header" }, E = { class: "caption" }, O = { class: "address" }, S = { class: "text-right" }, q = { class: "sub-header" }, T = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }
@@ -1,18 +1,18 @@
1
1
  import { reactive as yt, onMounted as Be, watch as fe, computed as q, h as j, defineComponent as le, openBlock as k, createElementBlock as T, Fragment as ae, renderList as Ce, createElementVNode as l, toDisplayString as A, unref as t, resolveComponent as I, createVNode as d, withCtx as V, createCommentVNode as B, ref as E, createBlock as Q, normalizeClass as K, normalizeStyle as bt, createTextVNode as Fe, nextTick as $t, mergeProps as Ke, isRef as ke, createSlots as Dt, Teleport as It, normalizeProps as Tt, guardReactiveProps as Vt } from "vue";
2
- import { H as Qe, b as ze, $ as gt, l as Re, i as xe, a1 as Xe, K as Pt, an as Rt, A as Ne, M as At, m as _t, a8 as Ze, E as de, ao as Et, a as Le, ap as qt, aq as Ut, ar as Mt, G as ht, u as Ge, as as Ot, at as Nt, a0 as Bt, V as zt, au as Lt, C as kt, d as Pe, w as Ht, x as jt, y as Yt, av as Oe, a2 as ct, z as Kt, _ as Qt, B as Xt, N as mt } from "./app-Cn649AKe.js";
3
- import { u as We, a as Zt, P as Ye, b as Gt, _ as Wt, g as Jt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-COa-ENT_.js";
4
- import { _ as xt, u as es, i as ts, e as ss } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CriwQBvl.js";
2
+ import { W as Qe, b as ze, $ as gt, l as Re, i as xe, a1 as Xe, J as Pt, an as Rt, A as Ne, M as At, m as _t, a8 as Ze, E as de, ao as Et, a as Le, ap as qt, aq as Ut, ar as Mt, G as ht, u as We, as as Ot, at as Nt, a0 as Bt, T as zt, au as Lt, C as kt, d as Pe, w as Ht, x as jt, y as Yt, av as Oe, a2 as ct, z as Kt, _ as Qt, B as Xt, L as mt } from "./app-CUTIQqG_.js";
3
+ import { u as Ge, a as Zt, P as Ye, b as Wt, _ as Gt, g as Jt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-B3ew6mc5.js";
4
+ import { _ as xt, u as es, i as ts, e as ss } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CEMRfo1C.js";
5
5
  import { u as os } from "./useTabStorage-BkIVScW_.js";
6
6
  import { useDialog as Ct, useBreakpoints as Je, components as pe, FmButtonVariant as as, useSnackbar as $e, useProxiedModel as St } from "@feedmepos/ui-library";
7
- import { P as te, u as wt } from "./format-unit-display-CUjVAExM.js";
8
- import { _ as ls, F as ns, a as rs, b as is } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DMHC_WQn.js";
9
- import { u as et } from "./feature-C3tkzv_R.js";
10
- import { c as ye, u as us, _ as ds } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C5aDXHfX.js";
7
+ import { P as te, u as wt } from "./format-unit-display-CqqBiewI.js";
8
+ import { _ as ls, F as ns, a as rs, b as is } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-R8f-Q9Nk.js";
9
+ import { u as et } from "./feature-D5GLIW5h.js";
10
+ import { c as ye, u as us, _ as ds } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DvCBsPdI.js";
11
11
  import { useI18n as ce } from "@feedmepos/mf-common";
12
12
  import { defineStore as cs } from "pinia";
13
- import { u as tt } from "./supplier-CnlrJD2z.js";
13
+ import { u as tt } from "./supplier-C877x7mU.js";
14
14
  import { _ as ms } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
15
- import { u as ps } from "./vue-i18n-B_Hl3d6o.js";
15
+ import { u as ps } from "./vue-i18n-CxuQa0ds.js";
16
16
  import "./array-hChJVZLE.js";
17
17
  cs("inventoryMultiSelectDialog", () => {
18
18
  const v = Ct(), { t: _ } = ce();
@@ -751,7 +751,7 @@ const As = {
751
751
  }
752
752
  });
753
753
  function Xs() {
754
- const v = $e(), _ = We(), r = E(!1);
754
+ const v = $e(), _ = Ge(), r = E(!1);
755
755
  fe(r, (u) => {
756
756
  u && (g.value = !0, i().finally(() => {
757
757
  g.value = !1;
@@ -795,7 +795,7 @@ function Xs() {
795
795
  comparePriceBySku: e
796
796
  };
797
797
  }
798
- const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }, Ws = ["colspan"], Js = /* @__PURE__ */ le({
798
+ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Ws = { key: 0 }, Gs = ["colspan"], Js = /* @__PURE__ */ le({
799
799
  __name: "TransferItemTable",
800
800
  props: {
801
801
  templateItem: {},
@@ -837,14 +837,14 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
837
837
  ], 6);
838
838
  }), 128))
839
839
  ], 2),
840
- r.showComparePrice && Object.keys(r.comparePriceBySku[(g = r.row.original.sku) == null ? void 0 : g._id] ?? {}).length > 0 ? (k(), T("tr", Gs, [
840
+ r.showComparePrice && Object.keys(r.comparePriceBySku[(g = r.row.original.sku) == null ? void 0 : g._id] ?? {}).length > 0 ? (k(), T("tr", Ws, [
841
841
  l("td", {
842
842
  colspan: r.row.getVisibleCells().length
843
843
  }, [
844
844
  d(Ft, {
845
845
  prices: r.comparePriceBySku[(e = r.row.original.sku) == null ? void 0 : e._id]
846
846
  }, null, 8, ["prices"])
847
- ], 8, Ws)
847
+ ], 8, Gs)
848
848
  ])) : B("", !0)
849
849
  ], 64);
850
850
  };
@@ -986,7 +986,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
986
986
  },
987
987
  emits: ["validation-success", "form:ready"],
988
988
  setup(v, { expose: _, emit: r }) {
989
- const i = v, g = r, e = ht(), { t: u } = ce(), x = Ge(), S = Le(), n = ze(), s = tt(), a = et(), m = wt(), { breakpoints: c } = Je(), p = q(() => c.value.xs || c.value.sm), F = yt({
989
+ const i = v, g = r, e = ht(), { t: u } = ce(), x = We(), S = Le(), n = ze(), s = tt(), a = et(), m = wt(), { breakpoints: c } = Je(), p = q(() => c.value.xs || c.value.sm), F = yt({
990
990
  value: !1
991
991
  }), h = E(!1), $ = q(
992
992
  () => {
@@ -1120,31 +1120,31 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1120
1120
  function Ee() {
1121
1121
  var ve, De, Ue, Me, Ie;
1122
1122
  const o = (Ue = (De = (ve = $.value) == null ? void 0 : ve.purchaseOrder) == null ? void 0 : De.items) == null ? void 0 : Ue.groupBy((N) => N.sku._id), f = n.isEnabled ? n.getAvailableItems((Ie = (Me = e.netSuite) == null ? void 0 : Me.subsidiary) == null ? void 0 : Ie.id) : [], M = o != null && o.size ? S.skus.filter((N) => o.has(N._id)) : S.skus, ne = n.isEnabled ? M.filter((N) => {
1123
- var ee, W, oe, ue;
1124
- const G = (W = (ee = $.value) == null ? void 0 : ee.purchaseOrder) == null ? void 0 : W.items.find(
1123
+ var ee, G, oe, ue;
1124
+ const W = (G = (ee = $.value) == null ? void 0 : ee.purchaseOrder) == null ? void 0 : G.items.find(
1125
1125
  (me) => me.sku._id === N._id
1126
1126
  );
1127
- if (G != null && G.measurement != null) {
1127
+ if (W != null && W.measurement != null) {
1128
1128
  const me = n.getAvailableMeasurements(
1129
- G.sku._id,
1129
+ W.sku._id,
1130
1130
  (ue = (oe = e.netSuite) == null ? void 0 : oe.subsidiary) == null ? void 0 : ue.id
1131
1131
  );
1132
- return f.includes(G.sku._id) && me.includes(G.measurement.id);
1132
+ return f.includes(W.sku._id) && me.includes(W.measurement.id);
1133
1133
  }
1134
1134
  return f.includes(N._id);
1135
1135
  }).map((N) => N._id) : M.map((N) => N._id), re = M.map(
1136
1136
  (N) => {
1137
- var G, ee, W, oe;
1137
+ var W, ee, G, oe;
1138
1138
  return {
1139
- label: ((ee = (G = o == null ? void 0 : o.get(N._id)) == null ? void 0 : G[0]) == null ? void 0 : ee.name) ?? N.name,
1140
- sublabel: ((oe = (W = o == null ? void 0 : o.get(N._id)) == null ? void 0 : W[0]) == null ? void 0 : oe.code) ?? N.code,
1139
+ label: ((ee = (W = o == null ? void 0 : o.get(N._id)) == null ? void 0 : W[0]) == null ? void 0 : ee.name) ?? N.name,
1140
+ sublabel: ((oe = (G = o == null ? void 0 : o.get(N._id)) == null ? void 0 : G[0]) == null ? void 0 : oe.code) ?? N.code,
1141
1141
  value: N,
1142
1142
  disabled: !ne.includes(N._id)
1143
1143
  };
1144
1144
  }
1145
1145
  ), _e = re.filter((N) => {
1146
- var G;
1147
- return (G = e.items) == null ? void 0 : G.find((ee) => ee.sku._id === N.value._id);
1146
+ var W;
1147
+ return (W = e.items) == null ? void 0 : W.find((ee) => ee.sku._id === N.value._id);
1148
1148
  }).map((N) => N.value);
1149
1149
  z.open({
1150
1150
  title: u("inventory.transfer.form.items.selectItem"),
@@ -1165,17 +1165,17 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1165
1165
  variant: "tertiary"
1166
1166
  }
1167
1167
  }).onPrimary((N) => {
1168
- const G = e.items ?? [], ee = N.map((W) => {
1168
+ const W = e.items ?? [], ee = N.map((G) => {
1169
1169
  var me, Te;
1170
- const oe = G.find((he) => he.sku._id === W._id);
1170
+ const oe = W.find((he) => he.sku._id === G._id);
1171
1171
  if (oe)
1172
1172
  return oe;
1173
1173
  const ue = ((Te = (me = $.value) == null ? void 0 : me.purchaseOrder.items) == null ? void 0 : Te.find(
1174
- (he) => he.sku._id === W._id
1174
+ (he) => he.sku._id === G._id
1175
1175
  )) ?? {
1176
- sku: W,
1177
- code: W.code,
1178
- name: W.name,
1176
+ sku: G,
1177
+ code: G.code,
1178
+ name: G.name,
1179
1179
  quantity: {
1180
1180
  amount: 1,
1181
1181
  precision: 0
@@ -1190,7 +1190,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1190
1190
  }
1191
1191
  )), ue;
1192
1192
  });
1193
- ee.sort((W, oe) => W.sku.code.localeCompare(oe.sku.code)), e.items = ee;
1193
+ ee.sort((G, oe) => G.sku.code.localeCompare(oe.sku.code)), e.items = ee;
1194
1194
  });
1195
1195
  }
1196
1196
  function He(o) {
@@ -1211,7 +1211,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1211
1211
  });
1212
1212
  return (o, f) => {
1213
1213
  var me, Te;
1214
- const M = I("FmChip"), ne = I("FmLabel"), re = I("FmIcon"), _e = I("FmField"), ve = I("FmTooltip"), De = I("FmSelect"), Ue = I("FmTextField"), Me = I("FmTextarea"), Ie = I("FmSwitch"), N = I("FmDatePicker"), G = I("FmTimePicker"), ee = I("FmFormGroup"), W = I("FmButton"), oe = I("FmTable"), ue = I("FmForm");
1214
+ const M = I("FmChip"), ne = I("FmLabel"), re = I("FmIcon"), _e = I("FmField"), ve = I("FmTooltip"), De = I("FmSelect"), Ue = I("FmTextField"), Me = I("FmTextarea"), Ie = I("FmSwitch"), N = I("FmDatePicker"), W = I("FmTimePicker"), ee = I("FmFormGroup"), G = I("FmButton"), oe = I("FmTable"), ue = I("FmForm");
1215
1215
  return k(), T("div", lo, [
1216
1216
  l("div", no, [
1217
1217
  (me = i.modelValue) != null && me.template ? (k(), Q(M, {
@@ -1429,7 +1429,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1429
1429
  }, null, 8, ["modelValue"])
1430
1430
  ]),
1431
1431
  l("div", _o, [
1432
- d(G, {
1432
+ d(W, {
1433
1433
  modelValue: t(C),
1434
1434
  "onUpdate:modelValue": f[7] || (f[7] = (D) => ke(C) ? C.value = D : null)
1435
1435
  }, null, 8, ["modelValue"])
@@ -1469,7 +1469,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1469
1469
  }, [
1470
1470
  l("div", Co, A(t(u)("inventory.transfer.form.items.title")), 1),
1471
1471
  l("div", So, [
1472
- d(W, {
1472
+ d(G, {
1473
1473
  disabled: o.disabled,
1474
1474
  label: t(u)("inventory.transfer.form.items.addItem"),
1475
1475
  "prepend-icon": "add",
@@ -1580,7 +1580,7 @@ const Zs = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Gs = { key: 0 }
1580
1580
  emits: ["update:show", "submitted"],
1581
1581
  setup(v, { expose: _, emit: r }) {
1582
1582
  var X;
1583
- const i = v, g = r, e = We(), u = wt(), x = $e(), S = tt(), n = Le(), s = Ge(), { t: a } = ce(), m = E(!1), c = E(!1), p = E(!1);
1583
+ const i = v, g = r, e = Ge(), u = wt(), x = $e(), S = tt(), n = Le(), s = We(), { t: a } = ce(), m = E(!1), c = E(!1), p = E(!1);
1584
1584
  async function F(b) {
1585
1585
  if (b) {
1586
1586
  c.value = !1;
@@ -1959,7 +1959,7 @@ const Ro = exports.FfCalculator, Ao = { class: "flex flex-col flex-1" }, Eo = {
1959
1959
  }), Ko = { class: "flex flex-col gap-24" }, Qo = {
1960
1960
  key: 0,
1961
1961
  class: "flex items-center gap-8"
1962
- }, Xo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Zo = { class: "flex flex-col gap-8" }, Go = { class: "line-clamp-2 text-ellipsis break-all" }, Wo = {
1962
+ }, Xo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Zo = { class: "flex flex-col gap-8" }, Wo = { class: "line-clamp-2 text-ellipsis break-all" }, Go = {
1963
1963
  key: 2,
1964
1964
  class: "shrink-0"
1965
1965
  }, Jo = {
@@ -2168,9 +2168,9 @@ const Ro = exports.FfCalculator, Ao = { class: "flex flex-col flex-1" }, Eo = {
2168
2168
  }
2169
2169
  ])
2170
2170
  }, [
2171
- l("div", Go, A(r.value.name), 1)
2171
+ l("div", Wo, A(r.value.name), 1)
2172
2172
  ], 2),
2173
- g.value ? B("", !0) : (k(), T("div", Wo, [
2173
+ g.value ? B("", !0) : (k(), T("div", Go, [
2174
2174
  d(L, {
2175
2175
  label: t(h)("inventory.ingredient.import.replaceFile"),
2176
2176
  variant: p.value ? "destructive" : "secondary",
@@ -2221,7 +2221,7 @@ const Ro = exports.FfCalculator, Ao = { class: "flex flex-col flex-1" }, Eo = {
2221
2221
  },
2222
2222
  emits: ["update:show", "submitted"],
2223
2223
  setup(v, { expose: _, emit: r }) {
2224
- const i = r, e = St(v, "show"), u = $e(), x = We(), S = E(!1), n = E(), s = E();
2224
+ const i = r, e = St(v, "show"), u = $e(), x = Ge(), S = E(!1), n = E(), s = E();
2225
2225
  _({
2226
2226
  validateInputs: () => {
2227
2227
  var c, p;
@@ -2368,10 +2368,10 @@ const Ro = exports.FfCalculator, Ao = { class: "flex flex-col flex-1" }, Eo = {
2368
2368
  const S = E(u()), n = Zt(
2369
2369
  Ye.RECEIVE_REQUEST,
2370
2370
  S.value
2371
- ), { columnDefs: s } = Gt(
2371
+ ), { columnDefs: s } = Wt(
2372
2372
  Ye.RECEIVE_REQUEST,
2373
2373
  n
2374
- ), a = Ge();
2374
+ ), a = We();
2375
2375
  async function m() {
2376
2376
  const P = `inventory-record_${mt(S.value.startDate).format("DD-MM-YYYY_HH-mm")}-${mt(S.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, R = n.purchaseOrders.value.flatMap(
2377
2377
  (O) => O.items.map((U) => {
@@ -2553,7 +2553,7 @@ const Ro = exports.FfCalculator, Ao = { class: "flex flex-col flex-1" }, Eo = {
2553
2553
  d(To, Ke(t(n).transferDialogProps.value, {
2554
2554
  onSubmitted: t(n).fetchData
2555
2555
  }), null, 16, ["onSubmitted"]),
2556
- d(Wt, Ke({
2556
+ d(Gt, Ke({
2557
2557
  scope: t(Ye).RECEIVE_REQUEST
2558
2558
  }, t(n).transferDetailsProps.value, {
2559
2559
  onSubmitted: t(n).fetchData