@feedmepos/mf-inventory-portal 0.0.23-dev.7 → 0.0.23-dev.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 (69) hide show
  1. package/dist/{App-MWE4uZN2.js → App-ByLgARNp.js} +37 -33
  2. package/dist/{ApprovalView-DTBGzcfq.js → ApprovalView-e85YmdZN.js} +4 -4
  3. package/dist/{BindingsDialog-BaK8KE5C.js → BindingsDialog-giBUD0IH.js} +2 -2
  4. package/dist/{BindingsPicker-C6YXPChW.js → BindingsPicker-CC4MmPbF.js} +2 -2
  5. package/dist/{BindingsTable-BO3FV22B.js → BindingsTable-WphZdzrA.js} +6 -6
  6. package/dist/ClosingDraftView-CQM1Sx45.js +755 -0
  7. package/dist/{ClosingTemplateView--hHcPJJj.js → ClosingTemplateView-1lzoDyet.js} +32 -31
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C6setquX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cv-vvzr5.js} +19 -19
  9. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-IRl6BsoL.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js} +2 -2
  10. package/dist/{FmMultiselectDialog-jlCh7zDq.js → FmMultiselectDialog-DScMA6iG.js} +15 -15
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-TeysdWIy.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DIFQcrc0.js} +2 -2
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BAj6ln1k.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js} +1 -1
  13. package/dist/{IngredientGroupView-BM07A4fB.js → IngredientGroupView-UegBM_JK.js} +12 -11
  14. package/dist/{IngredientsView-J9NM-pfU.js → IngredientsView-BfW-jZLM.js} +13 -12
  15. package/dist/{IntegrationView-DeR9JiDO.js → IntegrationView-FYNNzKia.js} +50 -50
  16. package/dist/{InventoryBindingForm-Bhk9dMsL.js → InventoryBindingForm-DsHv_IHG.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-yaHMbpFX.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js} +13 -13
  18. package/dist/{InventoryBindingSummary-BVujhHLB.js → InventoryBindingSummary-BLb4MRPZ.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ClaOjAPR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BG78-DHs.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dh9RYSdM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CqID5_7v.js} +2 -2
  21. package/dist/{PurchaseOrderPrintPreview-B7SKVm_d.js → PurchaseOrderPrintPreview-BBMU3teq.js} +1 -1
  22. package/dist/{ReceiveRequestView-CNaohBx7.js → ReceiveRequestView-vbANEzne.js} +19 -19
  23. package/dist/{RecipeView-B5POouqT.js → RecipeView-DW4DY0C0.js} +11 -10
  24. package/dist/{StockView-DxBkg4B1.js → StockView-C5btudss.js} +1356 -1457
  25. package/dist/{SupplierView-DSmE8k_W.js → SupplierView-B2aObtwK.js} +14 -13
  26. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-_luCbCMS.js → TransferDetails.vue_vue_type_script_setup_true_lang-B2LOvVef.js} +18 -17
  27. package/dist/{TransferTemplateView-CE8FN02v.js → TransferTemplateView-BKumN_p6.js} +57 -56
  28. package/dist/{UnitView-LmhfuQ7G.js → UnitView-CHLucv9s.js} +81 -80
  29. package/dist/{WarehouseView-DNPfTpbR.js → WarehouseView-G8pej6Y2.js} +25 -24
  30. package/dist/api/closing-draft.d.ts +6 -0
  31. package/dist/api/closing.d.ts +1 -0
  32. package/dist/{app-CHUTVCqW.js → app-BXjk74IB.js} +2175 -2140
  33. package/dist/app.d.ts +3 -0
  34. package/dist/app.js +1 -1
  35. package/dist/components/row-action.enum.d.ts +1 -0
  36. package/dist/{date2-jflNp4un.js → date2-CWAt9bRf.js} +1 -1
  37. package/dist/{dayjs.min-Ura1hQS9.js → dayjs.min-D3jPOnu6.js} +17 -17
  38. package/dist/{decimal-MDopy-42.js → decimal-DC07xoJW.js} +1 -1
  39. package/dist/{defineDeepModel-DJJQtyLG.js → defineDeepModel-CiD4GtOw.js} +1 -1
  40. package/dist/{feature-1MCtECkH.js → feature-6tcLMotY.js} +1 -1
  41. package/dist/form-mode.enum-BKiNVH6A.js +4 -0
  42. package/dist/{format-time-from-id-C_Ql1G1m.js → format-time-from-id-CYU5Z9Mt.js} +1 -1
  43. package/dist/{format-unit-display-8CZtD9mX.js → format-unit-display-CY-0bznr.js} +83 -82
  44. package/dist/{fuzzy-BYzBSFQ9.js → fuzzy-BMkhNYLR.js} +1 -1
  45. package/dist/{index-BfpXXehq.js → index-BXwQa14X.js} +1 -1
  46. package/dist/{index-B17P8VA1.js → index-CRLd5xyg.js} +1 -1
  47. package/dist/{index-DacyZLBG.js → index-DqwAtOgI.js} +1 -1
  48. package/dist/{netsuite-N4WoiSJk.js → netsuite-fYUUk_ss.js} +1 -1
  49. package/dist/router/name.d.ts +1 -0
  50. package/dist/{row-action.enum-PMKMRrZR.js → row-action.enum-7rGLGZ5v.js} +10 -5
  51. package/dist/{rules-XXZyqauM.js → rules-BmRGm3yv.js} +39 -35
  52. package/dist/stock-CEX0DP2B.js +111 -0
  53. package/dist/stores/inventory.d.ts +1 -4
  54. package/dist/style.css +1 -1
  55. package/dist/{supplier-CTbtvSjM.js → supplier-CdJmZr7w.js} +22 -22
  56. package/dist/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/{use-inventory-binding-dialog-Ri_zc-M3.js → use-inventory-binding-dialog-B0G2XYSw.js} +2 -2
  58. package/dist/{use-template-enabled-locations-2-BfvnBeUQ.js → use-template-enabled-locations-2-xbPJWHCs.js} +2 -2
  59. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
  60. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
  61. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +447 -0
  62. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +22 -0
  63. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
  64. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
  65. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
  66. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
  67. package/dist/{xlsx-BHa16rol.js → xlsx-CTOKp7SQ.js} +1 -1
  68. package/dist/{xlsx.util-CNw5O-OJ.js → xlsx.util-D5NFSfDg.js} +1 -1
  69. package/package.json +1 -1
@@ -1,19 +1,20 @@
1
- import { F as ne, D as W, R as A } from "./row-action.enum-PMKMRrZR.js";
1
+ import { D as W, R as N } from "./row-action.enum-7rGLGZ5v.js";
2
2
  import { c as Ce } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
3
- import { j as Ie, a as L, u as z, i as Ne, x as oe, s as Ae, c as Z, R as ae } from "./app-CHUTVCqW.js";
4
- import { f as De } from "./format-time-from-id-C_Ql1G1m.js";
3
+ import { k as Ie, a as L, u as z, i as Ae, A as ne, s as Ne, c as Z, R as oe } from "./app-BXjk74IB.js";
4
+ import { f as De } from "./format-time-from-id-CYU5Z9Mt.js";
5
5
  import { useCoreStore as J, useI18n as X } from "@feedmepos/mf-common";
6
- import { useDialogChild as Fe, useSnackbar as de, useDialog as Oe, FmButtonVariant as se, components as ie } from "@feedmepos/ui-library";
6
+ import { useDialogChild as Fe, useSnackbar as de, useDialog as Oe, FmButtonVariant as ae, components as se } from "@feedmepos/ui-library";
7
7
  import { defineStore as pe } from "pinia";
8
+ import { F as ie } from "./form-mode.enum-BKiNVH6A.js";
8
9
  import { defineComponent as fe, resolveComponent as B, openBlock as T, createElementBlock as w, createElementVNode as $, normalizeClass as M, createTextVNode as Pe, toDisplayString as I, unref as C, createCommentVNode as Q, createVNode as D, withCtx as G, Fragment as O, renderList as j, ref as R, onMounted as Ue, computed as le, watch as Be, createSlots as Me, createBlock as H, h as Y } from "vue";
9
10
  import { useRouter as Qe } from "vue-router";
10
- import { F as Le } from "./FmMultiselectDialog-jlCh7zDq.js";
11
- import { a as P, b as ye, d as he, s as ve, r as He } from "./xlsx.util-CNw5O-OJ.js";
11
+ import { F as Le } from "./FmMultiselectDialog-DScMA6iG.js";
12
+ import { a as P, b as ye, d as he, s as ve, r as He } from "./xlsx.util-D5NFSfDg.js";
12
13
  import { F as qe } from "./FmDroppableField-8RzKjEdL.js";
13
- import { c as Ve, a as U, t as q, g as V, m as je, B as ze } from "./rules-XXZyqauM.js";
14
- import { f as Ke } from "./date2-jflNp4un.js";
15
- import { u as ee } from "./supplier-CTbtvSjM.js";
16
- import { u as ge } from "./netsuite-N4WoiSJk.js";
14
+ import { c as Ve, a as U, t as q, g as V, p as je, B as ze } from "./rules-BmRGm3yv.js";
15
+ import { f as Ke } from "./date2-CWAt9bRf.js";
16
+ import { u as ee } from "./supplier-CdJmZr7w.js";
17
+ import { u as ge } from "./netsuite-fYUUk_ss.js";
17
18
  const be = Ie((e, r) => {
18
19
  function i() {
19
20
  var n;
@@ -46,7 +47,7 @@ const be = Ie((e, r) => {
46
47
  }
47
48
  };
48
49
  });
49
- function xe(e) {
50
+ function Se(e) {
50
51
  const r = L(), i = e.sku, c = r.skuById[i._id];
51
52
  if (c.unit._id !== i.unit._id) return !0;
52
53
  const a = e.measurement;
@@ -54,7 +55,7 @@ function xe(e) {
54
55
  }
55
56
  var E = /* @__PURE__ */ ((e) => (e.PURCHASE = "PURCHASE", e.TRANSFER = "TRANSFER", e))(E || {}), te = /* @__PURE__ */ ((e) => (e.Source = "Source", e.Destination = "Destination", e.Ingredient = "Ingredient", e))(te || {});
56
57
  const me = Ve(0);
57
- function Se(e) {
58
+ function xe(e) {
58
59
  var c;
59
60
  const r = e.sku;
60
61
  return {
@@ -103,7 +104,7 @@ function We(e) {
103
104
  var s;
104
105
  const i = J().currentBusiness.value, a = (s = e.map((l) => {
105
106
  var f;
106
- const m = l.purchaseOrder.items.map(Se), h = Te(), b = [
107
+ const m = l.purchaseOrder.items.map(xe), h = Te(), b = [
107
108
  ["Template ID", l._id],
108
109
  ["Template name", l.name],
109
110
  ["Business name", i == null ? void 0 : i.name],
@@ -125,7 +126,7 @@ function We(e) {
125
126
  ["Remark", l.purchaseOrder.remark ?? ""],
126
127
  [],
127
128
  h.map((t) => t.name),
128
- ...m.map((t) => h.map((S) => t[S.id]))
129
+ ...m.map((t) => h.map((x) => t[x.id]))
129
130
  ], v = h.map((t) => `system:${t.id}`), y = P(b, v);
130
131
  return { name: l.name, sheet: y };
131
132
  }).reduce(
@@ -142,7 +143,7 @@ function We(e) {
142
143
  return he(p, n), n;
143
144
  }
144
145
  function Ye() {
145
- const e = J(), r = ee(), i = z(), c = L(), a = e.currentBusiness.value, n = Se({
146
+ const e = J(), r = ee(), i = z(), c = L(), a = e.currentBusiness.value, n = xe({
146
147
  sku: {
147
148
  unit: {
148
149
  _id: "",
@@ -208,31 +209,31 @@ function Ye() {
208
209
  t.address.country
209
210
  ]),
210
211
  ...i.locations.map((t) => {
211
- var S, _, d, o, u, x;
212
+ var x, _, d, o, u, S;
212
213
  return [
213
214
  `${t.name} (${t.dbName})`,
214
215
  "Transfer",
215
- (S = t.doc.profile.address) == null ? void 0 : S.line1,
216
+ (x = t.doc.profile.address) == null ? void 0 : x.line1,
216
217
  (_ = t.doc.profile.address) == null ? void 0 : _.line2,
217
218
  (d = t.doc.profile.address) == null ? void 0 : d.city,
218
219
  (o = t.doc.profile.address) == null ? void 0 : o.postcode,
219
220
  (u = t.doc.profile.address) == null ? void 0 : u.state,
220
- (x = t.doc.profile.address) == null ? void 0 : x.country
221
+ (S = t.doc.profile.address) == null ? void 0 : S.country
221
222
  ];
222
223
  })
223
224
  ],
224
225
  ["Name", "Type", "Line 1", "Line 2", "City", "Postal", "State", "Country"]
225
226
  ), b = P(
226
227
  i.locations.map((t) => {
227
- var S, _, d, o, u, x;
228
+ var x, _, d, o, u, S;
228
229
  return [
229
230
  `${t.name} (${t.dbName})`,
230
- (S = t.doc.profile.address) == null ? void 0 : S.line1,
231
+ (x = t.doc.profile.address) == null ? void 0 : x.line1,
231
232
  (_ = t.doc.profile.address) == null ? void 0 : _.line2,
232
233
  (d = t.doc.profile.address) == null ? void 0 : d.city,
233
234
  (o = t.doc.profile.address) == null ? void 0 : o.postcode,
234
235
  (u = t.doc.profile.address) == null ? void 0 : u.state,
235
- (x = t.doc.profile.address) == null ? void 0 : x.country
236
+ (S = t.doc.profile.address) == null ? void 0 : S.country
236
237
  ];
237
238
  }),
238
239
  ["Name", "Line 1", "Line 2", "City", "Postal", "State", "Country"]
@@ -241,7 +242,7 @@ function Ye() {
241
242
  t.code,
242
243
  t.name,
243
244
  t.unit.abbrev,
244
- ...t.unit.measurements.map((S) => S.abbrev)
245
+ ...t.unit.measurements.map((x) => x.abbrev)
245
246
  ]),
246
247
  ["Code", "Name", "Base unit", "Measurements"]
247
248
  ), y = ye({
@@ -281,7 +282,7 @@ function Ge(e, r) {
281
282
  postcode: "",
282
283
  coordinates: [0, 0]
283
284
  },
284
- internal: b.split("_")[0] === "restaurant" ? oe.enum.restaurant : oe.enum.warehouse,
285
+ internal: b.split("_")[0] === "restaurant" ? ne.enum.restaurant : ne.enum.warehouse,
285
286
  phoneNumber: y.doc.profile.phoneNo ?? "",
286
287
  email: y.doc.profile.email ?? "",
287
288
  _rev: "",
@@ -372,14 +373,14 @@ function Xe(e) {
372
373
  `Missing meta headers (${_.join()}). Excel file does not come from the template.`
373
374
  );
374
375
  return f.map((o, u) => {
375
- const x = {};
376
+ const S = {};
376
377
  for (const k in t) {
377
378
  const g = t[k];
378
- Object.assign(x, { [g]: o[k] });
379
+ Object.assign(S, { [g]: o[k] });
379
380
  }
380
381
  return {
381
382
  index: u,
382
- data: x
383
+ data: S
383
384
  };
384
385
  });
385
386
  }
@@ -433,8 +434,8 @@ function et(e, r, i) {
433
434
  const f = ze(+e.minimumQuantity, +e.maximumQuantity), t = q(
434
435
  e.defaultQuantity,
435
436
  V(p, s)
436
- ), S = m(t), _ = f(`${e.defaultQuantity}`);
437
- typeof S == "string" && n.push(`Default amount: ${S}`), typeof _ == "string" && n.push(`Default amount: ${_}`);
437
+ ), x = m(t), _ = f(`${e.defaultQuantity}`);
438
+ typeof x == "string" && n.push(`Default amount: ${x}`), typeof _ == "string" && n.push(`Default amount: ${_}`);
438
439
  const d = {
439
440
  sku: a,
440
441
  code: a.code,
@@ -454,7 +455,7 @@ function et(e, r, i) {
454
455
  function tt(e) {
455
456
  const r = e.SheetNames.filter(
456
457
  (n) => !Object.values(te).map(String).includes(n)
457
- ), c = $e().templates, a = Ne(c, "_id");
458
+ ), c = $e().templates, a = Ae(c, "_id");
458
459
  try {
459
460
  return r.reduce(
460
461
  (n, p) => {
@@ -464,14 +465,14 @@ function tt(e) {
464
465
  const b = h.from, v = Ze(m.locations), y = v.filter((u) => u.location).map((u) => u.location);
465
466
  s.push(...v.flatMap((u) => u.errors));
466
467
  const f = Xe(l).filter((u) => u.data.code), t = f.map(
467
- (u, x) => et(u.data, x, f)
468
+ (u, S) => et(u.data, S, f)
468
469
  );
469
470
  s.push(
470
471
  ...t.flatMap(
471
- (u) => u.errors.map((x) => `(Excel row ${u.index + 14}) ${x}`)
472
+ (u) => u.errors.map((S) => `(Excel row ${u.index + 14}) ${S}`)
472
473
  )
473
474
  );
474
- const S = t.filter((u) => u.templateItem).map((u) => u.templateItem);
475
+ const x = t.filter((u) => u.templateItem).map((u) => u.templateItem);
475
476
  if (m.id) {
476
477
  const u = a[m.id];
477
478
  if (!u) {
@@ -489,7 +490,7 @@ function tt(e) {
489
490
  errors: s
490
491
  }), n;
491
492
  }
492
- const x = {
493
+ const S = {
493
494
  type: "update",
494
495
  original: u,
495
496
  template: {
@@ -501,13 +502,13 @@ function tt(e) {
501
502
  supplier: b ?? ((o = u.purchaseOrder) == null ? void 0 : o.supplier),
502
503
  ref: m.reference,
503
504
  remark: m.remark,
504
- items: S
505
+ items: x
505
506
  }
506
507
  },
507
508
  excelSheetName: p,
508
509
  errors: s
509
510
  };
510
- return n.importUpdateResult.push(x), n;
511
+ return n.importUpdateResult.push(S), n;
511
512
  }
512
513
  const d = {
513
514
  type: "create",
@@ -518,7 +519,7 @@ function tt(e) {
518
519
  supplier: b ?? _e(),
519
520
  ref: m.reference,
520
521
  remark: m.remark,
521
- items: S
522
+ items: x
522
523
  }
523
524
  },
524
525
  excelSheetName: p,
@@ -590,7 +591,7 @@ const nt = { class: "flex items-center gap-12 pl-8" }, ot = { class: "flex flex-
590
591
  })
591
592
  }, [
592
593
  Pe(I(r.name) + " ", 1),
593
- $("span", st, " (" + I(C(Ae)(`${r.transferType}`)) + ") ", 1),
594
+ $("span", st, " (" + I(C(Ne)(`${r.transferType}`)) + ") ", 1),
594
595
  r.type === "create" ? (T(), w("span", it, "(new)")) : Q("", !0)
595
596
  ], 2),
596
597
  r.errors.length ? (T(), w("div", lt, [
@@ -702,12 +703,12 @@ const nt = { class: "flex items-center gap-12 pl-8" }, ot = { class: "flex flex-
702
703
  return Be(r, (f) => {
703
704
  f && y(f);
704
705
  }), (f, t) => {
705
- const S = B("FmCircularProgress"), _ = B("FmIcon"), d = B("FmButton");
706
+ const x = B("FmCircularProgress"), _ = B("FmIcon"), d = B("FmButton");
706
707
  return T(), w("div", mt, [
707
708
  t[2] || (t[2] = $("div", { class: "fm-typo-en-body-md-400" }, "Import transfer templates from excel sheets.", -1)),
708
709
  n.value ? (T(), w("div", ct, [
709
710
  $("div", null, [
710
- D(S, {
711
+ D(x, {
711
712
  size: "md",
712
713
  color: "neutral-gray-200"
713
714
  })
@@ -738,7 +739,7 @@ const nt = { class: "flex items-center gap-12 pl-8" }, ot = { class: "flex flex-
738
739
  }
739
740
  ])
740
741
  }, [
741
- a.value ? (T(), H(S, {
742
+ a.value ? (T(), H(x, {
742
743
  key: 0,
743
744
  size: "md",
744
745
  color: "neutral-gray-200"
@@ -769,8 +770,8 @@ const nt = { class: "flex items-center gap-12 pl-8" }, ot = { class: "flex flex-
769
770
  ]))
770
771
  ], 2),
771
772
  s.value.length ? (T(), w("div", ft, [
772
- (T(!0), w(O, null, j(s.value, (u, x) => (T(), w("div", {
773
- key: x,
773
+ (T(!0), w(O, null, j(s.value, (u, S) => (T(), w("div", {
774
+ key: S,
774
775
  class: "flex gap-8 items-center"
775
776
  }, [
776
777
  D(_, {
@@ -823,11 +824,11 @@ function bt(e) {
823
824
  const i = r.getNetSuiteLocation(`${e.internal}_${e._id}`), c = r.getLocationSubsidiary(i == null ? void 0 : i.netSuiteId).id, a = (p = r.currentLocationSubsidiary()) == null ? void 0 : p.id;
824
825
  return c && c == a;
825
826
  }
826
- const xt = pe("transferTemplateActions", () => {
827
+ const St = pe("transferTemplateActions", () => {
827
828
  const e = Oe(), r = de(), i = z(), c = $e(), a = be(), n = ge(), p = Qe(), { t: s } = X(), l = R({});
828
829
  function m() {
829
830
  l.value = {
830
- mode: ne.CREATE,
831
+ mode: ie.CREATE,
831
832
  show: !0,
832
833
  "onUpdate:show"(d) {
833
834
  l.value.show = d;
@@ -836,7 +837,7 @@ const xt = pe("transferTemplateActions", () => {
836
837
  }
837
838
  function h(d) {
838
839
  l.value = {
839
- mode: ne.UPDATE,
840
+ mode: ie.UPDATE,
840
841
  modelValue: d,
841
842
  show: !0,
842
843
  "onUpdate:show"(o) {
@@ -850,12 +851,12 @@ const xt = pe("transferTemplateActions", () => {
850
851
  message: "Deleted template can no longer be retrieved",
851
852
  primaryActions: {
852
853
  text: "Delete",
853
- variant: se.Destructive,
854
+ variant: ae.Destructive,
854
855
  close: !0
855
856
  },
856
857
  secondaryActions: {
857
858
  text: "Cancel",
858
- variant: se.Plain,
859
+ variant: ae.Plain,
859
860
  close: !0
860
861
  }
861
862
  }).onPrimary(async () => {
@@ -865,21 +866,21 @@ const xt = pe("transferTemplateActions", () => {
865
866
  });
866
867
  try {
867
868
  o.value = !0;
868
- const [x] = await Promise.allSettled([
869
+ const [S] = await Promise.allSettled([
869
870
  a.deleteTemplate(d),
870
871
  new Promise((k) => setTimeout(k, 1e3))
871
872
  ]);
872
- if (x.status === "rejected") throw x.reason;
873
+ if (S.status === "rejected") throw S.reason;
873
874
  r.open({
874
875
  title: `Deleted ${d.name}`,
875
876
  type: "success"
876
877
  });
877
- } catch (x) {
878
+ } catch (S) {
878
879
  r.open({
879
880
  title: `Unable to delete ${d.name}`,
880
- message: `See error from server: ${x}`,
881
+ message: `See error from server: ${S}`,
881
882
  type: "error"
882
- }), console.error("error on deleting purchase order template", x);
883
+ }), console.error("error on deleting purchase order template", S);
883
884
  } finally {
884
885
  o.value = !1, u();
885
886
  }
@@ -901,13 +902,13 @@ const xt = pe("transferTemplateActions", () => {
901
902
  function f() {
902
903
  const { promise: d, resolve: o } = Promise.withResolvers(), u = (g) => {
903
904
  o(g);
904
- }, x = c.templates.filter(
905
+ }, S = c.templates.filter(
905
906
  (g) => {
906
- var N;
907
- return (!g.locations || g.locations.find((F) => F.doc._id === i.currentLocation.doc._id)) && ((N = g.purchaseOrder.supplier) == null ? void 0 : N._id) !== i.currentLocation.doc._id;
907
+ var A;
908
+ return (!g.locations || g.locations.find((F) => F.doc._id === i.currentLocation.doc._id)) && ((A = g.purchaseOrder.supplier) == null ? void 0 : A._id) !== i.currentLocation.doc._id;
908
909
  }
909
910
  );
910
- if (!x.length)
911
+ if (!S.length)
911
912
  return e.open({
912
913
  title: "Select one template",
913
914
  message: "There is no available template in your business. Configure a new template?",
@@ -920,14 +921,14 @@ const xt = pe("transferTemplateActions", () => {
920
921
  close: !0
921
922
  }
922
923
  }).onPrimary(() => {
923
- p.push({ name: ae.TRANSFER_TEMPLATE }), u(void 0);
924
+ p.push({ name: oe.TRANSFER_TEMPLATE }), u(void 0);
924
925
  }).onSecondary(() => u(void 0)).onClose(() => u(void 0)), d;
925
- const k = x.map((g) => {
926
+ const k = S.map((g) => {
926
927
  var re;
927
- const N = !g.purchaseOrder.items.length || g.purchaseOrder.items.some(xe), F = !bt(g.purchaseOrder.supplier), K = g.purchaseOrder.supplier.internal ? n.getNetSuiteLocation(
928
+ const A = !g.purchaseOrder.items.length || g.purchaseOrder.items.some(Se), F = !bt(g.purchaseOrder.supplier), K = g.purchaseOrder.supplier.internal ? n.getNetSuiteLocation(
928
929
  `${g.purchaseOrder.supplier.internal}_${g.purchaseOrder.supplier._id}`
929
930
  ) : n.getNetSuiteVendor(g.purchaseOrder.supplier._id), we = F ? `The subsidiary of the request
930
- location is ${(re = n.getLocationSubsidiary(K == null ? void 0 : K.netSuiteId)) == null ? void 0 : re.fullName}.` : void 0, ke = N || F, Re = N ? "This template is invalid. Update this template." : F ? we : void 0, Ee = `${g.purchaseOrder.supplier.internal ? "Transfer" : "Purchase"} from ${g.purchaseOrder.supplier.name}`;
931
+ location is ${(re = n.getLocationSubsidiary(K == null ? void 0 : K.netSuiteId)) == null ? void 0 : re.fullName}.` : void 0, ke = A || F, Re = A ? "This template is invalid. Update this template." : F ? we : void 0, Ee = `${g.purchaseOrder.supplier.internal ? "Transfer" : "Purchase"} from ${g.purchaseOrder.supplier.name}`;
931
932
  return {
932
933
  label: g.name,
933
934
  value: g._id,
@@ -935,7 +936,7 @@ const xt = pe("transferTemplateActions", () => {
935
936
  sublabel: Re ?? Ee
936
937
  };
937
938
  });
938
- return k.sort((g, N) => +!!g.disabled - +!!N.disabled), e.open({
939
+ return k.sort((g, A) => +!!g.disabled - +!!A.disabled), e.open({
939
940
  title: "Select one template",
940
941
  contentComponent: Le,
941
942
  contentComponentProps: {
@@ -955,7 +956,7 @@ const xt = pe("transferTemplateActions", () => {
955
956
  close: !0
956
957
  }
957
958
  }).onPrimary((g) => Array.isArray(g) ? u(g[0]) : null).onSecondary(() => u(void 0)).onTertiary(() => {
958
- p.push({ name: ae.TRANSFER_TEMPLATE }), u(void 0);
959
+ p.push({ name: oe.TRANSFER_TEMPLATE }), u(void 0);
959
960
  }).onClose(() => u(void 0)), d;
960
961
  }
961
962
  function t() {
@@ -1001,10 +1002,10 @@ const xt = pe("transferTemplateActions", () => {
1001
1002
  });
1002
1003
  return;
1003
1004
  }
1004
- e.close(), S(d);
1005
+ e.close(), x(d);
1005
1006
  }).onTertiary(Ye);
1006
1007
  }
1007
- async function S(d) {
1008
+ async function x(d) {
1008
1009
  try {
1009
1010
  const o = [
1010
1011
  ...d.importCreateResult.map(
@@ -1014,11 +1015,11 @@ const xt = pe("transferTemplateActions", () => {
1014
1015
  (g) => g.template
1015
1016
  )
1016
1017
  ], u = 100;
1017
- let x = 0;
1018
+ let S = 0;
1018
1019
  const k = () => {
1019
- x += u, r.open({
1020
+ S += u, r.open({
1020
1021
  title: s("inventory.ingredient.import.progress", [
1021
- Math.min(x, o.length),
1022
+ Math.min(S, o.length),
1022
1023
  o.length
1023
1024
  ])
1024
1025
  });
@@ -1066,7 +1067,7 @@ function ue(e) {
1066
1067
  const $e = pe(
1067
1068
  "transferTemplateTable",
1068
1069
  function() {
1069
- const { t: r } = X(), { viewTemplate: i, updateTemplate: c, deleteTemplate: a } = xt(), n = R(!1), p = R(new Array()), s = be(), l = L();
1070
+ const { t: r } = X(), { viewTemplate: i, updateTemplate: c, deleteTemplate: a } = St(), n = R(!1), p = R(new Array()), s = be(), l = L();
1070
1071
  async function m() {
1071
1072
  p.value = [], n.value = !0;
1072
1073
  try {
@@ -1097,11 +1098,11 @@ const $e = pe(
1097
1098
  }
1098
1099
  function b(y, f) {
1099
1100
  switch (f = Z(f), y) {
1100
- case A.Details:
1101
+ case N.Details:
1101
1102
  return i(f);
1102
- case A.Edit:
1103
+ case N.Edit:
1103
1104
  return c(f);
1104
- case A.Delete:
1105
+ case N.Delete:
1105
1106
  return a(f, n, m);
1106
1107
  }
1107
1108
  }
@@ -1133,17 +1134,17 @@ const $e = pe(
1133
1134
  textAlign: "right"
1134
1135
  },
1135
1136
  cell(y) {
1136
- const f = Number(y.getValue()) || 0, t = y.row.original.purchaseOrder.items.some(xe);
1137
+ const f = Number(y.getValue()) || 0, t = y.row.original.purchaseOrder.items.some(Se);
1137
1138
  return f === 0 || t ? Y("div", { class: "flex justify-end gap-4 items-center" }, [
1138
1139
  Y(
1139
- ie.FmTooltip,
1140
+ se.FmTooltip,
1140
1141
  {},
1141
1142
  {
1142
1143
  content() {
1143
1144
  return t ? "The template is invalid due to invalid unit on some of the items. Please update this template." : "The template is invalid due to deleted ingredients. Please update this template.";
1144
1145
  },
1145
1146
  default() {
1146
- return Y(ie.FmIcon, {
1147
+ return Y(se.FmIcon, {
1147
1148
  name: "error",
1148
1149
  color: "system-error-300",
1149
1150
  size: "sm"
@@ -1181,11 +1182,11 @@ const $e = pe(
1181
1182
  id: "action",
1182
1183
  cell(y) {
1183
1184
  const f = y.row.original, t = [
1184
- W[A.Details],
1185
- W[A.Edit],
1186
- W[A.Delete]
1185
+ W[N.Details],
1186
+ W[N.Edit],
1187
+ W[N.Delete]
1187
1188
  ];
1188
- return Ce(t, (S) => b(S, f));
1189
+ return Ce(t, (x) => b(x, f));
1189
1190
  },
1190
1191
  enableSorting: !1,
1191
1192
  size: 40,
@@ -1202,15 +1203,15 @@ const $e = pe(
1202
1203
  };
1203
1204
  }
1204
1205
  );
1205
- function Bt(e, r, i) {
1206
+ function Mt(e, r, i) {
1206
1207
  const c = (i == null ? void 0 : i.abbrev) ?? r.abbrev;
1207
1208
  return `${U(e, !1)} ${c}`;
1208
1209
  }
1209
1210
  export {
1210
1211
  E as P,
1211
1212
  be as a,
1212
- xt as b,
1213
- Bt as f,
1214
- xe as t,
1213
+ St as b,
1214
+ Mt as f,
1215
+ Se as t,
1215
1216
  $e as u
1216
1217
  };
@@ -1,4 +1,4 @@
1
- import { J as v } from "./app-CHUTVCqW.js";
1
+ import { L as v } from "./app-BXjk74IB.js";
2
2
  var x = { exports: {} };
3
3
  (function(h, m) {
4
4
  (function() {
@@ -1,4 +1,4 @@
1
- import { J as h } from "./app-CHUTVCqW.js";
1
+ import { L as h } from "./app-BXjk74IB.js";
2
2
  var a = { exports: {} };
3
3
  function x(r, s = 100, u = {}) {
4
4
  if (typeof r != "function")
@@ -1,4 +1,4 @@
1
- var ce = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_58a45ff8-c417-4260-9fb0-94c5c04ea4ac", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_dependencies_zod: "3.17.9", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.12.1 npm/? node/v20.18.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_58a45ff8-c417-4260-9fb0-94c5c04ea4ac", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max_old_space_size=4096", GRADLE_HOME: "/usr/share/gradle-8.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "1.13.0-beta.1", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "709", npm_package_dependencies__feedmepos_ui_library: "1.3.8", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250202.1.0", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.11/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.5/x64", JOURNAL_STREAM: "8:6069", GITHUB_WORKFLOW: "Preview FeedMe Inventory Portal V1", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_scripts_check_publish_version: "./bin/check-version.sh", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13166642770", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "19b4620f5c2d8b30395ff176e1da7a91cb1915ff", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/dev/portal", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6e559e8c-055b-4b50-ae96-24f504fb16cb", INVOCATION_ID: "6a2433a635ff43c69ecb3632f7e76e0c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "publish_version", GITHUB_RUN_NUMBER: "341", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 36", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/portal", GITHUB_REPOSITORY: "feedmepos/inventory-service", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "^2.9.3", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.23-dev.7", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://registry.npmjs.org/", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "setup", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "19b4620f5c2d8b30395ff176e1da7a91cb1915ff", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev/portal", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_58a45ff8-c417-4260-9fb0-94c5c04ea4ac", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_58a45ff8-c417-4260-9fb0-94c5c04ea4ac", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_58a45ff8-c417-4260-9fb0-94c5c04ea4ac", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, Me = typeof ce < "u" && (ce.versions || {}).hasOwnProperty("node"), D = Me ? Object.create(globalThis) : globalThis;
1
+ var ce = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_dfdffb9c-317f-4752-b027-2110b5c5e632", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_dependencies_zod: "3.17.9", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.12.1 npm/? node/v20.18.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_dfdffb9c-317f-4752-b027-2110b5c5e632", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max_old_space_size=4096", GRADLE_HOME: "/usr/share/gradle-8.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "1.13.0-beta.1", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "720", npm_package_dependencies__feedmepos_ui_library: "1.3.8", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250202.1.0", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.11/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.5/x64", JOURNAL_STREAM: "8:5817", GITHUB_WORKFLOW: "Preview FeedMe Inventory Portal V1", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_scripts_check_publish_version: "./bin/check-version.sh", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13185622173", STATS_VMFE: "true", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b30e4357fd7e102b8e02d1b0ff173b1d34bdc79b", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/dev/portal", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c546ab75-ecbd-4db3-87f4-e981d8189ec3", INVOCATION_ID: "144de6c5767444fd904593dc63ccf965", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "publish_version", GITHUB_RUN_NUMBER: "344", GITHUB_TRIGGERING_ACTOR: "ye-yu", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 81", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/portal", GITHUB_REPOSITORY: "feedmepos/inventory-service", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "^2.9.3", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.23-dev.9", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://registry.npmjs.org/", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "setup", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "b30e4357fd7e102b8e02d1b0ff173b1d34bdc79b", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev/portal", GITHUB_ACTOR: "ye-yu", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_dfdffb9c-317f-4752-b027-2110b5c5e632", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "30603031", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.12.1/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_dfdffb9c-317f-4752-b027-2110b5c5e632", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_dfdffb9c-317f-4752-b027-2110b5c5e632", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, Me = typeof ce < "u" && (ce.versions || {}).hasOwnProperty("node"), D = Me ? Object.create(globalThis) : globalThis;
2
2
  D.scheduleImmediate = typeof setImmediate < "u" ? function(le) {
3
3
  setImmediate(le);
4
4
  } : function(le) {
@@ -1,4 +1,4 @@
1
- import { J as L, l as U, K as J, m as Oe, L as Us, o as tr, _ as Rt } from "./app-CHUTVCqW.js";
1
+ import { L, l as U, M as J, m as Oe, N as Us, o as tr, _ as Rt } from "./app-BXjk74IB.js";
2
2
  function Vs(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];
@@ -1,4 +1,4 @@
1
- import { j as N, h as B, a as L, u as I } from "./app-CHUTVCqW.js";
1
+ import { k as N, h as B, a as L, u as I } from "./app-BXjk74IB.js";
2
2
  import { useCoreStore as $ } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as T } from "@feedmepos/ui-library";
4
4
  import { ref as M, computed as p } from "vue";
@@ -5,6 +5,7 @@ export declare enum RouteName {
5
5
  UNIT = "UNIT",
6
6
  STOCK = "STOCK",
7
7
  CLOSING_TEMPLATE = "CLOSING_TEMPLATE",
8
+ CLOSING_DRAFT = "CLOSING_DRAFT",
8
9
  WAREHOUSE = "WAREHOUSE",
9
10
  RECEIVE_REQUEST = "RECEIVE_REQUEST",
10
11
  TRANSFER_TEMPLATE = "TRANSFER_TEMPLATE",
@@ -1,5 +1,5 @@
1
- var e = /* @__PURE__ */ ((t) => (t.READ = "READ", t.UPDATE = "UPDATE", t.CREATE = "CREATE", t))(e || {}), r = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t))(r || {});
2
- const a = {
1
+ var e = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.Export = "Export", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t))(e || {});
2
+ const o = {
3
3
  Add: {
4
4
  translationKey: "common.add",
5
5
  color: "text-fm-color-typo-primary",
@@ -30,6 +30,12 @@ const a = {
30
30
  value: "Print"
31
31
  /* Print */
32
32
  },
33
+ Export: {
34
+ translationKey: "common.export",
35
+ color: "text-fm-color-typo-primary",
36
+ value: "Export"
37
+ /* Export */
38
+ },
33
39
  Edit: {
34
40
  translationKey: "common.edit",
35
41
  color: "text-fm-color-typo-primary",
@@ -44,7 +50,6 @@ const a = {
44
50
  }
45
51
  };
46
52
  export {
47
- a as D,
48
- e as F,
49
- r as R
53
+ o as D,
54
+ e as R
50
55
  };