@zeniai/web-cockpit-ui 1.15.67-dev → 1.15.68-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 (363) hide show
  1. package/dist/assets/ACHDetailsPage-B5qIuZya-C3aJkcMK.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-Z4ui8_vI.js → AIPerformancePage-BHB45mP--Dkqa_6NM.js} +32 -32
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-oYlOoTFh.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DqErO8FH-BbWzsS4C.js → AccountInfoPageContent-CJ7ycVIK-D3wmzb6C.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-D2jstjYM.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js → AccountReconDetailsDrawerPage-Bqty08m0-C2lF-15J.js} +19 -19
  7. package/dist/assets/AccountRow-D1cjRJJD-68vCYcVL.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js → AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-B1yl6GaN.js +6 -0
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-C9dnTqSq.js → AddToWalletPage-CyRfqVDB-DUq2dZuO.js} +16 -16
  11. package/dist/assets/{AgingReportsPage-wAvQb1d8-CHVcAAAX.js → AgingReportsPage-xBFff3BM-DTUv7MP5.js} +7 -7
  12. package/dist/assets/{AllUserItems-DEv_CXOA-DrRFxVFx.js → AllUserItems-BJf6WPDo-oBZrDqKF.js} +12 -12
  13. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Ctyp_OQl.js +46 -0
  14. package/dist/assets/{AppBasePage-DMlomvFS-DqF43oJC.js → AppBasePage-CqDm-hnV-CBWeFJt1.js} +13 -13
  15. package/dist/assets/AppDrawerContent-CVVWj66i-BVbze0mI.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DVPWeDhs.js +47 -0
  17. package/dist/assets/{ArAgingChart-m-Xp3HAW-BYykckhE.js → ArAgingChart-CBsqOd-4-DjyETjt2.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-i7JObt60-SsEu5TGI.js +46 -0
  19. package/dist/assets/{AttachmentView-DB_V1qT1-BAHgn941.js → AttachmentView-CzC4skJ3-Bi12zP8s.js} +9 -9
  20. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js +38 -0
  21. package/dist/assets/{BankAccountSection-BabhrBM7-CsYno7bw.js → BankAccountSection-Di4sF52j-DIEDANH7.js} +7 -7
  22. package/dist/assets/{BankAccountWarningSection-yT2UAd12-AQuYXXrV.js → BankAccountWarningSection-Cled-2cR-Btg4jA3W.js} +9 -9
  23. package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js → BankConnectionsSettingsPage-Ccnzq7st-zo73imcz.js} +19 -19
  24. package/dist/assets/BillDetailPage-XXOwBfO1-bzzMt-3T.js +266 -0
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js → BillPayApprovalRuleDetailPage-DFZ0csaT-MjgDonCW.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js → BillPayApprovalRulesPage-COCypDcS-OXkxfW5r.js} +15 -15
  27. package/dist/assets/BillPayPromoPage-DOE2YIqC-BdcB_fiR.js +84 -0
  28. package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js → BillPaySetUpPage-BCJbZDsV-CqE7jRvx.js} +4 -4
  29. package/dist/assets/BillingSettingsPage-iImtlEmO-CoZpnA72.js +44 -0
  30. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js → BillsBulkReviewDrawerPage-B11GWM_0-DD3e0R6N.js} +1 -1
  31. package/dist/assets/{BoxItem-DRwx0M5a-BMNzRCBU.js → BoxItem-Bxa1M4QU-C6dqF4Ox.js} +11 -11
  32. package/dist/assets/{BusinessVerificationPage-1h0z3N9u-B1KNa18N.js → BusinessVerificationPage-DSuJFoW1-DjAbvNNU.js} +9 -9
  33. package/dist/assets/{CardNumberSubText-DqtLT1w5-DwPe5Ik5.js → CardNumberSubText-_ZZbaz_k-B01MfVRx.js} +3 -3
  34. package/dist/assets/{CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js → CashbackDetailPage-DAZXitLt-CcETVJHX.js} +26 -26
  35. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js → ChargeCardDetailPage-B1VIpASk-CholRaxO.js} +34 -34
  36. package/dist/assets/{ChargeCardListPage-DhLUsUhd-CLRkrqGa.js → ChargeCardListPage-BOBepN-x-B_s13mPY.js} +26 -26
  37. package/dist/assets/{ChargeCardListTable-DE72YU_i-BYCOUa2e.js → ChargeCardListTable-YznzSsJo-BNhOVvS0.js} +38 -38
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js → ChargeCardPaymentHistoryPage--jOwsMla-cFFoj7V4.js} +44 -44
  39. package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bo4_w0av.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js → ChargeCardSetupPage-0bpVkeJs-C9PMx1NQ.js} +3 -3
  41. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js → ChargeCardStatementsPage-ChWyQlw6-CwHckC8y.js} +7 -7
  42. package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js → CheckDepositDrawerPage-BS7hnyZn-B5V5osVM.js} +23 -23
  43. package/dist/assets/CollapsableReportTable-DNfFkAts-CKi8-92F.js +2982 -0
  44. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js → CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js} +22 -22
  45. package/dist/assets/{CompanyPassportCard-B9ymV6Az-COMAf0pP.js → CompanyPassportCard-CkzYFTrp-BacKEy19.js} +9 -9
  46. package/dist/assets/{CompanyPassportPage-BQ68t7oK-BMTwLfpK.js → CompanyPassportPage-FE6yli6h-DR6Ghlmc.js} +32 -32
  47. package/dist/assets/{CompleteProfile-C5n9b8gQ-hT3HEiCg.js → CompleteProfile-Cb8i1XgZ-DbJmNPo9.js} +1 -1
  48. package/dist/assets/ConfettiBurst-BZCXEGYA-B2yhgQww.js +1 -0
  49. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js → ConstrainedInnerElement-CgdnMeoA--qLpImjq.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js → CreateOrEditVendorPage-CzpSgxbO-CRxdxAMc.js} +20 -20
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js → CreditCardPaymentDrawerPage-c_q0MsSO-TA4Hobh4.js} +18 -18
  52. package/dist/assets/CurrencySelectField-BAh7SHrG-DxidpKws.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js → CustomerOnboardingActivationPage-f3Aa6E5r-BBdnGtao.js} +29 -29
  54. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B7XaiHVP.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js} +8 -8
  56. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-BNSUjl4v.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js → CustomerOnboardingPage-B9hSO88_-D7k4547U.js} +16 -16
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-S3V_r-iH.js} +12 -12
  59. package/dist/assets/{Dashboard-bX3cWkmP-BbU8pr2A.js → Dashboard-BJ_oIHab-Cok5_WDR.js} +33 -33
  60. package/dist/assets/{DashboardReportPage-DuZ4d4CE-DK-gMM8o.js → DashboardReportPage-BemzMw2e-DYYVToam.js} +41 -41
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js +12 -0
  62. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js +76 -0
  63. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-m3SoF-kw.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-DOZS_gVw.js +21 -0
  65. package/dist/assets/DownloadOverlay-D_lL1sPW-DvGv3saF.js +439 -0
  66. package/dist/assets/{DrawerPage-CaG-xx5d-EitebnoL.js → DrawerPage-DesxXhZk-B8kYZddx.js} +13 -13
  67. package/dist/assets/EditPeoplePage-QvPy_Six-BvFKkCVw.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BUe-Yiha.js +865 -0
  69. package/dist/assets/EntityDetailPage-l7nXIsyF-D4NCMOsL.js +18 -0
  70. package/dist/assets/{EntitySummarySection-LEA5m6mN-BORCaqtF.js → EntitySummarySection-BwX0a4JL-SUavY1op.js} +14 -14
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js → ExpenseAutomationOverviewPage-EdyHjbff-C6Bwm59D.js} +51 -51
  72. package/dist/assets/ExpenseAutomationPage-DA22Qofw-dd8tGA4N.js +3001 -0
  73. package/dist/assets/{ExpressPayPage-C-nqret2-DlkmEIam.js → ExpressPayPage-EMP6inpX-Bhq6MNQ0.js} +16 -16
  74. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js → FeaturePreviewPage-SYJm-3aR-Bec3W0NG.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-0eFMS0c5-B5EQvoc9.js → FollowStepsSection-BxESVqJD-Da5FF3Sc.js} +11 -11
  76. package/dist/assets/GlobalReviewListPage-D5_ACa-q-DSyD6bgo.js +291 -0
  77. package/dist/assets/{InformationCardStack-C7XJCUlh-CiHVF9R1.js → InformationCardStack-B_qQUEYD-Cf9-swA_.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-fBAbQwhK-BkpAEowk.js → InsightsCardStack-BsQzoVzj-B7Cu144k.js} +9 -9
  79. package/dist/assets/InsightsSection-B6CNlTNH-C1k0XkMl.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js → IntegrationsSettingsPage-DP6fAccq-DcJmzI7u.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TISIJuKT.js} +27 -27
  82. package/dist/assets/InternationalWireVerificationPage-COC6lZml-DVDnoPVJ.js +65 -0
  83. package/dist/assets/InviteFormPage-DN02jRy5-DXwTiwQI.js +312 -0
  84. package/dist/assets/{InvitePageListView-Cuq9dlgu-CDBeR_PP.js → InvitePageListView-CP4K9tJi-DYuLEhyF.js} +46 -46
  85. package/dist/assets/InvitePeoplePage-VTM6kM1u-LzOSX0B1.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-CK6fnO24-BKSJZVY1.js → IssueChargeCardPage-CVfuvGey-dFAkH-M9.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-Ma1WURjK-BbziAecd.js → LabeledAddressValue-DDrQcHIE-DMu0GW44.js} +1 -1
  89. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js +45 -0
  90. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js +16 -0
  91. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js → LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js} +4 -4
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js → LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js} +8 -8
  93. package/dist/assets/LabeledDocumentField-C_bcFxdY-BV9lofDJ.js +41 -0
  94. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-5lKoXSFL.js +59 -0
  95. package/dist/assets/{LabeledText-DvzVOku6-qtDKT9OR.js → LabeledText-C8Y7EOsX-C8fojKEp.js} +3 -3
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js} +21 -21
  97. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js → LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.js} +23 -23
  98. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CQSugFmY.js → LinkJETransactionPage-CKq4oiX9-BvFmTxZj.js} +17 -17
  99. package/dist/assets/{LockCardPage-BBIVLYVD-DGVUoots.js → LockCardPage-CZENNby7-DiexnWId.js} +233 -233
  100. package/dist/assets/{LowBalancePopup-ScEqPY9J-zI-i6Isi.js → LowBalancePopup-1727S1ri-B9nzvQPQ.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CO-n7uHX.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-D9JIICZ3.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-DRdINlrf.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-DaCG6zJz.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js → MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js} +5 -5
  106. package/dist/assets/MailingDetailsSection-ByOPaJ05-kJqgrlBw.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js → MyBankConnectionsSettingsPage-BdgIIhL1-FAtVw-QI.js} +12 -12
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js → MyPendingActivationChargeCardListPage-CX38bDdq-Cb-hNB9U.js} +1 -1
  109. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-DSGiByeo.js +85 -0
  110. package/dist/assets/{NavBarWithPicker-zmvBmWS1-DG_L70Us.js → NavBarWithPicker-CGGEvLwe-CLvQbXHm.js} +5 -5
  111. package/dist/assets/{NavigationArrow-D26UG3p--Bc_WE-hA.js → NavigationArrow-CTNkKUtV-Bew2hAIb.js} +7 -7
  112. package/dist/assets/{NavigationDots-Bv4tBDN3-3qW0LzNq.js → NavigationDots-Dvce3gHt-CdTxmSBW.js} +3 -3
  113. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js → NewGlobalMerchantPage-D_f7z47T-BushshXt.js} +35 -35
  114. package/dist/assets/{NoDataChart-CgT19fV7-DcCaLcsZ.js → NoDataChart-CrKeqWSr-4ekDnDn1.js} +4 -4
  115. package/dist/assets/NoDataTable-4vPXmPYF-B2XN4oW_.js +8 -0
  116. package/dist/assets/{NotFoundPage-CP2i3FTm-zCn5IOVY.js → NotFoundPage-BLWPU1wU-DvXGp0oy.js} +3 -3
  117. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js → NotificationSettingsPage-CDiDLX3A-n_uE9rCj.js} +23 -23
  118. package/dist/assets/NotificationsListConfig-B5pDa4cJ-BR4-nfaA.js +1 -0
  119. package/dist/assets/NotificationsPage-Ccl7Dny1-EW2nfZLI.js +685 -0
  120. package/dist/assets/OpExByVendorPage-spd-nKV4-i9MSwJXR.js +100 -0
  121. package/dist/assets/{OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js → OverlayContainerPage-BG9y5C0t-CMjvkc2h.js} +1 -1
  122. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DcZ-ZrV7.js +123 -0
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js} +16 -16
  124. package/dist/assets/PeoplePage-b5_I0qOw-B2fq5ot3.js +727 -0
  125. package/dist/assets/{Preview-P62UcEJK.js → Preview-COnCxLvp.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-7R3cvGiS-Bu_PFFN9.js → ProductsCarousel-C3M0ocdF-wqRbMSDI.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-DdCMZIc7-DR_4jktz.js → PromoBaseCards-BOGJI2ws--eO42JRX.js} +2 -2
  128. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js → QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js} +7 -7
  129. package/dist/assets/QBOSetupSection-DjnN9dgv-CJUK3Jp5.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-B3fuWRBp.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js → ReimbursementApprovalRulesPage-BsCTIqUJ-DFIBXG2A.js} +17 -17
  132. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-D7JOSI03.js +314 -0
  133. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-A2nuc-1r.js +84 -0
  134. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js → ReimbursementSetUpPage-RETPkEQd-CKs-VBpH.js} +8 -8
  135. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BVo2hc1R.js +1 -0
  136. package/dist/assets/{ReloadCard-DKGn1uxF-DmSJJ42p.js → ReloadCard-Bdoo0XiI-D4akwdvc.js} +6 -6
  137. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js +151 -0
  138. package/dist/assets/ReportsPage-BOTHMLWh-jv_O0Yek.js +269 -0
  139. package/dist/assets/{RevenueChart-SvdhwBcE-BkckN20x.js → RevenueChart-DvyZ3aO7-C6C2HRpr.js} +18 -18
  140. package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js → ReviewDetailsPage-BIMg1n2e-Ih4y_jnc.js} +26 -26
  141. package/dist/assets/{ReviewOverlay-BoM41t8W-3p-Qz-jJ.js → ReviewOverlay-CxwoiOLC-mlyTzHF7.js} +10 -10
  142. package/dist/assets/{RoleWithToolTip-C8x5yXaK-DMsCF0JH.js → RoleWithToolTip-Ct3_VuDM-DPE6FK82.js} +4 -4
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-ZdtyO7K8.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CMywSb8w.js +37 -0
  145. package/dist/assets/ScheduleSequenceTable-R3-PsXES-CJvXYjeZ.js +326 -0
  146. package/dist/assets/{ScreenRoutes-EnKgc_BI.js → ScreenRoutes-D5p_xk-S.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-sfIB1h4i-DtGgsFok.js → SetUpAccountSection-CctbMmoK-CuWHUORG.js} +14 -14
  148. package/dist/assets/SignIn-CmgmnRm4-CODAfAgX.js +491 -0
  149. package/dist/assets/SignInScreen-DzQr_yQg.js +1 -0
  150. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BFFGha36.js +134 -0
  151. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-B4ll_8b8.js +754 -0
  152. package/dist/assets/{SpendManagementSection-dT-N4bSQ-C4Kh22QW.js → SpendManagementSection-CIz4nE_w-Cd92E473.js} +20 -20
  153. package/dist/assets/{StatementItem-g5tfNBjV-BibsnlRn.js → StatementItem-vVtoBN2w-BlzDOZcF.js} +4 -4
  154. package/dist/assets/StatementsPage-As5WOnMR-CoYZUSlH.js +58 -0
  155. package/dist/assets/{StatusSwitcher-CaoFw0cf-zIzs68OS.js → StatusSwitcher-Bv-ozN6U-BKoiK-si.js} +5 -5
  156. package/dist/assets/SubTabSwitcher-D7QeM6nb-BmZk-zBb.js +58 -0
  157. package/dist/assets/SummaryCard-C2qoTsAY-4dgnd5I6.js +1 -0
  158. package/dist/assets/TaskManagementPage-BJwp32Ph-BXxEB9ws.js +508 -0
  159. package/dist/assets/TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js +64 -0
  160. package/dist/assets/TimeframeSwitcher-DA99HdHt-DUsdK6ru.js +31 -0
  161. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js +53 -0
  162. package/dist/assets/{TopExCard-BUjnGDUB-Btojk3ah.js → TopExCard-Z1WabZ8c-_3_PDA2G.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-CNDkfc3u-B6N4DKA1.js → TopExDetailPage-CzHG4f9E-BrWfJk_t.js} +14 -14
  164. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js → TransactionActivityLogPage-CGKnjNfU-DuJzBBcn.js} +20 -20
  165. package/dist/assets/TransactionDetailPage-1-mLOWSz-D2-6FnXF.js +903 -0
  166. package/dist/assets/TransactionList-BB-xoIGm-Cs0g42iq.js +153 -0
  167. package/dist/assets/{TransactionListBig-Bx_Rm9ho-DHw-0VWf.js → TransactionListBig-C5Sf5Xh--DoQGlOXx.js} +21 -21
  168. package/dist/assets/TransactionListPage-Cj7h1Ros-0xwtgWrr.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js → TransactionVendorDetailPage-SsrSOk3O-DnCs2Tcb.js} +5 -5
  170. package/dist/assets/{TransferDrawerPage-BayVa6po-TPzD0GjA.js → TransferDrawerPage-BvKZ7vHF-U4D4BHco.js} +45 -45
  171. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DaWJ0Z8W.js +725 -0
  172. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B0iczXcI.js → TreasuryPromoPage-CtTFvSQW-ByP104Sz.js} +131 -131
  173. package/dist/assets/TreasuryStatementsPage-Catz8shX-DqD0V1HF.js +58 -0
  174. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-_SN1L0BB.js +58 -0
  175. package/dist/assets/{TrendChart-JTOG0a7B-Bjcs41DB.js → TrendChart-Bnp4Pcdf-BY18h9jb.js} +4 -4
  176. package/dist/assets/TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js +116 -0
  177. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js → UncategorizedAccountsMappingPage-DbyY-dYB-BC4-aDe6.js} +9 -9
  178. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js → UnitIntegrationPage-CTzme1te-BpgcZRO2.js} +10 -10
  179. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-Ckt7F9AB.js +38 -0
  180. package/dist/assets/Vendor2FAPopup-D0zYKkIv-BA93A3FY.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DswVRSnB.js +1 -0
  182. package/dist/assets/VendorDetailPage-Br9wIOnI-CiQfXNfs.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DgAKk1Hg.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js → VendorFiling1099EditablePage-himC7iD3-DN6_aqMw.js} +13 -13
  185. package/dist/assets/VendorFirstReviewPage-BbknTCBD-DRyalqYz.js +730 -0
  186. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js → VendorInternationalWireDetailsPage-CS595Xgc-DyYlqKnN.js} +22 -22
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B6FT2wH7.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js → VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js} +4 -4
  189. package/dist/assets/{VerifyDevice-B6B_nk3v-FhJvFMiC.js → VerifyDevice-Dvf0JsNN-BhIFtpoZ.js} +12 -12
  190. package/dist/assets/{VideoPlayer-BRAgZThr-CdNKLBM0.js → VideoPlayer-VAzOGCDL-dg_i7rhP.js} +2 -2
  191. package/dist/assets/{VideoPopup-C_SkBI9U-BmOF4TeE.js → VideoPopup-BqvZ-XIh-j79cwOsZ.js} +5 -5
  192. package/dist/assets/{WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js → WarningsDrawerPage-DeNonoNp-B2ZGl3aK.js} +8 -8
  193. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BH5nfFTv.js +300 -0
  194. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Bq_tNys0.js +443 -0
  195. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-H4nUIkPW.js +33 -0
  196. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js → ZeniAccountPromoPage-JrcedQYB-C192Vo1k.js} +33 -33
  197. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-BOKcMzjm.js +36 -0
  198. package/dist/assets/{ZeniCopyright-BlLvlGZV-FpsBBUu8.js → ZeniCopyright-DglqrTpl-DiOzf86L.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js → ZeniTransferAmountSlider-BcaZZuAw-DwXtlH-I.js} +7 -7
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-CiWKe3pw.js → add-to-wallet-DgdBD8_G-B2d4-MGl.js} +1 -1
  201. package/dist/assets/{analytics-Dmyyfi9O.js → analytics-BdPgTZIq.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CYr5V2MV-D-hMRpr3.js → analyticsHelper-CAYdbjhS-B2pke1yA.js} +1 -1
  203. package/dist/assets/{analyticsHelper-fNnGbi4W.js → analyticsHelper-CqcfNRvx.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-odM3_tAX.js → arrow-south-east-round-PEovUgvH-CQDBPmsC.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-YYpYw6PW.js → auto-transfer-rule-mbafm5D3-D3lLCn3Q.js} +1 -1
  206. package/dist/assets/chartTypes-CD3vrBsI-B60Spgf7.js +1 -0
  207. package/dist/assets/commonDimensions-Oz1tdAcx-DwbBmI-Z.js +1 -0
  208. package/dist/assets/{commonTypes-DsWS6Ccc-cGR0O9Jz.js → commonTypes-5tEXwrX4-DCDhKssr.js} +1 -1
  209. package/dist/assets/{constants-CL2zzW6O.js → constants-CBenFj2i.js} +1 -1
  210. package/dist/assets/{core-CuilwggZ.js → core--0SFXVg4.js} +2 -2
  211. package/dist/assets/{dash.all.min-BQNcgKZW.js → dash.all.min-CMzLy0h6.js} +1 -1
  212. package/dist/assets/downloadPdf-Dsuxeias-COKJ0VCh.js +1 -0
  213. package/dist/assets/{empty-Br0K9kol.js → empty-2Ztl6Ian.js} +1 -1
  214. package/dist/assets/{empty-CEDPaJOT.js → empty-B-BVwcCU.js} +1 -1
  215. package/dist/assets/{epic-C2KVDXXW.js → epic-BDwupNLN.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Ka06cghW.js → gift-box-Cmt9OgIZ-gUV3c8cx.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-6m6GIu0k.js → graphic-no-data-l-DU4J8fDt-DzC5dTIM.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js → graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Sg0ioDB8.js → handshake-BPg58FML-C_pCUoyC.js} +1 -1
  220. package/dist/assets/{helper-BMiMbXMj-RteEmtlv.js → helper-Ckm10Uko-C9m0OsqI.js} +5 -5
  221. package/dist/assets/{index-ChqRS7At.js → index-C2ktPgcm.js} +1 -1
  222. package/dist/assets/{index-Cwdqq_eD.js → index-CKQ5JKXb.js} +1 -1
  223. package/dist/assets/{index-BdeZI4Mn.js → index-CUC_7JNL.js} +1 -1
  224. package/dist/assets/{index-D3ZUUMU-.js → index-CdtFtg4i.js} +1 -1
  225. package/dist/assets/{index-DyBrELD_.js → index-DMG72kst.js} +4818 -4804
  226. package/dist/assets/{index-HP0uFTr8.js → index-DRaGNS6O.js} +1 -1
  227. package/dist/assets/{index-Dvsx2dcd.js → index-Dg4q7vvv.js} +1 -1
  228. package/dist/assets/{lexical-BV3aGUzT.js → lexical-RPR5fwFX.js} +1 -1
  229. package/dist/assets/{liveblocks-VMOu1QaQ.js → liveblocks-BPjePRRW.js} +1 -1
  230. package/dist/assets/{lottie-DcZDexOB.js → lottie-x1a70pv5.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-C8lourC4.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js} +1 -1
  237. package/dist/assets/{mui-D3hEqMLm.js → mui-PTGaeBGX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D-m40EVy.js → page-detail-CWX5S47F-3PBwxH1C.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CGfB88iV.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-eAbgY-Yj.js → radio-default-CiSgisfh-D9daKtZ-.js} +1 -1
  241. package/dist/assets/{react-CTpij_Bh.js → react-BEXFTqCN.js} +1 -1
  242. package/dist/assets/{react-Y6e5YCHa.js → react-CPjlVQm7.js} +1 -1
  243. package/dist/assets/{react-CqeqecYS.js → react-Cc4bx4sY.js} +1 -1
  244. package/dist/assets/{react-CEbGSPpW.js → react-DBNQWrgN.js} +1 -1
  245. package/dist/assets/{react-DI8vxsp0.js → react-De98TyJc.js} +1 -1
  246. package/dist/assets/{react-Drm5UQxC.js → react-DrO9dj3C.js} +3 -3
  247. package/dist/assets/{react-CMq4HMxB.js → react-PvV8gmtB.js} +1 -1
  248. package/dist/assets/{react-C1gXLOT-.js → react-vwiCHqgl.js} +2 -2
  249. package/dist/assets/{recharts-Bs6FfRQK.js → recharts-qzs3V2Ze.js} +19 -19
  250. package/dist/assets/{sentry-BV4jcjA3.js → sentry-DA3cfNtR.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-FCvOtDWd.js → shield-DOlUxcFf-BOQtgkJq.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js +1 -0
  253. package/dist/assets/{toChartData-C6s-eBzE-DCXAm4rQ.js → toChartData-DUL6vnzJ-BfCuWWLN.js} +1 -1
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js +1 -0
  255. package/dist/assets/{uploadAttachment-BlLqRIXe-B5ch9itw.js → uploadAttachment-Ck4wivBR-Bh6Y3xK9.js} +32 -32
  256. package/dist/assets/uploadReceipts-CIgkuVpu-BMgQocne.js +1 -0
  257. package/dist/assets/{url-MntlJyPp.js → url-D0R1uffE.js} +1 -1
  258. package/dist/assets/{url-BkyzSFLl.js → url-DNLur0Mx.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-Dwfp0CDv.js → useLongPress-GCK2COYQ-Dvxz8hJC.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Ccl_yhhe.js → usp-line-BBd1wKwW-Bxz4MR0G.js} +1 -1
  261. package/dist/assets/{utils-AGDkxX5e.js → utils-ZYxK6Sqs.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-wSe7lDM8.js → zeni-epic-state-qJAZZeEy.js} +6 -6
  263. package/dist/index.html +1 -1
  264. package/package.json +4 -4
  265. package/dist/assets/ACHDetailsPage-fOu5grd7-_I6UtkXF.js +0 -21
  266. package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js +0 -59
  268. package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +0 -6
  270. package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +0 -46
  271. package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +0 -92
  272. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +0 -47
  273. package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +0 -46
  274. package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +0 -266
  275. package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +0 -84
  276. package/dist/assets/BillingSettingsPage-CQ117tT9-3H-s6tQ2.js +0 -44
  277. package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +0 -222
  278. package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +0 -2844
  279. package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +0 -1
  280. package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +0 -139
  281. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +0 -1
  282. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +0 -66
  283. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +0 -12
  284. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +0 -76
  285. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +0 -66
  286. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +0 -21
  287. package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +0 -439
  288. package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +0 -55
  289. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +0 -865
  290. package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +0 -18
  291. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +0 -1703
  292. package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +0 -291
  293. package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +0 -27
  294. package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +0 -65
  295. package/dist/assets/InviteFormPage-E2igwKEh-BCSU2LM1.js +0 -312
  296. package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +0 -12
  297. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +0 -140
  298. package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +0 -45
  299. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +0 -16
  300. package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +0 -41
  301. package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +0 -59
  302. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +0 -1
  303. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +0 -1
  304. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js +0 -1
  305. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +0 -31
  306. package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +0 -21
  307. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +0 -85
  308. package/dist/assets/NoDataTable-CPjJmo4s-rcoXWqQH.js +0 -8
  309. package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +0 -1
  310. package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +0 -685
  311. package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +0 -100
  312. package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +0 -107
  313. package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +0 -675
  314. package/dist/assets/QBOSetupSection-CzBfIVqR-DJuM0C4n.js +0 -79
  315. package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js +0 -32
  316. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +0 -314
  317. package/dist/assets/ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js +0 -84
  318. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +0 -1
  319. package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +0 -150
  320. package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +0 -121
  321. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +0 -37
  322. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +0 -37
  323. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +0 -324
  324. package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +0 -491
  325. package/dist/assets/SignInScreen-COk_kO8l.js +0 -1
  326. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +0 -134
  327. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +0 -754
  328. package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +0 -58
  329. package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +0 -58
  330. package/dist/assets/SummaryCard-B9wqNSwM-D3nnkdoj.js +0 -1
  331. package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +0 -508
  332. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +0 -64
  333. package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +0 -31
  334. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +0 -31
  335. package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +0 -903
  336. package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +0 -153
  337. package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +0 -35
  338. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +0 -708
  339. package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +0 -58
  340. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +0 -58
  341. package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +0 -116
  342. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +0 -38
  343. package/dist/assets/Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js +0 -1
  344. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +0 -1
  345. package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +0 -257
  346. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +0 -1
  347. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +0 -730
  348. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +0 -1
  349. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +0 -300
  350. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +0 -441
  351. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +0 -14
  352. package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +0 -36
  353. package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +0 -1
  354. package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +0 -1
  355. package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +0 -38
  356. package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +0 -1
  357. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +0 -1
  358. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +0 -1
  359. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +0 -1
  360. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +0 -1
  361. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +0 -4
  362. package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +0 -1
  363. package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +0 -1
@@ -1,47 +0,0 @@
1
- import{d as _,J as G,ax as V,O as p,aX as y,V as t,bE as E,T as J,fy as v,dI as S,y as c,o as k,an as O,b as j,u as o}from"./index-DyBrELD_.js";import{n as l}from"./mui-D3hEqMLm.js";import{Gt as N,Gu as X}from"./zeni-epic-state-wSe7lDM8.js";import"./sentry-BV4jcjA3.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b6e576c3-493f-44ca-92e7-df88ff6975cb",e._sentryDebugIdIdentifier="sentry-dbid-b6e576c3-493f-44ca-92e7-df88ff6975cb")}catch{}})();const n={sectionRowGap:new c(o[4],o[8],o[8]),lastSectionPaddingBottom:new c(o[7],o[10],o[10]),iconWidthHeight:new c(20,o[4]),subtitleSectionWidth:new c(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:d,onBackClick:R,onClickMenuIcon:T,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:P})=>{const r=_(),i=G(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,b=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",x=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=N(d,u.loggedInUserRoleMap),U=X(d,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:T}),t.jsx(Y,{windowSize:i,children:L?t.jsx(Z,{children:t.jsx(J,{size:"ExtraLarge",start:!0})}):t.jsxs(F,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(q,{windowSize:i,children:[H===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:b.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:I,status:m.length>0?z:void 0}),U===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:b.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:P,status:f.length>0?A:void 0})]})]})})]})},F=l.div`
2
- width: 100%;
3
- margin: auto;
4
- display: flex;
5
- justify-content: flex-start;
6
- height: 100%;
7
- overflow-y: auto;
8
- flex-direction: column;
9
- align-items: center;
10
- `,Q=l.div`
11
- display: flex;
12
- min-height: 100%;
13
- flex-direction: column;
14
- row-gap: ${k.sp3};
15
- width: 100%;
16
- background-color: ${e=>e.theme.colors.grey4};
17
- `,Y=l.div`
18
- display: flex;
19
- height: 100%;
20
- overflow-y: auto;
21
- justify-content: center;
22
- `,Z=l.div`
23
- display: flex;
24
- width: 100%;
25
- height: calc(100vh - 110px);
26
- flex-direction: row;
27
- justify-content: center;
28
- align-items: center;
29
- background-color: ${e=>e.theme.colors.grey4};
30
- `,q=l.div`
31
- display: flex;
32
- flex-direction: column;
33
- row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
34
- `,K=l(O)`
35
- display: flex;
36
- justify-content: center;
37
- align-items: center;
38
- width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
39
- margin-bottom: ${k.sp5};
40
- `,ee=l.div`
41
- display: flex;
42
- align-items: center;
43
-
44
- color: ${e=>e.theme.colors.hero};
45
- font-family: ${j.largeMedium.fontFamily};
46
- ${j.standardRegular.css};
47
- `;export{ue as default};
@@ -1,46 +0,0 @@
1
- import{d as R,J as B,V as o,bQ as V,ga as H,bD as J,co as K,bE as U,O as _,o as A,aV as q,y as z,bF as Q,ch as X,ci as G,cj as W,u as y}from"./index-DyBrELD_.js";import{a as C}from"./sentry-BV4jcjA3.js";import{n as s}from"./mui-D3hEqMLm.js";import{L as Z,D as ee}from"./EntitySummarySection-LEA5m6mN-BORCaqtF.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="942ce9dc-0d3d-46cd-ba53-f5fa75da32dd",e._sentryDebugIdIdentifier="sentry-dbid-942ce9dc-0d3d-46cd-ba53-f5fa75da32dd")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:M}=_.getLocalizedStrings();function Ie(e){const l=R(),d=B(),{arAgingDetail:t,downloadParams:c,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N,sidePanelIsOpen:T,sidePanelIsFullView:F,panelContent:E}=e,{authParams:S,downloadEndPoint:v,timezone:I}=c,{fetchState:p,invoices:k,arAgingDetailUIState:j,customer:i,totalBalances:O}=t,{sortKey:x,sortOrder:D,downloadState:u}=j,[P,$]=C.useState(!1),L=C.useCallback((g,f)=>{t.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,a,r]);if(C.useEffect(()=>{async function g(){const f={companyName:c.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(v,S,f),w("Completed"),t.customer!=null&&a.trackApAgingDetailReportDownload(x,D,r.format(M.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}P&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[S,v,c.companyName,u,P,r,x,D,I,w,i?.id,t.customer,a]),p==="Error")return o.jsxs(se,{children:[o.jsx(le,{onClick:n,children:o.jsx(V,{})}),o.jsx(de,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(H,{fetchState:p});const Y=o.jsx(Q,{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 $(!0)}}}});return o.jsx(J,{isOpen:T??!1,isFullView:F??!1,panelContent:E,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(U,{title:oe.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ee,{totalBalances:O,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(ce,{children:o.jsx(ge,{windowSize:d,children:o.jsx(me,{windowSize:d,children:k.length===0||i==null?o.jsx(K,{message:re.noDataText}):o.jsx(ie,{windowSize:d,children:o.jsx(Z,{uiState:j,invoices:k,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:L,onTransactionClick:N})})})})})})}async function ae(e,l,d){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(d)))}`,c=_.getLocalizedStrings(),r=c.reports.aging.arAging.arAging,a=c.download;try{const n=await X({urlEndPoint:t,authParams:l,fileType:"excel"});if(n.ok){const h=G(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(n)}`)}}function ne(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ie=s.div`
2
- height: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- max-width: 99.9%;
6
- `,se=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
- `,le=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: ${A.sp5};
21
- color: ${e=>e.theme.colors.grey1};
22
- }
23
- &:hover {
24
- & svg {
25
- color: ${e=>e.theme.colors.primary};
26
- }
27
- }
28
- `,de=s(q)`
29
- margin-top: ${A.sp3};
30
- color: ${e=>e.theme.colors.hero};
31
- `,ce=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
- `,ge=s.div`
38
- display: block;
39
- background-color: ${e=>e.theme.colors.grey4};
40
- height: calc(100vh - 178px);
41
- margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
- `,me=s.div`
43
- margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
- height: 100%;
46
- `;export{Ie as default,ne as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,266 +0,0 @@
1
- import{J as Zn,ax as Un,d as Kn,gl as Vn,gm as Hn,gn as Xn,go as qn,cf as Gn,aS as Yn,y,V as t,fc as ct,fd as Qn,o as a,fe as Jn,ff as ea,fg as ta,aP as Se,fh as na,aR as b,bE as pt,bq as mt,dx as ut,cr as yt,cs as ht,ct as bt,gp as aa,gq as ia,gr as la,gs as oa,fm as j,gt as $,fo as A,fp as k,fl as ra,b as gt,p as oe,fn as Ot,fv as sa,fq as da,fr as ca,gu as pa,gv as ma,aT as ua,ap as ft,bV as ve,gw as ya,gx as L,O as ha,u as s,ah as ba,c4 as ga,gy as fa,x as xa,gz as wa,fw as xt,H as Ta,d5 as va,ck as Da,gA as wt,b9 as Ia,bb as ja,a as $a,bX as Et,d6 as Aa,gB as ka,aj as Ft,aw as Sa,b7 as Ca,bv as Pa,gC as Ba,am as Ra}from"./index-DyBrELD_.js";import{a as p}from"./sentry-BV4jcjA3.js";import{n as i}from"./mui-D3hEqMLm.js";import{a as za}from"./liveblocks-VMOu1QaQ.js";import{bO as Ma,bL as Na,bP as La,GC as Oa,bN as Ea,bH as Fa,bh as _a}from"./zeni-epic-state-wSe7lDM8.js";import{o as Wa,t as Za}from"./LowBalancePopup-ScEqPY9J-zI-i6Isi.js";import"./core-CuilwggZ.js";import"./lottie-DcZDexOB.js";import"./recharts-Bs6FfRQK.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="4c549e44-cefb-4f9c-b5ad-8060947cfa26",e._sentryDebugIdIdentifier="sentry-dbid-4c549e44-cefb-4f9c-b5ad-8060947cfa26")}catch{}})();const Ua=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 Ta("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:Va,common:{noText:C,strings:{empty:c},currency:Tt,via:Ha,more:Xa,edit:qa},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:It,title:{comments:Ga}}}}=ha.getLocalizedStrings(),Ie=Va.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Vt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Ht,redirectToEditableBillScreen:Xt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:qt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Gt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Qt,onBackClick:Oe,updateEditRealTimeApproverClicked:Jt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Zn(),o=Un(),Ee=Kn(),[an,V]=p.useState(!1),[Fe,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[We,Q]=p.useState(!1),h=e.transactionDetails?.id,on=Vt?Vn:Hn,{requestToOpenThread:ue,setRequestToOpenThread:J,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&J(K)},[K,J]);const[rn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:X,isLoading:P}=Xn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:X.filter(r=>r.resolved===!1&&!r.id.includes(qn)),[X,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),H(!1)},[ee,H]);p.useEffect(()=>{ue?.threadId!=null&&X.length>0&&!P&&(ee(ue.threadId),J(null))},[ue,X,P,ee,J]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Gn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ve]=p.useState("approved"),[mn,He]=p.useState(!1),[un,Xe]=p.useState(!1),[qe,Ge]=p.useState(!1),Ye=()=>He(!1),yn=()=>He(!0),Qe=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Qe,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,q=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&q?.code?q:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:q?.code!=null&&(ae?.code=="approved"||q.code==="mark_as_paid")?q:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Je=()=>{e.transactionDetails?.id!=null&&Xt(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),V(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{V(!1),N.primaryButtonText===n.delete?qt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{V(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),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},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=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}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),In=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}`,An=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Ii,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
2
- ${De.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${De.achDetails.accountTypeLabel} ${u}`},le=e.transactionDetails?.billPayInfo!=null?Ma(e.transactionDetails?.billPayInfo):void 0,Sn=le!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Na(La(le?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,tt=e.transactionDetails?.billPayInfo.expectedDepositDate??Sn,nt=ct(d?.paymentType?.method??"").replace("Same Day",""),Cn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Qn,{paymentTypeLabel:nt,onClick:yn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Pn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(ka,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,at=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&at),it=!((w?.code==="scheduled"||w?.code==="pending_approval")&&at),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,we=e.zeniAssist?.isEligibleForRefund===!0,Bn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Rn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,zn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,F=D?.code,Mn=!zn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),G=Oa(e.transactionDetails?.bulkProcessingDetail?.type),E=Ea(e.paymentMethodType?.method),Nn=!G&&(F!=="processing"&&it||F==="processing"&&!B||F==="processing"&&lt||f&&E&&Pe),Ln=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,qe,r)},rt=()=>{Xe(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Ge(!0),rt()},En=()=>{Qt(),Xe(!1),qe&&Ge(!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]),_=Ht&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Jn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{Ve("approved"),We===!0&&Q(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Ne({billId:e.transactionDetails?.id??"",type:"approved"})},_n=()=>{Ve("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),me(!0)},dt=p.useRef(null);return t.jsxs(pi,{windowSize:l,ref:dt,children:[t.jsx(ea,{anchor:"right",open:mn,onClose:Ye,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(Ie)??"",paymentType:nt,amount:Se("0,0.[00]",ge),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ye})}),t.jsxs(hi,{ref:pn.current,windowSize:l,children:[t.jsx(ki,{windowSize:l,children:l==="small"?t.jsx(pt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Ee.colors.grey4,rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),source:"BillDetailPage"}):t.jsx(pt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),enableTitleOnScroll:!0,scrollableContent:dt,source:"BillDetailPage"})}),t.jsxs(bi,{windowSize:l,children:[We?t.jsx(Wa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:st,onCancelClick:()=>{Q(!1),Je()},onClickAway:()=>{Q(!1)}}):null,un?t.jsx(Za,{onCancel:En,onProceedForMarkAsPaid:Ln,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,an||de?t.jsx(yt,{titleComponent:t.jsx(bt,{children:N.title}),descriptionComponent:t.jsx(ht,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:de?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:wn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:de?Qa(l,e):null}):null,ln?t.jsx(yt,{titleComponent:t.jsx(bt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(ht,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Tn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(xi,{windowSize:l,children:[he,e.isRecurring?t.jsx(ke,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Ce.tabsById.overdue?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ti(G,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Be,isBillPaid:ye,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Le,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs($e,{children:[t.jsx(Ae,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx(j,{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($,{label:{label:n.invoiceNumber,width:I},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.invoiceDate,width:I},text:ie.invoiceDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.billDueDate,width:I},text:ie.billDueDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.memo,width:I},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs($e,{children:[t.jsx(gi,{windowSize:l,children:t.jsx(Ae,{children:n.lineItemsTitle})}),be.length>0?be.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Wn=>Wn.id===r.lineId)?.recipientAmount;return t.jsxs(mi,{children:[be.length>1?t.jsx(ui,{windowSize:l,children:t.jsx(yi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx(j,{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($,{label:{label:n.amount,width:I},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.billable,width:I},text:r.billable!=null?In(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(wi,{windowSize:l,children:[t.jsx(Ti,{children:n.total}),t.jsx(vi,{children:ge!=null?t.jsx(ra,{amount:ge,integerStyles:gt.h6Medium.cssObject,decimalStyles:gt.standardMedium.cssObject}):C})]}),t.jsxs($e,{children:[t.jsx(Ae,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[E?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{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($,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?Ot(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:oe.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?_t.addMoney:_})}),t.jsx(z,{})]}),t.jsx(j,{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($,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Fa)&&Ut&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ai,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:E&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),E?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:An,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:kn(),additionalInfoLabel:t.jsx(ni,{children:Cn})}),Pn()]})})]}),E||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{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($,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,E,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(l,e.isRecurring,E,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(pa,{onAttachmentClick:Le,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??Tt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:Dn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Gt,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:Wt,signedInUserId:re?.userId,showRealTimeApproval:Zt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Jt,onSaveRealTimeApprovals:en},historicActivities:e.billHistory.activities}),t.jsx(Di,{})]}),e.transactionDetails?.vendor!=null&&!ye&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||f,showCancel:!U&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Ja(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?Q(!0):st()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ii,{children:t.jsxs(ci,{windowSize:l,children:[!G&&Fe?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[F!=="processing"&&it?t.jsx(W,{onClick:bn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,F==="processing"&&!B?t.jsx(W,{onClick:gn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,F==="processing"&&lt?t.jsx(W,{onClick:fn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&E&&Pe?t.jsx(W,{onClick:On,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,_e?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,we?t.jsx(W,{onClick:xn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(di,{windowSize:l,children:[Rn===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Te?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:Te,"data-testid":b("other-actions-icon-container"),children:Te?t.jsx(vn,{}):t.jsx(oi,{})})}):null,!G&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(si,{onClick:Je,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!G&&Mn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Xa,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(li,{onClick:()=>se(!Fe)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(za,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Ga,threads:X,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:It.resolveComment,threadUnResolve:It.unResolveComment},threadMetadata:Fn,onThreadClick:sn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Ee.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Ya=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:Ce.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(_a(),"date")===!0?{value:Ce.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}},Qa=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ai,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.accountNumber}),t.jsx(Mt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.amount}),t.jsx(Mt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Ja=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,ei=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(re=>re.value===g)?.label;return`${f} ${Ha} ${Z}`},ti=(e,g,f)=>{if(e)return t.jsx(wt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:vt.duplicateWarning.title,description:vt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(wt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${_t.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ni=i.div``,ai=i.div``,ii=i.div`
3
- display: flex;
4
- justify-content: flex-end;
5
- `,li=i(Ba)`
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
- `,oi=i(Ua)`
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
- `,ri=i(Pa)`
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
- `,si=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
- `,di=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
- `,ci=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
- `,At=i(ga)`
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
- `,kt=i.div`
94
- margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
- display: flex;
96
- align-items: center;
97
- `,St=i(xa)`
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
- `,Ct=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
- `,Pt=i.div`
112
- float: right;
113
- width: ${a.sp4};
114
- height: ${a.sp4};
115
- display: flex;
116
- `,pi=i.div`
117
- height: 100%;
118
- overflow: scroll;
119
- `,je=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
- `,$e=i.div`
128
- display: flex;
129
- flex-direction: column;
130
- padding-top: ${a.sp3};
131
- `,mi=i.div``,Ae=i(Ia)`
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
- `,ui=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
- `,yi=i($a)`
147
- color: ${e=>e.theme.colors.champion};
148
- `,hi=i.div`
149
- display: flex;
150
- flex-direction: column;
151
- `,bi=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
- `,gi=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
- `,fi=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
- `,xi=i(va)`
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
- `,wi=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
- `,Ti=i(Et)`
191
- display: flex;
192
- width: 176px;
193
- color: ${e=>e.theme.colors.primary};
194
- `,vi=i(Et)`
195
- display: flex;
196
- width: calc(100% - 176px);
197
- justify-content: flex-end;
198
- color: ${e=>e.theme.colors.primary};
199
- `,Bt=i(Da)`
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
- `,Di=i.div`
209
- display: flex;
210
- flex-direction: column;
211
- height: ${a.sp11};
212
- `,Ii=i(ba)`
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
- `,ke=i(wa)`
223
- margin-left: ${a.sp2};
224
- color: ${e=>e.theme.colors.hero};
225
- `,$i=i.div``,Ai=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
- `,Rt=i.div`
231
- display: flex;
232
- justify-content: space-between;
233
- width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
234
- `,zt=i(Ft)`
235
- text-align: left;
236
- color: ${e=>e.theme.colors.grey1};
237
- `,Mt=i(Ra)`
238
- justify-content: end;
239
- display: flex;
240
- flex: 1;
241
- `,Nt=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
- `,Lt=i(fa)`
253
- display: flex;
254
- width: ${a.sp4};
255
- height: ${a.sp4};
256
- align-items: center;
257
- justify-content: center;
258
- `,ki=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{_i as default};
@@ -1,84 +0,0 @@
1
- import{ax as q,J as j,aS as Y,V as e,fx as ee,bE as ie,i as B,aR as C,af as x,O as I,o as s,ar as se,R as le,d as M,aV as U,an as oe,y as re,p as b,cG as te,aW as ae,bc as ne,u as de}from"./index-DyBrELD_.js";import{a as g}from"./sentry-BV4jcjA3.js";import{n as l}from"./mui-D3hEqMLm.js";import{Gr as ce,bS as pe,Gs as xe}from"./zeni-epic-state-wSe7lDM8.js";import{C as me}from"./VideoPopup-C_SkBI9U-BmOF4TeE.js";import{M as $}from"./usp-line-BBd1wKwW-Ccl_yhhe.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./VideoPlayer-BRAgZThr-CdNKLBM0.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="1057b08a-ecf1-4df1-9b77-8b6abdb92fca",i._sentryDebugIdIdentifier="sentry-dbid-1057b08a-ecf1-4df1-9b77-8b6abdb92fca")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
2
- display: flex;
3
- flex: 1 1 auto;
4
- min-height: 100%;
5
- flex-direction: column;
6
- background-color: ${i=>i.theme.colors.grey4};
7
- `,ue=l.div`
8
- padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
- text-align: center;
10
- `,we=l(le)`
11
- max-width: 600px;
12
- margin: auto;
13
- padding: ${s.sp7} ${s.sp0};
14
- color: ${i=>i.theme.colors.primary};
15
- `,ye=l(se)`
16
- max-width: 600px;
17
- margin: auto;
18
- padding: ${s.sp5} ${s.sp0};
19
- color: ${i=>i.theme.colors.primary};
20
- `,L=l.div`
21
- display: flex;
22
- flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
- align-items: center;
24
- justify-content: center;
25
- margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,fe=l.div``,m=l.img``,R=l.div`
27
- width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
- display: flex;
29
- flex-direction: column;
30
- `,V=l.div`
31
- width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
- overflow: hidden;
33
- max-width: 712px;
34
- display: flex;
35
- align-content: center;
36
- justify-content: center;
37
- align-items: center;
38
- `,E=l.div`
39
- margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
- margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
- background: ${i=>i.theme.colors.grey3};
42
- border-radius: 12px;
43
- border: ${i=>`1px solid ${i.theme.colors.grey3}`};
44
- padding: 15px;
45
- `,n=l.div`
46
- border-radius: ${s.sp12};
47
- border: ${i=>`1px solid ${i.theme.colors.grey2}`};
48
- padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
49
- background: ${i=>i.theme.colors.grey5};
50
- position: relative;
51
- margin-bottom: ${s.sp3};
52
- display: flex;
53
- align-items: center;
54
- text-align: start;
55
- box-sizing: border-box;
56
- `,u=l(ne)`
57
- color: ${i=>i.theme.colors.champion};
58
- `,w=l(ae)`
59
- color: ${i=>i.theme.colors.champion};
60
- `,y=l(U)`
61
- color: ${i=>i.theme.colors.champion};
62
- `,f=l(te)`
63
- color: ${i=>i.theme.colors.champion};
64
- `,d=l.div``,c=l.div`
65
- padding-left: ${s.sp3};
66
- `,G=l($)`
67
- color: ${b.graphColor16Dark};
68
- `,O=l($)`
69
- color: ${b.graphColor09Dark};
70
- `,Z=l($)`
71
- color: ${b.graphColor28Dark};
72
- `,je=l(oe)`
73
- margin: ${s.sp3} auto;
74
- max-width: 719px;
75
- color: ${i=>i.theme.colors.hero};
76
- `,be=l.div`
77
- display: flex;
78
- flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
79
- align-items: center;
80
- justify-content: center;
81
- `,$e=l(U)`
82
- margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
83
- color: ${i=>i.theme.colors.grey1};
84
- `,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:_,onButtonClick:H,onBackClick:J,onSetupBillPaySuccess:z,onClickMenuIcon:W})=>{const h=q(),a=j(),{billPayTermsDetails:p}=i,[F,K]=g.useState(!1),[N,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const Q=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[F===!0?e.jsx(me,{onCancelClick:()=>{K(!1)},videoUrl:_}):null,N===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:J,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:W,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(fe,{children:[e.jsxs(be,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:Q,"data-testid":C("billpay-schedule-demo-button")}),e.jsx($e,{windowSize:a,children:r.orText}),e.jsx(B,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:H,"data-testid":C("billpay-setup-button")})]}),e.jsxs(je,{children:[r.terms.terms1,e.jsx(x,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(x,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(x,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(x,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=j();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(Z,{})}),e.jsxs(c,{children:[e.jsx(f,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(f,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=j();return e.jsxs(L,{windowSize:o,children:[e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(Z,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ee as default};
@@ -1,44 +0,0 @@
1
- import{d as we,J as be,aa as Pe,cH as Ce,aX as k,O as xe,V as t,y as C,bE as Ie,T as Ae,ad as ve,by as je,cI as ke,aT as Te,o as s,hP as $e,f1 as Ve,f2 as De,u as x,am as Ee,gY as Be,p as Oe,H as ze}from"./index-DyBrELD_.js";import{a as H}from"./sentry-BV4jcjA3.js";import{n as r}from"./mui-D3hEqMLm.js";import{M as Le,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js";import{F as _e}from"./SetUpAccountSection-sfIB1h4i-DtGgsFok.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./commonTypes-DsWS6Ccc-cGR0O9Jz.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]="6be29fcc-1039-4240-88d8-6fc5090e90b4",e._sentryDebugIdIdentifier="sentry-dbid-6be29fcc-1039-4240-88d8-6fc5090e90b4")}catch{}})();const p={titleWidth:new C(343,580,726,826),setupDetailsRowGap:new C(12,x[5],x[5]),iconWidthHeight:new C(20,x[4]),subTitlePaddingTop:new C(12,x[3])},He={title:new ze("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:F,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:Q,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Pe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:J(i),values:J(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=Ve(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Ce(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,O=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,P=Le(S.header,S.titleText,S.protectedCardNo,h);let M;O&&(M={header:P.header,title:P.title,subtitle:P.subtitle,status:P.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:R(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(z).name}),color:new k(E)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(Je,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Fe,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx(Te,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:F.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},J=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:$e(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
2
- display: flex;
3
- justify-content: space-between;
4
- height: 100%;
5
- overflow-y: auto;
6
- flex-direction: column;
7
- align-items: center;
8
- row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,We=r.div`
10
- display: flex;
11
- min-height: 100%;
12
- flex-direction: column;
13
- width: 100%;
14
- background-color: ${e=>e.theme.colors.grey4};
15
- `,Je=r(Ee)`
16
- color: ${e=>e.theme.colors.hero};
17
- display: flex;
18
- justify-content: center;
19
- width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
- padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
- padding-bottom: ${s.sp3};
22
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
- `,Ue=r.div`
24
- display: flex;
25
- width: 100%;
26
- height: calc(100vh - 110px);
27
- flex-direction: row;
28
- justify-content: center;
29
- align-items: center;
30
- background-color: ${e=>e.theme.colors.grey4};
31
- `,Fe=r.div`
32
- display: flex;
33
- flex-direction: column;
34
- `,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(qe,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
- margin-top: ${s.sp3};
36
- margin-bottom: ${s.sp4};
37
- `,qe=r.div`
38
- ${e=>`${He.title.style(e.windowSize)}`};
39
- margin-bottom: ${s.sp3};
40
- margin-top: ${s.sp4};
41
- color: ${e=>e.isError===!0?Oe.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
- `,Ge=r.div`
43
- flex: 1;
44
- `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};