@feedmepos/mf-inventory-portal 1.3.7-dev.1 → 1.3.7

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 (108) hide show
  1. package/dist/{App-CJwfIjMX.js → App-D1-fT3jF.js} +3 -3
  2. package/dist/ApprovalView-0FbsslVD.js +226 -0
  3. package/dist/{BindingsDialog-DCrRYbJJ.js → BindingsDialog-DeavyPY-.js} +5 -5
  4. package/dist/{BindingsPicker-B6gakVEN.js → BindingsPicker-BGzhKq8G.js} +3 -3
  5. package/dist/{BindingsTable-IVHY6t4x.js → BindingsTable-Dr9hWkE1.js} +5 -5
  6. package/dist/{ClosingDraftView-D1CJtcPl.js → ClosingDraftView-6gwWEWWB.js} +57 -57
  7. package/dist/{ClosingHistoryView-DMGhfS9R.js → ClosingHistoryView-D4rNnlsq.js} +4 -4
  8. package/dist/{ClosingTemplateView-Djo0juNV.js → ClosingTemplateView-DxCLH1GH.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-yIr0KaZ-.js → DeliveryOrderPrintPreview-D-XeZX-z.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CboUeuGd.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DeoaPLQm.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js} +2 -2
  12. package/dist/{FmMultiselectDialog-Dfd2CP8Q.js → FmMultiselectDialog-BQZmTWDb.js} +2 -2
  13. package/dist/{FmMultiselectDialog-CmT3UKF6.js → FmMultiselectDialog-DJFi54mG.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js} +4 -4
  15. package/dist/{ImportView-M6gfAQRh.js → ImportView-DPQY0ELT.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js} +1 -1
  17. package/dist/{IngredientGroupView-C29gfI37.js → IngredientGroupView-5AuPbMDz.js} +7 -7
  18. package/dist/{IngredientsView-DnM7eqv0.js → IngredientsView-qMotWYnL.js} +17 -17
  19. package/dist/{IntegrationView-CxXZ90Dg.js → IntegrationView-CVdwhNTA.js} +13 -13
  20. package/dist/{InventoryBindingForm-FImVaTic.js → InventoryBindingForm-B5KUYKIu.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js} +5 -5
  22. package/dist/{InventoryBindingSummary-DwHKeLyV.js → InventoryBindingSummary-Bm3A2kmC.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cViXSxPS.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NnoVkA8W.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CCF4_Pyr.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dp4gFbs5.js} +1 -1
  25. package/dist/PublishView-DOIiAeDK.js +208 -0
  26. package/dist/{PurchaseOrderPrintPreview-CJSISF6B.js → PurchaseOrderPrintPreview-BE-8EJFv.js} +12 -12
  27. package/dist/ReceiveRequestView-ur3OeHuv.js +2802 -0
  28. package/dist/{RecipeView-HugMCN1V.js → RecipeView-CM-BrVSe.js} +21 -22
  29. package/dist/{StockView-B3hLSoWp.js → StockView-DDqlms0m.js} +20 -21
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js} +1 -1
  31. package/dist/{SupplierView-DK9liRuA.js → SupplierView-CM2PrtHi.js} +14 -14
  32. package/dist/{SurchargeView-Cnz3QPAF.js → SurchargeView-q2NfASMH.js} +8 -8
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BsesD9UR.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbZQZQTQ.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHvOhMtd.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp3joqMK.js} +67 -60
  35. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-GhRFdMoW.js +3521 -0
  36. package/dist/{TransferTemplateView-hUBkM1Y0.js → TransferTemplateView-B26H_T9Q.js} +19 -20
  37. package/dist/{UnitCostHistoryView-gHpyp4-l.js → UnitCostHistoryView-BzumRVdx.js} +4 -4
  38. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DOC0W_-a.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CfWpv2Mv.js} +4 -4
  39. package/dist/{UnitView-Bt4EY0DU.js → UnitView-Cxfg--TU.js} +9 -9
  40. package/dist/{WarehouseView-C7Aa5MQz.js → WarehouseView-CvoafTrd.js} +7 -7
  41. package/dist/{WastageTemplateView-B59wFpmS.js → WastageTemplateView-Bqd4Wp3d.js} +16 -16
  42. package/dist/{app-Bd2n830Y.js → app-CrrDFeMj.js} +3181 -3267
  43. package/dist/app.d.ts +0 -32
  44. package/dist/app.js +2 -2
  45. package/dist/{closing-template-CbIMkUm-.js → closing-template-Ew74NLQj.js} +1 -1
  46. package/dist/{component-kqxARxvM.js → component-DpCUABT3.js} +21 -30
  47. package/dist/components/row-action.enum.d.ts +0 -3
  48. package/dist/{date2-CH3V-Ucj.js → date2-Bklbk2g-.js} +1 -1
  49. package/dist/{dayjs.min-0pcsGWEW.js → dayjs.min-B463GIlc.js} +1 -1
  50. package/dist/{decimal-DqMF4lgE.js → decimal-Dm2vbfDq.js} +2 -2
  51. package/dist/defineDeepModel-SD5OUepJ.js +19 -0
  52. package/dist/{duplicate-template-VcCheWzy.js → duplicate-template-CR79OmLy.js} +1 -1
  53. package/dist/{export-DAK4eXwZ.js → export-CQJcxfPC.js} +1 -1
  54. package/dist/{inventory-core-dart.default-BVmmW4IN.js → feature-CZHvliez.js} +1395 -322
  55. package/dist/{format-time-from-id-C1atPaNT.js → format-time-from-id-61ydd8RS.js} +1 -1
  56. package/dist/{format-unit-display-B4zjXa1i.js → format-unit-display-BLtW28yU.js} +13 -13
  57. package/dist/{import-export.helper-DWUpF27a.js → import-export.helper-uhFwjH6X.js} +6 -6
  58. package/dist/{index-Co-3wUpY.js → index-CouegIcG.js} +1 -1
  59. package/dist/{index-DoyDKyP_.js → index-Dx5HvWR_.js} +1 -1
  60. package/dist/{index-BFpquHWG.js → index-uA6bkf1x.js} +3 -3
  61. package/dist/{lodash-BsMM-AaB.js → lodash-CjyamSgJ.js} +1 -1
  62. package/dist/{lz-string-BfBty02S.js → lz-string-BbZdMrTL.js} +1 -1
  63. package/dist/{netsuite-B86m9YM_.js → netsuite-2v3F8ILe.js} +3 -3
  64. package/dist/{number-Bu93lKcU.js → number-BYbxsJHr.js} +3 -3
  65. package/dist/{purchase-order-template-DDmIZDfJ.js → purchase-order-template-s1AiueV_.js} +1 -1
  66. package/dist/router/name.d.ts +0 -1
  67. package/dist/{row-action.enum-Co_O4qD9.js → row-action.enum-BcW_L_nE.js} +3 -11
  68. package/dist/{rules-BXeKMOa6.js → rules-C7L-LFOd.js} +2 -2
  69. package/dist/{stock-BkjUFSH-.js → stock-CvYOcgWb.js} +3 -3
  70. package/dist/{stock-D6A9nUUq.js → stock-D2s88pz1.js} +1 -1
  71. package/dist/stores/feature.d.ts +0 -2
  72. package/dist/style.css +1 -1
  73. package/dist/{supplier-BEFK8KT8.js → supplier-DmobM7mD.js} +2 -2
  74. package/dist/{surcharge-BKuJQ1bw.js → surcharge-BdZOVfi0.js} +1 -1
  75. package/dist/tsconfig.app.tsbuildinfo +1 -1
  76. package/dist/{use-ingredient-select-dialog-CtkHGZVI.js → use-ingredient-select-dialog-BUCJBHjV.js} +2 -2
  77. package/dist/{use-inventory-binding-dialog-Df4UAdJI.js → use-inventory-binding-dialog-DiN1hBIm.js} +2 -2
  78. package/dist/{use-template-enabled-locations-2-CNT1brYI.js → use-template-enabled-locations-CmH6I2cy.js} +33 -21
  79. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -4
  80. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +7 -93
  81. package/dist/vue-i18n-D0Q6LFcu.js +2365 -0
  82. package/dist/{xlsx-Dig-xBj4.js → xlsx-D4PML26z.js} +398 -398
  83. package/dist/{xlsx.util-R4tPgyBp.js → xlsx.util-BWLcCmO_.js} +1 -1
  84. package/package.json +4 -7
  85. package/dist/ApprovalView-DOq2oFvo.js +0 -241
  86. package/dist/PublishView-D8aVGgPP.js +0 -234
  87. package/dist/ReceiveRequestView-DeOwJD3K.js +0 -2817
  88. package/dist/SettingsView-BqNC4kXc.js +0 -695
  89. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js +0 -3790
  90. package/dist/defineDeepModel-nM-22Ofl.js +0 -19
  91. package/dist/feature-D9W_Z06D.js +0 -1081
  92. package/dist/modules/print-template/api/print-template.d.ts +0 -29
  93. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +0 -19
  94. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +0 -25
  95. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +0 -45
  96. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +0 -22
  97. package/dist/modules/print-template/composables/print-po-with-template.d.ts +0 -25
  98. package/dist/modules/print-template/definitions/block-definitions.d.ts +0 -88
  99. package/dist/modules/print-template/definitions/predefined-templates.d.ts +0 -22
  100. package/dist/modules/print-template/definitions/template-renderer.d.ts +0 -17
  101. package/dist/modules/print-template/index.d.ts +0 -11
  102. package/dist/modules/print-template/store/print-template.d.ts +0 -170
  103. package/dist/modules/print-template/types/print-data.d.ts +0 -52
  104. package/dist/modules/print-template/utils/sanitize-html.d.ts +0 -32
  105. package/dist/predefined-templates-swTNxWXc.js +0 -4542
  106. package/dist/views/settings/SettingsView.vue.d.ts +0 -2
  107. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -13
  108. package/dist/vue-i18n-BaovYGY4.js +0 -2365
@@ -1,9 +1,9 @@
1
1
  import { ref as A, onUnmounted as j, defineComponent as U, watch as L, onMounted as H, computed as S, resolveComponent as h, openBlock as v, createElementBlock as y, unref as w, createVNode as E, createElementVNode as r, toDisplayString as I, createBlock as k, createCommentVNode as M, withCtx as F, withDirectives as K, vModelText as Y, Fragment as z, renderList as Q, createTextVNode as O } from "vue";
2
- import { u as q, a as J, R as t, m as x, g as s, b as D } from "./app-Bd2n830Y.js";
2
+ import { u as q, a as J, R as t, m as x, g as s, b as D } from "./app-CrrDFeMj.js";
3
3
  import { useCoreStore as B, useI18n as $ } from "@feedmepos/mf-common";
4
4
  import { useRouter as V, useRoute as X } from "vue-router";
5
- import { u as W, a as Z, I as ee } from "./feature-D9W_Z06D.js";
6
- import { u as te } from "./netsuite-B86m9YM_.js";
5
+ import { u as W, a as Z, I as ee } from "./feature-CZHvliez.js";
6
+ import { u as te } from "./netsuite-2v3F8ILe.js";
7
7
  import { u as ne } from "./useTabStorage-BkIVScW_.js";
8
8
  import { F as oe } from "./FmAdminBadge-BOEV93D3.js";
9
9
  import { u as le } from "./googlemap-Dm8ERVai.js";
@@ -0,0 +1,226 @@
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, m as b } from "./app-CrrDFeMj.js";
3
+ import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js";
4
+ import { a as be, P as k, b as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-GhRFdMoW.js";
5
+ import { d as Z } from "./date2-Bklbk2g-.js";
6
+ import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
7
+ import { _ as Pe, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
8
+ import { useBreakpoints as ke } from "@feedmepos/ui-library";
9
+ import { useI18n as qe } from "@feedmepos/mf-common";
10
+ import { P as we, J as Te } from "./app-DiX-EfV6.js";
11
+ import { u as Ae } from "./netsuite-2v3F8ILe.js";
12
+ const Ce = { class: "flex flex-col py-8" }, Ne = { 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" }, Fe = {
13
+ key: 0,
14
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
15
+ }, Le = { class: "pt-8" }, Xe = /* @__PURE__ */ ue({
16
+ __name: "ApprovalView",
17
+ setup(ze) {
18
+ const a = be(k.APPROVAL), { columnDefs: I } = Oe(k.APPROVAL, a, a.shipments), B = De(), ee = Ae();
19
+ b.object({
20
+ name: b.string().optional().nullable(),
21
+ start: b.date().optional().nullable(),
22
+ end: b.date().optional().nullable()
23
+ });
24
+ const q = y({
25
+ name: "",
26
+ ...ge()
27
+ }), l = y({
28
+ startDate: Z(q.value.start ?? /* @__PURE__ */ new Date()),
29
+ endDate: Z(q.value.end ?? /* @__PURE__ */ new Date())
30
+ });
31
+ ie([() => l.value.startDate], () => {
32
+ if (!l.value.startDate)
33
+ return;
34
+ if (!l.value.endDate) {
35
+ l.value.endDate = l.value.startDate;
36
+ return;
37
+ }
38
+ const u = new Date(l.value.startDate);
39
+ if (new Date(l.value.endDate).getTime() < u.getTime()) {
40
+ l.value.endDate = l.value.startDate;
41
+ return;
42
+ }
43
+ a.updateDateRange(l.value.startDate, l.value.endDate);
44
+ });
45
+ const R = y(""), { breakpoints: w } = ke(), S = d(() => w.value.xs || w.value.sm), te = d(() => S.value ? 10 : 20), ae = Se(), { t: T } = qe(), re = d(() => [
46
+ {
47
+ label: T("inventory.common.refresh"),
48
+ value: "refresh"
49
+ }
50
+ ]);
51
+ function se(u) {
52
+ switch (u) {
53
+ case "refresh":
54
+ return a.fetchData();
55
+ }
56
+ }
57
+ const ne = d(() => {
58
+ const u = [
59
+ {
60
+ type: "string",
61
+ key: "status",
62
+ entity: "purchaseOrderRequest",
63
+ values: Array.from(
64
+ new Set(
65
+ a.purchaseRequests.value.map((e) => {
66
+ var r;
67
+ return ((r = e.purchaseOrder) == null ? void 0 : r.status) ?? "";
68
+ }).filter((e) => e !== "")
69
+ )
70
+ )
71
+ }
72
+ ], s = [
73
+ {
74
+ type: "string",
75
+ key: "netsuiteTransactionNumber",
76
+ entity: "purchaseOrderRequest",
77
+ values: a.purchaseRequests.value.map((e) => {
78
+ var r, t;
79
+ return (t = (r = e.netSuite) == null ? void 0 : r.additionalInfo) == null ? void 0 : t.transactionnumber;
80
+ }).filter((e) => e != null)
81
+ },
82
+ {
83
+ type: "string",
84
+ key: "netsuiteOrderNo",
85
+ entity: "purchaseOrderRequest",
86
+ values: a.purchaseRequests.value.map((e) => {
87
+ var r;
88
+ return (r = e.netSuite) == null ? void 0 : r.refNo;
89
+ }).filter((e) => e != null)
90
+ },
91
+ {
92
+ type: "string",
93
+ key: "netsuiteOrderId",
94
+ entity: "purchaseOrderRequest",
95
+ values: a.purchaseRequests.value.map((e) => {
96
+ var r;
97
+ return (r = e.netSuite) == null ? void 0 : r.id;
98
+ }).filter((e) => e != null)
99
+ }
100
+ ];
101
+ return [...u, ...ee.isEnabled ? s : []];
102
+ }), m = y(null), oe = d(() => {
103
+ if (!m.value)
104
+ return a.purchaseRequests.value;
105
+ const u = we.build(m.value);
106
+ return a.purchaseRequests.value.filter((s) => {
107
+ var e, r, t, o, p;
108
+ return Te(
109
+ {
110
+ netsuiteTransactionNumber: (r = (e = s.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : r.transactionnumber,
111
+ netsuiteOrderNo: (t = s.netSuite) == null ? void 0 : t.refNo,
112
+ netsuiteOrderId: (o = s.netSuite) == null ? void 0 : o.id,
113
+ status: (p = s.purchaseOrder) == null ? void 0 : p.status
114
+ },
115
+ u
116
+ );
117
+ });
118
+ });
119
+ return (u, s) => {
120
+ const e = ce("FmTable");
121
+ return x(), X(xe, {
122
+ title: n(T)("inventory.transfer.approval.title"),
123
+ actions: re.value,
124
+ "onClick:action": se
125
+ }, {
126
+ default: P(() => {
127
+ var r;
128
+ return [
129
+ c("div", {
130
+ class: pe([
131
+ "flex flex-col gap-8 max-h-full",
132
+ {
133
+ "p-0": S.value,
134
+ "px-24 ": !S.value
135
+ }
136
+ ])
137
+ }, [
138
+ i(ye, {
139
+ "date-range-query": "",
140
+ "date-range": l.value,
141
+ "onUpdate:dateRange": s[0] || (s[0] = (t) => l.value = t),
142
+ searchable: "",
143
+ "change-location": "",
144
+ search: R.value,
145
+ "onUpdate:search": s[1] || (s[1] = (t) => R.value = t),
146
+ filterable: "",
147
+ "filter-attributes": ne.value,
148
+ filter: m.value,
149
+ "onUpdate:filter": s[2] || (s[2] = (t) => m.value = t)
150
+ }, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
151
+ i(e, {
152
+ style: de(n(ae).tableHeight),
153
+ "column-defs": n(I),
154
+ "row-data": oe.value,
155
+ "search-value": R.value,
156
+ loading: !n(B)._currentLocation || n(a).loading.value,
157
+ onRowClick: s[3] || (s[3] = (t) => n(a).promptShowTransferDetails(
158
+ t.original.purchaseOrder,
159
+ t.original
160
+ )),
161
+ "page-size": te.value
162
+ }, {
163
+ "list-row": P((t) => [
164
+ i(Pe, {
165
+ row: t,
166
+ onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
167
+ }, {
168
+ default: P((o) => {
169
+ var p, A, C, f, N, M, V, F, v, L, z, h, $, _, E, Y, U, j, H, D, J, G, K, Q, g, W;
170
+ return [
171
+ c("div", Ce, [
172
+ c("div", Ne, [
173
+ i(n(O), {
174
+ render: (C = (A = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : A.columnDef) == null ? void 0 : C.cell,
175
+ props: (N = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : N.call(f)
176
+ }, null, 8, ["render", "props"])
177
+ ]),
178
+ c("div", Me, [
179
+ i(n(O), {
180
+ render: (F = (V = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : V.columnDef) == null ? void 0 : F.cell,
181
+ props: (L = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : L.call(v)
182
+ }, null, 8, ["render", "props"])
183
+ ]),
184
+ c("div", Ve, me((E = (_ = ($ = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : $.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : E.call(_, ", ")), 1),
185
+ (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), fe("div", Fe, [
186
+ i(n(O), {
187
+ render: (H = (j = (U = o.purchaseOrder_ref) == null ? void 0 : U.column) == null ? void 0 : j.columnDef) == null ? void 0 : H.cell,
188
+ props: (J = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : J.call(D)
189
+ }, null, 8, ["render", "props"])
190
+ ])) : ve("", !0),
191
+ c("div", Le, [
192
+ i(n(O), {
193
+ render: (Q = (K = (G = o.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
194
+ props: (W = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : W.call(g)
195
+ }, null, 8, ["render", "props"])
196
+ ])
197
+ ])
198
+ ];
199
+ }),
200
+ _: 2
201
+ }, 1032, ["row", "onRowClick"])
202
+ ]),
203
+ _: 1
204
+ }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
205
+ ], 2),
206
+ (x(), X(he, { to: "body" }, [
207
+ i(Re, _e({
208
+ scope: n(k).APPROVAL
209
+ }, {
210
+ ...n(a).transferDetailsProps.value,
211
+ receivedMap: ((r = n(a).transferDetailsProps.value) == null ? void 0 : r.receivedMap) ?? {},
212
+ shipments: n(a).shipments.value ?? []
213
+ }, {
214
+ onSubmitted: n(a).fetchData
215
+ }), null, 16, ["scope", "onSubmitted"])
216
+ ]))
217
+ ];
218
+ }),
219
+ _: 1
220
+ }, 8, ["title", "actions"]);
221
+ };
222
+ }
223
+ });
224
+ export {
225
+ Xe as default
226
+ };
@@ -1,15 +1,15 @@
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-Bay13kwv.js";
3
- import { a as L, al as S } from "./app-Bd2n830Y.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js";
3
+ import { a as L, aj as S } from "./app-CrrDFeMj.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
7
- }, E = {
7
+ }, j = {
8
8
  key: 1,
9
9
  class: "p-24 flex items-center justify-center gap-16"
10
10
  }, D = /* @__PURE__ */ C({
11
11
  __name: "BindingsDialog",
12
- setup(N) {
12
+ setup(E) {
13
13
  const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
14
14
  async function y() {
15
15
  await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
@@ -53,7 +53,7 @@ const U = {
53
53
  ref_key: "resizeableRef",
54
54
  ref: m
55
55
  }, [
56
- d.value ? (i(), c("div", E, [
56
+ d.value ? (i(), c("div", j, [
57
57
  a(h, { size: "md" }),
58
58
  n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
59
59
  ])) : (i(), I(B, {
@@ -1,6 +1,6 @@
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 } from "./FmMultiselectDialog-Dfd2CP8Q.js";
3
- import { a as x, al as z } from "./app-Bd2n830Y.js";
2
+ import { a as M } from "./FmMultiselectDialog-BQZmTWDb.js";
3
+ import { a as x, aj as z } from "./app-CrrDFeMj.js";
4
4
  const F = {
5
5
  key: 0,
6
6
  class: "flex flex-col gap-16"
@@ -9,7 +9,7 @@ const F = {
9
9
  class: "p-24 flex items-center justify-center gap-16"
10
10
  }, A = /* @__PURE__ */ S({
11
11
  __name: "BindingsPicker",
12
- setup(L) {
12
+ setup(j) {
13
13
  const d = x(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
14
14
  label: s.name,
15
15
  sublabel: s.code,
@@ -1,11 +1,11 @@
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, al as R } from "./app-Bd2n830Y.js";
3
- import "./dayjs.min-0pcsGWEW.js";
2
+ import { F as b, a as P, aj as R } from "./app-CrrDFeMj.js";
3
+ import "./dayjs.min-B463GIlc.js";
4
4
  import "@feedmepos/ui-library";
5
5
  /* empty css */
6
6
  import "@feedmepos/mf-common";
7
7
  import "./app-DiX-EfV6.js";
8
- import "./lodash-BsMM-AaB.js";
8
+ import "./lodash-CjyamSgJ.js";
9
9
  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({
10
10
  __name: "binding-ui",
11
11
  props: {
@@ -66,7 +66,7 @@ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
66
66
  ]);
67
67
  };
68
68
  }
69
- }), A = {
69
+ }), j = {
70
70
  key: 1,
71
71
  class: "p-24 flex items-center justify-center gap-16"
72
72
  }, W = /* @__PURE__ */ x({
@@ -103,7 +103,7 @@ const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-
103
103
  ref_key: "resizeableRef",
104
104
  ref: y
105
105
  }, [
106
- d.value ? (l(), u("div", A, [
106
+ d.value ? (l(), u("div", j, [
107
107
  w(B, { size: "md" }),
108
108
  o[0] || (o[0] = p("div", null, "Loading bindings table...", -1))
109
109
  ])) : (l(), M(T, {