@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.
- package/dist/assets/ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js +21 -0
- package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
- package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
- package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
- package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
- package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
- package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
- package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
- package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
- package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
- package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
- package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
- package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
- package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
- package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
- package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
- package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
- package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
- package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
- package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
- package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
- package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
- package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
- package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
- package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
- package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
- package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
- package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
- package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
- package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
- package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
- package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
- package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
- package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
- package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
- package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
- package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
- package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
- package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
- package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
- package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
- package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
- package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
- package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
- package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
- package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
- package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
- package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
- package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
- package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
- package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
- package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
- package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
- package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
- package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
- package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
- package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
- package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
- package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
- package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
- package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
- package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
- package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
- package/dist/assets/SignInScreen-efHROixG.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
- package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
- package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
- package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
- package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
- package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
- package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
- package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
- package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
- package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
- package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
- package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
- package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
- package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
- package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
- package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
- package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
- package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
- package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
- package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
- package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
- package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
- package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
- package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
- package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
- package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
- package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
- package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
- package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
- package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
- package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
- package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
- package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
- package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
- package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
- package/dist/assets/epic-DzSc1k1-.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
- package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
- package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
- package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
- package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
- package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
- package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
- package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
- package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
- package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
- package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
- package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
- package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
- package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
- package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
- package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
- package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
- package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
- package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
- package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
- package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
- package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
- package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
- package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
- package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
- package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
- package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
- package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
- package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
- package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
- package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
- package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
- package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
- package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
- package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
- package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
- package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
- package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
- package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
- package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
- package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
- package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
- package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
- package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
- package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
- package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
- package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
- package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
- package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
- package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
- package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
- package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
- package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
- package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
- package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
- package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
- package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
- package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
- package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
- package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
- package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
- package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
- package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
- package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
- package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
- package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
- package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
- package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
- package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
- package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
- package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
- package/dist/assets/epic-CJba3GMN.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
- package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
- package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as f,cr as V,cs as M,ct as K,ke as W,a_ as q,F as z}from"./index-ByXRm0Fj.js";import{a as b}from"./sentry-BfjekFHA.js";import{Go as G}from"./zeni-epic-state-x1SruN8b.js";import{u as X}from"./ReviewOverlay-Bn3TFqfi-61PAxosm.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./mui-BtuxyOQU.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]="a664eba7-8d8e-4a2e-b4df-6d3fc01d23bc",e._sentryDebugIdIdentifier="sentry-dbid-a664eba7-8d8e-4a2e-b4df-6d3fc01d23bc")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=b.useState(!1),[d,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,v,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F=()=>{const{title:m,description:C}=Y(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:m=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,G(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(K,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(X,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=W(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},Y=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let d="",_="";return e==="Completed"&&!u?(d=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(d=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:d,description:_}};export{ce as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as l,V as r,aO as a,b4 as f,F as y,aR as m,aU as h,bG as g,aj as u,o as c,b5 as b}from"./index-ByXRm0Fj.js";import{n as d}from"./mui-BtuxyOQU.js";import{a as s}from"./sentry-BfjekFHA.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]="24936971-dd43-4bc9-83f5-d1f53008b75b",e._sentryDebugIdIdentifier="sentry-dbid-24936971-dd43-4bc9-83f5-d1f53008b75b")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function j({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(h)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function
|
|
3
|
+
`;function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(j,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(b,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const p=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=d(h)`
|
|
4
4
|
justify-content: space-between;
|
|
5
5
|
`,k=d.div`
|
|
6
6
|
height: ${c.sp10};
|
|
@@ -19,8 +19,8 @@ import{y as l,V as r,aP as a,b4 as x,b as y,ac as m,aU as h,bG as g,ak as f,o as
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
`,v=d(
|
|
22
|
+
`,v=d(u)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
`,$=d(
|
|
24
|
+
`,$=d(u)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,E=d(
|
|
26
|
+
`,E=d(p)``;function K({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs(v,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(E,{})}),r.jsx($,{children:y.getLocalizedStrings().card.failedText})]})})}export{D as E,T as I,K as T};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import{d as ee,J as de,cf as xe,aa as ye,V as o,ap as _e,cg as te,ad as we,y as P,aT as $e,o as a,F as oe,ch as ve,ci as ke,cj as Ce,ck as je,cl as Ie,an as he,cm as Se,aj as Ne,aF as X,bG as Pe,u as f,aX as De,am as Oe,au as Fe}from"./index-ByXRm0Fj.js";import{a as u,P as ue}from"./sentry-BfjekFHA.js";import{n as d}from"./mui-BtuxyOQU.js";import{R as D,I as Te}from"./CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="958eb8d4-7293-4068-bf82-77f0ab71cc84",e._sentryDebugIdIdentifier="sentry-dbid-958eb8d4-7293-4068-bf82-77f0ab71cc84")}catch{}})();const V=oe.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Ae=e=>({this_period:{start_date:e.thisPeriod.startDate.format(V),end_date:e.thisPeriod.endDate.format(V)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Be=e=>e!=null?{start_date:e.startDate.format(V),end_date:e.endDate.format(V)}:void 0;function Ee(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(V):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Ae(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Be(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function ho(e,r,n){const t=oe.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Ee(n)))}`;try{const h=await ve({urlEndPoint:l,authParams:r,fileType:n.statementFileType});if(h.ok){const y=ke(h.headers,t.defaultFileName),_=await h.arrayBuffer();Ce(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Le=d.div`
|
|
2
|
+
padding: 0 ${a.sp3} 0 ${a.sp3};
|
|
3
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
+
background: ${e=>e.theme.colors.grey5};
|
|
5
|
+
border-radius: ${a.sp1};
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
height: ${a.sp8};
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
`,Me=d(Oe)`
|
|
13
|
+
color: ${e=>e.theme.colors.primary};
|
|
14
|
+
margin-top: -2px;
|
|
15
|
+
`,Re=d(Fe)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
width: 12px;
|
|
18
|
+
height: 12px;
|
|
19
|
+
margin: auto ${a.sp0};
|
|
20
|
+
:hover {
|
|
21
|
+
color: ${e=>e.theme.colors.primary};
|
|
22
|
+
}
|
|
23
|
+
`,Ve=e=>{const{value:r,onClick:n}=e,t=ee();return o.jsxs(Le,{onClick:n,children:[o.jsx(Me,{style:{color:t.colors.primary},children:r}),o.jsx(Re,{})]})},ze=ue.memo(Ve);function We({backgroundColor:e,foregroundColor:r,animated:n,width:t,height:l}){return o.jsxs(Pe,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:n!=!1,backgroundColor:e,foregroundColor:r,style:{marginBottom:a.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function pe({nestedClass:e,isLastNode:r,config:n,parentNodeIDs:t}){const l=D("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return h.children=e.children.map((y,_)=>pe({nestedClass:y,config:n,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function Ye(e,r){const n=e.map((t,l)=>{const h=D("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:r}},_=t.children.map(O=>pe({nestedClass:O,config:r,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:r,headerNodes:[],contentNodes:[...n]}}function He(e,r){Object.assign(e.config,r);const n=e.contentNodes;return n.forEach(t=>fe(t,r)),{config:r,headerNodes:[],contentNodes:[...n]}}function fe(e,r){Object.assign(e.reportElementData.config,r),e.children.forEach(n=>fe(n,r))}const se={contentPaddingLeft:new P(f[3],f[3],f[2]),contentPaddingRight:new P(f[3],f[3],f[2])},Ge=d.div`
|
|
24
|
+
height: ${e=>e.height}px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`,Ue=({reportId:e,firstMonthOfFY:r,nestedClassHierarchy:n,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:q,onToggleCheck:F})=>{const z=ee(),W=de(),[v,j]=u.useState(void 0),[E,w]=u.useState(!1),[L,T]=u.useState({}),[m,M]=u.useState(void 0),[A,k]=u.useState(l),Y="none",B=c=>l==="account_group"?!0:t?.length>0?t.find(i=>i[0]===c[0])!=null:!1,I=(c,i)=>{w(!0),T(c),F?.(c,i,l==="account_group"?!0:void 0),$(c,i)},$=(c,i)=>{const g=H(c);for(const b of g.children)F?.(b.classId,i),$(b.classId,i)},H=c=>{let i=n.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)i=i.children.filter(b=>b.classId[0]===c[g])[0];return i},G=c=>{if(c.length>1){const i=H(c.slice(1));let g=!1;for(const b of i.children)if(t.find(U=>U[0]===b.classId[0])===void 0){g=!0;break}g===!0?F?.(i.classId,!0):F?.(i.classId,!1),T(i.classId)}};u.useEffect(()=>{E&&G(L)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:Y,firstMonthOfFY:r,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:B,showClassAccountNumber:h};if(v==null||!X(m,n)||!X(A,l)||E===!0){const i=Ye(n,c);M(n),j(i),k(l)}else{const i=He(v,c);j(i),k(l)}},[n,l,t]);const[J,K]=u.useState(5),Z=c=>{const i=c+f[6];K(i)};return v!=null?o.jsx(Ge,{height:J,children:o.jsx(Te,{backgroundColor:l==="classes"?new De(z.colors.background):void 0,rootNodes:v,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(W),right:se.contentPaddingRight.value(W)},scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:q,onToggleCheck:I,onReportTableHeightChanged:Z})}):null},C={width:new P(350,400,400),height:new P(165,165,165),buttonWidth:new P(62,62),buttonHeight:new P(f[5],f[5]),containerWidth:new P(150,400,400)},qe=d.div`
|
|
27
|
+
position: relative;
|
|
28
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
+
`,Je=d.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: ${e=>C.containerWidth.valuePx(e.windowSize)};
|
|
33
|
+
`,Ke=d(je)`
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
width: fit-content;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
color: ${e=>e.theme.colors.primary};
|
|
39
|
+
.dropdownIcon {
|
|
40
|
+
color: ${e=>e.theme.colors.hero};
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
.dropdownIcon {
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
gap: ${a.sp2};
|
|
48
|
+
margin-top: 12px;
|
|
49
|
+
align-items: center;
|
|
50
|
+
`,Ze=d(Ie)`
|
|
51
|
+
color: ${e=>e.theme.colors.hero};
|
|
52
|
+
width: ${a.sp4};
|
|
53
|
+
height: ${a.sp4};
|
|
54
|
+
&:hover {
|
|
55
|
+
color: ${e=>e.theme.colors.primary};
|
|
56
|
+
}
|
|
57
|
+
`,Qe=d.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
width: ${e=>e.width}px;
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
64
|
+
border-radius: ${a.sp1};
|
|
65
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
+
margin-top: 10px;
|
|
67
|
+
padding-top: ${a.sp1};
|
|
68
|
+
background: ${e=>e.theme.colors.grey5};
|
|
69
|
+
`,ne=d.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: flex-start;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
width: 100%;
|
|
75
|
+
background-color: ${e=>e.checked===!0?e.theme.colors.background:"transparent"};
|
|
76
|
+
& input[type="radio"] {
|
|
77
|
+
-webkit-appearance: none;
|
|
78
|
+
-moz-appearance: none;
|
|
79
|
+
appearance: none;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
width: ${a.sp3};
|
|
82
|
+
height: ${a.sp3};
|
|
83
|
+
padding: 2px;
|
|
84
|
+
background-clip: content-box;
|
|
85
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
margin: ${a.sp0} ${a.sp2} ${a.sp0} ${a.sp2};
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
input[type="radio"]:checked {
|
|
92
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
input[type="radio"]:disabled {
|
|
96
|
+
cursor: default;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background: ${e=>e.theme.colors.background};
|
|
101
|
+
}
|
|
102
|
+
`,ae=d(Ne)`
|
|
103
|
+
height: ${a.sp6};
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
`,Xe=d.div`
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
justify-content: flex-start;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: inherit;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
.hide-icon {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
min-height: 165px;
|
|
118
|
+
max-height: 353px;
|
|
119
|
+
overscroll-behavior: contain;
|
|
120
|
+
`,eo=d.div`
|
|
121
|
+
width: 100%;
|
|
122
|
+
height: 65px;
|
|
123
|
+
`,re=d.label`
|
|
124
|
+
color: ${e=>e.theme.colors.primary};
|
|
125
|
+
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
126
|
+
`,oo=d(he)`
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
column-gap: ${a.sp2};
|
|
130
|
+
margin-left: ${a.sp5};
|
|
131
|
+
color: ${e=>e.theme.colors.hero};
|
|
132
|
+
&:hover {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
color: ${e=>e.theme.colors.primary};
|
|
135
|
+
}
|
|
136
|
+
`,to=d.div`
|
|
137
|
+
display: flex;
|
|
138
|
+
flex: 1;
|
|
139
|
+
width: inherit;
|
|
140
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
141
|
+
min-height: 1px;
|
|
142
|
+
max-height: 1px;
|
|
143
|
+
`,so=d(Se)`
|
|
144
|
+
width: ${a.sp3};
|
|
145
|
+
height: ${a.sp3};
|
|
146
|
+
`,no=d(he)`
|
|
147
|
+
margin-left: ${a.sp5};
|
|
148
|
+
margin-top: -12px;
|
|
149
|
+
color: ${e=>e.theme.colors.hero};
|
|
150
|
+
`,{reportViewSelector:N,common:{footer:le}}=oe.getLocalizedStrings(),ie="tableViewSelector",ce=e=>`${e}_form`;function uo({reportId:e,firstMonthOfFY:r,nodes:n,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:O,isClassViewDisabled:q,downloadPage:F,showAccountGroups:z=!0,onResyncReports:W,isPageFetchInProgress:v=!1,lastRefreshSuccessTime:j}){const E=ee(),w=de(),[L,T]=u.useState(!1),[m,M]=u.useState(l),[A,k]=u.useState({}),Y=(s,p)=>(s.forEach(x=>{p.push(x.classId),p=Y(x.children,p)}),p),B=Y(n,[]),[I,$]=u.useState(m==="classes"?h:B),H=t!=="Completed"||m==="classes"&&I.length===B.length,G=u.useRef(!1),[J,K]=u.useState(!1),Z=u.useRef(s=>{s&&!G.current&&(G.current=!0,K(!0))});xe({componentName:`reports.${e}`,enabled:J});const c=s=>s==="classes"?N.classes.label:z===!0?N.accountGroups.label:N.accounts.label,i=ye({mode:"all"}),g=i.handleSubmit(()=>{T(!1),m==="classes"?O?.("classes",I):O?.("account_group")}),b=s=>{if(M(s),s==="classes")k({}),$([]);else{$(B);let p={};n.forEach(x=>{const S=D("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[S]:!1})}),k(p)}},U=()=>{L===!0&&Q(),T(!L);let s={};n.forEach(p=>{const x=D("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||I.find(S=>S[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),k(s)},me=(s,p,x)=>{if(x===!0&&(M("classes"),$(B)),p===!0){const S=D("checkbox_and_name_only",[],s[0]);A[S]=!0,k(A),$(R=>R.filter(be=>be[0]!==s[0]))}else{const S=D("checkbox_and_name_only",[],s[0]);A[S]=!1,I.find(R=>R[0]===s[0])===void 0&&$(R=>[...R,s])}},Q=()=>{T(!1),M(l),$(h)},ge=()=>{v===!1&&W?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};n.forEach(p=>{const x=D("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[x]:!1})}),k(s)}},[t]),o.jsx(_e,{onClickAway:Q,children:o.jsxs(qe,{ref:Z.current,isDisabled:q??!1,children:[F===!0?o.jsx(ze,{value:c(l),onClick:()=>{_?.(),U()}}):o.jsxs(Je,{windowSize:w,children:[o.jsxs(Ke,{onClick:s=>{s.preventDefault(),_?.(),U()},children:[o.jsx(Ze,{className:"dropdownIcon"}),c(l)]}),l==="classes"?o.jsx(oo,{onClick:ge,children:v?N.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${te(j)}`,o.jsx(so,{})]})}):null]}),L?o.jsx(we,{...i,children:o.jsx("form",{id:ce(ie),onSubmit:g,children:o.jsxs(Qe,{width:C.width.value(w),children:[o.jsx(ne,{checked:m==="account_group",children:o.jsxs(ae,{onClick:()=>m!=="account_group"?b("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>b(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:z===!0?N.accountGroups.dropdownLabel:N.accounts.dropdownLabel})]})}),o.jsx(to,{}),o.jsxs(ne,{checked:m==="classes",children:[o.jsxs(ae,{onClick:()=>t==="Completed"?b("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?b(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:N.classes.dropdownLabel})]}),v||t!=="Completed"?null:o.jsx(no,{children:j&&`${te(j)}`}),t==="Completed"?o.jsx(Xe,{id:"sectionformcontainer",children:o.jsx(ao,{reportId:e,firstMonthOfFY:r,nestedClassHierarchy:n,classesToBeFilteredOut:I,selectedView:m,nodeOpenStatus:A,showClassAccountNumber:y,onToggleCheck:me})}):o.jsx(We,{backgroundColor:E.colors.grey3,foregroundColor:E.colors.grey4,width:C.width.value(w),height:C.height.value(w),animated:!0})]}),o.jsx(eo,{children:o.jsx($e,{formId:ce(ie),primaryBtn:{label:le.save,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},isLoading:!1,isDisabled:H,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},onClick:Q,size:"small",shouldResetOnCancel:!0},style:{padding:a.sp3}})})]})})}):null]})})}const ao=ue.memo(Ue,X);export{ho as g,uo as x};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{K as W,y as G,b as y,ay as ge,V as r,bQ as _e,ac as T,bF as be,bE as Se,o as w,aV as we,L as ye,x as B,bR as Ce,u as S,J as A,aG as K,H as xe,aX as Oe,au as Re,bN as Ae}from"./index-D0RCZvbR.js";import{a as P,P as X}from"./sentry-D6_R-0PO.js";import{n as _}from"./mui-CWpKo4a_.js";import{bg as Z,FA as Be,FJ as ve,FK as $,FL as Le,FM as Pe,FN as Te,FO as Ie,FP as Ne,FQ as ee,FR as te}from"./zeni-epic-state-CQm7BABf.js";import{m as z,l as q}from"./analyticsHelper-BaxudydG-DT2Lyeh-.js";import{x as ke}from"./ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-C3criwDK-MjZzatMd.js";import{I as Me}from"./TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-FFq5FG7J-BLLib_kt.js";import{I as je,R as F,p as ne}from"./CollapsableReportTable-BwRNFt9D-D3w6E4nX.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.js";import"./TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js";import"./page-detail-CWX5S47F-CVwCMYq3.js";import"./AccountRow-CjgOf4O_-Ct2P2Loi.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]="a0c45ff9-5a55-4321-aff2-1ab8c39a96cb",e._sentryDebugIdIdentifier="sentry-dbid-a0c45ff9-5a55-4321-aff2-1ab8c39a96cb")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,f)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:f===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:f===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Pe(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function He({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ye(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Te(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ie(s)===!0?i.push(He({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,f)=>{const s=f%4;let c=De[s];const C=ze({title:`${f}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),f=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
|
|
1
|
+
import{J as W,d as G,F as y,ax as ge,V as r,bQ as _e,aR as P,bF as be,bE as Se,o as w,aV as we,T as ye,y as B,bR as Ce,u as S,A,aF as K,w as xe,aX as Oe,at as Re,bN as Ae}from"./index-ByXRm0Fj.js";import{a as T,P as X}from"./sentry-BfjekFHA.js";import{n as _}from"./mui-BtuxyOQU.js";import{bg as Z,ER as Be,E_ as ve,E$ as $,F0 as Le,F1 as Te,F2 as Pe,F3 as Ie,F4 as Ne,F5 as ee,F6 as te}from"./zeni-epic-state-x1SruN8b.js";import{m as z,l as q}from"./analyticsHelper-CT5zOInj-BgC6kfqx.js";import{x as ke}from"./ReportTableViewSelector-Y97ney3W-BsXF5NSn.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js";import{M as Me}from"./TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-4f9deyJS-Bmz0ejyE.js";import{I as Ee,R as F,x as ne}from"./CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js";import{D as oe,T as ae,C as E,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.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";import"./TimeframeSwitcher-CW08yYgo-DBfI-CDo.js";import"./page-detail-CWX5S47F-B7ep9GDp.js";import"./AccountRow-BiEYR4Y1-CmfzC2gE.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]="2a02a9d1-a4f1-42a7-91f8-49cb58f266a4",e._sentryDebugIdIdentifier="sentry-dbid-2a02a9d1-a4f1-42a7-91f8-49cb58f266a4")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,f)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:f===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:f===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ie(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,f)=>{const s=f%4;let c=De[s];const C=ze({title:`${f}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),f=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(je({section:c,sectionType:s,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(E({calculatedSection:c,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(E({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${w.sp2};
|
|
5
5
|
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
-
`;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const f=W(),s=G(),[c,C]=
|
|
6
|
+
`;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const f=W(),s=G(),[c,C]=T.useState(void 0),[x,j]=T.useState(void 0),v=!(f==="small"||f==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const h=e;m=(h.sections.expenses.balances.length>0?h.sections.expenses:h.sections.income).additionalBalances.map(D=>$(D));break}case"profit_and_loss_by_classes":{const h=e,D=(h.sections.expenses?.balances?.length??0)>0?h.sections.expenses:null,he=(h.sections.income?.balances?.length??0)>0?h.sections.income:null,H=D??he;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>$(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(h=>$(h));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(h=>$(h));break}}return m.length>0&&m.find(h=>h.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};T.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!K(x,e)||g===!0){const h=Ke(e,m,v,g);j(e),C(h)}else{const h=We(c,m,e,v);C(h)}},[u,e,g]);const[R,N]=T.useState(5),k=m=>{const h=m+135;N(h)},fe=m=>m?.trackPageLoaded(Xe(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:fe}),r.jsx(Je,{height:R,children:r.jsx(Ee,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(f),right:J.contentPaddingRight.value(f)},onAccountClick:p==null?void 0:(m,h)=>{p(m,h)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,h)=>i?.(e.reportId,m,h),onReportTableHeightChanged:k,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Ke=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Xe=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -49,7 +49,7 @@ import{K as W,y as G,b as y,ay as ge,V as r,bQ as _e,ac as T,bF as be,bE as Se,o
|
|
|
49
49
|
width: 160px;
|
|
50
50
|
left: 63%;
|
|
51
51
|
}
|
|
52
|
-
`;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":
|
|
52
|
+
`;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":P("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":P("report-switcher-container"),children:r.jsx(tt,{"data-testid":P("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
flex: 1 1 auto;
|
|
55
55
|
min-height: 100%;
|
|
@@ -98,7 +98,7 @@ import{K as W,y as G,b as y,ay as ge,V as r,bQ as _e,ac as T,bF as be,bE as Se,o
|
|
|
98
98
|
`,mt=_(we)`
|
|
99
99
|
margin-top: ${w.sp3};
|
|
100
100
|
color: ${e=>e.theme.colors.hero};
|
|
101
|
-
`,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==f?.accountViewMode&&a?.(O),R&&n?.(R)};P.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const f=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&f?.accountViewMode==="account_group"&&x.push("detailed");const[E,v]=X.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:E,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ft,{"data-testid":T("report-page-error-reload-page"),children:[r.jsx(ht,{"data-testid":T("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:f!=null&&e.dataAvailable!=null?r.jsx($e,{defaultOptions:f,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,N,k)=>{d(l,R,N,k)},onTimeframeSelectionChanged:(R,N,k)=>{p?.(R,N,k)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=P.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":T("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(ke,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=X.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&K(e[`${n}`],t[`${n}`]),!0),yt=_.div`
|
|
101
|
+
`,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==f?.accountViewMode&&a?.(O),R&&n?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const f=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&f?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=X.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ft,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ht,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:f!=null&&e.dataAvailable!=null?r.jsx($e,{defaultOptions:f,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,N,k)=>{d(l,R,N,k)},onTimeframeSelectionChanged:(R,N,k)=>{p?.(R,N,k)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(ke,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=X.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&K(e[`${n}`],t[`${n}`]),!0),yt=_.div`
|
|
102
102
|
padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
|
|
103
103
|
`,Ct=_.div`
|
|
104
104
|
margin-top: ${w.sp3};
|