@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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 (346) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js +21 -0
  2. package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
  7. package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
  11. package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
  12. package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
  13. package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
  14. package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
  15. package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
  17. package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
  19. package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
  23. package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
  30. package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
  32. package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
  40. package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
  42. package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
  43. package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
  46. package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
  58. package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
  62. package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
  64. package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
  65. package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
  76. package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
  78. package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
  82. package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
  83. package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
  94. package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
  98. package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
  99. package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
  108. package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
  109. package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
  110. package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
  111. package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
  113. package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
  114. package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
  115. package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
  123. package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
  124. package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
  128. package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
  135. package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
  136. package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
  137. package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
  138. package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
  139. package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
  140. package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
  145. package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
  147. package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
  148. package/dist/assets/SignInScreen-efHROixG.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
  152. package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
  153. package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
  154. package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
  156. package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
  161. package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
  162. package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
  166. package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
  167. package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
  169. package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
  170. package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
  172. package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
  174. package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
  176. package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
  177. package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
  188. package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
  189. package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
  190. package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
  193. package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
  196. package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
  197. package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
  200. package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
  202. package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
  205. package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
  206. package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
  207. package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
  208. package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
  209. package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
  210. package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
  211. package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
  212. package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
  213. package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
  214. package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
  215. package/dist/assets/epic-DzSc1k1-.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
  220. package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
  221. package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
  222. package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
  223. package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
  224. package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
  225. package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
  226. package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
  227. package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
  228. package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
  229. package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
  230. package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
  237. package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
  241. package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
  242. package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
  243. package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
  244. package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
  245. package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
  246. package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
  247. package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
  248. package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
  249. package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
  250. package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
  254. package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
  256. package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
  257. package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
  260. package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
  265. package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
  266. package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
  268. package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
  270. package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
  271. package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
  272. package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
  273. package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
  274. package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
  275. package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
  276. package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
  277. package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
  278. package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
  279. package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
  283. package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
  284. package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
  286. package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
  289. package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
  290. package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
  291. package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
  292. package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
  293. package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
  294. package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
  295. package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
  299. package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
  301. package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
  302. package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
  303. package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
  304. package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
  305. package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
  306. package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
  307. package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
  308. package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
  309. package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
  310. package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
  311. package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
  312. package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
  313. package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
  314. package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
  315. package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
  316. package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
  317. package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
  318. package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
  319. package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
  320. package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
  321. package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
  322. package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
  323. package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
  324. package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
  325. package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
  326. package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
  327. package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
  328. package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
  329. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
  330. package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
  331. package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
  332. package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
  333. package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
  334. package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
  335. package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
  336. package/dist/assets/epic-CJba3GMN.js +0 -2
  337. package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
  338. package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
  339. package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
  340. package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
  341. package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
  342. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
  343. package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
  344. package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
  345. package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
  346. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
@@ -1,4 +1,4 @@
1
- import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as ie,an as ne,d2 as Pe,ck as Ce,u as L,bV as Se,aM as te,cE as G,gZ as de,g2 as R,f$ as Y,g0 as J,g1 as ce,g3 as pe,b1 as me,g_ as Oe,p as ue,d1 as ge,ao as he,ey as Te,af as Re}from"./index-D0RCZvbR.js";import{n as p}from"./mui-CWpKo4a_.js";import{Gu as ze,bg as X}from"./zeni-epic-state-CQm7BABf.js";import{a as q}from"./sentry-D6_R-0PO.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a69d84ff-a4cb-47ce-95b0-be30fa13c75c",e._sentryDebugIdIdentifier="sentry-dbid-a69d84ff-a4cb-47ce-95b0-be30fa13c75c")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=W(),C=se.largeLabelWidth.value(w),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=q.useMemo(()=>te(G.roles),[]),u=X(e.role);return q.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(K,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(K,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(K,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
1
+ import{cL as J,ep as je,J as _,V as l,aR as P,y as T,o as i,bb as re,F as Z,i as ie,am as ne,d1 as Pe,ck as Ce,u as k,bV as Se,aL as te,cD as K,gU as de,g1 as R,f_ as Y,f$ as G,g0 as ce,g2 as pe,b1 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-ByXRm0Fj.js";import{n as p}from"./mui-BtuxyOQU.js";import{FL as De,bg as X}from"./zeni-epic-state-x1SruN8b.js";import{a as V}from"./sentry-BfjekFHA.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="24bb8703-19fd-4dc4-b245-d5ca7def7163",e._sentryDebugIdIdentifier="sentry-dbid-24bb8703-19fd-4dc4-b245-d5ca7def7163")}catch{}})();const B=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=Z.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=J(),z=te(h),$=z.splice(0,1),U=z.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(K.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:B(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:B(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:B(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:B(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:B(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -9,7 +9,7 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
9
9
  .single-select-field__menu {
10
10
  border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
11
11
  }
12
- `,K=p.div`
12
+ `,Q=p.div`
13
13
  display: flex;
14
14
  flex: 1;
15
15
  background-color: ${e=>e.theme.colors.grey3};
@@ -43,7 +43,7 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=W(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(w),[U,...M]=y,u=M.map(d=>d.email).join(","),r=q.useMemo(()=>G.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return q.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!We(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Oe)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(x,v)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(_e,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],k=h.find(O=>O.classId===j.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(E,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(E,{}),N?null:l.jsxs(Ze,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(qe,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},_e=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,We=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
46
+ `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:z}=J(),$=oe.largeLabelWidth.value(w),[U,...M]=y,u=M.map(d=>d.email).join(","),r=V.useMemo(()=>K.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return V.useEffect(()=>{(n||x||v)&&z(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&z(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Oe)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(x,v)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],L=h.find(O=>O.classId===j.userRole.accountingClassIDs[0]),b=[];return L!=null&&b.push(L.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(E,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(E,{}),N?null:l.jsxs(Be,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(Ve,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  background-color: ${e=>e.theme.colors.grey5};
@@ -60,7 +60,7 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
60
60
  background-color: ${e=>e.theme.colors.grey3};
61
61
  min-height: 1px;
62
62
  max-height: 1px;
63
- `,Ze=p(he)`
63
+ `,Be=p(he)`
64
64
  padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
65
65
  background: ${e=>e.theme.colors.grey4};
66
66
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
@@ -71,7 +71,7 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
71
71
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
72
72
  gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
73
73
  opacity: ${e=>e.isDisabled?.32:1};
74
- `,Be=p.a`
74
+ `,Ze=p.a`
75
75
  color: ${e=>e.theme.colors.hero};
76
76
  text-decoration: none;
77
77
  cursor: ${e=>e.isDisabled?"unset":"pointer"};
@@ -89,14 +89,14 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
89
89
  color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
90
90
  }
91
91
  }
92
- `,Ee=(e,t,o,a,s)=>{if(Te(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},qe=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Be,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},Ve=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
92
+ `,Ee=(e,t,o,a,s)=>{if(Te(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(ze,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
- `,_={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:G.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:J(h,y)},productsByUserRole:Y([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:U}=Q(),{append:M,remove:u}=je({name:h,control:t}),r=W(),n=U().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,N,y,v,w,C);setTimeout(()=>M(O,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ye,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,O)=>{const Ie=n.length;let V={};if(y==="zeni_only")V={email:b.email,role:Ge(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Je,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Ke,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:V,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:k})}):null]},O)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Ke=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=W();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=W();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=W();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:_.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:_.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ge=(e,t)=>t?e:e!=null?[e]:[],Ye=p.div`
95
+ `,W={buttonWidth:new T(70,70),marginBottom:new T(12,k[3]),deleteContentMarginLeft:new T(k[0],k[3]),containerPaddingTop:new T(k[0],k[3]),addUserWrapperGap:new T(k[1],k[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:K.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:G(h,y)},productsByUserRole:Y([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),D=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:z,analytics:$})=>{const{getValues:U}=J(),{append:M,remove:u}=je({name:h,control:t}),r=_(),n=U().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,N,y,v,w,C);setTimeout(()=>M(O,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},L=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ye,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,O)=>{const Ie=n.length;let q={};if(y==="zeni_only")q={email:b.email,role:Ke(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>De(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;q={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Ge,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:L})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:D.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:q,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:z,analytics:$,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:L})}):null]},O)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${D.invitePage.add} ${D.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${D.invitePage.user}`})}),h===void 0?l.jsx(Je,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Je=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:D.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[D.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:D.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:D.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ke=(e,t)=>t?e:e!=null?[e]:[],Ye=p.div`
96
96
  display: flex;
97
97
  flex-direction: column;
98
- padding-top: ${e=>_.containerPaddingTop.valuePx(e.windowSize)};
99
- `,Je=p.div`
98
+ padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
99
+ `,Ge=p.div`
100
100
  .delete-icon-wrapper {
101
101
  visibility: hidden;
102
102
  }
@@ -138,10 +138,10 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
138
138
  gap: ${i.sp2};
139
139
  `,il=p.div`
140
140
  display: flex;
141
- margin-left: ${e=>_.deleteContentMarginLeft.valuePx(e.windowSize)};
141
+ margin-left: ${e=>W.deleteContentMarginLeft.valuePx(e.windowSize)};
142
142
  `,ae=p.div`
143
143
  display: flex;
144
- margin-bottom: ${e=>_.marginBottom.valuePx(e.windowSize)};
144
+ margin-bottom: ${e=>W.marginBottom.valuePx(e.windowSize)};
145
145
  `,tl=p(ge)`
146
146
  width: ${i.sp3};
147
147
  height: ${i.sp3};
@@ -162,7 +162,7 @@ import{cM as Q,eq as je,K as W,V as l,ac as P,x as T,o as i,bb as re,b as B,a as
162
162
  justify-content: center;
163
163
  align-items: center;
164
164
  padding: ${i.sp3} ${i.sp4};
165
- gap: ${e=>_.addUserWrapperGap.valuePx(e.windowSize)};
165
+ gap: ${e=>W.addUserWrapperGap.valuePx(e.windowSize)};
166
166
 
167
167
  width: auto;
168
168
  height: ${i.sp8};
@@ -1,4 +1,4 @@
1
- import{y as H,K,b as g,V as o,bQ as J,gb as U,bD as q,co as G,bE as Q,o as F,aV as X,x as A,bF as W,ch as Z,ci as ee,cj as oe,u as f}from"./index-D0RCZvbR.js";import{a as v}from"./sentry-D6_R-0PO.js";import{n as i}from"./mui-CWpKo4a_.js";import{L as te,D as ne}from"./EntitySummarySection-CYzQp7PK-i354Lc1S.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="4458dd47-b948-4973-8767-30ab807c46fa",e._sentryDebugIdIdentifier="sentry-dbid-4458dd47-b948-4973-8767-30ab807c46fa")}catch{}})();const C={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},re=i.div`
1
+ import{d as H,J,F as g,V as o,bQ as K,ga as U,bD as q,co as Q,bE as X,o as F,aV as G,y as M,bF as W,ch as Z,ci as ee,cj as oe,u as y}from"./index-ByXRm0Fj.js";import{a as v}from"./sentry-BfjekFHA.js";import{n as i}from"./mui-BtuxyOQU.js";import{L as te,D as ne}from"./EntitySummarySection-fBL4TZpT-DpmgFY5q.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d0986f7a-b00f-4960-90c6-c836bf07773e",e._sentryDebugIdIdentifier="sentry-dbid-d0986f7a-b00f-4960-90c6-c836bf07773e")}catch{}})();const C={wrapperContainerMarginTop:new M(y[4],y[0]),wrapperContaineHorizontalrMargin:new M(y[0],y[8])},re=i.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -25,7 +25,7 @@ import{y as H,K,b as g,V as o,bQ as J,gb as U,bD as q,co as G,bE as Q,o as F,aV
25
25
  color: ${e=>e.theme.colors.primary};
26
26
  }
27
27
  }
28
- `,se=i(X)`
28
+ `,se=i(G)`
29
29
  margin-top: ${F.sp3};
30
30
  color: ${e=>e.theme.colors.hero};
31
31
  `,le=i.div`
@@ -43,4 +43,4 @@ import{y as H,K,b as g,V as o,bQ as J,gb as U,bD as q,co as G,bE as Q,o as F,aV
43
43
  margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
44
  margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function Ie(e){const s=H(),l=K(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:r,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:E,sidePanelIsOpen:L,sidePanelIsFullView:N,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:j}=r,{fetchState:m,invoices:k,apAgingDetailUIState:$,vendor:a,totalBalances:Y}=n,{sortKey:D,sortOrder:b,downloadState:u}=$,[z,P]=v.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=v.useCallback((c,y)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,y)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const y={companyName:r.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:j,reportDate:t};await ge(I,_,y),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}z&&u!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,n.vendor,_,I,r.companyName,u,z,t,D,b,j,x,a?.id]),m==="Error")return o.jsxs(ae,{children:[o.jsx(ie,{onClick:w,children:o.jsx(J,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(U,{fetchState:m});const V=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsx(q,{isOpen:L??!1,isFullView:N??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(Q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:V,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:k.length===0||a==null?o.jsx(G,{message:R.noDataText}):o.jsx(re,{windowSize:l,children:o.jsx(te,{uiState:$,invoices:k,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:B,onTransactionClick:E})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,r=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,r.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function Ie(e){const s=H(),l=J(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:r,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:L,sidePanelIsOpen:N,sidePanelIsFullView:E,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:k}=r,{fetchState:m,invoices:$,apAgingDetailUIState:j,vendor:a,totalBalances:Y}=n,{sortKey:D,sortOrder:b,downloadState:f}=j,[z,P]=v.useState(!1),A=g.getLocalizedStrings(),R=A.reports.aging.agingDetail,B=v.useCallback((c,u)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,u)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const u={companyName:r.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:k,reportDate:t};await ge(I,_,u),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}z&&f!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,n.vendor,_,I,r.companyName,f,z,t,D,b,k,x,a?.id]),m==="Error")return o.jsxs(ae,{children:[o.jsx(ie,{onClick:w,children:o.jsx(K,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(U,{fetchState:m});const V=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:f==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(f==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsx(q,{isOpen:N??!1,isFullView:E??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(X,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:V,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:$.length===0||a==null?o.jsx(Q,{message:R.noDataText}):o.jsx(re,{windowSize:l,children:o.jsx(te,{uiState:j,invoices:$,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:B,onTransactionClick:L})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,r=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,r.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,K as m,d as x,o as r,x as p,p as a,aV as f,b as g,br as u,d0 as $,dQ as b,c$ as w}from"./index-D0RCZvbR.js";import{n as i,k as y}from"./mui-CWpKo4a_.js";import{a as j}from"./sentry-D6_R-0PO.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="adb23975-799f-4401-80fe-bad708c4edaf",e._sentryDebugIdIdentifier="sentry-dbid-adb23975-799f-4401-80fe-bad708c4edaf")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
1
+ import{V as t,J as m,x,o as r,y as p,p as a,aV as g,F as u,br as f,c$ as $,dQ as b,c_ as w}from"./index-ByXRm0Fj.js";import{n as i,k as y}from"./mui-BtuxyOQU.js";import{a as j}from"./sentry-BfjekFHA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a64b6a1d-14e6-4373-8c31-1f587a24b408",e._sentryDebugIdIdentifier="sentry-dbid-a64b6a1d-14e6-4373-8c31-1f587a24b408")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -41,19 +41,19 @@ import{V as t,K as m,d as x,o as r,x as p,p as a,aV as f,b as g,br as u,d0 as $,
41
41
  width: ${r.sp3};
42
42
  height: ${r.sp3};
43
43
  color: ${a.important};
44
- `,I=i(u)`
44
+ `,I=i(f)`
45
45
  margin-top: 2px;
46
46
  margin-right: 12px;
47
47
  width: ${r.sp3};
48
48
  height: ${r.sp3};
49
49
  color: ${a.info};
50
- `,T=i.div``,E=i(f)`
50
+ `,T=i.div``,E=i(g)`
51
51
  color: ${a.neutralGrey2Light};
52
52
  word-break: break-word;
53
53
  white-space: pre-line;
54
54
  `,W=i.div`
55
55
  max-width: ${e=>l.contentMaxWidth.valuePx(e.windowSize)};
56
- `,O=i.div`
56
+ `,_=i.div`
57
57
  margin-top: 3px;
58
58
  margin-left: 12px;
59
59
  width: ${r.sp3};
@@ -66,6 +66,6 @@ import{V as t,K as m,d as x,o as r,x as p,p as a,aV as f,b as g,br as u,d0 as $,
66
66
  &:hover {
67
67
  color: ${a.primaryDark};
68
68
  }
69
- `,V=(e,o,s)=>{let n=g.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},_=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function G(e){const o=m(),{message:s,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(_,{type:n}):null,t.jsx(W,{windowSize:o,children:t.jsx(T,{children:t.jsx(E,{children:V(s.section,s.text,s.variables)})})}),t.jsx(O,{onClick:c,children:t.jsx(x,{})})]})}const F=e=>t.jsx(L,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(G,{...e.snackbar}):null}),L=i.div`
69
+ `,V=(e,o,s)=>{let n=u.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(c=>{n=n.replace(c.variableName,c.variableValue)}),n},G=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function L(e){const o=m(),{message:s,messageType:n,showStatusIcon:c,onRemoveSnackbar:d}=e;return j.useEffect(()=>{const h=setTimeout(()=>{d()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[c===!0?t.jsx(G,{type:n}):null,t.jsx(W,{windowSize:o,children:t.jsx(T,{children:t.jsx(E,{children:V(s.section,s.text,s.variables)})})}),t.jsx(_,{onClick:d,children:t.jsx(x,{})})]})}const q=e=>t.jsx(M,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(L,{...e.snackbar}):null}),M=i.div`
70
70
  background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
71
- `;export{F as default};
71
+ `;export{q as default};
@@ -0,0 +1,92 @@
1
+ import{ax as oe,I as le,q as v,bl as re,V as n,bm as de,bn as ce,bo as ue,bp as pe,ab as be,bq as fe,o as t,br as me,aw as b,b7 as f}from"./index-ByXRm0Fj.js";import{a as o,P as he}from"./sentry-BfjekFHA.js";import{n as l}from"./mui-BtuxyOQU.js";import{bk as ge}from"./zeni-epic-state-x1SruN8b.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="d0a0fc78-f676-4f58-ac58-7e6043fc3ebb",e._sentryDebugIdIdentifier="sentry-dbid-d0a0fc78-f676-4f58-ac58-7e6043fc3ebb")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
2
+ position: absolute;
3
+ z-index: 0;
4
+ bottom: -${t.sp3};
5
+ display: flex;
6
+ height: auto;
7
+ right: ${t.sp0};
8
+ `,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(we,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
9
+ position: absolute;
10
+ z-index: 0;
11
+ bottom: ${t.sp0};
12
+ display: flex;
13
+ height: auto;
14
+ right: ${t.sp0};
15
+ width: 100%;
16
+ `,ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(Ae,{children:n.jsx(f,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ae=l.div`
17
+ position: absolute;
18
+ z-index: 0;
19
+ width: 100%;
20
+ bottom: ${t.sp0};
21
+ display: flex;
22
+ height: 135px;
23
+ background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/halloween-bg.svg);
24
+ background-size: auto;
25
+ background-repeat: no-repeat;
26
+ background-position-y: bottom;
27
+ left: 0;
28
+ `,Se=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ve,{children:n.jsx(f,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
29
+ position: absolute;
30
+ z-index: 0;
31
+ bottom: ${t.sp0};
32
+ display: flex;
33
+ height: auto;
34
+ right: ${t.sp0};
35
+ `,je=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(ke,{animationEnabled:i}):a?n.jsx(Se,{animationEnabled:a}):e?n.jsx(Ce,{animationEnabled:e}):s?n.jsx(Ee,{animationEnabled:s}):null}),Te=l.div`
36
+ display: flex;
37
+ flex: 1 1 auto;
38
+ flex-direction: column;
39
+ padding-left: ${t.sp4};
40
+ width: 240px;
41
+ position: relative;
42
+ overflow: hidden;
43
+ box-shadow: ${e=>e.isOnDashboard?"none":`inset -2px 0 ${t.sp1} -2px ${e.theme.colors.dropShadowNormal}`};
44
+ `,$e=l.div`
45
+ padding-left: ${t.sp3};
46
+ `,De=l.div`
47
+ display: flex;
48
+ flex-direction: column;
49
+ flex: 1 1 auto;
50
+ padding: 0 ${t.sp1} 0 12px;
51
+ overflow-y: auto;
52
+ overflow-x: visible;
53
+ min-height: 0;
54
+ margin-top: ${t.sp4};
55
+
56
+ /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
57
+ &::-webkit-scrollbar {
58
+ display: none;
59
+ }
60
+
61
+ /* Hide scrollbar for Firefox */
62
+ scrollbar-width: none;
63
+
64
+ /* Hide scrollbar for IE and Edge */
65
+ -ms-overflow-style: none;
66
+ `,Ie=l.div`
67
+ margin: ${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0};
68
+ width: fit-content;
69
+ display: flex;
70
+ flex-direction: row;
71
+ align-items: center;
72
+ position: relative;
73
+ z-index: 1;
74
+ `,Me=l.div`
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ position: relative;
79
+ margin-left: ${t.sp2};
80
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
81
+ color: ${e=>e.theme.colors.hero};
82
+ &:hover {
83
+ color: ${e=>e.theme.colors.primary};
84
+ }
85
+ z-index: 1;
86
+ `,Pe=l(me)`
87
+ display: flex;
88
+ width: ${t.sp4};
89
+ height: ${t.sp4};
90
+ align-items: center;
91
+ justify-content: center;
92
+ `;function Ge({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:T,rewardsConfiguration:$,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:F,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:w=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:R,isTaskManagerAccessEnabled:z,treasuryYieldPercentage:N,onNotificationIconClick:U,handleLogOutClick:_,handleMenuChange:B,onZeniLogoClick:L,handlePopupClose:H,handleBackClick:k,handleCockpitClick:O,handleMyProfileClick:A,handleReferralsClick:G,handleTenantSelect:Z,onDeleteChatSession:X,updateCurrentChatSessionId:q}){const[d,W]=o.useState(c&&x),g=he.useRef("noAnimation"),K=ge(m),J=oe(),{useFeatureGate:S}=le(),{isFeatureEnabled:Q}=S(v.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=S(v.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",A&&A()},te=()=>{g.current="slide-in-left-to-right",d&&k&&k()};o.useEffect(()=>{c!==d&&W(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=K||Q&&ee&&!J.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Te,{isOnDashboard:P,children:[n.jsxs($e,{children:[n.jsx(de,{onClick:L,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:$,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:F,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:T,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:R,isTaskManagerAccessEnabled:z,onSelectionChanged:B,onDeleteChatSession:X,updateCurrentChatSessionId:q,onBackClick:te,onPopupClose:H})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:_,onMyProfileClick:ie,onReferralsClick:G,onCockpitClick:O,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:U,children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C})]},d.toString())}export{Ge as default};
@@ -0,0 +1,47 @@
1
+ import{d as _,J as F,ax as J,F as p,aX as y,V as t,bE as V,T as E,fy as v,dI as S,y as d,o as k,an as G,b as j,u as o}from"./index-ByXRm0Fj.js";import{n as l}from"./mui-BtuxyOQU.js";import{FI as N,FJ as X}from"./zeni-epic-state-x1SruN8b.js";import"./sentry-BfjekFHA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="89a22626-8b0c-4186-8154-eb865b3de29e",e._sentryDebugIdIdentifier="sentry-dbid-89a22626-8b0c-4186-8154-eb865b3de29e")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:I,onClickMenuIcon:R,onSetupApprovalRulesBillPaySectionClick:T,onSetupApprovalRulesRemiSectionClick:P})=>{const r=_(),i=F(),u=J(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),b=p.getLocalizedStrings().common.settings,w=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:W}=B,{reimbursementSetup:D}=M,{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(c,u.loggedInUserRoleMap),U=X(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(V,{source:"ApprovalRulesSettingsPage",title:b.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:I,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:R}),t.jsx(Y,{windowSize:i,children:L?t.jsx(Z,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:b.infoText.approvalRules})}),t.jsxs(q,{windowSize:i,children:[H===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:w.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:T,status:m.length>0?z:void 0}),U===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:w.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})]})]})})]})},O=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(G)`
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,4 +1,4 @@
1
- import{V as i,b as f,dc as k,y as z,b5 as P,u as w,w as S,a_ as T,dd as N,de as I,p as h,o as x,an as q}from"./index-D0RCZvbR.js";import{a as C,P as H}from"./sentry-D6_R-0PO.js";import{n as j}from"./mui-CWpKo4a_.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-DyOVuWqI-BARYdpSf.js";import{bm as D,Gb as B}from"./zeni-epic-state-CQm7BABf.js";import{N as V,I as A,X as G,Y as W,J as _,K as M}from"./recharts-DgmMLsfg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="af87991d-ed2b-438c-a682-40bfbeae70a0",e._sentryDebugIdIdentifier="sentry-dbid-af87991d-ed2b-438c-a682-40bfbeae70a0")}catch{}})();const Q=j.div`
1
+ import{V as i,F as f,db as k,d as z,b5 as P,u as w,b as S,a_ as T,dc as N,dd as I,p as h,o as x,am as q}from"./index-ByXRm0Fj.js";import{a as C,P as H}from"./sentry-BfjekFHA.js";import{n as j}from"./mui-BtuxyOQU.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-Ddw_3-6f-DDbD-D2D.js";import{bm as D,Fs as B}from"./zeni-epic-state-x1SruN8b.js";import{N as V,I as A,X as W,Y as _,J as G,K as F}from"./recharts-B1UpAC2z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5513d992-4554-4e0f-85cf-8990878e23cc",e._sentryDebugIdIdentifier="sentry-dbid-5513d992-4554-4e0f-85cf-8990878e23cc")}catch{}})();const Q=j.div`
2
2
  display: flex;
3
3
  `,U=j.div`
4
4
  flex: display;
@@ -15,10 +15,10 @@ import{V as i,b as f,dc as k,y as z,b5 as P,u as w,w as S,a_ as T,dd as N,de as
15
15
  width: 100%;
16
16
  height: 1px;
17
17
  background-color: ${h.neutralGrey3Dark};
18
- `,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${f.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},Y=H.memo(te),F=5;function oe(e){const o=N(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,F-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>F){const s=oe(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??D.currencyCode,currencySymbol:l[m].amount?.currencySymbol??D.currencySymbol}};const p=O(d);return r.push(...p),{label:c,record:d}}const u=O(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
18
+ `,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${f.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},M=H.memo(te),Y=5;function oe(e){const o=N(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,Y-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){const s=oe(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??D.currencyCode,currencySymbol:l[m].amount?.currencySymbol??D.currencySymbol}};const p=O(d);return r.push(...p),{label:c,record:d}}const u=O(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
19
19
  width: ${e=>e.width}px;
20
20
  height: ${e=>e.height}px;
21
- `,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(Y,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(M,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(P,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(G,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject}}),i.jsx(W,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const X=5;function ie(e){const o=N(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,X-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){const s=ie(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??B.currencyCode,currencySymbol:l[m].amount?.currencySymbol??B.currencySymbol}};const p=$(d);return r.push(...p),{label:c,record:d}}const u=$(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
21
+ `,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(P,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject}}),i.jsx(_,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(G,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const X=5;function ie(e){const o=N(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,X-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){const s=ie(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??B.currencyCode,currencySymbol:l[m].amount?.currencySymbol??B.currencySymbol}};const p=$(d);return r.push(...p),{label:c,record:d}}const u=$(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
22
22
  width: ${e=>e.width}px;
23
23
  height: ${e=>e.height}px;
24
- `,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(Y,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(M,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(P,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(G,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject}}),i.jsx(W,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{je as L,ke as k};
24
+ `,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(P,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject}}),i.jsx(_,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(G,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{je as L,ke as k};
@@ -1,4 +1,4 @@
1
- import{y as R,K as B,V as o,bQ as V,gb as H,bD as K,co as J,bE as U,b as _,o as A,aV as q,x as z,bF as G,ch as Q,ci as X,cj as W,u as y}from"./index-D0RCZvbR.js";import{a as b}from"./sentry-D6_R-0PO.js";import{n as s}from"./mui-CWpKo4a_.js";import{L as Z,D as ee}from"./EntitySummarySection-CYzQp7PK-i354Lc1S.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./zeni-epic-state-CQm7BABf.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="e2690335-d4d6-4f11-a37e-3beae37e255c",e._sentryDebugIdIdentifier="sentry-dbid-e2690335-d4d6-4f11-a37e-3beae37e255c")}catch{}})();const C={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(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:E,sidePanelIsFullView:F,panelContent:N}=e,{authParams:v,downloadEndPoint:S,timezone:I}=d,{fetchState:p,invoices:j,arAgingDetailUIState:k,customer:i,totalBalances:O}=t,{sortKey:x,sortOrder:D,downloadState:u}=k,[P,$]=b.useState(!1),L=b.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(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(S,v,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())},[v,S,d.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(ce,{children:te.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(H,{fetchState:p});const Y=o.jsx(G,{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(K,{isOpen:E??!1,isFullView:F??!1,panelContent:N,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(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:j.length===0||i==null?o.jsx(J,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:k,invoices:j,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:L,onTransactionClick:T})})})})})})}async function ae(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,a=d.download;try{const n=await Q({urlEndPoint:t,authParams:l,fileType:"excel"});if(n.ok){const h=X(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`
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,F as _,o as M,aV as q,y as z,bF as Q,ch as X,ci as G,cj as W,u as y}from"./index-ByXRm0Fj.js";import{a as b}from"./sentry-BfjekFHA.js";import{n as s}from"./mui-BtuxyOQU.js";import{L as Z,D as ee}from"./EntitySummarySection-fBL4TZpT-DpmgFY5q.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="a0dbb2af-af81-47f2-916a-9ed9598f8b00",e._sentryDebugIdIdentifier="sentry-dbid-a0dbb2af-af81-47f2-916a-9ed9598f8b00")}catch{}})();const C={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:oe,reports:{common:te,aging:{agingDetail:re}},dateFormat:A}=_.getLocalizedStrings();function Ie(e){const l=R(),c=B(),{arAgingDetail:t,downloadParams:d,reportDate:r,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:T,sidePanelIsOpen:F,sidePanelIsFullView:N,panelContent:E}=e,{authParams:S,downloadEndPoint:v,timezone:I}=d,{fetchState:p,invoices:k,arAgingDetailUIState:j,customer:i,totalBalances:L}=t,{sortKey:x,sortOrder:D,downloadState:u}=j,[P,$]=b.useState(!1),O=b.useCallback((g,f)=>{t.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,r.format(A.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),m(g,f)},[t.customer,m,a,r]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:r};await ae(v,S,f),w("Completed"),t.customer!=null&&a.trackApAgingDetailReportDownload(x,D,r.format(A.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}P&&u!=="In-Progress"&&($(!1),w("In-Progress"),g())},[S,v,d.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(ce,{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:F??!1,isFullView:N??!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:L,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:r})]}),listContent:o.jsx(de,{children:o.jsx(ge,{windowSize:c,children:o.jsx(me,{windowSize:c,children:k.length===0||i==null?o.jsx(K,{message:re.noDataText}):o.jsx(ie,{windowSize:c,children:o.jsx(Z,{uiState:j,invoices:k,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:O,onTransactionClick:T})})})})})})}async function ae(e,l,c){const t=`${e}?query=${encodeURIComponent(JSON.stringify(ne(c)))}`,d=_.getLocalizedStrings(),r=d.reports.aging.arAging.arAging,a=d.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
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,7 +17,7 @@ import{y as R,K as B,V as o,bQ as V,gb as H,bD as K,co as J,bE as U,b as _,o as
17
17
  border-radius: 50%;
18
18
  cursor: pointer;
19
19
  & svg {
20
- margin: ${A.sp5};
20
+ margin: ${M.sp5};
21
21
  color: ${e=>e.theme.colors.grey1};
22
22
  }
23
23
  &:hover {
@@ -26,7 +26,7 @@ import{y as R,K as B,V as o,bQ as V,gb as H,bD as K,co as J,bE as U,b as _,o as
26
26
  }
27
27
  }
28
28
  `,ce=s(q)`
29
- margin-top: ${A.sp3};
29
+ margin-top: ${M.sp3};
30
30
  color: ${e=>e.theme.colors.hero};
31
31
  `,de=s.div`
32
32
  display: flex;