@feedmepos/mf-inventory-portal 1.0.36-dev.6 → 1.0.36

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-p0OfVvta.js → App-BM-ivBnF.js} +46 -47
  2. package/dist/{ApprovalView-DPBSTlsb.js → ApprovalView-C4hE43Zp.js} +8 -8
  3. package/dist/{BindingsDialog-ADhnq8rd.js → BindingsDialog-BqjiXxGY.js} +8 -8
  4. package/dist/{BindingsPicker-C27I8rla.js → BindingsPicker-DqCR7P5k.js} +1 -1
  5. package/dist/{BindingsTable-BCrjUyRA.js → BindingsTable-DD_mVBtS.js} +1 -1
  6. package/dist/{ClosingDraftView-CAeA34YR.js → ClosingDraftView-CL09Xu9q.js} +49 -49
  7. package/dist/ClosingTemplateView-CDWMdZOk.js +1804 -0
  8. package/dist/{DeliveryOrderPrintPreview-BHaatock.js → DeliveryOrderPrintPreview-CNPUHnpX.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-n7mTgY-4.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DB6m8oSF.js} +3 -3
  10. package/dist/{FmMultiselectDialog-D3hCA4Hk.js → FmMultiselectDialog-DJ5cyN7G.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-GRMblS9k.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CPAnSCWa.js} +17 -17
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BMTgY6ZR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CauBVtK9.js} +1 -1
  13. package/dist/{IngredientGroupView-CoQ5jJq-.js → IngredientGroupView-D0U1ivRz.js} +21 -21
  14. package/dist/IngredientsView-pgJWthql.js +1838 -0
  15. package/dist/IntegrationView-hERgFYsT.js +3303 -0
  16. package/dist/{InventoryBindingForm-rBxn4aQn.js → InventoryBindingForm-vO00BnZP.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bku7tdc-.js} +37 -37
  18. package/dist/{InventoryBindingSummary-DRnfFnXw.js → InventoryBindingSummary-DWOniuG6.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFimf-EA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4_atZsW.js} +4 -4
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CkLC3e7r.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DUdI1WOL.js} +1 -1
  21. package/dist/{PublishView-CWPu6VU5.js → PublishView-enVS6QHQ.js} +8 -8
  22. package/dist/{PurchaseOrderPrintPreview-BB-UHWyM.js → PurchaseOrderPrintPreview-Z769Yvkh.js} +1 -1
  23. package/dist/{ReceiveRequestView-DzE2O14-.js → ReceiveRequestView-BYYWrgNX.js} +773 -789
  24. package/dist/{RecipeView-CdFqHWFg.js → RecipeView-CU9pkFiv.js} +38 -39
  25. package/dist/{StockView-2QkNXA2I.js → StockView-iqR-h1Mg.js} +68 -69
  26. package/dist/{SupplierView-BmIvZtRX.js → SupplierView-DFzgQ53O.js} +11 -12
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js → TransferDetails.vue_vue_type_script_setup_true_lang-BEVlutvf.js} +67 -68
  28. package/dist/{TransferTemplateView-CiwTECtX.js → TransferTemplateView-EZ_z14kY.js} +107 -108
  29. package/dist/{UnitView-xcRT1636.js → UnitView-gYD75UdW.js} +19 -19
  30. package/dist/{WarehouseView-DFUkzdn3.js → WarehouseView-COLgYw-j.js} +14 -14
  31. package/dist/api/inventory.d.ts +0 -4
  32. package/dist/api/netsuite.d.ts +2 -7
  33. package/dist/app-DMbkakEB.js +124324 -0
  34. package/dist/app.d.ts +0 -9
  35. package/dist/app.js +6 -6
  36. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +0 -1
  37. package/dist/components/row-action.enum.d.ts +1 -2
  38. package/dist/components/shell/inventory/binding-ui.vue.d.ts +0 -1
  39. package/dist/{decimal-tvbOiScu.js → decimal-BLjZMddB.js} +1 -1
  40. package/dist/format-unit-display-BkXJg2Ux.js +1230 -0
  41. package/dist/{index-5P4r_6vv.js → index-Bj0hlHvy.js} +3 -4
  42. package/dist/{index-DunD6flC.js → index-C5rv3Yu2.js} +1 -1
  43. package/dist/{stock-D4Q1lqHe.js → stock-DjOpPBxG.js} +1 -1
  44. package/dist/stores/feature.d.ts +2 -0
  45. package/dist/stores/integration/netsuite.d.ts +2 -7
  46. package/dist/stores/inventory.d.ts +0 -9
  47. package/dist/{supplier-nyMBwI1e.js → supplier-BRKfl2V3.js} +25 -26
  48. package/dist/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/{use-ingredient-select-dialog-CucQZ-Oc.js → use-ingredient-select-dialog-DRIWNN3P.js} +1 -1
  50. package/dist/{use-inventory-binding-dialog-ZF-LeZNi.js → use-inventory-binding-dialog-DLnKkFpe.js} +1 -1
  51. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1 -4
  52. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -8
  53. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -24
  54. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +0 -1
  55. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -16
  56. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +0 -12
  57. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +0 -2
  58. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +0 -1
  59. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +0 -2
  60. package/dist/views/integration/components/netsuite/InventoryTransferOutTable.vue.d.ts +2 -0
  61. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +0 -4
  62. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -17
  63. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +0 -2
  64. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +0 -4
  65. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
  66. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -4
  67. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -24
  68. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -24
  69. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +0 -2
  70. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -2
  71. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +0 -2
  72. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +0 -2
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +0 -1
  74. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +0 -3
  75. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1 -16
  76. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -12
  77. package/dist/vue-i18n-x8-PdKzv.js +2365 -0
  78. package/package.json +1 -1
  79. package/dist/ClosingTemplateView-DdtZPTyt.js +0 -1849
  80. package/dist/IngredientsView-B0n-ed2z.js +0 -1885
  81. package/dist/IntegrationView-CUacWvt2.js +0 -6531
  82. package/dist/api/duplicate-template.d.ts +0 -5
  83. package/dist/app-D8WIbWK8.js +0 -102338
  84. package/dist/feature-CXf7RRWE.js +0 -19100
  85. package/dist/format-unit-display-C42DxO2e.js +0 -1275
  86. package/dist/vue-i18n-BmNDS6W5.js +0 -2365
@@ -1,8 +1,7 @@
1
- import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
2
- import { u as M, a as D, b as H, R as e, g as s, c as W } from "./app-D8WIbWK8.js";
3
- import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
1
+ import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as d, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
2
+ import { u as M, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-DMbkakEB.js";
3
+ import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { useRouter as L, useRoute as K } from "vue-router";
5
- import { u as O } from "./feature-CXf7RRWE.js";
6
5
  import { u as $ } from "./useTabStorage-BkIVScW_.js";
7
6
  import { u as Q } from "./googlemap-Dm8ERVai.js";
8
7
  import "./array-Ca8T3f_G.js";
@@ -41,19 +40,19 @@ const q = {
41
40
  }, X = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Y = { class: "fm-typo-en-title-lg-600" }, Z = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ee = { class: "flex gap-16" }, te = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, oe = { href: "https://feedme.ai/form" }, ne = /* @__PURE__ */ h({
42
41
  __name: "InventoryView",
43
42
  setup(l) {
44
- const n = M(), i = D(), u = H(), a = A(), c = L(), o = z(), T = O(), { t: d } = B();
43
+ const n = M(), i = D(), u = H(), r = A(), c = L(), o = z(), T = B(), { t: p } = O();
45
44
  P(
46
- [() => a.sessionUser.value, () => a.currentBusiness.value],
47
- ([t, r]) => {
48
- f(t, r);
45
+ [() => r.sessionUser.value, () => r.currentBusiness.value],
46
+ ([t, a]) => {
47
+ f(t, a);
49
48
  }
50
49
  ), w(async () => {
51
- await T.init(), await a.readBusinesses();
52
- const t = a.sessionUser.value, r = a.currentBusiness.value;
53
- f(t, r);
50
+ await T.init(), await r.readBusinesses();
51
+ const t = r.sessionUser.value, a = r.currentBusiness.value;
52
+ f(t, a);
54
53
  });
55
- function f(t, r) {
56
- !t || !r || g();
54
+ function f(t, a) {
55
+ !t || !a || g();
57
56
  }
58
57
  async function g() {
59
58
  return await n.init(), await u.readSetting().catch((t) => {
@@ -61,31 +60,31 @@ const q = {
61
60
  }), await i.init();
62
61
  }
63
62
  const y = R(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? T.enablePoTemplate : c.currentRoute.value.name === e.INGREDIENT_GROUP ? T.enableIngredientGroup : !0);
64
- return (t, r) => {
63
+ return (t, a) => {
65
64
  const m = b("FmSpacer"), N = b("FmCircularProgress"), C = b("FmButton"), V = b("RouterView");
66
65
  return S(), I("div", null, [
67
66
  v(o).isLoading ? (S(), I("div", q, [
68
67
  _(m),
69
- p("div", null, [
68
+ d("div", null, [
70
69
  _(N, { size: "xl" })
71
70
  ]),
72
- r[0] || (r[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
71
+ a[0] || (a[0] = d("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
73
72
  _(m)
74
- ])) : y.value ? v(a).sessionUser.value ? (S(), x(V, { key: 2 })) : k("", !0) : (S(), I("div", J, [
75
- p("div", X, [
76
- p("div", Y, G(v(d)("inventory.common.proPlan.title")), 1),
77
- p("div", Z, G(v(d)("inventory.common.proPlan.subtitle")), 1)
73
+ ])) : y.value ? v(r).sessionUser.value ? (S(), x(V, { key: 2 })) : k("", !0) : (S(), I("div", J, [
74
+ d("div", X, [
75
+ d("div", Y, G(v(p)("inventory.common.proPlan.title")), 1),
76
+ d("div", Z, G(v(p)("inventory.common.proPlan.subtitle")), 1)
78
77
  ]),
79
- p("div", ee, [
80
- p("a", te, [
78
+ d("div", ee, [
79
+ d("a", te, [
81
80
  _(C, {
82
- label: v(d)("inventory.common.proPlan.comparePlans"),
81
+ label: v(p)("inventory.common.proPlan.comparePlans"),
83
82
  variant: "secondary"
84
83
  }, null, 8, ["label"])
85
84
  ]),
86
- p("a", oe, [
85
+ d("a", oe, [
87
86
  _(C, {
88
- label: v(d)("inventory.common.proPlan.callUs"),
87
+ label: v(p)("inventory.common.proPlan.callUs"),
89
88
  "prepend-icon": "call"
90
89
  }, null, 8, ["label"])
91
90
  ])
@@ -94,15 +93,15 @@ const q = {
94
93
  ]);
95
94
  };
96
95
  }
97
- }), re = { class: "h-full flex flex-col overflow-auto py-16" }, ae = /* @__PURE__ */ h({
96
+ }), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
98
97
  __name: "NavigationTab",
99
98
  setup(l) {
100
- const n = K(), i = L(), u = A(), a = O(), c = $(), { t: o } = B();
101
- P([() => u.currentBusiness.value, () => n.name], ([t, r]) => {
102
- (t == null ? void 0 : t.menuVersion) === "v3" && (r === e.INGREDIENTS || r === e.RECIPE || r === e.UNIT) && i.push({ name: e.STOCK });
99
+ const n = K(), i = L(), u = A(), r = B(), c = $(), { t: o } = O();
100
+ P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
101
+ (t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
103
102
  });
104
103
  const T = R(() => {
105
- var r;
104
+ var a;
106
105
  const t = [
107
106
  {
108
107
  label: s(e.STOCK, o),
@@ -112,7 +111,7 @@ const q = {
112
111
  label: o("inventory.stock.stock_balance.title"),
113
112
  value: e.STOCK
114
113
  },
115
- ...a.enableWastageTemplate ? [
114
+ ...r.enableWastageTemplate ? [
116
115
  {
117
116
  label: s(e.WASTAGE_TEMPLATE, o),
118
117
  value: e.WASTAGE_TEMPLATE
@@ -120,7 +119,7 @@ const q = {
120
119
  ] : []
121
120
  ]
122
121
  },
123
- ...a.enableClosingTemplate ? [
122
+ ...r.enableClosingTemplate ? [
124
123
  {
125
124
  label: "Closing",
126
125
  children: [
@@ -140,7 +139,7 @@ const q = {
140
139
  // icon: 'grocery',
141
140
  value: e.INGREDIENTS
142
141
  },
143
- ...a.enableIngredientGroup ? [
142
+ ...r.enableIngredientGroup ? [
144
143
  {
145
144
  label: s(e.INGREDIENT_GROUP, o),
146
145
  // icon: 'grocery',
@@ -169,7 +168,7 @@ const q = {
169
168
  label: s(e.APPROVAL, o),
170
169
  value: e.APPROVAL
171
170
  },
172
- ...a.enablePoTemplate ? [
171
+ ...r.enablePoTemplate ? [
173
172
  {
174
173
  label: s(e.TRANSFER_TEMPLATE, o),
175
174
  value: e.TRANSFER_TEMPLATE
@@ -197,10 +196,10 @@ const q = {
197
196
  value: e.INTEGRATION
198
197
  }
199
198
  ];
200
- return ((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) === "v3" ? t.filter(
199
+ return ((a = u.currentBusiness.value) == null ? void 0 : a.menuVersion) === "v3" ? t.filter(
201
200
  (m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT && m.value !== e.PUBLISH
202
201
  ) : t;
203
- }), d = R({
202
+ }), p = R({
204
203
  get() {
205
204
  if (n.name)
206
205
  return String(n.name);
@@ -225,12 +224,12 @@ const q = {
225
224
  g.value = !1, setTimeout(() => {
226
225
  y.value = !c.getItem(f.value);
227
226
  }, 2e3);
228
- }), (t, r) => {
227
+ }), (t, a) => {
229
228
  const m = b("FmCollapsibleTabs");
230
- return S(), I("div", re, [
229
+ return S(), I("div", ae, [
231
230
  _(m, {
232
- modelValue: d.value,
233
- "onUpdate:modelValue": r[0] || (r[0] = (N) => d.value = N),
231
+ modelValue: p.value,
232
+ "onUpdate:modelValue": a[0] || (a[0] = (N) => p.value = N),
234
233
  items: T.value
235
234
  }, null, 8, ["modelValue", "items"])
236
235
  ]);
@@ -239,14 +238,14 @@ const q = {
239
238
  });
240
239
  typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
241
240
  let l, n;
242
- return { promise: new Promise((u, a) => {
243
- l = u, n = a;
241
+ return { promise: new Promise((u, r) => {
242
+ l = u, n = r;
244
243
  }), resolve: l, reject: n };
245
244
  });
246
245
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
247
246
  return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
248
247
  });
249
- const fe = /* @__PURE__ */ h({
248
+ const pe = /* @__PURE__ */ h({
250
249
  __name: "App",
251
250
  setup(l) {
252
251
  const n = A(), i = Q(), u = W();
@@ -255,13 +254,13 @@ const fe = /* @__PURE__ */ h({
255
254
  n.setEmbedded(!0), document.body.classList.add("print-mode");
256
255
  return;
257
256
  }
258
- n.registerSidebarComponent(ae), i.initGoogleMap(u.appApi.googleMap).catch(() => {
257
+ n.registerSidebarComponent(re), i.initGoogleMap(u.appApi.googleMap).catch(() => {
259
258
  console.error("Google map cannot be loaded");
260
259
  });
261
260
  }), P([() => n.currentCountry.value], () => {
262
- a();
261
+ r();
263
262
  });
264
- async function a() {
263
+ async function r() {
265
264
  var c;
266
265
  try {
267
266
  await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
@@ -273,5 +272,5 @@ const fe = /* @__PURE__ */ h({
273
272
  }
274
273
  });
275
274
  export {
276
- fe as default
275
+ pe as default
277
276
  };
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as le, ref as D, watch as ue, computed as d, resolveComponent as ie, openBlock as x, createBlock as W, unref as n, withCtx as k, createElementVNode as i, normalizeClass as ce, createVNode as u, normalizeStyle as pe, toDisplayString as de, createElementBlock as me, createCommentVNode as fe, Teleport as ve, mergeProps as he } from "vue";
2
- import { u as _e, b as ge, aB as b, aM as ye, ad as X, z as De, N as be, H as Oe, _ as Re, B as Se, C as xe, E as O } from "./app-D8WIbWK8.js";
3
- import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js";
2
+ import { u as _e, b as ge, aB as b, aM as ye, ae as X, B as De, N as be, H as Oe, _ as Re, C as Se, E as xe, G as O } from "./app-DMbkakEB.js";
3
+ import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BEVlutvf.js";
4
4
  import { useBreakpoints as Pe } from "@feedmepos/ui-library";
5
5
  import { useI18n as Ne } from "@feedmepos/mf-common";
6
6
  const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ve = {
7
7
  key: 0,
8
8
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
9
- }, ze = { class: "pt-8" }, Ue = /* @__PURE__ */ le({
9
+ }, Le = { class: "pt-8" }, Ue = /* @__PURE__ */ le({
10
10
  __name: "ApprovalView",
11
- setup(Le) {
11
+ setup(ze) {
12
12
  const s = ke(q.APPROVAL), { columnDefs: Z } = qe(q.APPROVAL, s), B = _e(), I = ge();
13
13
  b.object({
14
14
  name: b.string().optional().nullable(),
@@ -158,7 +158,7 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
158
158
  onRowClick: (a) => n(s).promptShowTransferDetails(a.purchaseOrder, a)
159
159
  }, {
160
160
  default: k((a) => {
161
- var c, p, T, f, C, A, M, V, v, z, L, h, E, _, F, $, H, Y, U, g, j, G, J, K, y, Q;
161
+ var c, p, T, f, C, A, M, V, v, L, z, h, E, _, F, $, H, Y, U, g, j, G, J, K, y, Q;
162
162
  return [
163
163
  i("div", Te, [
164
164
  i("div", Ce, [
@@ -170,17 +170,17 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
170
170
  i("div", Ae, [
171
171
  u(n(O), {
172
172
  render: (V = (M = (A = a.to_name) == null ? void 0 : A.column) == null ? void 0 : M.columnDef) == null ? void 0 : V.cell,
173
- props: (z = (v = a.to_name) == null ? void 0 : v.getContext) == null ? void 0 : z.call(v)
173
+ props: (L = (v = a.to_name) == null ? void 0 : v.getContext) == null ? void 0 : L.call(v)
174
174
  }, null, 8, ["render", "props"])
175
175
  ]),
176
- i("div", Me, de((F = (_ = (E = (h = (L = e.original.purchaseOrder) == null ? void 0 : L.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
176
+ i("div", Me, de((F = (_ = (E = (h = (z = e.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
177
177
  ($ = e.original.purchaseOrder) != null && $.ref ? (x(), me("div", Ve, [
178
178
  u(n(O), {
179
179
  render: (U = (Y = (H = a.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : Y.columnDef) == null ? void 0 : U.cell,
180
180
  props: (j = (g = a.purchaseOrder_ref) == null ? void 0 : g.getContext) == null ? void 0 : j.call(g)
181
181
  }, null, 8, ["render", "props"])
182
182
  ])) : fe("", !0),
183
- i("div", ze, [
183
+ i("div", Le, [
184
184
  u(n(O), {
185
185
  render: (K = (J = (G = a.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : J.columnDef) == null ? void 0 : K.cell,
186
186
  props: (Q = (y = a.purchaseOrder_status) == null ? void 0 : y.getContext) == null ? void 0 : Q.call(y)
@@ -1,6 +1,6 @@
1
- import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js";
3
- import { a as L, bd as S } from "./app-D8WIbWK8.js";
1
+ import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bku7tdc-.js";
3
+ import { a as L, aZ as S } from "./app-DMbkakEB.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -10,10 +10,10 @@ const U = {
10
10
  }, D = /* @__PURE__ */ C({
11
11
  __name: "BindingsDialog",
12
12
  setup(N) {
13
- const p = L(), c = o(!0), s = o(new Array()), u = o(), t = S(y);
13
+ const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
14
14
  async function y() {
15
15
  await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
16
- c.value = !1, s.value = e;
16
+ d.value = !1, s.value = e;
17
17
  }).onMessage("props:inventory-bindings:validate", () => {
18
18
  var e;
19
19
  (e = f.value) == null || e.validateInputs();
@@ -48,12 +48,12 @@ const U = {
48
48
  const f = o();
49
49
  return (e, n) => {
50
50
  const g = l("FmButton"), B = l("FmForm"), h = l("FmCircularProgress");
51
- return i(), d("div", {
51
+ return i(), c("div", {
52
52
  class: "bg-white",
53
53
  ref_key: "resizeableRef",
54
54
  ref: m
55
55
  }, [
56
- c.value ? (i(), d("div", E, [
56
+ d.value ? (i(), c("div", E, [
57
57
  a(h, { size: "md" }),
58
58
  n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
59
59
  ])) : (i(), I(B, {
@@ -70,7 +70,7 @@ const U = {
70
70
  "iframe-mode": "",
71
71
  "onClick:pickInventoryBindings": k
72
72
  }, null, 8, ["model-value"]),
73
- r.value ? z("", !0) : (i(), d("div", U, [
73
+ r.value ? z("", !0) : (i(), c("div", U, [
74
74
  a(g, {
75
75
  type: "button",
76
76
  variant: "tertiary",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M, bd as x, a1 as z } from "./app-D8WIbWK8.js";
2
+ import { a as M, aZ as x, a2 as z } from "./app-DMbkakEB.js";
3
3
  const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
2
- import { F as b, a as P, bd as R } from "./app-D8WIbWK8.js";
2
+ import { F as b, a as P, aZ as R } from "./app-DMbkakEB.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
@@ -1,9 +1,9 @@
1
- import { defineComponent as Te, ref as N, computed as P, onMounted as Ie, resolveComponent as I, openBlock as A, createElementBlock as R, Fragment as q, createTextVNode as pe, createBlock as J, withCtx as Y, createElementVNode as r, toDisplayString as O, unref as D, createVNode as x, createCommentVNode as Q, h as F, reactive as Ze, watch as Qe, isRef as Le, normalizeClass as ve, renderList as he, normalizeStyle as Ee, Teleport as Je, mergeProps as Xe } from "vue";
2
- import { a2 as et, u as Se, al as M, ad as tt, am as at, l as nt, O as Re, i as L, t as ot, Q as Ae, q as st, r as rt, s as lt, an as He, ao as ze, a8 as Ne, ap as ne, ae as ct, ak as re, $ as Be, D as Ue, h as _e, f as it, e as ut, a as dt, z as mt, _ as ft, B as pt, C as vt, E as we } from "./app-D8WIbWK8.js";
1
+ import { defineComponent as Te, ref as N, computed as P, onMounted as Ie, resolveComponent as I, openBlock as A, createElementBlock as R, Fragment as W, createTextVNode as pe, createBlock as Q, withCtx as Y, createElementVNode as r, toDisplayString as O, unref as D, createVNode as x, createCommentVNode as J, h as F, reactive as Ze, watch as Je, isRef as Le, normalizeClass as ve, renderList as he, normalizeStyle as Ee, Teleport as Qe, mergeProps as Xe } from "vue";
2
+ import { a3 as et, u as Se, al as M, ae as tt, am as at, m as nt, P as Re, j as L, t as ot, T as Ae, r as st, s as rt, v as lt, an as He, ao as ze, a9 as Ne, ap as ne, af as ct, ak as re, a0 as Be, D as Ue, i as _e, h as it, f as ut, a as dt, B as mt, _ as ft, C as pt, E as vt, G as we } from "./app-DMbkakEB.js";
3
3
  import { useCoreStore as yt, useI18n as Ve } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Me, useDialog as gt, useProxiedModel as bt, components as fe, useBreakpoints as ht } from "@feedmepos/ui-library";
5
5
  import { defineStore as Oe, storeToRefs as At } from "pinia";
6
- import { a as Ye, u as Ke } from "./stock-D4Q1lqHe.js";
6
+ import { a as Ye, u as Ke } from "./stock-DjOpPBxG.js";
7
7
  import { E as Dt } from "./empty-placeholder-wf6-BWE8.js";
8
8
  const $e = et((s, l) => {
9
9
  function e() {
@@ -120,7 +120,7 @@ const $e = et((s, l) => {
120
120
  }
121
121
  return (o, n) => {
122
122
  const C = I("FmLabel"), g = I("FmDatePicker"), c = I("FmTimePicker"), H = I("FmTextField"), _ = I("FmButton"), $ = I("FmForm");
123
- return U.value ? (A(), J($, {
123
+ return U.value ? (A(), Q($, {
124
124
  key: 1,
125
125
  onValidationSuccess: z,
126
126
  class: "flex flex-col gap-32",
@@ -153,7 +153,7 @@ const $e = et((s, l) => {
153
153
  modelValue: E.value,
154
154
  "onUpdate:modelValue": n[1] || (n[1] = (j) => E.value = j)
155
155
  }, null, 8, ["modelValue"])
156
- ])) : Q("", !0),
156
+ ])) : J("", !0),
157
157
  x(H, {
158
158
  modelValue: e.value,
159
159
  "onUpdate:modelValue": n[2] || (n[2] = (j) => e.value = j),
@@ -176,7 +176,7 @@ const $e = et((s, l) => {
176
176
  ])
177
177
  ]),
178
178
  _: 1
179
- }, 8, ["disabled"])) : (A(), R(q, { key: 0 }, [
179
+ }, 8, ["disabled"])) : (A(), R(W, { key: 0 }, [
180
180
  pe("Loading")
181
181
  ], 64));
182
182
  };
@@ -217,7 +217,7 @@ function Ft(s) {
217
217
  return !s.abbrev.toLocaleLowerCase().includes("inactive");
218
218
  }
219
219
  function Bt(s) {
220
- const l = qe(s);
220
+ const l = We(s);
221
221
  return s.reduce(
222
222
  (e, d) => {
223
223
  var m;
@@ -226,7 +226,7 @@ function Bt(s) {
226
226
  0
227
227
  );
228
228
  }
229
- function qe(s) {
229
+ function We(s) {
230
230
  return s.groupBy(
231
231
  (l) => l.sku._id,
232
232
  (l) => l.measurementsAmounts.filter((e) => !e.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((e) => e.measurement.id)
@@ -283,7 +283,7 @@ function Rt(s, l) {
283
283
  const e = l.groupBy(
284
284
  (j) => j.id,
285
285
  (j) => j.balance
286
- ), d = [...s.items, ...s.negativeStockItems ?? []], m = qe(d), k = d.map((j) => {
286
+ ), d = [...s.items, ...s.negativeStockItems ?? []], m = We(d), k = d.map((j) => {
287
287
  var X, oe;
288
288
  const K = ((X = e.get(j.sku._id)) == null ? void 0 : X[0]) ?? jt, te = ((oe = m == null ? void 0 : m.get(j.sku._id)) == null ? void 0 : oe[0]) ?? [];
289
289
  return $t(j, K, te);
@@ -639,13 +639,13 @@ const Mt = Oe(
639
639
  }, Kt = { class: "flex items-center gap-8" }, Gt = {
640
640
  key: 0,
641
641
  class: "flex gap-8"
642
- }, qt = { class: "overflow-x-auto" }, Wt = {
642
+ }, Wt = { class: "overflow-x-auto" }, qt = {
643
643
  key: 1,
644
644
  class: "flex-1 xs:w-screen xs:max-w-full"
645
645
  }, Zt = {
646
646
  key: 0,
647
647
  class: "flex flex-col items-center gap-8 h-full"
648
- }, Qt = ["src"], Jt = {
648
+ }, Jt = ["src"], Qt = {
649
649
  key: 1,
650
650
  class: "px-4 flex flex-col"
651
651
  }, Xt = { class: "flex gap-12 content-stretch" }, ea = {
@@ -684,10 +684,10 @@ const Mt = Oe(
684
684
  (t) => t.sku._id,
685
685
  (t) => t.measurementsAmounts.filter((i) => !i.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((i) => i.measurement.id)
686
686
  ));
687
- Ie(te), Qe(
687
+ Ie(te), Je(
688
688
  () => e.show,
689
689
  (a) => {
690
- a && (W.value = ue[0], te());
690
+ a && (q.value = ue[0], te());
691
691
  }
692
692
  );
693
693
  const j = Ae(0), K = Ae(100);
@@ -1063,7 +1063,7 @@ const Mt = Oe(
1063
1063
  label: "Action history",
1064
1064
  value: "history"
1065
1065
  }
1066
- ], W = N(ue[0]), ee = P(() => {
1066
+ ], q = N(ue[0]), ee = P(() => {
1067
1067
  var f, u, v;
1068
1068
  const a = ((f = e.draft) == null ? void 0 : f.activityLogs) ?? [], t = ((u = e.draft) == null ? void 0 : u.rejectionHistory) ?? [];
1069
1069
  for (const b of t)
@@ -1113,7 +1113,7 @@ const Mt = Oe(
1113
1113
  });
1114
1114
  return (a, t) => {
1115
1115
  const i = I("FmButtonGroup"), f = I("FmMenuDivider"), u = I("FmCard"), v = I("FmButton"), b = I("FmCircularProgress"), h = I("FmTextField"), w = I("FmIcon"), de = I("FmChip"), ae = I("FmTable"), Z = I("FmSpacer"), se = I("FmTooltip"), xe = I("FmSideSheet");
1116
- return A(), J(xe, {
1116
+ return A(), Q(xe, {
1117
1117
  "dismiss-away": "",
1118
1118
  "max-width": 9999,
1119
1119
  "model-value": D(k),
@@ -1124,8 +1124,8 @@ const Mt = Oe(
1124
1124
  var S, V, G, me;
1125
1125
  return [
1126
1126
  r("div", fa, [
1127
- ((S = e.draft) == null ? void 0 : S.status) === D(ne).enum.DRAFT ? (A(), R(q, { key: 0 }, [
1128
- be.value ? (A(), J(se, {
1127
+ ((S = e.draft) == null ? void 0 : S.status) === D(ne).enum.DRAFT ? (A(), R(W, { key: 0 }, [
1128
+ be.value ? (A(), Q(se, {
1129
1129
  key: 0,
1130
1130
  "z-index": 51
1131
1131
  }, {
@@ -1141,19 +1141,19 @@ const Mt = Oe(
1141
1141
  })
1142
1142
  ]),
1143
1143
  _: 1
1144
- })) : (A(), J(v, {
1144
+ })) : (A(), Q(v, {
1145
1145
  key: "approve key",
1146
1146
  label: "Approve",
1147
1147
  onClick: t[4] || (t[4] = () => e.draft && D(m).approveDraft(e.draft, () => c("submitted")))
1148
1148
  }))
1149
- ], 64)) : Q("", !0),
1150
- ((V = e.draft) == null ? void 0 : V.status) === D(ne).enum.DRAFT ? (A(), J(v, {
1149
+ ], 64)) : J("", !0),
1150
+ ((V = e.draft) == null ? void 0 : V.status) === D(ne).enum.DRAFT ? (A(), Q(v, {
1151
1151
  key: 1,
1152
1152
  label: "Reject",
1153
1153
  variant: "destructive",
1154
1154
  onClick: t[5] || (t[5] = () => e.draft && D(m).rejectDraft(e.draft, () => c("submitted")))
1155
- })) : Q("", !0),
1156
- (G = e.draft) != null && G.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== D(ne).enum.COMPLETED ? (A(), J(v, {
1155
+ })) : J("", !0),
1156
+ (G = e.draft) != null && G.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== D(ne).enum.COMPLETED ? (A(), Q(v, {
1157
1157
  key: 2,
1158
1158
  label: "Sync",
1159
1159
  loading: y.value,
@@ -1162,7 +1162,7 @@ const Mt = Oe(
1162
1162
  y.value = !1, c("submitted");
1163
1163
  }));
1164
1164
  })
1165
- }, null, 8, ["loading"])) : Q("", !0),
1165
+ }, null, 8, ["loading"])) : J("", !0),
1166
1166
  x(v, {
1167
1167
  label: "Close",
1168
1168
  variant: "tertiary",
@@ -1176,11 +1176,11 @@ const Mt = Oe(
1176
1176
  r("div", null, [
1177
1177
  x(i, {
1178
1178
  items: ue,
1179
- modelValue: W.value,
1180
- "onUpdate:modelValue": t[0] || (t[0] = (S) => W.value = S)
1179
+ modelValue: q.value,
1180
+ "onUpdate:modelValue": t[0] || (t[0] = (S) => q.value = S)
1181
1181
  }, null, 8, ["modelValue"])
1182
1182
  ]),
1183
- W.value.value === "overview" ? (A(), R(q, { key: 0 }, [
1183
+ q.value.value === "overview" ? (A(), R(W, { key: 0 }, [
1184
1184
  x(u, {
1185
1185
  variant: "outlined",
1186
1186
  class: "flex flex-col gap-8 px-12 py-16"
@@ -1198,7 +1198,7 @@ const Mt = Oe(
1198
1198
  ]),
1199
1199
  x(f),
1200
1200
  r("div", Lt, [
1201
- (A(!0), R(q, null, he(ke.value, (G, me) => (A(), R("div", {
1201
+ (A(!0), R(W, null, he(ke.value, (G, me) => (A(), R("div", {
1202
1202
  class: "flex flex-col gap-4",
1203
1203
  key: me
1204
1204
  }, [
@@ -1215,8 +1215,8 @@ const Mt = Oe(
1215
1215
  r("div", Nt, [
1216
1216
  r("div", Vt, [
1217
1217
  t[10] || (t[10] = r("div", { class: "flex-1 fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Closing items ", -1)),
1218
- p.value ? Q("", !0) : (A(), R("div", Ot, [
1219
- a.draft && a.draft.status !== D(ne).enum.COMPLETED ? (A(), J(v, {
1218
+ p.value ? J("", !0) : (A(), R("div", Ot, [
1219
+ a.draft && a.draft.status !== D(ne).enum.COMPLETED ? (A(), Q(v, {
1220
1220
  key: 0,
1221
1221
  label: "Refresh balance",
1222
1222
  "prepend-icon": "refresh",
@@ -1226,7 +1226,7 @@ const Mt = Oe(
1226
1226
  "border-color": "primary",
1227
1227
  loading: U.value,
1228
1228
  onClick: X
1229
- }, null, 8, ["loading"])) : Q("", !0),
1229
+ }, null, 8, ["loading"])) : J("", !0),
1230
1230
  x(v, {
1231
1231
  label: "Export data",
1232
1232
  "prepend-icon": "download",
@@ -1247,7 +1247,7 @@ const Mt = Oe(
1247
1247
  t[11] || (t[11] = r("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, " Fetching info... ", -1))
1248
1248
  ]),
1249
1249
  t[13] || (t[13] = r("div", { class: "h-80" }, null, -1))
1250
- ])) : (A(), R(q, { key: 1 }, [
1250
+ ])) : (A(), R(W, { key: 1 }, [
1251
1251
  r("div", null, [
1252
1252
  x(h, {
1253
1253
  modelValue: ie.value,
@@ -1256,7 +1256,7 @@ const Mt = Oe(
1256
1256
  }, null, 8, ["modelValue"])
1257
1257
  ]),
1258
1258
  D(o).skuTags.size ? (A(), R("div", Gt, [
1259
- (A(!0), R(q, null, he(D(o).skuTags.keys(), (S) => (A(), J(de, {
1259
+ (A(!0), R(W, null, he(D(o).skuTags.keys(), (S) => (A(), Q(de, {
1260
1260
  key: `${S}`,
1261
1261
  label: `${S}`,
1262
1262
  selectable: "",
@@ -1264,12 +1264,12 @@ const Mt = Oe(
1264
1264
  onClick: (V) => C[`${S}`] = !C[`${S}`]
1265
1265
  }, {
1266
1266
  default: Y(() => [
1267
- C[`${S}`] ? (A(), J(w, {
1267
+ C[`${S}`] ? (A(), Q(w, {
1268
1268
  key: 0,
1269
1269
  name: "check",
1270
1270
  class: "text-white",
1271
1271
  size: "sm"
1272
- })) : Q("", !0),
1272
+ })) : J("", !0),
1273
1273
  r("span", {
1274
1274
  class: ve([
1275
1275
  "",
@@ -1282,8 +1282,8 @@ const Mt = Oe(
1282
1282
  ]),
1283
1283
  _: 2
1284
1284
  }, 1032, ["label", "selected", "onClick"]))), 128))
1285
- ])) : Q("", !0),
1286
- r("div", qt, [
1285
+ ])) : J("", !0),
1286
+ r("div", Wt, [
1287
1287
  r("div", {
1288
1288
  style: Ee({ minWidth: `${ce.value}px` })
1289
1289
  }, [
@@ -1296,10 +1296,10 @@ const Mt = Oe(
1296
1296
  ])
1297
1297
  ], 64))
1298
1298
  ])
1299
- ], 64)) : Q("", !0),
1300
- W.value.value === "history" ? (A(), R("div", Wt, [
1301
- ee.value.length ? (A(), R("div", Jt, [
1302
- (A(!0), R(q, null, he(ee.value, (S, V) => (A(), R(q, { key: V }, [
1299
+ ], 64)) : J("", !0),
1300
+ q.value.value === "history" ? (A(), R("div", qt, [
1301
+ ee.value.length ? (A(), R("div", Qt, [
1302
+ (A(!0), R(W, null, he(ee.value, (S, V) => (A(), R(W, { key: V }, [
1303
1303
  r("div", Xt, [
1304
1304
  r("div", ea, [
1305
1305
  r("div", ta, [
@@ -1352,14 +1352,14 @@ const Mt = Oe(
1352
1352
  }, {
1353
1353
  default: Y(() => [
1354
1354
  r("div", ua, [
1355
- (A(!0), R(q, null, he(S.info, (G, me) => (A(), R("div", {
1355
+ (A(!0), R(W, null, he(S.info, (G, me) => (A(), R("div", {
1356
1356
  key: me,
1357
1357
  class: "flex flex-col gap-4"
1358
1358
  }, [
1359
1359
  r("div", da, O(G == null ? void 0 : G.label), 1),
1360
1360
  r("div", ma, [
1361
- (A(!0), R(q, null, he(G == null ? void 0 : G.values, (Pe, We) => (A(), R("div", {
1362
- key: We,
1361
+ (A(!0), R(W, null, he(G == null ? void 0 : G.values, (Pe, qe) => (A(), R("div", {
1362
+ key: qe,
1363
1363
  class: "fm-typo-en-body-lg-600"
1364
1364
  }, O(Pe), 1))), 128))
1365
1365
  ])
@@ -1377,14 +1377,14 @@ const Mt = Oe(
1377
1377
  r("img", {
1378
1378
  src: D(Dt),
1379
1379
  alt: "List is empty"
1380
- }, null, 8, Qt)
1380
+ }, null, 8, Jt)
1381
1381
  ]),
1382
1382
  t[14] || (t[14] = r("div", { class: "fm-typo-en-body-lg-600" }, O("No records found"), -1)),
1383
1383
  t[15] || (t[15] = r("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary px-16" }, O("You can track approval and rejection history here"), -1)),
1384
1384
  x(Z),
1385
1385
  x(Z)
1386
1386
  ]))
1387
- ])) : Q("", !0)
1387
+ ])) : J("", !0)
1388
1388
  ])
1389
1389
  ]),
1390
1390
  _: 1
@@ -1421,7 +1421,7 @@ const Mt = Oe(
1421
1421
  ]);
1422
1422
  return (g, c) => {
1423
1423
  const H = I("FmTable");
1424
- return A(), R(q, null, [
1424
+ return A(), R(W, null, [
1425
1425
  x(ft, {
1426
1426
  title: D(l)("inventory.closing.draft.title"),
1427
1427
  actions: C.value,
@@ -1458,7 +1458,7 @@ const Mt = Oe(
1458
1458
  onRowClick: ($) => D(e)($)
1459
1459
  }, {
1460
1460
  default: Y(($) => {
1461
- var j, K, te, X, oe, De, le, ye, ce, ie, ge, ke, ue, W, ee, be, a, t, i, f;
1461
+ var j, K, te, X, oe, De, le, ye, ce, ie, ge, ke, ue, q, ee, be, a, t, i, f;
1462
1462
  return [
1463
1463
  r("div", va, [
1464
1464
  r("div", ya, [
@@ -1481,7 +1481,7 @@ const Mt = Oe(
1481
1481
  r("div", Aa, [
1482
1482
  x(D(we), {
1483
1483
  render: (ue = (ke = (ge = $.ref) == null ? void 0 : ge.column) == null ? void 0 : ke.columnDef) == null ? void 0 : ue.cell,
1484
- props: (ee = (W = $.ref) == null ? void 0 : W.getContext) == null ? void 0 : ee.call(W)
1484
+ props: (ee = (q = $.ref) == null ? void 0 : q.getContext) == null ? void 0 : ee.call(q)
1485
1485
  }, null, 8, ["render", "props"])
1486
1486
  ])
1487
1487
  ]),
@@ -1503,7 +1503,7 @@ const Mt = Oe(
1503
1503
  ]),
1504
1504
  _: 1
1505
1505
  }, 8, ["title", "actions"]),
1506
- (A(), J(Je, { to: "body" }, [
1506
+ (A(), Q(Qe, { to: "body" }, [
1507
1507
  x(pa, Xe(D(d), {
1508
1508
  show: D(m),
1509
1509
  "onUpdate:show": c[2] || (c[2] = (_) => Le(m) ? m.value = _ : null),