@feedmepos/mf-inventory-portal 1.2.24 → 1.2.25-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/App-svECebjK.js +297 -0
  2. package/dist/{ApprovalView-D8SozxgZ.js → ApprovalView-CMSf_J2n.js} +13 -13
  3. package/dist/{BindingsDialog-DpD-srnA.js → BindingsDialog-DENEjolJ.js} +2 -2
  4. package/dist/{BindingsPicker-TraPSRn0.js → BindingsPicker-BYImJRaj.js} +1 -1
  5. package/dist/{BindingsTable-geCwbXg4.js → BindingsTable-BrGqgucq.js} +1 -1
  6. package/dist/{ClosingDraftView-DsYJZvGk.js → ClosingDraftView-uGF3mkBd.js} +5 -4
  7. package/dist/ClosingHistoryView-BKgZsXZU.js +355 -0
  8. package/dist/{ClosingTemplateView-CHkzO1Nu.js → ClosingTemplateView-BQmC4An_.js} +2 -2
  9. package/dist/{DeliveryOrderPrintPreview-skDykYOJ.js → DeliveryOrderPrintPreview-CqfFyoTx.js} +9 -9
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BgSCX-LL.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCTMmG94.js} +21 -21
  11. package/dist/{FmMultiselectDialog-CDbPF9Jh.js → FmMultiselectDialog-_MlkbNly.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CqDOpQBo.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DmLhEVWi.js} +1 -1
  13. package/dist/{ImportView-CskoJZ8f.js → ImportView-D-d9ATVE.js} +4 -6
  14. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-IrrYBFeM.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CdX2Uvdb.js} +1 -1
  15. package/dist/{IngredientGroupView-RledP9Ba.js → IngredientGroupView-BcaX4ZRX.js} +2 -2
  16. package/dist/{IngredientsView-C3AXdYSs.js → IngredientsView-DxA8tI-v.js} +7 -7
  17. package/dist/{IntegrationView-B_mGrVu5.js → IntegrationView-BtzwigHc.js} +141 -141
  18. package/dist/{InventoryBindingForm-CAqsJlFM.js → InventoryBindingForm-CIlQbCPQ.js} +1 -1
  19. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C3hmrMQB.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BH6zgB9N.js} +3 -3
  20. package/dist/{InventoryBindingSummary-CX05dIVw.js → InventoryBindingSummary-DCLkDnck.js} +1 -1
  21. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wWuCVuRM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BdUVlwac.js} +1 -1
  22. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BU0Npweo.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CNn57Gsw.js} +1 -1
  23. package/dist/{PublishView-CfVJ65by.js → PublishView-Cg56zsdv.js} +4 -4
  24. package/dist/{PurchaseOrderPrintPreview-DTsz2K_J.js → PurchaseOrderPrintPreview-ab3npDLz.js} +10 -10
  25. package/dist/{ReceiveRequestView-CgJZis38.js → ReceiveRequestView-CZ9GoTB3.js} +8 -8
  26. package/dist/{RecipeView-CLipp4YX.js → RecipeView-DODYvOxp.js} +3 -3
  27. package/dist/{StockView-BwZ2pl_P.js → StockView-P4B0_4cp.js} +18 -17
  28. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-jmEYs9QV.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DDGU8k4Y.js} +1 -1
  29. package/dist/{SupplierView-BpwchJuw.js → SupplierView-BBFEWOUO.js} +4 -4
  30. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CkkFDzSi.js → TransferDetails.vue_vue_type_script_setup_true_lang-CUw4_F1q.js} +174 -174
  31. package/dist/{TransferTemplateView-BoVhRHqn.js → TransferTemplateView-CZapMuRF.js} +7 -7
  32. package/dist/{UnitView-DvOXmefs.js → UnitView-BBBwzqJ-.js} +3 -3
  33. package/dist/{WarehouseView-CuSv-A_N.js → WarehouseView-Blc2Yput.js} +1 -1
  34. package/dist/api/closing.d.ts +1 -0
  35. package/dist/api/stock.d.ts +2 -44
  36. package/dist/{app-Cl-v2EjQ.js → app-_mYLQuxf.js} +6552 -6389
  37. package/dist/app.d.ts +99 -0
  38. package/dist/app.js +1 -1
  39. package/dist/{decimal-Cd_xkdIL.js → decimal-Cb5DEV38.js} +1 -1
  40. package/dist/{format-unit-display-UAp-LCyp.js → format-unit-display-DH44zkQq.js} +20 -20
  41. package/dist/{import-export.helper-0uVecFKH.js → import-export.helper-cLaJAcgW.js} +1 -1
  42. package/dist/{index-CL9QvjgU.js → index-CCIRnIFI.js} +1 -1
  43. package/dist/{index-BO1KynNa.js → index-YHqLg0qR.js} +1 -1
  44. package/dist/{purchase-order-template-D7DZ6S2H.js → purchase-order-template-Dt5KDXNO.js} +1 -1
  45. package/dist/router/name.d.ts +1 -0
  46. package/dist/stock-CV3z7I58.js +74 -0
  47. package/dist/stock-CrjsQRTg.js +83 -0
  48. package/dist/stores/inventory.d.ts +1 -0
  49. package/dist/{supplier-D49_CDEa.js → supplier-CbaxXdZ-.js} +1 -1
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{use-ingredient-select-dialog-CCLEsRrk.js → use-ingredient-select-dialog-CaEOT5eK.js} +1 -1
  52. package/dist/{use-inventory-binding-dialog-CvRGlhsk.js → use-inventory-binding-dialog-C6OfhRBn.js} +1 -1
  53. package/dist/views/closing-history/ClosingHistoryView.vue.d.ts +2 -0
  54. package/dist/views/stock/components/dialog/RecalculationDialog.vue.d.ts +11 -0
  55. package/dist/views/stock/components/dialog/RecalculationDialogProps.d.ts +3 -0
  56. package/package.json +3 -3
  57. package/dist/App-hvbk1R9p.js +0 -286
  58. package/dist/stock-DJ9usOfe.js +0 -146
@@ -0,0 +1,297 @@
1
+ import { ref as B, onUnmounted as D, defineComponent as w, watch as L, onMounted as M, computed as P, resolveComponent as y, openBlock as R, createElementBlock as A, unref as T, createVNode as g, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
2
+ import { u as K, a as $, b as j, R as e, c as V, m as _, g as r, d as k } from "./app-_mYLQuxf.js";
3
+ import { useCoreStore as U, useI18n as H } from "@feedmepos/mf-common";
4
+ import { useRouter as O, useRoute as z } from "vue-router";
5
+ import { u as Q } from "./useTabStorage-BkIVScW_.js";
6
+ import { u as Y } from "./googlemap-Dm8ERVai.js";
7
+ function q() {
8
+ return {
9
+ loadingHookInstalled: !1,
10
+ isLoading: !1
11
+ };
12
+ }
13
+ const I = B(q());
14
+ function J() {
15
+ const c = O();
16
+ if (!I.value.loadingHookInstalled) {
17
+ I.value.loadingHookInstalled = !0;
18
+ const a = c.beforeEach(() => {
19
+ I.value.isLoading = !0;
20
+ }), d = c.afterEach(() => {
21
+ I.value.isLoading = !1;
22
+ });
23
+ D(() => {
24
+ I.value.loadingHookInstalled = !1, a(), d();
25
+ });
26
+ }
27
+ return {
28
+ get isLoading() {
29
+ return I.value.isLoading;
30
+ }
31
+ };
32
+ }
33
+ const X = {
34
+ key: 0,
35
+ class: "flex flex-col items-center w-full h-full gap-24"
36
+ }, Z = {
37
+ key: 1,
38
+ class: "flex flex-col pt-[200px] gap-32 items-center"
39
+ }, ee = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, te = { class: "fm-typo-en-title-lg-600" }, oe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ne = { class: "flex gap-16" }, ae = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, re = { href: "https://feedme.ai/form" }, le = /* @__PURE__ */ w({
40
+ __name: "InventoryView",
41
+ setup(c) {
42
+ const a = K(), d = $(), p = j(), l = U(), s = O(), m = J(), t = V(), { t: E } = H();
43
+ L(
44
+ [() => l.sessionUser.value, () => l.currentBusiness.value],
45
+ ([u, i]) => {
46
+ h(u, i);
47
+ }
48
+ ), M(async () => {
49
+ await t.init(), await l.readBusinesses();
50
+ const u = l.sessionUser.value, i = l.currentBusiness.value;
51
+ h(u, i);
52
+ });
53
+ function h(u, i) {
54
+ !u || !i || N();
55
+ }
56
+ async function N() {
57
+ return await a.init(), await p.readSetting().catch((u) => {
58
+ console.error("[all] error on reading netsuite store", u);
59
+ }), await d.init();
60
+ }
61
+ const C = P(() => s.currentRoute.value.name === e.TRANSFER_TEMPLATE ? t.enablePoTemplate : s.currentRoute.value.name === e.INGREDIENT_GROUP ? t.enableIngredientGroup : !0);
62
+ return (u, i) => {
63
+ const S = y("FmSpacer"), G = y("FmCircularProgress"), o = y("FmButton"), n = y("RouterView");
64
+ return R(), A("div", null, [
65
+ T(m).isLoading ? (R(), A("div", X, [
66
+ g(S),
67
+ v("div", null, [
68
+ g(G, { size: "xl" })
69
+ ]),
70
+ i[0] || (i[0] = v("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
71
+ g(S)
72
+ ])) : C.value ? T(l).sessionUser.value ? (R(), F(n, { key: 2 })) : W("", !0) : (R(), A("div", Z, [
73
+ v("div", ee, [
74
+ v("div", te, x(T(E)("inventory.common.proPlan.title")), 1),
75
+ v("div", oe, x(T(E)("inventory.common.proPlan.subtitle")), 1)
76
+ ]),
77
+ v("div", ne, [
78
+ v("a", ae, [
79
+ g(o, {
80
+ label: T(E)("inventory.common.proPlan.comparePlans"),
81
+ variant: "secondary"
82
+ }, null, 8, ["label"])
83
+ ]),
84
+ v("a", re, [
85
+ g(o, {
86
+ label: T(E)("inventory.common.proPlan.callUs"),
87
+ "prepend-icon": "call"
88
+ }, null, 8, ["label"])
89
+ ])
90
+ ])
91
+ ]))
92
+ ]);
93
+ };
94
+ }
95
+ }), se = { class: "h-full flex flex-col overflow-auto py-16" }, ie = /* @__PURE__ */ w({
96
+ __name: "NavigationTab",
97
+ setup(c) {
98
+ const a = _.object({
99
+ label: _.string(),
100
+ value: _.string().optional(),
101
+ icon: _.string().optional(),
102
+ hide: _.boolean().optional(),
103
+ children: _.array(_.lazy(() => a)).optional()
104
+ }), d = z(), p = O(), l = U(), s = V(), m = Q(), { t } = H(), { isDev: E } = k();
105
+ L([() => l.currentBusiness.value, () => d.name], ([o, n]) => {
106
+ (o == null ? void 0 : o.menuVersion) === "v3" && (n === e.INGREDIENTS || n === e.RECIPE || n === e.UNIT) && p.push({ name: e.STOCK });
107
+ });
108
+ const h = (o) => o.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: h(n.children) } : n), N = (o) => o.map((n) => {
109
+ delete n.hide;
110
+ const f = n;
111
+ return n.children && (f.children = N(n.children)), f;
112
+ }), C = P(() => {
113
+ var f;
114
+ const o = [
115
+ {
116
+ label: "Non-Production Environment",
117
+ icon: "logo_dev",
118
+ disabled: !0,
119
+ hide: !E
120
+ },
121
+ {
122
+ label: r(e.STOCK, t),
123
+ // icon: 'inventory_2',
124
+ children: [
125
+ {
126
+ label: t("inventory.stock.stock_balance.title"),
127
+ value: e.STOCK
128
+ },
129
+ {
130
+ label: r(e.WASTAGE_TEMPLATE, t),
131
+ value: e.WASTAGE_TEMPLATE,
132
+ hide: !s.enableWastageTemplate
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ label: "Closing",
138
+ children: [
139
+ {
140
+ label: r(e.CLOSING_HISTORY, t),
141
+ value: e.CLOSING_HISTORY
142
+ },
143
+ {
144
+ label: r(e.CLOSING_TEMPLATE, t),
145
+ value: e.CLOSING_TEMPLATE,
146
+ hide: !s.enableClosingTemplate
147
+ },
148
+ {
149
+ label: r(e.CLOSING_DRAFT, t),
150
+ value: e.CLOSING_DRAFT,
151
+ hide: !s.enableClosingTemplate
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ label: r(e.INGREDIENTS, t),
157
+ // icon: 'grocery',
158
+ value: e.INGREDIENTS
159
+ },
160
+ {
161
+ label: r(e.INGREDIENT_GROUP, t),
162
+ // icon: 'grocery',
163
+ value: e.INGREDIENT_GROUP,
164
+ hide: !s.enableIngredientGroup
165
+ },
166
+ {
167
+ label: r(e.RECIPE, t),
168
+ // icon: 'weight',
169
+ value: e.RECIPE
170
+ },
171
+ {
172
+ label: r(e.UNIT, t),
173
+ // icon: 'fastfood',
174
+ value: e.UNIT
175
+ },
176
+ {
177
+ label: t("inventory.transfer.title"),
178
+ // icon: 'swap_horiz',
179
+ children: [
180
+ {
181
+ label: r(e.RECEIVE_REQUEST, t),
182
+ value: e.RECEIVE_REQUEST
183
+ },
184
+ {
185
+ label: r(e.APPROVAL, t),
186
+ value: e.APPROVAL
187
+ },
188
+ {
189
+ label: r(e.TRANSFER_TEMPLATE, t),
190
+ value: e.TRANSFER_TEMPLATE,
191
+ hide: !s.enablePoTemplate
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ label: r(e.SUPPLIER, t),
197
+ // icon: 'group',
198
+ value: e.SUPPLIER
199
+ },
200
+ {
201
+ label: r(e.WAREHOUSE, t),
202
+ // icon: 'warehouse',
203
+ value: e.WAREHOUSE
204
+ },
205
+ {
206
+ label: r(e.PUBLISH, t),
207
+ value: e.PUBLISH
208
+ },
209
+ {
210
+ label: r(e.IMPORT, t),
211
+ value: e.IMPORT,
212
+ hide: !s.enableBulkImport
213
+ },
214
+ {
215
+ label: r(e.INTEGRATION, t),
216
+ // icon: 'integration_instructions',
217
+ value: e.INTEGRATION
218
+ }
219
+ ], n = N(h(o));
220
+ return ((f = l.currentBusiness.value) == null ? void 0 : f.menuVersion) === "v3" ? n.filter(
221
+ (b) => b.value !== e.INGREDIENTS && b.value !== e.RECIPE && b.value !== e.UNIT && b.value !== e.PUBLISH
222
+ ) : n;
223
+ }), u = P({
224
+ get() {
225
+ if (d.name)
226
+ return String(d.name);
227
+ },
228
+ set(o) {
229
+ o && p.push({ name: o });
230
+ }
231
+ }), i = P(
232
+ () => {
233
+ var o;
234
+ return `NavigationTab.${(o = l.currentBusiness.value) == null ? void 0 : o._id}`;
235
+ }
236
+ ), S = B(!1), G = P({
237
+ get() {
238
+ return S.value;
239
+ },
240
+ set(o) {
241
+ S.value = o, o || m.setItem(i.value, "true");
242
+ }
243
+ });
244
+ return L([() => i.value], () => {
245
+ S.value = !1, setTimeout(() => {
246
+ G.value = !m.getItem(i.value);
247
+ }, 2e3);
248
+ }), (o, n) => {
249
+ const f = y("FmCollapsibleTabs");
250
+ return R(), A("div", se, [
251
+ g(f, {
252
+ modelValue: u.value,
253
+ "onUpdate:modelValue": n[0] || (n[0] = (b) => u.value = b),
254
+ items: C.value
255
+ }, null, 8, ["modelValue", "items"])
256
+ ]);
257
+ };
258
+ }
259
+ });
260
+ typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
261
+ let c, a;
262
+ return { promise: new Promise((p, l) => {
263
+ c = p, a = l;
264
+ }), resolve: c, reject: a };
265
+ });
266
+ typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(c) {
267
+ return await new Promise((a) => setTimeout(a, c)), Promise.resolve(this);
268
+ });
269
+ const fe = /* @__PURE__ */ w({
270
+ __name: "App",
271
+ setup(c) {
272
+ const a = U(), d = Y(), p = k();
273
+ M(() => {
274
+ if (window.location.href.includes("print-preview")) {
275
+ a.setEmbedded(!0), document.body.classList.add("print-mode");
276
+ return;
277
+ }
278
+ a.registerSidebarComponent(ie), d.initGoogleMap(p.appApi.googleMap).catch(() => {
279
+ console.error("Google map cannot be loaded");
280
+ });
281
+ }), L([() => a.currentCountry.value], () => {
282
+ l();
283
+ });
284
+ async function l() {
285
+ var s;
286
+ try {
287
+ await a.readBusinesses(), a.currentBusiness.value = (s = a.businesses.value) == null ? void 0 : s.find((m) => m);
288
+ } catch (m) {
289
+ console.error("error when trying to reset businesses:", m);
290
+ }
291
+ }
292
+ return (s, m) => (R(), F(le));
293
+ }
294
+ });
295
+ export {
296
+ fe as default
297
+ };
@@ -1,6 +1,6 @@
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, m as b, aY as ye, am as Z, G as be, N as Oe, H as Re, I as Se, J as xe, K as ke, L as O } from "./app-Cl-v2EjQ.js";
3
- import { u as qe, P as q, a as we, _ as Pe } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CkkFDzSi.js";
1
+ import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as W, 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, m as b, aZ as ye, am as X, G as be, N as Oe, H as Re, I as Se, J as xe, K as ke, L as O } from "./app-_mYLQuxf.js";
3
+ import { u as qe, P as q, a as we, _ as Pe } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CUw4_F1q.js";
4
4
  import { useBreakpoints as Ne } from "@feedmepos/ui-library";
5
5
  import { useI18n as Te } from "@feedmepos/mf-common";
6
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" }, Le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ve = {
@@ -19,8 +19,8 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
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: X(w.value.start ?? /* @__PURE__ */ new Date()),
23
+ endDate: X(w.value.end ?? /* @__PURE__ */ new Date())
24
24
  });
25
25
  ie([() => l.value.startDate], () => {
26
26
  if (!l.value.startDate)
@@ -112,7 +112,7 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
112
112
  });
113
113
  return (u, s) => {
114
114
  const e = ce("FmTable");
115
- return x(), X(Se, {
115
+ return x(), W(Se, {
116
116
  title: n(N)("inventory.transfer.approval.title"),
117
117
  actions: re.value,
118
118
  "onClick:action": se
@@ -160,7 +160,7 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
160
160
  onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
161
161
  }, {
162
162
  default: k((o) => {
163
- var p, T, A, f, C, M, L, V, v, z, F, h, Y, _, $, E, H, U, j, D, G, J, K, Q, g, W;
163
+ var p, T, A, f, C, M, L, V, v, z, F, h, $, _, E, H, Y, U, j, D, G, J, K, Z, g, Q;
164
164
  return [
165
165
  c("div", Ae, [
166
166
  c("div", Ce, [
@@ -175,17 +175,17 @@ 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", Le, me(($ = (_ = (Y = (h = (F = t.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : h.map) == null ? void 0 : Y.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : $.call(_, ", ")), 1),
179
- (E = t.original.purchaseOrder) != null && E.ref ? (x(), fe("div", Ve, [
178
+ c("div", Le, 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
+ (H = t.original.purchaseOrder) != null && H.ref ? (x(), fe("div", Ve, [
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,
181
+ render: (j = (U = (Y = o.purchaseOrder_ref) == null ? void 0 : Y.column) == null ? void 0 : U.columnDef) == null ? void 0 : j.cell,
182
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: (Q = (K = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
188
- props: (W = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : W.call(g)
187
+ render: (Z = (K = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : K.columnDef) == null ? void 0 : Z.cell,
188
+ props: (Q = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : Q.call(g)
189
189
  }, null, 8, ["render", "props"])
190
190
  ])
191
191
  ])
@@ -197,7 +197,7 @@ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
197
197
  _: 1
198
198
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
199
199
  ], 2),
200
- (x(), X(he, { to: "body" }, [
200
+ (x(), W(he, { to: "body" }, [
201
201
  i(Pe, _e({
202
202
  scope: n(q).APPROVAL
203
203
  }, {
@@ -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-C3hmrMQB.js";
3
- import { a as L, bc as S } from "./app-Cl-v2EjQ.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BH6zgB9N.js";
3
+ import { a as L, bc as S } from "./app-_mYLQuxf.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 x, bc as M, x as z } from "./app-Cl-v2EjQ.js";
2
+ import { a as x, bc as M, x as z } from "./app-_mYLQuxf.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, bc as R } from "./app-Cl-v2EjQ.js";
2
+ import { F as b, a as P, bc as R } from "./app-_mYLQuxf.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({
@@ -1,9 +1,10 @@
1
1
  import { defineComponent as He, ref as H, computed as V, onMounted as Ye, resolveComponent as U, openBlock as j, createElementBlock as L, Fragment as ee, createTextVNode as X, createBlock as se, withCtx as G, createElementVNode as r, toDisplayString as J, unref as F, createVNode as x, createCommentVNode as de, h as T, reactive as _t, watch as Dt, isRef as rt, normalizeClass as De, renderList as je, normalizeStyle as lt, Teleport as wt, mergeProps as St } from "vue";
2
- import { aa as Ct, u as ze, ax as z, am as ct, ay as it, r as jt, Z as Qe, n as N, t as Bt, a0 as Be, W as Ft, Y as Tt, X as $t, az as ut, aA as dt, ah as mt, aB as pe, an as Mt, ac as Ke, ab as ve, a6 as Ue, D as st, j as Re, i as Rt, f as It, a as Pt, $ as Ie, a9 as Vt, G as Ut, I as Lt, J as Et, K as Ht, L as Pe } from "./app-Cl-v2EjQ.js";
2
+ import { aa as Ct, u as ze, ax as z, am as ct, ay as it, r as jt, Z as Qe, n as N, t as Bt, a0 as Be, W as Ft, Y as Tt, X as $t, az as ut, aA as dt, ah as mt, aB as pe, an as Mt, ac as Ke, ab as ve, a6 as Ue, D as st, j as Re, i as Rt, f as It, a as Pt, $ as Ie, a9 as Vt, G as Ut, I as Lt, J as Et, K as Ht, L as Pe } from "./app-_mYLQuxf.js";
3
3
  import { useCoreStore as zt, useI18n as ft } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Ge, useDialog as Nt, useProxiedModel as Ot, components as Ve, useBreakpoints as Kt } from "@feedmepos/ui-library";
5
5
  import { defineStore as pt, storeToRefs as Yt } from "pinia";
6
- import { a as We, u as vt } from "./stock-DJ9usOfe.js";
6
+ import { u as vt } from "./stock-CV3z7I58.js";
7
+ import { u as We } from "./stock-CrjsQRTg.js";
7
8
  import { E as Qt } from "./empty-placeholder-wf6-BWE8.js";
8
9
  const Ne = Ct((o, l) => {
9
10
  function e() {
@@ -1769,7 +1770,7 @@ const ia = pt(
1769
1770
  }, 8, ["model-value"]);
1770
1771
  };
1771
1772
  }
1772
- }), Qa = { class: "flex-1 flex flex-col gap-8" }, Ga = { class: "flex flex-col" }, Wa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qa = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Za = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Ja = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, cn = /* @__PURE__ */ He({
1773
+ }), Qa = { class: "flex-1 flex flex-col gap-8" }, Ga = { class: "flex flex-col" }, Wa = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, qa = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Za = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Ja = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, un = /* @__PURE__ */ He({
1773
1774
  __name: "ClosingDraftView",
1774
1775
  setup(o) {
1775
1776
  const { t: l } = ft(), { viewDraft: e } = Ee(), { viewClosingDraftProps: m, viewClosingDraftShow: p } = Yt(Ee()), w = ze(), v = ia(), R = Ut(), { breakpoints: S } = Kt();
@@ -1894,5 +1895,5 @@ const ia = pt(
1894
1895
  }
1895
1896
  });
1896
1897
  export {
1897
- cn as default
1898
+ un as default
1898
1899
  };