@feedmepos/mf-inventory-portal 1.2.12-dev.2 → 1.2.12

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 (74) hide show
  1. package/dist/{App-T4sL7Sy4.js → App-CP0Qx_82.js} +40 -44
  2. package/dist/{ApprovalView-CfmNwkYs.js → ApprovalView-D8_PzEpZ.js} +30 -30
  3. package/dist/{BindingsDialog-DDYAQsNs.js → BindingsDialog-BbpKhb0L.js} +2 -2
  4. package/dist/{BindingsPicker-CXZhlZ4b.js → BindingsPicker-DzDxisHj.js} +1 -1
  5. package/dist/{BindingsTable-LQ59h-NA.js → BindingsTable-DCXXSY8e.js} +1 -1
  6. package/dist/{ClosingDraftView-B1J4RCvY.js → ClosingDraftView-CkF-9An8.js} +129 -129
  7. package/dist/{ClosingTemplateView-6NoqcDMF.js → ClosingTemplateView-Ce1l7n0x.js} +28 -28
  8. package/dist/{DeliveryOrderPrintPreview--XMB1yg_.js → DeliveryOrderPrintPreview-CFzsECiK.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXxGymbF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ZSERZzyn.js} +3 -3
  10. package/dist/{FmMultiselectDialog-DPPNjHO8.js → FmMultiselectDialog-DP992D0Q.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CSgYZv-j.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CzUvuj_c.js} +45 -45
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-tUefDFh2.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DsYwSn0d.js} +1 -1
  13. package/dist/{IngredientGroupView-BjtjeGay.js → IngredientGroupView-DUiKKpvF.js} +32 -31
  14. package/dist/IngredientsView-C3ozIXV8.js +2475 -0
  15. package/dist/{IntegrationView-D8HiAM5K.js → IntegrationView-CydpIwrf.js} +57 -57
  16. package/dist/{InventoryBindingForm-DCtBdWkM.js → InventoryBindingForm-BVd2FzOW.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-RxoPehX0.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYp_JSBb.js} +31 -31
  18. package/dist/{InventoryBindingSummary-DGLMoDKd.js → InventoryBindingSummary-Dthool-6.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0ElZcnn.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DR0_Qtyc.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BNm3V8o4.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BLfGb7mm.js} +1 -1
  21. package/dist/{PublishView-DQcrQkVJ.js → PublishView-BE_aIhZ6.js} +15 -15
  22. package/dist/{PurchaseOrderPrintPreview-1NMEozJD.js → PurchaseOrderPrintPreview-CGeqqFg-.js} +1 -1
  23. package/dist/{ReceiveRequestView-BFs8VYre.js → ReceiveRequestView-Bul9Esf1.js} +63 -62
  24. package/dist/RecipeView-B9AGELV7.js +621 -0
  25. package/dist/{StockView-B80E0r1r.js → StockView-fpJrx4Bd.js} +166 -165
  26. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CFFDw9Mj.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DeOEgJ1N.js} +1 -1
  27. package/dist/{SupplierView-E_fX8cgQ.js → SupplierView-cfZTJqef.js} +492 -490
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-m5o77oG-.js +3057 -0
  29. package/dist/{TransferTemplateView-B-uBdQgp.js → TransferTemplateView-PZ8Mad4D.js} +48 -48
  30. package/dist/UnitView-C3gJq1Mt.js +667 -0
  31. package/dist/{WarehouseView-DZSetx-S.js → WarehouseView-CWGQjwJm.js} +32 -32
  32. package/dist/api/inventory.d.ts +0 -306
  33. package/dist/api/purchase-order.d.ts +0 -1
  34. package/dist/{app-CLG8lnmY.js → app-D5PlbdVa.js} +8475 -8810
  35. package/dist/app.d.ts +0 -169
  36. package/dist/app.js +1 -1
  37. package/dist/array-Ca8T3f_G.js +44 -0
  38. package/dist/{closing-template-CHz79DOu.js → closing-template-C4FizLUw.js} +1 -1
  39. package/dist/{decimal-BNFgzHyV.js → decimal-Cv7FZ14q.js} +1 -1
  40. package/dist/{format-unit-display-DYY0F6KV.js → format-unit-display-B0NO6FLh.js} +25 -25
  41. package/dist/helper/number.d.ts +0 -1
  42. package/dist/{index-Bu7FmfHi.js → index-BCo2jtpG.js} +1 -1
  43. package/dist/{index-DiYSFnk1.js → index-DaJ92t7D.js} +1 -1
  44. package/dist/{purchase-order-template-DtfKTZLV.js → purchase-order-template-DLkR7Mva.js} +1 -1
  45. package/dist/router/name.d.ts +0 -1
  46. package/dist/{stock-RE6RExO9.js → stock-AUSAF9Ij.js} +1 -1
  47. package/dist/stores/feature.d.ts +0 -2
  48. package/dist/stores/inventory.d.ts +199 -26
  49. package/dist/{supplier-DkLAGLl7.js → supplier-DBXoP2UX.js} +1 -1
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{use-ingredient-select-dialog-Bg_kT9z-.js → use-ingredient-select-dialog-DZQR6jfi.js} +1 -1
  52. package/dist/{use-inventory-binding-dialog-CpS4GfwM.js → use-inventory-binding-dialog-8PZ37vLV.js} +1 -1
  53. package/dist/views/ingredients/helper/import-export.helper.d.ts +1 -3
  54. package/dist/views/recipe/RecipeView.vue.d.ts +0 -1
  55. package/dist/views/unit/UnitView.vue.d.ts +0 -1
  56. package/package.json +1 -1
  57. package/dist/ImportView-ClHIcxRw.js +0 -1195
  58. package/dist/IngredientsView-BA6Y-uhX.js +0 -2240
  59. package/dist/RecipeView-DgF_kShy.js +0 -636
  60. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Bxl2Gege.js +0 -3221
  61. package/dist/UnitView-DOIy_8oz.js +0 -674
  62. package/dist/import-export.helper-uZNU9S1q.js +0 -243
  63. package/dist/views/import/ImportView.vue.d.ts +0 -3
  64. package/dist/views/import/components/ImportDialog.vue.d.ts +0 -2
  65. package/dist/views/import/helper/import-export.helper.d.ts +0 -4
  66. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +0 -17
  67. package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +0 -16
  68. package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +0 -2
  69. package/dist/views/recipe/helper/import-recipe.d.ts +0 -48
  70. package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +0 -12
  71. package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +0 -6
  72. package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +0 -9
  73. package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +0 -5
  74. package/dist/views/unit/helper/import-export.helper.d.ts +0 -40
@@ -1,9 +1,10 @@
1
- import { ref as U, onUnmounted as V, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as I, openBlock as S, createElementBlock as b, unref as v, createVNode as _, createElementVNode as d, toDisplayString as G, createBlock as x, createCommentVNode as F } from "vue";
2
- import { u as k, a as D, b as H, R as e, c as B, g as r, d as W } from "./app-CLG8lnmY.js";
1
+ import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as d, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
2
+ import { u as M, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-D5PlbdVa.js";
3
3
  import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { useRouter as L, useRoute as K } from "vue-router";
5
5
  import { u as $ } from "./useTabStorage-BkIVScW_.js";
6
6
  import { u as Q } from "./googlemap-Dm8ERVai.js";
7
+ import "./array-Ca8T3f_G.js";
7
8
  function j() {
8
9
  return {
9
10
  loadingHookInstalled: !1,
@@ -20,7 +21,7 @@ function z() {
20
21
  }), i = l.afterEach(() => {
21
22
  E.value.isLoading = !1;
22
23
  });
23
- V(() => {
24
+ F(() => {
24
25
  E.value.loadingHookInstalled = !1, n(), i();
25
26
  });
26
27
  }
@@ -39,15 +40,15 @@ const q = {
39
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({
40
41
  __name: "InventoryView",
41
42
  setup(l) {
42
- const n = k(), i = D(), u = H(), s = A(), c = L(), o = z(), T = B(), { t: p } = O();
43
+ const n = M(), i = D(), u = H(), r = A(), c = L(), o = z(), T = B(), { t: p } = O();
43
44
  P(
44
- [() => s.sessionUser.value, () => s.currentBusiness.value],
45
+ [() => r.sessionUser.value, () => r.currentBusiness.value],
45
46
  ([t, a]) => {
46
47
  f(t, a);
47
48
  }
48
49
  ), w(async () => {
49
- await T.init(), await s.readBusinesses();
50
- const t = s.sessionUser.value, a = s.currentBusiness.value;
50
+ await T.init(), await r.readBusinesses();
51
+ const t = r.sessionUser.value, a = r.currentBusiness.value;
51
52
  f(t, a);
52
53
  });
53
54
  function f(t, a) {
@@ -60,16 +61,16 @@ const q = {
60
61
  }
61
62
  const y = R(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? T.enablePoTemplate : c.currentRoute.value.name === e.INGREDIENT_GROUP ? T.enableIngredientGroup : !0);
62
63
  return (t, a) => {
63
- const m = I("FmSpacer"), N = I("FmCircularProgress"), C = I("FmButton"), M = I("RouterView");
64
- return S(), b("div", null, [
65
- v(o).isLoading ? (S(), b("div", q, [
64
+ const m = b("FmSpacer"), N = b("FmCircularProgress"), C = b("FmButton"), V = b("RouterView");
65
+ return S(), I("div", null, [
66
+ v(o).isLoading ? (S(), I("div", q, [
66
67
  _(m),
67
68
  d("div", null, [
68
69
  _(N, { size: "xl" })
69
70
  ]),
70
71
  a[0] || (a[0] = d("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
71
72
  _(m)
72
- ])) : y.value ? v(s).sessionUser.value ? (S(), x(M, { key: 2 })) : F("", !0) : (S(), b("div", J, [
73
+ ])) : y.value ? v(r).sessionUser.value ? (S(), x(V, { key: 2 })) : k("", !0) : (S(), I("div", J, [
73
74
  d("div", X, [
74
75
  d("div", Y, G(v(p)("inventory.common.proPlan.title")), 1),
75
76
  d("div", Z, G(v(p)("inventory.common.proPlan.subtitle")), 1)
@@ -95,7 +96,7 @@ const q = {
95
96
  }), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
96
97
  __name: "NavigationTab",
97
98
  setup(l) {
98
- const n = K(), i = L(), u = A(), s = B(), c = $(), { t: o } = O();
99
+ const n = K(), i = L(), u = A(), r = B(), c = $(), { t: o } = O();
99
100
  P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
100
101
  (t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
101
102
  });
@@ -103,55 +104,55 @@ const q = {
103
104
  var a;
104
105
  const t = [
105
106
  {
106
- label: r(e.STOCK, o),
107
+ label: s(e.STOCK, o),
107
108
  // icon: 'inventory_2',
108
109
  children: [
109
110
  {
110
111
  label: o("inventory.stock.stock_balance.title"),
111
112
  value: e.STOCK
112
113
  },
113
- ...s.enableWastageTemplate ? [
114
+ ...r.enableWastageTemplate ? [
114
115
  {
115
- label: r(e.WASTAGE_TEMPLATE, o),
116
+ label: s(e.WASTAGE_TEMPLATE, o),
116
117
  value: e.WASTAGE_TEMPLATE
117
118
  }
118
119
  ] : []
119
120
  ]
120
121
  },
121
- ...s.enableClosingTemplate ? [
122
+ ...r.enableClosingTemplate ? [
122
123
  {
123
124
  label: "Closing",
124
125
  children: [
125
126
  {
126
- label: r(e.CLOSING_TEMPLATE, o),
127
+ label: s(e.CLOSING_TEMPLATE, o),
127
128
  value: e.CLOSING_TEMPLATE
128
129
  },
129
130
  {
130
- label: r(e.CLOSING_DRAFT, o),
131
+ label: s(e.CLOSING_DRAFT, o),
131
132
  value: e.CLOSING_DRAFT
132
133
  }
133
134
  ]
134
135
  }
135
136
  ] : [],
136
137
  {
137
- label: r(e.INGREDIENTS, o),
138
+ label: s(e.INGREDIENTS, o),
138
139
  // icon: 'grocery',
139
140
  value: e.INGREDIENTS
140
141
  },
141
- ...s.enableIngredientGroup ? [
142
+ ...r.enableIngredientGroup ? [
142
143
  {
143
- label: r(e.INGREDIENT_GROUP, o),
144
+ label: s(e.INGREDIENT_GROUP, o),
144
145
  // icon: 'grocery',
145
146
  value: e.INGREDIENT_GROUP
146
147
  }
147
148
  ] : [],
148
149
  {
149
- label: r(e.RECIPE, o),
150
+ label: s(e.RECIPE, o),
150
151
  // icon: 'weight',
151
152
  value: e.RECIPE
152
153
  },
153
154
  {
154
- label: r(e.UNIT, o),
155
+ label: s(e.UNIT, o),
155
156
  // icon: 'fastfood',
156
157
  value: e.UNIT
157
158
  },
@@ -160,42 +161,37 @@ const q = {
160
161
  // icon: 'swap_horiz',
161
162
  children: [
162
163
  {
163
- label: r(e.RECEIVE_REQUEST, o),
164
+ label: s(e.RECEIVE_REQUEST, o),
164
165
  value: e.RECEIVE_REQUEST
165
166
  },
166
167
  {
167
- label: r(e.APPROVAL, o),
168
+ label: s(e.APPROVAL, o),
168
169
  value: e.APPROVAL
169
170
  },
170
- ...s.enablePoTemplate ? [
171
+ ...r.enablePoTemplate ? [
171
172
  {
172
- label: r(e.TRANSFER_TEMPLATE, o),
173
+ label: s(e.TRANSFER_TEMPLATE, o),
173
174
  value: e.TRANSFER_TEMPLATE
174
175
  }
175
176
  ] : []
176
177
  ]
177
178
  },
178
179
  {
179
- label: r(e.SUPPLIER, o),
180
+ label: s(e.SUPPLIER, o),
180
181
  // icon: 'group',
181
182
  value: e.SUPPLIER
182
183
  },
183
184
  {
184
- label: r(e.WAREHOUSE, o),
185
+ label: s(e.WAREHOUSE, o),
185
186
  // icon: 'warehouse',
186
187
  value: e.WAREHOUSE
187
188
  },
188
189
  {
189
- label: r(e.PUBLISH, o),
190
+ label: s(e.PUBLISH, o),
190
191
  value: e.PUBLISH
191
192
  },
192
193
  {
193
- label: r(e.IMPORT, o),
194
- // icon: 'developer_mode',
195
- value: e.IMPORT
196
- },
197
- {
198
- label: r(e.INTEGRATION, o),
194
+ label: s(e.INTEGRATION, o),
199
195
  // icon: 'integration_instructions',
200
196
  value: e.INTEGRATION
201
197
  }
@@ -229,8 +225,8 @@ const q = {
229
225
  y.value = !c.getItem(f.value);
230
226
  }, 2e3);
231
227
  }), (t, a) => {
232
- const m = I("FmCollapsibleTabs");
233
- return S(), b("div", ae, [
228
+ const m = b("FmCollapsibleTabs");
229
+ return S(), I("div", ae, [
234
230
  _(m, {
235
231
  modelValue: p.value,
236
232
  "onUpdate:modelValue": a[0] || (a[0] = (N) => p.value = N),
@@ -242,14 +238,14 @@ const q = {
242
238
  });
243
239
  typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
244
240
  let l, n;
245
- return { promise: new Promise((u, s) => {
246
- l = u, n = s;
241
+ return { promise: new Promise((u, r) => {
242
+ l = u, n = r;
247
243
  }), resolve: l, reject: n };
248
244
  });
249
245
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
250
246
  return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
251
247
  });
252
- const de = /* @__PURE__ */ h({
248
+ const pe = /* @__PURE__ */ h({
253
249
  __name: "App",
254
250
  setup(l) {
255
251
  const n = A(), i = Q(), u = W();
@@ -262,9 +258,9 @@ const de = /* @__PURE__ */ h({
262
258
  console.error("Google map cannot be loaded");
263
259
  });
264
260
  }), P([() => n.currentCountry.value], () => {
265
- s();
261
+ r();
266
262
  });
267
- async function s() {
263
+ async function r() {
268
264
  var c;
269
265
  try {
270
266
  await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
@@ -276,5 +272,5 @@ const de = /* @__PURE__ */ h({
276
272
  }
277
273
  });
278
274
  export {
279
- de as default
275
+ pe as default
280
276
  };
@@ -1,26 +1,26 @@
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, b as ge, aM as b, aV as ye, ak as Z, C as be, N as Oe, H as Re, E as Se, G as xe, I as ke, J as O } from "./app-CLG8lnmY.js";
3
- import { a as qe, P as q, b as we, _ as Pe } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Bxl2Gege.js";
4
- import { useBreakpoints as Ne } from "@feedmepos/ui-library";
5
- import { useI18n as Te } from "@feedmepos/mf-common";
6
- const Ce = { class: "flex flex-col py-8" }, Ae = { 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" }, Le = {
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 P, 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, b as ge, aM as b, aV as ye, am as Z, O as be, N as Oe, L as Re, P as Se, Q as xe, T as Pe, V as O } from "./app-D5PlbdVa.js";
3
+ import { a as ke, P as k, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-m5o77oG-.js";
4
+ import { useBreakpoints as Te } from "@feedmepos/ui-library";
5
+ import { useI18n as Ne } from "@feedmepos/mf-common";
6
+ 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" }, Le = {
7
7
  key: 0,
8
8
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
9
9
  }, ze = { class: "pt-8" }, je = /* @__PURE__ */ ue({
10
10
  __name: "ApprovalView",
11
- setup(Ee) {
12
- const a = qe(q.APPROVAL), { columnDefs: I } = we(q.APPROVAL, a, a.shipments), B = De(), ee = ge();
11
+ setup(Fe) {
12
+ const a = ke(k.APPROVAL), { columnDefs: I } = qe(k.APPROVAL, a, a.shipments), B = De(), ee = ge();
13
13
  b.object({
14
14
  name: b.string().optional().nullable(),
15
15
  start: b.date().optional().nullable(),
16
16
  end: b.date().optional().nullable()
17
17
  });
18
- const w = y({
18
+ const q = y({
19
19
  name: "",
20
20
  ...ye()
21
21
  }), l = y({
22
- startDate: Z(w.value.start ?? /* @__PURE__ */ new Date()),
23
- endDate: Z(w.value.end ?? /* @__PURE__ */ new Date())
22
+ startDate: Z(q.value.start ?? /* @__PURE__ */ new Date()),
23
+ endDate: Z(q.value.end ?? /* @__PURE__ */ new Date())
24
24
  });
25
25
  ie([() => l.value.startDate], () => {
26
26
  if (!l.value.startDate)
@@ -36,9 +36,9 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
36
36
  }
37
37
  a.updateDateRange(l.value.startDate, l.value.endDate);
38
38
  });
39
- const R = y(""), { breakpoints: P } = Ne(), S = d(() => P.value.xs || P.value.sm), te = d(() => S.value ? 10 : 20), ae = be(), { t: N } = Te(), re = d(() => [
39
+ const R = y(""), { breakpoints: w } = Te(), S = d(() => w.value.xs || w.value.sm), te = d(() => S.value ? 10 : 20), ae = be(), { t: T } = Ne(), re = d(() => [
40
40
  {
41
- label: N("inventory.common.refresh"),
41
+ label: T("inventory.common.refresh"),
42
42
  value: "refresh"
43
43
  }
44
44
  ]);
@@ -113,11 +113,11 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
113
113
  return (u, s) => {
114
114
  const e = ce("FmTable");
115
115
  return x(), X(Se, {
116
- title: n(N)("inventory.transfer.approval.title"),
116
+ title: n(T)("inventory.transfer.approval.title"),
117
117
  actions: re.value,
118
118
  "onClick:action": se
119
119
  }, {
120
- default: k(() => {
120
+ default: P(() => {
121
121
  var r;
122
122
  return [
123
123
  c("div", {
@@ -154,19 +154,19 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
154
154
  )),
155
155
  "page-size": te.value
156
156
  }, {
157
- "list-row": k((t) => [
158
- i(ke, {
157
+ "list-row": P((t) => [
158
+ i(Pe, {
159
159
  row: t,
160
160
  onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
161
161
  }, {
162
- default: k((o) => {
163
- var p, T, C, f, A, M, V, L, v, z, E, h, F, _, $, H, Y, U, j, D, G, J, K, Q, g, W;
162
+ default: P((o) => {
163
+ var p, N, A, f, C, M, V, L, v, z, F, h, $, _, E, Y, H, U, j, D, Q, G, J, K, g, W;
164
164
  return [
165
- c("div", Ce, [
166
- c("div", Ae, [
165
+ c("div", Ae, [
166
+ c("div", Ce, [
167
167
  i(n(O), {
168
- render: (C = (T = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : T.columnDef) == null ? void 0 : C.cell,
169
- props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
168
+ render: (A = (N = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : N.columnDef) == null ? void 0 : A.cell,
169
+ props: (C = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : C.call(f)
170
170
  }, null, 8, ["render", "props"])
171
171
  ]),
172
172
  c("div", Me, [
@@ -175,16 +175,16 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
175
175
  props: (z = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : z.call(v)
176
176
  }, null, 8, ["render", "props"])
177
177
  ]),
178
- c("div", Ve, me(($ = (_ = (F = (h = (E = t.original.purchaseOrder) == null ? void 0 : E.items) == null ? void 0 : h.map) == null ? void 0 : F.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : $.call(_, ", ")), 1),
179
- (H = t.original.purchaseOrder) != null && H.ref ? (x(), fe("div", Le, [
178
+ c("div", Ve, me((E = (_ = ($ = (h = (F = t.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : h.map) == null ? void 0 : $.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : E.call(_, ", ")), 1),
179
+ (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), fe("div", Le, [
180
180
  i(n(O), {
181
- render: (j = (U = (Y = o.purchaseOrder_ref) == null ? void 0 : Y.column) == null ? void 0 : U.columnDef) == null ? void 0 : j.cell,
182
- props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
181
+ render: (j = (U = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : U.columnDef) == null ? void 0 : j.cell,
182
+ props: (Q = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : Q.call(D)
183
183
  }, null, 8, ["render", "props"])
184
184
  ])) : ve("", !0),
185
185
  c("div", ze, [
186
186
  i(n(O), {
187
- render: (Q = (K = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
187
+ render: (K = (J = (G = o.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : J.columnDef) == null ? void 0 : K.cell,
188
188
  props: (W = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : W.call(g)
189
189
  }, null, 8, ["render", "props"])
190
190
  ])
@@ -198,8 +198,8 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
198
198
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
199
199
  ], 2),
200
200
  (x(), X(he, { to: "body" }, [
201
- i(Pe, _e({
202
- scope: n(q).APPROVAL
201
+ i(we, _e({
202
+ scope: n(k).APPROVAL
203
203
  }, {
204
204
  ...n(a).transferDetailsProps.value,
205
205
  receivedMap: ((r = n(a).transferDetailsProps.value) == null ? void 0 : r.receivedMap) ?? {},
@@ -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 P } from "vue";
2
- import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-RxoPehX0.js";
3
- import { a as L, ba as S } from "./app-CLG8lnmY.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYp_JSBb.js";
3
+ import { a as L, b9 as S } from "./app-D5PlbdVa.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -1,5 +1,5 @@
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, ba as x, v as z } from "./app-CLG8lnmY.js";
2
+ import { a as M, b9 as x, v as z } from "./app-D5PlbdVa.js";
3
3
  const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
@@ -1,5 +1,5 @@
1
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, ba as R } from "./app-CLG8lnmY.js";
2
+ import { F as b, a as P, b9 as R } from "./app-D5PlbdVa.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  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({