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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/{App-BCVrJ7-x.js → App-T4sL7Sy4.js} +44 -40
  2. package/dist/{ApprovalView-BMEzgj9q.js → ApprovalView-CfmNwkYs.js} +30 -30
  3. package/dist/{BindingsDialog-Do_UsSE4.js → BindingsDialog-DDYAQsNs.js} +2 -2
  4. package/dist/{BindingsPicker-CFUwkcKX.js → BindingsPicker-CXZhlZ4b.js} +1 -1
  5. package/dist/{BindingsTable-a7rhi6MZ.js → BindingsTable-LQ59h-NA.js} +1 -1
  6. package/dist/{ClosingDraftView-Dv4lj9E7.js → ClosingDraftView-B1J4RCvY.js} +180 -180
  7. package/dist/{ClosingTemplateView-BRX45M7h.js → ClosingTemplateView-6NoqcDMF.js} +3 -3
  8. package/dist/{DeliveryOrderPrintPreview-CwMX74nM.js → DeliveryOrderPrintPreview--XMB1yg_.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CL3yU8XA.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXxGymbF.js} +3 -3
  10. package/dist/{FmMultiselectDialog-BiLym6fH.js → FmMultiselectDialog-DPPNjHO8.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BAGo4_1C.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CSgYZv-j.js} +39 -39
  12. package/dist/ImportView-ClHIcxRw.js +1195 -0
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BIImtfdR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-tUefDFh2.js} +1 -1
  14. package/dist/{IngredientGroupView-CLVfJFTD.js → IngredientGroupView-BjtjeGay.js} +16 -17
  15. package/dist/IngredientsView-BA6Y-uhX.js +2240 -0
  16. package/dist/{IntegrationView-Crm8R-cF.js → IntegrationView-D8HiAM5K.js} +57 -57
  17. package/dist/{InventoryBindingForm-DQeaxeQX.js → InventoryBindingForm-DCtBdWkM.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-yQZC9peR.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-RxoPehX0.js} +31 -31
  19. package/dist/{InventoryBindingSummary-DUiYadJR.js → InventoryBindingSummary-DGLMoDKd.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DOpF4cSz.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0ElZcnn.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DFjhh2P6.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BNm3V8o4.js} +1 -1
  22. package/dist/{PublishView-D3FS3ioY.js → PublishView-DQcrQkVJ.js} +16 -16
  23. package/dist/{PurchaseOrderPrintPreview-ByURcesK.js → PurchaseOrderPrintPreview-1NMEozJD.js} +1 -1
  24. package/dist/{ReceiveRequestView-mt0ja21g.js → ReceiveRequestView-BFs8VYre.js} +193 -194
  25. package/dist/RecipeView-DgF_kShy.js +636 -0
  26. package/dist/{StockView-C9erE0Vu.js → StockView-B80E0r1r.js} +165 -166
  27. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BC1mwDJX.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CFFDw9Mj.js} +1 -1
  28. package/dist/{SupplierView-C_NMItXg.js → SupplierView-E_fX8cgQ.js} +52 -52
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Bxl2Gege.js +3221 -0
  30. package/dist/{TransferTemplateView-DOVDiF7-.js → TransferTemplateView-B-uBdQgp.js} +97 -97
  31. package/dist/UnitView-DOIy_8oz.js +674 -0
  32. package/dist/{WarehouseView-lz2uVygR.js → WarehouseView-DZSetx-S.js} +32 -32
  33. package/dist/api/inventory.d.ts +306 -0
  34. package/dist/api/purchase-order.d.ts +1 -0
  35. package/dist/{app-D0bYbsGd.js → app-CLG8lnmY.js} +8810 -8475
  36. package/dist/app.d.ts +169 -0
  37. package/dist/app.js +1 -1
  38. package/dist/{closing-template-CrxsMQM1.js → closing-template-CHz79DOu.js} +1 -1
  39. package/dist/{decimal-OP8pLXox.js → decimal-BNFgzHyV.js} +1 -1
  40. package/dist/{format-unit-display-AxULhwcM.js → format-unit-display-DYY0F6KV.js} +25 -25
  41. package/dist/helper/number.d.ts +1 -0
  42. package/dist/import-export.helper-uZNU9S1q.js +243 -0
  43. package/dist/{index-BZumsz4L.js → index-Bu7FmfHi.js} +1 -1
  44. package/dist/{index-DwPtx2QV.js → index-DiYSFnk1.js} +1 -1
  45. package/dist/{purchase-order-template-BO_iyudu.js → purchase-order-template-DtfKTZLV.js} +1 -1
  46. package/dist/router/name.d.ts +1 -0
  47. package/dist/{stock-DZbjPfvD.js → stock-RE6RExO9.js} +1 -1
  48. package/dist/stores/feature.d.ts +2 -0
  49. package/dist/stores/inventory.d.ts +26 -199
  50. package/dist/{supplier-CcKZR4JV.js → supplier-DkLAGLl7.js} +1 -1
  51. package/dist/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/{use-ingredient-select-dialog-DgZXbr91.js → use-ingredient-select-dialog-Bg_kT9z-.js} +1 -1
  53. package/dist/{use-inventory-binding-dialog-xJk-GAkH.js → use-inventory-binding-dialog-CpS4GfwM.js} +1 -1
  54. package/dist/views/import/ImportView.vue.d.ts +3 -0
  55. package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
  56. package/dist/views/import/helper/import-export.helper.d.ts +4 -0
  57. package/dist/views/ingredients/helper/import-export.helper.d.ts +3 -1
  58. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +17 -0
  59. package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
  60. package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
  61. package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
  62. package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
  63. package/dist/views/unit/UnitView.vue.d.ts +1 -0
  64. package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
  65. package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
  66. package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
  67. package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
  68. package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
  69. package/package.json +1 -1
  70. package/dist/IngredientsView-DETE0BaL.js +0 -2475
  71. package/dist/RecipeView-B04R5lQ1.js +0 -621
  72. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Cts9z9LO.js +0 -3057
  73. package/dist/UnitView-BVOtZ1eJ.js +0 -667
  74. package/dist/array-Ca8T3f_G.js +0 -44
@@ -1,10 +1,9 @@
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-D0bYbsGd.js";
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";
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";
8
7
  function j() {
9
8
  return {
10
9
  loadingHookInstalled: !1,
@@ -21,7 +20,7 @@ function z() {
21
20
  }), i = l.afterEach(() => {
22
21
  E.value.isLoading = !1;
23
22
  });
24
- F(() => {
23
+ V(() => {
25
24
  E.value.loadingHookInstalled = !1, n(), i();
26
25
  });
27
26
  }
@@ -40,15 +39,15 @@ const q = {
40
39
  }, 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({
41
40
  __name: "InventoryView",
42
41
  setup(l) {
43
- const n = M(), i = D(), u = H(), r = A(), c = L(), o = z(), T = B(), { t: p } = O();
42
+ const n = k(), i = D(), u = H(), s = A(), c = L(), o = z(), T = B(), { t: p } = O();
44
43
  P(
45
- [() => r.sessionUser.value, () => r.currentBusiness.value],
44
+ [() => s.sessionUser.value, () => s.currentBusiness.value],
46
45
  ([t, a]) => {
47
46
  f(t, a);
48
47
  }
49
48
  ), w(async () => {
50
- await T.init(), await r.readBusinesses();
51
- const t = r.sessionUser.value, a = r.currentBusiness.value;
49
+ await T.init(), await s.readBusinesses();
50
+ const t = s.sessionUser.value, a = s.currentBusiness.value;
52
51
  f(t, a);
53
52
  });
54
53
  function f(t, a) {
@@ -61,16 +60,16 @@ const q = {
61
60
  }
62
61
  const y = R(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? T.enablePoTemplate : c.currentRoute.value.name === e.INGREDIENT_GROUP ? T.enableIngredientGroup : !0);
63
62
  return (t, a) => {
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, [
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, [
67
66
  _(m),
68
67
  d("div", null, [
69
68
  _(N, { size: "xl" })
70
69
  ]),
71
70
  a[0] || (a[0] = d("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
72
71
  _(m)
73
- ])) : y.value ? v(r).sessionUser.value ? (S(), x(V, { key: 2 })) : k("", !0) : (S(), I("div", J, [
72
+ ])) : y.value ? v(s).sessionUser.value ? (S(), x(M, { key: 2 })) : F("", !0) : (S(), b("div", J, [
74
73
  d("div", X, [
75
74
  d("div", Y, G(v(p)("inventory.common.proPlan.title")), 1),
76
75
  d("div", Z, G(v(p)("inventory.common.proPlan.subtitle")), 1)
@@ -96,7 +95,7 @@ const q = {
96
95
  }), ae = { class: "h-full flex flex-col overflow-auto py-16" }, re = /* @__PURE__ */ h({
97
96
  __name: "NavigationTab",
98
97
  setup(l) {
99
- const n = K(), i = L(), u = A(), r = B(), c = $(), { t: o } = O();
98
+ const n = K(), i = L(), u = A(), s = B(), c = $(), { t: o } = O();
100
99
  P([() => u.currentBusiness.value, () => n.name], ([t, a]) => {
101
100
  (t == null ? void 0 : t.menuVersion) === "v3" && (a === e.INGREDIENTS || a === e.RECIPE || a === e.UNIT) && i.push({ name: e.STOCK });
102
101
  });
@@ -104,55 +103,55 @@ const q = {
104
103
  var a;
105
104
  const t = [
106
105
  {
107
- label: s(e.STOCK, o),
106
+ label: r(e.STOCK, o),
108
107
  // icon: 'inventory_2',
109
108
  children: [
110
109
  {
111
110
  label: o("inventory.stock.stock_balance.title"),
112
111
  value: e.STOCK
113
112
  },
114
- ...r.enableWastageTemplate ? [
113
+ ...s.enableWastageTemplate ? [
115
114
  {
116
- label: s(e.WASTAGE_TEMPLATE, o),
115
+ label: r(e.WASTAGE_TEMPLATE, o),
117
116
  value: e.WASTAGE_TEMPLATE
118
117
  }
119
118
  ] : []
120
119
  ]
121
120
  },
122
- ...r.enableClosingTemplate ? [
121
+ ...s.enableClosingTemplate ? [
123
122
  {
124
123
  label: "Closing",
125
124
  children: [
126
125
  {
127
- label: s(e.CLOSING_TEMPLATE, o),
126
+ label: r(e.CLOSING_TEMPLATE, o),
128
127
  value: e.CLOSING_TEMPLATE
129
128
  },
130
129
  {
131
- label: s(e.CLOSING_DRAFT, o),
130
+ label: r(e.CLOSING_DRAFT, o),
132
131
  value: e.CLOSING_DRAFT
133
132
  }
134
133
  ]
135
134
  }
136
135
  ] : [],
137
136
  {
138
- label: s(e.INGREDIENTS, o),
137
+ label: r(e.INGREDIENTS, o),
139
138
  // icon: 'grocery',
140
139
  value: e.INGREDIENTS
141
140
  },
142
- ...r.enableIngredientGroup ? [
141
+ ...s.enableIngredientGroup ? [
143
142
  {
144
- label: s(e.INGREDIENT_GROUP, o),
143
+ label: r(e.INGREDIENT_GROUP, o),
145
144
  // icon: 'grocery',
146
145
  value: e.INGREDIENT_GROUP
147
146
  }
148
147
  ] : [],
149
148
  {
150
- label: s(e.RECIPE, o),
149
+ label: r(e.RECIPE, o),
151
150
  // icon: 'weight',
152
151
  value: e.RECIPE
153
152
  },
154
153
  {
155
- label: s(e.UNIT, o),
154
+ label: r(e.UNIT, o),
156
155
  // icon: 'fastfood',
157
156
  value: e.UNIT
158
157
  },
@@ -161,37 +160,42 @@ const q = {
161
160
  // icon: 'swap_horiz',
162
161
  children: [
163
162
  {
164
- label: s(e.RECEIVE_REQUEST, o),
163
+ label: r(e.RECEIVE_REQUEST, o),
165
164
  value: e.RECEIVE_REQUEST
166
165
  },
167
166
  {
168
- label: s(e.APPROVAL, o),
167
+ label: r(e.APPROVAL, o),
169
168
  value: e.APPROVAL
170
169
  },
171
- ...r.enablePoTemplate ? [
170
+ ...s.enablePoTemplate ? [
172
171
  {
173
- label: s(e.TRANSFER_TEMPLATE, o),
172
+ label: r(e.TRANSFER_TEMPLATE, o),
174
173
  value: e.TRANSFER_TEMPLATE
175
174
  }
176
175
  ] : []
177
176
  ]
178
177
  },
179
178
  {
180
- label: s(e.SUPPLIER, o),
179
+ label: r(e.SUPPLIER, o),
181
180
  // icon: 'group',
182
181
  value: e.SUPPLIER
183
182
  },
184
183
  {
185
- label: s(e.WAREHOUSE, o),
184
+ label: r(e.WAREHOUSE, o),
186
185
  // icon: 'warehouse',
187
186
  value: e.WAREHOUSE
188
187
  },
189
188
  {
190
- label: s(e.PUBLISH, o),
189
+ label: r(e.PUBLISH, o),
191
190
  value: e.PUBLISH
192
191
  },
193
192
  {
194
- label: s(e.INTEGRATION, o),
193
+ label: r(e.IMPORT, o),
194
+ // icon: 'developer_mode',
195
+ value: e.IMPORT
196
+ },
197
+ {
198
+ label: r(e.INTEGRATION, o),
195
199
  // icon: 'integration_instructions',
196
200
  value: e.INTEGRATION
197
201
  }
@@ -225,8 +229,8 @@ const q = {
225
229
  y.value = !c.getItem(f.value);
226
230
  }, 2e3);
227
231
  }), (t, a) => {
228
- const m = b("FmCollapsibleTabs");
229
- return S(), I("div", ae, [
232
+ const m = I("FmCollapsibleTabs");
233
+ return S(), b("div", ae, [
230
234
  _(m, {
231
235
  modelValue: p.value,
232
236
  "onUpdate:modelValue": a[0] || (a[0] = (N) => p.value = N),
@@ -238,14 +242,14 @@ const q = {
238
242
  });
239
243
  typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
240
244
  let l, n;
241
- return { promise: new Promise((u, r) => {
242
- l = u, n = r;
245
+ return { promise: new Promise((u, s) => {
246
+ l = u, n = s;
243
247
  }), resolve: l, reject: n };
244
248
  });
245
249
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
246
250
  return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
247
251
  });
248
- const pe = /* @__PURE__ */ h({
252
+ const de = /* @__PURE__ */ h({
249
253
  __name: "App",
250
254
  setup(l) {
251
255
  const n = A(), i = Q(), u = W();
@@ -258,9 +262,9 @@ const pe = /* @__PURE__ */ h({
258
262
  console.error("Google map cannot be loaded");
259
263
  });
260
264
  }), P([() => n.currentCountry.value], () => {
261
- r();
265
+ s();
262
266
  });
263
- async function r() {
267
+ async function s() {
264
268
  var c;
265
269
  try {
266
270
  await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
@@ -272,5 +276,5 @@ const pe = /* @__PURE__ */ h({
272
276
  }
273
277
  });
274
278
  export {
275
- pe as default
279
+ de as default
276
280
  };
@@ -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 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, L as be, N as Oe, K as Re, O as Se, P as xe, Q as Pe, T as O } from "./app-D0bYbsGd.js";
3
- import { a as ke, P as k, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Cts9z9LO.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 = {
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 = {
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(Fe) {
12
- const a = ke(k.APPROVAL), { columnDefs: I } = qe(k.APPROVAL, a, a.shipments), B = De(), ee = ge();
11
+ setup(Ee) {
12
+ const a = qe(q.APPROVAL), { columnDefs: I } = we(q.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 q = y({
18
+ const w = y({
19
19
  name: "",
20
20
  ...ye()
21
21
  }), l = y({
22
- startDate: Z(q.value.start ?? /* @__PURE__ */ new Date()),
23
- endDate: Z(q.value.end ?? /* @__PURE__ */ new Date())
22
+ startDate: Z(w.value.start ?? /* @__PURE__ */ new Date()),
23
+ endDate: Z(w.value.end ?? /* @__PURE__ */ new Date())
24
24
  });
25
25
  ie([() => l.value.startDate], () => {
26
26
  if (!l.value.startDate)
@@ -36,9 +36,9 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { 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: w } = Te(), S = d(() => w.value.xs || w.value.sm), te = d(() => S.value ? 10 : 20), ae = be(), { t: T } = Ne(), re = d(() => [
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(() => [
40
40
  {
41
- label: T("inventory.common.refresh"),
41
+ label: N("inventory.common.refresh"),
42
42
  value: "refresh"
43
43
  }
44
44
  ]);
@@ -113,11 +113,11 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { 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(T)("inventory.transfer.approval.title"),
116
+ title: n(N)("inventory.transfer.approval.title"),
117
117
  actions: re.value,
118
118
  "onClick:action": se
119
119
  }, {
120
- default: P(() => {
120
+ default: k(() => {
121
121
  var r;
122
122
  return [
123
123
  c("div", {
@@ -154,19 +154,19 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
154
154
  )),
155
155
  "page-size": te.value
156
156
  }, {
157
- "list-row": P((t) => [
158
- i(Pe, {
157
+ "list-row": k((t) => [
158
+ i(ke, {
159
159
  row: t,
160
160
  onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
161
161
  }, {
162
- default: P((o) => {
163
- var p, N, A, f, C, M, V, L, v, z, F, h, $, _, E, Y, H, U, j, D, K, Q, G, J, g, W;
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;
164
164
  return [
165
- c("div", Ae, [
166
- c("div", Ce, [
165
+ c("div", Ce, [
166
+ c("div", Ae, [
167
167
  i(n(O), {
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)
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)
170
170
  }, null, 8, ["render", "props"])
171
171
  ]),
172
172
  c("div", Me, [
@@ -175,16 +175,16 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { 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((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, [
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, [
180
180
  i(n(O), {
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: (K = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : K.call(D)
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)
183
183
  }, null, 8, ["render", "props"])
184
184
  ])) : ve("", !0),
185
185
  c("div", ze, [
186
186
  i(n(O), {
187
- render: (J = (G = (Q = o.purchaseOrder_status) == null ? void 0 : Q.column) == null ? void 0 : G.columnDef) == null ? void 0 : J.cell,
187
+ render: (Q = (K = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.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 Ae = { class: "flex flex-col py-8" }, Ce = { 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(we, _e({
202
- scope: n(k).APPROVAL
201
+ i(Pe, _e({
202
+ scope: n(q).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-yQZC9peR.js";
3
- import { a as L, b9 as S } from "./app-D0bYbsGd.js";
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";
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, b9 as x, v as z } from "./app-D0bYbsGd.js";
2
+ import { a as M, ba as x, v as z } from "./app-CLG8lnmY.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, b9 as R } from "./app-D0bYbsGd.js";
2
+ import { F as b, a as P, ba as R } from "./app-CLG8lnmY.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({