@zeniai/web-cockpit-ui 1.13.91-prod → 1.13.92-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---jqahtW-DnJlZXJA.js → ACHDetailsPage-DSxVnTLA-DXaPhpBb.js} +1 -1
- package/dist/assets/{AIPerformancePage-CqtdCyg8-CEIQfHdy.js → AIPerformancePage-DpJmdFIS-DdYjoAnf.js} +36 -36
- package/dist/assets/{AccountInfoPage-Bj1CYa-r-C5F-Leu2.js → AccountInfoPage-UxE6vaxM-CTCDVeHj.js} +2 -2
- package/dist/assets/AccountInfoPageContent-B8luWP8D-BvO-xoVa.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-B4UwcNN9-DTaBhUge.js → AccountReconDetailsDrawerPage-CRuSLa04-C6RSAAh5.js} +18 -18
- package/dist/assets/AccountRow-DVnBiB7_-BUb357r1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DJRAw09x-CDwLvvA4.js → AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js} +26 -26
- package/dist/assets/{AddAddressForCardDrawer-C16ksTIf-B6JjehbJ.js → AddAddressForCardDrawer-Bl8FShie-B0Exe6lR.js} +1 -1
- package/dist/assets/{AddToWalletPage-CDP1oPrv-CxCKIfKE.js → AddToWalletPage-BykgUTfa-Cb4sl07y.js} +22 -22
- package/dist/assets/{AgingReportsPage-BE4plS7V-3TKSPA3a.js → AgingReportsPage-CtpuS77Y-CRkQ2tHo.js} +7 -7
- package/dist/assets/{AllUserItems-hoI2_gnV-BLP0YBON.js → AllUserItems-zqRosy03-ampV7sMY.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-Lxprtz8c-BEC8jKJb.js → ApAgingDetailPage-B4dHhJE1-DX7CQmyB.js} +2 -2
- package/dist/assets/{AppBasePage-DNOkJf4q--8-X2sXp.js → AppBasePage-ntAldChd-Da_5AGnO.js} +1 -1
- package/dist/assets/{AppDrawerContent-DG2Jr298-CbWkIlEM.js → AppDrawerContent-LRG0OW3a-BgVe2pK0.js} +11 -11
- package/dist/assets/{ApprovalRulesSettingsPage-DnKXln0A-Zj5-kWYr.js → ApprovalRulesSettingsPage-CFCbNOcB-CE0uOkBi.js} +1 -1
- package/dist/assets/ArAgingChart-BmfMCB8_-Bg3m3QlY.js +24 -0
- package/dist/assets/{ArAgingDetailPage-Djsocm6M-C26Jn884.js → ArAgingDetailPage-C2lhYsGV-BhHfiwwM.js} +3 -3
- package/dist/assets/{AttachmentView-C3AzH7cN-BUOusCJ1.js → AttachmentView-CQlsMYN3-DG4dPEyp.js} +8 -8
- package/dist/assets/{BankAccountSection-6zosSfPV-_bfleBk6.js → BankAccountSection-D1tQzNSO-piXQT6-V.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CWeN3me0-CDpqfTVJ.js → BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-C6e0pgD4-0H1TdsJc.js → BankConnectionsSettingsPage-UQAJXShM-C8thl88u.js} +22 -22
- package/dist/assets/{BillDetailPage-DyIokQbf-DgpBGeoJ.js → BillDetailPage-BOy1MkMT-CTieBS_0.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-BOhQfwEj-BCMyOQcf.js → BillPayApprovalRuleDetailPage-C7c04fyW-D_3vBsw2.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-CSua3b4v-BNVDIyiJ.js → BillPayApprovalRulesPage-D7vn36vA-CcaFc_r3.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CtenNypw-BC9LkoWX.js → BillPayPromoPage-VCQ0v0Ko-_chCPS2P.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-CAnvQ_-Q-CbyucZLN.js → BillPaySetUpPage-MD1PbTMB-DAVLcuLh.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CjSAhEFl-BzqmoSoH.js → BillingSettingsPage-B0U9RKLC-CSDiDt5p.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-B62rj2kN-DhbxqMjq.js → BillsBulkReviewDrawerPage-CStmvhgL-CRjbCjmC.js} +1 -1
- package/dist/assets/{BoxItem-Cqmd_7h4-Dv6Gxo6e.js → BoxItem-D3v5T6bP-DCh7smhZ.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BIba2-zs-BbKHm-00.js +140 -0
- package/dist/assets/{CardNumberSubText-DszoXtgg-DZyC1JnT.js → CardNumberSubText-DoWj5vAy-CUdY7eYA.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DAwARNZD-7CF1-wWW.js → CashbackDetailPage-CPz0J2HA-mlCo9BqT.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-BzbR-Z63-B8EROlnT.js → ChargeCardDetailPage-DxE5h1S5-_Ar3evhS.js} +29 -29
- package/dist/assets/{ChargeCardListPage-DSOp7sFg-BUxYEe2Y.js → ChargeCardListPage-fXayrykw-DfSXe2y4.js} +10 -10
- package/dist/assets/{ChargeCardListTable-BE4it4le-DayjC6nz.js → ChargeCardListTable-C-WxFg6W-ZTAQI24j.js} +103 -103
- package/dist/assets/ChargeCardPromoPage-CiwWzvym-CQS1Kn9Z.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Dm_N5oDM-Dwe310b8.js → ChargeCardSetupPage-ByLkUH5I-CAqoYnxa.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dhqs5CF4-De2hPf6C.js → ChargeCardStatementsPage-Dsv5AXrZ-DLsXp3ds.js} +2 -2
- package/dist/assets/{ChargeCardUtils-oF0M6Gmc-C7CbDHyH.js → ChargeCardUtils-CVC43_6w-DTPKdzGf.js} +1 -1
- package/dist/assets/{ChaseOverlay-DPgGIuyV-CJPjKqgA.js → ChaseOverlay-CHWBgNa9-BGn2Q_2a.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DySu5_BH-zAFSAP0i.js +206 -0
- package/dist/assets/{CollapsableReportTable-DMr2UDgH-BRQiHTxy.js → CollapsableReportTable-ZObwzBbY-BfOvomCm.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-B_cIues7-Cxl-k5rk.js → CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js} +19 -19
- package/dist/assets/{CompanyPassportCard-CHF83hfN-Co_424o0.js → CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js} +2 -2
- package/dist/assets/{CompanyPassportPage-C5W3KcDY-9FetRhxp.js → CompanyPassportPage-BoaNol0L-DnxxOJfB.js} +17 -17
- package/dist/assets/CompleteProfile-nkRKLJTF-D06O2tPg.js +36 -0
- package/dist/assets/{ConfettiBurst-DVT9EpwF-DojTLrIM.js → ConfettiBurst-BYoGZ66F-DY-7GLNq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DVbYQaWM-CbAPJPq5.js → CreateOrEditVendorPage-C1Yx8t4M-BzNtZfYl.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-D2qT7vsE-6HiNR28B.js → CreditCardPaymentDrawerPage-DlnR16jr-Cp09nlhb.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-7cmMRTQm-ByUK3A64.js → CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js} +9 -9
- package/dist/assets/{CurrencySelectField-ClhIJFVw-Cuj7jFbB.js → CurrencySelectField-vH1oB0K8-B5AHvAUJ.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-D-Ihd-H0-C2bq2dEV.js → CustomerOnboardingActivationPage-rpZmgNZo-CwICpwxp.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-a_kK-7zZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CUxNOK4z-DK4_uIa1.js → CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-B9ts3Tla-DKUZswXj.js → CustomerOnboardingNoStepsPage-BueMiyFl-46-BK9fl.js} +7 -7
- package/dist/assets/CustomerOnboardingPage-CmHXtB9v-BJU0moTi.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-iSJtAhvu-BHz78EGH.js → CustomerOnboardingProductSuitePage-I9pftf_j-DOK-Bf5L.js} +5 -5
- package/dist/assets/{Dashboard-SKeHZ5QY-DF211AQA.js → Dashboard-DcfkiicK-D3UJUCYb.js} +38 -38
- package/dist/assets/DashboardReportPage-B7J8yZR6-B09J8zzA.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-DJNio75H-Dxf2gNvA.js → DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DTIjlF2l-BfQK5oMo.js → DepositAccTransactionListPage-C4o1y1mJ-KyIyoawm.js} +4 -4
- package/dist/assets/{DocumentSecurityBanner-CVNWDvAg-BtG0xkpK.js → DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js +21 -0
- package/dist/assets/{DownloadOverlay-BLj0xso_-C6DwpnXr.js → DownloadOverlay-CPW9ebxu-B84vZ8Vf.js} +1 -1
- package/dist/assets/{DrawerPage-CEetzMMx-IRv71ZvX.js → DrawerPage-Xc2rQipJ-CbzWMzby.js} +1 -1
- package/dist/assets/{EditPeoplePage-DDUuO0Nh-DqRnFx-k.js → EditPeoplePage-CF5UleI0-DHfURipS.js} +8 -8
- package/dist/assets/{EditReimbursementDetailPage-CT8mqYr5-BidGZIIe.js → EditReimbursementDetailPage-DGCkOykv-BxliJYVA.js} +24 -24
- package/dist/assets/{EntityDetailPage-DMh6o0bo-pHSPNKBZ.js → EntityDetailPage-BykQZo8S-TLciQOdt.js} +1 -1
- package/dist/assets/{EntitySummarySection-tK_X4uAf-Dp0ODS-o.js → EntitySummarySection-Dw4PBcg_-D8XPKjkN.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-CLUiYjKg-29WBaTXV.js → ExpenseAutomationOverviewPage-BwAaZVq3-DULdspcH.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C9biTgak-CqBGDzCQ.js → ExpenseAutomationPage-Cqiyk-AY-Cbn2hM3p.js} +82 -82
- package/dist/assets/{ExpressPayPage-DpAixmcQ-DRJERqMh.js → ExpressPayPage-D0lCczvw-DeekuCPU.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BohUqOFz-C7UREL2T.js → FeaturePreviewPage-CxZIUB8l-xGc8umN-.js} +1 -1
- package/dist/assets/{FollowStepsSection-BAUXUzTr-Bt6EnCL_.js → FollowStepsSection-CILr1_vc-DOHzLCEi.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BxYHNkut-YQAMqbD_.js → GlobalReviewListPage-DL6H7PZG-CcFAQ4Jd.js} +8 -8
- package/dist/assets/{HelpButton-8AQIbLQM-BGmSYuu4.js → HelpButton-CkSfhBfN-BCuT-w0J.js} +2 -2
- package/dist/assets/{InformationCardStack-76GlZ-Bq-D2NuF640.js → InformationCardStack-i76c5dym-B_ZpROXq.js} +2 -2
- package/dist/assets/{InsightsCardStack-CvOFi2Uu-CMXkT3ON.js → InsightsCardStack-wcWhovKK-DSw729j8.js} +9 -9
- package/dist/assets/{InsightsSection-DyF8JZIR-Ba4Edr3x.js → InsightsSection-CCzgI0uK-wk2msd_s.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-mys0-i40-D6hpCjXM.js → IntegrationsSettingsPage-B2CDE2Xd-D7F50RmA.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-km4qEcXH-BNeowmSn.js → InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js} +7 -7
- package/dist/assets/{InternationalWireVerificationPage-DauhGM3c-FV1PNbfL.js → InternationalWireVerificationPage-BDxujQK--CFeRgIkU.js} +5 -5
- package/dist/assets/{InviteFormPage-FSL8fEXT-DcCB77N5.js → InviteFormPage-BnLBPR7X-QQpB8eQo.js} +16 -16
- package/dist/assets/{InvitePageListView-zaQ1xEHJ-bdUJ0_yl.js → InvitePageListView-7mhz_Fyy-D6doua_f.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BNB36i8Y-fBOLcBoL.js → InvitePeoplePage-B8gb9N_8-DX1GZlvh.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-FXrB92T6-Ee1Ti_S1.js → InvoiceUploadSection-Bes1nCJn-Be4DogKt.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-D3cUp2DE-BtI5RGZ7.js → IssueChargeCardPage-DC3yIsQd-D0BAohGU.js} +21 -21
- package/dist/assets/{LabeledAddressValue-BF6r800B-_Leb_eWa.js → LabeledAddressValue-Dtw8vM0g-D81z6ltq.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DYelJL4d-B8hx-xCL.js → LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-B2ATKJBH-BJtdB2bJ.js → LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B9zUAA6L-D7rl6n6N.js → LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js} +6 -6
- package/dist/assets/LabeledDocumentField-aYYBY16j-D9fngETw.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js +59 -0
- package/dist/assets/{LabeledText-C34I_iEo-CF4V70ja.js → LabeledText-BrOLGzO5-CQVuQAJd.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-Ce6EEFHl.js → LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-Caj0_1zM-C242ITAr.js → LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-DLmZGscZ-zCMuKt6w.js → LinkJETransactionPage-NFV4Vo3i-Dh75sd9Q.js} +12 -12
- package/dist/assets/{LowBalancePopup-ll1SesgY-B6jGvSbo.js → LowBalancePopup-Bxkd2pBR-DnLeMaGm.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DXzjYrdU-Bp3Pui0J.js → MagicLinkACHDetailsPage-BJFlUq7i-CR2iAlWE.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CUwp46Wf-D6GYUui4.js → MagicLinkDomesticWireDetailsPage-CTuaNol6-CwHBeiVQ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B_h0EHoZ-CNTurwbH.js → MagicLinkInternationalWireDetailsPage-L2dPsfWM-jS2Sj2EL.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BX4E-l5M-DcLhDo6l.js → MagicLinkSuccessPage-DutanrSJ-BcHGJ4_T.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DHe9TfVe-BOSN41pz.js → MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js} +2 -2
- package/dist/assets/MailingDetailsSection-DwWeiSC0-CYpVyPYc.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-D4tz-H5i-DRJag4hu.js → MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js} +3 -3
- package/dist/assets/{Menu-C9u3eDJk-B6BTFoM9.js → Menu-CrSQ1yNo-Cx3bEBb1.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-DVp3h4c0-DektOgAW.js → MyBankConnectionsSettingsPage-CJjW9ymP-BqJ36Kdj.js} +8 -8
- package/dist/assets/{MyPendingActivationChargeCardListPage-BTk8mY7B-C0Py-Esb.js → MyPendingActivationChargeCardListPage-CvxqOjc7-DSUp87U3.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BdcDAwKZ-CUpx3w30.js → MyProfileSettingsPage-BX5dXulH-rLCsz38p.js} +9 -9
- package/dist/assets/{NavBarWithPicker-DbSWvh0o-CjlAab2L.js → NavBarWithPicker-CuVAj7o5-QRyCYrfU.js} +4 -4
- package/dist/assets/{NavigationArrow-BP8cU19I-B-iknftj.js → NavigationArrow-BPQ9vRqR-CA2ua3KM.js} +1 -1
- package/dist/assets/{NavigationDots-nvOimTil-DT9B51FC.js → NavigationDots-Toh5TKEv-D4TuvGNx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D-imjD0M-DTBK5g17.js → NewGlobalMerchantPage-B4r1haCm-V82_isUI.js} +6 -6
- package/dist/assets/NoDataChart-CVM-QPHf-C-oyhVAy.js +26 -0
- package/dist/assets/{NoDataTable-d0_62BR0-CxXAVuhp.js → NoDataTable-CM-tApqo-CD71WwmK.js} +1 -1
- package/dist/assets/{NotFoundPage-BydQGX11-Dq8fbiEG.js → NotFoundPage-I-EBmx2b-H5l_OBUP.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BIzaZFzy-JxZ4N9IZ.js → NotificationSettingsPage-CtZ7hdMN-D-_tIuJn.js} +6 -6
- package/dist/assets/NotificationsListConfig-BAKipCDG-DNDbmhPU.js +1 -0
- package/dist/assets/{NotificationsPage-BdI4E6uL-Dtdtsrxb.js → NotificationsPage-xyLmK3l7-D0WoPK5r.js} +21 -21
- package/dist/assets/{OpExByVendorPage-Dm90CRYi-CRnxfwgA.js → OpExByVendorPage-B63DEuJM-BARCJc78.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-B2VuCGmE.js → OverlayContainerPage-C0rUb6-5-BDWmQRwQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DhbFHH25-B_jOsETc.js → PandLWithForecastPage-uY-ajYp4-Lez30LQU.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Debi_lWf-DgZH-stN.js → PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js} +6 -6
- package/dist/assets/{PeoplePage-BACu55RO-Pf-QB0XE.js → PeoplePage-DPZj6XeQ-87NclcP_.js} +24 -24
- package/dist/assets/{PortfolioAllocationFormPage-Cjz_E3BK-0agDNn7e.js → PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js} +3 -3
- package/dist/assets/{PortfolioDetails-CS2st-Mx-CqOAHDDP.js → PortfolioDetails-DiITguNZ-C9ff3dxU.js} +9 -9
- package/dist/assets/{ProductsCarousel-TB4uKZbg-jHCmwr3_.js → ProductsCarousel-BojgZxY7-C7ixhh1B.js} +9 -9
- package/dist/assets/{PromoBaseCards-BMPp9RNQ-CfCVTYBz.js → PromoBaseCards-DPAkjdDp-BSbN47iG.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-B1b1wGeq-Bv09ZJ5Q.js → QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js} +9 -9
- package/dist/assets/{QBOSetupSection-Bj_y0Lo2-i5olJfVN.js → QBOSetupSection-DJBfLeXn-CaDVg5Hs.js} +9 -9
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BkpvBSQs.js → ReimbursementApprovalRuleDetailPage-CAcLCt68-CHZOZjbd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DJlNT4Ov-Bl6ySL6S.js → ReimbursementApprovalRulesPage-edz_6MDX-C6mJ2DuI.js} +43 -43
- package/dist/assets/ReimbursementDetailPage-DD_GbfiV-DO_TXxDc.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-ppaPJby5-COCfOhRQ.js → ReimbursementPromoPage-B_HZWdXi-ujWpRxU3.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-B6mZrzQB-Fiw0qBGy.js → ReimbursementSetUpPage-C0SNbg5D-CMixW-_k.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DS55QesG-B74D85P7.js → ReimbursementsBulkReviewDrawerPage-NOK5jPjr-DI2xKDYj.js} +1 -1
- package/dist/assets/{ReloadCard-DDDYlCsI-uet9tXMw.js → ReloadCard-CqyGWGqs-B2pPTz9i.js} +3 -3
- package/dist/assets/ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js +150 -0
- package/dist/assets/ReportsPage-DdqQgvJt-pEgVGJHX.js +120 -0
- package/dist/assets/{RevenueChart-DPkxzWaE-DuQQfz8T.js → RevenueChart-QoBLII7z-Brgj42T7.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CyF2YP3t-qsNy7OU7.js → ReviewDetailsPage-BVoI7xF7--oTVBYBc.js} +14 -14
- package/dist/assets/{ReviewOverlay-AoSgYufX-dwAI_sdq.js → ReviewOverlay-CbpylyCx-CRT_fGNL.js} +10 -10
- package/dist/assets/{RoleWithToolTip-aoWU03so-Dwlqauj8.js → RoleWithToolTip-TxLTa63q-S46u0htc.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bfj3vclV-Bh0VQjus.js → ScheduleDetailsFixedAssetsPage-CuwxZJjj-CbljEJHF.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-B30aUjKr-yo5UZBZa.js → ScheduleDetailsPage-u0VNz7hA-DBA6XeYX.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CStdRSyQ-DoVYhvfX.js → ScheduleSequenceTable-usJjTfAn-CsILXb5x.js} +19 -19
- package/dist/assets/{ScreenRoutes-BUy9Iwzd.js → ScreenRoutes-DfucM-A_.js} +1 -1
- package/dist/assets/{SetUpAccountSection-nul4pyeP-DU6cZy0a.js → SetUpAccountSection-DDe06VBR--XDyyAq7.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-ByW3h9zl-DGn4f3RC.js → SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js} +8 -8
- package/dist/assets/{SignIn-R1Rsh38G-F9AuCIeN.js → SignIn-BdhV8PbY-BEcS89H3.js} +16 -16
- package/dist/assets/{SignInScreen-Zt_tSoMj.js → SignInScreen-CQe6jUnb.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BqOQ7NY_-b4Sdc3rB.js → SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage--2EC1Oz4-h4ycN1O9.js → SpendManagementPerTabPage-BkiWOMch-DNxdfM54.js} +36 -36
- package/dist/assets/{SpendManagementSection-COMVry1E-BWp0dXiq.js → SpendManagementSection-DuR3sx7V-wtusVJD4.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-fV4qxxEy-CCp-swkD.js → SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js} +8 -8
- package/dist/assets/{StatementItem-BksIBztP-B831iK9_.js → StatementItem-VYK0Vtgt-CDJF9Bdy.js} +8 -8
- package/dist/assets/{StatementsPage-DnAoeqze-DA62l4Hk.js → StatementsPage-CLxned7l-kbRne1uO.js} +1 -1
- package/dist/assets/{StatusSwitcher-b1A9RnRP-DAlRwEN4.js → StatusSwitcher-Jqpvk1VX-KiHu5pz2.js} +2 -2
- package/dist/assets/{SubTabSwitcher-CgJW4ZXd-DJMKxW1_.js → SubTabSwitcher-C7_JB54g-TfIjK1e4.js} +1 -1
- package/dist/assets/{SummaryCard-sEKhcIH5-5V5OHe0n.js → SummaryCard-oqK_zyxl-DP8NWbIJ.js} +1 -1
- package/dist/assets/TaskManagementPage-BDOhB7Ny-0hkaxI_I.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DQ-u6pKk-C9r3FAYu.js → TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-B0yxn0SJ-BcwixCzj.js → TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js} +1 -1
- package/dist/assets/TimeframeSwitcherWithToggle-CRnWI6xW-CcO9Smot.js +31 -0
- package/dist/assets/{TopExCard-CTjfWfCk-C3i8kmEM.js → TopExCard-B4T3kqhZ-Boo9L6AS.js} +4 -4
- package/dist/assets/{TopExDetailPage-CdpvcVME-2JDis9q2.js → TopExDetailPage-Cx9T3i9O-Dego-R-_.js} +11 -11
- package/dist/assets/{TransactionDetailPage-DdF9FS4b-DZnceplN.js → TransactionDetailPage-CAGxHcQ9-D2MX0HZx.js} +46 -46
- package/dist/assets/{TransactionList-CHq3WONc-6OKHlFEQ.js → TransactionList-CVrK_-YB-DNCdrvzR.js} +5 -5
- package/dist/assets/{TransactionListBig-D-Gxd5n0-DanPN3il.js → TransactionListBig-BnI6EofP-_rQrLZ8Q.js} +12 -12
- package/dist/assets/{TransactionListPage-DK9-YK_1-BXggWvxO.js → TransactionListPage-vK6DdhrP-BFxBj0Xu.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-Cc9pTpTw-B-XpZb7b.js → TransactionVendorDetailPage-IyAfkyMv-DMgJng31.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoDTECI8-BIlT9f80.js → TransferDrawerPage-Bp0TG8fm-BrYG-dvh.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-wlfReqPJ-COqPP-C6.js → TreasuryOverviewPage-Cr1liTpc-DUvbI9m6.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-C9WNRb2_-D68uCH9T.js → TreasuryPromoPage-Da7l7gv8-BI2e-RBa.js} +7 -7
- package/dist/assets/{TreasurySetupPage-CjV0cOq9-Dj6kRagu.js → TreasurySetupPage-DLNsPnS8-CsV7YDNa.js} +2 -2
- package/dist/assets/TreasuryStatementsPage-CNXxykvB-Xo9bsOcj.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BWGHcQ-i-BKMewaZO.js → TreasuryTaxLetterPage-DUbt8ItG-Bx6VQjMk.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-CgL8K7N9-BU_JpBeT.js → TreasuryTransferOrReviewPage-qxabbCrK-Cn6E59-e.js} +19 -19
- package/dist/assets/TrendChart-SOAxSpv2-C2I66UL7.js +16 -0
- package/dist/assets/{TrendWithTransactions-B_fJTS4m-DhL_ksp6.js → TrendWithTransactions-BSQ2TJvu-CXRyOB__.js} +2 -2
- package/dist/assets/{UncategorizedAccountsMappingPage-DpY1kK_K-Tyh7I9oQ.js → UncategorizedAccountsMappingPage-Caf242zp-C8p8QWva.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-BTJI7fx3-ArXBm5Pc.js → UnitIntegrationPage-Bvc4wx_r-CxpS2DzG.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BH3bRKoG-BcpVEL9h.js → UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-4-XtZDNS-yXogm4Uf.js → Vendor2FAPopup-DimcegQ_-DbqY7M5C.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B2knDl4H-C8LDkjOw.js → VendorACHDetailsPage-BOIRRgCy-3ls1AaMO.js} +1 -1
- package/dist/assets/{VendorDetailPage-w-tghGpI-COTucAdG.js → VendorDetailPage-CWcqMMpT-CUN694wM.js} +17 -17
- package/dist/assets/{VendorDomesticWireDetailsPage-BXCCdTjh-D1sSssE6.js → VendorDomesticWireDetailsPage-9C2CIkhB-CIWMgQrd.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DGQO9Qqj-doeBi57Q.js → VendorFiling1099EditablePage-Crz_WLRG-C1B5bpoY.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-Lblb6X1V-DDX-EnPi.js → VendorFirstReviewPage-hQ0U61KD-DXRFO6yh.js} +44 -44
- package/dist/assets/{VendorInternationalWireDetailsPage-Bi5RBKxI-d7yVndnc.js → VendorInternationalWireDetailsPage-mm1qIXTf-CIqQKpow.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CBZmsXnL-oKquyl5C.js → VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DJWhQcKK.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-JI0e3gKo-DV7qAVgA.js → VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-BQzUQ5-l-eGPm8ckX.js → WarningsDrawerPage-7DzlUfv7-BkCPq2fE.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-DPJ4mWoO-CDV8kX3d.js → ZeniAccountDetailPage-B_U4d2iv-CeotXzaF.js} +32 -32
- package/dist/assets/{ZeniAccountListViewPage-iHMJ7FU7-DsSrfvmu.js → ZeniAccountListViewPage-C2Yej3tG-5nEB_ziW.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-DsWyZL7N-DfzfZF8w.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-OxQ03DtJ-DuTzzMXB.js → ZeniAccountPromoPage-D6S3o6xA-Bi4N8dmb.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-BahzDcmm-CkQD3H0K.js → ZeniAccountSetupPage-YpW9LEB1-BJ2MLgxE.js} +1 -1
- package/dist/assets/{ZeniCopyright-Dpqdxu7f-DENyHxGI.js → ZeniCopyright-Buv4_0jF-CqCj0NE5.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DwC6pXnb-D2__V8HO.js → ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-CZ8c8du5-BYQerWlM.js → analyticsHelper-B3QVnfWf-Ii66sXHH.js} +1 -1
- package/dist/assets/{analyticsHelper-BqDRiuen.js → analyticsHelper-ej1xHeXQ.js} +1 -1
- package/dist/assets/{chartTypes-CWLOazD0-DQIU7DHt.js → chartTypes-DYAHlgKd-DnqAO3Rp.js} +1 -1
- package/dist/assets/{commonDimensions-Cg7EWgSP-CvVryzw_.js → commonDimensions-Pkc8qIrn-B-bjjlb8.js} +1 -1
- package/dist/assets/{detailCommon-Cp4eknjq-BH10rVqU.js → detailCommon-CsukAL3T-lIItUxyr.js} +7 -7
- package/dist/assets/{downloadPdf-f3F0OqWf-BOFdFlm6.js → downloadPdf-DlKRXI5W-DoYYMEWD.js} +1 -1
- package/dist/assets/{index-Bh_1R5Ob.js → index-DEtloYMb.js} +3142 -3141
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DCLD3rcY-DQE4Fmbr.js → mapLoadingInProgressToTreeNode-KYsp1YPe-CdYtsyMK.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-VOXE5I-IEIwZ2Vf.js → mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DlDwFA_F-adHbwg_D.js → mapSpacerToTreeNode-1YBqnFwa-K_d13sRq.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-EEyJwCnX-DL3MQtPA.js → mapTimeframeBalancesToTreeNode-DD1v-gTG-9n0fkm_w.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-CFa9Uibr-CFpLGFU1.js → play-icon-19dLaWkG-CvLTbZAK.js} +3 -3
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DT8-C5u1-B1FoouwO.js → toCOABalancesWithID-B8NxsLlK-741DYvDg.js} +1 -1
- package/dist/assets/{toChartData-63e3B91H-ZtR5NJvP.js → toChartData-CxZEcdj_-B9fAXWHm.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BGGfolJy-CWl7jTQi.js → treasuryColorHelper-BqwCUN2u-C54KKUXs.js} +1 -1
- package/dist/assets/{uploadAttachment-YcPIDoZ--toOwAw7L.js → uploadAttachment-CHFo3qZI-fjIbqTID.js} +21 -21
- package/dist/assets/{uploadReceipts-BH9fi3Vt-CMw2oH6c.js → uploadReceipts-Buvz7DfG-BUbqoJXB.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPageContent-qqbfRfuR-C7-_5sOr.js +0 -149
- package/dist/assets/AccountRow-CPX-627p-DXjzC4oo.js +0 -298
- package/dist/assets/ArAgingChart-BRcy3--o-CVhUhHyt.js +0 -24
- package/dist/assets/BusinessVerificationPage-DT24fycp-C-SVysZz.js +0 -140
- package/dist/assets/ChargeCardPromoPage-DOibcN9n-CE5UscbC.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-DaaWfNin-DQUFbJAl.js +0 -206
- package/dist/assets/CompleteProfile-MP9AF8Iu-Dltf62Ac.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DZXeTXsZ.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DJbFeXms-uTvDgNTn.js +0 -107
- package/dist/assets/DashboardReportPage-3X6wpJL2-BK7Yd62F.js +0 -349
- package/dist/assets/DomesticWireDetailsPage-D-qwPVDs-YqgObZaE.js +0 -21
- package/dist/assets/LabeledDocumentField-DORRl3DI-BiJSEJu5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-D495n-7f.js +0 -59
- package/dist/assets/MailingDetailsSection-D8CZart4-Bbi4CmcC.js +0 -21
- package/dist/assets/NoDataChart-VE4W-RUu-D223toQY.js +0 -26
- package/dist/assets/NotificationsListConfig-DVBOQJZq-DD4o-ZVG.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BQiu7Gts-zt4bAw_Z.js +0 -314
- package/dist/assets/ReportTableViewSelector-Bss4AtF1-Y5yDfA7f.js +0 -133
- package/dist/assets/ReportsPage-C-g9588h-CalWBFdb.js +0 -120
- package/dist/assets/TaskManagementPage-z5uvcy81-DXWG5Ln7.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-bVTDjcsV.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DqOWNGB_-CL_O8Dxf.js +0 -58
- package/dist/assets/TrendChart-76tuu9Dr-CtZTTvAn.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D5-Eit3W.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import{u as X,X as se,aV as ie,a as ce,j as a,m as de,M as J,F as he,C,a7 as ue,o as c,bE as pe,bF as me,bG as fe,ah as ge,bH as xe,p as h,v as be,J as q,bI as ye,ab as _e,s as we,b1 as ve}from"./index-Bh_1R5Ob.js";import{b as f,f as ae,n as u}from"./vendor-CnQcJ2Lu.js";import{r as j,a as $e}from"./CollapsableReportTable-DMr2UDgH-BRQiHTxy.js";const A=J.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,ke=e=>({this_period:{start_date:e.thisPeriod.startDate.format(A),end_date:e.thisPeriod.endDate.format(A)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Ce=e=>e!=null?{start_date:e.startDate.format(A),end_date:e.endDate.format(A)}:void 0;function je(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(A):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:ke(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Ce(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function Je(e,l,n){const s=J.getLocalizedStrings().downloadReport,r=`${e}?query=${encodeURIComponent(JSON.stringify(je(n)))}`;try{const d=await pe({urlEndPoint:r,authParams:l,fileType:n.statementFileType});if(d.ok){const x=me(d.headers,s.defaultFileName),b=await d.arrayBuffer();fe(b,x)}else console.error(`${s.reportErrorMessage} ${d.statusText}`)}catch(d){console.error(`${s.reportErrorMessage} ${JSON.stringify(d)}`)}}const Ne=u.div`
|
|
2
|
-
padding: 0 ${c.sp3} 0 ${c.sp3};
|
|
3
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
-
background: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border-radius: ${c.sp1};
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
position: relative;
|
|
10
|
-
height: ${c.sp8};
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
`,Se=u(we)`
|
|
13
|
-
color: ${e=>e.theme.colors.primary};
|
|
14
|
-
margin-top: -2px;
|
|
15
|
-
`,Oe=u(ve)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
width: 12px;
|
|
18
|
-
height: 12px;
|
|
19
|
-
margin: auto ${c.sp0};
|
|
20
|
-
:hover {
|
|
21
|
-
color: ${e=>e.theme.colors.primary};
|
|
22
|
-
}
|
|
23
|
-
`,Ie=e=>{const{value:l,onClick:n}=e,s=X();return a.jsxs(Ne,{onClick:n,children:[a.jsx(Se,{style:{color:s.colors.primary},children:l}),a.jsx(Oe,{})]})},De=ae.memo(Ie);function Fe({backgroundColor:e,foregroundColor:l,animated:n,width:s,height:r}){return a.jsxs(ye,{speed:2,width:s,height:r,viewBox:`0 0 ${s} ${r}`,animate:n!=!1,backgroundColor:e,foregroundColor:l,style:{marginBottom:c.sp2},children:[a.jsx("rect",{x:"45",y:h[3],rx:"5",ry:"5",width:"120",height:h[4]}),a.jsx("rect",{x:"45",y:h[8],rx:"5",ry:"5",width:"120",height:h[4]}),a.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:h[4]}),a.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:h[4]})]})}function ne({nestedClass:e,isLastNode:l,config:n,parentNodeIDs:s}){const r=j("checkbox_and_name_only",[],e.classId[0]),d={children:[],id:r,isLastNode:l,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return d.children=e.children.map((x,b)=>ne({nestedClass:x,config:n,isLastNode:b===e.children.length-1,parentNodeIDs:[...s,r]})),d}function Pe(e,l){const n=e.map((s,r)=>{const d=j("checkbox_and_name_only",[],s.classId[0]),x={children:[],id:d,isLastNode:s.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:s.className,data:s,numOfBalances:0},config:l}},b=s.children.map(N=>ne({nestedClass:N,config:l,isLastNode:r===s.children.length-1,parentNodeIDs:[d]}));return x.children.push(...b),x});return{config:l,headerNodes:[],contentNodes:[...n]}}function Ee(e,l){Object.assign(e.config,l);const n=e.contentNodes;return n.forEach(s=>re(s,l)),{config:l,headerNodes:[],contentNodes:[...n]}}function re(e,l){Object.assign(e.reportElementData.config,l),e.children.forEach(n=>re(n,l))}const K={contentPaddingLeft:new C(h[3],h[3],h[2]),contentPaddingRight:new C(h[3],h[3],h[2])},Te=u.div`
|
|
24
|
-
height: ${e=>e.height}px;
|
|
25
|
-
width: 100%;
|
|
26
|
-
`,Be=({reportId:e,firstMonthOfFY:l,nestedClassHierarchy:n,classesToBeFilteredOut:s,selectedView:r,showClassAccountNumber:d,scrollPosition:x,onScroll:b,nodeOpenStatus:N,onNodeCollapseToggled:R,onToggleCheck:S})=>{const M=X(),E=se(),[m,O]=f.useState(void 0),[I,g]=f.useState(!1),[T,v]=f.useState({}),[$,H]=f.useState(void 0),[D,y]=f.useState(r),_="none",Y=t=>r==="account_group"?!0:s?.length>0?s.find(o=>o[0]===t[0])!=null:!1,W=(t,o)=>{g(!0),v(t),S?.(t,o,r==="account_group"?!0:void 0),B(t,o)},B=(t,o)=>{const i=z(t);for(const p of i.children)S?.(p.classId,o),B(p.classId,o)},z=t=>{let o=n.filter(i=>i.classId[0]===t[t.length-1])[0];for(let i=t.length-2;i>=0;i--)o=o.children.filter(p=>p.classId[0]===t[i])[0];return o},F=t=>{if(t.length>1){const o=z(t.slice(1));let i=!1;for(const p of o.children)if(s.find(k=>k[0]===p.classId[0])===void 0){i=!0;break}i===!0?S?.(o.classId,!0):S?.(o.classId,!1),v(o.classId)}};f.useEffect(()=>{I&&F(T)}),f.useEffect(()=>{const t={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:_,firstMonthOfFY:l,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:Y,showClassAccountNumber:d};if(m==null||!q($,n)||!q(D,r)||I===!0){const o=Pe(n,t);H(n),O(o),y(r)}else{const o=Ee(m,t);O(o),y(r)}},[n,r,s]);const[G,V]=f.useState(5),L=t=>{const o=t+h[6];V(o)};return m!=null?a.jsx(Te,{height:G,children:a.jsx($e,{backgroundColor:r==="classes"?new _e(M.colors.background):void 0,rootNodes:m,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:K.contentPaddingLeft.value(E),right:K.contentPaddingRight.value(E)},scrollPosition:x,onScroll:b,nodeOpenStatus:N,onNodeCollapseToggled:R,onToggleCheck:W,onReportTableHeightChanged:L})}):null},w={width:new C(350,400,400),height:new C(165,165,165),buttonWidth:new C(62,62),buttonHeight:new C(h[5],h[5]),containerWidth:new C(150,400,400)},Le=u.div`
|
|
27
|
-
position: relative;
|
|
28
|
-
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
-
`,Ae=u.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
width: ${e=>w.containerWidth.valuePx(e.windowSize)};
|
|
33
|
-
`,Me=u(ge)`
|
|
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: ${c.sp2};
|
|
48
|
-
margin-top: 12px;
|
|
49
|
-
align-items: center;
|
|
50
|
-
`,He=u(xe)`
|
|
51
|
-
color: ${e=>e.theme.colors.hero};
|
|
52
|
-
width: ${c.sp4};
|
|
53
|
-
height: ${c.sp4};
|
|
54
|
-
&:hover {
|
|
55
|
-
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
}
|
|
57
|
-
`,We=u.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: ${c.sp1};
|
|
65
|
-
box-shadow: ${e=>`${c.sp0} 2px ${c.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
-
margin-top: 10px;
|
|
67
|
-
padding-top: ${c.sp1};
|
|
68
|
-
background: ${e=>e.theme.colors.grey5};
|
|
69
|
-
`,Q=u.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: ${c.sp3};
|
|
82
|
-
height: ${c.sp3};
|
|
83
|
-
padding: 2px;
|
|
84
|
-
background-clip: content-box;
|
|
85
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
margin: ${c.sp0} ${c.sp2} ${c.sp0} ${c.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
|
-
`,U=u(be)`
|
|
103
|
-
height: ${c.sp6};
|
|
104
|
-
display: flex;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
align-items: center;
|
|
107
|
-
`,ze=u.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
|
-
`,Ge=u.div`
|
|
121
|
-
width: 100%;
|
|
122
|
-
height: 65px;
|
|
123
|
-
`,Z=u.label`
|
|
124
|
-
color: ${e=>e.theme.colors.primary};
|
|
125
|
-
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
126
|
-
`,Re=u.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
flex: 1;
|
|
129
|
-
width: inherit;
|
|
130
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
131
|
-
min-height: 1px;
|
|
132
|
-
max-height: 1px;
|
|
133
|
-
`,{reportViewSelector:P,common:{footer:ee}}=J.getLocalizedStrings(),te="tableViewSelector",oe=e=>`${e}_form`;function Ke({reportId:e,firstMonthOfFY:l,nodes:n,classesListFetchState:s,selectedView:r,classesToBeFilteredOut:d,showClassAccountNumber:x,onOpenAccountViewMode:b,onSaveClick:N,isClassViewDisabled:R,downloadPage:S,showAccountGroups:M=!0}){const E=X(),m=se(),[O,I]=f.useState(!1),[g,T]=f.useState(r),[v,$]=f.useState({}),H=(t,o)=>(t.forEach(i=>{o.push(i.classId),o=H(i.children,o)}),o),D=H(n,[]),[y,_]=f.useState(g==="classes"?d:D),Y=s!=="Completed"||g==="classes"&&y.length===D.length;ie({componentName:`reports.${e}`});const W=t=>t==="classes"?P.classes.label:M===!0?P.accountGroups.label:P.accounts.label,B=ce({mode:"all"}),z=B.handleSubmit(()=>{I(!1),g==="classes"?N?.("classes",y):N?.("account_group")}),F=t=>{if(T(t),t==="classes")$({}),_([]);else{_(D);let o={};n.forEach(i=>{const p=j("checkbox_and_name_only",[],i.classId[0]);o=Object.assign({},o,{[p]:!1})}),$(o)}},G=()=>{O===!0&&L(),I(!O);let t={};n.forEach(o=>{const i=j("checkbox_and_name_only",[],o.classId[0]);r==="account_group"||y.find(p=>p[0]===o.classId[0])!==void 0?t=Object.assign({},t,{[i]:!1}):t=Object.assign({},t,{[i]:!0})}),$(t)},V=(t,o,i)=>{if(i===!0&&(T("classes"),_(D)),o===!0){const p=j("checkbox_and_name_only",[],t[0]);v[p]=!0,$(v),_(k=>k.filter(le=>le[0]!==t[0]))}else{const p=j("checkbox_and_name_only",[],t[0]);v[p]=!1,y.find(k=>k[0]===t[0])===void 0&&_(k=>[...k,t])}},L=()=>{I(!1),T(r),_(d)};return f.useEffect(()=>{if(s==="Completed"&&g==="account_group"){let t={};n.forEach(o=>{const i=j("checkbox_and_name_only",[],o.classId[0]);t=Object.assign({},t,{[i]:!1})}),$(t)}},[s]),a.jsx(de,{onClickAway:L,children:a.jsxs(Le,{isDisabled:R??!1,children:[S===!0?a.jsx(De,{value:W(r),onClick:()=>{b?.(),G()}}):a.jsx(Ae,{windowSize:m,children:a.jsxs(Me,{onClick:t=>{t.preventDefault(),b?.(),G()},children:[a.jsx(He,{className:"dropdownIcon"}),W(r)]})}),O?a.jsx(he,{...B,children:a.jsx("form",{id:oe(te),onSubmit:z,children:a.jsxs(We,{width:w.width.value(m),children:[a.jsx(Q,{checked:g==="account_group",children:a.jsxs(U,{onClick:()=>g!=="account_group"?F("account_group"):null,children:[a.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:t=>F(t.currentTarget.value),checked:g==="account_group",disabled:s!=="Completed"}),a.jsx(Z,{disabled:s!=="Completed",children:M===!0?P.accountGroups.dropdownLabel:P.accounts.dropdownLabel})]})}),a.jsx(Re,{}),a.jsxs(Q,{checked:g==="classes",children:[a.jsxs(U,{onClick:()=>s==="Completed"?F("classes"):null,children:[a.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:t=>s==="Completed"?F(t.currentTarget.value):null,checked:g==="classes",disabled:s!=="Completed"}),a.jsx(Z,{disabled:s!=="Completed",children:P.classes.dropdownLabel})]}),s==="Completed"?a.jsx(ze,{id:"sectionformcontainer",children:a.jsx(Ye,{reportId:e,firstMonthOfFY:l,nestedClassHierarchy:n,classesToBeFilteredOut:y,selectedView:g,nodeOpenStatus:v,showClassAccountNumber:x,onToggleCheck:V})}):a.jsx(Fe,{backgroundColor:E.colors.grey3,foregroundColor:E.colors.grey4,width:w.width.value(m),height:w.height.value(m),animated:!0})]}),a.jsx(Ge,{children:a.jsx(ue,{formId:oe(te),primaryBtn:{label:ee.save,style:{width:w.buttonWidth.valuePx(m),height:w.buttonHeight.valuePx(m)},isLoading:!1,isDisabled:Y,size:"small"},showCancel:!0,cancelBtn:{label:ee.cancel,style:{width:w.buttonWidth.valuePx(m),height:w.buttonHeight.valuePx(m)},onClick:L,size:"small",shouldResetOnCancel:!0},style:{padding:c.sp3}})})]})})}):null]})})}const Ye=ae.memo(Be,q);export{Je as X,Ke as e};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import{X as U,u as W,M as y,w as le,l as b,j as i,Y as L,bg as de,aY as pe,aW as ue,C as R,o as C,a9 as he,d as fe,bh as me,p as w,I as A,J as q,bi as ge,ab as _e,b5 as be,a_ as Se}from"./index-Bh_1R5Ob.js";import{b as T,f as K,n as _}from"./vendor-CnQcJ2Lu.js";import{m as D,l as Y}from"./analyticsHelper-CZ8c8du5-BYQerWlM.js";import{e as we}from"./ReportTableViewSelector-Bss4AtF1-Y5yDfA7f.js";import{a as J,p as Ce}from"./TimeRangeSwitcher-DQ-u6pKk-C9r3FAYu.js";import{P as ye}from"./TimeframeSwitcherWithToggle-BlbY3qcY-bVTDjcsV.js";import{DownloadOverlayButton as xe}from"./DownloadOverlay-BLj0xso_-C6DwpnXr.js";import{a as Oe,r as M,b as X}from"./CollapsableReportTable-DMr2UDgH-BRQiHTxy.js";import{T as Q,I as ee,L as $,D as Ae,g as te}from"./mapSectionWithAcOnlyToTreeNode-C-VOXE5I-IEIwZ2Vf.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-EEyJwCnX-DL3MQtPA.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-B0yxn0SJ-BcwixCzj.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-CPX-627p-DXjzC4oo.js";function se({section:e,sectionId:t,numOfBalances:o,config:a}){return X("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(s=>Re({accountGroup:s,sectionType:t,numOfBalances:o,title:s.accountGroupName,isLastNode:!0,config:a}))}function Re({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:s,config:l}){const p=M("section",[],a+t),d={children:[],id:p,isLastNode:s,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:l}},n=X("no_filter",l.filterAccountsWithNilBalances,l.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),g=n.map((r,u)=>te({account:r,sectionType:t,numOfBalances:o,title:r.account.accountName,config:l,isLastNode:u===n.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:r.children.length>0,isLastNode:u===n.length-1}]}}));return d.children.push(...g),d}function ne({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((s,l)=>te({account:s,sectionType:t,numOfBalances:o,title:s.account.accountName,config:a,isLastNode:l===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:s.children.length>0,isLastNode:l===e.accounts.length-1}]}}))}function oe({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("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 Be(e,t,o,a=!0){Object.assign(e.config,t);const s=ae(o),l=G({balances:s,config:t});return{config:t,headerNodes:a?[l]:[],contentNodes:[l,...e.contentNodes.slice(1)]}}const ae=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 ve(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,s=y.getLocalizedStrings().reports.balanceSheet,l=ae(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&l.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=oe({balances:l,config:t}),n=[];return n.push(d),Object.keys(e.rootSectionsWithSubSectionIds).forEach(g=>{const r=M("title_string_only",[],g),u={children:[],id:r,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[g],data:void 0,numOfBalances:0},config:t}};n.push(u),e.rootSectionsWithSubSectionIds[g].forEach(c=>{if(b.isBalanceSheetReportViewSectionID(c)===!0)if(e.sections[c].accountGroups.length>0)if(c==="equity"){const f=se({sectionId:c,section:e.sections[c],numOfBalances:p,config:t});n.push(...f)}else n.push(Q({section:e.sections[c],sectionType:c,numOfBalances:p,title:s[c],isLastNode:!0,config:t}));else if(c==="equity"){const f=ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:p,config:t});n.push(...f)}else{const f=e.sections[c];n.push(ee({sectionWithAcOnly:f,sectionType:c,numOfBalances:p,title:s[c],isLastNode:!0,config:t}))}else b.isBalanceSheetReportViewCalculatedSectionID(c)===!0&&n.push($({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[d]:[],contentNodes:n}}function Te({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:s}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:s}}}function Le(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,s=y.getLocalizedStrings().reports.cashFlow,l=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&l.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=oe({balances:l,config:t}),n=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(g=>{const r=M("title_string_only",[],g),u={children:[],id:r,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[g],data:void 0,numOfBalances:0},config:t}};n.push(u),e.rootSectionsWithSubSectionIds[g].forEach(c=>{if(b.isCashFlowReportViewSectionID(c)===!0)if(e.sections[c].accountGroups.length>0){const f=se({sectionId:c,section:e.sections[c],numOfBalances:p,config:t});n.push(...f)}else{const f=ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:p,config:t});n.push(...f)}else b.isCashFlowReportViewCalculatedSectionType1ID(c)===!0?n.push(Te({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t})):b.isCashFlowReportViewCalculatedSectionID(c)===!0&&n.push($({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[d]:[],contentNodes:[d,...n]}}function ke(e,t,o=!0){const a=y.getLocalizedStrings().reports,s=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]:[],l=t.mode!=null&&t.mode==="this_period_vs_period_before"&&s.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=G({balances:s,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{b.isPandLReportViewSectionID(n)===!0?d.push(Ae({section:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t})):b.isPandLReportViewCalculatedSectionID(n)===!0&&d.push($({calculatedSection:e.calculatedSections[n],numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:d}}function Ne(e,t,o=!0){const a=y.getLocalizedStrings().reports,s=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]:[],l=t.mode!=null&&t.mode==="this_period_vs_period_before"&&s.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=G({balances:s,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{if(b.isPandLReportViewSectionID(n)===!0&&(e.sections[n].accountGroups.length>0?d.push(Q({section:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t})):d.push(ee({sectionWithAcOnly:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))),b.isPandLReportViewCalculatedSectionID(n)===!0){const g=e.calculatedSections[n];g!=null&&d.push($({calculatedSection:g,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:d}}const Z={contentPaddingLeft:new R(w[0],w[0],w[0]),contentPaddingRight:new R(w[3],w[3],w[8])},Pe=_.div`
|
|
2
|
-
height: ${e=>e.height}px;
|
|
3
|
-
width: 99.9%;
|
|
4
|
-
margin-top: ${C.sp2};
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
-
`;function Ie({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:s,onAdditionalBalanceSelectionChanged:l,onAccountBalanceClick:p,onTableScroll:d,onElementCollapseStateChanged:n,isCompareModeOn:g}){const r=U(),u=W(),[c,f]=T.useState(void 0),[F,N]=T.useState(void 0),B=!(r==="small"||r==="medium-compact"),j="name+balances_actual",E=g===!0?"this_period_vs_period_before":"none",x=()=>{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(V=>b.toTimeframeTick(V));break}case"profit_and_loss_by_classes":{const h=e;m=(h.sections.expenses.balances.length>0?h.sections.expenses:h.sections.income).additionalBalances.map(V=>b.toTimeframeTick(V));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(h=>b.toTimeframeTick(h));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(h=>b.toTimeframeTick(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:E,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Se(),showClassAccountNumber:s};if(c==null||!q(F,e)){const h=Me(e,m,B);N(e),f(h)}else{const h=Be(c,m,e,B);f(h)}},[g,e]);const[O,P]=T.useState(5),I=m=>{const h=m+135;P(h)},re=m=>m?.trackPageLoaded($e(e));return c!=null?i.jsxs(i.Fragment,{children:[i.jsx(ge,{analytics:a,onLoad:re}),i.jsx(Pe,{height:O,children:i.jsx(Oe,{backgroundColor:new _e(u.colors.grey4),rootNodes:c,type:j,compareMode:x(),isSticky:{isStickyHeader:B,isStickyName:B},treeNodePadding:{left:Z.contentPaddingLeft.value(r),right:Z.contentPaddingRight.value(r)},onAccountClick:p==null?void 0:(m,h)=>{p(m,h)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>l?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,h)=>n?.(e.reportId,m,h),onReportTableHeightChanged:I,onScroll:m=>d?.(e.reportId,m)})})]}):null}const Me=(e,t,o=!0)=>{switch(e.reportId){case"profit_and_loss":return Ne(e,t,o);case"profit_and_loss_by_classes":return ke(e,t,o);case"cash_flow":return Le(e,t,o);case"balance_sheet":return ve(e,t,o);default:return}},$e=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}},Fe=_.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
10
|
-
justify-content: center;
|
|
11
|
-
width: 100%;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,je=_.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
`,Ee=_(be)`
|
|
17
|
-
padding: 12px;
|
|
18
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
19
|
-
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
20
|
-
margin: ${e=>e.spaceAround?`0 ${C.sp4}`:0};
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
&:hover {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
`,Ve=_.div`
|
|
28
|
-
height: 2px;
|
|
29
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
30
|
-
border-radius: 1px;
|
|
31
|
-
position: absolute;
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
transition: left 0.35s;
|
|
35
|
-
&.profit_and_loss {
|
|
36
|
-
width: 106px;
|
|
37
|
-
left: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.profit_and_loss_by_classes {
|
|
41
|
-
width: 106px;
|
|
42
|
-
left: 0;
|
|
43
|
-
}
|
|
44
|
-
&.balance_sheet {
|
|
45
|
-
width: 114px;
|
|
46
|
-
left: 30%;
|
|
47
|
-
}
|
|
48
|
-
&.cash_flow {
|
|
49
|
-
width: 160px;
|
|
50
|
-
left: 63%;
|
|
51
|
-
}
|
|
52
|
-
`;function De({reportId:e,isSelected:t,onClick:o}){const a=s=>{switch(s){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[s];default:return console.warn("Unsupported report"),""}};return i.jsx(Ee,{"data-testid":L("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function ze({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=s=>{o?.(s)};return i.jsx(Fe,{"data-testid":L("report-switcher-container"),children:i.jsx(je,{"data-testid":L("report-switcher-content"),children:e.map(s=>s!=="profit_and_loss_by_classes"&&i.jsxs("div",{children:[i.jsx(De,{reportId:s,isSelected:t===s,onClick:a}),i.jsx(Ve,{className:`Slider ${t}`})]},`reportSegment-${s}`))})})}const k={contentContainerLeftRightMargin:new R(w[3],w[3],w[8]),contentRightPadding:new R(w[3],w[3],w[8]),tickSkelectionContainerWidth:new R(343,600,905,1240)},Ue=new R(4,4),We=new R(4,4),Ge={selectedNumberOfPeriods:(e,t)=>e?We.value(t):Ue.value(t)},Ye=_.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
flex: 1 1 auto;
|
|
55
|
-
min-height: 100%;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
-
`,Ze=_.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
flex: 1 1 auto;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
height: calc(100vh - ${C.sp10});
|
|
63
|
-
margin: ${e=>`${C.sp2} ${C.sp0} ${C.sp0} ${k.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
64
|
-
`,He=_.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
width: 100%;
|
|
67
|
-
height: 100%;
|
|
68
|
-
flex-direction: row;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
align-items: center;
|
|
71
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
72
|
-
`,qe=_.div`
|
|
73
|
-
position: absolute;
|
|
74
|
-
margin-top: ${e=>e.windowSize==="small"?"250px":"195px"};
|
|
75
|
-
`,Ke=_.div`
|
|
76
|
-
display: flex;
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: calc(100% - 60px);
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
align-items: center;
|
|
82
|
-
`,Je=_.div`
|
|
83
|
-
height: 96px;
|
|
84
|
-
width: 96px;
|
|
85
|
-
background: ${e=>e.theme.colors.background};
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
& svg {
|
|
89
|
-
margin: ${C.sp5};
|
|
90
|
-
color: ${e=>e.theme.colors.grey1};
|
|
91
|
-
}
|
|
92
|
-
&:hover {
|
|
93
|
-
& svg {
|
|
94
|
-
color: ${e=>e.theme.colors.primary};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
`,Xe=_(he)`
|
|
98
|
-
margin-top: ${C.sp3};
|
|
99
|
-
color: ${e=>e.theme.colors.hero};
|
|
100
|
-
`,ie=({style:e,fetchState:t})=>t==="In-Progress"||t==="Not-Started"?i.jsx(He,{style:e,children:i.jsx(fe,{size:"ExtraLarge",start:!0})}):null,S=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}},z=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let s=Ge.selectedNumberOfPeriods(t,o);return a!=null&&(s=Math.min(s,a)),s};function Tt(e){const t=U(),o=W(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:s,onAdditionalBalanceSelectionChanged:l,onTimeframeSelectionChanged:p,isCompareMode:d,selectedReportAndTimeframeFetchState:n,onClickMenuIcon:g}=e,r=(x,O)=>{x!==u?.accountViewMode&&a?.(x),O&&s?.(O)};T.useEffect(()=>{if(e.fetchState==="Completed"){const x=S(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(x,e.isCompareMode,z({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const u=tt(e),c=y.getLocalizedStrings().reports.common,f=le(),F=f!=null&&b.hasInvestorBankerLevelAccess(f.loggedInUserRole)?"detailed":"more_detailed",N=f!=null&&b.hasInvestorBankerLevelAccess(f.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&u?.accountViewMode==="account_group"&&N.push("detailed");const[B,j]=K.useState(N.includes("more_detailed")?"detailed":"more_detailed"),E={selectedFormat:B,disabledFormatForRole:N,roleBasedClassesSelectedFormat:F,setSelectedFormat:j};if(n.fetchState==="Error"||e.fetchState==="Error")return i.jsxs(Ke,{"data-testid":L("report-page-error-reload-page"),children:[i.jsx(Je,{"data-testid":L("report-page-error-reload-icon"),onClick:e.onReloadReport,children:i.jsx(de,{})}),i.jsx(Xe,{children:c.failed})]});if(n.fetchState!=="Completed"&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return i.jsx(ie,{fetchState:e.fetchState});{const x=i.jsx(pe,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:u!=null&&e.dataAvailable!=null?i.jsx(xe,{defaultOptions:u,analytics:e.analytics,referrer:v(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:E,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:r,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(O,P,I)=>{l(d,O,P,I)},onTimeframeSelectionChanged:(O,P,I)=>{p?.(O,P,I)}}):i.jsx(i.Fragment,{})}}});return i.jsxs(Ye,{children:[i.jsx(ue,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:g,rightSideComponent:x,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),i.jsx(Qe,{...e})]})}}function Qe(e){const t=U(),o=W(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:s}=e,l=["month","quarter","year"],p=(r,u)=>{e.analytics?.trackCompareFilterChange(r==="this_period_vs_last_period_percent"?"percentage":"amount",v(e.selectedReport),D(e.selectedTimeframe),u);const c=Array.from(new Set(r==="this_period_vs_last_period_percent"?[...S(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(f=>f!=="this_period_vs_last_period"):[...S(e).filter.additionalBalances,"this_period_vs_last_period"].filter(f=>f!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,c,z({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},d=(r,u)=>{r!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(r),u&&e.onUpdateClassesToFilterOut?.(u)},n=S(e),g=a.current?.clientWidth??k.tickSkelectionContainerWidth.value(t);return i.jsxs(Ze,{windowSize:t,"data-testid":L("reports-page-content-container"),children:[i.jsx(ot,{windowSize:t,ref:a,children:i.jsx(ye,{timeframe:{allowedTimeframes:l,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:r=>{e.analytics?.trackTimeframeSwitch(D(r),v(e.selectedReport)),e.onTimeframeSelectionChanged?.(r,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:r=>{e.analytics?.trackCompareMode(r,v(e.selectedReport),D(e.selectedTimeframe));const u=S(e).filter;e.onAdditionalBalanceSelectionChanged?.(r,u.additionalBalances,u.balancesRange.numberOfPeriods)}}})}),s.fetchState==="Not-Started"||s.fetchState==="In-Progress"?i.jsx(it,{windowSize:t,children:i.jsx(ct,{children:i.jsx(me,{width:g,height:J-w[2],backgroundColor:o.colors.grey3,style:{borderRadius:C.sp2}})})}):i.jsx(at,{windowSize:t,children:i.jsx(Ce,{firstMonthOfFY:n.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:H(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:H(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(r,u)=>{e.analytics?.trackDateRangeFilterChange(v(e.selectedReport),"range filter",e.isCompareMode,Y(n.firstMonthOfFY,e.selectedTimeframe,u)),e.onThisPeriodChanged?.(u,z({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:r=>{const u=et(e.allTimeframeTicks,r.fromEnd);e.analytics?.trackDateRangeFilterChange(v(e.selectedReport),"range filter",e.isCompareMode,Y(n.firstMonthOfFY,e.selectedTimeframe,u.thisPeriod)),e.onCOABalancesRangeChanged?.(u)}})}),i.jsx(rt,{windowSize:t,children:i.jsx(ze,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:r=>{e.analytics?.trackPageLoaded(st(r)),r==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(r)}})}),s.fetchState==="Not-Started"||s.fetchState==="In-Progress"?i.jsx(ie,{style:{boxShadow:"none",backgroundColor:"inherit"},fetchState:s.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(ce,{report:S(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}),b.isPAndLReport(e.selectedReport)?i.jsx(qe,{windowSize:t,children:i.jsx(we,{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:d,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode})}):null]})]})}const H=(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}},et=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function tt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,d=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(d!=null&&d.balances.length>0){const n=p==="ascending_date"?d.balances.length-1:0;t=d.balances[n]}}const o=S(e).firstMonthOfFY,a=S(e).bookCloseDate,s=S(e).dataAvailable,l=S(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:s,timeframe:e.selectedTimeframe,additionalBalances:l,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 v=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}},ce=K.memo(Ie,(e,t)=>nt(e,t,["report","analytics","isCompareModeOn","isZeniUser"]));ce.displayName="Reports table";const nt=(e,t,o)=>o.reduce((a,s)=>a===!0&&q(e[`${s}`],t[`${s}`]),!0),ot=_.div`
|
|
101
|
-
padding-right: ${e=>k.contentRightPadding.valuePx(e.windowSize)};
|
|
102
|
-
`,at=_.div`
|
|
103
|
-
margin-top: ${C.sp3};
|
|
104
|
-
padding-right: ${e=>k.contentRightPadding.valuePx(e.windowSize)};
|
|
105
|
-
`,it=_.div`
|
|
106
|
-
margin-top: ${C.sp3};
|
|
107
|
-
padding-right: ${e=>k.contentRightPadding.valuePx(e.windowSize)};
|
|
108
|
-
`,ct=_.div`
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: row;
|
|
111
|
-
justify-content: flex-start;
|
|
112
|
-
min-height: ${J}px;
|
|
113
|
-
box-sizing: content-box;
|
|
114
|
-
width: 100%;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
`,rt=_.div`
|
|
118
|
-
margin-top: ${C.sp4};
|
|
119
|
-
padding-right: ${e=>k.contentRightPadding.valuePx(e.windowSize)};
|
|
120
|
-
`;export{Tt as default};
|