@feedmepos/mf-inventory-portal 1.3.5 → 1.3.6-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 (103) hide show
  1. package/dist/{App-Bzprvf8m.js → App-CdJiOHFF.js} +3 -3
  2. package/dist/ApprovalView-CrTCSxKV.js +241 -0
  3. package/dist/{BindingsDialog-rkShRToK.js → BindingsDialog-CwFRqUMx.js} +5 -5
  4. package/dist/{BindingsPicker-BSv01g-u.js → BindingsPicker-CHX7mRbS.js} +3 -3
  5. package/dist/{BindingsTable-sLmVFDJV.js → BindingsTable-DtPXvsOW.js} +5 -5
  6. package/dist/{ClosingDraftView-3IA23vx8.js → ClosingDraftView-DBU8VkhV.js} +57 -57
  7. package/dist/{ClosingHistoryView-ffvv1iFf.js → ClosingHistoryView-B0qBbxak.js} +4 -4
  8. package/dist/{ClosingTemplateView-C5_dLGIp.js → ClosingTemplateView-CghtdOGp.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-DqcF-6Kv.js → DeliveryOrderPrintPreview-ByVgM1qY.js} +9 -9
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B9n02Ntt.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lL-bEhG8.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D41HCfJh.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-tfeHCdlB.js} +2 -2
  12. package/dist/{FmMultiselectDialog-CUw_NcGU.js → FmMultiselectDialog-CjHxNRgo.js} +1 -1
  13. package/dist/{FmMultiselectDialog-BMuUgGR3.js → FmMultiselectDialog-DTp1AEr6.js} +2 -2
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dfw8maSr.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DHWJxmCO.js} +4 -4
  15. package/dist/{ImportView-DNXsi6B0.js → ImportView-FvE8fakd.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Wps-SE4c.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3r5pntx.js} +1 -1
  17. package/dist/{IngredientGroupView-CSzJVfgo.js → IngredientGroupView-BmO-etVI.js} +7 -7
  18. package/dist/{IngredientsView-CjclWqLa.js → IngredientsView-8ghVe2pE.js} +17 -17
  19. package/dist/{IntegrationView-CZ9PJtT6.js → IntegrationView-CY6ZENpy.js} +13 -13
  20. package/dist/{InventoryBindingForm-BnCzdMNU.js → InventoryBindingForm-9zx-jQCG.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C4ymUTSC.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C904X47l.js} +5 -5
  22. package/dist/{InventoryBindingSummary-CHplB1pK.js → InventoryBindingSummary-r6Li41Bk.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-8Tlm6FTm.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bh1IRjId.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CeSj_zUE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C6K98cru.js} +1 -1
  25. package/dist/{PublishView-C6u8Aw31.js → PublishView-tufuoC1e.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-Bo9Zn4hn.js → PurchaseOrderPrintPreview-DeMPQ_H4.js} +13 -13
  27. package/dist/ReceiveRequestView-BUnDaqZR.js +2817 -0
  28. package/dist/{RecipeView-CytiHuKp.js → RecipeView-BtGFm_W9.js} +22 -21
  29. package/dist/SettingsView-B_kdPcDU.js +695 -0
  30. package/dist/{StockView-CpH_S_T_.js → StockView-CVXfCA_o.js} +21 -20
  31. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-fmAPTfGS.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BCE9XrIf.js} +1 -1
  32. package/dist/{SupplierView-DZR2rn7d.js → SupplierView-CkjPp1cC.js} +14 -14
  33. package/dist/{SurchargeView-B2tn9RA7.js → SurchargeView-DAMCCxtd.js} +8 -8
  34. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DtenaWRi.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-D_L5Q_jA.js} +2 -2
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B0mzKzn4.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DPRZHHm8.js} +1 -1
  36. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dm6eYYcg.js +3787 -0
  37. package/dist/{TransferTemplateView-Bf_zHKro.js → TransferTemplateView-DBhl9zvT.js} +20 -19
  38. package/dist/{UnitCostHistoryView-BOZWcKqA.js → UnitCostHistoryView-WEWXMpZS.js} +4 -4
  39. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-KGVzXTkY.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BqPQAb0l.js} +4 -4
  40. package/dist/{UnitView-CWG8_ZVX.js → UnitView-CXcPaulY.js} +9 -9
  41. package/dist/{WarehouseView-C-TbSbRi.js → WarehouseView-IrqT-CPQ.js} +7 -7
  42. package/dist/{WastageTemplateView-DDGXYdI8.js → WastageTemplateView-aUU0Jn8Y.js} +16 -16
  43. package/dist/{app-Lnv-P2PA.js → app-4lWNOJEf.js} +3267 -3186
  44. package/dist/app.d.ts +32 -0
  45. package/dist/app.js +2 -2
  46. package/dist/{closing-template-Dk144TZc.js → closing-template-RnK_QBcO.js} +1 -1
  47. package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
  48. package/dist/components/row-action.enum.d.ts +3 -0
  49. package/dist/{date2-CoXaS2gH.js → date2-BGXgi7u5.js} +1 -1
  50. package/dist/{dayjs.min-BSLVqsq5.js → dayjs.min-JESBwKVB.js} +1 -1
  51. package/dist/{decimal-B0GXp0he.js → decimal-B7K03OXW.js} +2 -2
  52. package/dist/defineDeepModel-bnzZfANG.js +19 -0
  53. package/dist/{duplicate-template-BuqDlwQn.js → duplicate-template-CefpeTRK.js} +1 -1
  54. package/dist/{export-DSqBEUZ5.js → export-BpKgh0Cr.js} +1 -1
  55. package/dist/feature-Cdb6rdk-.js +1081 -0
  56. package/dist/{format-time-from-id-DtieHeGg.js → format-time-from-id-Q3-gXIRI.js} +1 -1
  57. package/dist/{format-unit-display-Bx6v8ezz.js → format-unit-display-BFEgvVv8.js} +13 -13
  58. package/dist/{import-export.helper-BVipmjK3.js → import-export.helper-Cq4gHLvZ.js} +6 -6
  59. package/dist/{index-wLpu8m2j.js → index-BtdG7eQk.js} +1 -1
  60. package/dist/{index-C5XW1739.js → index-CdXO_XVc.js} +1 -1
  61. package/dist/{index-DH-QkIIG.js → index-D31aV6iJ.js} +3 -3
  62. package/dist/{feature-Dgv_2hpb.js → inventory-core-dart.default-DVcd2bz9.js} +322 -1395
  63. package/dist/{lodash-DSw7k4lu.js → lodash-BOpi0chn.js} +1 -1
  64. package/dist/modules/print-template/api/print-template.d.ts +29 -0
  65. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
  66. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
  67. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
  68. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
  69. package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
  70. package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
  71. package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
  72. package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
  73. package/dist/modules/print-template/index.d.ts +11 -0
  74. package/dist/modules/print-template/store/print-template.d.ts +170 -0
  75. package/dist/modules/print-template/types/print-data.d.ts +52 -0
  76. package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
  77. package/dist/{netsuite-rCZXV6P0.js → netsuite-C-qEDbAa.js} +3 -3
  78. package/dist/{number-GGNVM1mw.js → number-0MQUydwy.js} +3 -3
  79. package/dist/predefined-templates-nSS8KwiH.js +4542 -0
  80. package/dist/{purchase-order-template-l4LHoH-n.js → purchase-order-template-yvQRbRiW.js} +1 -1
  81. package/dist/router/name.d.ts +1 -0
  82. package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
  83. package/dist/{rules-BsEP147t.js → rules-BfXTyqNB.js} +2 -2
  84. package/dist/{stock-FBSWGJcR.js → stock-CZV_pd8z.js} +1 -1
  85. package/dist/{stock-BhXo8R8e.js → stock-DvNGNAvv.js} +3 -3
  86. package/dist/stores/feature.d.ts +2 -0
  87. package/dist/style.css +1 -1
  88. package/dist/{supplier-C5yP8jbI.js → supplier-B867QeEd.js} +2 -2
  89. package/dist/{surcharge-1icjbxbP.js → surcharge-DOQyOgjR.js} +1 -1
  90. package/dist/tsconfig.app.tsbuildinfo +1 -1
  91. package/dist/{use-ingredient-select-dialog-CN_Frg9g.js → use-ingredient-select-dialog-WnsPztOF.js} +2 -2
  92. package/dist/{use-inventory-binding-dialog-BwshaX_F.js → use-inventory-binding-dialog-wi9apjyi.js} +2 -2
  93. package/dist/{use-template-enabled-locations-2-VjWKyMZJ.js → use-template-enabled-locations-2-O3ZhiZZh.js} +2 -2
  94. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +4 -0
  95. package/dist/views/settings/SettingsView.vue.d.ts +2 -0
  96. package/dist/{vue-i18n-CelPny8f.js → vue-i18n-CENkBqAq.js} +300 -300
  97. package/dist/{xlsx-BZh1HMwc.js → xlsx-4GCA4Tii.js} +398 -398
  98. package/dist/{xlsx.util-CNEXCbI4.js → xlsx.util-CKWTiA4e.js} +1 -1
  99. package/package.json +6 -3
  100. package/dist/ApprovalView-Dxk2T8ds.js +0 -226
  101. package/dist/ReceiveRequestView-eyeHiyOI.js +0 -2802
  102. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-SKFgFCmw.js +0 -3518
  103. package/dist/defineDeepModel-CfAJTU2q.js +0 -19
@@ -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-Lnv-P2PA.js";
2
+ import { u as q, a as J, R as t, m as x, g as s, b as D } from "./app-4lWNOJEf.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-Dgv_2hpb.js";
6
- import { u as te } from "./netsuite-rCZXV6P0.js";
5
+ import { u as W, a as Z, I as ee } from "./feature-Cdb6rdk-.js";
6
+ import { u as te } from "./netsuite-C-qEDbAa.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,241 @@
1
+ import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, openBlock as x, createBlock as Z, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, toDisplayString as _e, createElementBlock as De, createCommentVNode as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
2
+ import { u as Oe, m as b } from "./app-4lWNOJEf.js";
3
+ import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-tfeHCdlB.js";
4
+ import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Dm6eYYcg.js";
5
+ import { d as I } from "./date2-BGXgi7u5.js";
6
+ import { u as qe, _ as Ce } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
7
+ import { _ as Ne, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
8
+ import { useBreakpoints as Ve } from "@feedmepos/ui-library";
9
+ import { useI18n as Ae } from "@feedmepos/mf-common";
10
+ import { P as Me, J as Fe } from "./app-DiX-EfV6.js";
11
+ import { u as Le } from "./netsuite-C-qEDbAa.js";
12
+ import { f as $e } from "./predefined-templates-nSS8KwiH.js";
13
+ import "./inventory-core-dart.default-DVcd2bz9.js";
14
+ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, He = {
15
+ key: 0,
16
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
17
+ }, je = { class: "pt-8" }, ot = /* @__PURE__ */ ce({
18
+ __name: "ApprovalView",
19
+ setup(Je) {
20
+ const s = xe(w.APPROVAL), {
21
+ columnDefs: B,
22
+ showCustomPrintDialog: O,
23
+ customPrintHtml: ee,
24
+ customPrintTemplateName: te,
25
+ customPrintIsDefault: ae
26
+ } = Te(w.APPROVAL, s, s.shipments), re = Oe(), se = Le();
27
+ $e().fetchTemplates(), b.object({
28
+ name: b.string().optional().nullable(),
29
+ start: b.date().optional().nullable(),
30
+ end: b.date().optional().nullable()
31
+ });
32
+ const k = y({
33
+ name: "",
34
+ ...Se()
35
+ }), l = y({
36
+ startDate: I(k.value.start ?? /* @__PURE__ */ new Date()),
37
+ endDate: I(k.value.end ?? /* @__PURE__ */ new Date())
38
+ });
39
+ de([() => l.value.startDate], () => {
40
+ if (!l.value.startDate)
41
+ return;
42
+ if (!l.value.endDate) {
43
+ l.value.endDate = l.value.startDate;
44
+ return;
45
+ }
46
+ const i = new Date(l.value.startDate);
47
+ if (new Date(l.value.endDate).getTime() < i.getTime()) {
48
+ l.value.endDate = l.value.startDate;
49
+ return;
50
+ }
51
+ s.updateDateRange(l.value.startDate, l.value.endDate);
52
+ });
53
+ const S = y(""), { breakpoints: q } = Ve(), P = c(() => q.value.xs || q.value.sm), ne = c(() => P.value ? 10 : 20), oe = qe(), { t: C } = Ae(), le = c(() => [
54
+ {
55
+ label: C("inventory.common.refresh"),
56
+ value: "refresh"
57
+ }
58
+ ]);
59
+ function ue(i) {
60
+ switch (i) {
61
+ case "refresh":
62
+ return s.fetchData();
63
+ }
64
+ }
65
+ const ie = c(() => {
66
+ const i = [
67
+ {
68
+ type: "string",
69
+ key: "status",
70
+ entity: "purchaseOrderRequest",
71
+ values: Array.from(
72
+ new Set(
73
+ s.purchaseRequests.value.map((e) => {
74
+ var n;
75
+ return ((n = e.purchaseOrder) == null ? void 0 : n.status) ?? "";
76
+ }).filter((e) => e !== "")
77
+ )
78
+ )
79
+ }
80
+ ], r = [
81
+ {
82
+ type: "string",
83
+ key: "netsuiteTransactionNumber",
84
+ entity: "purchaseOrderRequest",
85
+ values: s.purchaseRequests.value.map((e) => {
86
+ var n, t;
87
+ return (t = (n = e.netSuite) == null ? void 0 : n.additionalInfo) == null ? void 0 : t.transactionnumber;
88
+ }).filter((e) => e != null)
89
+ },
90
+ {
91
+ type: "string",
92
+ key: "netsuiteOrderNo",
93
+ entity: "purchaseOrderRequest",
94
+ values: s.purchaseRequests.value.map((e) => {
95
+ var n;
96
+ return (n = e.netSuite) == null ? void 0 : n.refNo;
97
+ }).filter((e) => e != null)
98
+ },
99
+ {
100
+ type: "string",
101
+ key: "netsuiteOrderId",
102
+ entity: "purchaseOrderRequest",
103
+ values: s.purchaseRequests.value.map((e) => {
104
+ var n;
105
+ return (n = e.netSuite) == null ? void 0 : n.id;
106
+ }).filter((e) => e != null)
107
+ }
108
+ ];
109
+ return [...i, ...se.isEnabled ? r : []];
110
+ }), d = y(null), pe = c(() => {
111
+ if (!d.value)
112
+ return s.purchaseRequests.value;
113
+ const i = Me.build(d.value);
114
+ return s.purchaseRequests.value.filter((r) => {
115
+ var e, n, t, o, m;
116
+ return Fe(
117
+ {
118
+ netsuiteTransactionNumber: (n = (e = r.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : n.transactionnumber,
119
+ netsuiteOrderNo: (t = r.netSuite) == null ? void 0 : t.refNo,
120
+ netsuiteOrderId: (o = r.netSuite) == null ? void 0 : o.id,
121
+ status: (m = r.purchaseOrder) == null ? void 0 : m.status
122
+ },
123
+ i
124
+ );
125
+ });
126
+ });
127
+ return (i, r) => {
128
+ const e = fe("FmTable");
129
+ return x(), Z(Ce, {
130
+ title: a(C)("inventory.transfer.approval.title"),
131
+ actions: le.value,
132
+ "onClick:action": ue
133
+ }, {
134
+ default: T(() => {
135
+ var n;
136
+ return [
137
+ p("div", {
138
+ class: ve([
139
+ "flex flex-col gap-8 max-h-full",
140
+ {
141
+ "p-0": P.value,
142
+ "px-24 ": !P.value
143
+ }
144
+ ])
145
+ }, [
146
+ u(Pe, {
147
+ "date-range-query": "",
148
+ "date-range": l.value,
149
+ "onUpdate:dateRange": r[0] || (r[0] = (t) => l.value = t),
150
+ searchable: "",
151
+ "change-location": "",
152
+ search: S.value,
153
+ "onUpdate:search": r[1] || (r[1] = (t) => S.value = t),
154
+ filterable: "",
155
+ "filter-attributes": ie.value,
156
+ filter: d.value,
157
+ "onUpdate:filter": r[2] || (r[2] = (t) => d.value = t)
158
+ }, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
159
+ u(e, {
160
+ style: he(a(oe).tableHeight),
161
+ "column-defs": a(B),
162
+ "row-data": pe.value,
163
+ "search-value": S.value,
164
+ loading: !a(re)._currentLocation || a(s).loading.value,
165
+ onRowClick: r[3] || (r[3] = (t) => a(s).promptShowTransferDetails(
166
+ t.original.purchaseOrder,
167
+ t.original
168
+ )),
169
+ "page-size": ne.value
170
+ }, {
171
+ "list-row": T((t) => [
172
+ u(Ne, {
173
+ row: t,
174
+ onRowClick: (o) => a(s).promptShowTransferDetails(o.purchaseOrder, o)
175
+ }, {
176
+ default: T((o) => {
177
+ var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, G, K, Q, W, g, X;
178
+ return [
179
+ p("div", ze, [
180
+ p("div", Ee, [
181
+ u(a(R), {
182
+ render: (V = (N = (m = o.purchaseOrder__id) == null ? void 0 : m.column) == null ? void 0 : N.columnDef) == null ? void 0 : V.cell,
183
+ props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
184
+ }, null, 8, ["render", "props"])
185
+ ]),
186
+ p("div", Ue, [
187
+ u(a(R), {
188
+ render: (L = (F = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : F.columnDef) == null ? void 0 : L.cell,
189
+ props: ($ = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : $.call(v)
190
+ }, null, 8, ["render", "props"])
191
+ ]),
192
+ p("div", Ye, _e((U = (_ = (E = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (me) => `${me.name}`)) == null ? void 0 : _.join) == null ? void 0 : U.call(_, ", ")), 1),
193
+ (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), De("div", He, [
194
+ u(a(R), {
195
+ render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
196
+ props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
197
+ }, null, 8, ["render", "props"])
198
+ ])) : ge("", !0),
199
+ p("div", je, [
200
+ u(a(R), {
201
+ render: (W = (Q = (K = o.purchaseOrder_status) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : W.cell,
202
+ props: (X = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : X.call(g)
203
+ }, null, 8, ["render", "props"])
204
+ ])
205
+ ])
206
+ ];
207
+ }),
208
+ _: 2
209
+ }, 1032, ["row", "onRowClick"])
210
+ ]),
211
+ _: 1
212
+ }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
213
+ ], 2),
214
+ (x(), Z(ye, { to: "body" }, [
215
+ u(we, be({
216
+ scope: a(w).APPROVAL
217
+ }, {
218
+ ...a(s).transferDetailsProps.value,
219
+ receivedMap: ((n = a(s).transferDetailsProps.value) == null ? void 0 : n.receivedMap) ?? {},
220
+ shipments: a(s).shipments.value ?? []
221
+ }, {
222
+ onSubmitted: a(s).fetchData
223
+ }), null, 16, ["scope", "onSubmitted"]),
224
+ u(ke, {
225
+ modelValue: a(O),
226
+ "onUpdate:modelValue": r[4] || (r[4] = (t) => Re(O) ? O.value = t : null),
227
+ html: a(ee),
228
+ "template-name": a(te),
229
+ "is-default": a(ae)
230
+ }, null, 8, ["modelValue", "html", "template-name", "is-default"])
231
+ ]))
232
+ ];
233
+ }),
234
+ _: 1
235
+ }, 8, ["title", "actions"]);
236
+ };
237
+ }
238
+ });
239
+ export {
240
+ ot as default
241
+ };
@@ -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-C4ymUTSC.js";
3
- import { a as L, aj as S } from "./app-Lnv-P2PA.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-C904X47l.js";
3
+ import { a as L, al as S } from "./app-4lWNOJEf.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
7
- }, j = {
7
+ }, E = {
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(E) {
12
+ setup(N) {
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", j, [
56
+ d.value ? (i(), c("div", E, [
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-BMuUgGR3.js";
3
- import { a as x, aj as z } from "./app-Lnv-P2PA.js";
2
+ import { a as M } from "./FmMultiselectDialog-DTp1AEr6.js";
3
+ import { a as x, al as z } from "./app-4lWNOJEf.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(j) {
12
+ setup(L) {
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, aj as R } from "./app-Lnv-P2PA.js";
3
- import "./dayjs.min-BSLVqsq5.js";
2
+ import { F as b, a as P, al as R } from "./app-4lWNOJEf.js";
3
+ import "./dayjs.min-JESBwKVB.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-DSw7k4lu.js";
8
+ import "./lodash-BOpi0chn.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
- }), j = {
69
+ }), A = {
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", j, [
106
+ d.value ? (l(), u("div", A, [
107
107
  w(B, { size: "md" }),
108
108
  o[0] || (o[0] = p("div", null, "Loading bindings table...", -1))
109
109
  ])) : (l(), M(T, {