@feedmepos/mf-inventory-portal 1.2.22-dev.1 → 1.2.22-dev.2

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 (54) hide show
  1. package/dist/{App-CVo40hoN.js → App-DtwLZ9Ng.js} +1 -1
  2. package/dist/{ApprovalView-B99YGXOt.js → ApprovalView-DTiPzA1y.js} +9 -9
  3. package/dist/{BindingsDialog-DGFYmVX9.js → BindingsDialog--1wB_TX2.js} +2 -2
  4. package/dist/{BindingsPicker-CVWxRkDE.js → BindingsPicker-JjZfjlvz.js} +9 -9
  5. package/dist/{BindingsTable-Cxs_cQrM.js → BindingsTable-M2CGWdTD.js} +1 -1
  6. package/dist/{ClosingDraftView-gBO5Icdy.js → ClosingDraftView-B800NjEZ.js} +101 -101
  7. package/dist/ClosingTemplateView-B1TVIzzy.js +2001 -0
  8. package/dist/{DeliveryOrderPrintPreview-D-H7S-4t.js → DeliveryOrderPrintPreview-CUXfCixj.js} +8 -8
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BsPMd4IE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bdw3Q4Dz.js} +33 -33
  10. package/dist/{FmMultiselectDialog-DXVvibUU.js → FmMultiselectDialog-CyYcvvyg.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dq8lMkNV.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-FDSjxY.js} +49 -49
  12. package/dist/{ImportView-DUPfQshy.js → ImportView-BR7JpsG8.js} +27 -27
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DxLVS1Ar.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bae5DUA9.js} +8 -8
  14. package/dist/{IngredientGroupView-CqPl6RZI.js → IngredientGroupView-c6XH5Fzg.js} +17 -17
  15. package/dist/{IngredientsView--7ro7P7J.js → IngredientsView-D4JiQ6Bp.js} +72 -73
  16. package/dist/{IntegrationView-BZnq8gYp.js → IntegrationView-BdOTe6FG.js} +3 -3
  17. package/dist/{InventoryBindingForm-DASUGZuO.js → InventoryBindingForm-kqrZutMr.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-l_EgNW0u.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DZ-Mr8-U.js} +12 -12
  19. package/dist/{InventoryBindingSummary-BoUAsK9S.js → InventoryBindingSummary-D4p9cOiy.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DimqJCjO.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bj_2aQiY.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C_wNgXUC.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CX9H2gLU.js} +7 -7
  22. package/dist/{PublishView-B-Zal--Y.js → PublishView-DcQQtuF8.js} +10 -10
  23. package/dist/{PurchaseOrderPrintPreview-CoXu4VO-.js → PurchaseOrderPrintPreview-Ueo4Yftu.js} +13 -13
  24. package/dist/{ReceiveRequestView-B7rprDy7.js → ReceiveRequestView-Cikz66hY.js} +115 -115
  25. package/dist/{RecipeView-BbMlUt0v.js → RecipeView-DL1kKy2w.js} +50 -50
  26. package/dist/{StockView-Bko2-Rzd.js → StockView-DzaCcxc5.js} +7 -7
  27. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DONtcweN.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DP5AFZM2.js} +1 -1
  28. package/dist/{SupplierView-D4hAT4CW.js → SupplierView-CJuI_jPc.js} +93 -93
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoZEbHkN.js +3233 -0
  30. package/dist/{TransferTemplateView-BLWYhdZG.js → TransferTemplateView-DiGdnr0-.js} +140 -140
  31. package/dist/{UnitView-Boi_sRGP.js → UnitView-CA2isH5r.js} +44 -44
  32. package/dist/{WarehouseView-B1aAyncU.js → WarehouseView-BMUJN1D1.js} +66 -66
  33. package/dist/api/adjustment-template.d.ts +1 -0
  34. package/dist/api/closing-template.d.ts +1 -0
  35. package/dist/{app-C4dN86_k.js → app-DdrL4md8.js} +8229 -7971
  36. package/dist/app.js +4 -4
  37. package/dist/{decimal-Cf4voIJl.js → decimal-DJjE7Vf3.js} +1 -1
  38. package/dist/{format-unit-display-CjsVuoHS.js → format-unit-display-CK-PNM0G.js} +33 -33
  39. package/dist/{import-export.helper-DmouV6nF.js → import-export.helper-CJeCekEB.js} +6 -6
  40. package/dist/{index-DK93lkR_.js → index-Crgf6sCC.js} +1 -1
  41. package/dist/{index-D2C87f4k.js → index-D4F6boO1.js} +1 -1
  42. package/dist/{purchase-order-template-CQcIyT35.js → purchase-order-template-BOLP3UzN.js} +1 -1
  43. package/dist/{stock-CRKwCBhd.js → stock-DqL6z9wL.js} +1 -1
  44. package/dist/{supplier-BGeDlnSm.js → supplier-CW3GGX9U.js} +1 -1
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/{use-ingredient-select-dialog-Dg3hbUaX.js → use-ingredient-select-dialog-CrCo-DHA.js} +1 -1
  47. package/dist/{use-inventory-binding-dialog-DRCiAYUs.js → use-inventory-binding-dialog-RdX9Q4q9.js} +1 -1
  48. package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -0
  49. package/dist/views/adjustment-template/wastage-template/table.d.ts +60 -0
  50. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +8 -4
  51. package/package.json +4 -4
  52. package/dist/ClosingTemplateView-C61_1m3k.js +0 -1970
  53. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Cr30q-Ft.js +0 -3394
  54. package/dist/closing-template-CNtgIoiQ.js +0 -53
@@ -1,11 +1,11 @@
1
- import { defineComponent as J, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as K, renderList as G, toDisplayString as h, createCommentVNode as Z, ref as I, watch as oe, resolveComponent as $, createBlock as T, withCtx as A, createVNode as f, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
2
- import { a as O, e as U, S as ye, i as be, D as se, j as q, f as ie, Z as ge, q as H, A as xe, l as Q, $ as _e, a0 as he, x as ae, u as Ve, b as Ue, E as we, G as Ce, I as Se, J as ke, K as Ee } from "./app-C4dN86_k.js";
3
- import { useDialog as ue, useSnackbar as X, useProxiedModel as re, useBreakpoints as Fe } from "@feedmepos/ui-library";
4
- import { i as $e, _ as Ie } from "./is-linked-ingredient-error-fJ2TJb3z.js";
1
+ import { defineComponent as J, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as K, renderList as G, toDisplayString as h, createCommentVNode as Q, ref as I, watch as oe, resolveComponent as E, createBlock as T, withCtx as A, createVNode as f, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
2
+ import { a as O, e as U, S as ye, i as be, D as se, j as q, f as ie, $ as ge, r as H, A as xe, n as W, a0 as _e, a1 as he, y as ae, u as Ve, b as Ue, G as we, I as Ce, J as Se, K as ke, L as Fe } from "./app-DdrL4md8.js";
3
+ import { useDialog as ue, useSnackbar as Z, useProxiedModel as re, useBreakpoints as $e } from "@feedmepos/ui-library";
4
+ import { i as Ee, _ as Ie } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { defineStore as Ae, storeToRefs as De } from "pinia";
6
6
  import { useI18n as Y } from "@feedmepos/mf-common";
7
- import { F as Re } from "./decimal-Cf4voIJl.js";
8
- import { _ as Me } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DimqJCjO.js";
7
+ import { F as Re } from "./decimal-DJjE7Vf3.js";
8
+ import { _ as Me } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bj_2aQiY.js";
9
9
  const Pe = { class: "flex flex-col gap-8" }, Te = {
10
10
  key: 0,
11
11
  class: "flex flex-col"
@@ -51,7 +51,7 @@ const Pe = { class: "flex flex-col gap-8" }, Te = {
51
51
  s("div", Le, h((t = r.bindedIngredient) != null && t.length ? "Convert binding" : "Item unit"), 1)
52
52
  ]);
53
53
  }), 128))
54
- ])) : Z("", !0),
54
+ ])) : Q("", !0),
55
55
  a.value.length ? (v(), w("div", Ne, [
56
56
  p[1] || (p[1] = s("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
57
57
  s("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
@@ -70,7 +70,7 @@ const Pe = { class: "flex flex-col gap-8" }, Te = {
70
70
  s("div", je, h((t = r.bindedIngredient) == null ? void 0 : t.slice(0, 3).map((k) => k.code).join(", ")) + " " + h(r.bindedIngredient && ((u = r.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((y = r.bindedIngredient) == null ? void 0 : y.length) - 3} more` : ""), 1)
71
71
  ]);
72
72
  }), 128))
73
- ])) : Z("", !0),
73
+ ])) : Q("", !0),
74
74
  d.value.length ? (v(), w("div", qe, [
75
75
  p[2] || (p[2] = s("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
76
76
  s("div", { class: "flex-1 py-8 px-16" }, "Menu"),
@@ -89,11 +89,11 @@ const Pe = { class: "flex flex-col gap-8" }, Te = {
89
89
  s("div", Ke, h((t = r.bindedIngredient) == null ? void 0 : t.slice(0, 3).map((k) => k.code).join(", ")) + " " + h(r.bindedIngredient && ((u = r.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((y = r.bindedIngredient) == null ? void 0 : y.length) - 3} more` : ""), 1)
90
90
  ]);
91
91
  }), 128))
92
- ])) : Z("", !0)
92
+ ])) : Q("", !0)
93
93
  ]));
94
94
  }
95
- }), W = Ae("unitForm", function() {
96
- const c = ue(), g = X(), m = O(), l = I(!1), a = I();
95
+ }), X = Ae("unitForm", function() {
96
+ const c = ue(), g = Z(), m = O(), l = I(!1), a = I();
97
97
  function d() {
98
98
  const t = {
99
99
  unit: {},
@@ -125,7 +125,7 @@ const Pe = { class: "flex flex-col gap-8" }, Te = {
125
125
  type: "success"
126
126
  });
127
127
  } catch (u) {
128
- u instanceof ye && $e(u) ? c.open({
128
+ u instanceof ye && Ee(u) ? c.open({
129
129
  title: "Cannot delete unit",
130
130
  contentComponent: Ie,
131
131
  contentComponentProps: {
@@ -187,7 +187,7 @@ const Pe = { class: "flex flex-col gap-8" }, Te = {
187
187
  };
188
188
  });
189
189
  function Je() {
190
- const { updateUnit: S, deleteUnit: c } = W(), { t: g } = Y();
190
+ const { updateUnit: S, deleteUnit: c } = X(), { t: g } = Y();
191
191
  async function m(a, d) {
192
192
  const n = ie(d);
193
193
  if (a === q.Edit) {
@@ -232,7 +232,7 @@ function Je() {
232
232
  }
233
233
  ] };
234
234
  }
235
- const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze = { class: "flex-1" }, Qe = { class: "flex-1" }, We = { class: "flex" }, Xe = { class: "flex items-center" }, et = { class: "fm-typo-en-body-lg-600 flex-grow" }, tt = { class: "flex flex-col gap-24" }, nt = { class: "flex gap-24" }, ot = { class: "flex-1" }, lt = { class: "flex-1" }, st = /* @__PURE__ */ J({
235
+ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Qe = { class: "flex-1" }, We = { class: "flex-1" }, Xe = { class: "flex" }, Ze = { class: "flex items-center" }, et = { class: "fm-typo-en-body-lg-600 flex-grow" }, tt = { class: "flex flex-col gap-24" }, nt = { class: "flex gap-24" }, ot = { class: "flex-1" }, lt = { class: "flex-1" }, st = /* @__PURE__ */ J({
236
236
  __name: "UnitForm",
237
237
  props: {
238
238
  mode: {},
@@ -320,25 +320,25 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
320
320
  const o = n.value.measurements ?? [];
321
321
  o.splice(e, 1), n.value.measurements = o, l("update:modelValue", n.value);
322
322
  }
323
- const F = I();
323
+ const $ = I();
324
324
  return c({
325
325
  validateInputs: () => {
326
326
  var e, o;
327
- (o = (e = F.value) == null ? void 0 : e.validateInputs) == null || o.call(e);
327
+ (o = (e = $.value) == null ? void 0 : e.validateInputs) == null || o.call(e);
328
328
  },
329
329
  resetInputsValidation: () => {
330
330
  var e, o;
331
- (o = (e = F.value) == null ? void 0 : e.resetInputsValidation) == null || o.call(e);
331
+ (o = (e = $.value) == null ? void 0 : e.resetInputsValidation) == null || o.call(e);
332
332
  },
333
333
  resetInputs: () => {
334
334
  var e, o;
335
- (o = (e = F.value) == null ? void 0 : e.resetInputs) == null || o.call(e);
335
+ (o = (e = $.value) == null ? void 0 : e.resetInputs) == null || o.call(e);
336
336
  }
337
337
  }), (e, o) => {
338
- const V = $("FmTextField"), R = $("FmStepperField"), C = $("FmButton"), M = $("FmCard"), D = $("FmForm");
338
+ const V = E("FmTextField"), R = E("FmStepperField"), C = E("FmButton"), M = E("FmCard"), D = E("FmForm");
339
339
  return v(), T(D, {
340
340
  ref_key: "formRef",
341
- ref: F,
341
+ ref: $,
342
342
  class: "flex flex-col gap-40",
343
343
  onValidationSuccess: d
344
344
  }, {
@@ -347,7 +347,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
347
347
  return [
348
348
  s("div", Oe, [
349
349
  s("div", Ye, [
350
- s("div", Ze, [
350
+ s("div", Qe, [
351
351
  f(V, {
352
352
  disabled: e.disabled,
353
353
  label: i(a)("inventory.unit.name"),
@@ -357,7 +357,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
357
357
  "label-mark": "required"
358
358
  }, null, 8, ["disabled", "label", "modelValue", "rules"])
359
359
  ]),
360
- s("div", Qe, [
360
+ s("div", We, [
361
361
  f(V, {
362
362
  disabled: e.disabled,
363
363
  label: i(a)("inventory.unit.symbol"),
@@ -379,7 +379,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
379
379
  }, null, 8, ["disabled", "label", "modelValue", "rules"])
380
380
  ])
381
381
  ]),
382
- s("div", We, [
382
+ s("div", Xe, [
383
383
  f(C, {
384
384
  disabled: e.disabled,
385
385
  type: "button",
@@ -395,13 +395,13 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
395
395
  key: x.id
396
396
  }, {
397
397
  default: A(() => [
398
- s("div", Xe, [
398
+ s("div", Ze, [
399
399
  s("div", et, h(i(a)("inventory.unit.measurement.measurementDefault", [_ + 1])), 1),
400
400
  f(C, {
401
401
  disabled: e.disabled,
402
402
  variant: "tertiary",
403
403
  "prepend-icon": "delete",
404
- onClick: (E) => k(_)
404
+ onClick: (F) => k(_)
405
405
  }, null, 8, ["disabled", "onClick"])
406
406
  ]),
407
407
  s("div", tt, [
@@ -412,7 +412,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
412
412
  class: "col-span-2",
413
413
  label: i(a)("inventory.unit.measurement.name"),
414
414
  modelValue: e.modelValue.measurements[_].name,
415
- "onUpdate:modelValue": (E) => e.modelValue.measurements[_].name = E,
415
+ "onUpdate:modelValue": (F) => e.modelValue.measurements[_].name = F,
416
416
  rules: [i(H)()],
417
417
  "label-mark": "required"
418
418
  }, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
@@ -422,7 +422,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
422
422
  disabled: e.disabled,
423
423
  label: i(a)("inventory.unit.measurement.symbol"),
424
424
  modelValue: e.modelValue.measurements[_].abbrev,
425
- "onUpdate:modelValue": (E) => e.modelValue.measurements[_].abbrev = E,
425
+ "onUpdate:modelValue": (F) => e.modelValue.measurements[_].abbrev = F,
426
426
  rules: [i(H)()],
427
427
  "label-mark": "required"
428
428
  }, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
@@ -432,21 +432,21 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
432
432
  disabled: e.disabled,
433
433
  class: "col-span-3",
434
434
  label: i(a)("inventory.unit.measurement.conversion"),
435
- "model-value": +i(Q)(e.modelValue.measurements[_].conversion),
436
- "onUpdate:modelValue": (E) => u.value = u.value.map(
435
+ "model-value": +i(W)(e.modelValue.measurements[_].conversion),
436
+ "onUpdate:modelValue": (F) => u.value = u.value.map(
437
437
  (P, L) => L === _ ? {
438
438
  ...P,
439
439
  conversion: i(Re).toPrecision(
440
- i(_e)(E),
440
+ i(_e)(F),
441
441
  t.value
442
442
  )
443
443
  } : P
444
444
  ),
445
445
  rules: [i(he)(0)],
446
- step: +i(Q)({ amount: 1, precision: t.value }),
446
+ step: +i(W)({ amount: 1, precision: t.value }),
447
447
  "helper-text": i(a)("inventory.unit.measurement.conversionHelper", {
448
448
  measurementSymbol: e.modelValue.measurements[_].name || " measurement unit",
449
- conversion: +i(Q)(e.modelValue.measurements[_].conversion),
449
+ conversion: +i(W)(e.modelValue.measurements[_].conversion),
450
450
  unitSymbol: r.value || "base unit"
451
451
  })
452
452
  }, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue", "rules", "step", "helper-text"])
@@ -469,7 +469,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
469
469
  },
470
470
  emits: ["update:show"],
471
471
  setup(S) {
472
- const c = S, g = O(), m = X(), { t: l } = Y(), a = re(c, "show"), d = re(c, "unit"), n = b(() => {
472
+ const c = S, g = O(), m = Z(), { t: l } = Y(), a = re(c, "show"), d = re(c, "unit"), n = b(() => {
473
473
  switch (c.mode) {
474
474
  case U.READ:
475
475
  return "";
@@ -531,7 +531,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
531
531
  var e, o;
532
532
  (o = (e = r.value) == null ? void 0 : e.validateInputs) == null || o.call(e);
533
533
  }
534
- function F() {
534
+ function $() {
535
535
  switch (c.mode) {
536
536
  case U.READ:
537
537
  return;
@@ -542,7 +542,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
542
542
  }
543
543
  }
544
544
  return (e, o) => {
545
- const V = $("FmButton"), R = $("FmSideSheet");
545
+ const V = E("FmButton"), R = E("FmSideSheet");
546
546
  return v(), T(R, {
547
547
  "model-value": i(a),
548
548
  "onUpdate:modelValue": o[3] || (o[3] = (C) => le(a) ? a.value = C : null),
@@ -575,7 +575,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
575
575
  "onUpdate:modelValue": o[0] || (o[0] = (C) => le(d) ? d.value = C : null),
576
576
  mode: e.mode,
577
577
  disabled: t.value,
578
- "onClick:submit": o[1] || (o[1] = (C) => F())
578
+ "onClick:submit": o[1] || (o[1] = (C) => $())
579
579
  }, null, 8, ["modelValue", "mode", "disabled"])
580
580
  ]),
581
581
  _: 1
@@ -586,15 +586,15 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
586
586
  __name: "UnitView",
587
587
  setup(S) {
588
588
  const c = O(), g = Ve(), m = Ue();
589
- ue(), X();
590
- const { t: l } = Y(), a = b(() => c.units), { createUnit: d, updateUnit: n } = W(), { unitDialogProps: p, unitViewLoading: r } = De(W()), { columnDefs: t } = Je();
589
+ ue(), Z();
590
+ const { t: l } = Y(), a = b(() => c.units), { createUnit: d, updateUnit: n } = X(), { unitDialogProps: p, unitViewLoading: r } = De(X()), { columnDefs: t } = Je();
591
591
  function u(M) {
592
592
  switch (M) {
593
593
  case "add":
594
594
  return m.isEnabled ? void 0 : d();
595
595
  }
596
596
  }
597
- const y = I(""), k = I(!1), F = b(() => k.value || r.value), { breakpoints: e } = Fe(), o = b(() => e.value.xs || e.value.sm), V = b(() => o.value ? 10 : 20), R = we(), C = b(() => [
597
+ const y = I(""), k = I(!1), $ = b(() => k.value || r.value), { breakpoints: e } = $e(), o = b(() => e.value.xs || e.value.sm), V = b(() => o.value ? 10 : 20), R = we(), C = b(() => [
598
598
  ...m.isEnabled ? [] : [
599
599
  {
600
600
  label: l("inventory.unit.create.title"),
@@ -605,7 +605,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
605
605
  ]
606
606
  ]);
607
607
  return (M, D) => {
608
- const B = $("FmTable");
608
+ const B = E("FmTable");
609
609
  return v(), T(Ce, {
610
610
  title: i(l)("inventory.unit.title"),
611
611
  actions: C.value,
@@ -631,7 +631,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
631
631
  "column-defs": i(t),
632
632
  "row-data": a.value,
633
633
  "search-value": y.value,
634
- loading: !i(g)._currentLocation || F.value,
634
+ loading: !i(g)._currentLocation || $.value,
635
635
  onRowClick: D[1] || (D[1] = (x) => i(n)(x.original)),
636
636
  "page-size": V.value
637
637
  }, {
@@ -641,12 +641,12 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ze
641
641
  onRowClick: i(n)
642
642
  }, {
643
643
  default: A((_) => {
644
- var E, P, L, N, ee, z, te, j, ne;
644
+ var F, P, L, N, ee, z, te, j, ne;
645
645
  return [
646
646
  s("div", it, [
647
647
  s("div", ut, [
648
- f(i(Ee), {
649
- render: (L = (P = (E = _.name) == null ? void 0 : E.column) == null ? void 0 : P.columnDef) == null ? void 0 : L.cell,
648
+ f(i(Fe), {
649
+ render: (L = (P = (F = _.name) == null ? void 0 : F.column) == null ? void 0 : P.columnDef) == null ? void 0 : L.cell,
650
650
  props: (ee = (N = _.name) == null ? void 0 : N.getContext) == null ? void 0 : ee.call(N)
651
651
  }, null, 8, ["render", "props"])
652
652
  ]),