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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{App-Du7DrI4b.js → App-DavuRdR4.js} +1 -1
  2. package/dist/{ApprovalView-CTZVmCbC.js → ApprovalView-DjDzZmVI.js} +2 -2
  3. package/dist/{BindingsDialog-DPvBW5cM.js → BindingsDialog-Ckbhr9x3.js} +2 -2
  4. package/dist/{BindingsPicker-DHjUZp_W.js → BindingsPicker-B63gIPVJ.js} +1 -1
  5. package/dist/{BindingsTable-D29VX7KG.js → BindingsTable-5w7_8JzF.js} +1 -1
  6. package/dist/{ClosingDraftView-D6_mQmyF.js → ClosingDraftView-BwV3uiYC.js} +2 -2
  7. package/dist/{ClosingTemplateView-DMConQNm.js → ClosingTemplateView-vaAj0Y-0.js} +1 -1
  8. package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-DuB-gluw.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-Dy1BXu1R.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ttr6ec9b.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZ_Q-3lU.js} +3 -3
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DLVeADwI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-M5pWGm8D.js} +1 -1
  11. package/dist/{IngredientGroupView-BZGkNkrt.js → IngredientGroupView-D_1gJl4X.js} +1 -1
  12. package/dist/{IngredientsView-V_vDYAho.js → IngredientsView-Xzt0_AP8.js} +3 -3
  13. package/dist/{IntegrationView-CK_4s6nJ.js → IntegrationView-BcF7Qhvw.js} +1 -1
  14. package/dist/{InventoryBindingForm-CAWQBqr1.js → InventoryBindingForm-Cm49VDtA.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BDWmhU7C.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-EJ0U2gdF.js} +3 -3
  16. package/dist/{InventoryBindingSummary-BBppQstd.js → InventoryBindingSummary-D821YZ-3.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-e54jzd1P.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6jGlkOx.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DKUl-kuR.js → PremiumBadge.vue_vue_type_script_setup_true_lang-TMYgOcbh.js} +1 -1
  19. package/dist/{PublishView-BzUykEd5.js → PublishView-CYdu5jl4.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-DiDSTpNu.js → PurchaseOrderPrintPreview-DiCTMEY4.js} +1 -1
  21. package/dist/{ReceiveRequestView-BWgm4e46.js → ReceiveRequestView-DGqs1rpr.js} +197 -197
  22. package/dist/{RecipeView-DmYWjO2j.js → RecipeView-k5yiAPop.js} +3 -3
  23. package/dist/{StockView--YVDLsgO.js → StockView-DX0RjayP.js} +7 -7
  24. package/dist/{SupplierView-DKISIdqs.js → SupplierView-De4_YCtR.js} +3 -3
  25. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CTy65dTx.js → TransferDetails.vue_vue_type_script_setup_true_lang-DhdMwHAA.js} +46 -46
  26. package/dist/{TransferTemplateView-KOeBENZz.js → TransferTemplateView-DEwJaqYB.js} +5 -5
  27. package/dist/{UnitView-CvUayQQ1.js → UnitView-DouWNXFf.js} +3 -3
  28. package/dist/{WarehouseView-IoiXm1I8.js → WarehouseView-RQN-XBeO.js} +1 -1
  29. package/dist/{app-CX6n1ion.js → app-Bmmin1VX.js} +663 -645
  30. package/dist/app.js +1 -1
  31. package/dist/{decimal-CWOfT2lu.js → decimal-CZhBTty7.js} +1 -1
  32. package/dist/{format-unit-display-9aWRoLgP.js → format-unit-display-CijRcRSo.js} +2 -2
  33. package/dist/{index-CCWsIAQX.js → index-DbE8p73U.js} +3 -3
  34. package/dist/{index-CBXvWfSg.js → index-DhAsCP14.js} +1 -1
  35. package/dist/{stock-C2QEA4Bf.js → stock-D5lxPBQG.js} +1 -1
  36. package/dist/stores/integration/netsuite.d.ts +5 -0
  37. package/dist/{supplier-DNuzB_6-.js → supplier-BU1WhNTR.js} +1 -1
  38. package/dist/{use-inventory-binding-dialog-D4We0HnY.js → use-inventory-binding-dialog-ZneYylve.js} +1 -1
  39. package/dist/{vue-i18n-D1f9MmwY.js → vue-i18n-BQNx5sCM.js} +321 -321
  40. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
- import { reactive as at, onMounted as Be, h as L, computed as q, defineComponent as pe, openBlock as S, createElementBlock as M, Fragment as ke, renderList as Ue, createElementVNode as o, toDisplayString as U, unref as e, resolveComponent as P, createVNode as d, withCtx as D, createCommentVNode as G, ref as N, createBlock as J, watch as _e, normalizeClass as W, normalizeStyle as ot, createTextVNode as Ee, nextTick as ct, mergeProps as Oe, isRef as Se, Teleport as mt } from "vue";
2
- import { b as Ne, $ as pt, m as Ge, j as ye, P as ft, a1 as ze, L as vt, ao as yt, A as Re, M as bt, n as lt, c as Ae, a8 as Le, G as ie, ap as gt, a as He, aq as _t, ar as kt, as as ht, H as Ct, u as je, at as xt, a0 as St, V as wt, au as Ft, E as nt, J as Dt, e as De, av as Ve, a2 as Je, z as $t, _ as Tt, B as Pt, O as We } from "./app-CX6n1ion.js";
3
- import { u as rt, a as It, b as Vt, _ as Rt, g as At } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CTy65dTx.js";
4
- import { _ as it, u as qt, i as Mt, e as Ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-DKUl-kuR.js";
1
+ import { reactive as at, onMounted as Be, h as L, computed as q, defineComponent as pe, openBlock as S, createElementBlock as M, Fragment as ke, renderList as Ue, createElementVNode as l, toDisplayString as U, unref as e, resolveComponent as P, createVNode as d, withCtx as F, createCommentVNode as G, ref as N, createBlock as J, watch as _e, normalizeClass as W, normalizeStyle as ot, createTextVNode as Ee, nextTick as ct, mergeProps as Oe, isRef as Se, Teleport as mt } from "vue";
2
+ import { b as Ne, $ as pt, m as Ge, j as ye, P as ft, a1 as ze, L as vt, ao as yt, A as Re, M as bt, n as lt, c as Ae, a8 as Le, G as ie, ap as gt, a as He, aq as _t, ar as kt, as as ht, H as Ct, u as je, at as xt, a0 as St, V as wt, au as Dt, E as nt, J as Ft, e as Fe, av as Ve, a2 as Je, z as $t, _ as Tt, B as Pt, O as We } from "./app-Bmmin1VX.js";
3
+ import { u as rt, a as It, b as Vt, _ as Rt, g as At } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DhdMwHAA.js";
4
+ import { _ as it, u as qt, i as Mt, e as Ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-TMYgOcbh.js";
5
5
  import { u as Et } from "./useTabStorage-BkIVScW_.js";
6
6
  import { useBreakpoints as Ye, components as ve, FmButtonVariant as Ot, useSnackbar as qe, useDialog as Bt, useProxiedModel as Nt } from "@feedmepos/ui-library";
7
- import { P as j, u as ut } from "./format-unit-display-9aWRoLgP.js";
8
- import { _ as zt, F as Lt, a as Xe, b as Ht } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DLVeADwI.js";
9
- import { c as re, u as jt, _ as Yt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ttr6ec9b.js";
7
+ import { P as j, u as ut } from "./format-unit-display-CijRcRSo.js";
8
+ import { _ as zt, F as Lt, a as Xe, b as Ht } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-M5pWGm8D.js";
9
+ import { c as re, u as jt, _ as Yt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZ_Q-3lU.js";
10
10
  import { useI18n as he } from "@feedmepos/mf-common";
11
- import { u as Ke } from "./supplier-DNuzB_6-.js";
11
+ import { u as Ke } from "./supplier-BU1WhNTR.js";
12
12
  import { _ as Kt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
13
- import { u as Qt } from "./vue-i18n-D1f9MmwY.js";
13
+ import { u as Qt } from "./vue-i18n-BQNx5sCM.js";
14
14
  import "./array-hChJVZLE.js";
15
15
  var Y = /* @__PURE__ */ ((m) => (m.Code = "Code", m.Name = "Name", m.Amount = "Amount", m.Cost = "Cost", m.TotalCost = "TotalCost", m.Delete = "Delete", m))(Y || {});
16
16
  const et = () => {
@@ -32,13 +32,13 @@ function Zt(m) {
32
32
  continue;
33
33
  const a = re(u.sku, u.quantity, u.measurement, {
34
34
  supplier: m.supplier
35
- }), l = u.totalCost ?? pt.reset();
36
- a ? n[u.sku._id] = a.amount !== l.amount || a.precision !== l.precision : n[u.sku._id] = !0;
35
+ }), o = u.totalCost ?? pt.reset();
36
+ a ? n[u.sku._id] = a.amount !== o.amount || a.precision !== o.precision : n[u.sku._id] = !0;
37
37
  }
38
38
  });
39
39
  function f(u) {
40
- var l, v, k, h, _, x, F;
41
- return !!(((v = (l = u.defaultCost) == null ? void 0 : l.costPerUnit) == null ? void 0 : v.amount) ?? ((F = (x = (_ = (h = (k = m.supplier) == null ? void 0 : k.supplyItems) == null ? void 0 : h.find((V) => V.skuId === u._id)) == null ? void 0 : _.defaultCost) == null ? void 0 : x.costPerUnit) == null ? void 0 : F.amount));
40
+ var o, v, k, h, _, x, D;
41
+ return !!(((v = (o = u.defaultCost) == null ? void 0 : o.costPerUnit) == null ? void 0 : v.amount) ?? ((D = (x = (_ = (h = (k = m.supplier) == null ? void 0 : k.supplyItems) == null ? void 0 : h.find((V) => V.skuId === u._id)) == null ? void 0 : _.defaultCost) == null ? void 0 : x.costPerUnit) == null ? void 0 : D.amount));
42
42
  }
43
43
  const g = [
44
44
  {
@@ -65,10 +65,10 @@ function Zt(m) {
65
65
  )
66
66
  ) : L(ve.FmTextField, {
67
67
  modelValue: a.code,
68
- "onUpdate:modelValue": (l) => {
68
+ "onUpdate:modelValue": (o) => {
69
69
  m.updateItem({
70
70
  ...a,
71
- code: l
71
+ code: o
72
72
  });
73
73
  },
74
74
  key: a.sku._id,
@@ -101,10 +101,10 @@ function Zt(m) {
101
101
  )
102
102
  ) : L(ve.FmTextField, {
103
103
  modelValue: a.name,
104
- "onUpdate:modelValue": (l) => {
104
+ "onUpdate:modelValue": (o) => {
105
105
  m.updateItem({
106
106
  ...a,
107
- name: l
107
+ name: o
108
108
  });
109
109
  },
110
110
  key: a.sku._id,
@@ -120,7 +120,7 @@ function Zt(m) {
120
120
  minSize: 200,
121
121
  cell(u) {
122
122
  var v, k, h;
123
- const a = u.row.original, l = (h = (k = (v = m.template) == null ? void 0 : v.purchaseOrder) == null ? void 0 : k.items) == null ? void 0 : h.find(
123
+ const a = u.row.original, o = (h = (k = (v = m.template) == null ? void 0 : v.purchaseOrder) == null ? void 0 : k.items) == null ? void 0 : h.find(
124
124
  (_) => _.sku._id === a.sku._id
125
125
  );
126
126
  return L(zt, {
@@ -146,22 +146,22 @@ function Zt(m) {
146
146
  manualTotalCost: n[a.sku._id] ? x.totalCost : void 0
147
147
  })), m.updateItem(x);
148
148
  },
149
- stepper: l == null ? void 0 : l.quantityStep,
150
- disableUnit: !!l,
149
+ stepper: o == null ? void 0 : o.quantityStep,
150
+ disableUnit: !!o,
151
151
  disabled: m.disabled,
152
152
  rules: [
153
153
  Lt(
154
154
  +ye(
155
- (l == null ? void 0 : l.minimumQuantity) ?? {
155
+ (o != null && o.minimumQuantity && (o == null ? void 0 : o.minimumQuantity.amount) > 0 ? o == null ? void 0 : o.minimumQuantity : void 0) ?? {
156
156
  amount: 1,
157
157
  precision: ft(a.sku.unit, a.measurement)
158
158
  }
159
159
  )
160
160
  ),
161
- l != null && l.maximumQuantity ? Xe(
162
- +ye(l == null ? void 0 : l.maximumQuantity)
161
+ o != null && o.maximumQuantity ? Xe(
162
+ +ye(o == null ? void 0 : o.maximumQuantity)
163
163
  ) : Xe(1 / 0),
164
- ...l != null && l.quantityStep ? [Ht(l.quantityStep)] : []
164
+ ...o != null && o.quantityStep ? [Ht(o.quantityStep)] : []
165
165
  ],
166
166
  applyDefaultRules: !0
167
167
  });
@@ -183,8 +183,8 @@ function Zt(m) {
183
183
  header: et,
184
184
  size: 180,
185
185
  cell(u) {
186
- const a = u.row.original, l = f(a.sku), v = i.value.xs || i.value.sm;
187
- return !n[a.sku._id] && l ? L(
186
+ const a = u.row.original, o = f(a.sku), v = i.value.xs || i.value.sm;
187
+ return !n[a.sku._id] && o ? L(
188
188
  "div",
189
189
  {
190
190
  class: [
@@ -268,7 +268,7 @@ function Zt(m) {
268
268
  ) : null;
269
269
  },
270
270
  append() {
271
- return l ? L(ve.FmButton, {
271
+ return o ? L(ve.FmButton, {
272
272
  prependIcon: "close",
273
273
  variant: "tertiary",
274
274
  disabled: m.disabled,
@@ -339,24 +339,24 @@ const Gt = { class: "flex flex-col gap-8 px-16 xs:px-4 sm:px-4 py-4 items-center
339
339
  key: t,
340
340
  class: "flex items-center gap-12 xs:gap-4 xs:flex-wrap w-full"
341
341
  }, [
342
- o("div", Jt, U((f = n(t)) == null ? void 0 : f.name), 1),
343
- o("div", Wt, [
342
+ l("div", Jt, U((f = n(t)) == null ? void 0 : f.name), 1),
343
+ l("div", Wt, [
344
344
  (S(!0), M(ke, null, Ue(i.prices[t].slice(0, 3), (g) => {
345
345
  var w;
346
346
  return S(), M("div", {
347
347
  key: g.date,
348
348
  class: "flex flex-col w-[150px] xs:flex-1 text-ellipsis cursor-pointer"
349
349
  }, [
350
- o("div", Xt, [
351
- o("span", null, U(g.totalCost ? e(ze)(g.totalCost) : "No data"), 1),
352
- b[0] || (b[0] = o("span", { class: "text-fm-color-typo-secondary" }, "/", -1)),
353
- o("span", null, U(e(ye)(g.totalUnit, !1)), 1),
354
- o("span", null, U(((w = g.measurement) == null ? void 0 : w.abbrev) ?? g.unit.abbrev), 1)
350
+ l("div", Xt, [
351
+ l("span", null, U(g.totalCost ? e(ze)(g.totalCost) : "No data"), 1),
352
+ b[0] || (b[0] = l("span", { class: "text-fm-color-typo-secondary" }, "/", -1)),
353
+ l("span", null, U(e(ye)(g.totalUnit, !1)), 1),
354
+ l("span", null, U(((w = g.measurement) == null ? void 0 : w.abbrev) ?? g.unit.abbrev), 1)
355
355
  ]),
356
- o("div", es, [
357
- o("span", null, "(#" + U(g.seqNumber) + ")", 1),
358
- b[1] || (b[1] = o("span", null, U(" "), -1)),
359
- o("span", null, U(e(Le)(new Date(g.date))), 1)
356
+ l("div", es, [
357
+ l("span", null, "(#" + U(g.seqNumber) + ")", 1),
358
+ b[1] || (b[1] = l("span", null, U(" "), -1)),
359
+ l("span", null, U(e(Le)(new Date(g.date))), 1)
360
360
  ])
361
361
  ]);
362
362
  }), 128))
@@ -379,45 +379,45 @@ const Gt = { class: "flex flex-col gap-8 px-16 xs:px-4 sm:px-4 py-4 items-center
379
379
  setup(m) {
380
380
  const { t: y } = he();
381
381
  return (n, i) => {
382
- var f, g, w, u, a, l, v, k, h, _, x, F, V, z, ue, T, $, O, R, I, B, K, Q, p, c, H, oe;
382
+ var f, g, w, u, a, o, v, k, h, _, x, D, V, z, ue, T, $, O, R, I, B, K, Q, p, c, H, oe;
383
383
  const b = P("FmLabel"), t = P("FmSpacer");
384
384
  return S(), M("div", ts, [
385
- o("div", ss, [
386
- o("div", as, [
387
- o("span", os, " (" + U(n.row.original.sku.code) + ") ", 1),
388
- o("span", ls, U(n.row.original.sku.name), 1)
385
+ l("div", ss, [
386
+ l("div", as, [
387
+ l("span", os, " (" + U(n.row.original.sku.code) + ") ", 1),
388
+ l("span", ls, U(n.row.original.sku.name), 1)
389
389
  ]),
390
- o("div", null, [
390
+ l("div", null, [
391
391
  d(e(ie), {
392
392
  render: (w = (g = (f = n.cellByColId.Delete) == null ? void 0 : f.column) == null ? void 0 : g.columnDef) == null ? void 0 : w.cell,
393
393
  props: (a = (u = n.cellByColId.Delete) == null ? void 0 : u.getContext) == null ? void 0 : a.call(u)
394
394
  }, null, 8, ["render", "props"])
395
395
  ])
396
396
  ]),
397
- o("div", ns, [
398
- o("div", rs, [
397
+ l("div", ns, [
398
+ l("div", rs, [
399
399
  d(b, {
400
400
  label: e(y)(`inventory.transfer.form.items.table.${e(Y).Code}`)
401
401
  }, null, 8, ["label"]),
402
402
  d(e(ie), {
403
- render: (k = (v = (l = n.cellByColId[e(Y).Code]) == null ? void 0 : l.column) == null ? void 0 : v.columnDef) == null ? void 0 : k.cell,
403
+ render: (k = (v = (o = n.cellByColId[e(Y).Code]) == null ? void 0 : o.column) == null ? void 0 : v.columnDef) == null ? void 0 : k.cell,
404
404
  props: (_ = (h = n.cellByColId[e(Y).Code]) == null ? void 0 : h.getContext) == null ? void 0 : _.call(h)
405
405
  }, null, 8, ["render", "props"]),
406
- i[0] || (i[0] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
406
+ i[0] || (i[0] = l("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
407
407
  ]),
408
- o("div", is, [
408
+ l("div", is, [
409
409
  d(b, {
410
410
  label: e(y)(`inventory.transfer.form.items.table.${e(Y).Name}`)
411
411
  }, null, 8, ["label"]),
412
412
  d(e(ie), {
413
- render: (V = (F = (x = n.cellByColId[e(Y).Name]) == null ? void 0 : x.column) == null ? void 0 : F.columnDef) == null ? void 0 : V.cell,
413
+ render: (V = (D = (x = n.cellByColId[e(Y).Name]) == null ? void 0 : x.column) == null ? void 0 : D.columnDef) == null ? void 0 : V.cell,
414
414
  props: (ue = (z = n.cellByColId[e(Y).Name]) == null ? void 0 : z.getContext) == null ? void 0 : ue.call(z)
415
415
  }, null, 8, ["render", "props"]),
416
- i[1] || (i[1] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
416
+ i[1] || (i[1] = l("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
417
417
  ])
418
418
  ]),
419
- o("div", us, [
420
- o("div", ds, [
419
+ l("div", us, [
420
+ l("div", ds, [
421
421
  d(b, {
422
422
  label: e(y)(`inventory.transfer.form.items.table.${e(Y).Amount}`)
423
423
  }, null, 8, ["label"]),
@@ -425,11 +425,11 @@ const Gt = { class: "flex flex-col gap-8 px-16 xs:px-4 sm:px-4 py-4 items-center
425
425
  render: (O = ($ = (T = n.cellByColId[e(Y).Amount]) == null ? void 0 : T.column) == null ? void 0 : $.columnDef) == null ? void 0 : O.cell,
426
426
  props: (I = (R = n.cellByColId[e(Y).Amount]) == null ? void 0 : R.getContext) == null ? void 0 : I.call(R)
427
427
  }, null, 8, ["render", "props"]),
428
- i[2] || (i[2] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
428
+ i[2] || (i[2] = l("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
429
429
  ]),
430
430
  n.cellByColId[e(Y).Cost] ? (S(), M("div", cs, [
431
431
  d(it, { "z-index": 50 }, {
432
- default: D(() => [
432
+ default: F(() => [
433
433
  d(b, {
434
434
  label: e(y)(`inventory.transfer.form.items.table.${e(Y).Cost}2`)
435
435
  }, null, 8, ["label"])
@@ -440,7 +440,7 @@ const Gt = { class: "flex flex-col gap-8 px-16 xs:px-4 sm:px-4 py-4 items-center
440
440
  render: (Q = (K = (B = n.cellByColId[e(Y).Cost]) == null ? void 0 : B.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
441
441
  props: (c = (p = n.cellByColId[e(Y).Cost]) == null ? void 0 : p.getContext) == null ? void 0 : c.call(p)
442
442
  }, null, 8, ["render", "props"]),
443
- i[3] || (i[3] = o("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
443
+ i[3] || (i[3] = l("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
444
444
  ])) : G("", !0)
445
445
  ]),
446
446
  n.showComparePrice && Object.keys(n.comparePriceBySku[(H = n.row.original.sku) == null ? void 0 : H._id] ?? {}).length > 0 ? (S(), M(ke, { key: 0 }, [
@@ -511,22 +511,22 @@ const fs = {
511
511
  },
512
512
  setup(m) {
513
513
  return (y, n) => (S(), M("svg", fs, [
514
- o("path", {
514
+ l("path", {
515
515
  d: "M7.6 7.6C8.17076 6.94229 8.5 5.5 8.5 5.5C8.5 5.5 8.81356 6.87361 9.35714 7.5C9.92948 8.15953 11.5 8.5 11.5 8.5C11.5 8.5 9.92948 8.69761 9.35714 9.35714C8.81356 9.98354 8.5 11.5 8.5 11.5C8.5 11.5 8.32076 10.1888 7.75 9.59091C7.14905 8.96136 5.5 8.5 5.5 8.5C5.5 8.5 6.99905 8.29251 7.6 7.6Z",
516
516
  fill: m.color
517
517
  }, null, 8, vs),
518
- o("path", {
518
+ l("path", {
519
519
  d: "M12.2 12.2C13.3415 10.8846 14 8 14 8C14 8 14.6271 10.7472 15.7143 12C16.859 13.3191 20 14 20 14C20 14 16.859 14.3952 15.7143 15.7143C14.6271 16.9671 14 20 14 20C14 20 13.6415 17.3777 12.5 16.1818C11.2981 14.9227 8 14 8 14C8 14 10.9981 13.585 12.2 12.2Z",
520
520
  fill: m.color
521
521
  }, null, 8, ys),
522
- o("path", {
522
+ l("path", {
523
523
  d: "M7.6 7.6C8.17076 6.94229 8.5 5.5 8.5 5.5C8.5 5.5 8.81356 6.87361 9.35714 7.5C9.92948 8.15953 11.5 8.5 11.5 8.5C11.5 8.5 9.92948 8.69761 9.35714 9.35714C8.81356 9.98354 8.5 11.5 8.5 11.5C8.5 11.5 8.32076 10.1888 7.75 9.59091C7.14905 8.96136 5.5 8.5 5.5 8.5C5.5 8.5 6.99905 8.29251 7.6 7.6Z",
524
524
  stroke: m.color,
525
525
  "stroke-width": "1.5",
526
526
  "stroke-linecap": "round",
527
527
  "stroke-linejoin": "round"
528
528
  }, null, 8, bs),
529
- o("path", {
529
+ l("path", {
530
530
  d: "M12.2 12.2C13.3415 10.8846 14 8 14 8C14 8 14.6271 10.7472 15.7143 12C16.859 13.3191 20 14 20 14C20 14 16.859 14.3952 15.7143 15.7143C14.6271 16.9671 14 20 14 20C14 20 13.6415 17.3777 12.5 16.1818C11.2981 14.9227 8 14 8 14C8 14 10.9981 13.585 12.2 12.2Z",
531
531
  stroke: m.color,
532
532
  "stroke-width": "1.5",
@@ -535,7 +535,7 @@ const fs = {
535
535
  }, null, 8, gs)
536
536
  ]));
537
537
  }
538
- }), ks = { class: "flex gap-8 items-center" }, hs = { class: "fm-typo-en-body-lg-600 line-clamp-1" }, Cs = { class: "w-[343px] px-24 py-16 rounded-lg shadow-light-300 flex flex-col gap-[20px]" }, xs = { class: "flex items-center w-full" }, Ss = { class: "flex-1" }, ws = { class: "fm-typo-en-title-sm-800" }, Fs = { class: "flex items-start gap-8" }, Ds = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, $s = { class: "flex gap-1" }, tt = /* @__PURE__ */ pe({
538
+ }), ks = { class: "flex gap-8 items-center" }, hs = { class: "fm-typo-en-body-lg-600 line-clamp-1" }, Cs = { class: "w-[343px] px-24 py-16 rounded-lg shadow-light-300 flex flex-col gap-[20px]" }, xs = { class: "flex items-center w-full" }, Ss = { class: "flex-1" }, ws = { class: "fm-typo-en-title-sm-800" }, Ds = { class: "flex items-start gap-8" }, Fs = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, $s = { class: "flex gap-1" }, tt = /* @__PURE__ */ pe({
539
539
  __name: "ForecastStock",
540
540
  props: {
541
541
  disabled: { type: Boolean }
@@ -555,9 +555,9 @@ const fs = {
555
555
  });
556
556
  return;
557
557
  }
558
- const l = t.purchaseOrderForecast.skus.reduce((v, k) => {
559
- const h = g.skus.find((F) => F._id === k.id);
560
- if (v.find((F) => F.sku._id === k.id) || !h)
558
+ const o = t.purchaseOrderForecast.skus.reduce((v, k) => {
559
+ const h = g.skus.find((D) => D._id === k.id);
560
+ if (v.find((D) => D.sku._id === k.id) || !h)
561
561
  return v;
562
562
  const x = {
563
563
  sku: h,
@@ -570,17 +570,17 @@ const fs = {
570
570
  };
571
571
  return v.push(x), v;
572
572
  }, a);
573
- n("update:poItems", l);
573
+ n("update:poItems", o);
574
574
  }
575
- return (a, l) => {
575
+ return (a, o) => {
576
576
  const v = P("FmButton"), k = P("FmIcon"), h = P("FmStepperField"), _ = P("FmPopover");
577
577
  return S(), J(_, {
578
578
  disabled: a.disabled,
579
579
  class: "flex",
580
580
  "show-popover": i.value,
581
- onPopoverChanged: l[3] || (l[3] = (x) => i.value = x)
581
+ onPopoverChanged: o[3] || (o[3] = (x) => i.value = x)
582
582
  }, {
583
- "popover-button": D(() => [
583
+ "popover-button": F(() => [
584
584
  d(v, {
585
585
  label: "unused",
586
586
  variant: "secondary",
@@ -589,25 +589,25 @@ const fs = {
589
589
  "border-color": a.disabled ? "disabled" : "primary",
590
590
  disabled: a.disabled
591
591
  }, {
592
- default: D(() => [
593
- o("div", ks, [
592
+ default: F(() => [
593
+ l("div", ks, [
594
594
  d(_s, {
595
595
  size: 24,
596
596
  color: a.disabled ? "#c7c7cc" : "#ff7823"
597
597
  }, null, 8, ["color"]),
598
- o("div", hs, U(e(w)("inventory.transfer.form.items.forecastStock.title")), 1)
598
+ l("div", hs, U(e(w)("inventory.transfer.form.items.forecastStock.title")), 1)
599
599
  ])
600
600
  ]),
601
601
  _: 1
602
602
  }, 8, ["text-color", "border-color", "disabled"])
603
603
  ]),
604
- default: D(() => [
605
- o("div", Cs, [
606
- o("div", xs, [
607
- o("div", Ss, [
604
+ default: F(() => [
605
+ l("div", Cs, [
606
+ l("div", xs, [
607
+ l("div", Ss, [
608
608
  d(Kt, { "z-index": 99 }, {
609
- default: D(() => [
610
- o("p", ws, U(e(w)("inventory.transfer.form.items.forecastStock.title")), 1)
609
+ default: F(() => [
610
+ l("p", ws, U(e(w)("inventory.transfer.form.items.forecastStock.title")), 1)
611
611
  ]),
612
612
  _: 1
613
613
  })
@@ -616,33 +616,33 @@ const fs = {
616
616
  icon: "close",
617
617
  size: "md",
618
618
  variant: "tertiary",
619
- onClick: l[0] || (l[0] = (x) => i.value = !1)
619
+ onClick: o[0] || (o[0] = (x) => i.value = !1)
620
620
  })
621
621
  ]),
622
622
  d(h, {
623
623
  modelValue: b.value,
624
- "onUpdate:modelValue": l[1] || (l[1] = (x) => b.value = x),
624
+ "onUpdate:modelValue": o[1] || (o[1] = (x) => b.value = x),
625
625
  label: e(w)("inventory.transfer.form.items.forecastStock.days"),
626
626
  rules: [e(Re)(1)]
627
627
  }, {
628
- "helper-text": D(() => [
629
- o("div", Fs, [
628
+ "helper-text": F(() => [
629
+ l("div", Ds, [
630
630
  d(k, {
631
631
  name: "warning",
632
632
  size: "sm",
633
633
  class: "text-fm-color-system-warning-300"
634
634
  }),
635
- o("div", Ds, U(e(w)("inventory.transfer.form.items.forecastStock.replace")), 1)
635
+ l("div", Fs, U(e(w)("inventory.transfer.form.items.forecastStock.replace")), 1)
636
636
  ])
637
637
  ]),
638
638
  _: 1
639
639
  }, 8, ["modelValue", "label", "rules"]),
640
- o("div", $s, [
641
- l[4] || (l[4] = o("div", { class: "grow" }, null, -1)),
640
+ l("div", $s, [
641
+ o[4] || (o[4] = l("div", { class: "grow" }, null, -1)),
642
642
  d(v, {
643
643
  label: e(w)("common.cancel"),
644
644
  variant: "tertiary",
645
- onClick: l[2] || (l[2] = (x) => i.value = !1)
645
+ onClick: o[2] || (o[2] = (x) => i.value = !1)
646
646
  }, null, 8, ["label"]),
647
647
  d(v, {
648
648
  label: e(w)("inventory.transfer.form.items.forecastStock.generate"),
@@ -666,25 +666,25 @@ function Ts() {
666
666
  async function i() {
667
667
  try {
668
668
  const { startDate: f, endDate: g } = _t(6), a = (await y.getPurchaseOrders({ start: f, end: g })).filter(
669
- (l) => {
669
+ (o) => {
670
670
  var v, k;
671
- return l.status === kt.enum.COMPLETE && ((v = l.supplier) == null ? void 0 : v.internal) !== "warehouse" && ((k = l.supplier) == null ? void 0 : k.internal) !== "restaurant";
671
+ return o.status === kt.enum.COMPLETE && ((v = o.supplier) == null ? void 0 : v.internal) !== "warehouse" && ((k = o.supplier) == null ? void 0 : k.internal) !== "restaurant";
672
672
  }
673
- ).reduce((l, v) => {
673
+ ).reduce((o, v) => {
674
674
  const k = new Date(ht(v._id)), h = v.supplier._id;
675
675
  for (const _ of v.items) {
676
676
  if (!_.totalCost) continue;
677
- const x = l[_.sku._id] ?? {}, F = x[h] ?? [];
678
- F.push({
677
+ const x = o[_.sku._id] ?? {}, D = x[h] ?? [];
678
+ D.push({
679
679
  date: k.toISOString(),
680
680
  totalUnit: _.quantity,
681
681
  totalCost: _.totalCost,
682
682
  unit: _.sku.unit,
683
683
  measurement: _.measurement,
684
684
  seqNumber: v.seqNumber
685
- }), x[h] = F, l[_.sku._id] = x;
685
+ }), x[h] = D, o[_.sku._id] = x;
686
686
  }
687
- return l;
687
+ return o;
688
688
  }, {});
689
689
  t.value = a;
690
690
  } catch {
@@ -715,7 +715,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
715
715
  return (n, i) => {
716
716
  var b, t;
717
717
  return S(), M(ke, null, [
718
- o("tr", {
718
+ l("tr", {
719
719
  class: W(["border-b border-fm-color-neutral-gray-100 hover:bg-fm-color-opacity-sm", {
720
720
  "bg-fm-color-neutral-gray-100": n.row.getIsSelected()
721
721
  }])
@@ -734,7 +734,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
734
734
  textAlign: ((a = y(f)) == null ? void 0 : a.textAlign) ?? "left"
735
735
  })
736
736
  }, [
737
- o("span", Ps, [
737
+ l("span", Ps, [
738
738
  d(e(ie), {
739
739
  render: f.column.columnDef.cell,
740
740
  props: f.getContext()
@@ -744,7 +744,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
744
744
  }), 128))
745
745
  ], 2),
746
746
  n.showComparePrice && Object.keys(n.comparePriceBySku[(b = n.row.original.sku) == null ? void 0 : b._id] ?? {}).length > 0 ? (S(), M("tr", Is, [
747
- o("td", {
747
+ l("td", {
748
748
  colspan: n.row.getVisibleCells().length
749
749
  }, [
750
750
  d(dt, {
@@ -775,7 +775,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
775
775
  setup(m, { emit: y }) {
776
776
  const n = Ne(), i = m, b = y, { t } = Qt(), f = N(!1), g = N();
777
777
  Be(() => {
778
- var l, v, k, h;
778
+ var o, v, k, h;
779
779
  let a = {
780
780
  id: "",
781
781
  subsidiary: { id: "", name: "" },
@@ -800,7 +800,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
800
800
  name: _.name
801
801
  }
802
802
  };
803
- const x = n.getAvailableItems(_.id), F = i.items.filter((V) => {
803
+ const x = n.getAvailableItems(_.id), D = i.items.filter((V) => {
804
804
  if (V.measurement != null) {
805
805
  const z = n.getAvailableMeasurements(
806
806
  V.sku._id,
@@ -811,51 +811,51 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
811
811
  return x.includes(V.sku._id);
812
812
  }).map((V) => V.sku._id);
813
813
  i.onChange(
814
- i.items.filter((V) => F.includes(V.sku._id)),
814
+ i.items.filter((V) => D.includes(V.sku._id)),
815
815
  a
816
816
  );
817
817
  } finally {
818
818
  i.supplier.internal ? g.value = n.getNetSuiteLocation(
819
819
  `${i.supplier.internal}_${i.supplier._id}`
820
820
  ) : g.value = n.getNetSuiteVendor(i.supplier._id);
821
- const _ = i.supplier.internal ? n.getLocationSubsidiary((l = g.value) == null ? void 0 : l.netSuiteId).id : (v = g.value) == null ? void 0 : v.subsidiaryId, x = i.supplier.internal ? (k = n.currentLocationSubsidiary()) == null ? void 0 : k.id : (h = n.currentVendorSubsidiary(i.supplier._id)) == null ? void 0 : h.id;
821
+ const _ = i.supplier.internal ? n.getLocationSubsidiary((o = g.value) == null ? void 0 : o.netSuiteId).id : (v = g.value) == null ? void 0 : v.subsidiaryId, x = i.supplier.internal ? (k = n.currentLocationSubsidiary()) == null ? void 0 : k.id : (h = n.currentVendorSubsidiary(i.supplier._id)) == null ? void 0 : h.id;
822
822
  !n.isEnabled || _ && n.isEnabled && _ == x ? b("netsuite:ready", a) : f.value = !0;
823
823
  }
824
824
  });
825
825
  const w = q(
826
826
  () => i.supplier.internal ? n.currentLocationSubsidiary() : n.currentVendorSubsidiary(i.supplier._id)
827
827
  ), u = q(() => {
828
- var a, l;
828
+ var a, o;
829
829
  return g.value == null ? `Cannot find the NetSuite location for "${i.supplier.name}"` : `The subsidiary of the request
830
- location is ${(l = n.getLocationSubsidiary((a = g.value) == null ? void 0 : a.netSuiteId)) == null ? void 0 : l.fullName}`;
830
+ location is ${(o = n.getLocationSubsidiary((a = g.value) == null ? void 0 : a.netSuiteId)) == null ? void 0 : o.fullName}`;
831
831
  });
832
- return (a, l) => {
832
+ return (a, o) => {
833
833
  const v = P("FmLabel"), k = P("FmIcon"), h = P("FmField"), _ = P("FmTooltip");
834
834
  return e(n).isEnabled && i.required ? (S(), M("div", As, [
835
835
  d(v, {
836
836
  label: `NetSuite ${e(t)("inventory.transfer.form.netsuite.subsidiary")}`
837
837
  }, null, 8, ["label"]),
838
- o("div", qs, [
838
+ l("div", qs, [
839
839
  d(_, {
840
840
  "z-index": 51,
841
841
  placement: "left",
842
842
  disabled: a.disabled
843
843
  }, {
844
- content: D(() => l[0] || (l[0] = [
844
+ content: F(() => o[0] || (o[0] = [
845
845
  Ee("This field is locked and based on the location of the request.")
846
846
  ])),
847
- default: D(() => [
847
+ default: F(() => [
848
848
  d(h, null, {
849
- default: D(() => {
849
+ default: F(() => {
850
850
  var x;
851
851
  return [
852
- o("div", Ms, [
852
+ l("div", Ms, [
853
853
  d(k, {
854
854
  name: "lock_outline",
855
855
  size: "sm",
856
856
  color: a.disabled ? "neutral-gray-200" : "neutral-gray-400"
857
857
  }, null, 8, ["color"]),
858
- o("div", {
858
+ l("div", {
859
859
  class: W([a.disabled ? "text-fm-color-typo-disabled" : ""])
860
860
  }, U((x = w.value) == null ? void 0 : x.fullName), 3)
861
861
  ])
@@ -892,15 +892,15 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
892
892
  },
893
893
  emits: ["validation-success", "form:ready"],
894
894
  setup(m, { expose: y, emit: n }) {
895
- const i = m, b = n, t = Ct(), { t: f } = he(), g = je(), w = He(), u = Ne(), a = Ke(), l = Ae(), v = ut(), { breakpoints: k } = Ye(), h = q(() => k.value.xs || k.value.sm), _ = at({
895
+ const i = m, b = n, t = Ct(), { t: f } = he(), g = je(), w = He(), u = Ne(), a = Ke(), o = Ae(), v = ut(), { breakpoints: k } = Ye(), h = q(() => k.value.xs || k.value.sm), _ = at({
896
896
  value: !1
897
- }), x = N(!1), F = q(
897
+ }), x = N(!1), D = q(
898
898
  () => {
899
899
  var s;
900
900
  return ((s = i.modelValue) == null ? void 0 : s.templateDoc) ?? v.templates.find((r) => r._id === t.template);
901
901
  }
902
902
  ), V = q(() => t.status === "DRAFT" || !t._rev);
903
- _e(F, (s) => {
903
+ _e(D, (s) => {
904
904
  s && V.value && (t.supplier = (s == null ? void 0 : s.purchaseOrder.supplier) ?? t.supplier);
905
905
  }), Be(() => {
906
906
  var s;
@@ -908,7 +908,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
908
908
  if (!t.template) return;
909
909
  if (!t.items.length) {
910
910
  let r = [];
911
- (s = F.value) != null && s.purchaseOrder.items && (r = F.value.purchaseOrder.items.filter((E) => {
911
+ (s = D.value) != null && s.purchaseOrder.items && (r = D.value.purchaseOrder.items.filter((E) => {
912
912
  var Z;
913
913
  return ((Z = E.quantity) == null ? void 0 : Z.amount) != 0;
914
914
  })), t.items = r;
@@ -949,7 +949,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
949
949
  return (s = i.modelValue) == null ? void 0 : s.template;
950
950
  },
951
951
  (s) => {
952
- l.mustUsePoTemplate && !s && ct(() => {
952
+ o.mustUsePoTemplate && !s && ct(() => {
953
953
  var r, E;
954
954
  t.supplier = ((E = (r = T.locationOptionsTypeTransfer.value) == null ? void 0 : r.filter(
955
955
  (Z) => Z.internal === "restaurant"
@@ -960,7 +960,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
960
960
  );
961
961
  const O = q(() => {
962
962
  let s = T.transferLocationOptions.value;
963
- return l.mustUsePoTemplate && !t.template && (s = s.filter((r) => {
963
+ return o.mustUsePoTemplate && !t.template && (s = s.filter((r) => {
964
964
  var E;
965
965
  return (E = r.sublabel) == null ? void 0 : E.startsWith("restaurant");
966
966
  })), s;
@@ -1017,7 +1017,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1017
1017
  return $.value;
1018
1018
  },
1019
1019
  get template() {
1020
- return F.value;
1020
+ return D.value;
1021
1021
  },
1022
1022
  get disabled() {
1023
1023
  return i.disabled;
@@ -1028,9 +1028,9 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1028
1028
  });
1029
1029
  function Te() {
1030
1030
  var ae, fe, xe, Ie, we;
1031
- const s = new Set((xe = (fe = (ae = F.value) == null ? void 0 : ae.purchaseOrder) == null ? void 0 : fe.items) == null ? void 0 : xe.map((A) => A.sku._id)), r = u.isEnabled ? u.getAvailableItems((we = (Ie = t.netSuite) == null ? void 0 : Ie.subsidiary) == null ? void 0 : we.id) : [], E = s.size ? w.skus.filter((A) => s.has(A._id)) : w.skus, Z = u.isEnabled ? E.filter((A) => {
1031
+ const s = new Set((xe = (fe = (ae = D.value) == null ? void 0 : ae.purchaseOrder) == null ? void 0 : fe.items) == null ? void 0 : xe.map((A) => A.sku._id)), r = u.isEnabled ? u.getAvailableItems((we = (Ie = t.netSuite) == null ? void 0 : Ie.subsidiary) == null ? void 0 : we.id) : [], E = s.size ? w.skus.filter((A) => s.has(A._id)) : w.skus, Z = u.isEnabled ? E.filter((A) => {
1032
1032
  var le, te, ce, ne;
1033
- const ee = (te = (le = F.value) == null ? void 0 : le.purchaseOrder) == null ? void 0 : te.items.find(
1033
+ const ee = (te = (le = D.value) == null ? void 0 : le.purchaseOrder) == null ? void 0 : te.items.find(
1034
1034
  (me) => me.sku._id === A._id
1035
1035
  );
1036
1036
  if (ee != null && ee.measurement != null) {
@@ -1055,7 +1055,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1055
1055
  ue.open({
1056
1056
  title: f("inventory.transfer.form.items.selectItem"),
1057
1057
  closeButton: !0,
1058
- contentComponent: Dt,
1058
+ contentComponent: Ft,
1059
1059
  contentComponentProps: {
1060
1060
  modelValue: be,
1061
1061
  items: de,
@@ -1072,11 +1072,11 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1072
1072
  }
1073
1073
  }).onPrimary((A) => {
1074
1074
  const ee = t.items ?? [], le = A.map((te) => {
1075
- var me, Fe;
1075
+ var me, De;
1076
1076
  const ce = ee.find((ge) => ge.sku._id === te._id);
1077
1077
  if (ce)
1078
1078
  return ce;
1079
- const ne = ((Fe = (me = F.value) == null ? void 0 : me.purchaseOrder.items) == null ? void 0 : Fe.find(
1079
+ const ne = ((De = (me = D.value) == null ? void 0 : me.purchaseOrder.items) == null ? void 0 : De.find(
1080
1080
  (ge) => ge.sku._id === te._id
1081
1081
  )) ?? {
1082
1082
  sku: te,
@@ -1104,7 +1104,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1104
1104
  }
1105
1105
  const Pe = q(() => {
1106
1106
  const s = [];
1107
- return (!l.mustUsePoTemplate || l.mustUsePoTemplate && t.template) && s.push({
1107
+ return (!o.mustUsePoTemplate || o.mustUsePoTemplate && t.template) && s.push({
1108
1108
  label: f("inventory.transfer.form.type.purchase"),
1109
1109
  value: j.PURCHASE
1110
1110
  }), s.push({
@@ -1113,14 +1113,14 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1113
1113
  }), s;
1114
1114
  });
1115
1115
  return (s, r) => {
1116
- var me, Fe;
1116
+ var me, De;
1117
1117
  const E = P("FmChip"), Z = P("FmLabel"), de = P("FmIcon"), be = P("FmField"), ae = P("FmTooltip"), fe = P("FmSelect"), xe = P("FmTextField"), Ie = P("FmTextarea"), we = P("FmSwitch"), A = P("FmDatePicker"), ee = P("FmTimePicker"), le = P("FmFormGroup"), te = P("FmButton"), ce = P("FmTable"), ne = P("FmForm");
1118
1118
  return S(), M("div", Os, [
1119
- o("div", Bs, [
1119
+ l("div", Bs, [
1120
1120
  (me = i.modelValue) != null && me.template ? (S(), J(E, {
1121
1121
  key: 0,
1122
1122
  variant: s.disabled ? "warning" : void 0,
1123
- label: `${e(f)("inventory.transfer.template.title")}: ${((Fe = F.value) == null ? void 0 : Fe.name) ?? e(f)("inventory.transfer.form.loading")}`,
1123
+ label: `${e(f)("inventory.transfer.template.title")}: ${((De = D.value) == null ? void 0 : De.name) ?? e(f)("inventory.transfer.form.loading")}`,
1124
1124
  icon: "summarize",
1125
1125
  compact: ""
1126
1126
  }, null, 8, ["variant", "label"])) : G("", !0),
@@ -1144,35 +1144,35 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1144
1144
  onValidationFailed: console.log,
1145
1145
  onValidationSuccess: r[13] || (r[13] = (ge) => b("validation-success"))
1146
1146
  }, {
1147
- default: D(() => {
1147
+ default: F(() => {
1148
1148
  var ge, Qe;
1149
1149
  return [
1150
- o("div", Ns, [
1151
- o("div", zs, [
1150
+ l("div", Ns, [
1151
+ l("div", zs, [
1152
1152
  (ge = i.modelValue) != null && ge.template ? (S(), M(ke, { key: 0 }, [
1153
- o("div", Ls, [
1153
+ l("div", Ls, [
1154
1154
  d(Z, {
1155
1155
  label: e(f)("inventory.transfer.form.type.title")
1156
1156
  }, null, 8, ["label"]),
1157
- o("div", Hs, [
1157
+ l("div", Hs, [
1158
1158
  d(ae, {
1159
1159
  "z-index": 51,
1160
1160
  placement: "left",
1161
1161
  disabled: s.disabled
1162
1162
  }, {
1163
- content: D(() => r[14] || (r[14] = [
1163
+ content: F(() => r[14] || (r[14] = [
1164
1164
  Ee("This field is locked from template.")
1165
1165
  ])),
1166
- default: D(() => [
1166
+ default: F(() => [
1167
1167
  d(be, null, {
1168
- default: D(() => [
1169
- o("div", js, [
1168
+ default: F(() => [
1169
+ l("div", js, [
1170
1170
  d(de, {
1171
1171
  name: "lock_outline",
1172
1172
  size: "sm",
1173
1173
  color: s.disabled ? "neutral-gray-200" : "neutral-gray-400"
1174
1174
  }, null, 8, ["color"]),
1175
- o("div", {
1175
+ l("div", {
1176
1176
  class: W({ "text-fm-color-typo-disabled": s.disabled })
1177
1177
  }, U(e(f)(`inventory.transfer.form.type.${$.value.toLocaleLowerCase("en-us")}`)), 3)
1178
1178
  ])
@@ -1182,7 +1182,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1182
1182
  ]),
1183
1183
  _: 1
1184
1184
  }, 8, ["disabled"]),
1185
- o("div", {
1185
+ l("div", {
1186
1186
  class: W([
1187
1187
  "fm-typo-en-body-sm-400",
1188
1188
  s.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"
@@ -1190,31 +1190,31 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1190
1190
  }, null, 2)
1191
1191
  ])
1192
1192
  ]),
1193
- o("div", Ys, [
1193
+ l("div", Ys, [
1194
1194
  d(Z, {
1195
1195
  label: $.value === e(j).PURCHASE ? e(f)("inventory.transfer.form.purchaseFrom") : e(f)("inventory.transfer.form.transferFrom")
1196
1196
  }, null, 8, ["label"]),
1197
- o("div", Ks, [
1197
+ l("div", Ks, [
1198
1198
  d(ae, {
1199
1199
  "z-index": 51,
1200
1200
  placement: "left",
1201
1201
  disabled: s.disabled
1202
1202
  }, {
1203
- content: D(() => r[15] || (r[15] = [
1203
+ content: F(() => r[15] || (r[15] = [
1204
1204
  Ee("This field is locked from template.")
1205
1205
  ])),
1206
- default: D(() => [
1206
+ default: F(() => [
1207
1207
  d(be, null, {
1208
- default: D(() => {
1208
+ default: F(() => {
1209
1209
  var C;
1210
1210
  return [
1211
- o("div", Qs, [
1211
+ l("div", Qs, [
1212
1212
  d(de, {
1213
1213
  name: "lock_outline",
1214
1214
  size: "sm",
1215
1215
  color: s.disabled ? "neutral-gray-200" : "neutral-gray-400"
1216
1216
  }, null, 8, ["color"]),
1217
- o("div", {
1217
+ l("div", {
1218
1218
  class: W({ "text-fm-color-typo-disabled": s.disabled })
1219
1219
  }, U((C = O.value.find((se) => se.value === R.value)) == null ? void 0 : C.label), 3)
1220
1220
  ])
@@ -1236,8 +1236,8 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1236
1236
  items: Pe.value,
1237
1237
  rules: [e(Re)(1)(O.value)]
1238
1238
  }, {
1239
- default: D(() => [
1240
- o("span", {
1239
+ default: F(() => [
1240
+ l("span", {
1241
1241
  class: W([
1242
1242
  "line-clamp-1 fm-typo-en-body-lg-400",
1243
1243
  s.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
@@ -1253,7 +1253,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1253
1253
  "onUpdate:modelValue": r[1] || (r[1] = (C) => R.value = C),
1254
1254
  items: O.value
1255
1255
  }, {
1256
- "menu-wrapper": D((C) => {
1256
+ "menu-wrapper": F((C) => {
1257
1257
  var se, Ze;
1258
1258
  return [
1259
1259
  d(Yt, Oe(C, {
@@ -1262,10 +1262,10 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1262
1262
  }), null, 16, ["items", "model-value"])
1263
1263
  ];
1264
1264
  }),
1265
- default: D(() => {
1265
+ default: F(() => {
1266
1266
  var C;
1267
1267
  return [
1268
- o("span", {
1268
+ l("span", {
1269
1269
  class: W([
1270
1270
  "line-clamp-1 fm-typo-en-body-lg-400",
1271
1271
  s.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
@@ -1304,8 +1304,8 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1304
1304
  _.value = !0;
1305
1305
  })
1306
1306
  }, null, 8, ["required", "disabled", "supplier", "setting", "items", "onChange"])) : G("", !0),
1307
- e(l).enableBackdatePo ? (S(), M("div", Zs, [
1308
- o("div", {
1307
+ e(o).enableBackdatePo ? (S(), M("div", Zs, [
1308
+ l("div", {
1309
1309
  class: W([
1310
1310
  "flex",
1311
1311
  {
@@ -1321,17 +1321,17 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1321
1321
  "label-placement": "right",
1322
1322
  disabled: z.value && !s.lastClosingDate || s.disabled
1323
1323
  }, null, 8, ["modelValue", "label", "sublabel", "disabled"]),
1324
- o("div", {
1324
+ l("div", {
1325
1325
  class: W({ hidden: h.value, "w-16": !h.value })
1326
1326
  }, null, 2),
1327
1327
  e(K) ? (S(), M("div", Gs, [
1328
- o("div", Js, [
1328
+ l("div", Js, [
1329
1329
  d(A, {
1330
1330
  modelValue: e(Q),
1331
1331
  "onUpdate:modelValue": r[6] || (r[6] = (C) => Se(Q) ? Q.value = C : null)
1332
1332
  }, null, 8, ["modelValue"])
1333
1333
  ]),
1334
- o("div", Ws, [
1334
+ l("div", Ws, [
1335
1335
  d(ee, {
1336
1336
  modelValue: e(p),
1337
1337
  "onUpdate:modelValue": r[7] || (r[7] = (C) => Se(p) ? p.value = C : null)
@@ -1343,7 +1343,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1343
1343
  key: 0,
1344
1344
  modelValue: e(B),
1345
1345
  "onUpdate:modelValue": r[8] || (r[8] = (C) => Se(B) ? B.value = C : null),
1346
- rules: [e(Ft)(new Date(s.lastClosingDate), /* @__PURE__ */ new Date())]
1346
+ rules: [e(Dt)(new Date(s.lastClosingDate), /* @__PURE__ */ new Date())]
1347
1347
  }, null, 8, ["modelValue", "rules"])) : G("", !0),
1348
1348
  z.value && !s.lastClosingDate ? (S(), M("div", Xs, [
1349
1349
  d(de, {
@@ -1351,17 +1351,17 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1351
1351
  size: "sm",
1352
1352
  class: "text-fm-color-typo-warning"
1353
1353
  }),
1354
- o("span", ea, U(e(f)("inventory.transfer.form.backdate.error")), 1)
1354
+ l("span", ea, U(e(f)("inventory.transfer.form.backdate.error")), 1)
1355
1355
  ])) : G("", !0)
1356
1356
  ])) : G("", !0)
1357
1357
  ])
1358
1358
  ]),
1359
- o("div", ta, [
1359
+ l("div", ta, [
1360
1360
  d(le, {
1361
1361
  "model-value": e(t).items,
1362
1362
  rules: [e(Re)(1)]
1363
1363
  }, null, 8, ["model-value", "rules"]),
1364
- o("div", {
1364
+ l("div", {
1365
1365
  class: W([
1366
1366
  "flex gap-16",
1367
1367
  {
@@ -1370,8 +1370,8 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1370
1370
  }
1371
1371
  ])
1372
1372
  }, [
1373
- o("div", sa, U(e(f)("inventory.transfer.form.items.title")), 1),
1374
- o("div", aa, [
1373
+ l("div", sa, U(e(f)("inventory.transfer.form.items.title")), 1),
1374
+ l("div", aa, [
1375
1375
  d(te, {
1376
1376
  disabled: s.disabled,
1377
1377
  label: e(f)("inventory.transfer.form.items.addItem"),
@@ -1387,10 +1387,10 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1387
1387
  key: 0,
1388
1388
  "z-index": 50
1389
1389
  }, {
1390
- content: D(() => [
1391
- o("div", null, U(e(f)("inventory.transfer.form.items.forecastStock.notAvailable")), 1)
1390
+ content: F(() => [
1391
+ l("div", null, U(e(f)("inventory.transfer.form.items.forecastStock.notAvailable")), 1)
1392
1392
  ]),
1393
- default: D(() => [
1393
+ default: F(() => [
1394
1394
  d(tt, {
1395
1395
  "onUpdate:poItems": r[10] || (r[10] = (C) => e(t).items = C),
1396
1396
  disabled: ""
@@ -1404,7 +1404,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1404
1404
  }, null, 8, ["disabled"]))
1405
1405
  ])
1406
1406
  ], 2),
1407
- $.value === e(j).PURCHASE && V.value && e(l).enableTotalCost && ((Qe = s.modelValue) != null && Qe.items.length) ? (S(), M("div", oa, [
1407
+ $.value === e(j).PURCHASE && V.value && e(o).enableTotalCost && ((Qe = s.modelValue) != null && Qe.items.length) ? (S(), M("div", oa, [
1408
1408
  d(we, {
1409
1409
  label: e(H) ? e(f)("inventory.transfer.form.items.fetchingData") : e(f)("inventory.transfer.form.items.comparePriceHistory"),
1410
1410
  "prepend-icon": "compare_arrows",
@@ -1421,19 +1421,19 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1421
1421
  "hide-footer": "",
1422
1422
  "page-size": e(t).items.length
1423
1423
  }, {
1424
- "table-row": D((C) => [
1424
+ "table-row": F((C) => [
1425
1425
  d(Rs, {
1426
1426
  "compare-price-by-sku": e(oe),
1427
1427
  "show-compare-price": $.value === e(j).PURCHASE && e(c),
1428
1428
  row: C
1429
1429
  }, null, 8, ["compare-price-by-sku", "show-compare-price", "row"])
1430
1430
  ]),
1431
- "list-row": D((C) => [
1431
+ "list-row": F((C) => [
1432
1432
  (S(), J(nt, {
1433
1433
  row: C,
1434
1434
  key: e(t).items.map((se) => se.sku._id).join(".")
1435
1435
  }, {
1436
- default: D((se) => [
1436
+ default: F((se) => [
1437
1437
  d(ms, {
1438
1438
  "compare-price-by-sku": e(oe),
1439
1439
  "show-compare-price": $.value === e(j).PURCHASE && e(c),
@@ -1466,7 +1466,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1466
1466
  emits: ["update:show", "submitted"],
1467
1467
  setup(m, { expose: y, emit: n }) {
1468
1468
  var Q;
1469
- const i = m, b = n, t = rt(), f = ut(), g = qe(), w = Ke(), u = He(), a = je(), l = Ae(), { t: v } = he(), k = N(!1), h = N(!1), _ = N(!1);
1469
+ const i = m, b = n, t = rt(), f = ut(), g = qe(), w = Ke(), u = He(), a = je(), o = Ae(), { t: v } = he(), k = N(!1), h = N(!1), _ = N(!1);
1470
1470
  async function x(p) {
1471
1471
  if (p) {
1472
1472
  h.value = !1;
@@ -1482,7 +1482,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1482
1482
  }
1483
1483
  }
1484
1484
  a.watchLocation(x);
1485
- function F() {
1485
+ function D() {
1486
1486
  return {
1487
1487
  remark: void 0,
1488
1488
  ref: void 0,
@@ -1516,21 +1516,21 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1516
1516
  templateDoc: f.templates.find((c) => c._id === i.templateId)
1517
1517
  };
1518
1518
  }
1519
- const V = Nt(i, "show"), z = N(i.modelValue ?? F()), ue = N(((Q = i.modelValue) == null ? void 0 : Q._id) ?? `${Math.random()}`);
1519
+ const V = Nt(i, "show"), z = N(i.modelValue ?? D()), ue = N(((Q = i.modelValue) == null ? void 0 : Q._id) ?? `${Math.random()}`);
1520
1520
  _e(
1521
1521
  () => i.show,
1522
1522
  (p) => {
1523
1523
  var c;
1524
- p && (_.value = !1, z.value = i.modelValue ?? F(), ue.value = ((c = i.modelValue) == null ? void 0 : c._id) ?? `${Math.random()}`);
1524
+ p && (_.value = !1, z.value = i.modelValue ?? D(), ue.value = ((c = i.modelValue) == null ? void 0 : c._id) ?? `${Math.random()}`);
1525
1525
  }
1526
1526
  );
1527
1527
  const T = q(() => !h.value || !_.value), $ = q(() => {
1528
1528
  switch (i.mode) {
1529
- case De.READ:
1529
+ case Fe.READ:
1530
1530
  return "View transfer";
1531
- case De.CREATE:
1531
+ case Fe.CREATE:
1532
1532
  return v("inventory.transfer.receiveRequest.create.title");
1533
- case De.UPDATE:
1533
+ case Fe.UPDATE:
1534
1534
  return v("inventory.transfer.receiveRequest.update.title");
1535
1535
  }
1536
1536
  return "";
@@ -1551,7 +1551,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1551
1551
  });
1552
1552
  async function R() {
1553
1553
  const p = z.value;
1554
- k.value = !0, (p.supplier.internal === "warehouse" || p.supplier.internal === "restaurant") && (p.items = p.items.map(({ totalCost: c, ...H }) => H)), l.mustUseDefaultCost && (p.items = p.items.map((c) => ({
1554
+ k.value = !0, (p.supplier.internal === "warehouse" || p.supplier.internal === "restaurant") && (p.items = p.items.map(({ totalCost: c, ...H }) => H)), o.mustUseDefaultCost && (p.items = p.items.map((c) => ({
1555
1555
  ...c,
1556
1556
  totalCost: re(c.sku, c.quantity, c.measurement)
1557
1557
  })));
@@ -1573,7 +1573,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1573
1573
  }
1574
1574
  async function I() {
1575
1575
  const p = z.value;
1576
- k.value = !0, (p.supplier.internal === "warehouse" || p.supplier.internal === "restaurant") && (p.items = p.items.map(({ totalCost: c, ...H }) => H)), l.mustUseDefaultCost && (p.items = p.items.map((c) => ({
1576
+ k.value = !0, (p.supplier.internal === "warehouse" || p.supplier.internal === "restaurant") && (p.items = p.items.map(({ totalCost: c, ...H }) => H)), o.mustUseDefaultCost && (p.items = p.items.map((c) => ({
1577
1577
  ...c,
1578
1578
  totalCost: re(c.sku, c.quantity, c.measurement)
1579
1579
  })));
@@ -1595,9 +1595,9 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1595
1595
  }
1596
1596
  function B() {
1597
1597
  switch (i.mode) {
1598
- case De.CREATE:
1598
+ case Fe.CREATE:
1599
1599
  return R();
1600
- case De.UPDATE:
1600
+ case Fe.UPDATE:
1601
1601
  return I();
1602
1602
  }
1603
1603
  }
@@ -1614,12 +1614,12 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1614
1614
  "close-button": "",
1615
1615
  "max-width": 900
1616
1616
  }, {
1617
- "side-sheet-header": D(() => [
1618
- o("div", na, [
1619
- o("div", ra, U($.value), 1)
1617
+ "side-sheet-header": F(() => [
1618
+ l("div", na, [
1619
+ l("div", ra, U($.value), 1)
1620
1620
  ])
1621
1621
  ]),
1622
- default: D(() => [
1622
+ default: F(() => [
1623
1623
  (S(), J(la, {
1624
1624
  class: "w-full",
1625
1625
  ref_key: "formRef",
@@ -1635,8 +1635,8 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1635
1635
  "last-closing-date": p.lastClosingDate
1636
1636
  }, null, 8, ["modelValue", "disabled", "suppliers", "skus", "last-closing-date"]))
1637
1637
  ]),
1638
- "side-sheet-footer": D(() => [
1639
- o("div", ia, [
1638
+ "side-sheet-footer": F(() => [
1639
+ l("div", ia, [
1640
1640
  d(H, {
1641
1641
  loading: k.value,
1642
1642
  disabled: T.value,
@@ -1668,7 +1668,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1668
1668
  endDate: Ve.string().optional().nullable()
1669
1669
  });
1670
1670
  const i = q(
1671
- () => !l._currentLocation || u.loading.value
1671
+ () => !o._currentLocation || u.loading.value
1672
1672
  ), b = Et(), t = Ae();
1673
1673
  function f() {
1674
1674
  const T = {
@@ -1686,7 +1686,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1686
1686
  function g() {
1687
1687
  b.setItem(st, JSON.stringify(w.value));
1688
1688
  }
1689
- const w = N(f()), u = It("receive/request", w.value), { columnDefs: a } = Vt("receive/request", u), l = je();
1689
+ const w = N(f()), u = It("receive/request", w.value), { columnDefs: a } = Vt("receive/request", u), o = je();
1690
1690
  async function v() {
1691
1691
  const T = `inventory-record_${We(w.value.startDate).format("DD-MM-YYYY_HH-mm")}-${We(w.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, $ = u.purchaseOrders.value.flatMap(
1692
1692
  (R) => R.items.map((I) => {
@@ -1759,7 +1759,7 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1759
1759
  if (T === "export")
1760
1760
  return v();
1761
1761
  }
1762
- const { breakpoints: x } = Ye(), F = q(() => x.value.xs || x.value.sm), V = q(() => F.value ? 10 : 20), z = $t(), ue = q(() => [
1762
+ const { breakpoints: x } = Ye(), D = q(() => x.value.xs || x.value.sm), V = q(() => D.value ? 10 : 20), z = $t(), ue = q(() => [
1763
1763
  {
1764
1764
  label: y("inventory.transfer.receiveRequest.actions.create"),
1765
1765
  value: "create",
@@ -1782,15 +1782,15 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1782
1782
  actions: ue.value,
1783
1783
  "onClick:action": _
1784
1784
  }, {
1785
- default: D(() => {
1785
+ default: F(() => {
1786
1786
  var R;
1787
1787
  return [
1788
- o("div", {
1788
+ l("div", {
1789
1789
  class: W([
1790
1790
  "flex flex-col gap-8 max-h-full",
1791
1791
  {
1792
- "p-0": F.value,
1793
- "px-24 ": !F.value
1792
+ "p-0": D.value,
1793
+ "px-24 ": !D.value
1794
1794
  }
1795
1795
  ])
1796
1796
  }, [
@@ -1810,38 +1810,38 @@ const Ps = { class: "fm-typo-body-md-400 line-clamp-2 w-full" }, Is = { key: 0 }
1810
1810
  "search-value": h.value,
1811
1811
  loading: i.value,
1812
1812
  onRowClick: $[2] || ($[2] = (I) => e(u).promptShowTransferDetails(I.original)),
1813
- key: (R = e(l)._currentLocation) == null ? void 0 : R.dbName,
1813
+ key: (R = e(o)._currentLocation) == null ? void 0 : R.dbName,
1814
1814
  "page-size": V.value
1815
1815
  }, {
1816
- "list-row": D((I) => [
1816
+ "list-row": F((I) => [
1817
1817
  d(nt, {
1818
1818
  row: I,
1819
1819
  onRowClick: e(u).promptShowTransferDetails
1820
1820
  }, {
1821
- default: D((B) => {
1821
+ default: F((B) => {
1822
1822
  var K, Q, p, c, H, oe, X, $e, Ce, Te, Me, Pe, s, r, E, Z, de, be, ae, fe;
1823
1823
  return [
1824
- o("div", da, [
1825
- o("div", ca, [
1824
+ l("div", da, [
1825
+ l("div", ca, [
1826
1826
  d(e(ie), {
1827
1827
  render: (p = (Q = (K = B._id) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : p.cell,
1828
1828
  props: (H = (c = B._id) == null ? void 0 : c.getContext) == null ? void 0 : H.call(c)
1829
1829
  }, null, 8, ["render", "props"])
1830
1830
  ]),
1831
- o("div", ma, [
1831
+ l("div", ma, [
1832
1832
  d(e(ie), {
1833
1833
  render: ($e = (X = (oe = B.supplier_name) == null ? void 0 : oe.column) == null ? void 0 : X.columnDef) == null ? void 0 : $e.cell,
1834
1834
  props: (Te = (Ce = B.supplier_name) == null ? void 0 : Ce.getContext) == null ? void 0 : Te.call(Ce)
1835
1835
  }, null, 8, ["render", "props"])
1836
1836
  ]),
1837
- o("div", pa, U(I.original.items.map((xe) => `${xe.name}`).join(", ")), 1),
1837
+ l("div", pa, U(I.original.items.map((xe) => `${xe.name}`).join(", ")), 1),
1838
1838
  I.original.ref ? (S(), M("div", fa, [
1839
1839
  d(e(ie), {
1840
1840
  render: (s = (Pe = (Me = B.ref) == null ? void 0 : Me.column) == null ? void 0 : Pe.columnDef) == null ? void 0 : s.cell,
1841
1841
  props: (E = (r = B.ref) == null ? void 0 : r.getContext) == null ? void 0 : E.call(r)
1842
1842
  }, null, 8, ["render", "props"])
1843
1843
  ])) : G("", !0),
1844
- o("div", va, [
1844
+ l("div", va, [
1845
1845
  d(e(ie), {
1846
1846
  render: (be = (de = (Z = B.status) == null ? void 0 : Z.column) == null ? void 0 : de.columnDef) == null ? void 0 : be.cell,
1847
1847
  props: (fe = (ae = B.status) == null ? void 0 : ae.getContext) == null ? void 0 : fe.call(ae)