@feedmepos/mf-inventory-portal 0.0.25-dev.7 → 0.0.25-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 (86) hide show
  1. package/dist/{App-qJehfAde.js → App-9zSE_swt.js} +35 -34
  2. package/dist/{ApprovalView-BuqKIEPL.js → ApprovalView-C2tg-wsm.js} +18 -18
  3. package/dist/{BindingsDialog-BrF-YAJ2.js → BindingsDialog-eGbOIQkw.js} +6 -6
  4. package/dist/{BindingsPicker-DK41dcoG.js → BindingsPicker-CVXrd29s.js} +3 -3
  5. package/dist/{BindingsTable-DxlRhKzN.js → BindingsTable-CCsQEFnu.js} +6 -6
  6. package/dist/{ClosingDraftView-CpGQMN37.js → ClosingDraftView-BI8b3CJ9.js} +47 -47
  7. package/dist/ClosingTemplateView-miJnC-ML.js +1859 -0
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
  9. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9un0wCK.js +211 -0
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-3LU_3Y8h.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BRSABJnM.js} +52 -52
  11. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeRvrF7O.js +51 -0
  12. package/dist/{IngredientGroupView-Bjv9Kih7.js → IngredientGroupView-ZWCOAljO.js} +1 -1
  13. package/dist/{IngredientsView-ChJbe-U_.js → IngredientsView-5-pSX6y_.js} +394 -382
  14. package/dist/{IntegrationView-Cmh47qP7.js → IntegrationView-DO3Ambro.js} +660 -623
  15. package/dist/{InventoryBindingForm-GmcCTBqN.js → InventoryBindingForm-BjtFP29c.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQrjMOFh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFMZ4VsK.js} +55 -55
  17. package/dist/{InventoryBindingSummary-w1pFGR3C.js → InventoryBindingSummary-C6DkVX-B.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cxr2xhRR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CzxVUAC8.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BcMAXo4F.js} +15 -15
  20. package/dist/{PublishView-pWAEdGLi.js → PublishView-DOMQdIJ7.js} +7 -7
  21. package/dist/{PurchaseOrderPrintPreview-CZczBXL2.js → PurchaseOrderPrintPreview-_MCAsdw9.js} +1 -1
  22. package/dist/{ReceiveRequestView-tWyQCrIN.js → ReceiveRequestView-902hWGtz.js} +56 -55
  23. package/dist/{RecipeView-Dy1BBW3o.js → RecipeView-dmmjklwh.js} +32 -31
  24. package/dist/{index-cY9fiIBU.js → StockView-C4lEYLXU.js} +3577 -1764
  25. package/dist/{SupplierView-BUs8xZPq.js → SupplierView-CO5460uC.js} +12 -11
  26. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BA0HIuSW.js → TransferDetails.vue_vue_type_script_setup_true_lang-D6sZDCEY.js} +195 -194
  27. package/dist/TransferTemplateView-C9UwNTnY.js +1371 -0
  28. package/dist/{UnitView-GBK0ovxt.js → UnitView-DbYzxCXF.js} +14 -14
  29. package/dist/{WarehouseView-CXoj99HO.js → WarehouseView-BII4SEVC.js} +332 -314
  30. package/dist/api/inventory.d.ts +7 -6
  31. package/dist/{app-Du-JrqLm.js → app-IM1yJnE8.js} +15144 -15889
  32. package/dist/app.js +1 -1
  33. package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
  34. package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
  35. package/dist/components/FmLockableField.vue.d.ts +3 -0
  36. package/dist/components/FmMultiselectDialog.vue.d.ts +9 -1
  37. package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
  38. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  39. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  40. package/dist/{decimal-BXePRNLM.js → decimal-DQUpCN-B.js} +1 -1
  41. package/dist/feature-DMBVVBsQ.js +1005 -0
  42. package/dist/{format-unit-display-BdC0fMRb.js → format-unit-display-COuIZISg.js} +242 -238
  43. package/dist/helper/fuzzy.d.ts +10 -0
  44. package/dist/index-CIrsMt6f.js +35546 -0
  45. package/dist/{stock-CE5Qq59r.js → stock-BJUTiXXk.js} +3 -3
  46. package/dist/stores/inventory.d.ts +8 -8
  47. package/dist/stores/location.d.ts +9 -0
  48. package/dist/stores/warehouse.d.ts +1 -0
  49. package/dist/style.css +1 -1
  50. package/dist/{supplier-Cy-jlD0j.js → supplier-CM-qQVyI.js} +1 -1
  51. package/dist/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/use-ingredient-select-dialog-Cn79xFNg.js +51 -0
  53. package/dist/{use-inventory-binding-dialog-nHDQBRL3.js → use-inventory-binding-dialog-zwOG19YV.js} +1 -1
  54. package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
  55. package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
  56. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
  57. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
  58. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  59. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
  60. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
  61. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
  62. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  63. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  64. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
  65. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  66. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +25 -17
  67. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  68. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  69. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +36 -24
  70. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +36 -24
  71. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  72. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
  74. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  75. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +36 -12
  76. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +36 -12
  77. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -0
  78. package/dist/{vue-i18n-DIA7c33f.js → vue-i18n-CzPFJ9JY.js} +2 -2
  79. package/package.json +2 -2
  80. package/dist/ClosingTemplateView-4l891KsC.js +0 -1819
  81. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-CyHyOhG6.js +0 -142
  82. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DRqpc9k0.js +0 -286
  83. package/dist/StockView-B0c0FiPr.js +0 -1817
  84. package/dist/TransferTemplateView-MSbvSo96.js +0 -1286
  85. package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
  86. package/dist/index-irnhqIWw.js +0 -29202
@@ -1,9 +1,9 @@
1
- import { defineComponent as ye, ref as O, resolveComponent as E, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ge, toDisplayString as L, unref as h, createVNode as D, h as $, computed as M, onMounted as He, watch as ze, isRef as _e, createElementBlock as F, Fragment as W, createCommentVNode as le, normalizeClass as ie, renderList as ue, normalizeStyle as we, Teleport as Ee, mergeProps as Le } from "vue";
2
- import { X as Ne, u as be, af as q, m as Oe, K as he, j as C, t as Ve, L as ce, q as Ke, r as Ye, s as Ge, ag as ke, ah as je, a3 as Ce, ai as Se, aj as oe, a9 as qe, ae as X, V as Be, D as De, i as de, h as Ze, f as We, a as Xe, z as Je, _ as Qe, B as et, E as tt, G as me } from "./app-Du-JrqLm.js";
1
+ import { defineComponent as ye, ref as O, resolveComponent as E, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ge, toDisplayString as L, unref as h, createVNode as D, h as $, computed as M, onMounted as He, watch as ze, isRef as _e, createElementBlock as F, Fragment as Z, createCommentVNode as le, normalizeClass as ie, renderList as ue, normalizeStyle as we, Teleport as Ee, mergeProps as Le } from "vue";
2
+ import { W as Ne, u as be, aj as q, l as Oe, J as he, i as C, t as Ve, K as ce, p as Ke, q as Ye, r as Ge, ak as ke, al as je, a6 as Ce, am as Se, an as oe, ac as qe, ai as J, T as Be, D as De, h as de, f as We, e as Ze, a as Je, y as Qe, _ as Xe, z as et, B as tt, E as me } from "./app-IM1yJnE8.js";
3
3
  import { useCoreStore as at, useI18n as Fe } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Ae, useDialog as nt, useProxiedModel as ot, components as ae, useBreakpoints as st } from "@feedmepos/ui-library";
5
5
  import { defineStore as Re, storeToRefs as rt } from "pinia";
6
- import { u as $e } from "./stock-CE5Qq59r.js";
6
+ import { u as $e } from "./stock-BJUTiXXk.js";
7
7
  import { E as lt } from "./empty-placeholder-wf6-BWE8.js";
8
8
  const Te = Ne((n, d) => {
9
9
  function e() {
@@ -187,8 +187,8 @@ function yt(n, d) {
187
187
  (y) => y.id,
188
188
  (y) => y.balance
189
189
  ), u = [...n.items, ...n.negativeStockItems ?? []], m = u.map((y) => {
190
- var J;
191
- const K = ((J = e.get(y.sku._id)) == null ? void 0 : J[0]) ?? mt;
190
+ var Q;
191
+ const K = ((Q = e.get(y.sku._id)) == null ? void 0 : Q[0]) ?? mt;
192
192
  return pt(y, K);
193
193
  }), g = vt(u), l = at().currentBusiness.value, b = gt(g), R = [
194
194
  ["Business name:", l == null ? void 0 : l.name],
@@ -341,7 +341,7 @@ const bt = Re(
341
341
  e.closeDraftDialog(), l();
342
342
  }
343
343
  function P(r, s) {
344
- switch (s = We(s), r) {
344
+ switch (s = Ze(s), r) {
345
345
  case de.Details:
346
346
  return e.viewDraft(s);
347
347
  case de.Export:
@@ -365,7 +365,7 @@ const bt = Re(
365
365
  },
366
366
  {
367
367
  id: "updatedAt",
368
- accessorFn: (r) => X(r.updatedAt),
368
+ accessorFn: (r) => J(r.updatedAt),
369
369
  header: () => "Updated at",
370
370
  enableSorting: !0,
371
371
  size: 200
@@ -463,7 +463,7 @@ const bt = Re(
463
463
  value: q.enum.rejectDraft
464
464
  }
465
465
  ];
466
- return Ze(
466
+ return We(
467
467
  [
468
468
  ...v,
469
469
  ...s.status === oe.enum.DRAFT ? U : []
@@ -512,7 +512,7 @@ const bt = Re(
512
512
  }, Vt = { class: "flex-1 flex flex-col items-center" }, Kt = {
513
513
  class: "py-12 flex flex-col gap-4 flex-1",
514
514
  name: "delivery details"
515
- }, Yt = { class: "flex flex-col gap-8" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, qt = { class: "flex flex-col gap-4" }, Zt = { class: "flex gap-8" }, Wt = /* @__PURE__ */ ye({
515
+ }, Yt = { class: "flex flex-col gap-8" }, Gt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, qt = { class: "flex flex-col gap-4" }, Wt = { class: "flex gap-8" }, Zt = /* @__PURE__ */ ye({
516
516
  __name: "ClosingDraftDialog",
517
517
  props: {
518
518
  show: { type: Boolean },
@@ -520,7 +520,7 @@ const bt = Re(
520
520
  },
521
521
  emits: ["submitted"],
522
522
  setup(n, { emit: d }) {
523
- const e = n, u = $e(), m = pe(), g = ot(e, "show"), x = O(!1), l = O(new Array()), b = Se(), R = Ae(), P = Xe(), T = d, r = M(() => {
523
+ const e = n, u = $e(), m = pe(), g = ot(e, "show"), x = O(!1), l = O(new Array()), b = Se(), R = Ae(), P = Je(), T = d, r = M(() => {
524
524
  var a, t;
525
525
  return [
526
526
  ...((a = e.draft) == null ? void 0 : a.items) ?? [],
@@ -536,7 +536,7 @@ const bt = Re(
536
536
  He(w), ze(
537
537
  () => e.show,
538
538
  (a) => {
539
- a && (Z.value = te[0], w());
539
+ a && (W.value = te[0], w());
540
540
  }
541
541
  );
542
542
  const U = ce(0), S = ce(100);
@@ -736,9 +736,9 @@ const bt = Re(
736
736
  }
737
737
  }
738
738
  ];
739
- }), J = M(() => K.value.map((a) => a.size ?? 0).reduce((a, t) => a + t)), se = M(() => s.value.map((a) => {
740
- var G, Q;
741
- const t = (G = B.value.get(a._id)) == null ? void 0 : G[0], i = ((Q = V.value.get(a._id)) == null ? void 0 : Q[0]) ?? U;
739
+ }), Q = M(() => K.value.map((a) => a.size ?? 0).reduce((a, t) => a + t)), se = M(() => s.value.map((a) => {
740
+ var G, X;
741
+ const t = (G = B.value.get(a._id)) == null ? void 0 : G[0], i = ((X = V.value.get(a._id)) == null ? void 0 : X[0]) ?? U;
742
742
  if (!t)
743
743
  return {
744
744
  code: a.code,
@@ -772,12 +772,12 @@ const bt = Re(
772
772
  var t, i, f;
773
773
  if (!e.draft) return [];
774
774
  const a = e.draft.approvedAt ? {
775
- action: `Approve at ${X(e.draft.approvedAt)}`,
775
+ action: `Approve at ${J(e.draft.approvedAt)}`,
776
776
  // actionAt: props.draft.approvedAt,
777
777
  actionBy: e.draft.approvedBy,
778
778
  remark: e.draft.approveRemark
779
779
  } : (t = e.draft.rejectionHistory) == null ? void 0 : t.computeFirst((c) => ({
780
- action: `Reject at ${X(c.rejectedAt)}`,
780
+ action: `Reject at ${J(c.rejectedAt)}`,
781
781
  // actionAt: e.rejectedAt,
782
782
  actionBy: c.rejectedBy,
783
783
  remark: c.rejectRemark
@@ -789,7 +789,7 @@ const bt = Re(
789
789
  },
790
790
  {
791
791
  label: "Created at",
792
- value: X(e.draft.createdAt)
792
+ value: J(e.draft.createdAt)
793
793
  },
794
794
  {
795
795
  label: "Created by",
@@ -797,7 +797,7 @@ const bt = Re(
797
797
  },
798
798
  {
799
799
  label: "Updated at",
800
- value: X(e.draft.updatedAt)
800
+ value: J(e.draft.updatedAt)
801
801
  },
802
802
  {
803
803
  label: "Updated by",
@@ -805,7 +805,7 @@ const bt = Re(
805
805
  },
806
806
  {
807
807
  label: "Effective at",
808
- value: X(e.draft.effectiveAt ?? e.draft.updatedAt)
808
+ value: J(e.draft.effectiveAt ?? e.draft.updatedAt)
809
809
  },
810
810
  e.draft.remark ? {
811
811
  label: "Remark",
@@ -833,13 +833,13 @@ const bt = Re(
833
833
  label: "Action history",
834
834
  value: "history"
835
835
  }
836
- ], Z = O(te[0]), Y = M(() => {
836
+ ], W = O(te[0]), Y = M(() => {
837
837
  var t, i, f, c;
838
838
  return [
839
839
  ...(((t = e.draft) == null ? void 0 : t.rejectionHistory) ?? []).map(
840
840
  (p) => ({
841
841
  header: "Reject",
842
- date: X(p.rejectedAt),
842
+ date: J(p.rejectedAt),
843
843
  info: [
844
844
  {
845
845
  label: "Rejected by",
@@ -855,7 +855,7 @@ const bt = Re(
855
855
  ...(i = e.draft) != null && i.approvedBy ? [
856
856
  {
857
857
  header: "Approve",
858
- date: e.draft.approvedAt ? X(e.draft.approvedAt) : "",
858
+ date: e.draft.approvedAt ? J(e.draft.approvedAt) : "",
859
859
  info: [
860
860
  {
861
861
  label: "Approved by",
@@ -879,7 +879,7 @@ const bt = Re(
879
879
  ].filter((j) => j).join(" ");
880
880
  });
881
881
  return (a, t) => {
882
- const i = E("FmButtonGroup"), f = E("FmMenuDivider"), c = E("FmCard"), p = E("FmButton"), I = E("FmCircularProgress"), j = E("FmTable"), G = E("FmSpacer"), Q = E("FmTooltip"), H = E("FmSideSheet");
882
+ const i = E("FmButtonGroup"), f = E("FmMenuDivider"), c = E("FmCard"), p = E("FmButton"), I = E("FmCircularProgress"), j = E("FmTable"), G = E("FmSpacer"), X = E("FmTooltip"), H = E("FmSideSheet");
883
883
  return _(), ne(H, {
884
884
  "dismiss-away": "",
885
885
  "max-width": 900,
@@ -890,9 +890,9 @@ const bt = Re(
890
890
  "side-sheet-footer": N(() => {
891
891
  var A, k;
892
892
  return [
893
- o("div", Zt, [
894
- ((A = e.draft) == null ? void 0 : A.status) === h(oe).enum.DRAFT ? (_(), F(W, { key: 0 }, [
895
- re.value ? (_(), ne(Q, {
893
+ o("div", Wt, [
894
+ ((A = e.draft) == null ? void 0 : A.status) === h(oe).enum.DRAFT ? (_(), F(Z, { key: 0 }, [
895
+ re.value ? (_(), ne(X, {
896
896
  key: 0,
897
897
  "z-index": 51
898
898
  }, {
@@ -933,11 +933,11 @@ const bt = Re(
933
933
  o("div", null, [
934
934
  D(i, {
935
935
  items: te,
936
- modelValue: Z.value,
937
- "onUpdate:modelValue": t[0] || (t[0] = (A) => Z.value = A)
936
+ modelValue: W.value,
937
+ "onUpdate:modelValue": t[0] || (t[0] = (A) => W.value = A)
938
938
  }, null, 8, ["modelValue"])
939
939
  ]),
940
- Z.value.value === "overview" ? (_(), F(W, { key: 0 }, [
940
+ W.value.value === "overview" ? (_(), F(Z, { key: 0 }, [
941
941
  D(c, {
942
942
  variant: "outlined",
943
943
  class: "flex flex-col gap-8 px-12 py-16"
@@ -954,7 +954,7 @@ const bt = Re(
954
954
  ])
955
955
  ]),
956
956
  D(f),
957
- (_(!0), F(W, null, ue(ee.value, (z, ve) => (_(), F("div", {
957
+ (_(!0), F(Z, null, ue(ee.value, (z, ve) => (_(), F("div", {
958
958
  class: "flex flex-col gap-4",
959
959
  key: ve
960
960
  }, [
@@ -993,7 +993,7 @@ const bt = Re(
993
993
  t[11] || (t[11] = o("div", { class: "h-80" }, null, -1))
994
994
  ])) : (_(), F("div", Ft, [
995
995
  o("div", {
996
- style: we({ width: `${J.value}px` })
996
+ style: we({ width: `${Q.value}px` })
997
997
  }, [
998
998
  D(j, {
999
999
  "column-defs": K.value,
@@ -1003,9 +1003,9 @@ const bt = Re(
1003
1003
  ]))
1004
1004
  ])
1005
1005
  ], 64)) : le("", !0),
1006
- Z.value.value === "history" ? (_(), F("div", Rt, [
1006
+ W.value.value === "history" ? (_(), F("div", Rt, [
1007
1007
  Y.value.length ? (_(), F("div", Mt, [
1008
- (_(!0), F(W, null, ue(Y.value, (A, k) => (_(), F(W, { key: k }, [
1008
+ (_(!0), F(Z, null, ue(Y.value, (A, k) => (_(), F(Z, { key: k }, [
1009
1009
  o("div", Pt, [
1010
1010
  o("div", It, [
1011
1011
  o("div", Ut, [
@@ -1058,13 +1058,13 @@ const bt = Re(
1058
1058
  }, {
1059
1059
  default: N(() => [
1060
1060
  o("div", Yt, [
1061
- (_(!0), F(W, null, ue(A.info, (z, ve) => (_(), F("div", {
1061
+ (_(!0), F(Z, null, ue(A.info, (z, ve) => (_(), F("div", {
1062
1062
  key: ve,
1063
1063
  class: "flex flex-col gap-4"
1064
1064
  }, [
1065
1065
  o("div", Gt, L(z == null ? void 0 : z.label), 1),
1066
1066
  o("div", qt, [
1067
- (_(!0), F(W, null, ue(z == null ? void 0 : z.values, (Ie, Ue) => (_(), F("div", {
1067
+ (_(!0), F(Z, null, ue(z == null ? void 0 : z.values, (Ie, Ue) => (_(), F("div", {
1068
1068
  key: Ue,
1069
1069
  class: "fm-typo-en-body-lg-600"
1070
1070
  }, L(Ie), 1))), 128))
@@ -1097,10 +1097,10 @@ const bt = Re(
1097
1097
  }, 8, ["model-value"]);
1098
1098
  };
1099
1099
  }
1100
- }), Xt = { class: "flex-1 flex flex-col gap-8" }, Jt = { class: "flex flex-col" }, Qt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ea = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ta = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, aa = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, ua = /* @__PURE__ */ ye({
1100
+ }), Jt = { class: "flex-1 flex flex-col gap-8" }, Qt = { class: "flex flex-col" }, Xt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ea = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ta = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, aa = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, ua = /* @__PURE__ */ ye({
1101
1101
  __name: "ClosingDraftView",
1102
1102
  setup(n) {
1103
- const { t: d } = Fe(), { viewDraft: e } = pe(), { viewClosingDraftProps: u, viewClosingDraftShow: m } = rt(pe()), g = be(), x = bt(), l = Je(), { breakpoints: b } = st();
1103
+ const { t: d } = Fe(), { viewDraft: e } = pe(), { viewClosingDraftProps: u, viewClosingDraftShow: m } = rt(pe()), g = be(), x = bt(), l = Qe(), { breakpoints: b } = st();
1104
1104
  g.watchLocation(x.fetchDrafts);
1105
1105
  const R = M(() => x.loading), P = O(""), T = M(() => b.value.xs || b.value.sm), r = M(() => T.value ? 10 : 20);
1106
1106
  function s(S) {
@@ -1127,8 +1127,8 @@ const bt = Re(
1127
1127
  ]);
1128
1128
  return (S, w) => {
1129
1129
  const V = E("FmTable");
1130
- return _(), F(W, null, [
1131
- D(Qe, {
1130
+ return _(), F(Z, null, [
1131
+ D(Xe, {
1132
1132
  title: h(d)("inventory.closing.draft.title"),
1133
1133
  actions: U.value,
1134
1134
  "onClick:action": s
@@ -1164,19 +1164,19 @@ const bt = Re(
1164
1164
  onRowClick: (y) => h(e)(y)
1165
1165
  }, {
1166
1166
  default: N((y) => {
1167
- var K, J, se, ee, te, Z, Y, re, a, t, i, f, c, p, I, j, G, Q, H, A;
1167
+ var K, Q, se, ee, te, W, Y, re, a, t, i, f, c, p, I, j, G, X, H, A;
1168
1168
  return [
1169
- o("div", Xt, [
1170
- o("div", Jt, [
1171
- o("div", Qt, [
1169
+ o("div", Jt, [
1170
+ o("div", Qt, [
1171
+ o("div", Xt, [
1172
1172
  D(h(me), {
1173
- render: (se = (J = (K = y._id) == null ? void 0 : K.column) == null ? void 0 : J.columnDef) == null ? void 0 : se.cell,
1173
+ render: (se = (Q = (K = y._id) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : se.cell,
1174
1174
  props: (te = (ee = y._id) == null ? void 0 : ee.getContext) == null ? void 0 : te.call(ee)
1175
1175
  }, null, 8, ["render", "props"])
1176
1176
  ]),
1177
1177
  o("div", ea, [
1178
1178
  D(h(me), {
1179
- render: (re = (Y = (Z = y.name) == null ? void 0 : Z.column) == null ? void 0 : Y.columnDef) == null ? void 0 : re.cell,
1179
+ render: (re = (Y = (W = y.name) == null ? void 0 : W.column) == null ? void 0 : Y.columnDef) == null ? void 0 : re.cell,
1180
1180
  props: (t = (a = y.name) == null ? void 0 : a.getContext) == null ? void 0 : t.call(a)
1181
1181
  }, null, 8, ["render", "props"])
1182
1182
  ]),
@@ -1193,7 +1193,7 @@ const bt = Re(
1193
1193
  ]),
1194
1194
  o("div", null, [
1195
1195
  D(h(me), {
1196
- render: (Q = (G = (j = y.status) == null ? void 0 : j.column) == null ? void 0 : G.columnDef) == null ? void 0 : Q.cell,
1196
+ render: (X = (G = (j = y.status) == null ? void 0 : j.column) == null ? void 0 : G.columnDef) == null ? void 0 : X.cell,
1197
1197
  props: (A = (H = y.status) == null ? void 0 : H.getContext) == null ? void 0 : A.call(H)
1198
1198
  }, null, 8, ["render", "props"])
1199
1199
  ])
@@ -1210,7 +1210,7 @@ const bt = Re(
1210
1210
  _: 1
1211
1211
  }, 8, ["title", "actions"]),
1212
1212
  (_(), ne(Ee, { to: "body" }, [
1213
- D(Wt, Le(h(u), {
1213
+ D(Zt, Le(h(u), {
1214
1214
  show: h(m),
1215
1215
  "onUpdate:show": w[2] || (w[2] = (B) => _e(m) ? m.value = B : null),
1216
1216
  onSubmitted: w[3] || (w[3] = () => (m.value = !1, h(x).fetchDrafts()))