@feedmepos/mf-inventory-portal 0.0.23-dev.42 → 0.0.23-dev.44

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 (61) hide show
  1. package/dist/{App-Cr-n7HVf.js → App-Bu28H-qV.js} +66 -63
  2. package/dist/{ApprovalView-BYHDmt9W.js → ApprovalView-Cgb6Getu.js} +20 -20
  3. package/dist/{BindingsDialog-CI0nYM1_.js → BindingsDialog-DGtPuzr1.js} +2 -2
  4. package/dist/{BindingsPicker-BVzF3C8O.js → BindingsPicker-BamL3_Vk.js} +3 -3
  5. package/dist/{BindingsTable-B21_9L2o.js → BindingsTable-C9FeglE4.js} +1 -1
  6. package/dist/{ClosingDraftView-k2Vsz8-W.js → ClosingDraftView-C_B1u3g1.js} +47 -47
  7. package/dist/{ClosingTemplateView-BLda7tYC.js → ClosingTemplateView-BxK3yAV4.js} +21 -21
  8. package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-DUDOaU6F.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-DAWPJ65s.js} +11 -11
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXuer_x5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D1PU7pae.js} +7 -7
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D1AIFe-0.js} +37 -37
  11. package/dist/{IngredientGroupView-CgZ4YT3i.js → IngredientGroupView-S7ps5Bsc.js} +1 -1
  12. package/dist/{IngredientsView-tPERrF9O.js → IngredientsView-BesGBkXM.js} +14 -15
  13. package/dist/{IntegrationView-CoF_rdWv.js → IntegrationView-Bkf7zGLw.js} +1 -1
  14. package/dist/{InventoryBindingForm-BSnofTIL.js → InventoryBindingForm-DHwTsR2G.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js} +51 -51
  16. package/dist/{InventoryBindingSummary-qm9ZUFny.js → InventoryBindingSummary-COybHYsZ.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQY98Hj6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cgv6gv2x.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-NUkiVop4.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BGJNkqYH.js} +6 -6
  19. package/dist/PublishView-2EcaLsU2.js +192 -0
  20. package/dist/{PurchaseOrderPrintPreview-CIWiq2NB.js → PurchaseOrderPrintPreview-DPFfFQQd.js} +5 -5
  21. package/dist/ReceiveRequestView-Dnl79p8h.js +1843 -0
  22. package/dist/{RecipeView-CzWlx1Xv.js → RecipeView-CmaMGv6N.js} +25 -25
  23. package/dist/{StockView-IPXGJNN8.js → StockView-CLw8un14.js} +121 -122
  24. package/dist/{SupplierView-DuL3NXc0.js → SupplierView-DLcZ6HDt.js} +11 -12
  25. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.js → TransferDetails.vue_vue_type_script_setup_true_lang-DgwS1KTx.js} +137 -137
  26. package/dist/{TransferTemplateView-BEaRafuO.js → TransferTemplateView-BRDq2_Zw.js} +81 -82
  27. package/dist/{UnitView-Cwo0mthQ.js → UnitView-rJrXqu8W.js} +14 -14
  28. package/dist/{WarehouseView-DzjQrpyv.js → WarehouseView-BwSLmicZ.js} +33 -33
  29. package/dist/api/inventory.d.ts +4 -0
  30. package/dist/{app-CpuFfqWF.js → app-F909rQ5n.js} +12512 -11478
  31. package/dist/app.d.ts +24 -0
  32. package/dist/app.js +1 -1
  33. package/dist/{decimal-bSGrDlvd.js → decimal-0pQSNdVz.js} +1 -1
  34. package/dist/{format-unit-display-D4gi2D-O.js → format-unit-display-CM40cl03.js} +60 -60
  35. package/dist/{index-Cn1ato-l.js → index-DzA11XLY.js} +88 -88
  36. package/dist/{index-COeURijn.js → index-rBUXpqWE.js} +3 -3
  37. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
  38. package/dist/router/name.d.ts +1 -0
  39. package/dist/{stock-B1Rchi6n.js → stock-c68S1hmD.js} +3 -3
  40. package/dist/stores/feature.d.ts +34 -2
  41. package/dist/stores/location.d.ts +29 -1
  42. package/dist/{supplier-CeY_Gro-.js → supplier-CPuz6JVf.js} +1 -1
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/{use-inventory-binding-dialog-BXqY40wn.js → use-inventory-binding-dialog-DjlU5nUb.js} +1 -1
  45. package/dist/views/adjustment-template/wastage-template/actions.d.ts +48 -0
  46. package/dist/views/adjustment-template/wastage-template/table.d.ts +48 -0
  47. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -0
  48. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -0
  49. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -0
  50. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +48 -0
  51. package/dist/views/publish/PublishView.vue.d.ts +2 -0
  52. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +16 -0
  53. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +24 -0
  54. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -0
  55. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
  56. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  57. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  58. package/dist/vue-i18n-BiavdzKQ.js +2365 -0
  59. package/package.json +1 -1
  60. package/dist/ReceiveRequestView-Dgt3FeGb.js +0 -4205
  61. package/dist/feature-D8aRYGen.js +0 -962
@@ -1,8 +1,7 @@
1
- import { ref as x, onUnmounted as F, defineComponent as h, watch as y, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as w, createBlock as U, createCommentVNode as M } from "vue";
2
- import { u as k, a as D, b as H, R as e, g as a, c as W } from "./app-CpuFfqWF.js";
3
- import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
1
+ import { ref as x, onUnmounted as F, defineComponent as h, watch as P, onMounted as U, computed as g, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as w, createBlock as G, createCommentVNode as M } from "vue";
2
+ import { u as k, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-F909rQ5n.js";
3
+ import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { useRouter as C, useRoute as K } from "vue-router";
5
- import { u as O } from "./feature-D8aRYGen.js";
6
5
  import { u as $ } from "./useTabStorage-BkIVScW_.js";
7
6
  import { u as Q } from "./googlemap-Dm8ERVai.js";
8
7
  import "./array-hChJVZLE.js";
@@ -41,37 +40,37 @@ const q = {
41
40
  }, X = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Y = { class: "fm-typo-en-title-lg-600" }, Z = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ee = { class: "flex gap-16" }, te = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, oe = { href: "https://feedme.ai/form" }, ne = /* @__PURE__ */ h({
42
41
  __name: "InventoryView",
43
42
  setup(l) {
44
- const n = k(), i = D(), u = H(), s = A(), c = C(), o = z(), b = O(), { t: d } = B();
45
- y(
46
- [() => s.sessionUser.value, () => s.currentBusiness.value],
47
- ([t, r]) => {
48
- f(t, r);
43
+ const n = k(), i = D(), u = H(), r = A(), c = C(), o = z(), R = B(), { t: d } = O();
44
+ P(
45
+ [() => r.sessionUser.value, () => r.currentBusiness.value],
46
+ ([t, a]) => {
47
+ f(t, a);
49
48
  }
50
- ), G(async () => {
51
- await b.init(), await s.readBusinesses();
52
- const t = s.sessionUser.value, r = s.currentBusiness.value;
53
- f(t, r);
49
+ ), U(async () => {
50
+ await R.init(), await r.readBusinesses();
51
+ const t = r.sessionUser.value, a = r.currentBusiness.value;
52
+ f(t, a);
54
53
  });
55
- function f(t, r) {
56
- !t || !r || T();
54
+ function f(t, a) {
55
+ !t || !a || T();
57
56
  }
58
57
  async function T() {
59
58
  return await n.init(), await u.readSetting().catch((t) => {
60
59
  console.error("error on reading netsuite store", t);
61
60
  }), await i.init();
62
61
  }
63
- const P = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? b.enablePoTemplate : !0);
64
- return (t, r) => {
65
- const m = R("FmSpacer"), N = R("FmCircularProgress"), L = R("FmButton"), V = R("RouterView");
62
+ const y = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? R.enablePoTemplate : !0);
63
+ return (t, a) => {
64
+ const m = b("FmSpacer"), N = b("FmCircularProgress"), L = b("FmButton"), V = b("RouterView");
66
65
  return S(), I("div", null, [
67
66
  v(o).isLoading ? (S(), I("div", q, [
68
67
  _(m),
69
68
  p("div", null, [
70
69
  _(N, { size: "xl" })
71
70
  ]),
72
- r[0] || (r[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
71
+ a[0] || (a[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
73
72
  _(m)
74
- ])) : P.value ? v(s).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(), I("div", J, [
73
+ ])) : y.value ? v(r).sessionUser.value ? (S(), G(V, { key: 2 })) : M("", !0) : (S(), I("div", J, [
75
74
  p("div", X, [
76
75
  p("div", Y, w(v(d)("inventory.common.proPlan.title")), 1),
77
76
  p("div", Z, w(v(d)("inventory.common.proPlan.subtitle")), 1)
@@ -94,66 +93,66 @@ const q = {
94
93
  ]);
95
94
  };
96
95
  }
97
- }), re = { class: "h-full flex flex-col overflow-auto py-16" }, se = /* @__PURE__ */ h({
96
+ }), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
98
97
  __name: "NavigationTab",
99
98
  setup(l) {
100
- const n = K(), i = C(), u = A(), s = O(), c = $(), { t: o } = B();
101
- y([() => u.currentBusiness.value, () => n.name], ([t, r]) => {
102
- (t == null ? void 0 : t.menuVersion) === "v3" && (r === e.INGREDIENTS || r === e.RECIPE || r === e.UNIT) && i.push({ name: e.STOCK });
99
+ const n = K(), i = C(), u = A(), r = B(), c = $(), { t: o } = O();
100
+ P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
101
+ (t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
103
102
  });
104
- const b = g(() => {
105
- var r;
103
+ const R = g(() => {
104
+ var a;
106
105
  const t = [
107
106
  {
108
- label: a(e.STOCK, o),
107
+ label: s(e.STOCK, o),
109
108
  // icon: 'inventory_2',
110
109
  children: [
111
110
  {
112
111
  label: "Stock balance",
113
112
  value: e.STOCK
114
113
  },
115
- ...s.enableWastageTemplate ? [
114
+ ...r.enableWastageTemplate ? [
116
115
  {
117
- label: a(e.WASTAGE_TEMPLATE, o),
116
+ label: s(e.WASTAGE_TEMPLATE, o),
118
117
  value: e.WASTAGE_TEMPLATE
119
118
  }
120
119
  ] : []
121
120
  ]
122
121
  },
123
- ...s.enableClosingTemplate ? [
122
+ ...r.enableClosingTemplate ? [
124
123
  {
125
124
  label: "Closing",
126
125
  children: [
127
126
  {
128
- label: a(e.CLOSING_TEMPLATE, o),
127
+ label: s(e.CLOSING_TEMPLATE, o),
129
128
  value: e.CLOSING_TEMPLATE
130
129
  },
131
130
  {
132
- label: a(e.CLOSING_DRAFT, o),
131
+ label: s(e.CLOSING_DRAFT, o),
133
132
  value: e.CLOSING_DRAFT
134
133
  }
135
134
  ]
136
135
  }
137
136
  ] : [],
138
137
  {
139
- label: a(e.INGREDIENTS, o),
138
+ label: s(e.INGREDIENTS, o),
140
139
  // icon: 'grocery',
141
140
  value: e.INGREDIENTS
142
141
  },
143
- ...s.enableIngredientGroup ? [
142
+ ...r.enableIngredientGroup ? [
144
143
  {
145
- label: a(e.INGREDIENT_GROUP, o),
144
+ label: s(e.INGREDIENT_GROUP, o),
146
145
  // icon: 'grocery',
147
146
  value: e.INGREDIENT_GROUP
148
147
  }
149
148
  ] : [],
150
149
  {
151
- label: a(e.RECIPE, o),
150
+ label: s(e.RECIPE, o),
152
151
  // icon: 'weight',
153
152
  value: e.RECIPE
154
153
  },
155
154
  {
156
- label: a(e.UNIT, o),
155
+ label: s(e.UNIT, o),
157
156
  // icon: 'fastfood',
158
157
  value: e.UNIT
159
158
  },
@@ -162,38 +161,42 @@ const q = {
162
161
  // icon: 'swap_horiz',
163
162
  children: [
164
163
  {
165
- label: a(e.RECEIVE_REQUEST, o),
164
+ label: s(e.RECEIVE_REQUEST, o),
166
165
  value: e.RECEIVE_REQUEST
167
166
  },
168
167
  {
169
- label: a(e.APPROVAL, o),
168
+ label: s(e.APPROVAL, o),
170
169
  value: e.APPROVAL
171
170
  },
172
- ...s.enablePoTemplate ? [
171
+ ...r.enablePoTemplate ? [
173
172
  {
174
- label: a(e.TRANSFER_TEMPLATE, o),
173
+ label: s(e.TRANSFER_TEMPLATE, o),
175
174
  value: e.TRANSFER_TEMPLATE
176
175
  }
177
176
  ] : []
178
177
  ]
179
178
  },
180
179
  {
181
- label: a(e.SUPPLIER, o),
180
+ label: s(e.SUPPLIER, o),
182
181
  // icon: 'group',
183
182
  value: e.SUPPLIER
184
183
  },
185
184
  {
186
- label: a(e.WAREHOUSE, o),
185
+ label: s(e.WAREHOUSE, o),
187
186
  // icon: 'warehouse',
188
187
  value: e.WAREHOUSE
189
188
  },
190
189
  {
191
- label: a(e.INTEGRATION, o),
190
+ label: s(e.PUBLISH, o),
191
+ value: e.PUBLISH
192
+ },
193
+ {
194
+ label: s(e.INTEGRATION, o),
192
195
  // icon: 'integration_instructions',
193
196
  value: e.INTEGRATION
194
197
  }
195
198
  ];
196
- return ((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) === "v3" ? t.filter(
199
+ return ((a = u.currentBusiness.value) == null ? void 0 : a.menuVersion) === "v3" ? t.filter(
197
200
  (m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT
198
201
  ) : t;
199
202
  }), d = g({
@@ -209,7 +212,7 @@ const q = {
209
212
  var t;
210
213
  return `NavigationTab.${(t = u.currentBusiness.value) == null ? void 0 : t._id}`;
211
214
  }
212
- ), T = x(!1), P = g({
215
+ ), T = x(!1), y = g({
213
216
  get() {
214
217
  return T.value;
215
218
  },
@@ -217,17 +220,17 @@ const q = {
217
220
  T.value = t, t || c.setItem(f.value, "true");
218
221
  }
219
222
  });
220
- return y([() => f.value], () => {
223
+ return P([() => f.value], () => {
221
224
  T.value = !1, setTimeout(() => {
222
- P.value = !c.getItem(f.value);
225
+ y.value = !c.getItem(f.value);
223
226
  }, 2e3);
224
- }), (t, r) => {
225
- const m = R("FmCollapsibleTabs");
226
- return S(), I("div", re, [
227
+ }), (t, a) => {
228
+ const m = b("FmCollapsibleTabs");
229
+ return S(), I("div", ae, [
227
230
  _(m, {
228
231
  modelValue: d.value,
229
- "onUpdate:modelValue": r[0] || (r[0] = (N) => d.value = N),
230
- items: b.value
232
+ "onUpdate:modelValue": a[0] || (a[0] = (N) => d.value = N),
233
+ items: R.value
231
234
  }, null, 8, ["modelValue", "items"])
232
235
  ]);
233
236
  };
@@ -235,29 +238,29 @@ const q = {
235
238
  });
236
239
  typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
237
240
  let l, n;
238
- return { promise: new Promise((u, s) => {
239
- l = u, n = s;
241
+ return { promise: new Promise((u, r) => {
242
+ l = u, n = r;
240
243
  }), resolve: l, reject: n };
241
244
  });
242
245
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
243
246
  return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
244
247
  });
245
- const fe = /* @__PURE__ */ h({
248
+ const de = /* @__PURE__ */ h({
246
249
  __name: "App",
247
250
  setup(l) {
248
251
  const n = A(), i = Q(), u = W();
249
- G(() => {
252
+ U(() => {
250
253
  if (window.location.href.includes("print-preview")) {
251
254
  n.setEmbedded(!0);
252
255
  return;
253
256
  }
254
- n.registerSidebarComponent(se), i.initGoogleMap(u.appApi.googleMap).catch(() => {
257
+ n.registerSidebarComponent(re), i.initGoogleMap(u.appApi.googleMap).catch(() => {
255
258
  console.error("Google map cannot be loaded");
256
259
  });
257
- }), y([() => n.currentCountry.value], () => {
258
- s();
260
+ }), P([() => n.currentCountry.value], () => {
261
+ r();
259
262
  });
260
- async function s() {
263
+ async function r() {
261
264
  var c;
262
265
  try {
263
266
  await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
@@ -265,9 +268,9 @@ const fe = /* @__PURE__ */ h({
265
268
  console.error("error when trying to reset businesses:", o);
266
269
  }
267
270
  }
268
- return (c, o) => (S(), U(ne));
271
+ return (c, o) => (S(), G(ne));
269
272
  }
270
273
  });
271
274
  export {
272
- fe as default
275
+ de as default
273
276
  };
@@ -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 ue, mergeProps as pe } from "vue";
2
- import { u as me, au as v, aE as de, a7 as K, y as fe, _ as ve, z as _e, B as he, E as _ } from "./app-CpuFfqWF.js";
3
- import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.js";
4
- import { useBreakpoints as ye } from "@feedmepos/ui-library";
5
- import { useI18n as xe } from "@feedmepos/mf-common";
1
+ import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as x, createBlock as J, unref as e, withCtx as y, 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, av as v, aF as de, a8 as K, z as fe, _ as ve, B as _e, E as he, G as _ } from "./app-F909rQ5n.js";
3
+ import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DgwS1KTx.js";
4
+ import { useBreakpoints as xe } from "@feedmepos/ui-library";
5
+ import { useI18n as ye } 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();
@@ -35,7 +35,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
35
35
  return;
36
36
  }
37
37
  });
38
- const h = g(""), { breakpoints: R } = ye(), D = b(() => R.value.xs || R.value.sm), X = b(() => D.value ? 10 : 20), Z = fe(), { t: k } = xe(), B = b(() => [
38
+ const h = g(""), { breakpoints: R } = xe(), D = b(() => R.value.xs || R.value.sm), X = b(() => D.value ? 10 : 20), Z = fe(), { t: k } = ye(), B = b(() => [
39
39
  {
40
40
  label: k("common.refresh"),
41
41
  value: "refresh"
@@ -49,12 +49,12 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
49
49
  }
50
50
  return (c, l) => {
51
51
  const ee = re("FmTable");
52
- return y(), J(ve, {
52
+ return x(), J(ve, {
53
53
  title: e(k)("inventory.transfer.approval.title"),
54
54
  actions: B.value,
55
55
  "onClick:action": I
56
56
  }, {
57
- default: x(() => [
57
+ default: y(() => [
58
58
  s("div", {
59
59
  class: ne([
60
60
  "flex flex-col gap-8 max-h-full",
@@ -79,13 +79,13 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
79
79
  onRowClick: l[1] || (l[1] = (r) => e(o).promptShowTransferDetails(r.original.purchaseOrder, r.original)),
80
80
  "page-size": X.value
81
81
  }, {
82
- "list-row": x((r) => [
82
+ "list-row": y((r) => [
83
83
  n(he, {
84
84
  row: r,
85
85
  onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
86
86
  }, {
87
- default: x((t) => {
88
- var O, S, T, i, C, z, M, $, u, E, F, p, V, m, Y, q, L, N, P, d, j, A, H, U, f, G;
87
+ default: y((t) => {
88
+ var O, S, T, i, C, z, F, M, u, $, V, p, Y, m, q, E, L, N, P, d, j, A, H, G, f, U;
89
89
  return [
90
90
  s("div", we, [
91
91
  s("div", Re, [
@@ -96,12 +96,12 @@ 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 = t.to_name) == null ? void 0 : z.column) == null ? void 0 : M.columnDef) == null ? void 0 : $.cell,
100
- props: (E = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : E.call(u)
99
+ render: (M = (F = (z = t.to_name) == null ? void 0 : z.column) == null ? void 0 : F.columnDef) == null ? void 0 : M.cell,
100
+ props: ($ = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : $.call(u)
101
101
  }, null, 8, ["render", "props"])
102
102
  ]),
103
- s("div", Oe, le((Y = (m = (V = (p = (F = r.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : p.map) == null ? void 0 : V.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : Y.call(m, ", ")), 1),
104
- (q = r.original.purchaseOrder) != null && q.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 ? (x(), ce("div", Se, [
105
105
  n(e(_), {
106
106
  render: (P = (N = (L = t.purchaseOrder_ref) == null ? void 0 : L.column) == null ? void 0 : N.columnDef) == null ? void 0 : P.cell,
107
107
  props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
@@ -109,8 +109,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
109
109
  ])) : ie("", !0),
110
110
  s("div", Te, [
111
111
  n(e(_), {
112
- render: (U = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : U.cell,
113
- props: (G = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : G.call(f)
112
+ render: (G = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : G.cell,
113
+ props: (U = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : U.call(f)
114
114
  }, null, 8, ["render", "props"])
115
115
  ])
116
116
  ])
@@ -122,7 +122,7 @@ 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(ue, { to: "body" }, [
125
+ (x(), J(ue, { to: "body" }, [
126
126
  n(be, pe(e(o).transferDetailsProps.value, {
127
127
  onSubmitted: e(o).fetchData
128
128
  }), null, 16, ["onSubmitted"])
@@ -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,6 +1,6 @@
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 L } from "vue";
2
- import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js";
3
- import { a as V, aL as S } from "./app-CpuFfqWF.js";
2
+ import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js";
3
+ import { a as V, aL as S } from "./app-F909rQ5n.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -1,12 +1,12 @@
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, aL as x, H as z } from "./app-CpuFfqWF.js";
2
+ import { a as M, aL as x, J as z } from "./app-F909rQ5n.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
- }, H = /* @__PURE__ */ S({
9
+ }, N = /* @__PURE__ */ S({
10
10
  __name: "BindingsPicker",
11
11
  setup(L) {
12
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) => ({
@@ -119,5 +119,5 @@ const F = {
119
119
  }
120
120
  });
121
121
  export {
122
- H as default
122
+ N as default
123
123
  };
@@ -1,5 +1,5 @@
1
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 L } from "vue";
2
- import { F as v, a as x, aL as E } from "./app-CpuFfqWF.js";
2
+ import { F as v, a as x, aL as E } from "./app-F909rQ5n.js";
3
3
  import { components as F } from "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  const P = /* @__PURE__ */ _({