@feedmepos/mf-inventory-portal 1.7.1-dev.0 → 1.7.2-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 (136) hide show
  1. package/dist/{App-B_ja37tB.js → App-GsVnjJ5M.js} +5 -5
  2. package/dist/ApprovalView-DSPu2Gk5.js +242 -0
  3. package/dist/{BindingsDialog-0IRWCLTc.js → BindingsDialog-B9_lCD9R.js} +2 -2
  4. package/dist/{BindingsPicker-DCISa6Fx.js → BindingsPicker-ZKl53ZBk.js} +2 -2
  5. package/dist/{BindingsTable-B3CmHp97.js → BindingsTable-CLtS3u8f.js} +3 -3
  6. package/dist/BulkReceiveRequestView-BbHwEPzW.js +2011 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-KgqYNGrB.js} +1 -1
  8. package/dist/ClosingDraftView-Ctc6-1-J.js +4496 -0
  9. package/dist/{ClosingHistoryView-KdmhszIO.js → ClosingHistoryView-CX9xtMvI.js} +7 -7
  10. package/dist/{ClosingTemplateView-CQRujMB9.js → ClosingTemplateView-BuoQegZF.js} +17 -17
  11. package/dist/{DefaultView-QAEDG6pS.js → DefaultView-BltV37jK.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-B08SSOCX.js → DeliveryOrderPrintPreview-CxzgxTJk.js} +2 -2
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js → EmailDialog.vue_vue_type_script_setup_true_lang-5Hhoj-yj.js} +10225 -10398
  14. package/dist/{FmAdminBadge-DH_2w13D.js → FmAdminBadge-DlplQOHb.js} +8 -8
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-jTZNZIrW.js} +1 -1
  16. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BYTn-hpQ.js +76 -0
  17. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLYrZfPo.js} +4 -4
  18. package/dist/{FmMultiselectDialog-QEs0yct_.js → FmMultiselectDialog-BxAfKkDh.js} +2 -2
  19. package/dist/{FmMultiselectDialog-DpPyNOpJ.js → FmMultiselectDialog-DF_inpi2.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BYhQBazV.js} +119 -121
  21. package/dist/{ImportView-8qlgZSTO.js → ImportView-C76r6and.js} +8 -8
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-By-9uV57.js} +1 -1
  23. package/dist/{IngredientGroupView-BI9SlKfz.js → IngredientGroupView-vRbMzHBS.js} +6 -6
  24. package/dist/{IngredientsView-1naUkKAi.js → IngredientsView-GMSV1cL0.js} +17 -17
  25. package/dist/{IntegrationExplorerView-C6kyLz3y.js → IntegrationExplorerView-ClhCRTC-.js} +5 -5
  26. package/dist/{IntegrationView-DrmxLdlk.js → IntegrationView-DM-TvYjd.js} +15 -15
  27. package/dist/{InventoryBindingForm-CPNAgZkD.js → InventoryBindingForm-CpY3n5Ug.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CEF1D6bJ.js} +5 -5
  29. package/dist/{InventoryBindingSummary-Cu98L10w.js → InventoryBindingSummary-CYOt-E-3.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-jZHUuEoU.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Bw1xCASs.js} +1 -1
  32. package/dist/{ProductionView-D8dxypqA.js → ProductionView-D6UC_XqI.js} +8 -8
  33. package/dist/{PublishView-C82UwIoz.js → PublishView-CuDaby-H.js} +4 -4
  34. package/dist/{PurchaseOrderPrintPreview-CP40tEma.js → PurchaseOrderPrintPreview-DcSuomzT.js} +2 -2
  35. package/dist/ReceiveRequestView-CMywjm4H.js +345 -0
  36. package/dist/{RecipeView-DB1DJQp7.js → RecipeView-BAcLGUEw.js} +18 -18
  37. package/dist/{SettingsView-DsS62lxW.js → SettingsView-Dy3VaVP2.js} +6 -6
  38. package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js} +1 -1
  39. package/dist/{StockView-gcf7RCZz.js → StockView-BFSFWXEY.js} +23 -23
  40. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B5qk8k2h.js} +1 -1
  41. package/dist/{SupplierView-BIANlKLE.js → SupplierView-BvZ4bdjb.js} +13 -13
  42. package/dist/{SurchargeView-kRzaixM5.js → SurchargeView-DEx1ncN0.js} +7 -7
  43. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-DvjxSkiV.js +178 -0
  44. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-raGPvWWz.js} +2 -2
  45. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dqn_ArEw.js +4660 -0
  46. package/dist/{TransferTemplateView-Bq68Vh7t.js → TransferTemplateView-DqwLSixK.js} +21 -21
  47. package/dist/{UnitCostHistoryView-d0oLssyZ.js → UnitCostHistoryView-BwuW604u.js} +6 -6
  48. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DI4MfA6h.js} +4 -4
  49. package/dist/{UnitView-BHfm2IE4.js → UnitView-DBSX7myc.js} +8 -8
  50. package/dist/{WarehouseView-CorSYwm6.js → WarehouseView-D9BLSUaw.js} +6 -6
  51. package/dist/{WastageTemplateView-CtYZwiRW.js → WastageTemplateView-BV98TGlI.js} +15 -15
  52. package/dist/api/closing-draft.d.ts +5 -1
  53. package/dist/api/purchase-order.d.ts +1 -35
  54. package/dist/{app-37NZKFUI.js → app-D_Ym25tG.js} +5262 -5566
  55. package/dist/app.d.ts +24 -88
  56. package/dist/app.js +1 -1
  57. package/dist/{closing-template-C0dl45x2.js → closing-template-CgZ_4k-K.js} +1 -1
  58. package/dist/components/FmFilterableMenuOptions.vue.d.ts +2 -11
  59. package/dist/{date2-r4KgBCs9.js → date2-BJDb1yuY.js} +1 -1
  60. package/dist/{dayjs.min-BKUldDi9.js → dayjs.min-DaQY5dXC.js} +1 -1
  61. package/dist/{decimal-Cgmw6HIY.js → decimal-D7kHeIBp.js} +2 -2
  62. package/dist/{defineDeepModel-DXLwZWst.js → defineDeepModel-C6b9BBLr.js} +1 -1
  63. package/dist/{duplicate-template-DDA4QWPl.js → duplicate-template-B3efBcsm.js} +1 -1
  64. package/dist/feature-8uw1BmnH.js +1136 -0
  65. package/dist/{format-time-from-id-Dhjn5QgH.js → format-time-from-id-DLNUrReR.js} +1 -1
  66. package/dist/{format-unit-display-g95-VuYJ.js → format-unit-display-dedOq7Rd.js} +12 -12
  67. package/dist/{import-export.helper-DsZFPPqj.js → import-export.helper-CLJoNMDx.js} +6 -6
  68. package/dist/{index-B9WjF3Ox.js → index-BzcCCKB7.js} +1 -1
  69. package/dist/{index-C207KsUh.js → index-D0IvVK8C.js} +3 -3
  70. package/dist/{index-D3Bmmx66.js → index-K8Z-b9IK.js} +1 -1
  71. package/dist/{inventory-core-dart.default-NpD15h63.js → inventory-core-dart.default-DD-U6dYG.js} +5550 -7099
  72. package/dist/{jszip.min-B52cHzHI.js → jszip.min-D6DuQ9eP.js} +2 -2
  73. package/dist/{lz-string-CItFpr5-.js → lz-string-DPtdOdTM.js} +1 -1
  74. package/dist/{netsuite-R_NkLn5t.js → netsuite-6tmjDviW.js} +2 -2
  75. package/dist/{number-BkC_lelq.js → number-CMVOg7m3.js} +3 -3
  76. package/dist/{predefined-templates-CVT54o4V.js → predefined-templates-DfSWTcww.js} +1 -1
  77. package/dist/{purchase-order-template-DvqAncB2.js → purchase-order-template-GCzUtb6y.js} +1 -1
  78. package/dist/{recalculationUtils-Cak1mo4o.js → recalculationUtils-CSBScoyF.js} +1 -1
  79. package/dist/router/name.d.ts +0 -1
  80. package/dist/{rules--cnFg-PI.js → rules-pC-W9ghI.js} +2 -2
  81. package/dist/{stock-BLYAJxMj.js → stock-C0lKfZnz.js} +1 -1
  82. package/dist/{stock-DvquSog3.js → stock-CIpjxe6A.js} +3 -3
  83. package/dist/stores/feature.d.ts +0 -2
  84. package/dist/style.css +1 -1
  85. package/dist/{supplier-C5X8p_vd.js → supplier-eYlqSO4X.js} +2 -2
  86. package/dist/{surcharge-CLkpleoW.js → surcharge-CX5M8xDS.js} +1 -1
  87. package/dist/tsconfig.app.tsbuildinfo +1 -1
  88. package/dist/{uom-rules-CykFo_pB.js → uom-rules-CfUOdeZ4.js} +1 -1
  89. package/dist/{use-ingredient-select-dialog-DlxWMkAI.js → use-ingredient-select-dialog-DYRHuZLi.js} +2 -2
  90. package/dist/{use-inventory-binding-dialog-DnWDyziu.js → use-inventory-binding-dialog-CQahb9Rn.js} +2 -2
  91. package/dist/{use-template-enabled-locations-SRgcWLO4.js → use-template-enabled-locations-BOO-eQch.js} +2 -2
  92. package/dist/{use-transfer-locations-D4f4Ib1r.js → use-transfer-locations-Ffdy6Z9C.js} +2 -2
  93. package/dist/{useHrmPermission-lAc6ZHVZ.js → useHrmPermission-CXSUDdlQ.js} +1 -1
  94. package/dist/{useNavigationMenu-CeN7TEwe.js → useNavigationMenu-DfW5RBKu.js} +49 -59
  95. package/dist/{useSseClient-C6ndlLpA.js → useSseClient-Bl-WWwFk.js} +1 -1
  96. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -2
  97. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +4 -4
  98. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupAction.vue.d.ts +2 -2
  99. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +2 -2
  100. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +6 -6
  101. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +1 -1
  102. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +12 -12
  103. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +0 -1
  104. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +0 -1
  105. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +2 -102
  106. package/dist/views/receive-request/composables/fn.d.ts +1 -2
  107. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +3 -119
  108. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +14 -643
  109. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +15 -721
  110. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +10 -524
  111. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -102
  112. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -4
  113. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +0 -8
  114. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +0 -12
  115. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +0 -24
  116. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -24
  117. package/dist/{vue-i18n-DDqVG60p.js → vue-i18n-BAu5G_RB.js} +152 -152
  118. package/dist/{xlsx.util-BzQcPwvM.js → xlsx.util-BgM338n0.js} +2 -2
  119. package/package.json +5 -5
  120. package/dist/ApprovalView-_wG6KeZl.js +0 -249
  121. package/dist/BulkReceiveRequestView-Dmqm65c9.js +0 -2025
  122. package/dist/ClosingDraftView-DDWU93p0.js +0 -4398
  123. package/dist/ConnectedBusinessView-Cu2QnRN9.js +0 -533
  124. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +0 -84
  125. package/dist/ReceiveRequestView-DDo0Pb0J.js +0 -514
  126. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +0 -211
  127. package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +0 -5991
  128. package/dist/api/connected-business-mapping.d.ts +0 -25
  129. package/dist/connected-business-mapping-ywgqqyMr.js +0 -37
  130. package/dist/feature-B4BoCy_k.js +0 -1548
  131. package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +0 -25
  132. package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +0 -2
  133. package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +0 -27
  134. package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +0 -18
  135. package/dist/views/receive-request/helper/po-version.d.ts +0 -6
  136. /package/dist/views/{receive-request/composables/fn.spec.d.ts → closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.spec.d.ts} +0 -0
@@ -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-37NZKFUI.js";
3
+ import { u as Q, a as J, R as S, b as W } from "./app-D_Ym25tG.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-B4BoCy_k.js";
7
- import { u as oe } from "./netsuite-R_NkLn5t.js";
8
- import { u as D } from "./useNavigationMenu-CeN7TEwe.js";
6
+ import { u as Z, a as ee, I as te } from "./feature-8uw1BmnH.js";
7
+ import { u as oe } from "./netsuite-6tmjDviW.js";
8
+ import { u as D } from "./useNavigationMenu-DfW5RBKu.js";
9
9
  import { u as ne } from "./useTabStorage-BkIVScW_.js";
10
- import { F as se } from "./FmAdminBadge-DH_2w13D.js";
10
+ import { F as se } from "./FmAdminBadge-DlplQOHb.js";
11
11
  import { u as re } from "./googlemap-D9vA7GsS.js";
12
12
  function ae() {
13
13
  return {
@@ -0,0 +1,242 @@
1
+ import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, createBlock as Z, openBlock as x, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, createElementBlock as _e, createCommentVNode as De, toDisplayString as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
2
+ import { u as Oe, Q as b } from "./app-D_Ym25tG.js";
3
+ import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-jTZNZIrW.js";
4
+ import { u as Pe, P as w, a as xe, _ as Te, b as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Dqn_ArEw.js";
5
+ import { b as I } from "./date2-BJDb1yuY.js";
6
+ import { u as ke, _ as qe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
7
+ import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
8
+ import { useBreakpoints as Ne } from "@feedmepos/ui-library";
9
+ import { _ as Ve } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DLYrZfPo.js";
10
+ import { useI18n as Ae } from "@feedmepos/mf-common";
11
+ import { P as Me, J as Fe } from "./app-C39bYJmq.js";
12
+ import { u as Le } from "./netsuite-6tmjDviW.js";
13
+ import { f as $e } from "./predefined-templates-DfSWTcww.js";
14
+ import "./inventory-core-dart.default-DD-U6dYG.js";
15
+ 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 = {
16
+ key: 0,
17
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
18
+ }, je = { class: "pt-8" }, lt = /* @__PURE__ */ ce({
19
+ __name: "ApprovalView",
20
+ setup(Je) {
21
+ const s = Pe(w.APPROVAL), {
22
+ columnDefs: B,
23
+ showCustomPrintDialog: O,
24
+ customPrintHtml: ee,
25
+ customPrintTemplateName: te,
26
+ customPrintIsDefault: ae
27
+ } = xe(w.APPROVAL, s, s.shipments), re = Oe(), se = Le();
28
+ $e().fetchTemplates(), b.object({
29
+ name: b.string().optional().nullable(),
30
+ start: b.date().optional().nullable(),
31
+ end: b.date().optional().nullable()
32
+ });
33
+ const k = y({
34
+ name: "",
35
+ ...Se()
36
+ }), l = y({
37
+ startDate: I(k.value.start ?? /* @__PURE__ */ new Date()),
38
+ endDate: I(k.value.end ?? /* @__PURE__ */ new Date())
39
+ });
40
+ de([() => l.value.startDate], () => {
41
+ if (!l.value.startDate)
42
+ return;
43
+ if (!l.value.endDate) {
44
+ l.value.endDate = l.value.startDate;
45
+ return;
46
+ }
47
+ const i = new Date(l.value.startDate);
48
+ if (new Date(l.value.endDate).getTime() < i.getTime()) {
49
+ l.value.endDate = l.value.startDate;
50
+ return;
51
+ }
52
+ s.updateDateRange(l.value.startDate, l.value.endDate);
53
+ });
54
+ const S = y(""), { breakpoints: q } = Ne(), P = c(() => q.value.xs || q.value.sm), ne = c(() => P.value ? 10 : 20), oe = ke(), { t: C } = Ae(), le = c(() => [
55
+ {
56
+ label: C("inventory.common.refresh"),
57
+ value: "refresh"
58
+ }
59
+ ]);
60
+ function ue(i) {
61
+ switch (i) {
62
+ case "refresh":
63
+ return s.fetchData();
64
+ }
65
+ }
66
+ const ie = c(() => {
67
+ const i = [
68
+ {
69
+ type: "string",
70
+ key: "status",
71
+ entity: "purchaseOrderRequest",
72
+ values: Array.from(
73
+ new Set(
74
+ s.purchaseRequests.value.map((e) => {
75
+ var n;
76
+ return ((n = e.purchaseOrder) == null ? void 0 : n.status) ?? "";
77
+ }).filter((e) => e !== "")
78
+ )
79
+ )
80
+ }
81
+ ], r = [
82
+ {
83
+ type: "string",
84
+ key: "netsuiteTransactionNumber",
85
+ entity: "purchaseOrderRequest",
86
+ values: s.purchaseRequests.value.map((e) => {
87
+ var n, t;
88
+ return (t = (n = e.netSuite) == null ? void 0 : n.additionalInfo) == null ? void 0 : t.transactionnumber;
89
+ }).filter((e) => e != null)
90
+ },
91
+ {
92
+ type: "string",
93
+ key: "netsuiteOrderNo",
94
+ entity: "purchaseOrderRequest",
95
+ values: s.purchaseRequests.value.map((e) => {
96
+ var n;
97
+ return (n = e.netSuite) == null ? void 0 : n.refNo;
98
+ }).filter((e) => e != null)
99
+ },
100
+ {
101
+ type: "string",
102
+ key: "netsuiteOrderId",
103
+ entity: "purchaseOrderRequest",
104
+ values: s.purchaseRequests.value.map((e) => {
105
+ var n;
106
+ return (n = e.netSuite) == null ? void 0 : n.id;
107
+ }).filter((e) => e != null)
108
+ }
109
+ ];
110
+ return [...i, ...se.isEnabled ? r : []];
111
+ }), d = y(null), pe = c(() => {
112
+ if (!d.value)
113
+ return s.purchaseRequests.value;
114
+ const i = Me.build(d.value);
115
+ return s.purchaseRequests.value.filter((r) => {
116
+ var e, n, t, o, m;
117
+ return Fe(
118
+ {
119
+ netsuiteTransactionNumber: (n = (e = r.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : n.transactionnumber,
120
+ netsuiteOrderNo: (t = r.netSuite) == null ? void 0 : t.refNo,
121
+ netsuiteOrderId: (o = r.netSuite) == null ? void 0 : o.id,
122
+ status: (m = r.purchaseOrder) == null ? void 0 : m.status
123
+ },
124
+ i
125
+ );
126
+ });
127
+ });
128
+ return (i, r) => {
129
+ const e = fe("FmTable");
130
+ return x(), Z(qe, {
131
+ title: a(C)("inventory.transfer.approval.title"),
132
+ actions: le.value,
133
+ "onClick:action": ue
134
+ }, {
135
+ default: T(() => {
136
+ var n;
137
+ return [
138
+ p("div", {
139
+ class: ve([
140
+ "flex flex-col gap-8 max-h-full",
141
+ {
142
+ "p-0": P.value,
143
+ "px-24 ": !P.value
144
+ }
145
+ ])
146
+ }, [
147
+ u(Ve, {
148
+ "date-range-query": "",
149
+ "date-range": l.value,
150
+ "onUpdate:dateRange": r[0] || (r[0] = (t) => l.value = t),
151
+ searchable: "",
152
+ "change-location": "",
153
+ search: S.value,
154
+ "onUpdate:search": r[1] || (r[1] = (t) => S.value = t),
155
+ filterable: "",
156
+ "filter-attributes": ie.value,
157
+ filter: d.value,
158
+ "onUpdate:filter": r[2] || (r[2] = (t) => d.value = t)
159
+ }, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
160
+ u(e, {
161
+ style: he(a(oe).tableHeight),
162
+ "column-defs": a(B),
163
+ "row-data": pe.value,
164
+ "search-value": S.value,
165
+ loading: !a(re)._currentLocation || a(s).loading.value,
166
+ onRowClick: r[3] || (r[3] = (t) => a(s).promptShowTransferDetails(
167
+ t.original.purchaseOrder,
168
+ t.original
169
+ )),
170
+ "page-size": ne.value
171
+ }, {
172
+ "list-row": T((t) => [
173
+ u(Ce, {
174
+ row: t,
175
+ onRowClick: (o) => a(s).promptShowTransferDetails(o.purchaseOrder, o)
176
+ }, {
177
+ default: T((o) => {
178
+ var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, Q, G, K, W, g, X;
179
+ return [
180
+ p("div", ze, [
181
+ p("div", Ee, [
182
+ u(a(R), {
183
+ render: (V = (N = (m = o.purchaseOrder__id) == null ? void 0 : m.column) == null ? void 0 : N.columnDef) == null ? void 0 : V.cell,
184
+ props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
185
+ }, null, 8, ["render", "props"])
186
+ ]),
187
+ p("div", Ue, [
188
+ u(a(R), {
189
+ render: (L = (F = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : F.columnDef) == null ? void 0 : L.cell,
190
+ props: ($ = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : $.call(v)
191
+ }, null, 8, ["render", "props"])
192
+ ]),
193
+ p("div", Ye, ge((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),
194
+ (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), _e("div", He, [
195
+ u(a(R), {
196
+ render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
197
+ props: (Q = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : Q.call(D)
198
+ }, null, 8, ["render", "props"])
199
+ ])) : De("", !0),
200
+ p("div", je, [
201
+ u(a(R), {
202
+ render: (W = (K = (G = o.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : K.columnDef) == null ? void 0 : W.cell,
203
+ props: (X = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : X.call(g)
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
+ (x(), Z(ye, { to: "body" }, [
216
+ u(Te, be({
217
+ scope: a(w).APPROVAL
218
+ }, {
219
+ ...a(s).transferDetailsProps.value,
220
+ receivedMap: ((n = a(s).transferDetailsProps.value) == null ? void 0 : n.receivedMap) ?? {},
221
+ shipments: a(s).shipments.value ?? []
222
+ }, {
223
+ onSubmitted: a(s).fetchData
224
+ }), null, 16, ["scope", "onSubmitted"]),
225
+ u(we, {
226
+ modelValue: a(O),
227
+ "onUpdate:modelValue": r[4] || (r[4] = (t) => Re(O) ? O.value = t : null),
228
+ html: a(ee),
229
+ "template-name": a(te),
230
+ "is-default": a(ae)
231
+ }, null, 8, ["modelValue", "html", "template-name", "is-default"])
232
+ ]))
233
+ ];
234
+ }),
235
+ _: 1
236
+ }, 8, ["title", "actions"]);
237
+ };
238
+ }
239
+ });
240
+ export {
241
+ lt as default
242
+ };
@@ -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-sz_VtHRr.js";
3
- import { a as L, aa as S } from "./app-37NZKFUI.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CEF1D6bJ.js";
3
+ import { a as L, a7 as S } from "./app-D_Ym25tG.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-QEs0yct_.js";
3
- import { a as x, aa as z } from "./app-37NZKFUI.js";
2
+ import { a as M } from "./FmMultiselectDialog-BxAfKkDh.js";
3
+ import { a as x, a7 as z } from "./app-D_Ym25tG.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, aa as R } from "./app-37NZKFUI.js";
3
- import "./dayjs.min-BKUldDi9.js";
2
+ import { F as b, a as P, a7 as R } from "./app-D_Ym25tG.js";
3
+ import "./dayjs.min-DaQY5dXC.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-R_NkLn5t.js";
8
+ import "./netsuite-6tmjDviW.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: {