@feedmepos/mf-inventory-portal 0.0.23-dev.23 → 0.0.23-dev.25

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 (50) hide show
  1. package/dist/{App-BvEB-iR6.js → App-CNgj7enS.js} +49 -45
  2. package/dist/{ApprovalView-BmPYoGNQ.js → ApprovalView-CaVxfwVZ.js} +15 -15
  3. package/dist/{BindingsDialog-BqKMRdvl.js → BindingsDialog-jRZXoJFn.js} +9 -9
  4. package/dist/{BindingsPicker-BaEdafvS.js → BindingsPicker-B1HSa3PR.js} +5 -5
  5. package/dist/{BindingsTable--d-nM2Gv.js → BindingsTable-OF56C-md.js} +8 -8
  6. package/dist/ClosingDraftView-B6okKype.js +1134 -0
  7. package/dist/{ClosingTemplateView-BdUGSMOi.js → ClosingTemplateView-iX4shLcv.js} +251 -255
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIk6CwoD.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bj2M9OAD.js} +13 -13
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bt1hyXul.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CnPZaNTp.js} +46 -46
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-wYnVSXtH.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGpmbbpm.js} +7 -7
  11. package/dist/{IngredientGroupView-0-nzZJcl.js → IngredientGroupView-BeW-0hWb.js} +40 -40
  12. package/dist/{IngredientsView-ClRyZ-cb.js → IngredientsView-CuVBlnOu.js} +207 -210
  13. package/dist/{IntegrationView-CgmsV7oX.js → IntegrationView-lDfeScNo.js} +89 -90
  14. package/dist/{InventoryBindingForm-DnnGejy0.js → InventoryBindingForm-D6EuWIkE.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CapSS-KQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CUpKKG4l.js} +27 -27
  16. package/dist/{InventoryBindingSummary-Dz-F2ofe.js → InventoryBindingSummary-CD60iCr_.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-glXw963h.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-7jkFhj27.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DpIyyZL-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DDXsfGVf.js} +17 -18
  19. package/dist/{PurchaseOrderPrintPreview--hGI0aFU.js → PurchaseOrderPrintPreview-eJxn76Ir.js} +1 -1
  20. package/dist/{ReceiveRequestView-cPIOC0rj.js → ReceiveRequestView-D6Cdkd36.js} +26 -27
  21. package/dist/{RecipeView-BK74973y.js → RecipeView-BWy56DhW.js} +47 -48
  22. package/dist/{StockView-D6TYfv5x.js → StockView-BEXAvBjP.js} +7 -7
  23. package/dist/{SupplierView-BFwzHw7l.js → SupplierView-C4vwkzdX.js} +203 -206
  24. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-ChwtBdsS.js → TransferDetails.vue_vue_type_script_setup_true_lang-CIcj9NWg.js} +61 -62
  25. package/dist/{TransferTemplateView-De5sG12Q.js → TransferTemplateView-27Ng_EgG.js} +144 -145
  26. package/dist/{UnitView-CQoB6Uq_.js → UnitView-CXvkO_fh.js} +3 -3
  27. package/dist/{WarehouseView-Di4mLjoS.js → WarehouseView-Cl6HN1EW.js} +52 -52
  28. package/dist/app-Dt6Yd1pM.js +84133 -0
  29. package/dist/app.js +1 -1
  30. package/dist/{decimal-D2WMzK1d.js → decimal-D1M8NkLV.js} +1 -1
  31. package/dist/{feature-SYqA_m5m.js → feature-CqDcAtUy.js} +1 -1
  32. package/dist/{format-unit-display-D0G-LaQY.js → format-unit-display-BI9EVHb3.js} +50 -53
  33. package/dist/{index-Bj8PDCww.js → index-7V6E004u.js} +1 -1
  34. package/dist/{stock-CEexJdO3.js → stock-wjdjOqbM.js} +1 -1
  35. package/dist/style.css +1 -1
  36. package/dist/{supplier-BdB47EjI.js → supplier-D3-7dgm5.js} +1 -1
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/{use-inventory-binding-dialog-n3khDS2D.js → use-inventory-binding-dialog-BLHffZgi.js} +1 -1
  39. package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
  40. package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
  41. package/dist/views/adjustment-template/import/export.d.ts +60 -0
  42. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +178 -8
  43. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1498 -478
  44. package/package.json +3 -3
  45. package/dist/ClosingDraftView-Clh7bujC.js +0 -1116
  46. package/dist/FmDroppableField-DHhcKcJf.js +0 -154
  47. package/dist/app-DpJictvi.js +0 -58871
  48. package/dist/netsuite-TWj-9PDj.js +0 -251
  49. package/dist/xlsx-Cbd5szA2.js +0 -24004
  50. package/dist/xlsx.util-hCH_XTAD.js +0 -78
@@ -1,9 +1,8 @@
1
1
  import { ref as w, onUnmounted as F, defineComponent as h, watch as I, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as b, unref as v, createVNode as E, createElementVNode as p, toDisplayString as x, createBlock as U, createCommentVNode as M } from "vue";
2
- import { u as k, a as D, R as e, g as s, _ as H, b as K } from "./app-DpJictvi.js";
2
+ import { u as k, a as D, b as H, R as e, g as r, _ as K, c as W } from "./app-Dt6Yd1pM.js";
3
3
  import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
4
- import { useRouter as C, useRoute as W } from "vue-router";
5
- import { u as O } from "./feature-SYqA_m5m.js";
6
- import { u as $ } from "./netsuite-TWj-9PDj.js";
4
+ import { useRouter as C, useRoute as $ } from "vue-router";
5
+ import { u as O } from "./feature-CqDcAtUy.js";
7
6
  import { u as Q } from "./useTabStorage-BkIVScW_.js";
8
7
  import { u as j } from "./googlemap-Dm8ERVai.js";
9
8
  import "./array-hChJVZLE.js";
@@ -39,22 +38,22 @@ const J = {
39
38
  }, X = {
40
39
  key: 1,
41
40
  class: "flex flex-col pt-[200px] gap-32 items-center"
42
- }, Y = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Z = { class: "fm-typo-en-title-lg-600" }, ee = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, te = { class: "flex gap-16" }, oe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ne = { href: "https://feedme.ai/form" }, re = /* @__PURE__ */ h({
41
+ }, Y = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Z = { class: "fm-typo-en-title-lg-600" }, ee = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, te = { class: "flex gap-16" }, oe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ne = { href: "https://feedme.ai/form" }, se = /* @__PURE__ */ h({
43
42
  __name: "InventoryView",
44
43
  setup(l) {
45
- const n = k(), i = D(), u = $(), a = A(), c = C(), o = q(), y = O(), { t: d } = B();
44
+ const n = k(), i = D(), u = H(), a = A(), c = C(), o = q(), y = O(), { t: d } = B();
46
45
  I(
47
46
  [() => a.sessionUser.value, () => a.currentBusiness.value],
48
- ([t, r]) => {
49
- f(t, r);
47
+ ([t, s]) => {
48
+ f(t, s);
50
49
  }
51
50
  ), G(async () => {
52
51
  await a.readBusinesses();
53
- const t = a.sessionUser.value, r = a.currentBusiness.value;
54
- f(t, r);
52
+ const t = a.sessionUser.value, s = a.currentBusiness.value;
53
+ f(t, s);
55
54
  });
56
- function f(t, r) {
57
- !t || !r || T();
55
+ function f(t, s) {
56
+ !t || !s || T();
58
57
  }
59
58
  async function T() {
60
59
  return await n.init(), await u.readSetting().catch((t) => {
@@ -62,7 +61,7 @@ const J = {
62
61
  }), await i.init();
63
62
  }
64
63
  const N = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? y.enablePoTemplate : !0);
65
- return (t, r) => {
64
+ return (t, s) => {
66
65
  const m = R("FmSpacer"), P = R("FmCircularProgress"), L = R("FmButton"), V = R("RouterView");
67
66
  return S(), b("div", null, [
68
67
  v(o).isLoading ? (S(), b("div", J, [
@@ -70,7 +69,7 @@ const J = {
70
69
  p("div", null, [
71
70
  E(P, { size: "xl" })
72
71
  ]),
73
- r[0] || (r[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
72
+ s[0] || (s[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
74
73
  E(m)
75
74
  ])) : N.value ? v(a).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(), b("div", X, [
76
75
  p("div", Y, [
@@ -95,18 +94,18 @@ const J = {
95
94
  ]);
96
95
  };
97
96
  }
98
- }), se = { class: "h-full flex flex-col overflow-auto py-16" }, ae = /* @__PURE__ */ h({
97
+ }), re = { class: "h-full flex flex-col overflow-auto py-16" }, ae = /* @__PURE__ */ h({
99
98
  __name: "NavigationTab",
100
99
  setup(l) {
101
- const n = W(), i = C(), u = A(), a = O(), c = Q(), { t: o } = B();
102
- I([() => u.currentBusiness.value, () => n.name], ([t, r]) => {
103
- (t == null ? void 0 : t.menuVersion) === "v3" && (r === e.INGREDIENTS || r === e.RECIPE || r === e.UNIT) && i.push({ name: e.STOCK });
100
+ const n = $(), i = C(), u = A(), a = O(), c = Q(), { t: o } = B();
101
+ I([() => u.currentBusiness.value, () => n.name], ([t, s]) => {
102
+ (t == null ? void 0 : t.menuVersion) === "v3" && (s === e.INGREDIENTS || s === e.RECIPE || s === e.UNIT) && i.push({ name: e.STOCK });
104
103
  });
105
104
  const y = g(() => {
106
- var r;
105
+ var s;
107
106
  const t = [
108
107
  {
109
- label: s(e.STOCK, o),
108
+ label: r(e.STOCK, o),
110
109
  // icon: 'inventory_2',
111
110
  children: [
112
111
  {
@@ -114,36 +113,41 @@ const J = {
114
113
  value: e.STOCK
115
114
  },
116
115
  {
117
- label: s(e.CLOSING_TEMPLATE, o),
116
+ label: r(e.WASTAGE_TEMPLATE, o),
117
+ value: e.WASTAGE_TEMPLATE
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ label: "Closing",
123
+ children: [
124
+ {
125
+ label: r(e.CLOSING_TEMPLATE, o),
118
126
  value: e.CLOSING_TEMPLATE
119
127
  },
120
128
  {
121
- label: s(e.CLOSING_DRAFT, o),
129
+ label: r(e.CLOSING_DRAFT, o),
122
130
  value: e.CLOSING_DRAFT
123
- },
124
- {
125
- label: s(e.WASTAGE_TEMPLATE, o),
126
- value: e.WASTAGE_TEMPLATE
127
131
  }
128
132
  ]
129
133
  },
130
134
  {
131
- label: s(e.INGREDIENTS, o),
135
+ label: r(e.INGREDIENTS, o),
132
136
  // icon: 'grocery',
133
137
  value: e.INGREDIENTS
134
138
  },
135
139
  {
136
- label: s(e.INGREDIENT_GROUP, o),
140
+ label: r(e.INGREDIENT_GROUP, o),
137
141
  // icon: 'grocery',
138
142
  value: e.INGREDIENT_GROUP
139
143
  },
140
144
  {
141
- label: s(e.RECIPE, o),
145
+ label: r(e.RECIPE, o),
142
146
  // icon: 'weight',
143
147
  value: e.RECIPE
144
148
  },
145
149
  {
146
- label: s(e.UNIT, o),
150
+ label: r(e.UNIT, o),
147
151
  // icon: 'fastfood',
148
152
  value: e.UNIT
149
153
  },
@@ -152,38 +156,38 @@ const J = {
152
156
  // icon: 'swap_horiz',
153
157
  children: [
154
158
  {
155
- label: s(e.RECEIVE_REQUEST, o),
159
+ label: r(e.RECEIVE_REQUEST, o),
156
160
  value: e.RECEIVE_REQUEST
157
161
  },
158
162
  {
159
- label: s(e.APPROVAL, o),
163
+ label: r(e.APPROVAL, o),
160
164
  value: e.APPROVAL
161
165
  },
162
166
  ...a.enablePoTemplate ? [
163
167
  {
164
- label: s(e.TRANSFER_TEMPLATE, o),
168
+ label: r(e.TRANSFER_TEMPLATE, o),
165
169
  value: e.TRANSFER_TEMPLATE
166
170
  }
167
171
  ] : []
168
172
  ]
169
173
  },
170
174
  {
171
- label: s(e.SUPPLIER, o),
175
+ label: r(e.SUPPLIER, o),
172
176
  // icon: 'group',
173
177
  value: e.SUPPLIER
174
178
  },
175
179
  {
176
- label: s(e.WAREHOUSE, o),
180
+ label: r(e.WAREHOUSE, o),
177
181
  // icon: 'warehouse',
178
182
  value: e.WAREHOUSE
179
183
  },
180
184
  {
181
- label: s(e.INTEGRATION, o),
185
+ label: r(e.INTEGRATION, o),
182
186
  // icon: 'integration_instructions',
183
187
  value: e.INTEGRATION
184
188
  }
185
189
  ];
186
- return ((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) === "v3" ? t.filter(
190
+ return ((s = u.currentBusiness.value) == null ? void 0 : s.menuVersion) === "v3" ? t.filter(
187
191
  (m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT
188
192
  ) : t;
189
193
  }), d = g({
@@ -211,18 +215,18 @@ const J = {
211
215
  T.value = !1, setTimeout(() => {
212
216
  N.value = !c.getItem(f.value);
213
217
  }, 2e3);
214
- }), (t, r) => {
218
+ }), (t, s) => {
215
219
  const m = R("FmCollapsibleTabs");
216
- return S(), b("div", se, [
220
+ return S(), b("div", re, [
217
221
  E(m, {
218
222
  modelValue: d.value,
219
- "onUpdate:modelValue": r[0] || (r[0] = (P) => d.value = P),
223
+ "onUpdate:modelValue": s[0] || (s[0] = (P) => d.value = P),
220
224
  items: y.value
221
225
  }, null, 8, ["modelValue", "items"])
222
226
  ]);
223
227
  };
224
228
  }
225
- }), le = /* @__PURE__ */ H(ae, [["__scopeId", "data-v-fb8b7488"]]);
229
+ }), le = /* @__PURE__ */ K(ae, [["__scopeId", "data-v-4515fce1"]]);
226
230
  typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
227
231
  let l, n;
228
232
  return { promise: new Promise((u, a) => {
@@ -232,10 +236,10 @@ typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
232
236
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
233
237
  return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
234
238
  });
235
- const Ee = /* @__PURE__ */ h({
239
+ const _e = /* @__PURE__ */ h({
236
240
  __name: "App",
237
241
  setup(l) {
238
- const n = A(), i = j(), u = K();
242
+ const n = A(), i = j(), u = W();
239
243
  G(() => {
240
244
  if (window.location.href.includes("print-preview")) {
241
245
  n.setEmbedded(!0);
@@ -255,9 +259,9 @@ const Ee = /* @__PURE__ */ h({
255
259
  console.error("error when trying to reset businesses:", o);
256
260
  }
257
261
  }
258
- return (c, o) => (S(), U(re));
262
+ return (c, o) => (S(), U(se));
259
263
  }
260
264
  });
261
265
  export {
262
- Ee as default
266
+ _e as default
263
267
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as J, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as pe, mergeProps as ue } from "vue";
2
- import { u as me, aq as v, ay as de, a5 as K, p as fe, q as ve, r as _e, s as he, v as _ } from "./app-DpJictvi.js";
3
- import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-ChwtBdsS.js";
1
+ import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as J, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as ue, mergeProps as pe } from "vue";
2
+ import { u as me, ay as v, aI as de, ab as K, x as fe, y as ve, z as _e, B as he, E as _ } from "./app-Dt6Yd1pM.js";
3
+ import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CIcj9NWg.js";
4
4
  import { useBreakpoints as ye } from "@feedmepos/ui-library";
5
5
  import { useI18n as xe } from "@feedmepos/mf-common";
6
6
  const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Se = {
7
7
  key: 0,
8
8
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
9
- }, Te = { class: "pt-8" }, Ve = /* @__PURE__ */ ae({
9
+ }, Te = { class: "pt-8" }, Ye = /* @__PURE__ */ ae({
10
10
  __name: "ApprovalView",
11
11
  setup(Ce) {
12
12
  const o = De("approval"), { columnDefs: Q } = ge("approval", o), W = me();
@@ -85,7 +85,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
85
85
  onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
86
86
  }, {
87
87
  default: x((t) => {
88
- var O, S, T, i, C, q, z, M, p, $, F, u, V, m, Y, L, N, P, j, d, A, E, H, U, f, G;
88
+ var O, S, T, i, C, z, M, $, u, F, V, p, Y, m, q, E, L, N, P, d, j, A, H, U, f, G;
89
89
  return [
90
90
  s("div", we, [
91
91
  s("div", Re, [
@@ -96,20 +96,20 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
96
96
  ]),
97
97
  s("div", ke, [
98
98
  n(e(_), {
99
- render: (M = (z = (q = t.to_name) == null ? void 0 : q.column) == null ? void 0 : z.columnDef) == null ? void 0 : M.cell,
100
- props: ($ = (p = t.to_name) == null ? void 0 : p.getContext) == null ? void 0 : $.call(p)
99
+ render: ($ = (M = (z = t.to_name) == null ? void 0 : z.column) == null ? void 0 : M.columnDef) == null ? void 0 : $.cell,
100
+ props: (F = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : F.call(u)
101
101
  }, null, 8, ["render", "props"])
102
102
  ]),
103
- s("div", Oe, le((Y = (m = (V = (u = (F = r.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : u.map) == null ? void 0 : V.call(u, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : Y.call(m, ", ")), 1),
104
- (L = r.original.purchaseOrder) != null && L.ref ? (y(), ce("div", Se, [
103
+ s("div", Oe, le((q = (m = (Y = (p = (V = r.original.purchaseOrder) == null ? void 0 : V.items) == null ? void 0 : p.map) == null ? void 0 : Y.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : q.call(m, ", ")), 1),
104
+ (E = r.original.purchaseOrder) != null && E.ref ? (y(), ce("div", Se, [
105
105
  n(e(_), {
106
- render: (j = (P = (N = t.purchaseOrder_ref) == null ? void 0 : N.column) == null ? void 0 : P.columnDef) == null ? void 0 : j.cell,
107
- props: (A = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : A.call(d)
106
+ render: (P = (N = (L = t.purchaseOrder_ref) == null ? void 0 : L.column) == null ? void 0 : N.columnDef) == null ? void 0 : P.cell,
107
+ props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
108
108
  }, null, 8, ["render", "props"])
109
109
  ])) : ie("", !0),
110
110
  s("div", Te, [
111
111
  n(e(_), {
112
- render: (U = (H = (E = t.purchaseOrder_status) == null ? void 0 : E.column) == null ? void 0 : H.columnDef) == null ? void 0 : U.cell,
112
+ render: (U = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : U.cell,
113
113
  props: (G = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : G.call(f)
114
114
  }, null, 8, ["render", "props"])
115
115
  ])
@@ -122,8 +122,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
122
122
  _: 1
123
123
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
124
124
  ], 2),
125
- (y(), J(pe, { to: "body" }, [
126
- n(be, ue(e(o).transferDetailsProps.value, {
125
+ (y(), J(ue, { to: "body" }, [
126
+ n(be, pe(e(o).transferDetailsProps.value, {
127
127
  onSubmitted: e(o).fetchData
128
128
  }), null, 16, ["onSubmitted"])
129
129
  ]))
@@ -134,5 +134,5 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
134
134
  }
135
135
  });
136
136
  export {
137
- Ve as default
137
+ Ye as default
138
138
  };
@@ -1,16 +1,16 @@
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-CapSS-KQ.js";
3
- import { a as E, aE as L } from "./app-DpJictvi.js";
4
- const S = {
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CUpKKG4l.js";
3
+ import { a as L, aO as S } from "./app-Dt6Yd1pM.js";
4
+ const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
7
- }, U = {
7
+ }, E = {
8
8
  key: 1,
9
9
  class: "p-24 flex items-center justify-center gap-16"
10
- }, D = /* @__PURE__ */ C({
10
+ }, A = /* @__PURE__ */ C({
11
11
  __name: "BindingsDialog",
12
12
  setup(N) {
13
- const p = E(), d = o(!0), s = o(new Array()), u = o(), t = L(y);
13
+ const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
14
14
  async function y() {
15
15
  await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
16
16
  d.value = !1, s.value = e;
@@ -53,7 +53,7 @@ const S = {
53
53
  ref_key: "resizeableRef",
54
54
  ref: m
55
55
  }, [
56
- d.value ? (i(), c("div", U, [
56
+ d.value ? (i(), c("div", E, [
57
57
  a(h, { size: "md" }),
58
58
  n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
59
59
  ])) : (i(), I(B, {
@@ -70,7 +70,7 @@ const S = {
70
70
  "iframe-mode": "",
71
71
  "onClick:pickInventoryBindings": k
72
72
  }, null, 8, ["model-value"]),
73
- r.value ? z("", !0) : (i(), c("div", S, [
73
+ r.value ? z("", !0) : (i(), c("div", U, [
74
74
  a(g, {
75
75
  type: "button",
76
76
  variant: "tertiary",
@@ -90,5 +90,5 @@ const S = {
90
90
  }
91
91
  });
92
92
  export {
93
- D as default
93
+ A as default
94
94
  };
@@ -1,15 +1,15 @@
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 x, aE as M, x as z } from "./app-DpJictvi.js";
2
+ import { a as M, aO as x, H as z } from "./app-Dt6Yd1pM.js";
3
3
  const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
6
6
  }, K = { class: "flex justify-end gap-8 items-center" }, w = {
7
7
  key: 1,
8
8
  class: "p-24 flex items-center justify-center gap-16"
9
- }, N = /* @__PURE__ */ S({
9
+ }, H = /* @__PURE__ */ S({
10
10
  __name: "BindingsPicker",
11
11
  setup(L) {
12
- 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) => ({
12
+ const d = M(), 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) => ({
13
13
  label: s.name,
14
14
  sublabel: s.code,
15
15
  value: s
@@ -62,7 +62,7 @@ const F = {
62
62
  ];
63
63
  }
64
64
  }
65
- }), _ = l(), o = M(B);
65
+ }), _ = l(), o = x(B);
66
66
  async function B() {
67
67
  await d.readInventory(), _.value = o.onMessage(
68
68
  "props:binding-items",
@@ -119,5 +119,5 @@ const F = {
119
119
  }
120
120
  });
121
121
  export {
122
- N as default
122
+ H as default
123
123
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as E } from "vue";
2
- import { F as v, a as x, aE as F } from "./app-DpJictvi.js";
1
+ import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
2
+ import { F as v, a as E, aO as F } from "./app-Dt6Yd1pM.js";
3
3
  import { components as L } from "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
- const P = /* @__PURE__ */ _({
5
+ const O = /* @__PURE__ */ _({
6
6
  __name: "binding-ui",
7
7
  props: {
8
8
  items: { default: () => [] },
@@ -87,13 +87,13 @@ const P = /* @__PURE__ */ _({
87
87
  }, null, 8, ["row-data"]);
88
88
  };
89
89
  }
90
- }), R = {
90
+ }), P = {
91
91
  key: 1,
92
92
  class: "p-24 flex items-center justify-center gap-16"
93
93
  }, D = /* @__PURE__ */ _({
94
94
  __name: "BindingsTable",
95
95
  setup(k) {
96
- const d = x(), u = c(!0), o = c(new Array()), m = f(() => d.recipes), a = f(() => d.skus), g = c(""), i = F(n), e = c();
96
+ const d = E(), u = c(!0), o = c(new Array()), m = f(() => d.recipes), a = f(() => d.skus), g = c(""), i = F(n), e = c();
97
97
  async function n() {
98
98
  await d.readInventory(), e.value = i.onMessage(
99
99
  "props:grouped-bindings",
@@ -124,10 +124,10 @@ const P = /* @__PURE__ */ _({
124
124
  ref_key: "resizeableRef",
125
125
  ref: l
126
126
  }, [
127
- u.value ? (p(), y("div", R, [
127
+ u.value ? (p(), y("div", P, [
128
128
  N(w, { size: "md" }),
129
- r[0] || (r[0] = E("div", null, "Loading bindings table...", -1))
130
- ])) : (p(), h(P, {
129
+ r[0] || (r[0] = x("div", null, "Loading bindings table...", -1))
130
+ ])) : (p(), h(O, {
131
131
  key: 0,
132
132
  items: o.value,
133
133
  recipes: m.value,