@feedmepos/mf-inventory-portal 1.2.40-dev.1 → 1.2.41-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 (69) hide show
  1. package/dist/{App-0DyZL1Fq.js → App-DpBuphD5.js} +3 -3
  2. package/dist/{ApprovalView-BmBq5TGO.js → ApprovalView-D_Mz00V5.js} +5 -5
  3. package/dist/{BindingsDialog-DtBdmYMs.js → BindingsDialog-B9TA9ZZY.js} +5 -5
  4. package/dist/{BindingsPicker-BAGxi1ZC.js → BindingsPicker-CR9Uxjc9.js} +9 -9
  5. package/dist/{BindingsTable-DKlb_qiS.js → BindingsTable-dbDs2NwO.js} +24 -24
  6. package/dist/{ClosingDraftView-CEmvLMPP.js → ClosingDraftView-DVVYxTKB.js} +8 -8
  7. package/dist/{ClosingHistoryView-DOmSMiGH.js → ClosingHistoryView-CHYpDDFT.js} +3 -3
  8. package/dist/{ClosingTemplateView-Bd1KfJL3.js → ClosingTemplateView-DaNlh-41.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-DoE0Bmx4.js → DeliveryOrderPrintPreview-yCn1OD3o.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-20eCsiTr.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtVesHcX.js} +4 -4
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js} +2 -2
  12. package/dist/{FmMultiselectDialog-ChsBeANW.js → FmMultiselectDialog-CMc30F6I.js} +2 -2
  13. package/dist/{FmMultiselectDialog-i1uk7uNx.js → FmMultiselectDialog-CtjcyINM.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BpT8OBQX.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BUSPNpYk.js} +3 -3
  15. package/dist/{ImportView-CCLgSwn2.js → ImportView-BX_xch8X.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-EHwf-vCH.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-q_olC3jj.js} +1 -1
  17. package/dist/{IngredientGroupView-BnEyAtcY.js → IngredientGroupView-AJdvDlFJ.js} +49 -49
  18. package/dist/{IngredientsView-DEN_EqXP.js → IngredientsView-DRROD_sO.js} +14 -14
  19. package/dist/{IntegrationView-Cu_gMMz_.js → IntegrationView-CiTRD2au.js} +12 -12
  20. package/dist/{InventoryBindingForm-COw2tcQC.js → InventoryBindingForm-Dms85LZH.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DIv_DrTj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-lEFUQ2_w.js} +4 -4
  22. package/dist/{InventoryBindingSummary-Csajkxbi.js → InventoryBindingSummary-BfZX5_8W.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BE9UFVFI.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BomlP6Zj.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Da6ffJym.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D7RBtyzX.js} +2 -2
  25. package/dist/{PublishView-qCcwOaJ8.js → PublishView-DbF3PA9M.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-m2n6OT7Z.js → PurchaseOrderPrintPreview-BU6R8JGC.js} +1 -1
  27. package/dist/{ReceiveRequestView-fhTKkIJA.js → ReceiveRequestView-vfmaiya2.js} +19 -19
  28. package/dist/{RecipeView-Bp_59G4J.js → RecipeView-DVzW6zmd.js} +8 -8
  29. package/dist/{StockView-Co_sOnjs.js → StockView-BEzn-FSm.js} +15 -15
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Npu98N-x.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BQRS3udz.js} +1 -1
  31. package/dist/{SupplierView-Bp4ez39s.js → SupplierView-BReSShn1.js} +11 -11
  32. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-JTXbmabq.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-1zS3tzCs.js} +2 -2
  33. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dn2j9Xls.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cemn-Ug7.js} +1 -1
  34. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BSOi6Bbh.js → TransferDetails.vue_vue_type_script_setup_true_lang-C0tj6lli.js} +825 -829
  35. package/dist/{TransferTemplateView-C5jzqjPy.js → TransferTemplateView-BDG3sK6k.js} +15 -15
  36. package/dist/{UnitView-XcXvbWUz.js → UnitView-DJTFfgjL.js} +6 -6
  37. package/dist/{WarehouseView-B37E963Z.js → WarehouseView-DubFaS2f.js} +5 -5
  38. package/dist/{WastageTemplateView-Dn2vSoCa.js → WastageTemplateView-DiSMEc_v.js} +14 -14
  39. package/dist/{app-CaXDnJ-Z.js → app-CUlBhkxz.js} +9 -9
  40. package/dist/app.js +1 -1
  41. package/dist/{closing-template-CgLIA5Fw.js → closing-template-BWeg3cTL.js} +1 -1
  42. package/dist/{date2-Dc5sFY0E.js → date2-DN8HBPbX.js} +1 -1
  43. package/dist/{dayjs.min-B-H7eU1F.js → dayjs.min-DHDLxEZW.js} +1 -1
  44. package/dist/{decimal-BEqE-6GW.js → decimal-X9ish62l.js} +2 -2
  45. package/dist/{defineDeepModel-CXxtm-xp.js → defineDeepModel-Dn4y4CxX.js} +1 -1
  46. package/dist/{duplicate-template-BX6XhNvd.js → duplicate-template-B983w6th.js} +1 -1
  47. package/dist/{feature-BsDnCbpL.js → feature-DWuObhYe.js} +2 -2
  48. package/dist/{format-time-from-id-Dhlv9sZk.js → format-time-from-id-CDhd-ckL.js} +1 -1
  49. package/dist/{format-unit-display-B1WhMzNf.js → format-unit-display-DnNolGa4.js} +11 -11
  50. package/dist/{import-export.helper-DaGtyevy.js → import-export.helper-QIjnplqi.js} +5 -5
  51. package/dist/{index-CikPk76E.js → index-B1t4VoE7.js} +1 -1
  52. package/dist/{index-B2ziwUTD.js → index-Bn2eD2Uz.js} +1 -1
  53. package/dist/{index-CqbsiJk1.js → index-CTPXOs5C.js} +3 -3
  54. package/dist/{lodash-rwAZ9bXl.js → lodash-DqIHoo57.js} +1 -1
  55. package/dist/{netsuite-SdH9FL9h.js → netsuite-B2mPfmMi.js} +1751 -1666
  56. package/dist/{purchase-order-template-Daxs7lNG.js → purchase-order-template-dibdUdwo.js} +1 -1
  57. package/dist/{rules-81GqVkEm.js → rules-BTvX30Wt.js} +3 -3
  58. package/dist/{stock-BEmy7_Qs.js → stock-CXHSIeqr.js} +1 -1
  59. package/dist/{stock-CpYHrEjC.js → stock-JJC2cioJ.js} +3 -3
  60. package/dist/stores/inventory.d.ts +1 -1
  61. package/dist/{supplier-Bw4fRGiq.js → supplier-ChOjxalb.js} +2 -2
  62. package/dist/tsconfig.app.tsbuildinfo +1 -1
  63. package/dist/{use-ingredient-select-dialog-CGTZ9UUP.js → use-ingredient-select-dialog-BPlCWbt9.js} +2 -2
  64. package/dist/{use-inventory-binding-dialog-CUh7aMb7.js → use-inventory-binding-dialog-n6m07Y2O.js} +2 -2
  65. package/dist/{use-template-enabled-locations-2-2oPspMus.js → use-template-enabled-locations-2-D49x4b9_.js} +2 -2
  66. package/dist/{vue-i18n-Di6nYtv0.js → vue-i18n-lgz-Dtpa.js} +321 -321
  67. package/dist/{xlsx-DXn_bv49.js → xlsx-Bk05m86l.js} +1 -1
  68. package/dist/{xlsx.util-BawfHUuI.js → xlsx.util-VJnrD8a7.js} +1 -1
  69. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  import { ref as B, onUnmounted as D, defineComponent as w, watch as L, onMounted as M, computed as P, resolveComponent as y, openBlock as R, createElementBlock as A, unref as T, createVNode as g, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
2
- import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-CaXDnJ-Z.js";
2
+ import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-CUlBhkxz.js";
3
3
  import { useCoreStore as U, useI18n as k } from "@feedmepos/mf-common";
4
4
  import { useRouter as O, useRoute as j } from "vue-router";
5
- import { u as H } from "./feature-BsDnCbpL.js";
6
- import { u as z } from "./netsuite-SdH9FL9h.js";
5
+ import { u as H } from "./feature-DWuObhYe.js";
6
+ import { u as z } from "./netsuite-B2mPfmMi.js";
7
7
  import { u as Q } from "./useTabStorage-BkIVScW_.js";
8
8
  import { u as Y } from "./googlemap-Dm8ERVai.js";
9
9
  function q() {
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as k, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
2
- import { u as De, m as b } from "./app-CaXDnJ-Z.js";
3
- import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js";
4
- import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BSOi6Bbh.js";
5
- import { d as Z } from "./date2-Dc5sFY0E.js";
2
+ import { u as De, m as b } from "./app-CUlBhkxz.js";
3
+ import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
4
+ import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-C0tj6lli.js";
5
+ import { d as Z } from "./date2-DN8HBPbX.js";
6
6
  import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
7
7
  import { _ as ke, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
8
8
  import { useBreakpoints as qe } from "@feedmepos/ui-library";
9
9
  import { useI18n as we } from "@feedmepos/mf-common";
10
10
  import { N as Pe, H as Ne } from "./app-uBuHtW8m.js";
11
- import { u as Te } from "./netsuite-SdH9FL9h.js";
11
+ import { u as Te } from "./netsuite-B2mPfmMi.js";
12
12
  const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
13
13
  key: 0,
14
14
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DIv_DrTj.js";
3
- import { a as L, ae as S } from "./app-CaXDnJ-Z.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-lEFUQ2_w.js";
3
+ import { a as L, ae as S } from "./app-CUlBhkxz.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
7
7
  }, E = {
8
8
  key: 1,
9
9
  class: "p-24 flex items-center justify-center gap-16"
10
- }, A = /* @__PURE__ */ C({
10
+ }, D = /* @__PURE__ */ C({
11
11
  __name: "BindingsDialog",
12
12
  setup(N) {
13
13
  const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
14
14
  async function y() {
15
- await p.fetchData(), u.value = t.onMessage("props:inventory-bindings", (e) => {
15
+ await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
16
16
  d.value = !1, s.value = e;
17
17
  }).onMessage("props:inventory-bindings:validate", () => {
18
18
  var e;
@@ -90,5 +90,5 @@ const U = {
90
90
  }
91
91
  });
92
92
  export {
93
- A as default
93
+ D as default
94
94
  };
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M } from "./FmMultiselectDialog-ChsBeANW.js";
3
- import { a as x, ae as z } from "./app-CaXDnJ-Z.js";
2
+ import { a as M } from "./FmMultiselectDialog-CMc30F6I.js";
3
+ import { a as x, ae as z } from "./app-CUlBhkxz.js";
4
4
  const F = {
5
5
  key: 0,
6
6
  class: "flex flex-col gap-16"
7
7
  }, K = { class: "flex justify-end gap-8 items-center" }, w = {
8
8
  key: 1,
9
9
  class: "p-24 flex items-center justify-center gap-16"
10
- }, N = /* @__PURE__ */ S({
10
+ }, A = /* @__PURE__ */ S({
11
11
  __name: "BindingsPicker",
12
- setup(h) {
13
- const d = x(), C = r(() => d.recipes), B = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? B.value.map((s) => ({
12
+ setup(L) {
13
+ const d = x(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
14
14
  label: s.name,
15
15
  sublabel: s.code,
16
16
  value: s
@@ -63,9 +63,9 @@ const F = {
63
63
  ];
64
64
  }
65
65
  }
66
- }), _ = l(), o = z(I);
67
- async function I() {
68
- await d.fetchData(), _.value = o.onMessage(
66
+ }), _ = l(), o = z(B);
67
+ async function B() {
68
+ await d.readInventory(), _.value = o.onMessage(
69
69
  "props:binding-items",
70
70
  (e) => {
71
71
  g.value = !1, a.value = e.type, i.value = e.bindings;
@@ -120,5 +120,5 @@ const F = {
120
120
  }
121
121
  });
122
122
  export {
123
- N as default
123
+ A as default
124
124
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as x, ref as r, provide as C, computed as v, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as N, createElementVNode as p, toDisplayString as g, createVNode as w, withModifiers as I, onMounted as E, onUnmounted as z, createBlock as D } from "vue";
2
- import { F as b, a as M, ae as P } from "./app-CaXDnJ-Z.js";
3
- import "./dayjs.min-B-H7eU1F.js";
1
+ import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
2
+ import { F as b, a as P, ae as R } from "./app-CUlBhkxz.js";
3
+ import "./dayjs.min-DHDLxEZW.js";
4
4
  import "@feedmepos/ui-library";
5
5
  /* empty css */
6
6
  import "@feedmepos/mf-common";
7
7
  import "./app-uBuHtW8m.js";
8
- import "./lodash-rwAZ9bXl.js";
9
- const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
8
+ import "./lodash-DqIHoo57.js";
9
+ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
10
10
  __name: "binding-ui",
11
11
  props: {
12
12
  items: { default: () => [] },
@@ -17,23 +17,23 @@ const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
17
17
  },
18
18
  emits: ["click:open-binding-dialog"],
19
19
  setup(_, { emit: a }) {
20
- const c = r({
20
+ const d = r({
21
21
  isOpen: !1,
22
22
  initialValue: [],
23
23
  context: "",
24
24
  name: ""
25
25
  });
26
26
  C("closeDialog", () => {
27
- c.value.isOpen = !c.value.isOpen;
27
+ d.value.isOpen = !d.value.isOpen;
28
28
  });
29
- const n = _, m = a, f = v(() => n.items.map((s) => ({
29
+ const n = _, m = a, f = g(() => n.items.map((s) => ({
30
30
  key: s.key,
31
31
  name: s.name,
32
32
  _skuLinked: s.bindings.filter(
33
- ({ type: t, id: e }) => t === b.enum.SKU && n.skus.some((d) => d._id === e)
33
+ ({ type: t, id: e }) => t === b.enum.SKU && n.skus.some((c) => c._id === e)
34
34
  ).length,
35
35
  _recipeLinked: s.bindings.filter(
36
- ({ type: t, id: e }) => t === b.enum.RECIPE && n.recipes.some((d) => d._id === e)
36
+ ({ type: t, id: e }) => t === b.enum.RECIPE && n.recipes.some((c) => c._id === e)
37
37
  ).length,
38
38
  onUpdate: async () => {
39
39
  n.editable && m("click:open-binding-dialog", n.type, s);
@@ -41,16 +41,16 @@ const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
41
41
  })));
42
42
  return (k, s) => {
43
43
  const t = h("FmButton");
44
- return l(), u("div", R, [
44
+ return l(), u("div", U, [
45
45
  s[0] || (s[0] = F('<div class="flex font-bold bg-[#F7F8FA]"><div class="flex-grow-0 flex-shrink-0 basis-5/12 py-8"></div><div class="flex-grow-0 flex-shrink-0 basis-3/12 py-8">Ingredient</div><div class="flex-grow-0 flex-shrink-0 basis-3/12 py-8">Recipe</div><div class="flex-grow-0 flex-shrink-0 basis-1/12 py-8"></div></div>', 1)),
46
- (l(!0), u(L, null, N(f.value, (e) => (l(), u("div", {
46
+ (l(!0), u(L, null, I(f.value, (e) => (l(), u("div", {
47
47
  key: e.key,
48
48
  class: "cursor-pointer flex border-t border-[rgba(17,32,47,0.15] items-center",
49
49
  onClick: e.onUpdate
50
50
  }, [
51
- p("div", O, g(e.name), 1),
52
- p("div", V, g(e._skuLinked ? `${e._skuLinked} linked` : "Not linked"), 1),
53
- p("div", S, g(e._recipeLinked ? `${e._recipeLinked} linked` : "Not linked"), 1),
51
+ p("div", O, v(e.name), 1),
52
+ p("div", V, v(e._skuLinked ? `${e._skuLinked} linked` : "Not linked"), 1),
53
+ p("div", S, v(e._recipeLinked ? `${e._recipeLinked} linked` : "Not linked"), 1),
54
54
  p("div", $, [
55
55
  w(t, {
56
56
  variant: "tertiary",
@@ -59,10 +59,10 @@ const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
59
59
  size: "md",
60
60
  disabled: !n.editable,
61
61
  type: "button",
62
- onClick: I(e.onUpdate, ["stop"])
62
+ onClick: N(e.onUpdate, ["stop"])
63
63
  }, null, 8, ["disabled", "onClick"])
64
64
  ])
65
- ], 8, U))), 128))
65
+ ], 8, D))), 128))
66
66
  ]);
67
67
  };
68
68
  }
@@ -72,16 +72,16 @@ const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
72
72
  }, W = /* @__PURE__ */ x({
73
73
  __name: "BindingsTable",
74
74
  setup(_) {
75
- const a = M(), c = r(!0), n = r(new Array()), m = v(() => a.recipes), f = v(() => a.skus), k = r(""), s = P(e), t = r();
75
+ const a = P(), d = r(!0), n = r(new Array()), m = g(() => a.recipes), f = g(() => a.skus), k = r(""), s = R(e), t = r();
76
76
  async function e() {
77
- await a.fetchData(), t.value = s.onMessage(
77
+ await a.readInventory(), t.value = s.onMessage(
78
78
  "props:grouped-bindings",
79
79
  (i) => {
80
- c.value = !1, n.value = i;
80
+ d.value = !1, n.value = i;
81
81
  }
82
82
  ), s.sendMessage("props:grouped-bindings");
83
83
  }
84
- async function d(i, o) {
84
+ async function c(i, o) {
85
85
  s.sendMessage("@click:open-binding-dialog", {
86
86
  key: i,
87
87
  binding: o
@@ -103,17 +103,17 @@ const R = { class: "" }, U = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
103
103
  ref_key: "resizeableRef",
104
104
  ref: y
105
105
  }, [
106
- c.value ? (l(), u("div", A, [
106
+ d.value ? (l(), u("div", A, [
107
107
  w(B, { size: "md" }),
108
108
  o[0] || (o[0] = p("div", null, "Loading bindings table...", -1))
109
- ])) : (l(), D(T, {
109
+ ])) : (l(), M(T, {
110
110
  key: 0,
111
111
  items: n.value,
112
112
  recipes: m.value,
113
113
  skus: f.value,
114
114
  type: k.value,
115
115
  editable: "",
116
- "onClick:openBindingDialog": d
116
+ "onClick:openBindingDialog": c
117
117
  }, null, 8, ["items", "recipes", "skus", "type"]))
118
118
  ], 512);
119
119
  };
@@ -2,17 +2,17 @@ import { defineComponent as Ee, ref as Y, computed as V, onMounted as qe, resolv
2
2
  import { F as vt, u as Pt, _ as Rt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
3
  import { useCoreStore as Mt, useI18n as gt } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as We, useDialog as Vt, useProxiedModel as Lt, components as be, useBreakpoints as Nt } from "@feedmepos/ui-library";
5
- import { o as Et, u as ze, H as O, s as M, I as yt, J as he, A as Qe, v as Me, c as zt, a as Ht } from "./app-CaXDnJ-Z.js";
5
+ import { o as Et, u as ze, H as O, s as M, I as yt, J as he, A as Qe, v as Me, c as zt, a as Ht } from "./app-CUlBhkxz.js";
6
6
  import { defineStore as bt, storeToRefs as Ot } from "pinia";
7
- import { d as Le, e as ht, f as Yt, a as ke } from "./date2-Dc5sFY0E.js";
8
- import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as kt, p as xt, m as Dt, l as Gt } from "./rules-81GqVkEm.js";
9
- import { b as qt, d as Wt } from "./xlsx.util-BawfHUuI.js";
10
- import { u as At } from "./stock-CpYHrEjC.js";
11
- import { u as Je } from "./stock-BEmy7_Qs.js";
7
+ import { d as Le, e as ht, f as Yt, a as ke } from "./date2-DN8HBPbX.js";
8
+ import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as kt, p as xt, m as Dt, l as Gt } from "./rules-BTvX30Wt.js";
9
+ import { b as qt, d as Wt } from "./xlsx.util-VJnrD8a7.js";
10
+ import { u as At } from "./stock-JJC2cioJ.js";
11
+ import { u as Je } from "./stock-CXHSIeqr.js";
12
12
  import { D as dt, R as Pe } from "./row-action.enum-BcW_L_nE.js";
13
13
  import { c as Zt, _ as Jt, F as Re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
14
- import { f as Xt } from "./format-time-from-id-Dhlv9sZk.js";
15
- import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js";
14
+ import { f as Xt } from "./format-time-from-id-CDhd-ckL.js";
15
+ import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
16
16
  import { E as ta } from "./empty-placeholder-wf6-BWE8.js";
17
17
  const He = Et((s, o) => {
18
18
  function e() {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as j, ref as f, computed as k, resolveComponent as w, openBlock as d, createElementBlock as y, createVNode as p, withModifiers as oe, withCtx as R, createElementVNode as n, toDisplayString as s, unref as a, Fragment as M, createTextVNode as H, createBlock as B, createCommentVNode as V, renderList as le, normalizeClass as ae, h as ne, onMounted as se, Teleport as ie } from "vue";
2
2
  import { F as ce, _ as re } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
3
  import { useI18n as z, useCoreStore as ue } from "@feedmepos/mf-common";
4
- import { D as G, A as S, u as de } from "./app-CaXDnJ-Z.js";
5
- import { _ as me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js";
4
+ import { D as G, A as S, u as de } from "./app-CUlBhkxz.js";
5
+ import { _ as me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
6
6
  import { useSnackbar as J, useDialog as ve } from "@feedmepos/ui-library";
7
- import { u as ye } from "./stock-BEmy7_Qs.js";
7
+ import { u as ye } from "./stock-CXHSIeqr.js";
8
8
  const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col gap-16" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _e = { class: "flex flex-col gap-8" }, be = { class: "fm-typo-en-body-md-600" }, he = { class: "flex flex-col gap-8" }, ke = { class: "fm-typo-en-body-md-600" }, xe = { class: "flex items-center gap-8 mb-8" }, De = {
9
9
  key: 2,
10
10
  class: "text-red-500 text-sm mt-2"
@@ -4,23 +4,23 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
4
4
  import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
5
5
  import { defineStore as Ve, storeToRefs as Ue } from "pinia";
6
6
  import { F as G } from "./form-mode.enum-BKiNVH6A.js";
7
- import { a as me } from "./closing-template-CgLIA5Fw.js";
8
- import { u as fe, c as Ne, a as ve, n as ot } from "./app-CaXDnJ-Z.js";
9
- import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-BawfHUuI.js";
7
+ import { a as me } from "./closing-template-BWeg3cTL.js";
8
+ import { u as fe, c as Ne, a as ve, n as ot } from "./app-CUlBhkxz.js";
9
+ import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-VJnrD8a7.js";
10
10
  import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
11
- import { f as Be, a as le } from "./date2-Dc5sFY0E.js";
11
+ import { f as Be, a as le } from "./date2-DN8HBPbX.js";
12
12
  import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
13
13
  import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
14
- import { f as rt } from "./format-time-from-id-Dhlv9sZk.js";
15
- import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dn2j9Xls.js";
16
- import { u as ct } from "./netsuite-SdH9FL9h.js";
17
- import { u as mt } from "./duplicate-template-BX6XhNvd.js";
18
- import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js";
19
- import { R as dt, A as pt } from "./rules-81GqVkEm.js";
20
- import { u as ft } from "./use-ingredient-select-dialog-CGTZ9UUP.js";
21
- import { d as vt } from "./defineDeepModel-CXxtm-xp.js";
22
- import { u as gt } from "./use-template-enabled-locations-2-2oPspMus.js";
23
- import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-JTXbmabq.js";
14
+ import { f as rt } from "./format-time-from-id-CDhd-ckL.js";
15
+ import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cemn-Ug7.js";
16
+ import { u as ct } from "./netsuite-B2mPfmMi.js";
17
+ import { u as mt } from "./duplicate-template-B983w6th.js";
18
+ import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
19
+ import { R as dt, A as pt } from "./rules-BTvX30Wt.js";
20
+ import { u as ft } from "./use-ingredient-select-dialog-BPlCWbt9.js";
21
+ import { d as vt } from "./defineDeepModel-Dn4y4CxX.js";
22
+ import { u as gt } from "./use-template-enabled-locations-2-D49x4b9_.js";
23
+ import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-1zS3tzCs.js";
24
24
  import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
25
25
  const ue = Ve(
26
26
  "closingTemplateTable",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, computed as f, ref as h, onMounted as _, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as g } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { L as y } from "./app-CaXDnJ-Z.js";
3
+ import { L as y } from "./app-CUlBhkxz.js";
4
4
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
6
6
  key: 0,
@@ -1,8 +1,8 @@
1
- import { I as O, u as D, t as P, M as A, P as E, y as w } from "./app-CaXDnJ-Z.js";
2
- import { a as C, t as R } from "./rules-81GqVkEm.js";
3
- import { u as z } from "./supplier-Bw4fRGiq.js";
1
+ import { I as O, u as D, t as P, M as A, P as E, y as w } from "./app-CUlBhkxz.js";
2
+ import { a as C, t as R } from "./rules-BTvX30Wt.js";
3
+ import { u as z } from "./supplier-ChOjxalb.js";
4
4
  import { computed as f, defineComponent as H, mergeModels as j, useModel as q, ref as x, resolveComponent as M, openBlock as L, createElementBlock as I, normalizeStyle as W, createElementVNode as U, createVNode as $, withCtx as Y, createBlock as V, createCommentVNode as N, Fragment as J, renderList as K, unref as g } from "vue";
5
- import { F as Q } from "./FmMultiselectDialog-ChsBeANW.js";
5
+ import { F as Q } from "./FmMultiselectDialog-CMc30F6I.js";
6
6
  function X(e, r, a) {
7
7
  var o;
8
8
  if (!!r.measurement === !!a && ((o = r.measurement) == null ? void 0 : o.id) === a)
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as I, computed as g, ref as z, resolveComponent as h, openBlock as n, createElementBlock as y, createVNode as _, withCtx as L, createElementVNode as f, toDisplayString as Y, unref as u, createBlock as p, createCommentVNode as w, Fragment as $, renderList as R, watch as E, mergeModels as O, useModel as C, renderSlot as H, normalizeClass as S } from "vue";
2
2
  import { useCoreStore as W, useI18n as P } from "@feedmepos/mf-common";
3
- import { u as q } from "./app-CaXDnJ-Z.js";
4
- import { d as U } from "./date2-Dc5sFY0E.js";
3
+ import { u as q } from "./app-CUlBhkxz.js";
4
+ import { d as U } from "./date2-DN8HBPbX.js";
5
5
  import { useBreakpoints as G } from "@feedmepos/ui-library";
6
6
  import { u as J, F as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
7
7
  import { b as A } from "./app-uBuHtW8m.js";
@@ -3,8 +3,8 @@ var De = (F, o, t) => o in F ? Ie(F, o, { enumerable: !0, configurable: !0, writ
3
3
  var me = (F, o, t) => De(F, typeof o != "symbol" ? o + "" : o, t);
4
4
  import { defineComponent as ge, computed as S, ref as L, watch as ke, openBlock as c, createElementBlock as h, normalizeStyle as j, Fragment as V, renderList as $, renderSlot as _e, createCommentVNode as O, useSlots as He, onMounted as $e, onUnmounted as Oe, reactive as q, resolveComponent as B, createElementVNode as I, createVNode as _, toDisplayString as ee, unref as H, createSlots as Ue, withCtx as w, createBlock as M, resolveDynamicComponent as fe, normalizeClass as he, withModifiers as Pe, Transition as Ee } from "vue";
5
5
  import { useDialogChild as Ke } from "@feedmepos/ui-library";
6
- import { y as be } from "./app-CaXDnJ-Z.js";
7
- import { d as Ne } from "./index-CikPk76E.js";
6
+ import { y as be } from "./app-CUlBhkxz.js";
7
+ import { d as Ne } from "./index-B1t4VoE7.js";
8
8
  /* empty css */
9
9
  import { useI18n as je } from "@feedmepos/mf-common";
10
10
  import { N as Ge, H as ye, b as ze } from "./app-uBuHtW8m.js";
@@ -1,7 +1,7 @@
1
1
  import { defineStore as p } from "pinia";
2
2
  import { useDialog as y } from "@feedmepos/ui-library";
3
3
  import { useI18n as v } from "@feedmepos/mf-common";
4
- import { a } from "./FmMultiselectDialog-ChsBeANW.js";
4
+ import { a } from "./FmMultiselectDialog-CMc30F6I.js";
5
5
  import { h as S } from "vue";
6
6
  const w = p("inventoryMultiSelectDialog", () => {
7
7
  const l = y(), { t: n } = v();
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, 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 j, 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 { l as fe } from "./lodash-rwAZ9bXl.js";
3
- import { s as D } from "./app-CaXDnJ-Z.js";
4
- import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-81GqVkEm.js";
2
+ import { l as fe } from "./lodash-DqIHoo57.js";
3
+ import { s as D } from "./app-CUlBhkxz.js";
4
+ import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-BTvX30Wt.js";
5
5
  import "@feedmepos/ui-library";
6
6
  function H() {
7
7
  return {
@@ -2,14 +2,14 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
2
2
  import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
3
  import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
5
- import { u as Xe } from "./feature-BsDnCbpL.js";
6
- import { a as ie } from "./app-CaXDnJ-Z.js";
7
- import "./dayjs.min-B-H7eU1F.js";
5
+ import { u as Xe } from "./feature-DWuObhYe.js";
6
+ import { a as ie } from "./app-CUlBhkxz.js";
7
+ import "./dayjs.min-DHDLxEZW.js";
8
8
  import "./app-uBuHtW8m.js";
9
- import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-BawfHUuI.js";
10
- import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-DaGtyevy.js";
9
+ import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-VJnrD8a7.js";
10
+ import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-QIjnplqi.js";
11
11
  import { r as nt } from "./random-CSbEbElR.js";
12
- import { d as Ae, a as pe } from "./rules-81GqVkEm.js";
12
+ import { d as Ae, a as pe } from "./rules-BTvX30Wt.js";
13
13
  import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
14
14
  function Ee() {
15
15
  return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
@@ -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 { a, f as y } from "./rules-81GqVkEm.js";
2
+ import { a, f as y } from "./rules-BTvX30Wt.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",