@feedmepos/mf-inventory-portal 1.2.9 → 1.2.10-dev.1

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 (51) hide show
  1. package/dist/{App-XpX30-FV.js → App-Bg2M5RwP.js} +1 -1
  2. package/dist/{ApprovalView-D2J7D_Nm.js → ApprovalView-C46UDXnc.js} +24 -24
  3. package/dist/{BindingsDialog-Uso69RV0.js → BindingsDialog-CtJjpbw-.js} +2 -2
  4. package/dist/{BindingsPicker-7w_Pih9R.js → BindingsPicker-B6Er5Lea.js} +1 -1
  5. package/dist/{BindingsTable-CbV4JqKs.js → BindingsTable-MPeTr_ip.js} +1 -1
  6. package/dist/{ClosingDraftView-Cs1hLPBv.js → ClosingDraftView-BaD3MLeG.js} +33 -33
  7. package/dist/{ClosingTemplateView-CzDxdTM8.js → ClosingTemplateView-C4z3GXwd.js} +3 -3
  8. package/dist/{DeliveryOrderPrintPreview-hVu8tti_.js → DeliveryOrderPrintPreview-BfafKFMa.js} +8 -8
  9. package/dist/{FmAdminBadge-UDCFElb7.js → FmAdminBadge-Dg5rl1fj.js} +4 -4
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CeEFXW2z.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BATVvC9u.js} +11 -11
  11. package/dist/{FmMultiselectDialog-Bevvx1r8.js → FmMultiselectDialog-DJ-dIe8C.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C0mdy9Mc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBWaPrlm.js} +38 -38
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BKIf5UrZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-oaujHoaU.js} +1 -1
  14. package/dist/{IngredientGroupView-_eiXCYvr.js → IngredientGroupView-u4ubHtNF.js} +15 -15
  15. package/dist/{IngredientsView-okGkhfX0.js → IngredientsView-CXbJifY6.js} +831 -809
  16. package/dist/{IntegrationView-DYNRksif.js → IntegrationView-XEypfcAW.js} +137 -137
  17. package/dist/{InventoryBindingForm-DyFPXbNg.js → InventoryBindingForm-CETOb5Nj.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-1AvpT307.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DC52GJ2Y.js} +22 -22
  19. package/dist/{InventoryBindingSummary-BnzY__W8.js → InventoryBindingSummary-DbyJW8z0.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-iCRT5ZID.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQWWQxaq.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CxhPTM5O.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BruydtsG.js} +9 -9
  22. package/dist/{PublishView-BGI8t6ZI.js → PublishView-Cl3IluMR.js} +12 -12
  23. package/dist/{PurchaseOrderPrintPreview-BY0m_m2t.js → PurchaseOrderPrintPreview-BG_uBL4o.js} +7 -7
  24. package/dist/{ReceiveRequestView-BN63OwrJ.js → ReceiveRequestView-BvGlUVTp.js} +191 -191
  25. package/dist/{RecipeView-C6SFIYEV.js → RecipeView-C-7XU5F8.js} +12 -12
  26. package/dist/{StockView-DxAqF_Uz.js → StockView-rYhlg4fr.js} +680 -665
  27. package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0kASPO9.js +158 -0
  28. package/dist/{SupplierView-BGWP3TQ0.js → SupplierView-BoGoqUS-.js} +4 -4
  29. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dr6Bst81.js → TransferDetails.vue_vue_type_script_setup_true_lang-D53vhWDq.js} +6 -6
  30. package/dist/{TransferTemplateView-CSMou2uQ.js → TransferTemplateView-DZIDXFp7.js} +143 -143
  31. package/dist/{UnitView-Dvn2OFBI.js → UnitView-CvHIFkue.js} +27 -27
  32. package/dist/{WarehouseView-DFIFxlqz.js → WarehouseView-Dh_WZz5L.js} +18 -18
  33. package/dist/{app-cExTkfVB.js → app-BT34Yv61.js} +9120 -9069
  34. package/dist/app.d.ts +6 -6
  35. package/dist/app.js +4 -4
  36. package/dist/{closing-template-CIbh7GpK.js → closing-template-JDCk0_lU.js} +1 -1
  37. package/dist/{decimal-DDB6xkYA.js → decimal-BTgTm2JD.js} +1 -1
  38. package/dist/{format-unit-display-C5nl2Pn9.js → format-unit-display-HHCA1rN3.js} +48 -48
  39. package/dist/{index-5McubZjo.js → index-Bz_lEYOD.js} +1 -1
  40. package/dist/{index-CYvmWIx7.js → index-CdamrmzX.js} +1 -1
  41. package/dist/{purchase-order-template-DqsMgrgI.js → purchase-order-template-DJiYiY6t.js} +1 -1
  42. package/dist/{stock-DzSlKGZm.js → stock-C8afHO4C.js} +1 -1
  43. package/dist/stores/integration/netsuite.d.ts +1 -0
  44. package/dist/{supplier-m9aBkFoK.js → supplier-C8RMKqQX.js} +1 -1
  45. package/dist/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/{use-ingredient-select-dialog-et1B0WDI.js → use-ingredient-select-dialog-fLK9yq-0.js} +1 -1
  47. package/dist/{use-inventory-binding-dialog-B7_YL7HE.js → use-inventory-binding-dialog--7tzpXgV.js} +1 -1
  48. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +1 -1
  49. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -0
  50. package/package.json +1 -1
  51. package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
@@ -1,32 +1,32 @@
1
1
  import { defineComponent as ie, mergeModels as W, useModel as ae, computed as v, ref as B, watch as E, onBeforeUnmount as le, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as O, toDisplayString as _, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
2
- import { Y as D, I as R, w as j, Z as fe, k as M, aQ as ve, t as be, ba as ye, X as he, av as Me, aO as ge, aN as xe } from "./app-cExTkfVB.js";
2
+ import { Z as R, I as D, w as $, $ as fe, k as M, aR as ve, t as be, bb as ye, Y as he, aw as Me, aP as ge, aO as xe } from "./app-BT34Yv61.js";
3
3
  import "@feedmepos/ui-library";
4
4
  function H() {
5
5
  return {
6
- amount: D.reset()
6
+ amount: R.reset()
7
7
  };
8
8
  }
9
- function Q() {
9
+ function Y() {
10
10
  return function(f) {
11
- return R()(f.amountAsString);
11
+ return D()(f.amountAsString);
12
12
  };
13
13
  }
14
- function $e(l) {
14
+ function je(l) {
15
15
  return function(t) {
16
- return R()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < l ? `Must be at least ${l}` : !0;
16
+ return D()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < l ? `Must be at least ${l}` : !0;
17
17
  };
18
18
  }
19
19
  function qe(l) {
20
20
  return function(t) {
21
- return R()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > l ? `Must be at most ${l}` : !0;
21
+ return D()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > l ? `Must be at most ${l}` : !0;
22
22
  };
23
23
  }
24
24
  function Z(l, f = !1) {
25
25
  return function(c) {
26
- const s = Q()(c);
26
+ const s = Y()(c);
27
27
  if (s != !0)
28
28
  return f ? s : !0;
29
- const A = typeof l == "number" ? l : j(l, c.modelValue.measurement);
29
+ const A = typeof l == "number" ? l : $(l, c.modelValue.measurement);
30
30
  return fe(+c.amountAsString).precision > A ? `Cannot exceed precision more than ${M({
31
31
  amount: 1,
32
32
  precision: A
@@ -39,13 +39,13 @@ function ze(l) {
39
39
  return f(c.modelValue.amount);
40
40
  };
41
41
  }
42
- const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { class: "flex-1" }, ke = { class: "flex items-center gap-4" }, Pe = { class: "flex-1 flex gap-4" }, Be = { class: "shrink-0 grow basis-2/5" }, Ie = {
42
+ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { class: "flex-1" }, Pe = { class: "flex items-center gap-4" }, ke = { class: "flex-1 flex gap-4" }, Be = { class: "shrink-0 grow basis-2/5" }, Ie = {
43
43
  key: 0,
44
44
  class: "text-fm-color-typo-secondary"
45
45
  }, Ue = {
46
46
  key: 0,
47
47
  class: "flex"
48
- }, De = { class: "line-clamp-1 text-ellipsis break-all" }, Re = { class: "flex items-center gap-4" }, we = { class: "flex items-center" }, Ce = { class: "line-clamp-1 text-ellipsis break-all" }, Ne = { class: "max-w-[200px] flex flex-col gap-[1px]" }, Se = {
48
+ }, Re = { class: "line-clamp-1 text-ellipsis break-all" }, De = { class: "flex items-center gap-4" }, we = { class: "flex items-center" }, Ce = { class: "line-clamp-1 text-ellipsis break-all" }, Se = { class: "max-w-[200px] flex flex-col gap-[1px]" }, Ne = {
49
49
  key: 1,
50
50
  class: "flex flex-col gap-4 pl-8 shrink-0"
51
51
  }, Ve = {
@@ -105,12 +105,12 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
105
105
  }),
106
106
  emits: /* @__PURE__ */ W(["update:amount", "update:measurement"], ["update:modelValue"]),
107
107
  setup(l, { emit: f }) {
108
- const t = l, c = f, s = ae(l, "modelValue"), A = R(), w = v(() => {
108
+ const t = l, c = f, s = ae(l, "modelValue"), A = D(), w = v(() => {
109
109
  var n;
110
- return j(t.unit, (n = s.value) == null ? void 0 : n.measurement);
110
+ return $(t.unit, (n = s.value) == null ? void 0 : n.measurement);
111
111
  }), p = B((() => {
112
112
  var o;
113
- const e = ((o = s.value) == null ? void 0 : o.amount) ?? D.reset(), n = ge(e), i = t.formatMinimumPrecision ?? n.precision, a = xe(n, i);
113
+ const e = ((o = s.value) == null ? void 0 : o.amount) ?? R.reset(), n = ge(e), i = t.formatMinimumPrecision ?? n.precision, a = xe(n, i);
114
114
  return M(a);
115
115
  })());
116
116
  let x = null;
@@ -130,7 +130,7 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
130
130
  }), le(() => {
131
131
  x && clearTimeout(x);
132
132
  });
133
- const Y = Symbol.for("fm:form-state"), C = ue(Y, null), k = v(() => t.disabled ?? (C == null ? void 0 : C.getDisabled()) ?? !1), J = B(), N = B(!1), $ = B(!1), K = v(() => N.value || $.value), ee = v(() => {
133
+ const K = Symbol.for("fm:form-state"), C = ue(K, null), P = v(() => t.disabled ?? (C == null ? void 0 : C.getDisabled()) ?? !1), Q = B(), S = B(!1), j = B(!1), X = v(() => S.value || j.value), ee = v(() => {
134
134
  var a;
135
135
  const e = t.unit.measurements.filter((o) => !o.name.toLocaleLowerCase().includes("inactive")).filter((o) => o.abbrev !== t.unit.abbrev || +M(o.conversion) != 1), n = ye.groupBy(
136
136
  e,
@@ -148,7 +148,7 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
148
148
  isBaseUnit: !1
149
149
  }))
150
150
  ];
151
- }), S = v({
151
+ }), N = v({
152
152
  get() {
153
153
  var e, n;
154
154
  return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.id) ?? null;
@@ -168,11 +168,11 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
168
168
  }
169
169
  }
170
170
  });
171
- E(S, (e, n) => {
171
+ E(N, (e, n) => {
172
172
  var m;
173
173
  if (!t.convertAmountOnChangeUnit)
174
174
  return;
175
- const i = ((m = s.value) == null ? void 0 : m.amount) ?? D.reset(), a = t.unit.measurements.find((P) => P.id === n) ?? null, o = t.unit.measurements.find((P) => P.id === e) ?? null, r = a ? he(i, a.conversion) : i, g = o ? Me(r, o.conversion) : r, T = j(t.unit, o), L = D.convertPrecision({
175
+ const i = ((m = s.value) == null ? void 0 : m.amount) ?? R.reset(), a = t.unit.measurements.find((k) => k.id === n) ?? null, o = t.unit.measurements.find((k) => k.id === e) ?? null, r = a ? he(i, a.conversion) : i, g = o ? Me(r, o.conversion) : r, T = $(t.unit, o), L = R.convertPrecision({
176
176
  value: g,
177
177
  precision: T
178
178
  });
@@ -192,7 +192,7 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
192
192
  )) ?? [];
193
193
  }
194
194
  ), ne = v(() => [...t.applyDefaultRules ? [
195
- Q(),
195
+ Y(),
196
196
  typeof t.precision == "number" ? Z(t.precision) : Z(t.unit)
197
197
  ] : [], ...te.value]);
198
198
  function z(e) {
@@ -223,31 +223,31 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
223
223
  optional: e.labelMark === "optional"
224
224
  }, null, 8, ["label", "disabled", "required", "optional"])
225
225
  ]),
226
- h(T, { focused: K.value }, {
226
+ h(T, { focused: X.value }, {
227
227
  default: F(() => [
228
- u("div", ke, [
228
+ u("div", Pe, [
229
229
  G(e.$slots, "prepend"),
230
- u("div", Pe, [
230
+ u("div", ke, [
231
231
  u("div", Be, [
232
232
  e.stepperOnly ? (d(), y("span", {
233
233
  key: 0,
234
234
  class: O({
235
235
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
236
- "text-fm-color-typo-primary": !k.value,
237
- "text-fm-color-typo-disabled": k.value
236
+ "text-fm-color-typo-primary": !P.value,
237
+ "text-fm-color-typo-disabled": P.value
238
238
  })
239
239
  }, _(p.value), 3)) : re((d(), y("input", {
240
240
  key: 1,
241
241
  type: "text",
242
242
  ref_key: "inputRef",
243
- ref: J,
244
- onFocus: n[0] || (n[0] = () => N.value = !0),
245
- onBlur: n[1] || (n[1] = () => N.value = !1),
243
+ ref: Q,
244
+ onFocus: n[0] || (n[0] = () => S.value = !0),
245
+ onBlur: n[1] || (n[1] = () => S.value = !1),
246
246
  "onUpdate:modelValue": n[2] || (n[2] = (m) => p.value = m),
247
247
  class: O({
248
248
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
249
- "text-fm-color-typo-primary": !k.value,
250
- "text-fm-color-typo-disabled": k.value
249
+ "text-fm-color-typo-primary": !P.value,
250
+ "text-fm-color-typo-disabled": P.value
251
251
  })
252
252
  }, null, 34)), [
253
253
  [me, p.value]
@@ -267,16 +267,16 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
267
267
  key: 0,
268
268
  name: "square_foot"
269
269
  })),
270
- u("div", De, _(V.value), 1)
270
+ u("div", Re, _(V.value), 1)
271
271
  ])) : (d(), U(r, {
272
272
  key: 1,
273
- onMenuChanged: n[3] || (n[3] = (m) => $.value = m),
273
+ onMenuChanged: n[3] || (n[3] = (m) => j.value = m),
274
274
  "z-index": 500,
275
275
  placement: e.placement,
276
276
  disabled: e.disabled
277
277
  }, {
278
278
  "menu-button": F(() => [
279
- u("div", Re, [
279
+ u("div", De, [
280
280
  u("div", we, [
281
281
  q.value ? I("", !0) : (d(), U(a, {
282
282
  key: 0,
@@ -288,13 +288,13 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
288
288
  ])
289
289
  ]),
290
290
  default: F(() => [
291
- u("div", Ne, [
291
+ u("div", Se, [
292
292
  (d(!0), y(de, null, pe(ee.value, (m) => (d(), U(o, {
293
293
  key: m.value ?? void 0,
294
294
  label: m.label,
295
295
  icon: m.isBaseUnit ? void 0 : "square_foot",
296
- "model-value": m.value == S.value,
297
- onClick: (P) => S.value = m.value
296
+ "model-value": m.value == N.value,
297
+ onClick: (k) => N.value = m.value
298
298
  }, null, 8, ["label", "icon", "model-value", "onClick"]))), 128))
299
299
  ])
300
300
  ]),
@@ -304,7 +304,7 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
304
304
  _: 1
305
305
  })
306
306
  ], 2),
307
- e.stepper ? (d(), y("div", Se, [
307
+ e.stepper ? (d(), y("div", Ne, [
308
308
  u("div", {
309
309
  class: "w-24 h-12 flex items-center justify-center fm-corner-radius-sm bg-fm-color-neutral-gray-100 hover:bg-fm-color-neutral-gray-200",
310
310
  onClick: oe
@@ -348,10 +348,10 @@ const Fe = { class: "flex flex-col" }, _e = { class: "flex flex-col" }, Ae = { c
348
348
  }
349
349
  });
350
350
  export {
351
- $e as F,
351
+ je as F,
352
352
  We as _,
353
353
  qe as a,
354
354
  ze as b,
355
- Q as c,
355
+ Y as c,
356
356
  Z as d
357
357
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
2
- import { k as a, X as y } from "./app-cExTkfVB.js";
2
+ import { k as a, Y as y } from "./app-BT34Yv61.js";
3
3
  import { useI18n as _ } from "@feedmepos/mf-common";
4
4
  const v = { class: "flex flex-col" }, g = { 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" }, h = { class: "flex-1 py-8 px-16" }, b = {
5
5
  class: "flex-0 py-8 px-16",
@@ -1,16 +1,16 @@
1
1
  import { ref as A, computed as F, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as G, createElementBlock as B, createVNode as b, unref as l, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
2
- import { a as P, e as S, f as L, h as Re, D as oe, i as K, I as Ie, A as Se, U as Ge, T as ue, V as Fe, N as Ve, o as de, W as Ce, v as ae, u as De, K as Ae, _ as $e, L as Te, O as Ee, P as le } from "./app-cExTkfVB.js";
3
- import { useDialog as Me, useSnackbar as W, components as U, useProxiedModel as Ue, useBreakpoints as Be } from "@feedmepos/ui-library";
2
+ import { a as P, e as S, f as L, h as Re, D as oe, i as K, I as Ie, A as Se, U as Ge, V as ue, W as Fe, N as Ve, o as de, X as Ce, v as ae, u as De, K as Ae, L as $e, O as Te, P as Ee, Q as le } from "./app-BT34Yv61.js";
3
+ import { useDialog as Me, useSnackbar as Q, components as U, useProxiedModel as Ue, useBreakpoints as Be } from "@feedmepos/ui-library";
4
4
  import { useI18n as z, useCoreStore as Le } from "@feedmepos/mf-common";
5
5
  import { defineStore as ce, storeToRefs as ie } from "pinia";
6
6
  import "./array-Ca8T3f_G.js";
7
- import { u as Pe } from "./FmMultiselectDialog-Bevvx1r8.js";
7
+ import { u as Pe } from "./FmMultiselectDialog-DJ-dIe8C.js";
8
8
  import { r as me } from "./random-CSbEbElR.js";
9
9
  import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
10
10
  const H = ce(
11
11
  "ingredientGroupactions",
12
12
  function() {
13
- const _ = Me(), f = W(), k = P(), { t: i } = z(), v = A();
13
+ const _ = Me(), f = Q(), k = P(), { t: i } = z(), v = A();
14
14
  function e() {
15
15
  const u = {
16
16
  modelValue: {},
@@ -83,7 +83,7 @@ const H = ce(
83
83
  ), Oe = ce(
84
84
  "ingredientGroupTable",
85
85
  function() {
86
- const _ = A(!1), f = W(), k = P(), i = H();
86
+ const _ = A(!1), f = Q(), k = P(), i = H();
87
87
  async function v() {
88
88
  _.value = !0;
89
89
  try {
@@ -397,7 +397,7 @@ function fe(o) {
397
397
  }
398
398
  };
399
399
  }
400
- const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, He = { class: "flex flex-col gap-4" }, We = { class: "flex flex-col gap-16" }, Ye = { class: "flex flex-col" }, Je = { class: "flex flex-col gap-4" }, Qe = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xe = /* @__PURE__ */ j({
400
+ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, He = { class: "flex flex-col gap-4" }, Qe = { class: "flex flex-col gap-16" }, We = { class: "flex flex-col" }, Xe = { class: "flex flex-col gap-4" }, Ye = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Je = /* @__PURE__ */ j({
401
401
  __name: "IngredientGroupRuleField",
402
402
  props: {
403
403
  disabled: { type: Boolean },
@@ -481,9 +481,9 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
481
481
  ]
482
482
  }, null, 8, ["model-value", "rules"])
483
483
  ]),
484
- c("div", We, [
485
- c("div", Ye, [
486
- c("div", Je, [
484
+ c("div", Qe, [
485
+ c("div", We, [
486
+ c("div", Xe, [
487
487
  c("div", null, [
488
488
  b(u, {
489
489
  label: l(f)("inventory.ingredientGroup.form.rules.ingredients"),
@@ -507,7 +507,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
507
507
  "hide-footer": ""
508
508
  }, null, 8, ["row-data", "column-defs", "page-size", "column-visibility"])
509
509
  ]),
510
- c("div", Qe, $(l(f)("inventory.ingredientGroup.form.defaultRule.defaultCheckbox")), 1)
510
+ c("div", Ye, $(l(f)("inventory.ingredientGroup.form.defaultRule.defaultCheckbox")), 1)
511
511
  ]);
512
512
  };
513
513
  }
@@ -679,7 +679,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
679
679
  }, null, 8, ["onClick"])
680
680
  ]),
681
681
  c("div", null, [
682
- (G(), M(Xe, {
682
+ (G(), M(Je, {
683
683
  key: d._id,
684
684
  "model-value": d,
685
685
  "onUpdate:modelValue": l(a).updateItem,
@@ -720,7 +720,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
720
720
  setup(o) {
721
721
  const _ = o, f = P(), k = ze(() => f.readCachedMenu()), i = F(
722
722
  () => k.result.value.state === Ne.success ? k.result.value.data : void 0
723
- ), v = W(), { t: e } = z(), a = Ue(_, "show");
723
+ ), v = Q(), { t: e } = z(), a = Ue(_, "show");
724
724
  function t() {
725
725
  return {
726
726
  _id: "",
@@ -931,13 +931,13 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
931
931
  onRowClick: l(e)
932
932
  }, ke({
933
933
  default: T((N) => {
934
- var Y, J, Q, O, X, Z, ee, te, q, ne;
934
+ var W, X, Y, O, J, Z, ee, te, q, ne;
935
935
  return [
936
936
  c("div", kt, [
937
937
  c("div", xt, [
938
938
  b(l(le), {
939
- render: (Q = (J = (Y = N.code) == null ? void 0 : Y.column) == null ? void 0 : J.columnDef) == null ? void 0 : Q.cell,
940
- props: (X = (O = N.code) == null ? void 0 : O.getContext) == null ? void 0 : X.call(O)
939
+ render: (Y = (X = (W = N.code) == null ? void 0 : W.column) == null ? void 0 : X.columnDef) == null ? void 0 : Y.cell,
940
+ props: (J = (O = N.code) == null ? void 0 : O.getContext) == null ? void 0 : J.call(O)
941
941
  }, null, 8, ["render", "props"])
942
942
  ]),
943
943
  c("div", ht, [