@feedmepos/mf-inventory-portal 1.3.7-dev.2 → 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 (135) hide show
  1. package/dist/{App-Bt9_9LW3.js → App-D1-fT3jF.js} +3 -3
  2. package/dist/ApprovalView-0FbsslVD.js +226 -0
  3. package/dist/{BindingsDialog-lLNdP2RG.js → BindingsDialog-DeavyPY-.js} +5 -5
  4. package/dist/{BindingsPicker-BwxdoHu-.js → BindingsPicker-BGzhKq8G.js} +3 -3
  5. package/dist/{BindingsTable-C8cf9nV_.js → BindingsTable-Dr9hWkE1.js} +5 -5
  6. package/dist/{ClosingDraftView-CHB815at.js → ClosingDraftView-6gwWEWWB.js} +57 -57
  7. package/dist/{ClosingHistoryView-BQS52wLi.js → ClosingHistoryView-D4rNnlsq.js} +4 -4
  8. package/dist/{ClosingTemplateView-7o5xDvYi.js → ClosingTemplateView-DxCLH1GH.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-DBWYDmhP.js → DeliveryOrderPrintPreview-D-XeZX-z.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-hX9rZGHP.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DeoaPLQm.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLo83JRe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BMhSHZ3Z.js} +2 -2
  12. package/dist/{FmMultiselectDialog-CX6Q05kY.js → FmMultiselectDialog-BQZmTWDb.js} +2 -2
  13. package/dist/{FmMultiselectDialog-eZLmEoMJ.js → FmMultiselectDialog-DJFi54mG.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CNP7o7p-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DAivpdPp.js} +4 -4
  15. package/dist/{ImportView-5F1k_NOx.js → ImportView-DPQY0ELT.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-COyKYsPf.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeVYXEzb.js} +1 -1
  17. package/dist/{IngredientGroupView-1kwOZDub.js → IngredientGroupView-5AuPbMDz.js} +7 -7
  18. package/dist/{IngredientsView-L50oDR5B.js → IngredientsView-qMotWYnL.js} +17 -17
  19. package/dist/{IntegrationView-CwBluyeW.js → IntegrationView-CVdwhNTA.js} +13 -13
  20. package/dist/{InventoryBindingForm-28KU0Y69.js → InventoryBindingForm-B5KUYKIu.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DAxmcGtJ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-pbyMU879.js} +5 -5
  22. package/dist/{InventoryBindingSummary-hjZLd6je.js → InventoryBindingSummary-Bm3A2kmC.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-GqT3S9zo.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NnoVkA8W.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-6jv1aHW-.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-C_AaZuFs.js → PurchaseOrderPrintPreview-BE-8EJFv.js} +12 -12
  27. package/dist/ReceiveRequestView-ur3OeHuv.js +2802 -0
  28. package/dist/{RecipeView-B39YtOhH.js → RecipeView-CM-BrVSe.js} +21 -22
  29. package/dist/{StockView-DGO3Xf6j.js → StockView-DDqlms0m.js} +20 -21
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-b6jr57r-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CcQ6bBWG.js} +1 -1
  31. package/dist/{SupplierView-Bfo4AYFs.js → SupplierView-CM2PrtHi.js} +14 -14
  32. package/dist/{SurchargeView-CPuDx3I8.js → SurchargeView-q2NfASMH.js} +8 -8
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-EmbaZT8X.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbZQZQTQ.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CMWRgrTV.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-DH1BkbUP.js → TransferTemplateView-B26H_T9Q.js} +19 -20
  37. package/dist/{UnitCostHistoryView-DonGH8na.js → UnitCostHistoryView-BzumRVdx.js} +4 -4
  38. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CW3kofME.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CfWpv2Mv.js} +4 -4
  39. package/dist/{UnitView-CFBdZjSP.js → UnitView-Cxfg--TU.js} +9 -9
  40. package/dist/{WarehouseView-gdd1ou_Y.js → WarehouseView-CvoafTrd.js} +7 -7
  41. package/dist/{WastageTemplateView-BoMqb-zR.js → WastageTemplateView-Bqd4Wp3d.js} +16 -16
  42. package/dist/{app-QEDlYnlN.js → app-CrrDFeMj.js} +4557 -4711
  43. package/dist/app.d.ts +0 -32
  44. package/dist/app.js +2 -2
  45. package/dist/{closing-template-CbHN15AQ.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-Z-I7Kd_W.js → date2-Bklbk2g-.js} +4 -4
  49. package/dist/{dayjs.min-D4CmdyEZ.js → dayjs.min-B463GIlc.js} +1 -1
  50. package/dist/{decimal-C-T875Hm.js → decimal-Dm2vbfDq.js} +2 -2
  51. package/dist/defineDeepModel-SD5OUepJ.js +19 -0
  52. package/dist/{duplicate-template-CmTg7BGs.js → duplicate-template-CR79OmLy.js} +1 -1
  53. package/dist/{export-B1VAPZRx.js → export-CQJcxfPC.js} +1 -1
  54. package/dist/{inventory-core-dart.default-ugZJdof5.js → feature-CZHvliez.js} +1395 -322
  55. package/dist/{format-time-from-id-DZ_PAFci.js → format-time-from-id-61ydd8RS.js} +1 -1
  56. package/dist/{format-unit-display-DlODRa7k.js → format-unit-display-BLtW28yU.js} +13 -13
  57. package/dist/{import-export.helper-DVCiPtHv.js → import-export.helper-uhFwjH6X.js} +6 -6
  58. package/dist/{index-rghVMuZK.js → index-CouegIcG.js} +1 -1
  59. package/dist/{index-BHqcJDf6.js → index-Dx5HvWR_.js} +1 -1
  60. package/dist/{index-BZxwdVW1.js → index-uA6bkf1x.js} +3 -3
  61. package/dist/{lodash-CgDY9U7s.js → lodash-CjyamSgJ.js} +1 -1
  62. package/dist/{lz-string-DNoTxtCy.js → lz-string-BbZdMrTL.js} +1 -1
  63. package/dist/{netsuite-B64xGIt5.js → netsuite-2v3F8ILe.js} +9 -60
  64. package/dist/{number-Bqy4-9rV.js → number-BYbxsJHr.js} +3 -3
  65. package/dist/{purchase-order-template-BxowjjVQ.js → purchase-order-template-s1AiueV_.js} +1 -1
  66. package/dist/router/name.d.ts +0 -2
  67. package/dist/{row-action.enum-Co_O4qD9.js → row-action.enum-BcW_L_nE.js} +3 -11
  68. package/dist/{rules-BkK6oJzC.js → rules-C7L-LFOd.js} +2 -2
  69. package/dist/{stock-lXNLY2TO.js → stock-CvYOcgWb.js} +3 -3
  70. package/dist/{stock-CedueOcQ.js → stock-D2s88pz1.js} +1 -1
  71. package/dist/stores/feature.d.ts +0 -2
  72. package/dist/stores/integration/netsuite.d.ts +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/{supplier-BxEW6DYL.js → supplier-DmobM7mD.js} +2 -2
  75. package/dist/{surcharge-_zxlHhpJ.js → surcharge-BdZOVfi0.js} +1 -1
  76. package/dist/tsconfig.app.tsbuildinfo +1 -1
  77. package/dist/{use-ingredient-select-dialog-BQFTqO6q.js → use-ingredient-select-dialog-BUCJBHjV.js} +2 -2
  78. package/dist/{use-inventory-binding-dialog-BnJKIhqC.js → use-inventory-binding-dialog-DiN1hBIm.js} +2 -2
  79. package/dist/{use-template-enabled-locations-2-Ch5vC3Ux.js → use-template-enabled-locations-CmH6I2cy.js} +33 -21
  80. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +21 -21
  81. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +21 -21
  82. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +129 -129
  83. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +150 -154
  84. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +7 -93
  85. package/dist/vue-i18n-D0Q6LFcu.js +2365 -0
  86. package/dist/{xlsx-BlvEsbYy.js → xlsx-D4PML26z.js} +398 -398
  87. package/dist/{xlsx.util-B4ae3AUU.js → xlsx.util-BWLcCmO_.js} +1 -1
  88. package/package.json +3 -8
  89. package/dist/ApprovalView-BAFatrEE.js +0 -241
  90. package/dist/IntegrationExplorerView-BVJ3qSYS.js +0 -22254
  91. package/dist/PublishView-kBqlO98G.js +0 -234
  92. package/dist/ReceiveRequestView-sebwwuaH.js +0 -2817
  93. package/dist/SettingsView-CFoKuaMo.js +0 -695
  94. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-_5fogvJl.js +0 -3790
  95. package/dist/api/integration-sync-log.d.ts +0 -47
  96. package/dist/api/netsuite-explorer.d.ts +0 -51
  97. package/dist/defineDeepModel-Ds_lq_kg.js +0 -19
  98. package/dist/feature-_WJViVjR.js +0 -1081
  99. package/dist/modules/print-template/api/print-template.d.ts +0 -29
  100. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +0 -19
  101. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +0 -25
  102. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +0 -45
  103. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +0 -22
  104. package/dist/modules/print-template/composables/print-po-with-template.d.ts +0 -25
  105. package/dist/modules/print-template/definitions/block-definitions.d.ts +0 -88
  106. package/dist/modules/print-template/definitions/predefined-templates.d.ts +0 -22
  107. package/dist/modules/print-template/definitions/template-renderer.d.ts +0 -17
  108. package/dist/modules/print-template/index.d.ts +0 -11
  109. package/dist/modules/print-template/store/print-template.d.ts +0 -170
  110. package/dist/modules/print-template/types/print-data.d.ts +0 -52
  111. package/dist/modules/print-template/utils/sanitize-html.d.ts +0 -32
  112. package/dist/predefined-templates-B5qmOdnZ.js +0 -4542
  113. package/dist/views/integration/components/IntegrationSyncLogTab.vue.d.ts +0 -15
  114. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
  115. package/dist/views/integration-explorer/IntegrationExplorerView.vue.d.ts +0 -2
  116. package/dist/views/integration-explorer/composables/use-explorer-tab.d.ts +0 -126
  117. package/dist/views/integration-explorer/netsuite/ExplorerRecordSyncLog.vue.d.ts +0 -17
  118. package/dist/views/integration-explorer/netsuite/ExplorerRecordToolbar.vue.d.ts +0 -201
  119. package/dist/views/integration-explorer/netsuite/ExplorerSystemNote.vue.d.ts +0 -15
  120. package/dist/views/integration-explorer/netsuite/JsonViewer.vue.d.ts +0 -15
  121. package/dist/views/integration-explorer/netsuite/NetSuiteExplorerView.vue.d.ts +0 -2
  122. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferSideSheet.vue.d.ts +0 -7
  123. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +0 -39
  124. package/dist/views/integration-explorer/netsuite/items/AssemblyItemSideSheet.vue.d.ts +0 -7
  125. package/dist/views/integration-explorer/netsuite/items/InventoryItemSideSheet.vue.d.ts +0 -7
  126. package/dist/views/integration-explorer/netsuite/items/ItemsView.vue.d.ts +0 -2
  127. package/dist/views/integration-explorer/netsuite/items/ServiceItemSideSheet.vue.d.ts +0 -7
  128. package/dist/views/integration-explorer/netsuite/orders/ExplorerOrderDetailSideSheet.vue.d.ts +0 -7
  129. package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +0 -39
  130. package/dist/views/integration-explorer/netsuite/orders/PurchaseOrderSideSheet.vue.d.ts +0 -7
  131. package/dist/views/integration-explorer/netsuite/orders/SyncNetsuiteButton.vue.d.ts +0 -29
  132. package/dist/views/integration-explorer/netsuite/orders/TransferOrderSideSheet.vue.d.ts +0 -7
  133. package/dist/views/settings/SettingsView.vue.d.ts +0 -2
  134. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -13
  135. package/dist/vue-i18n-taYcBeKI.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-QEDlYnlN.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-_WJViVjR.js";
6
- import { u as te } from "./netsuite-B64xGIt5.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-DAxmcGtJ.js";
3
- import { a as L, al as S } from "./app-QEDlYnlN.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-CX6Q05kY.js";
3
- import { a as x, al as z } from "./app-QEDlYnlN.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-QEDlYnlN.js";
3
- import "./dayjs.min-D4CmdyEZ.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-CgDY9U7s.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, {