@feedmepos/mf-inventory-portal 1.3.14-dev.1 → 1.3.14-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 (90) hide show
  1. package/dist/App-D1_jkD6L.js +309 -0
  2. package/dist/{ApprovalView-BxioAXpO.js → ApprovalView-CfF2FqsE.js} +12 -12
  3. package/dist/{BindingsDialog-Dn_hP7Ji.js → BindingsDialog-H-juP-az.js} +2 -2
  4. package/dist/{BindingsPicker-BEXOUaoI.js → BindingsPicker-ClruHF7p.js} +2 -2
  5. package/dist/{BindingsTable-CsRLA5J_.js → BindingsTable-Bx9pbFOO.js} +3 -3
  6. package/dist/{ClosingDraftView-DoH9ZcGA.js → ClosingDraftView-DN97Tao5.js} +137 -137
  7. package/dist/{ClosingHistoryView-BWf_gIrc.js → ClosingHistoryView-DsRYUqa2.js} +32 -32
  8. package/dist/{ClosingTemplateView-BKRxzvQX.js → ClosingTemplateView-f9zfsxCu.js} +14 -14
  9. package/dist/DefaultView-COVVxOrF.js +31 -0
  10. package/dist/{DeliveryOrderPrintPreview-HzspgQXj.js → DeliveryOrderPrintPreview-BMK4kBCQ.js} +11 -11
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DstxeP1q.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bqj_Ygmo.js} +23 -23
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-E9FFFhwx.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CK1ha_AY.js} +2 -2
  13. package/dist/{FmMultiselectDialog-3uKA-o0f.js → FmMultiselectDialog-BazT9oUX.js} +1 -1
  14. package/dist/{FmMultiselectDialog-uFZKKIiO.js → FmMultiselectDialog-_gUuhudi.js} +16 -16
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js} +18 -18
  16. package/dist/{ImportView-zrNDzp3k.js → ImportView-jpkwuCXO.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B2vMgXVZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DLJnF4do.js} +1 -1
  18. package/dist/{IngredientGroupView-HcAKvPur.js → IngredientGroupView-x3t1hyNn.js} +5 -5
  19. package/dist/{IngredientsView-CRB5UN-e.js → IngredientsView-BzWTnlb4.js} +15 -15
  20. package/dist/{IntegrationExplorerView-k3IHeiOU.js → IntegrationExplorerView-Bca3owbx.js} +5 -5
  21. package/dist/{IntegrationView-B3WeQTDB.js → IntegrationView-Dh1c4Qyo.js} +81 -81
  22. package/dist/{InventoryBindingForm-B-7SQKl2.js → InventoryBindingForm-B1sI1TGZ.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhPu_GyE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-7NeE7Xos.js} +15 -15
  24. package/dist/{InventoryBindingSummary-Swi6A3W2.js → InventoryBindingSummary-R8zHPc52.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Duv0At06.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DMJVh7Nt.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang--gt60IlU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ChC9sEIk.js} +5 -5
  27. package/dist/{PublishView-B9HJT61I.js → PublishView-Bqp8Ww4J.js} +13 -13
  28. package/dist/{PurchaseOrderPrintPreview-sClUXkgt.js → PurchaseOrderPrintPreview-D7TCn8U-.js} +11 -11
  29. package/dist/{ReceiveRequestView-BbS55juS.js → ReceiveRequestView-oNBVAMYu.js} +23 -23
  30. package/dist/{RecipeView-BH3asOD4.js → RecipeView-D8Mvgji9.js} +50 -50
  31. package/dist/{SettingsView-BJAMNNhr.js → SettingsView-BJScLK9z.js} +30 -30
  32. package/dist/{StockView-DMLFY7d1.js → StockView-CRRdVCcD.js} +143 -143
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DeiLMVin.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DUKv_LV6.js} +1 -1
  34. package/dist/{SupplierView-C3uBrEcc.js → SupplierView-DdBBIV8W.js} +12 -12
  35. package/dist/{SurchargeView-S9ByD9Nd.js → SurchargeView-DisBUPIs.js} +16 -16
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-ha60Wy7z.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CZ3Q3BAf.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CfyCEElN.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CC7F5HVc.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CKfs-ns0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BLlg1Vka.js} +212 -212
  39. package/dist/{TransferTemplateView-zbn5CGiZ.js → TransferTemplateView-7ICJMF9z.js} +17 -17
  40. package/dist/{UnitCostHistoryView-LhvAybS8.js → UnitCostHistoryView-BMRDBQ58.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-E2QCl521.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-mNXHzLN3.js} +4 -4
  42. package/dist/{UnitView-6oUdlUVo.js → UnitView-uUUYOjYn.js} +24 -24
  43. package/dist/{WarehouseView-DQFe99KT.js → WarehouseView-BfMf_iuj.js} +25 -25
  44. package/dist/{WastageTemplateView-BiYZqiT2.js → WastageTemplateView-BQYjJGZ-.js} +14 -14
  45. package/dist/{app-SnX9gL_k.js → app-B_zMegJc.js} +4571 -4564
  46. package/dist/app.d.ts +16 -0
  47. package/dist/app.js +1 -1
  48. package/dist/{closing-template-Ch--jBk-.js → closing-template-9vhx5Ji1.js} +1 -1
  49. package/dist/composable/useInventoryAccess.d.ts +11 -0
  50. package/dist/composable/useNavigationMenu.d.ts +14 -0
  51. package/dist/{date2-CGqqJOqr.js → date2-BMCS_Dsc.js} +1 -1
  52. package/dist/{dayjs.min-JnfBpNSN.js → dayjs.min-Dl26OaXo.js} +16 -16
  53. package/dist/{decimal-C-2MQYNP.js → decimal-e6OK2jkR.js} +2 -2
  54. package/dist/{defineDeepModel-CUJCBuvw.js → defineDeepModel-BvLlwxnd.js} +1 -1
  55. package/dist/{duplicate-template-BXg5EQRC.js → duplicate-template-Cnhu8Rxw.js} +1 -1
  56. package/dist/{empty-placeholder-wf6-BWE8.js → empty-placeholder-B0QU467o.js} +1 -1
  57. package/dist/{export-DUsFBcmf.js → export-CGvyGmeo.js} +1 -1
  58. package/dist/{feature-gkhmly57.js → feature-Do41WWzx.js} +23 -23
  59. package/dist/{format-time-from-id-D1RhcKfL.js → format-time-from-id-CqX_KaUG.js} +1 -1
  60. package/dist/{format-unit-display-DXs_-yEW.js → format-unit-display-D8qWmRXP.js} +11 -11
  61. package/dist/{import-export.helper-B84wW0eo.js → import-export.helper-85V8Ib5e.js} +6 -6
  62. package/dist/{index-Dp1GAjHf.js → index-C-CwnjUn.js} +3 -3
  63. package/dist/{index-artVJVqL.js → index-Cg3aLEhT.js} +1 -1
  64. package/dist/{index-D3XgyMwL.js → index-CtUF9Nsv.js} +1 -1
  65. package/dist/{inventory-core-dart.default-Bu1oVkLC.js → inventory-core-dart.default-B64FzAla.js} +1 -1
  66. package/dist/{lodash-DZbYS5Vn.js → lodash-U9ycVPlv.js} +1 -1
  67. package/dist/{lz-string-nX96TtT6.js → lz-string-0CgVsQoC.js} +13 -13
  68. package/dist/{netsuite-DQkJKCH9.js → netsuite-Du7-sXJt.js} +77 -77
  69. package/dist/{number-gRrApZRj.js → number-iJAzDfmj.js} +7 -7
  70. package/dist/{predefined-templates-D9bzSOz_.js → predefined-templates-LlSrXOXm.js} +1 -1
  71. package/dist/{purchase-order-template-BiE_We2X.js → purchase-order-template-DFuXb0rr.js} +1 -1
  72. package/dist/{recalculationUtils-zNt-EW5S.js → recalculationUtils-DWPnMW1G.js} +1 -1
  73. package/dist/router/name.d.ts +1 -0
  74. package/dist/{rules-CWFFr_mA.js → rules-DefSKiUN.js} +2 -2
  75. package/dist/{stock-C-34Vuxz.js → stock-BfF6peMd.js} +3 -3
  76. package/dist/{stock-V4Oy4QHQ.js → stock-Cx1BwdWs.js} +1 -1
  77. package/dist/{supplier-DbYagMhS.js → supplier-CU3iqdGr.js} +16 -16
  78. package/dist/{surcharge-CcvvfLHB.js → surcharge-D77J5opH.js} +12 -12
  79. package/dist/tsconfig.app.tsbuildinfo +1 -1
  80. package/dist/{use-ingredient-select-dialog-B4jFgJ5b.js → use-ingredient-select-dialog-B-jxV-79.js} +2 -2
  81. package/dist/{use-inventory-binding-dialog-20flYyGE.js → use-inventory-binding-dialog-BdTd5qPl.js} +2 -2
  82. package/dist/{use-template-enabled-locations-CpDMbAGF.js → use-template-enabled-locations-vFvaCjlH.js} +2 -2
  83. package/dist/{useHrmPermission-CZW6u2TS.js → useHrmPermission-CekUhyck.js} +4 -4
  84. package/dist/useNavigationMenu-BiLWMIip.js +162 -0
  85. package/dist/views/DefaultView.vue.d.ts +2 -0
  86. package/dist/{vue-i18n-CUrz9OVK.js → vue-i18n-C3_OsgSl.js} +372 -372
  87. package/dist/{xlsx-DBsOBE1z.js → xlsx-o7n1whCa.js} +398 -398
  88. package/dist/{xlsx.util-xziohm10.js → xlsx.util-D6nPboPW.js} +1 -1
  89. package/package.json +4 -4
  90. package/dist/App-Cb6qfRCz.js +0 -445
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as ne, computed as g, reactive as oe, resolveComponent as B, openBlock as a, createElementBlock as y, createVNode as m, withCtx as k, createElementVNode as n, toDisplayString as p, unref as i, createBlock as I, createCommentVNode as v, Fragment as E, renderList as C, nextTick as te } from "vue";
2
- import { a as le, y as ie, z as se, F as de } from "./app-SnX9gL_k.js";
3
- import { a as h, c as re } from "./number-gRrApZRj.js";
4
- import { u as ae } from "./use-inventory-binding-dialog-20flYyGE.js";
5
- import { b as z, c as G } from "./rules-CWFFr_mA.js";
6
- import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js";
2
+ import { a as le, t as ie, v as se, F as de } from "./app-B_zMegJc.js";
3
+ import { a as h, c as re } from "./number-iJAzDfmj.js";
4
+ import { u as ae } from "./use-inventory-binding-dialog-BdTd5qPl.js";
5
+ import { b as D, c as G } from "./rules-DefSKiUN.js";
6
+ import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js";
7
7
  import { useI18n as pe } from "@feedmepos/mf-common";
8
8
  const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-16" }, ve = { class: "flex items-center" }, be = { class: "flex-1 fm-typo-en-title-sm-600" }, _e = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, xe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, he = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, Ve = {
9
9
  class: "flex items-center",
@@ -23,10 +23,10 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
23
23
  }, Ne = {
24
24
  class: "flex items-center",
25
25
  style: { "min-height": "48px" }
26
- }, Me = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, ze = { class: "flex flex-col" }, De = { class: "w-[200px]" }, Ke = {
26
+ }, Me = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, De = { class: "flex flex-col" }, Ke = { class: "w-[200px]" }, $e = {
27
27
  key: 0,
28
28
  class: "w-[52px]"
29
- }, $e = { class: "flex flex-col gap-16" }, je = { class: "flex items-center" }, Le = { class: "flex-1 fm-typo-en-title-sm-600" }, Oe = { class: "flex flex-col" }, Ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, We = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, qe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, He = {
29
+ }, ze = { class: "flex flex-col gap-16" }, je = { class: "flex items-center" }, Le = { class: "flex-1 fm-typo-en-title-sm-600" }, Oe = { class: "flex flex-col" }, Ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, We = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, qe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, He = {
30
30
  class: "flex items-center w-full",
31
31
  style: { "min-height": "48px" }
32
32
  }, Je = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Qe = { class: "line-clamp-1 w-full" }, Xe = { class: "w-[150px]" }, Ze = {
@@ -45,8 +45,8 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
45
45
  enableIngredientGroup: { type: Boolean }
46
46
  },
47
47
  emits: ["update:modelValue", "click:pick-inventory-bindings"],
48
- setup(D, { emit: K }) {
49
- const { t: u } = pe(), x = le(), A = g(() => x.recipeById), w = g(() => x.skuById), $ = g(() => x.skuGroupById), s = D, b = K, R = g(() => ie({
48
+ setup(K, { emit: $ }) {
49
+ const { t: u } = pe(), x = le(), A = g(() => x.recipeById), w = g(() => x.skuById), z = g(() => x.skuGroupById), s = K, b = $, R = g(() => ie({
50
50
  parentId: s.id,
51
51
  bindings: s.modelValue,
52
52
  recipes: x.recipes.map((o) => o._id === s.id ? {
@@ -186,7 +186,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
186
186
  key: t.id,
187
187
  disabled: e.disabled,
188
188
  modelValue: +i(h)(t.amount ?? { amount: 1, precision: 0 }),
189
- rules: [i(z)(0), i(G)(-1)]
189
+ rules: [i(D)(0), i(G)(-1)]
190
190
  }, {
191
191
  default: k(({ invalid: V }) => {
192
192
  var _;
@@ -269,7 +269,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
269
269
  key: t.id,
270
270
  disabled: e.disabled,
271
271
  modelValue: +i(h)(t.amount ?? { amount: 1, precision: 0 }),
272
- rules: [i(z)(0), i(G)(0)]
272
+ rules: [i(D)(0), i(G)(0)]
273
273
  }, {
274
274
  default: k(({ invalid: V }) => {
275
275
  var _;
@@ -285,9 +285,9 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
285
285
  ])) : v("", !0),
286
286
  n("div", Ne, [
287
287
  n("div", Me, [
288
- n("div", ze, p((_ = $.value[t.id]) == null ? void 0 : _.name), 1)
288
+ n("div", De, p((_ = z.value[t.id]) == null ? void 0 : _.name), 1)
289
289
  ]),
290
- n("div", De, [
290
+ n("div", Ke, [
291
291
  m(c, {
292
292
  class: "w-full",
293
293
  disabled: e.disabled,
@@ -296,7 +296,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
296
296
  invalid: V
297
297
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
298
298
  ]),
299
- e.readonly ? v("", !0) : (a(), y("div", Ke, [
299
+ e.readonly ? v("", !0) : (a(), y("div", $e, [
300
300
  m(r, {
301
301
  disabled: e.disabled,
302
302
  type: "button",
@@ -314,7 +314,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
314
314
  }, 1032, ["disabled", "modelValue", "rules"]))), 128))
315
315
  ])
316
316
  ])) : v("", !0),
317
- n("div", $e, [
317
+ n("div", ze, [
318
318
  n("div", je, [
319
319
  n("div", Le, p(i(u)("inventory.inventoryBindings.ingredient")), 1),
320
320
  e.readonly ? v("", !0) : (a(), I(r, {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
2
2
  import { useI18n as p } from "@feedmepos/mf-common";
3
3
  import { components as u } from "@feedmepos/ui-library";
4
- import { F as r } from "./app-SnX9gL_k.js";
4
+ import { F as r } from "./app-B_zMegJc.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
2
- import { c as s } from "./number-gRrApZRj.js";
2
+ import { c as s } from "./number-iJAzDfmj.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { p as F, u as f } from "./app-SnX9gL_k.js";
1
+ import { m as F, u as f } from "./app-B_zMegJc.js";
2
2
  import { useCoreStore as v } from "@feedmepos/mf-common";
3
- import { ref as _, defineComponent as h, resolveComponent as p, openBlock as y, createElementBlock as g, renderSlot as k, createVNode as l, withCtx as S } from "vue";
3
+ import { ref as _, defineComponent as h, resolveComponent as l, openBlock as y, createElementBlock as g, renderSlot as k, createVNode as p, withCtx as S } from "vue";
4
4
  const m = F((e, t) => {
5
5
  const r = f(), s = v();
6
6
  return {
@@ -68,17 +68,17 @@ const I = { class: "flex items-center gap-8" }, $ = "Experience enhanced invento
68
68
  },
69
69
  setup(e) {
70
70
  return (t, r) => {
71
- const s = p("FmPill"), n = p("FmTooltip");
71
+ const s = l("FmPill"), n = l("FmTooltip");
72
72
  return y(), g("div", I, [
73
73
  k(t.$slots, "default"),
74
- l(n, {
74
+ p(n, {
75
75
  variant: "plain",
76
76
  placement: "top",
77
77
  content: $,
78
78
  "z-index": t.zIndex
79
79
  }, {
80
80
  default: S(() => [
81
- l(s, { variant: "premium" })
81
+ p(s, { variant: "premium" })
82
82
  ]),
83
83
  _: 1
84
84
  }, 8, ["z-index"])
@@ -1,9 +1,9 @@
1
- import { defineComponent as D, ref as A, computed as i, watch as H, resolveComponent as u, openBlock as S, createBlock as I, unref as c, createSlots as Y, withCtx as h, createElementVNode as N, normalizeClass as $, createVNode as m, normalizeStyle as U, Teleport as q, h as p } from "vue";
2
- import { u as E, a as K, B as j } from "./app-SnX9gL_k.js";
1
+ import { defineComponent as D, ref as A, computed as i, watch as H, resolveComponent as u, openBlock as S, createBlock as x, unref as c, createSlots as Y, withCtx as h, createElementVNode as N, normalizeClass as $, createVNode as m, normalizeStyle as U, Teleport as q, h as p } from "vue";
2
+ import { u as E, a as K, x as j } from "./app-B_zMegJc.js";
3
3
  import { u as G, _ as J } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
4
- import { useBreakpoints as O, useDialog as Q, useSnackbar as R, components as x } from "@feedmepos/ui-library";
5
- import { u as X } from "./vue-i18n-CUrz9OVK.js";
6
- import { a as C } from "./date2-CGqqJOqr.js";
4
+ import { useBreakpoints as O, useDialog as Q, useSnackbar as R, components as I } from "@feedmepos/ui-library";
5
+ import { u as X } from "./vue-i18n-C3_OsgSl.js";
6
+ import { a as C } from "./date2-BMCS_Dsc.js";
7
7
  const ie = /* @__PURE__ */ D({
8
8
  __name: "PublishView",
9
9
  setup(Z) {
@@ -25,7 +25,7 @@ const ie = /* @__PURE__ */ D({
25
25
  },
26
26
  { label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
27
27
  ]);
28
- async function B(e) {
28
+ async function V(e) {
29
29
  switch (e) {
30
30
  case "publish":
31
31
  _.open({
@@ -42,7 +42,7 @@ const ie = /* @__PURE__ */ D({
42
42
  break;
43
43
  }
44
44
  }
45
- const y = A(!1), V = [
45
+ const y = A(!1), B = [
46
46
  {
47
47
  value: "publish",
48
48
  label: t("inventory.publish.actions.publishAll")
@@ -60,7 +60,7 @@ const ie = /* @__PURE__ */ D({
60
60
  header: () => t("inventory.publish.columns.type"),
61
61
  enableSorting: !0,
62
62
  cell(e) {
63
- return p(x.FmChip, {
63
+ return p(I.FmChip, {
64
64
  color: "primary",
65
65
  label: e.row.original.type
66
66
  });
@@ -106,7 +106,7 @@ const ie = /* @__PURE__ */ D({
106
106
  },
107
107
  t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
108
108
  ),
109
- !o && !v ? p(x.FmButton, {
109
+ !o && !v ? p(I.FmButton, {
110
110
  class: "tertiary",
111
111
  variant: "secondary",
112
112
  icon: "sync",
@@ -146,10 +146,10 @@ const ie = /* @__PURE__ */ D({
146
146
  ];
147
147
  return (e, o) => {
148
148
  const a = u("FmChip"), v = u("FmTable"), r = u("FmCollapsibleTabs"), T = u("FmBottomSheet");
149
- return S(), I(J, {
149
+ return S(), x(J, {
150
150
  title: c(t)("inventory.publish.title"),
151
151
  actions: P.value,
152
- "onClick:action": B
152
+ "onClick:action": V
153
153
  }, Y({
154
154
  default: h(() => [
155
155
  N("div", {
@@ -170,7 +170,7 @@ const ie = /* @__PURE__ */ D({
170
170
  "page-size": L.value
171
171
  }, null, 8, ["style", "row-data", "loading", "page-size"])
172
172
  ], 2),
173
- (S(), I(q, { to: "body" }, [
173
+ (S(), x(q, { to: "body" }, [
174
174
  m(T, {
175
175
  "dismiss-away": "",
176
176
  modelValue: y.value,
@@ -179,7 +179,7 @@ const ie = /* @__PURE__ */ D({
179
179
  default: h(() => [
180
180
  m(r, {
181
181
  class: "pb-8",
182
- items: V,
182
+ items: B,
183
183
  "onUpdate:modelValue": o[0] || (o[0] = (b) => W(b))
184
184
  })
185
185
  ]),
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as b, computed as x, ref as f, onMounted as g, openBlock as n, createElementBlock as o, createElementVNode as t, toDisplayString as e, normalizeStyle as w, createTextVNode as u, Fragment as i, createCommentVNode as v, renderList as p } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { V as y } from "./app-SnX9gL_k.js";
4
- import { L as C } from "./lz-string-nX96TtT6.js";
3
+ import { P as y } from "./app-B_zMegJc.js";
4
+ import { L as C } from "./lz-string-0CgVsQoC.js";
5
5
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, P = { class: "text-right" }, D = { class: "header" }, O = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
6
+ const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "title" }, E = { class: "text-right" }, D = { class: "header" }, O = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
7
7
  key: 0,
8
8
  class: "sub-header"
9
- }, U = { class: "sub-header" }, V = { class: "address" }, q = { class: "purchase-body" }, I = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" }, z = { class: "text-right" }, J = { style: { "padding-top": "30px" } }, Q = { valign: "bottom" }, Z = { class: "header" }, j = { class: "caption" }, G = {
9
+ }, U = { class: "sub-header" }, q = { class: "address" }, I = { class: "purchase-body" }, V = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" }, z = { class: "text-right" }, J = { style: { "padding-top": "30px" } }, Q = { valign: "bottom" }, Z = { class: "header" }, j = { class: "caption" }, G = {
10
10
  class: "text-left",
11
11
  style: { width: "20%" }
12
12
  }, K = { class: "text-left" }, W = {
@@ -33,17 +33,17 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
33
33
  const s = f(JSON.parse(c));
34
34
  return g(async () => {
35
35
  setTimeout(() => window.print(), 500);
36
- }), (et, l) => (n(), o("div", R, [
36
+ }), (et, l) => (n(), o("div", P, [
37
37
  t("table", null, [
38
- t("tr", A, [
38
+ t("tr", R, [
39
39
  t("td", null, [
40
- t("div", E, e(s.value.title ?? "Inventory Order"), 1),
40
+ t("div", A, e(s.value.title ?? "Inventory Order"), 1),
41
41
  t("div", null, "Ref: " + e(s.value.ref), 1),
42
42
  t("div", {
43
43
  style: w({ color: _.value })
44
44
  }, e(s.value.status), 5)
45
45
  ]),
46
- t("td", P, [
46
+ t("td", E, [
47
47
  t("div", D, "ORD #" + e(s.value.orderNumber), 1),
48
48
  t("div", null, e(s.value.createdAt), 1)
49
49
  ])
@@ -73,7 +73,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
73
73
  l[9] || (l[9] = t("div", { class: "header" }, "Delivery To", -1)),
74
74
  s.value.buyer.legalName ? (n(), o("div", L, e(s.value.buyer.legalName), 1)) : v("", !0),
75
75
  t("div", U, e(s.value.buyer.name), 1),
76
- t("div", V, [
76
+ t("div", q, [
77
77
  u(e(s.value.buyer.line1), 1),
78
78
  l[6] || (l[6] = t("br", null, null, -1)),
79
79
  s.value.buyer.line2 ? (n(), o(i, { key: 0 }, [
@@ -88,7 +88,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
88
88
  ])
89
89
  ])
90
90
  ]),
91
- t("div", q, [
91
+ t("div", I, [
92
92
  t("table", null, [
93
93
  l[10] || (l[10] = t("thead", { class: "item-header" }, [
94
94
  t("tr", null, [
@@ -113,7 +113,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
113
113
  ], -1)),
114
114
  t("tbody", null, [
115
115
  (n(!0), o(i, null, p(s.value.items, (r, a) => (n(), o("tr", { key: a }, [
116
- t("td", I, e(r.code), 1),
116
+ t("td", V, e(r.code), 1),
117
117
  t("td", B, e(r.description), 1),
118
118
  t("td", H, e(r.quantity), 1),
119
119
  t("td", M, e(r.unit), 1),
@@ -1,36 +1,36 @@
1
1
  import { computed as E, h as H, defineComponent as ne, openBlock as g, createElementBlock as D, Fragment as ae, renderList as be, createElementVNode as o, toDisplayString as I, unref as e, resolveComponent as P, createVNode as m, withCtx as O, createCommentVNode as Q, ref as q, createBlock as oe, watch as xe, normalizeClass as Z, normalizeStyle as yt, onMounted as Ye, createTextVNode as Ce, reactive as Vt, mergeProps as Qe, isRef as ge, createSlots as Pt, Teleport as Rt, normalizeProps as Ot, guardReactiveProps as At } from "vue";
2
- import { w as ce, v as me, h as bt, V as Mt, G as Et, u as Ke, a as Xe, W as qt, X as Ut, x as Nt, A as gt, m as Me } from "./app-SnX9gL_k.js";
3
- import { i as ct, _ as Bt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-E9FFFhwx.js";
4
- import { u as zt, a as Lt, P as He, b as jt, _ as Ht, c as Qt, g as Yt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CKfs-ns0.js";
5
- import { a as he, d as Se, c as Kt } from "./number-gRrApZRj.js";
6
- import { _ as _t, u as Xt, i as Zt } from "./PremiumBadge.vue_vue_type_script_setup_true_lang--gt60IlU.js";
7
- import { d as mt } from "./dayjs.min-JnfBpNSN.js";
8
- import { e as Wt } from "./export-DUsFBcmf.js";
2
+ import { r as ce, q as me, e as bt, P as Mt, B as Et, u as Ke, a as Xe, Q as qt, T as Ut, s as Nt, w as gt, U as Me } from "./app-B_zMegJc.js";
3
+ import { i as ct, _ as Bt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CK1ha_AY.js";
4
+ import { u as zt, a as Lt, P as He, b as jt, _ as Ht, c as Qt, g as Yt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BLlg1Vka.js";
5
+ import { a as he, d as Se, c as Kt } from "./number-iJAzDfmj.js";
6
+ import { _ as _t, u as Xt, i as Zt } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-ChC9sEIk.js";
7
+ import { d as mt } from "./dayjs.min-Dl26OaXo.js";
8
+ import { e as Wt } from "./export-CGvyGmeo.js";
9
9
  import { u as Jt } from "./useTabStorage-BkIVScW_.js";
10
10
  import { u as Gt, _ as eo } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
11
11
  import { useBreakpoints as Ze, components as ye, FmButtonVariant as to, useSnackbar as we, useDialog as oo, useProxiedModel as ht } from "@feedmepos/ui-library";
12
12
  import { F as Te } from "./form-mode.enum-BKiNVH6A.js";
13
- import { R as Ve, A as qe, M as so, c as pt, B as ao } from "./rules-CWFFr_mA.js";
14
- import { _ as ro, a as lo, b as no, F as io } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js";
15
- import { u as We } from "./feature-gkhmly57.js";
16
- import { u as Ue } from "./netsuite-DQkJKCH9.js";
17
- import { F as Ee, P as uo } from "./inventory-core-dart.default-Bu1oVkLC.js";
13
+ import { R as Ve, A as qe, M as so, c as pt, B as ao } from "./rules-DefSKiUN.js";
14
+ import { _ as ro, a as lo, b as no, F as io } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js";
15
+ import { u as We } from "./feature-Do41WWzx.js";
16
+ import { u as Ue } from "./netsuite-Du7-sXJt.js";
17
+ import { F as Ee, P as uo } from "./inventory-core-dart.default-B64FzAla.js";
18
18
  import { useI18n as _e } from "@feedmepos/mf-common";
19
- import { u as co } from "./surcharge-CcvvfLHB.js";
20
- import { a as mo } from "./FmMultiselectDialog-uFZKKIiO.js";
19
+ import { u as co } from "./surcharge-D77J5opH.js";
20
+ import { a as mo } from "./FmMultiselectDialog-_gUuhudi.js";
21
21
  import { F as pe, _ as xt } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
22
- import { u as kt } from "./supplier-DbYagMhS.js";
23
- import { b as Je, e as po, g as fo, c as vo } from "./date2-CGqqJOqr.js";
24
- import { u as yo, _ as bo } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DstxeP1q.js";
22
+ import { u as kt } from "./supplier-CU3iqdGr.js";
23
+ import { b as Je, e as po, g as fo, c as vo } from "./date2-BMCS_Dsc.js";
24
+ import { u as yo, _ as bo } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bqj_Ygmo.js";
25
25
  import { _ as go } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
26
- import { a as Ct } from "./format-unit-display-DXs_-yEW.js";
27
- import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-ha60Wy7z.js";
28
- import { u as _o } from "./vue-i18n-CUrz9OVK.js";
29
- import { s as ho, r as xo } from "./xlsx.util-xziohm10.js";
26
+ import { a as Ct } from "./format-unit-display-D8qWmRXP.js";
27
+ import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-CZ3Q3BAf.js";
28
+ import { u as _o } from "./vue-i18n-C3_OsgSl.js";
29
+ import { s as ho, r as xo } from "./xlsx.util-D6nPboPW.js";
30
30
  import { F as ko } from "./FmDroppableField-J0xUsOTV.js";
31
- import { d as Co } from "./defineDeepModel-CUJCBuvw.js";
31
+ import { d as Co } from "./defineDeepModel-BvLlwxnd.js";
32
32
  import { P as So, J as wo } from "./app-DiX-EfV6.js";
33
- import { f as Fo } from "./predefined-templates-D9bzSOz_.js";
33
+ import { f as Fo } from "./predefined-templates-LlSrXOXm.js";
34
34
  var te = /* @__PURE__ */ ((b) => (b.Code = "Code", b.Name = "Name", b.TemplateName = "TemplateName", b.Amount = "Amount", b.Cost = "Cost", b.TotalCost = "TotalCost", b.Delete = "Delete", b))(te || {});
35
35
  const $o = () => H(
36
36
  _t,
@@ -1,30 +1,30 @@
1
- import { defineComponent as W, ref as G, onMounted as Ce, resolveComponent as A, openBlock as x, createElementBlock as R, Fragment as oe, createElementVNode as y, toDisplayString as N, createVNode as V, createCommentVNode as E, computed as S, watch as le, unref as d, normalizeClass as he, withCtx as K, h as O, createBlock as D, renderList as ae, isRef as ve, normalizeStyle as Ie, Teleport as Ae, normalizeProps as Re, guardReactiveProps as Se } from "vue";
2
- import { a as Y, c as me, S as $e, F as ie, y as Ee, z as Te, k as ye, u as Ue } from "./app-SnX9gL_k.js";
1
+ import { defineComponent as W, ref as G, onMounted as Ce, resolveComponent as A, openBlock as x, createElementBlock as R, Fragment as oe, createElementVNode as y, toDisplayString as z, createVNode as V, createCommentVNode as E, computed as S, watch as le, unref as d, normalizeClass as he, withCtx as K, h as O, createBlock as D, renderList as ae, isRef as ve, normalizeStyle as Ie, Teleport as Ae, normalizeProps as Re, guardReactiveProps as Se } from "vue";
2
+ import { a as Y, c as me, S as $e, F as ie, t as Ee, v as Te, i as ye, u as Ue } from "./app-B_zMegJc.js";
3
3
  import { useDialog as ce, useSnackbar as pe, components as ee, useProxiedModel as be, useBreakpoints as Pe } from "@feedmepos/ui-library";
4
4
  import { i as De, _ as Ge } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
- import { F as z } from "./form-mode.enum-BKiNVH6A.js";
6
- import { _ as Ve } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-B2vMgXVZ.js";
7
- import { defineStore as Me, storeToRefs as ze } from "pinia";
5
+ import { F as N } from "./form-mode.enum-BKiNVH6A.js";
6
+ import { _ as Ve } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-DLJnF4do.js";
7
+ import { defineStore as Me, storeToRefs as Ne } from "pinia";
8
8
  import { D as ge, R as te } from "./row-action.enum-Co_O4qD9.js";
9
- import { c as Ne } from "./component-kqxARxvM.js";
10
- import { a as j, c as ke } from "./number-gRrApZRj.js";
9
+ import { c as ze } from "./component-kqxARxvM.js";
10
+ import { a as j, c as ke } from "./number-iJAzDfmj.js";
11
11
  import { useI18n as Q, useCoreStore as Ke } from "@feedmepos/mf-common";
12
12
  import { u as Le, _ as Oe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
13
- import { b as xe, c as fe, I as je, A as de, U as Be, R as Ye } from "./rules-CWFFr_mA.js";
14
- import { _ as qe } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhPu_GyE.js";
15
- import { a as re } from "./FmMultiselectDialog-uFZKKIiO.js";
16
- import { d as we } from "./defineDeepModel-CUJCBuvw.js";
13
+ import { b as xe, c as fe, I as je, A as de, U as Be, R as Ye } from "./rules-DefSKiUN.js";
14
+ import { _ as qe } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-7NeE7Xos.js";
15
+ import { a as re } from "./FmMultiselectDialog-_gUuhudi.js";
16
+ import { d as we } from "./defineDeepModel-BvLlwxnd.js";
17
17
  import { L as He, P as Je, D as We } from "./app-DiX-EfV6.js";
18
- import { _ as Qe, c as Xe, d as Ze } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js";
19
- import { u as en } from "./FmMultiselectDialog-3uKA-o0f.js";
20
- import { u as nn } from "./vue-i18n-CUrz9OVK.js";
21
- import { F as tn } from "./inventory-core-dart.default-Bu1oVkLC.js";
18
+ import { _ as Qe, c as Xe, d as Ze } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js";
19
+ import { u as en } from "./FmMultiselectDialog-BazT9oUX.js";
20
+ import { u as nn } from "./vue-i18n-C3_OsgSl.js";
21
+ import { F as tn } from "./inventory-core-dart.default-B64FzAla.js";
22
22
  import { _ as on } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
23
- import { u as ln } from "./feature-gkhmly57.js";
23
+ import { u as ln } from "./feature-Do41WWzx.js";
24
24
  import { _ as sn, F as _e } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
25
- import { b as an, d as rn } from "./xlsx.util-xziohm10.js";
26
- import { f as dn } from "./date2-CGqqJOqr.js";
27
- import { _ as un } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-E9FFFhwx.js";
25
+ import { b as an, d as rn } from "./xlsx.util-D6nPboPW.js";
26
+ import { f as dn } from "./date2-BMCS_Dsc.js";
27
+ import { _ as un } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CK1ha_AY.js";
28
28
  const mn = {
29
29
  key: 0,
30
30
  class: "flex flex-col items-center w-full h-full gap-24"
@@ -48,7 +48,7 @@ const mn = {
48
48
  return (u, _) => {
49
49
  const t = A("FmSpacer"), n = A("FmCircularProgress");
50
50
  return x(), R(oe, null, [
51
- y("p", null, N(u.message), 1),
51
+ y("p", null, z(u.message), 1),
52
52
  c.value ? (x(), R("div", mn, [
53
53
  V(t),
54
54
  y("div", null, [
@@ -74,7 +74,7 @@ const mn = {
74
74
  function _() {
75
75
  const e = {
76
76
  recipe: {},
77
- mode: z.CREATE,
77
+ mode: N.CREATE,
78
78
  show: !0,
79
79
  "onUpdate:show"(i) {
80
80
  u.value.show = i;
@@ -85,7 +85,7 @@ const mn = {
85
85
  async function t(e) {
86
86
  const i = {
87
87
  recipe: me(e),
88
- mode: z.UPDATE,
88
+ mode: N.UPDATE,
89
89
  show: !0,
90
90
  "onUpdate:show"(r) {
91
91
  u.value.show = r;
@@ -191,7 +191,7 @@ function vn() {
191
191
  id: "action",
192
192
  header: "",
193
193
  cell(n) {
194
- return Ne(
194
+ return ze(
195
195
  [ge[te.Edit], ge[te.Delete]],
196
196
  (o) => {
197
197
  a(o, n.row.original.original);
@@ -495,7 +495,7 @@ const bn = { class: "flex flex-col" }, gn = { class: "flex flex-col gap-4" }, Fe
495
495
  content: o.displayName
496
496
  }, {
497
497
  default: K(() => [
498
- y("span", Bn, N(o.displayName), 1)
498
+ y("span", Bn, z(o.displayName), 1)
499
499
  ]),
500
500
  _: 1
501
501
  }, 8, ["content"])
@@ -527,7 +527,7 @@ const bn = { class: "flex flex-col" }, gn = { class: "flex flex-col gap-4" }, Fe
527
527
  color: "system-error-300",
528
528
  size: "sm"
529
529
  }),
530
- y("div", null, N(d(c)("inventory.inventoryBindings.circularError")), 1)
530
+ y("div", null, z(d(c)("inventory.inventoryBindings.circularError")), 1)
531
531
  ])) : E("", !0)
532
532
  ])
533
533
  ]),
@@ -838,7 +838,7 @@ const Sn = { class: "flex flex-col gap-16" }, $n = { class: "flex flex-col" }, E
838
838
  }), Un = { class: "border-1 mx-3 my-1 rounded-md" }, Pn = { class: "flex flex-col border-b border-fm-color-neutral-gray-100" }, Dn = {
839
839
  class: "flex items-center w-full",
840
840
  style: { "min-height": "48px" }
841
- }, Gn = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Mn = { class: "line-clamp-1 w-full" }, zn = { class: "w-[150px]" }, Nn = {
841
+ }, Gn = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Mn = { class: "line-clamp-1 w-full" }, Nn = { class: "w-[150px]" }, zn = {
842
842
  key: 0,
843
843
  class: "w-[52px]"
844
844
  }, Kn = { class: "flex flex-col px-12 pb-4" }, Ln = /* @__PURE__ */ W({
@@ -883,12 +883,12 @@ const Sn = { class: "flex flex-col gap-16" }, $n = { class: "flex flex-col" }, E
883
883
  content: t.displayName
884
884
  }, {
885
885
  default: K(() => [
886
- y("span", Mn, N(t.displayName), 1)
886
+ y("span", Mn, z(t.displayName), 1)
887
887
  ]),
888
888
  _: 1
889
889
  }, 8, ["content"])
890
890
  ]),
891
- y("div", zn, [
891
+ y("div", Nn, [
892
892
  V(Qe, {
893
893
  "model-value": { amount: d(a).amount, measurement: d(a).measurement },
894
894
  "onUpdate:modelValue": u,
@@ -898,7 +898,7 @@ const Sn = { class: "flex flex-col gap-16" }, $n = { class: "flex flex-col" }, E
898
898
  disabled: t.readonly
899
899
  }, null, 8, ["model-value", "unit", "disabled"])
900
900
  ]),
901
- t.readonly ? E("", !0) : (x(), R("div", Nn, [
901
+ t.readonly ? E("", !0) : (x(), R("div", zn, [
902
902
  V(e, {
903
903
  disabled: t.disabled,
904
904
  type: "button",
@@ -1077,7 +1077,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1077
1077
  }, 8, ["disabled", "model-value", "rules"]),
1078
1078
  ((U = v.recipeBindingConfig) == null ? void 0 : U.enabled) !== !1 ? (x(), R("div", jn, [
1079
1079
  y("div", Yn, [
1080
- y("div", qn, N(d(b)("inventory.inventoryBindings.recipe")), 1),
1080
+ y("div", qn, z(d(b)("inventory.inventoryBindings.recipe")), 1),
1081
1081
  v.readonly ? E("", !0) : (x(), D(T, {
1082
1082
  key: 0,
1083
1083
  variant: "secondary",
@@ -1090,7 +1090,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1090
1090
  ]),
1091
1091
  y("div", Hn, [
1092
1092
  y("div", Jn, [
1093
- y("div", Wn, N(d(b)("inventory.inventoryBindings.recipe")), 1),
1093
+ y("div", Wn, z(d(b)("inventory.inventoryBindings.recipe")), 1),
1094
1094
  w[5] || (w[5] = y("div", { class: "w-[200px]" }, null, -1)),
1095
1095
  v.recipeBindingConfig.ableToApplyRules ? (x(), R("div", Qn)) : E("", !0),
1096
1096
  v.readonly ? E("", !0) : (x(), R("div", Xn))
@@ -1112,7 +1112,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1112
1112
  ])) : E("", !0),
1113
1113
  v.enableIngredientGroup ? (x(), R("div", Zn, [
1114
1114
  y("div", et, [
1115
- y("div", nt, N(d(b)("inventory.inventoryBindings.ingredientGroup")), 1),
1115
+ y("div", nt, z(d(b)("inventory.inventoryBindings.ingredientGroup")), 1),
1116
1116
  v.readonly ? E("", !0) : (x(), D(T, {
1117
1117
  key: 0,
1118
1118
  variant: "secondary",
@@ -1125,7 +1125,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1125
1125
  ]),
1126
1126
  y("div", tt, [
1127
1127
  y("div", ot, [
1128
- y("div", it, N(d(b)("inventory.inventoryBindings.ingredientGroup")), 1),
1128
+ y("div", it, z(d(b)("inventory.inventoryBindings.ingredientGroup")), 1),
1129
1129
  w[6] || (w[6] = y("div", { class: "w-[200px]" }, null, -1)),
1130
1130
  w[7] || (w[7] = y("div", { class: "w-[52px]" }, null, -1))
1131
1131
  ]),
@@ -1145,11 +1145,11 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1145
1145
  color: "system-error-300",
1146
1146
  size: "sm"
1147
1147
  }),
1148
- y("div", null, N(d(b)("inventory.inventoryBindings.circularError")), 1)
1148
+ y("div", null, z(d(b)("inventory.inventoryBindings.circularError")), 1)
1149
1149
  ])) : E("", !0),
1150
1150
  y("div", at, [
1151
1151
  y("div", rt, [
1152
- y("div", dt, N((J = _.value[$.id]) == null ? void 0 : J.name), 1)
1152
+ y("div", dt, z((J = _.value[$.id]) == null ? void 0 : J.name), 1)
1153
1153
  ]),
1154
1154
  y("div", ut, [
1155
1155
  V(P, {
@@ -1180,7 +1180,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1180
1180
  ])) : E("", !0),
1181
1181
  y("div", ct, [
1182
1182
  y("div", pt, [
1183
- y("div", ft, N(d(b)("inventory.inventoryBindings.ingredient")), 1),
1183
+ y("div", ft, z(d(b)("inventory.inventoryBindings.ingredient")), 1),
1184
1184
  v.readonly ? E("", !0) : (x(), D(T, {
1185
1185
  key: 0,
1186
1186
  variant: "secondary",
@@ -1193,8 +1193,8 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1193
1193
  ]),
1194
1194
  y("div", vt, [
1195
1195
  y("div", yt, [
1196
- y("div", bt, N(d(b)("inventory.inventoryBindings.ingredient")), 1),
1197
- y("div", gt, N(d(b)("inventory.inventoryBindings.amount")), 1),
1196
+ y("div", bt, z(d(b)("inventory.inventoryBindings.ingredient")), 1),
1197
+ y("div", gt, z(d(b)("inventory.inventoryBindings.amount")), 1),
1198
1198
  w[8] || (w[8] = y("div", { class: "w-[52px]" }, null, -1)),
1199
1199
  (X = v.skuBindingConfig) != null && X.ableToApplyRules || (L = v.skuBindingConfig) != null && L.ableToConfigureAlternative ? (x(), R("div", _t)) : E("", !0)
1200
1200
  ]),
@@ -1377,7 +1377,7 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1377
1377
  _: 1
1378
1378
  })
1379
1379
  ]),
1380
- p.mode !== d(z).CREATE ? (x(), R("div", xt, [
1380
+ p.mode !== d(N).CREATE ? (x(), R("div", xt, [
1381
1381
  V(w, {
1382
1382
  label: "Show binded items",
1383
1383
  modelValue: s.value,
@@ -1416,27 +1416,27 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1416
1416
  props: {
1417
1417
  show: { type: Boolean },
1418
1418
  recipe: {},
1419
- mode: { default: z.READ }
1419
+ mode: { default: N.READ }
1420
1420
  },
1421
1421
  emits: ["update:show"],
1422
1422
  setup(f) {
1423
1423
  const B = f, b = Y(), c = pe(), { t: a } = Q(), u = be(B, "show"), _ = be(B, "recipe"), t = S(() => {
1424
1424
  switch (B.mode) {
1425
- case z.READ:
1425
+ case N.READ:
1426
1426
  return "";
1427
- case z.UPDATE:
1427
+ case N.UPDATE:
1428
1428
  return a("inventory.recipe.update.title");
1429
- case z.CREATE:
1429
+ case N.CREATE:
1430
1430
  return a("inventory.recipe.create.title");
1431
1431
  }
1432
1432
  return "";
1433
1433
  }), n = S(() => {
1434
1434
  switch (B.mode) {
1435
- case z.READ:
1435
+ case N.READ:
1436
1436
  return "";
1437
- case z.UPDATE:
1437
+ case N.UPDATE:
1438
1438
  return a("common.save");
1439
- case z.CREATE:
1439
+ case N.CREATE:
1440
1440
  return a("common.add");
1441
1441
  }
1442
1442
  return "";
@@ -1484,11 +1484,11 @@ const On = { class: "flex flex-col gap-24" }, jn = {
1484
1484
  }
1485
1485
  function m() {
1486
1486
  switch (B.mode) {
1487
- case z.READ:
1487
+ case N.READ:
1488
1488
  return;
1489
- case z.UPDATE:
1489
+ case N.UPDATE:
1490
1490
  return r();
1491
- case z.CREATE:
1491
+ case N.CREATE:
1492
1492
  return i();
1493
1493
  }
1494
1494
  }
@@ -1599,7 +1599,7 @@ function St() {
1599
1599
  const $t = { class: "flex flex-col py-8" }, Et = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Tt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ro = /* @__PURE__ */ W({
1600
1600
  __name: "RecipeView",
1601
1601
  setup(f) {
1602
- const B = Y(), b = S(() => B.recipes), c = Ue(), { createRecipe: a, updateRecipe: u } = ue(), { recipeDialogProps: _, recipeViewLoading: t } = ze(ue()), { columnDefs: n, formatRowData: o } = vn(), e = S(() => o(b.value));
1602
+ const B = Y(), b = S(() => B.recipes), c = Ue(), { createRecipe: a, updateRecipe: u } = ue(), { recipeDialogProps: _, recipeViewLoading: t } = Ne(ue()), { columnDefs: n, formatRowData: o } = vn(), e = S(() => o(b.value));
1603
1603
  ce(), pe(), G(!1);
1604
1604
  function i(I) {
1605
1605
  if (I === "add")