@feedmepos/mf-inventory-portal 1.7.0-dev.9 → 1.7.1-dev.0

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 (130) hide show
  1. package/dist/{App-DqkccxFd.js → App-B_ja37tB.js} +5 -5
  2. package/dist/ApprovalView-_wG6KeZl.js +249 -0
  3. package/dist/{BindingsDialog-CXBQwYIz.js → BindingsDialog-0IRWCLTc.js} +2 -2
  4. package/dist/{BindingsPicker-BfHSReUF.js → BindingsPicker-DCISa6Fx.js} +2 -2
  5. package/dist/{BindingsTable-CHxIsdzV.js → BindingsTable-B3CmHp97.js} +3 -3
  6. package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BfN7GDOL.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
  8. package/dist/{ClosingDraftView-BJQgyPTs.js → ClosingDraftView-DDWU93p0.js} +21 -21
  9. package/dist/{ClosingHistoryView-CLhL3Xfc.js → ClosingHistoryView-KdmhszIO.js} +7 -7
  10. package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
  11. package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
  12. package/dist/{DefaultView-BQ0Y_nGt.js → DefaultView-QAEDG6pS.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DHDu2E0L.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Dqy7-a53.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
  15. package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
  16. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BeoDswK2.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
  17. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
  18. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bq1UiREV.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
  19. package/dist/{FmMultiselectDialog-BhDa1RwT.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
  20. package/dist/{FmMultiselectDialog-CorNT8gl.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DYIDe_N1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
  22. package/dist/{ImportView-C57uYZRr.js → ImportView-8qlgZSTO.js} +8 -8
  23. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B96kvgzW.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
  24. package/dist/{IngredientGroupView-CwhJuG3d.js → IngredientGroupView-BI9SlKfz.js} +6 -6
  25. package/dist/{IngredientsView-oC9fFDvT.js → IngredientsView-1naUkKAi.js} +17 -17
  26. package/dist/{IntegrationExplorerView-4QvHjDRJ.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
  27. package/dist/{IntegrationView-D-DT3YJs.js → IntegrationView-DrmxLdlk.js} +15 -15
  28. package/dist/{InventoryBindingForm-CYw_09Za.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
  29. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-urLsGkKG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
  30. package/dist/{InventoryBindingSummary-CgqWRDNo.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
  31. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLUlL05A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
  32. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-3m70pVwB.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
  33. package/dist/{ProductionView--WPitDlY.js → ProductionView-D8dxypqA.js} +8 -8
  34. package/dist/{PublishView-D0kB5NQ2.js → PublishView-C82UwIoz.js} +4 -4
  35. package/dist/{PurchaseOrderPrintPreview-B1M-Moro.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
  36. package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
  37. package/dist/{RecipeView-C49tT8Cr.js → RecipeView-DB1DJQp7.js} +18 -18
  38. package/dist/{SettingsView-Dt7a_Nkx.js → SettingsView-DsS62lxW.js} +6 -6
  39. package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
  40. package/dist/{StockView-CNzq9TSj.js → StockView-gcf7RCZz.js} +23 -23
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cx-XCR_k.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
  42. package/dist/{SupplierView-7EbI5cfk.js → SupplierView-BIANlKLE.js} +13 -13
  43. package/dist/{SurchargeView-BbfzwuAB.js → SurchargeView-kRzaixM5.js} +7 -7
  44. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-nO9sybW-.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
  46. package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
  47. package/dist/{TransferTemplateView-Bz5W7dh5.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
  48. package/dist/{UnitCostHistoryView-5wAtW09L.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Ze6egaj8.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
  50. package/dist/{UnitView-Mp8CL-lp.js → UnitView-BHfm2IE4.js} +8 -8
  51. package/dist/{WarehouseView-DRkIDq76.js → WarehouseView-CorSYwm6.js} +6 -6
  52. package/dist/{WastageTemplateView-CRLaJJnu.js → WastageTemplateView-CtYZwiRW.js} +15 -15
  53. package/dist/api/connected-business-mapping.d.ts +25 -0
  54. package/dist/api/purchase-order.d.ts +35 -1
  55. package/dist/{app-VqA3hs6t.js → app-37NZKFUI.js} +5557 -5192
  56. package/dist/app.d.ts +88 -0
  57. package/dist/app.js +1 -1
  58. package/dist/{closing-template-CdSV_waS.js → closing-template-C0dl45x2.js} +1 -1
  59. package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
  60. package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
  61. package/dist/{date2-ybHWeys0.js → date2-r4KgBCs9.js} +1 -1
  62. package/dist/{dayjs.min-vhlHpfOd.js → dayjs.min-BKUldDi9.js} +1 -1
  63. package/dist/{decimal-BWaV7aqI.js → decimal-Cgmw6HIY.js} +2 -2
  64. package/dist/{defineDeepModel-Dh55Rpy6.js → defineDeepModel-DXLwZWst.js} +1 -1
  65. package/dist/{duplicate-template-BX4CtnXP.js → duplicate-template-DDA4QWPl.js} +1 -1
  66. package/dist/feature-B4BoCy_k.js +1548 -0
  67. package/dist/{format-time-from-id-CcnUAvw3.js → format-time-from-id-Dhjn5QgH.js} +1 -1
  68. package/dist/{format-unit-display-CpfisOsO.js → format-unit-display-g95-VuYJ.js} +12 -12
  69. package/dist/{import-export.helper-DkxUoI70.js → import-export.helper-DsZFPPqj.js} +6 -6
  70. package/dist/{index-CDTURjdV.js → index-B9WjF3Ox.js} +1 -1
  71. package/dist/{index-BWP_Oz85.js → index-C207KsUh.js} +3 -3
  72. package/dist/{index-C2-NacLA.js → index-D3Bmmx66.js} +1 -1
  73. package/dist/{inventory-core-dart.default-CCuIh47-.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
  74. package/dist/{jszip.min-CGd5HPaQ.js → jszip.min-B52cHzHI.js} +2 -2
  75. package/dist/{lz-string-DaTOnDE7.js → lz-string-CItFpr5-.js} +1 -1
  76. package/dist/{netsuite-Bv8m4JOq.js → netsuite-R_NkLn5t.js} +2 -2
  77. package/dist/{number-Blpf0ylx.js → number-BkC_lelq.js} +3 -3
  78. package/dist/{predefined-templates-CH1yqXrS.js → predefined-templates-CVT54o4V.js} +1 -1
  79. package/dist/{purchase-order-template-Hzi2jg5i.js → purchase-order-template-DvqAncB2.js} +1 -1
  80. package/dist/{recalculationUtils-Bg_M-poT.js → recalculationUtils-Cak1mo4o.js} +1 -1
  81. package/dist/router/name.d.ts +1 -0
  82. package/dist/{rules-CyLofMuT.js → rules--cnFg-PI.js} +2 -2
  83. package/dist/{stock-DfNx3w-V.js → stock-BLYAJxMj.js} +1 -1
  84. package/dist/{stock-vaSdMe5e.js → stock-DvquSog3.js} +3 -3
  85. package/dist/stores/feature.d.ts +2 -0
  86. package/dist/style.css +1 -1
  87. package/dist/{supplier-DPLDqUXZ.js → supplier-C5X8p_vd.js} +2 -2
  88. package/dist/{surcharge-0-XdT9aW.js → surcharge-CLkpleoW.js} +1 -1
  89. package/dist/tsconfig.app.tsbuildinfo +1 -1
  90. package/dist/{uom-rules-CbYmI74H.js → uom-rules-CykFo_pB.js} +1 -1
  91. package/dist/{use-ingredient-select-dialog-g1T1s6nQ.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
  92. package/dist/{use-inventory-binding-dialog-B0AniKhu.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
  93. package/dist/{use-template-enabled-locations-DRkN8eSx.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
  94. package/dist/{use-transfer-locations-BG1GERbt.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
  95. package/dist/{useHrmPermission-CUPAhcDP.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
  96. package/dist/{useNavigationMenu-D2onvhoK.js → useNavigationMenu-CeN7TEwe.js} +59 -49
  97. package/dist/{useSseClient-DvQsSC57.js → useSseClient-C6ndlLpA.js} +1 -1
  98. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
  99. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
  100. package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
  101. package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
  102. package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
  103. package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
  104. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
  105. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  106. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
  107. package/dist/views/receive-request/composables/fn.d.ts +2 -1
  108. package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
  109. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
  110. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
  111. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
  112. package/dist/views/receive-request/helper/po-version.d.ts +6 -0
  113. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
  114. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
  115. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
  116. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
  117. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
  118. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
  119. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
  120. package/dist/{vue-i18n-CwNxhUsM.js → vue-i18n-DDqVG60p.js} +291 -291
  121. package/dist/{xlsx.util-dMHkd6XK.js → xlsx.util-BzQcPwvM.js} +2 -2
  122. package/package.json +3 -3
  123. package/dist/ApprovalView-CpeNbbnJ.js +0 -242
  124. package/dist/BulkReceiveRequestView-BFFeVxQF.js +0 -2011
  125. package/dist/ClosingTemplateView-DikY2_9d.js +0 -2270
  126. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B9CWp_AG.js +0 -76
  127. package/dist/ReceiveRequestView-B1NWO9ih.js +0 -345
  128. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-CT0KDVR4.js +0 -178
  129. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DxSXLCtP.js +0 -4660
  130. package/dist/feature-_v_0Btg8.js +0 -1136
@@ -1,13 +1,13 @@
1
1
  import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, createElementBlock as g, openBlock as m, createBlock as L, createCommentVNode as U, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as B } from "vue";
2
2
  import { _ as K } from "./empty-placeholder-B0QU467o.js";
3
- import { u as Q, a as J, R as S, b as W } from "./app-VqA3hs6t.js";
3
+ import { u as Q, a as J, R as S, b as W } from "./app-37NZKFUI.js";
4
4
  import { useCoreStore as C, useI18n as X } from "@feedmepos/mf-common";
5
5
  import { useRouter as T, useRoute as Y } from "vue-router";
6
- import { u as Z, a as ee, I as te } from "./feature-_v_0Btg8.js";
7
- import { u as oe } from "./netsuite-Bv8m4JOq.js";
8
- import { u as D } from "./useNavigationMenu-D2onvhoK.js";
6
+ import { u as Z, a as ee, I as te } from "./feature-B4BoCy_k.js";
7
+ import { u as oe } from "./netsuite-R_NkLn5t.js";
8
+ import { u as D } from "./useNavigationMenu-CeN7TEwe.js";
9
9
  import { u as ne } from "./useTabStorage-BkIVScW_.js";
10
- import { F as se } from "./FmAdminBadge-DlplQOHb.js";
10
+ import { F as se } from "./FmAdminBadge-DH_2w13D.js";
11
11
  import { u as re } from "./googlemap-D9vA7GsS.js";
12
12
  function ae() {
13
13
  return {
@@ -0,0 +1,249 @@
1
+ import { defineComponent as he, ref as R, watch as De, computed as f, resolveComponent as _e, createBlock as S, openBlock as v, unref as e, withCtx as q, createElementVNode as m, normalizeClass as ye, createVNode as p, normalizeStyle as ge, createElementBlock as be, createCommentVNode as Oe, toDisplayString as Re, Teleport as Se, mergeProps as te, isRef as Pe } from "vue";
2
+ import { u as xe, Q as P } from "./app-37NZKFUI.js";
3
+ import { a as ke } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js";
4
+ import { u as Te, P as C, a as we, _ as qe, b as Ce, c as Me } from "./TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js";
5
+ import { b as ae } from "./date2-r4KgBCs9.js";
6
+ import { u as Ne, _ as Ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
7
+ import { _ as Ae, F as x } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
8
+ import { useBreakpoints as $e } from "@feedmepos/ui-library";
9
+ import { _ as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js";
10
+ import { useI18n as Le } from "@feedmepos/mf-common";
11
+ import { P as ze, J as Ee } from "./app-C39bYJmq.js";
12
+ import { u as Ue } from "./netsuite-R_NkLn5t.js";
13
+ import { f as Ye } from "./predefined-templates-CVT54o4V.js";
14
+ import "./inventory-core-dart.default-NpD15h63.js";
15
+ const He = { class: "flex flex-col py-8" }, je = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Je = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Qe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ge = {
16
+ key: 0,
17
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
18
+ }, Ke = { class: "pt-8" }, mt = /* @__PURE__ */ he({
19
+ __name: "ApprovalView",
20
+ setup(We) {
21
+ const a = Te(C.APPROVAL), {
22
+ columnDefs: re,
23
+ showCustomPrintDialog: k,
24
+ customPrintHtml: se,
25
+ customPrintTemplateName: ne,
26
+ customPrintIsDefault: oe
27
+ } = we(C.APPROVAL, a, a.shipments), le = xe(), ue = Ue();
28
+ Ye().fetchTemplates(), P.object({
29
+ name: P.string().optional().nullable(),
30
+ start: P.date().optional().nullable(),
31
+ end: P.date().optional().nullable()
32
+ });
33
+ const M = R({
34
+ name: "",
35
+ ...ke()
36
+ }), o = R({
37
+ startDate: ae(M.value.start ?? /* @__PURE__ */ new Date()),
38
+ endDate: ae(M.value.end ?? /* @__PURE__ */ new Date())
39
+ });
40
+ De([() => o.value.startDate], () => {
41
+ if (!o.value.startDate)
42
+ return;
43
+ if (!o.value.endDate) {
44
+ o.value.endDate = o.value.startDate;
45
+ return;
46
+ }
47
+ const u = new Date(o.value.startDate);
48
+ if (new Date(o.value.endDate).getTime() < u.getTime()) {
49
+ o.value.endDate = o.value.startDate;
50
+ return;
51
+ }
52
+ a.updateDateRange(o.value.startDate, o.value.endDate);
53
+ });
54
+ const T = R(""), { breakpoints: N } = $e(), w = f(() => N.value.xs || N.value.sm), ie = f(() => w.value ? 10 : 20), pe = Ne(), { t: V } = Le(), me = f(() => [
55
+ {
56
+ label: V("inventory.common.refresh"),
57
+ value: "refresh"
58
+ }
59
+ ]);
60
+ function ce(u) {
61
+ switch (u) {
62
+ case "refresh":
63
+ return a.fetchData();
64
+ }
65
+ }
66
+ const de = f(() => {
67
+ const u = [
68
+ {
69
+ type: "string",
70
+ key: "status",
71
+ entity: "purchaseOrderRequest",
72
+ values: Array.from(
73
+ new Set(
74
+ a.purchaseRequests.value.map((t) => {
75
+ var s;
76
+ return ((s = t.purchaseOrder) == null ? void 0 : s.status) ?? "";
77
+ }).filter((t) => t !== "")
78
+ )
79
+ )
80
+ }
81
+ ], r = [
82
+ {
83
+ type: "string",
84
+ key: "netsuiteTransactionNumber",
85
+ entity: "purchaseOrderRequest",
86
+ values: a.purchaseRequests.value.map((t) => {
87
+ var s, i;
88
+ return (i = (s = t.netSuite) == null ? void 0 : s.additionalInfo) == null ? void 0 : i.transactionnumber;
89
+ }).filter((t) => t != null)
90
+ },
91
+ {
92
+ type: "string",
93
+ key: "netsuiteOrderNo",
94
+ entity: "purchaseOrderRequest",
95
+ values: a.purchaseRequests.value.map((t) => {
96
+ var s;
97
+ return (s = t.netSuite) == null ? void 0 : s.refNo;
98
+ }).filter((t) => t != null)
99
+ },
100
+ {
101
+ type: "string",
102
+ key: "netsuiteOrderId",
103
+ entity: "purchaseOrderRequest",
104
+ values: a.purchaseRequests.value.map((t) => {
105
+ var s;
106
+ return (s = t.netSuite) == null ? void 0 : s.id;
107
+ }).filter((t) => t != null)
108
+ }
109
+ ];
110
+ return [...u, ...ue.isEnabled ? r : []];
111
+ }), h = R(null), fe = f(() => {
112
+ if (!h.value)
113
+ return a.purchaseRequests.value;
114
+ const u = ze.build(h.value);
115
+ return a.purchaseRequests.value.filter((r) => {
116
+ var t, s, i, c, d;
117
+ return Ee(
118
+ {
119
+ netsuiteTransactionNumber: (s = (t = r.netSuite) == null ? void 0 : t.additionalInfo) == null ? void 0 : s.transactionnumber,
120
+ netsuiteOrderNo: (i = r.netSuite) == null ? void 0 : i.refNo,
121
+ netsuiteOrderId: (c = r.netSuite) == null ? void 0 : c.id,
122
+ status: (d = r.purchaseOrder) == null ? void 0 : d.status
123
+ },
124
+ u
125
+ );
126
+ });
127
+ });
128
+ return (u, r) => {
129
+ const t = _e("FmTable");
130
+ return v(), S(Ve, {
131
+ title: e(V)("inventory.transfer.approval.title"),
132
+ actions: me.value,
133
+ "onClick:action": ce
134
+ }, {
135
+ default: q(() => {
136
+ var s, i, c, d;
137
+ return [
138
+ m("div", {
139
+ class: ye([
140
+ "flex flex-col gap-8 max-h-full",
141
+ {
142
+ "p-0": w.value,
143
+ "px-24 ": !w.value
144
+ }
145
+ ])
146
+ }, [
147
+ p(Fe, {
148
+ "date-range-query": "",
149
+ "date-range": o.value,
150
+ "onUpdate:dateRange": r[0] || (r[0] = (n) => o.value = n),
151
+ searchable: "",
152
+ "change-location": "",
153
+ search: T.value,
154
+ "onUpdate:search": r[1] || (r[1] = (n) => T.value = n),
155
+ filterable: "",
156
+ "filter-attributes": de.value,
157
+ filter: h.value,
158
+ "onUpdate:filter": r[2] || (r[2] = (n) => h.value = n)
159
+ }, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
160
+ p(t, {
161
+ style: ge(e(pe).tableHeight),
162
+ "column-defs": e(re),
163
+ "row-data": fe.value,
164
+ "search-value": T.value,
165
+ loading: !e(le)._currentLocation || e(a).loading.value,
166
+ onRowClick: r[3] || (r[3] = (n) => e(a).promptShowTransferDetails(
167
+ n.original.purchaseOrder,
168
+ n.original
169
+ )),
170
+ "page-size": ie.value
171
+ }, {
172
+ "list-row": q((n) => [
173
+ p(Ae, {
174
+ row: n,
175
+ onRowClick: (l) => e(a).promptShowTransferDetails(l.purchaseOrder, l)
176
+ }, {
177
+ default: q((l) => {
178
+ var A, $, F, D, L, z, E, U, _, Y, H, y, j, g, J, Q, G, K, W, b, X, Z, I, B, O, ee;
179
+ return [
180
+ m("div", He, [
181
+ m("div", je, [
182
+ p(e(x), {
183
+ render: (F = ($ = (A = l.purchaseOrder__id) == null ? void 0 : A.column) == null ? void 0 : $.columnDef) == null ? void 0 : F.cell,
184
+ props: (L = (D = l.purchaseOrder__id) == null ? void 0 : D.getContext) == null ? void 0 : L.call(D)
185
+ }, null, 8, ["render", "props"])
186
+ ]),
187
+ m("div", Je, [
188
+ p(e(x), {
189
+ render: (U = (E = (z = l.to_name) == null ? void 0 : z.column) == null ? void 0 : E.columnDef) == null ? void 0 : U.cell,
190
+ props: (Y = (_ = l.to_name) == null ? void 0 : _.getContext) == null ? void 0 : Y.call(_)
191
+ }, null, 8, ["render", "props"])
192
+ ]),
193
+ m("div", Qe, Re((J = (g = (j = (y = (H = n.original.purchaseOrder) == null ? void 0 : H.items) == null ? void 0 : y.map) == null ? void 0 : j.call(y, (ve) => `${ve.name}`)) == null ? void 0 : g.join) == null ? void 0 : J.call(g, ", ")), 1),
194
+ (Q = n.original.purchaseOrder) != null && Q.ref ? (v(), be("div", Ge, [
195
+ p(e(x), {
196
+ render: (W = (K = (G = l.purchaseOrder_ref) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : W.cell,
197
+ props: (X = (b = l.purchaseOrder_ref) == null ? void 0 : b.getContext) == null ? void 0 : X.call(b)
198
+ }, null, 8, ["render", "props"])
199
+ ])) : Oe("", !0),
200
+ m("div", Ke, [
201
+ p(e(x), {
202
+ render: (B = (I = (Z = l.purchaseOrder_status) == null ? void 0 : Z.column) == null ? void 0 : I.columnDef) == null ? void 0 : B.cell,
203
+ props: (ee = (O = l.purchaseOrder_status) == null ? void 0 : O.getContext) == null ? void 0 : ee.call(O)
204
+ }, null, 8, ["render", "props"])
205
+ ])
206
+ ])
207
+ ];
208
+ }),
209
+ _: 2
210
+ }, 1032, ["row", "onRowClick"])
211
+ ]),
212
+ _: 1
213
+ }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
214
+ ], 2),
215
+ (v(), S(Se, { to: "body" }, [
216
+ ((i = (s = e(a).transferDetailsProps.value) == null ? void 0 : s.purchaseOrder) == null ? void 0 : i.version) === "3" ? (v(), S(qe, te({ key: 0 }, {
217
+ ...e(a).transferDetailsProps.value,
218
+ receivedMap: ((c = e(a).transferDetailsProps.value) == null ? void 0 : c.receivedMap) ?? {},
219
+ shipments: e(a).shipments.value ?? []
220
+ }, {
221
+ onSubmitted: e(a).fetchData
222
+ }), null, 16, ["onSubmitted"])) : (v(), S(Ce, te({
223
+ key: 1,
224
+ scope: e(C).APPROVAL
225
+ }, {
226
+ ...e(a).transferDetailsProps.value,
227
+ receivedMap: ((d = e(a).transferDetailsProps.value) == null ? void 0 : d.receivedMap) ?? {},
228
+ shipments: e(a).shipments.value ?? []
229
+ }, {
230
+ onSubmitted: e(a).fetchData
231
+ }), null, 16, ["scope", "onSubmitted"])),
232
+ p(Me, {
233
+ modelValue: e(k),
234
+ "onUpdate:modelValue": r[4] || (r[4] = (n) => Pe(k) ? k.value = n : null),
235
+ html: e(se),
236
+ "template-name": e(ne),
237
+ "is-default": e(oe)
238
+ }, null, 8, ["modelValue", "html", "template-name", "is-default"])
239
+ ]))
240
+ ];
241
+ }),
242
+ _: 1
243
+ }, 8, ["title", "actions"]);
244
+ };
245
+ }
246
+ });
247
+ export {
248
+ mt as default
249
+ };
@@ -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, createElementBlock as c, openBlock as i, 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-urLsGkKG.js";
3
- import { a as L, a7 as S } from "./app-VqA3hs6t.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js";
3
+ import { a as L, aa as S } from "./app-37NZKFUI.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -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, createElementBlock as p, openBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M } from "./FmMultiselectDialog-CorNT8gl.js";
3
- import { a as x, a7 as z } from "./app-VqA3hs6t.js";
2
+ import { a as M } from "./FmMultiselectDialog-QEs0yct_.js";
3
+ import { a as x, aa as z } from "./app-37NZKFUI.js";
4
4
  const F = {
5
5
  key: 0,
6
6
  class: "flex flex-col gap-16"
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, createElementBlock as u, openBlock as l, 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, a7 as R } from "./app-VqA3hs6t.js";
3
- import "./dayjs.min-vhlHpfOd.js";
2
+ import { F as b, a as P, aa as R } from "./app-37NZKFUI.js";
3
+ import "./dayjs.min-BKUldDi9.js";
4
4
  import "@feedmepos/ui-library";
5
5
  /* empty css */
6
6
  import "@feedmepos/mf-common";
7
7
  import "./app-C39bYJmq.js";
8
- import "./netsuite-Bv8m4JOq.js";
8
+ import "./netsuite-R_NkLn5t.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: {