@zeniai/web-cockpit-ui 1.14.97-prod → 1.14.98-dev

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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-DSdNOxQ9-Cve45-FP.js +21 -0
  2. package/dist/assets/{AIPerformancePage-4v4Fkm9f-DDp0Nnzh.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DEoji_Hm.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
  5. package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-CPz69IBv.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
  7. package/dist/assets/{AccountRow-BM3xLbeh--vvIWBOQ.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-BnZnSIUo.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
  9. package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
  10. package/dist/assets/{AddToWalletPage-OJBvAKUj-CFKw7FE0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
  11. package/dist/assets/{AgingReportsPage-n-UKn3Ei-wXkPQ4jt.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
  12. package/dist/assets/{AllUserItems-BsvKEVcx-wINOI07Y.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-Duu2uAEr-BevAJ7BA.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
  14. package/dist/assets/{AppBasePage-DoCF494Z-D39xHNOF.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-DM1t0oLS-BojUJ2hW.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-cfSMkgCa.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
  17. package/dist/assets/{ArAgingChart-CsFDVdeO-Dzc8qLcG.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
  19. package/dist/assets/{AttachmentView-B0d42oAf-GhjxbFZX.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
  20. package/dist/assets/{BankAccountSection-Bgdk93V0-B0tXfnFS.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-DE6TOtQW.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
  23. package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
  24. package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
  26. package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-DRCjyEfB-y3RM5Wnt.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CdYb74V7-DhBGANyX.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-ChlGAVqg.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
  30. package/dist/assets/{BoxItem-WOrvBzns-C0M7yHSW.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CbqJIVpz-Blmi37QI.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-DBOH0_yP-BifRrded.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-D-kXy6LW-CUw2WCZU.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-DsJS5aQJ.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
  35. package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-EGkwcy7i-DiZgMWD8.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
  37. package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
  38. package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B0jPtU5s.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-COhBhLbu.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-CzmiZWyu.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-xkNXkjfh-DUsbxsn0.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-ESf3b9io.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
  44. package/dist/assets/{CompanyPassportCard-BOxM716U-CBl4xY58.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-DzE7sm8S-CP2cAEyd.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
  46. package/dist/assets/{CompleteProfile-BjGSPASa-BekkYj8C.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
  47. package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-CqOIBaOE.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
  49. package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
  50. package/dist/assets/{CurrencySelectField-AjAWhg6e-CigJMeIM.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
  51. package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
  52. package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-Dd8JwrJ4.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
  54. package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-CNiZlnRU.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
  56. package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
  57. package/dist/assets/{Dashboard-_o0Ftdv8-bzTTlIl9.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-Cu5wqWkj-Bwefxm1d.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-ARIeWeD8.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-PSc8H5UQ.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-C0tlxZD1.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-c57lEf_V-CaSZtLmQ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
  64. package/dist/assets/{DrawerPage-inbhWwND-CRSXqSiG.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
  65. package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
  66. package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
  67. package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CHgrPo86-Bgj0_OMe.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-BUT86XQ8.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
  70. package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-CI8NZCiu.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
  71. package/dist/assets/{ExpressPayPage-CIp_R6ZQ-CvWnqOQy.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
  72. package/dist/assets/{FeaturePreviewPage-qsUO3mUu-CTCwVSWi.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-ebmR-eLP-CMNBhpU0.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
  74. package/dist/assets/{GlobalReviewListPage-9V-xoqvs-O_20lisG.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
  75. package/dist/assets/{InformationCardStack-DnB7TmOk-modJbuEh.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
  76. package/dist/assets/{InsightsCardStack-BBczCYEz-kqj1q15I.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
  77. package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-rLhQ4m_d.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-DMktsSn5.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
  80. package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-CyPkMVug.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
  81. package/dist/assets/{InviteFormPage-XsnZcAvb-BDSiLBrK.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
  82. package/dist/assets/{InvitePageListView-HfsehyxK-Dbze_ndt.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
  83. package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
  84. package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-BgaxJ8xK.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
  85. package/dist/assets/{IssueChargeCardPage-xbfFhV0O-4bVN4eFr.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
  86. package/dist/assets/{LabeledAddressValue-CB_KH7v5-ncrHsqJe.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-DxwGWMyO.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
  89. package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-CE-LJYdn.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
  90. package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
  91. package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-DiK-EgzR.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
  92. package/dist/assets/{LabeledText-yhm8qxrA-qY3EChSX.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-Bl2xAZ3Z.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
  94. package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-BxECYaiO.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
  95. package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
  96. package/dist/assets/{LockCardPage-DaVzuRMw-BjKCklnQ.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
  97. package/dist/assets/{LowBalancePopup-Dd9HLWlh-ic5OOxEW.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
  98. package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
  99. package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
  100. package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
  101. package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-B73Nce8i.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
  102. package/dist/assets/{MagicLinkTitleSection-Bx92291D-UQdVswCk.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
  103. package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
  104. package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-CQuV-mw5.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-KqAM0dkZ.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-6KgZiUr4.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
  108. package/dist/assets/{NavBarWithPicker-aXn2QYh1-CW3bwugc.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
  109. package/dist/assets/{NavigationArrow-JLUXaIrz-ChgEui-v.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
  110. package/dist/assets/{NavigationDots-B0_dDbgu-C4KMeusv.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
  111. package/dist/assets/{NewGlobalMerchantPage-B_019EtP-BHwnIknQ.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
  112. package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
  113. package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
  114. package/dist/assets/{NotFoundPage-BEya4LS2-ipqWAZiD.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-C9SjRKCu-BYu7qv5i.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
  116. package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
  117. package/dist/assets/{NotificationsPage-FJHx_WBG-DyZ6LFEY.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
  118. package/dist/assets/{OpExByVendorPage-Dxk68R6U-2aIAkF5L.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
  119. package/dist/assets/{OverlayContainerPage-Daz3A7cI-1UM1P3Cu.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
  120. package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-BpHo8ieQ.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
  122. package/dist/assets/{PeoplePage-DN5VtG7Q-C6fdxHpv.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
  123. package/dist/assets/Preview-D56XCw0A.js +1 -0
  124. package/dist/assets/{ProductsCarousel-6gthLCkf-DhMPQjiH.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
  125. package/dist/assets/{PromoBaseCards-CzPzj69A-C2WRMyFn.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
  126. package/dist/assets/{QBOConnectionDialog-BFy0lMZd-0lPmnE7v.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
  127. package/dist/assets/{QBOSetupSection-DcLYyQ5m-ZCZhtAI0.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
  129. package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
  130. package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
  131. package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CSLymEjG.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
  132. package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CyzWYNRN.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-n5rWE4gl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
  134. package/dist/assets/{ReloadCard-9KpQCrce-qdtANGd1.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-BPliEsuo-CYYykdHh.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
  136. package/dist/assets/{ReportsPage-h2DAaQfK-DeTpSbG7.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
  137. package/dist/assets/{RevenueChart-DY2s_upY-BLa8DFO5.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
  138. package/dist/assets/{ReviewDetailsPage-BiYxRnvA-C6idEm-U.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
  139. package/dist/assets/{ReviewOverlay-BvPN7IKD-C6bOkNqU.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
  140. package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CKa9Hbui.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DebosLND-CEznnGQ1.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-c6Oocp5D.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
  144. package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
  145. package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-BzBubANR.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
  146. package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
  147. package/dist/assets/{SignInScreen-BvNXHkCt.js → SignInScreen-DJh1xRdL.js} +1 -1
  148. package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
  149. package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
  150. package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
  151. package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
  152. package/dist/assets/{StatementsPage-DVR5LhTi-Bx23GXwj.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
  153. package/dist/assets/{StatusSwitcher-Cy5ITFgi-VNfYnDC0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-DhsES2OW-4AOmN1CG.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
  155. package/dist/assets/{SummaryCard-Byv4Hw8Q-sFz6AI7k.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CVXMOPf2-vgAaxjt0.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
  157. package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
  158. package/dist/assets/{TimeframeSwitcher-BK-qliOX-Cz_yjhY_.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
  159. package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
  160. package/dist/assets/{TopExCard-o4Q3ze1b-Bq0fQQYZ.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
  161. package/dist/assets/{TopExDetailPage-BsCwwwDi-CGh1No0Z.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
  162. package/dist/assets/{TransactionDetailPage-rpCG65yC-Cx6XApqd.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
  163. package/dist/assets/{TransactionList-YI4oZaim-uM5Py_qt.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
  164. package/dist/assets/{TransactionListBig-D_Jw9Ip2-DuqFkfMY.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
  165. package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
  166. package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
  167. package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DlSarteK.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
  168. package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BOPfHNG5.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
  169. package/dist/assets/{TreasuryPromoPage-C6D3bF2f-JvACTcvz.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
  170. package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CUcMhAZw.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
  171. package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-1cvqLaEx.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
  172. package/dist/assets/{TrendChart-BI4Tz813-B65jbt3X.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
  173. package/dist/assets/{TrendWithTransactions-BicIDSlC-DJG4vT11.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
  174. package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-ESzm24ii.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
  175. package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BDON8L6z.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
  176. package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
  177. package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
  178. package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
  179. package/dist/assets/{VendorDetailPage-CLFKkF8I-yvKO1ezo.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
  180. package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
  181. package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-tLQrFqSy.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
  182. package/dist/assets/{VendorFirstReviewPage-C6MnbIan-Dv6bIyUm.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Bmm3HDq6.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
  184. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
  185. package/dist/assets/{VendorsAccountsSection-CVh1n81R-uZ58tDY_.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
  186. package/dist/assets/{VerifyDevice-BHocExfO-CSFxm3TR.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
  187. package/dist/assets/{VideoPlayer-9rYRtSLf-Dult1Fhb.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
  188. package/dist/assets/{VideoPopup-D1o92dj6-MjTgzb_z.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
  189. package/dist/assets/{WarningsDrawerPage-CzufXgaN-B_XgGmYw.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
  190. package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-zM0FujN3.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
  191. package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-BYfNam3f.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
  192. package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
  193. package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-BiUYWTug.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
  194. package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-BdsjjTvD.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-CztmWsFm-zaYwj_At.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-BvNtSqmK.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
  197. package/dist/assets/{add-to-wallet-DgdBD8_G-YEDUG2x7.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
  198. package/dist/assets/{analytics-BoRXOtAO.js → analytics-GoB8GGlk.js} +1 -1
  199. package/dist/assets/{analyticsHelper-D4lKCWjQ-FgQaBGwb.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
  200. package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
  201. package/dist/assets/{arrow-south-east-round-PEovUgvH-BYP2VrYw.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
  202. package/dist/assets/{auto-transfer-rule-mbafm5D3-DgX7DrI4.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
  203. package/dist/assets/{chartTypes-BPPSjkhb-CyAt9WF3.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ds75pRzR-BXTMRgCR.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
  205. package/dist/assets/{constants-DsfqyjAS.js → constants-DTxI1rHn.js} +1 -1
  206. package/dist/assets/{core-CQbgucwW.js → core-cG0U1y2d.js} +2 -2
  207. package/dist/assets/{dash.all.min-BcqJ6chU.js → dash.all.min-CKz_ZRDI.js} +1 -1
  208. package/dist/assets/{detailCommon-DdZdfmYT-BjwhwBDl.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
  209. package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
  210. package/dist/assets/{empty-CY7eiPCo.js → empty-DAIP1XxB.js} +1 -1
  211. package/dist/assets/empty-D_oWKko5.js +1 -0
  212. package/dist/assets/epic-4bGyY7Fz.js +2 -0
  213. package/dist/assets/{gift-box-Cmt9OgIZ-BnIAquGb.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-zw0ykiiU.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BfGsDchu.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
  216. package/dist/assets/{handshake-BPg58FML-BTgZLPD2.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
  217. package/dist/assets/{empty-339TQKSU.js → index-BMQnSjFr.js} +1 -1
  218. package/dist/assets/{index-bSJ1DrDa.js → index-BqrFe7eC.js} +1 -1
  219. package/dist/assets/{index-DtO5gDKt.js → index-CO_Updpp.js} +4418 -4410
  220. package/dist/assets/{index-CfECj9aZ.js → index-CpulHfxu.js} +1 -1
  221. package/dist/assets/index-D4nV_3XK.js +1 -0
  222. package/dist/assets/{index-BmS8uh0s.js → index-DVGnYxP0.js} +1 -1
  223. package/dist/assets/{index-Bh8od1Dv.js → index-uRSEmDsl.js} +1 -1
  224. package/dist/assets/{lexical-C_NRfmyx.js → lexical-CUq6kk0g.js} +1 -1
  225. package/dist/assets/{liveblocks-DT2vn74k.js → liveblocks-BOlC_Koo.js} +1 -1
  226. package/dist/assets/{lottie-CJgUcH_y.js → lottie-DQ5EyuJ6.js} +2 -2
  227. package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
  228. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
  229. package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
  232. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
  233. package/dist/assets/{mui-MIYQj4aF.js → mui-ByF8ZmHV.js} +1 -1
  234. package/dist/assets/{page-detail-CWX5S47F-2WFsC4V9.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
  235. package/dist/assets/{radio-default-CiSgisfh-Be1M1Tqp.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
  236. package/dist/assets/{react-_5_wKPfz.js → react-B1eYDq6e.js} +3 -3
  237. package/dist/assets/{react-s6BDxHNe.js → react-B20ZDkLv.js} +2 -2
  238. package/dist/assets/{react-CcsnnB7v.js → react-B3-oq61_.js} +2 -2
  239. package/dist/assets/{react-Cd5Vjf1M.js → react-BU_tzuye.js} +1 -1
  240. package/dist/assets/{react-A0ha147_.js → react-CeCukAHo.js} +1 -1
  241. package/dist/assets/{react-HhXes7kc.js → react-D74rpLXu.js} +1 -1
  242. package/dist/assets/{react-CsSpGKpA.js → react-iY_JqSpg.js} +2 -2
  243. package/dist/assets/{react-DurYqW_R.js → react-osFWCkxJ.js} +2 -2
  244. package/dist/assets/{recharts-Ca44ZuG6.js → recharts-C9z9JCsM.js} +1 -1
  245. package/dist/assets/{sentry-BA2-4jVY.js → sentry-DdXOXL3j.js} +2 -2
  246. package/dist/assets/{shield-DOlUxcFf-CAAyiSZE.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
  247. package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
  248. package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
  249. package/dist/assets/{uploadAttachment-B4ddYCCL-DjvJv31V.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
  250. package/dist/assets/{uploadReceipts-CPw64UYa-CBWMAKMK.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
  251. package/dist/assets/{url-BDky7-FA.js → url-DnfeNFje.js} +1 -1
  252. package/dist/assets/{url-CTUDUfsx.js → url-PLN9h9fH.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DkULBMjI.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-DEmztJwW.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
  255. package/dist/assets/{utils-4_IeBx6L.js → utils-BMrfBn9K.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-DQjAbQ-W.js → zeni-epic-state-BiQIJCwr.js} +32 -32
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/ACHDetailsPage-BRWOdhMx-DY2ph-xS.js +0 -21
  260. package/dist/assets/AccountInfoPage-Ca_vKG58-Dl8kMMWb.js +0 -18
  261. package/dist/assets/AccountLockedInfoModal-CEk5d9hq-D__Hm0k3.js +0 -59
  262. package/dist/assets/AddAddressForCardDrawer-DfOyebHX-ByFFgdZ1.js +0 -6
  263. package/dist/assets/ArAgingDetailPage-CaOr6vAU-zKDTGoif.js +0 -46
  264. package/dist/assets/BankAccountWarningSection-DMRmF2yM-DQNP-zu1.js +0 -51
  265. package/dist/assets/BillDetailPage-BG7FhHEq-DTAFxDZ0.js +0 -266
  266. package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-D2QG1AC2.js +0 -27
  267. package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-D2oNTsQU.js +0 -235
  268. package/dist/assets/BillPayPromoPage-aGKOv8Ur-6uOlfu32.js +0 -84
  269. package/dist/assets/ChargeCardListPage-130ILwkr-B_qCS-VF.js +0 -412
  270. package/dist/assets/ChargeCardPromoPage-BwqrXrY--DR9cG9Eg.js +0 -222
  271. package/dist/assets/ConfettiBurst-1rYKpbAj-BhmXWPWP.js +0 -1
  272. package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-CyTpkvYH.js +0 -224
  273. package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-OW0eO0a-.js +0 -88
  274. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-BqnO4Zie.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-D7zzt3qu.js +0 -66
  276. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-DegxuZY6.js +0 -202
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DK87Pqsf.js +0 -12
  278. package/dist/assets/EditPeoplePage-DJthuIP4-DQPn7OCp.js +0 -55
  279. package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-CQoNLfO9.js +0 -865
  280. package/dist/assets/EntityDetailPage-DbTiF9Hs-CJ1u3V_P.js +0 -18
  281. package/dist/assets/InsightsSection-BTXj5WUe-Cfk7Eh1Q.js +0 -27
  282. package/dist/assets/InvitePeoplePage-DrBtwpMH-BSPb76pb.js +0 -12
  283. package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-C3uGZBkT.js +0 -16
  284. package/dist/assets/LabeledDocumentField-C73vQNgq-Co0i3aLv.js +0 -41
  285. package/dist/assets/LinkJETransactionPage-C0onrP5t-bSUcK0Xl.js +0 -98
  286. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-BT9Obm99.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-B9wAis8b.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-DiQQd7nR.js +0 -1
  289. package/dist/assets/MailingDetailsSection-D-tnK244-aaVtWDGx.js +0 -21
  290. package/dist/assets/Menu-0YHUdU0n-BPwki3Pe.js +0 -17
  291. package/dist/assets/NoDataChart-DLKHNXD4-BMP3rZFa.js +0 -26
  292. package/dist/assets/NoDataTable-BMD2qygC-B1_9CmNr.js +0 -8
  293. package/dist/assets/NotificationsListConfig-OCeJNw1G-CTlFddyS.js +0 -1
  294. package/dist/assets/PandLWithForecastPage-Bu49FbWD-W4tg_Hr0.js +0 -107
  295. package/dist/assets/Preview-BtWpgMXf.js +0 -1
  296. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-lRiHxhqF.js +0 -26
  297. package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-CINJA7Sh.js +0 -237
  298. package/dist/assets/ReimbursementDetailPage-DatcF8rt-BB8gKIBd.js +0 -314
  299. package/dist/assets/RoleWithToolTip-aW95rpRe-CB0MkMP2.js +0 -22
  300. package/dist/assets/ScreenRoutes-BiXrSIRO.js +0 -201
  301. package/dist/assets/SignIn-DQBJB5ad-CogDoFqt.js +0 -448
  302. package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-7ZU57zzT.js +0 -123
  303. package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-DJp4zhhM.js +0 -754
  304. package/dist/assets/SpendManagementSection-Ci2yOCJ9-CTxvPu5S.js +0 -230
  305. package/dist/assets/StatementItem-hcBoe79o-DptqXJtS.js +0 -31
  306. package/dist/assets/TimeRangeSwitcher-jct2_5PE-Cu9BfqgM.js +0 -64
  307. package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-CJjf8Sgj.js +0 -31
  308. package/dist/assets/TransactionListPage-B2yWm7eA-Yx9ygFEV.js +0 -35
  309. package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-1TV_A7Au.js +0 -80
  310. package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-nSx6XDpw.js +0 -38
  311. package/dist/assets/Vendor2FAPopup-C_PmEAQ7-CjvhJihW.js +0 -1
  312. package/dist/assets/VendorACHDetailsPage-DMMoCytX-DLSqAKdk.js +0 -1
  313. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-B0TLOOEg.js +0 -1
  314. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-D1AJh1PU.js +0 -1
  315. package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-CZKCVwb-.js +0 -14
  316. package/dist/assets/analyticsHelper-CEShAaem.js +0 -1
  317. package/dist/assets/downloadPdf-B8UMaJCC-CBYKvnZY.js +0 -1
  318. package/dist/assets/epic-FbVgKHkf.js +0 -2
  319. package/dist/assets/index-42e1kgYh.js +0 -1
  320. package/dist/assets/index-CQDQQRSL.js +0 -1
  321. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-CuvQDr6o.js +0 -1
  322. package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-C6_4gRnj.js +0 -1
  323. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-jtLBjIcf.js +0 -1
  324. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-QJXBr_OV.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-D1Fak76w.js +0 -1
  326. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-CtBIruyz.js +0 -1
  327. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-BFvEv8i7.js +0 -1
  328. package/dist/assets/toChartData-CMi2WgAy-4NDgrpqr.js +0 -1
  329. package/dist/assets/transaction-placeholder-CpOwZAMG-CBisz7X_.js +0 -1
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-DtO5gDKt.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-BA2-4jVY.js"><link rel="modulepreload" crossorigin href="/assets/core-CQbgucwW.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-DQjAbQ-W.js"><link rel="modulepreload" crossorigin href="/assets/recharts-Ca44ZuG6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-DT2vn74k.js"><link rel="modulepreload" crossorigin href="/assets/mui-MIYQj4aF.js"><link rel="modulepreload" crossorigin href="/assets/lottie-CJgUcH_y.js"><link rel="modulepreload" crossorigin href="/assets/analytics-BoRXOtAO.js"><link rel="modulepreload" crossorigin href="/assets/lexical-C_NRfmyx.js"><link rel="modulepreload" crossorigin href="/assets/utils-4_IeBx6L.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-CO_Updpp.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DdXOXL3j.js"><link rel="modulepreload" crossorigin href="/assets/core-cG0U1y2d.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BiQIJCwr.js"><link rel="modulepreload" crossorigin href="/assets/recharts-C9z9JCsM.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-BOlC_Koo.js"><link rel="modulepreload" crossorigin href="/assets/mui-ByF8ZmHV.js"><link rel="modulepreload" crossorigin href="/assets/lottie-DQ5EyuJ6.js"><link rel="modulepreload" crossorigin href="/assets/analytics-GoB8GGlk.js"><link rel="modulepreload" crossorigin href="/assets/lexical-CUq6kk0g.js"><link rel="modulepreload" crossorigin href="/assets/utils-BMrfBn9K.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-cockpit-ui",
3
- "version": "1.14.97-prod",
3
+ "version": "1.14.98-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -26,9 +26,9 @@
26
26
  "@sentry/core": "^9.42.1",
27
27
  "@sentry/react": "^9.42.1",
28
28
  "@types/crypto-js": "^4.1.0",
29
- "@zeniai/client-analytics": "1.6.81",
30
- "@zeniai/client-epic-state": "4.19.54",
31
- "@zeniai/web-components": "3.17.26",
29
+ "@zeniai/client-analytics": "1.6.80",
30
+ "@zeniai/client-epic-state": "4.19.56",
31
+ "@zeniai/web-components": "3.17.30",
32
32
  "color": "3.1.3",
33
33
  "cross-fetch": "^4.0.0",
34
34
  "crypto-js": "4.2.0",
@@ -1,21 +0,0 @@
1
- import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as r,eR as Q,b5 as U,o as Z,c as t}from"./index-DtO5gDKt.js";import{a as x}from"./sentry-BA2-4jVY.js";import{n as u}from"./mui-MIYQj4aF.js";import{W as G,A as J}from"./BankAccountWarningSection-DMRmF2yM-DQNP-zu1.js";import{M as K}from"./MagicLinkTitleSection-Bx92291D-UQdVswCk.js";import{e as X}from"./BankAccountSection-Bgdk93V0-B0tXfnFS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9c1b7788-5e10-4ef7-a3d0-d3dc2a506f18",e._sentryDebugIdIdentifier="sentry-dbid-9c1b7788-5e10-4ef7-a3d0-d3dc2a506f18")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:B,onSaveHandler:S,onBackClick:h,onACHDetailsUpdated:v,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:$,bankAccountContext:P})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Y(o),[o])}),[z,b]=x.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=d,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,l)=>{const s=l[p].bankRoutingNumber;v(l),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((l,{name:s})=>{s!=null&&l!=null&&_(()=>L(s,l))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&S("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:d.discardTitle}),descriptionComponent:n.jsx(F,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:I}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:$??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
2
- padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
- padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
- padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
5
- padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
6
- `,ne=u.div`
7
- display: flex;
8
- flex-direction: column;
9
- width: 100%;
10
- height: 100%;
11
- `,te=u.div`
12
- display: flex;
13
- flex-direction: column;
14
- flex-grow: 1;
15
- `,ae=u(U)`
16
- color: ${e=>e.theme.colors.champion};
17
- margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
18
- margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
19
- `,ie=u.div`
20
- margin-top: ${Z.sp5};
21
- `;export{ue as f};
@@ -1,18 +0,0 @@
1
- import{d as y,q as x,V as t,gJ as b,o as r,y as d,hv as D,c as i}from"./index-DtO5gDKt.js";import{a as $}from"./sentry-BA2-4jVY.js";import{n as o}from"./mui-MIYQj4aF.js";import{K as P}from"./StatusSwitcher-Cy5ITFgi-VNfYnDC0.js";import{r as v}from"./AccountInfoPageContent-Dv1IPcdF-DEoji_Hm.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";import"./downloadPdf-B8UMaJCC-CBYKvnZY.js";import"./commonDimensions-Ds75pRzR-BXTMRgCR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0ef3b055-ab9a-4f98-949e-cf647dce5d20",e._sentryDebugIdIdentifier="sentry-dbid-0ef3b055-ab9a-4f98-949e-cf647dce5d20")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(A,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:c,children:a.accountName}),t.jsx(j,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:c,children:t.jsx(v,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},z=o.div`
2
- padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
- padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,A=o.div`
5
- display: flex;
6
- flex-direction: column;
7
- background-color: ${e=>e.theme.colors.grey4};
8
- overflow-x: hidden;
9
- height: 100%;
10
- width: 100%;
11
- `,T=o(D)`
12
- color: ${e=>e.theme.colors.primary};
13
- padding: ${r.sp3} ${r.sp0};
14
- margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,j=o.div`
16
- display: flex;
17
- justify-content: flex-start;
18
- `;export{B as default};
@@ -1,59 +0,0 @@
1
- import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-DtO5gDKt.js";import{n as o}from"./mui-MIYQj4aF.js";import{t as v}from"./handshake-BPg58FML-BTgZLPD2.js";import"./sentry-BA2-4jVY.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d0aefe30-271f-4eaa-94fa-41623662d5bf",e._sentryDebugIdIdentifier="sentry-dbid-d0aefe30-271f-4eaa-94fa-41623662d5bf")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(_,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(C,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- row-gap: ${r.sp6};
7
- `,D=o(b)`
8
- color: ${p.important};
9
- text-align: center;
10
- `,_=o.div`
11
- display: flex;
12
- flex-direction: column;
13
- align-items: center;
14
- justify-content: center;
15
- row-gap: ${r.sp5};
16
- `,a=o.div`
17
- display: flex;
18
- align-items: center;
19
- justify-content: flex-start;
20
- column-gap: 12px;
21
- text-align: start;
22
- width: 100%;
23
- color: ${e=>e.theme.colors.primary};
24
- `,C=o.a`
25
- text-decoration: underline;
26
- color: ${e=>e.theme.colors.primary};
27
- `,I=o(c)`
28
- font-weight: ${w.medium};
29
- `,L=o.span`
30
- color: ${e=>e.theme.colors.hero};
31
- margin-left: ${r.sp1};
32
- margin-right: ${r.sp1};
33
- `,d=o.div`
34
- width: ${r.sp7};
35
- height: ${r.sp7};
36
- background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
37
- border-radius: 50%;
38
- flex-shrink: 0;
39
- color: ${e=>e.theme.colors.primary};
40
- display: flex;
41
- align-items: center;
42
- justify-content: center;
43
- `,z=o($)`
44
- width: ${r.sp4};
45
- height: ${r.sp4};
46
- `,A=o(j)`
47
- width: ${r.sp4};
48
- height: ${r.sp4};
49
- `,F=o(v)`
50
- width: ${r.sp4};
51
- height: ${r.sp4};
52
- `,T=o.div`
53
- display: flex;
54
- flex-direction: column;
55
- width: 456px;
56
- padding: ${r.sp5} ${r.sp6};
57
- background: ${e=>e.theme.colors.grey5};
58
- border-radius: ${r.sp2};
59
- `,W=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,W as a};
@@ -1,6 +0,0 @@
1
- import{d as y,q as S,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-DtO5gDKt.js";import{a as C}from"./sentry-BA2-4jVY.js";import{n as I}from"./mui-MIYQj4aF.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="29dfb081-2d2f-461d-9e18-13bcf4c4cf5a",e._sentryDebugIdIdentifier="sentry-dbid-29dfb081-2d2f-461d-9e18-13bcf4c4cf5a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>g(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:m.marginTop.valuePx(a),marginBottom:m.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=I.div`
2
- display: flex;
3
- background-color: ${e=>e.theme.colors.grey4};
4
- height: 100%;
5
- width: 100%;
6
- `;export{K as default};
@@ -1,46 +0,0 @@
1
- import{d as Y,q as F,V as o,bL as O,g1 as R,bz as B,cj as H,F as S,o as M,aQ as K,bA as Z,y as z,cc as q,cd as J,ce as U,c as y}from"./index-DtO5gDKt.js";import{a as b}from"./sentry-BA2-4jVY.js";import{n as s}from"./mui-MIYQj4aF.js";import{W as V,L as W}from"./EntitySummarySection-CHgrPo86-Bgj0_OMe.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b205f40e-6f97-4430-a50d-79db53f830f8",e._sentryDebugIdIdentifier="sentry-dbid-b205f40e-6f97-4430-a50d-79db53f830f8")}catch{}})();const _={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:G,reports:{common:Q,aging:{agingDetail:X}},dateFormat:A}=S.getLocalizedStrings();function _e(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=d,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[j,P]=b.useState(!1),E=b.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(k,C,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}j&&u!=="In-Progress"&&(P(!1),w("In-Progress"),g())},[C,k,d.companyName,u,j,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(O,{})}),o.jsx(ne,{children:Q.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(R,{fetchState:p});const L=o.jsx(Z,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:G.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:L,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(V,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:v.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(W,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await q({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();U(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
2
- height: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- max-width: 99.9%;
6
- `,te=s.div`
7
- display: flex;
8
- width: 100%;
9
- height: calc(100% - 60px);
10
- flex-direction: column;
11
- justify-content: center;
12
- align-items: center;
13
- `,ae=s.div`
14
- height: 96px;
15
- width: 96px;
16
- background: ${e=>e.theme.colors.background};
17
- border-radius: 50%;
18
- cursor: pointer;
19
- & svg {
20
- margin: ${M.sp5};
21
- color: ${e=>e.theme.colors.grey1};
22
- }
23
- &:hover {
24
- & svg {
25
- color: ${e=>e.theme.colors.primary};
26
- }
27
- }
28
- `,ne=s(K)`
29
- margin-top: ${M.sp3};
30
- color: ${e=>e.theme.colors.hero};
31
- `,ie=s.div`
32
- display: flex;
33
- min-height: 100%;
34
- flex-direction: column;
35
- width: 100%;
36
- background-color: ${e=>e.theme.colors.grey5};
37
- `,se=s.div`
38
- display: block;
39
- background-color: ${e=>e.theme.colors.grey4};
40
- height: calc(100vh - 178px);
41
- margin-top: ${e=>_.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
- `,le=s.div`
43
- margin-left: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
- height: 100%;
46
- `;export{_e as default,oe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,51 +0,0 @@
1
- import{q as w,V as n,aM as u,bQ as b,o as i,y as t,b$ as f,a as x,B as y,F as k,p as s,h as v,ak as z,c as a}from"./index-DtO5gDKt.js";import{n as o}from"./mui-MIYQj4aF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b4430283-563b-4b38-9fc1-e58ac35c0fa6",e._sentryDebugIdIdentifier="sentry-dbid-b4430283-563b-4b38-9fc1-e58ac35c0fa6")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,a[3]),customTitleMarginBottom:new t(a[0],a[3]),customTitleMarginLeft:new t(a[3],a[6]),customTitleMarginRight:new t(a[5],a[8])},M={formTitle:new x("h6Medium","h5Medium")},R=({header:e,isDirty:r,isMagicLink:c,onBackClick:m,setShowConfirmationPopup:p})=>{const l=w();return n.jsxs(n.Fragment,{children:[l==="small"?n.jsxs(B,{windowSize:l,children:[c?null:n.jsx($,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),n.jsx(h,{windowSize:l,children:e})]}):n.jsx(P,{children:c?null:n.jsx(b,{title:j,enterDelay:600,placement:"bottom",children:n.jsx($,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),l!=="small"?n.jsx(h,{windowSize:l,children:e}):null]})},h=o(y)`
2
- ${e=>`${M.formTitle.style(e.windowSize)}`};
3
- color: ${e=>e.theme.colors.primary};
4
- margin-bottom: ${e=>d.customTitleMarginBottom.valuePx(e.windowSize)};
5
- margin-top: ${i.sp3};
6
- margin-left: ${e=>d.customTitleMarginLeft.valuePx(e.windowSize)};
7
- margin-right: ${e=>d.customTitleMarginRight.valuePx(e.windowSize)};
8
- `,$=o(f)`
9
- cursor: pointer;
10
- color: ${e=>e.theme.colors.hero};
11
- width: 20px;
12
- height: 20px;
13
- &:hover {
14
- color: ${e=>e.theme.colors.primary};
15
- }
16
- `,P=o.div`
17
- margin: ${i.sp3} ${i.sp8} ${i.sp3} ${i.sp6};
18
- `,B=o.div`
19
- display: flex;
20
- align-items: center;
21
- position: absolute;
22
- top: ${i.sp0};
23
- padding-top: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
24
- padding-bottom: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
25
- padding-right: ${i.sp5};
26
- padding-left: ${i.sp0};
27
- z-index: 2;
28
- background-color: ${e=>e.theme.colors.grey4};
29
- `,g={marginBottom:new t(a[5],a[3]),marginRight:new t(a[3],a[8]),marginLeft:new t(a[3],a[6])},_=({warningText:e})=>{const r=w();return n.jsxs(S,{size:r,children:[n.jsx(T,{children:n.jsx(D,{})}),n.jsx(C,{children:e})]})},S=o.div`
30
- display: flex;
31
- background-color: ${s.alertLight};
32
- border: 1px solid ${s.brandColorGoldDark};
33
- border-radius: ${i.sp2};
34
- color: ${s.alertDark};
35
- margin-bottom: ${e=>g.marginBottom.valuePx(e.size)};
36
- padding: ${i.sp3} ${i.sp4} ${i.sp3} ${i.sp4};
37
- margin-right: ${e=>g.marginRight.valuePx(e.size)};
38
- margin-left: ${e=>g.marginLeft.valuePx(e.size)};
39
- `,C=o(z)`
40
- display: flex;
41
- flex-grow: 1;
42
- color: ${s.brandColorGoldDark};
43
- `,T=o.div`
44
- display: flex;
45
- align-items: center;
46
- margin-right: ${i.sp2};
47
- `,D=o(v)`
48
- width: ${i.sp4};
49
- height: ${i.sp4};
50
- color: ${s.brandColorGoldDark};
51
- `;export{_ as A,R as W};
@@ -1,266 +0,0 @@
1
- import{q as Wn,av as Zn,d as Kn,gc as Un,gd as Vn,ge as Gn,gf as Hn,ca as qn,aN as Xn,y,V as t,f3 as dt,f4 as Jn,o as a,f5 as Qn,f6 as Yn,f7 as ea,aK as Ae,f8 as ta,aM as b,bz as ct,bm as pt,dr as mt,cm as ut,cn as yt,co as ht,gg as na,gh as aa,gi as ia,gj as la,fd as $,gk as I,ff as A,fg as k,fc as oa,b as bt,p as ie,fe as Lt,fm as ra,fh as sa,fi as da,gl as ca,gm as pa,aO as ma,an as gt,bQ as we,gn as ua,go as L,F as ya,c as s,ah as ha,b$ as ba,gp as ga,L as fa,gq as xa,fn as ft,a as wa,d0 as Ta,cf as va,gr as xt,b5 as Da,b7 as ja,l as $a,bS as Ot,d1 as Ia,gs as Aa,ag as Ft,aW as ka,b3 as Sa,br as Ca,eJ as Pa,ak as Ba}from"./index-DtO5gDKt.js";import{a as p}from"./sentry-BA2-4jVY.js";import{n as i}from"./mui-MIYQj4aF.js";import{a as Ra}from"./liveblocks-DT2vn74k.js";import{bO as za,bL as Ma,bP as Na,FB as La,bN as Oa,bH as Fa,bh as Ea}from"./zeni-epic-state-DQjAbQ-W.js";import{o as _a,t as Wa}from"./LowBalancePopup-Dd9HLWlh-ic5OOxEW.js";import"./core-CQbgucwW.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./recharts-Ca44ZuG6.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="ad91825d-1fe3-4578-8676-c37b9b7cf9b1",e._sentryDebugIdIdentifier="sentry-dbid-ad91825d-1fe3-4578-8676-c37b9b7cf9b1")}catch{}})();const Za=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new wa("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Ua,common:{noText:C,strings:{empty:c},currency:wt,via:Va,more:Ga,edit:Ha},spendManagement:{billPay:{billDetails:n,billsByTabs:ke,bulkActions:Tt,vendorCreation:Te,insufficientFunds:Et}},collaboration:{threads:{placeholder:vt,tooltip:Dt,title:{comments:qa}}}}=ya.getLocalizedStrings(),ve=Ua.visual.MMMDCommaYYYYformat,Ei=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:le,isAdmin:_t,isRealTimeApprovalEnabled:Wt,isInternationalPaymentShaVsOurEnabled:Zt,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:K,showMarkAsPaidButtonToApprover:Se,isBillPayCommentingEnabled:Ce,isZeniUser:Ut,showBackButton:Pe=!0,isDetectInsufficientFundsEnabled:Vt,redirectToEditableBillScreen:Gt,redirectToBillsScreen:X,discardBillDetailsFromLocalStore:Be,deleteBill:Ht,cancelAndDeleteBill:Re,approveOrRejectBill:ze,onAddNewRule:qt,onAttachmentClick:Me,saveBillDetails:Xt,discardOutsideZeniPaymentData:Jt,onBackClick:Ne,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:Yt,onRetryPaymentClick:en,onRefundPaymentClick:tn})=>{const l=Wn(),o=Zn(),Le=Kn(),[nn,U]=p.useState(!1),[Oe,oe]=p.useState(!1),[re,se]=p.useState(!1),[Fe,de]=p.useState(!1),[an,ce]=p.useState(!1),[Ee,J]=p.useState(!1),h=e.transactionDetails?.id,ln=Ut?Un:Vn,{requestToOpenThread:pe,setRequestToOpenThread:_e,setOpenThread:Q}=p.useContext(ln),[on,V]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:G,isLoading:P}=Gn(T,"both",!1),x=Ce&&h!=null,We=p.useMemo(()=>h==null?[]:G.filter(r=>r.resolved===!1&&!r.id.includes(Hn)),[G,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,rn=p.useCallback((r,u)=>{Q(u),V(!1)},[Q,V]);p.useEffect(()=>{pe?.threadId!=null&&G.length>0&&!P&&(Q(pe.threadId),_e(null))},[pe,G,P,Q,_e]);const Ze=p.useRef(!1),[sn,dn]=p.useState(!1),cn=p.useRef(r=>{r&&!Ze.current&&(Ze.current=!0,dn(!0))});qn({componentName:"bill.details",enabled:sn});const[N,Y]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ue]=p.useState("approved"),[pn,Ve]=p.useState(!1),[mn,Ge]=p.useState(!1),[He,qe]=p.useState(!1),Xe=()=>Ve(!1),un=()=>Ve(!0),Je=Xn(e.zeniAssist?.refundStatus.fetchState),ee=p.useCallback(()=>{X()},[X]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Be(),X())},[e,X,Be]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(se(!1),ee())},[Je,e.zeniAssist?.refundStatus,ee]);const w=e.transactionDetails?.billPayInfo.stage,te=e.transactionDetails?.billPayInfo.billStatus,H=e.transactionDetails?.billPayInfo.billPaymentStatus,yn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,me=w?.code==="paid",D=me?w:te?.code=="approved"&&H?.code?H:te,S=Xa(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?yn:H?.code!=null&&(te?.code=="approved"||H.code==="mark_as_paid")?H:te,ue=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Gt(e.transactionDetails?.id??"")},hn=()=>{Y({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),U(!0)},bn=()=>{Y({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},gn=()=>{Y({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},fn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Y({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),se(!0)},xn={onOkClick:()=>{U(!1),N.primaryButtonText===n.delete?Ht?.(e.isRecurring):N.title===n.cancelBillTitle?Re?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Re?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn())},onCancelClick:()=>{U(!1),se(!1)}},wn={onOkClick:r=>{ce(!1),ze({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ce(!1)}},Tn=()=>{const[r]=ka("ZeniAssist");return r!=null?t.jsx(Sa,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{de(!Fe),M.trackZeniAssistClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},ne={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??wt.currencyCode},ye=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],vn=e.transactionDetails?.recipientTotalAmount.amount??0,he=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},j=m.labelWidth.value(l),Dn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,jn=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,In=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Di,{})})]}):void 0,Ye=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),An=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Ia(r.toLowerCase()):r??"";return`${Te.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
2
- ${Te.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Te.achDetails.accountTypeLabel} ${u}`},ae=e.transactionDetails?.billPayInfo!=null?za(e.transactionDetails?.billPayInfo):void 0,kn=ae!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Ma(Na(ae?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,et=e.transactionDetails?.billPayInfo.expectedDepositDate??kn,tt=dt(d?.paymentType?.method??"").replace("Same Day",""),Sn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Jn,{paymentTypeLabel:tt,onClick:un,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Cn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Aa,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,nt=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,be=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&nt),at=!((w?.code==="scheduled"||w?.code==="pending_approval")&&nt),ge=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,fe=e.zeniAssist?.isEligibleForRefund===!0,Pn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Bn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(ge||fe)&&Pn===!1,xe=ge||fe,Rn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,zn=!Rn&&(!Ye||D?.code==="processing"&&!B),it=!Ye,lt=["small","medium-compact","medium-regular"].includes(l),q=La(e.transactionDetails?.bulkProcessingDetail?.type),F=Oa(e.paymentMethodType?.method),Mn=!q&&(E!=="processing"&&at||E==="processing"&&!B||E==="processing"&&it||f&&F&&Se),Nn=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Xt(!0,He,r)},ot=()=>{Ge(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},Ln=()=>{qe(!0),ot()},On=()=>{Jt(),Ge(!1),He&&qe(!1)},Fn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=Vt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,rt=()=>{Ue("approved"),Ee===!0&&J(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",ft(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ze({billId:e.transactionDetails?.id??"",type:"approved"})},En=()=>{Ue("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",ft(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ce(!0)},st=p.useRef(null);return t.jsxs(ci,{windowSize:l,ref:st,children:[t.jsx(Yn,{anchor:"right",open:pn,onClose:Xe,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ea,{companyName:ta(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(ve)??"",paymentType:tt,amount:Ae("0,0.[00]",he),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Xe})}),t.jsxs(yi,{ref:cn.current,windowSize:l,children:[t.jsx(Ai,{windowSize:l,children:l==="small"?t.jsx(ct,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Le.colors.grey4,rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),source:"BillDetailPage"}):t.jsx(ct,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),enableTitleOnScroll:!0,scrollableContent:st,source:"BillDetailPage"})}),t.jsxs(hi,{windowSize:l,children:[Ee?t.jsx(_a,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:rt,onCancelClick:()=>{J(!1),Qe()},onClickAway:()=>{J(!1)}}):null,mn?t.jsx(Wa,{onCancel:On,onProceedForMarkAsPaid:Nn,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,nn||re?t.jsx(ut,{titleComponent:t.jsx(ht,{children:N.title}),descriptionComponent:t.jsx(yt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:re?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:xn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:re?Ja(l,e):null}):null,an?t.jsx(ut,{titleComponent:t.jsx(ht,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(yt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:wn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(gi,{windowSize:l,children:[l!=="small"?t.jsxs(fi,{windowSize:l,children:[ue,e.isRecurring?t.jsx(Ie,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===ke.tabsById.overdue?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(na,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ei(q,e,_),t.jsx(ia,{sectionId:la,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Ce,isBillPaid:me,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Me,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(je,{children:[t.jsx($e,{children:n.whatForTitle}),t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx(I,{label:{label:n.invoiceNumber,width:j},text:ne.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx(I,{label:{label:n.invoiceDate,width:j},text:ne.invoiceDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx(I,{label:{label:n.billDueDate,width:j},text:ne.billDueDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx(I,{label:{label:n.memo,width:j},text:ne.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(je,{children:[t.jsx(bi,{windowSize:l,children:t.jsx($e,{children:n.lineItemsTitle})}),ye.length>0?ye.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(_n=>_n.id===r.lineId)?.recipientAmount;return t.jsxs(pi,{children:[ye.length>1?t.jsx(mi,{windowSize:l,children:t.jsx(ui,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx(I,{label:{label:n.amount,width:j},text:R!=null?Ae("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx(I,{label:{label:n.description,width:j},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx(I,{label:{label:n.category,width:j},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx(I,{label:{label:n.class,width:j},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx(I,{label:{label:n.billable,width:j},text:r.billable!=null?Dn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx(I,{label:{label:n.customer,width:j},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(xi,{windowSize:l,children:[t.jsx(wi,{children:n.total}),t.jsx(Ti,{children:he!=null?t.jsx(oa,{amount:he,integerStyles:bt.h6Medium.cssObject,decimalStyles:bt.standardMedium.cssObject}):C})]}),t.jsxs(je,{children:[t.jsx($e,{children:n.paymentDetailsTitle}),t.jsxs(De,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx(I,{label:{label:n.withdrawFrom,width:j},text:e.withdrawFrom!=null?Lt(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:ie.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?Et.addMoney:_})}),t.jsx(z,{})]}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx(I,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Fa)&&Zt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ni,{children:ra(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:j},text:F&&e.outsideZeniPaymentInfo!=null?Ya(e.outsideZeniPaymentInfo):dt(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(I,{label:{label:n.paymentTo,width:j},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:In,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:An(),additionalInfoLabel:t.jsx(ti,{children:Sn})}),Cn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(I,{label:{label:n.paymentType,width:j},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:da(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:sa(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx($i,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(ca,{onAttachmentClick:Me,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??wt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(pa,{amount:vn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:qt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:_t,signedInUserId:le?.userId,showRealTimeApproval:Wt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Qt,onSaveRealTimeApprovals:Yt},historicActivities:e.billHistory.activities}),t.jsx(vi,{})]}),e.transactionDetails?.vendor!=null&&!me&&!e.transactionDetails.isDeleted?t.jsx(ma,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:K||f,showCancel:!K&&f,cancelBtn:{label:lt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:En,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(K,lt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:K?ot:()=>{_!=null?J(!0):rt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:K?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ai,{children:t.jsxs(di,{windowSize:l,children:[!q&&Oe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&at?t.jsx(W,{onClick:hn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:bn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&&it?t.jsx(W,{onClick:gn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Se?t.jsx(W,{onClick:Ln,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,Fe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[ge?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),en()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,fe?t.jsx(W,{onClick:fn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(si,{windowSize:l,children:[Bn===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:xe?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:xe,"data-testid":b("other-actions-icon-container"),children:xe?t.jsx(Tn,{}):t.jsx(li,{})})}):null,!q&&be===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ha,placement:"top",children:t.jsx(ri,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(oi,{})})}):null,!q&&zn===!0&&Mn?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(ii,{onClick:()=>oe(!Oe)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(Ra,{id:v,children:t.jsx(ua,{isDrawerOpen:on,allowComposer:!0,drawerTitle:qa,threads:G,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:vt.addANewComment,replyComposerPlaceholder:vt.replyAComment,threadResolve:Dt.resolveComment,threadUnResolve:Dt.unResolveComment},threadMetadata:Fn,onThreadClick:rn,onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Le.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Xa=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:ke.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(Ea(),"date")===!0?{value:ke.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Ja=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ii,{windowSize:e,children:[t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.accountNumber}),t.jsx(zt,{children:g.withdrawFrom!=null?Lt(g.withdrawFrom,e):c})]}),t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.amount}),t.jsx(zt,{children:f!=null?Ae("0,0[.]00",f):C})]})]})},Qa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,Ya=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(le=>le.value===g)?.label;return`${f} ${Va} ${Z}`},ei=(e,g,f)=>{if(e)return t.jsx(xt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Tt.duplicateWarning.title,description:Tt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(xt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Et.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ti=i.div``,ni=i.div``,ai=i.div`
3
- display: flex;
4
- justify-content: flex-end;
5
- `,ii=i(Pa)`
6
- cursor: pointer;
7
- color: ${e=>e.theme.colors.hero};
8
- width: ${a.sp4};
9
- height: ${a.sp4};
10
- &:hover {
11
- color: ${e=>e.theme.colors.primary};
12
- }
13
- `,jt=i.div`
14
- display: flex;
15
- margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
16
- cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
17
- color: ${e=>e.theme.colors.grey1};
18
- &:hover {
19
- color: ${e=>e.theme.colors.primary};
20
- }
21
- `,li=i(Za)`
22
- color: ${e=>e.theme.colors.hero};
23
- width: ${a.sp5};
24
- height: ${a.sp5};
25
- margin-bottom: ${a.sp2};
26
- &:hover {
27
- color: ${e=>e.theme.colors.primary};
28
- }
29
- `,oi=i(Ca)`
30
- cursor: pointer;
31
- color: ${e=>e.theme.colors.hero};
32
- width: ${a.sp4};
33
- height: ${a.sp4};
34
- &:hover {
35
- color: ${e=>e.theme.colors.primary};
36
- }
37
- `,ri=i.div`
38
- display: flex;
39
- cursor: pointer;
40
- color: ${e=>e.theme.colors.grey1};
41
- margin-left: ${a.sp4};
42
- &:hover {
43
- color: ${e=>e.theme.colors.primary};
44
- }
45
- `,si=i.div`
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- `,$t=i.div`
50
- display: flex;
51
- width: max-content;
52
- align-items: center;
53
- justify-content: center;
54
- flex-direction: column;
55
- background-color: ${e=>e.theme.colors.grey5};
56
- color: ${e=>e.theme.colors.hero};
57
- cursor: pointer;
58
- padding-top: ${a.sp1};
59
- padding-bottom: ${a.sp1};
60
- position: absolute;
61
- bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
62
- z-index: 3;
63
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
64
- border-radius: ${a.sp1};
65
- right: ${e=>m.right.valuePx(e.windowSize)};
66
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
67
- `,di=i.div`
68
- width: auto;
69
- justify-content: flex-end;
70
- position: ${e=>e.windowSize==="small"?"static":"relative"};
71
- right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
72
- height: 100%;
73
- display: flex;
74
- `,W=i(Ft)`
75
- display: flex;
76
- align-items: center;
77
- width: 100%;
78
- padding-left: ${a.sp3};
79
- padding-right: ${a.sp3};
80
- height: ${a.sp6};
81
- box-sizing: border-box;
82
- &:hover {
83
- background-color: ${e=>e.theme.colors.background};
84
- }
85
- `,It=i(ba)`
86
- cursor: pointer;
87
- color: ${e=>e.theme.colors.hero};
88
- width: 20px;
89
- height: 20px;
90
- &:hover {
91
- color: ${e=>e.theme.colors.primary};
92
- }
93
- `,At=i.div`
94
- margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
- display: flex;
96
- align-items: center;
97
- `,kt=i(fa)`
98
- cursor: pointer;
99
- width: ${a.sp4};
100
- height: ${a.sp4};
101
- color: ${e=>e.theme.colors.hero};
102
- &:hover {
103
- color: ${e=>e.theme.colors.primary};
104
- }
105
- `,St=i.div`
106
- display: flex;
107
- flex-direction: row;
108
- align-items: center;
109
- gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
110
- margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
111
- `,Ct=i.div`
112
- float: right;
113
- width: ${a.sp4};
114
- height: ${a.sp4};
115
- display: flex;
116
- `,ci=i.div`
117
- height: 100%;
118
- overflow: scroll;
119
- `,De=i.div`
120
- display: flex;
121
- flex-direction: column;
122
- background-color: ${e=>e.theme.colors.grey5};
123
- border: 1px solid ${e=>e.theme.colors.grey3};
124
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
125
- border-radius: ${a.sp2};
126
- margin: ${a.sp3} 0;
127
- `,je=i.div`
128
- display: flex;
129
- flex-direction: column;
130
- padding-top: ${a.sp3};
131
- `,pi=i.div``,$e=i(Da)`
132
- color: ${e=>e.theme.colors.primary};
133
- `,z=i.div`
134
- display: flex;
135
- flex: 1;
136
- background-color: ${e=>e.theme.colors.grey3};
137
- min-height: 1px;
138
- max-height: 1px;
139
- `,mi=i(ja)`
140
- display: flex;
141
- align-items: center;
142
- justify-content: space-between;
143
- color: ${e=>e.theme.colors.champion};
144
- margin-top: ${a.sp2};
145
- height: 31px;
146
- `,ui=i($a)`
147
- color: ${e=>e.theme.colors.champion};
148
- `,yi=i.div`
149
- display: flex;
150
- flex-direction: column;
151
- `,hi=i.div`
152
- display: flex;
153
- flex-direction: column;
154
- background-color: ${e=>e.theme.colors.grey4};
155
- padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
156
- padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
157
- overflow-x: hidden;
158
- margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
159
- `,bi=i.div`
160
- display: flex;
161
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
162
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
163
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
164
- `,gi=i.div`
165
- display: flex;
166
- margin-bottom: ${a.sp3};
167
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
168
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
169
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
170
- `,fi=i(Ta)`
171
- display: flex;
172
- align-items: center;
173
- flex-grow: 1;
174
- ${e=>`${Ka.formTitle.style(e.windowSize)}`};
175
- color: ${e=>e.theme.colors.primary};
176
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
177
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
178
- word-break: break-all;
179
- padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
180
- `,xi=i.div`
181
- padding: ${a.sp3};
182
- display: flex;
183
- align-items: center;
184
- justify-content: center;
185
- background-color: ${e=>e.theme.colors.grey3};
186
- border: 1px solid ${e=>e.theme.colors.grey3};
187
- border-radius: ${a.sp2};
188
- color: ${e=>e.theme.colors.hero};
189
- margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
190
- `,wi=i(Ot)`
191
- display: flex;
192
- width: 176px;
193
- color: ${e=>e.theme.colors.primary};
194
- `,Ti=i(Ot)`
195
- display: flex;
196
- width: calc(100% - 176px);
197
- justify-content: flex-end;
198
- color: ${e=>e.theme.colors.primary};
199
- `,Pt=i(va)`
200
- display: flex;
201
- color: ${e=>e.borderColor};
202
- align-items: center;
203
- justify-content: flex-end;
204
- padding: 1px 6px 1px 6px;
205
- border: ${e=>`1px solid ${e.borderColor}`};
206
- border-radius: ${a.sp1};
207
- min-width: fit-content;
208
- `,vi=i.div`
209
- display: flex;
210
- flex-direction: column;
211
- height: ${a.sp11};
212
- `,Di=i(ha)`
213
- height: ${a.sp3};
214
- width: ${a.sp3};
215
- color: ${e=>e.theme.colors.hero};
216
- `,ji=i.div`
217
- display: flex;
218
- align-items: center;
219
- margin-left: ${a.sp2};
220
- margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
221
- align-self: center;
222
- `,Ie=i(xa)`
223
- margin-left: ${a.sp2};
224
- color: ${e=>e.theme.colors.hero};
225
- `,$i=i.div``,Ii=i.div`
226
- display: flex;
227
- flex-direction: column;
228
- gap: ${a.sp2};
229
- margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
230
- `,Bt=i.div`
231
- display: flex;
232
- justify-content: space-between;
233
- width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
234
- `,Rt=i(Ft)`
235
- text-align: left;
236
- color: ${e=>e.theme.colors.grey1};
237
- `,zt=i(Ba)`
238
- justify-content: end;
239
- display: flex;
240
- flex: 1;
241
- `,Mt=i.div`
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- position: relative;
246
- cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
247
- color: ${e=>e.theme.colors.hero};
248
- opacity: ${e=>e.isDisabled?.5:1};
249
- &:hover {
250
- color: ${e=>e.theme.colors.primary};
251
- }
252
- `,Nt=i(ga)`
253
- display: flex;
254
- width: ${a.sp4};
255
- height: ${a.sp4};
256
- align-items: center;
257
- justify-content: center;
258
- `,Ai=i.div`
259
- display: flex;
260
- justify-content: space-evenly;
261
- margin-top: 0px;
262
- position: fixed;
263
- top: 0px;
264
- width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
265
- z-index: 3;
266
- `;export{Ei as default};
@@ -1,27 +0,0 @@
1
- import{y as z,c as D,q as O,F as U,a8 as G,aN as M,aG as W,cB as X,V as o,bz as Z,ab as H,aO as J,o as c}from"./index-DtO5gDKt.js";import{a as L}from"./sentry-BA2-4jVY.js";import{n as b}from"./mui-MIYQj4aF.js";import{b as K,f as Q,o as R,l as T}from"./FollowStepsSection-ebmR-eLP-CMNBhpU0.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c8c7ff08-896a-4029-a194-1fd41ea29b2d",e._sentryDebugIdIdentifier="sentry-dbid-c8c7ff08-896a-4029-a194-1fd41ea29b2d")}catch{}})();const _="billPayApprovalRuleDetailPage",C="lowerBound",N="upperBound",v="steps",Y={footerPadding:new z(D[2],D[3])};function ve({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:h=!0,hideUpperBoundField:I=!1,onSaveRuleClick:k,onSaveRuleSuccess:A}){const w=O(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ee(e,l==="approval_create"&&!n),g=G({mode:"all",reValidateMode:"onChange",defaultValues:y}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,P=M(u?.fetchState),{upperBound:B}=y,{allApprovalRules:d,allAccountingClasses:E,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,x=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),x=m>0?d[m-1].criteria[0].range.min.amount:0}const F=g.handleSubmit(()=>{k()}),V=async(i,p)=>{r(p)};return L.useEffect(()=>{const i=g.watch((p,{name:$})=>{if($!=null&&p!=null){const q=W(p);X(()=>V($,q))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&A()},[P,u?.fetchState,A]),o.jsxs(re,{children:[o.jsx(Z,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsx(se,{children:o.jsx(H,{...g,children:o.jsx("form",{id:j(_),onSubmit:F,children:o.jsxs(oe,{children:[o.jsx(K,{label:{label:I?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:B===1/0?Number.MAX_SAFE_INTEGER-1:B-1,min:x,validate:i=>n?!0:i!=null&&i>x},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:N,placeholder:"Infinity",isDisabled:h,hideField:I,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(ie,{}),o.jsx(Q,{sectionId:v,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:E,stepsInfo:y[v],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})})}),o.jsx(J,{formId:j(_),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:Y.footerPadding.valuePx(w)},separatorStyle:{marginRight:c.sp4}})]})}const ee=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[v]:ae(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),R(e.allAttributes),R(e.filteredAttributes),r??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[N]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},ae=(e,l,a,r,s)=>s&&s.length>0?s.map((n,h)=>({stepIndex:h,stepType:{selectedOption:n.action,allOptions:T},actors:{allUsers:l,selectedUsers:le(e,n.actors),allNonUsers:r,selectedNonUsers:te(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],le=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),te=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),j=e=>`${e}_form`,Ie=e=>`${e}`,re=b.div`
2
- display: flex;
3
- height: 100%;
4
- flex-direction: column;
5
- width: 100%;
6
- background-color: ${e=>e.theme.colors.grey4};
7
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
8
- `,oe=b.div`
9
- display: flex;
10
- flex-direction: column;
11
- border: 1px solid ${e=>e.theme.colors.grey3};
12
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
13
- border-radius: ${c.sp2};
14
- `,se=b.div`
15
- display: flex;
16
- justify-content: flex-start;
17
- height: 100%;
18
- overflow-y: auto;
19
- flex-direction: column;
20
- align-items: center;
21
- `,ie=b.div`
22
- display: flex;
23
- flex: 1;
24
- background-color: ${e=>e.theme.colors.grey3};
25
- min-height: 1px;
26
- max-height: 1px;
27
- `;export{Y as D,ve as default,j as uniqueFormName,Ie as uniqueName};