@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-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-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
- package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
- package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
- package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
- package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
- package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
- package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
- package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
- package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
- package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
- package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
- package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
- package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
- package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
- package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
- package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
- package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
- package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
- package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
- package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
- package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
- package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
- package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
- package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
- package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
- package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
- package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
- package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
- package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
- package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
- package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
- package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
- package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
- package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
- package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
- package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
- package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
- package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
- package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
- package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
- package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
- package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
- package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
- package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
- package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
- package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
- package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
- package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
- package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
- package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
- package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
- package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
- package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
- package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
- package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
- package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
- package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
- package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
- package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
- package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
- package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
- package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
- package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
- package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
- package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
- package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
- package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
- package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
- package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
- package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
- package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
- package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
- package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
- package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
- package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
- package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
- package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
- package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
- package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
- package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
- package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,
|
|
1
|
+
import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,ck as Rt,dD as Gt,x as D,dc as Et,ay as Ht,ab as rt,cv as De,bW as K,L as Oo,v as Mo,H as No,g as ce,aX as B,b1 as ni,bZ as ii,ap as Ne,dE as Po,dF as se,cj as Kt,c9 as _n,ak as zo,ao as Ce,dG as at,dH as Pe,dI as st,an as S,cq as ie,dJ as Fo,w as Yt,dK as Ze,dL as Ln,dM as To,dN as Vo,dO as An,dP as Do,dQ as Ro,dR as Go,bb as oi,aY as V,b8 as Eo,cI as Ut,cH as Zt,dS as Ho,b9 as ri,cL as ai,b$ as Ko,dT as Yo,dU as Uo,dV as Bn,dW as In,dX as Zo,dY as qo,c1 as Xo,bM as Qo,dZ as Jo}from"./index-B8J3c9-k.js";import{n as a,c as N}from"./mui-B_fu8zAT.js";import{a as z,P as er}from"./sentry-xNvKSthz.js";import{F$ as jt,FM as qt,Gh as Xt,Gi as Re,Gj as Qt,Gk as Jt,Gl as en,Gm as tn,Gn as li,Go as tr,FO as Ge,bm as Wn,bg as si,Gp as ci,cc as nr,bo as ir,G0 as di}from"./zeni-epic-state-SAYXyeZn.js";import{N as ct,D as or,R as rr,B as Se,u as _}from"./AccountRow-Dczx5rSu-C_XsKKay.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e750a8f4-7359-4551-9929-1ccd1fa3d2dc",e._sentryDebugIdIdentifier="sentry-dbid-e750a8f4-7359-4551-9929-1ccd1fa3d2dc")}catch{}})();function Z(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function hi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function Lt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function he(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function ue(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function pi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Ee=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=I.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${jt(o,l.MMMYYYYFormat,e)}`:Ct(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${I.getLocalizedStrings().reports.quarterPrefix}${jt(o,l.QYYYYformat,e)}`:Ct(r,i);case"year":return r==="default"||r==="default_with_percent"?`${jt(o,l.YYYYformat,e)}`:Ct(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Ct(e,n){return I.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Rg=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${Bo(10)}`},ar=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -125,7 +125,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
125
125
|
width: ${_.spacerLineWidth}px;
|
|
126
126
|
`,Wr=a.div`
|
|
127
127
|
width: ${_.statusWidth}px;
|
|
128
|
-
`,
|
|
128
|
+
`,qe=({title:e,type:n})=>t.jsx(vr,{widthValue:_[n],children:t.jsx($r,{children:e})});function Or({sectionTitle:e,height:n,isLoading:i}){const o=I.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(br,{height:n,children:t.jsxs(kr,{children:[t.jsx(jr,{children:t.jsx(se,{isLoading:i,customStyle:{height:c.sp4,width:_.leftLabelWidth},children:t.jsx(Sr,{"data-testid":x("account-recon-section-title",e),children:e})})}),t.jsxs(Cr,{children:[t.jsx(_r,{children:t.jsx(se,{isLoading:i,customStyle:{height:c.sp7,width:_.bankBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(qe,{title:o.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(Lr,{}),t.jsx(Ar,{children:t.jsx(se,{isLoading:i,customStyle:{height:c.sp7,width:_.clearedBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(qe,{title:o.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(Br,{children:t.jsx(se,{isLoading:i,customStyle:{height:c.sp7,width:_.varianceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(qe,{title:o.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Ir,{}),t.jsx(Wr,{children:t.jsx(se,{isLoading:i,customStyle:{height:c.sp7,width:_.statusTimeframeWidth,borderRadius:c.sp2},children:t.jsx(qe,{title:o.status,type:"statusTimeframeWidth"})})})]})]})})}const Mr=a.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
height: ${e=>e.heightValue}px;
|
|
@@ -221,7 +221,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
221
221
|
color: ${e=>e.textColor.hex()};
|
|
222
222
|
background-color: ${e=>e.bgColor.hex()};
|
|
223
223
|
min-width: ${_.variancePercentageWidth}px;
|
|
224
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:On}}},common:{strings:{percentage:
|
|
224
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:On}}},common:{strings:{percentage:qr,hyphen:lt}}}=I.getLocalizedStrings();function Xr({height:e,sectionData:n}){const i=W(),o=n.totalVariance,r=n.totalVariancePercentage,l=ce();return t.jsx(zr,{"data-testid":x("total-row-root-container"),heightValue:e,windowSize:i,children:t.jsxs(Fr,{isClickable:!1,"data-testid":x("total-row-container"),children:[t.jsxs(Tr,{children:[t.jsx(Se,{firstLetter:On.section[n.sectionId].subTitle.charAt(0),color:new B(l.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsx(Vr,{children:On.section[n.sectionId].subTitle})]}),t.jsxs(Dr,{children:[t.jsx(Rr,{children:n.totalBankBalance!=null?U("0,0",n.totalBankBalance):lt}),t.jsx(Gr,{children:n.totalClearedBalance!=null?U("0,0",n.totalClearedBalance):lt}),t.jsx(Qr,{variance:o,variancePercentage:r}),t.jsx(Hr,{children:t.jsx(Kr,{heightValue:e})}),t.jsx(Er,{})]})]})})}const Qr=({variance:e,variancePercentage:n})=>{const i=ce(),o=new B(i.colors.hero),r=new B(i.colors.hero),l=new B(i.colors.background),s=e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${qr}`:lt;return t.jsxs(Yr,{children:[t.jsx(Ur,{textColor:o,children:e!=null?U("0,0",e):lt}),t.jsx(Zr,{textColor:r,bgColor:l,children:s})]})};function Jr(){return t.jsx(yr,{height:ct("section")})}function ea(){return t.jsx(mr,{height:ct("loading_in_progress")})}function ta(e,n){if(e.element.kind!=="timeframe_headers")return null;const i=I.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,o=e.element.data,r=o.accountIDs.length===0;return t.jsx(Or,{sectionTitle:i.section[o.sectionId].title,isLoading:r,isSticky:n,height:ct("timeframe_headers")})}const na=(e,n,i)=>{const o=e.element.data;return t.jsx(Xr,{isSticky:i,height:n,sectionData:o})},ia=(e,n)=>{const i=e.element.data,o=I.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Pr,{height:n,title:o.section[i.sectionId].title})},oa=(e,n,i)=>{const o=e.element.data,r=e.config.accountReconciliationConfig?.selectedDrawerAccountId!=null?o.accountReconEntity.account.accountId===e.config.accountReconciliationConfig?.selectedDrawerAccountId:!1;return t.jsx(rr,{height:n,accountRecon:o,isLastRow:i,isSelectedRow:r,onReviewClicked:e.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:e.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:e.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:e.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:e.config.accountReconciliationConfig?.onStatementAddClicked})},k={balanceHeight:c.sp4,balanceHeightInPx:w[4],balanceWidth:"166px",balanceWidthInPx:166,loadingBalanceWidthInPx:128,smallLoadingBalanceWidthInPx:98,balanceLeftMargin:c.sp4,balanceLeftMarginInPx:w[4],titleWidth:new D(200,325,405),loadingInProgressStickySectionWidth:385,get loadingInProgressScrollableSectionWidth(){return`calc(100% - ${this.loadingInProgressStickySectionWidth}px)`},loadingInProgressLargeStickyColumnWidth:194,loadingInProgressSmallStickyColumnWidth:128};function ra(e){switch(e){case"section":return w[8];case"section_with_ac_only":return w[8];case"calculated_section":case"calculated_section_type1":return w[8];case"ac_group_report":case"ac_group_subaccount":return w[6];case"ac_subentity_total":case"ac_subaccount":case"ac_report":return w[6];case"title_string_only":case"total":return w[6];case"timeframe_headers":case"class_headers":case"headers_loading_in_progress":return w[11];case"timeframe_headers_with_forecast":return 98;case"loading_in_progress":case"class":case"checkbox_and_name_only":return w[6];default:return 0}}function aa(e,n,i=0){const o=["summary"];switch(e){case"section":return!o.includes(n);case"section_with_ac_only":return!o.includes(n);case"calculated_section":case"calculated_section_type1":return!1;case"ac_group_report":return!1;case"ac_group_subaccount":return!(o.includes(n)||n==="detailed"&&i>0);case"ac_report":return!1;case"ac_subaccount":case"ac_subentity_total":return!(o.includes(n)||n==="detailed"&&i>0);case"title_string_only":return!o.includes(n);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":case"class_headers":return!1;case"class":return!(n==="detailed"&&i>0);case"checkbox_and_name_only":return!0;default:return!1}}const pe=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!0}},be=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!1}},gi={emptyLeftContainer:new D(w[0],w[5])},la=a(S)`
|
|
225
225
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?c.sp3:c.sp2};
|
|
226
226
|
overflow: hidden;
|
|
227
227
|
white-space: nowrap;
|
|
@@ -249,7 +249,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
249
249
|
height: ${c.sp1};
|
|
250
250
|
`,ze=a.div`
|
|
251
251
|
display: flex;
|
|
252
|
-
`,pa=({ancestorMetadata:e,depth:n,name:i})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(o=>{const r=e[o];return t.jsxs(ze,{children:[r.depth===0?t.jsx(An,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}):null,r.depth>=1?t.jsx(An,{depth:r.depth}):null]},i+o)}):null}),xi=({ancestorMetadata:e,depth:n,name:i})=>{const o=W();return n===0?e[n].hasChildren===!1?t.jsx(fi,{windowSize:o}):t.jsxs(ze,{children:[t.jsx(Ze,{depth:n}),t.jsx(Pe,{}),t.jsx(Ze,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],s=r!==n?e[r+1]:void 0;return t.jsxs(ze,{children:[l.depth===0?t.jsx(Ze,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?n===1?t.jsx(Ln,{index:1}):t.jsx(Ln,{index:2}):null,(n===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?t.jsx(Pe,{},r):t.jsx(st,{}),t.jsx(Ze,{depth:l.depth+1})]},i+r)}),n===1&&e[n].hasChildren!=!0?t.jsx(ua,{}):null]})},mi=({ancestorMetadata:e,depth:n,name:i})=>n===0?t.jsx(ha,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(o=>{const r=e[o],l=o!==n?e[o+1]:void 0;return t.jsxs(ze,{children:[r!=null&&r.depth===0?t.jsx(at,{depth:r.depth}):null,l!=null&&!l.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}),t.jsx(at,{depth:r!=null?r.depth+1:0})]},i+o)})}),ga=({ancestorMetadata:e,depth:n,name:i})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(o=>{const r=e[o];return r==null?null:t.jsxs(ze,{children:[r.depth===0?t.jsx(at,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}):null,r.depth>=1?t.jsx(at,{depth:r.depth}):null]},i+o)}):null}),fa=({depth:e,isLastNode:n,isLeaf:i,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>{let d=t.jsx(da,{});return e===0&&r&&(d=t.jsx(Uo,{collapsed:l,onIconClick:s})),e>0&&(r&&!o&&n&&(d=t.jsx(Bn,{collapsed:l,onIconClick:s})),i&&o&&n&&(d=t.jsx(In,{})),i&&o&&!n&&(d=t.jsx(Zo,{})),r&&o&&!n&&(d=t.jsx(
|
|
252
|
+
`,pa=({ancestorMetadata:e,depth:n,name:i})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(o=>{const r=e[o];return t.jsxs(ze,{children:[r.depth===0?t.jsx(An,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}):null,r.depth>=1?t.jsx(An,{depth:r.depth}):null]},i+o)}):null}),xi=({ancestorMetadata:e,depth:n,name:i})=>{const o=W();return n===0?e[n].hasChildren===!1?t.jsx(fi,{windowSize:o}):t.jsxs(ze,{children:[t.jsx(Ze,{depth:n}),t.jsx(Pe,{}),t.jsx(Ze,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],s=r!==n?e[r+1]:void 0;return t.jsxs(ze,{children:[l.depth===0?t.jsx(Ze,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?n===1?t.jsx(Ln,{index:1}):t.jsx(Ln,{index:2}):null,(n===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?t.jsx(Pe,{},r):t.jsx(st,{}),t.jsx(Ze,{depth:l.depth+1})]},i+r)}),n===1&&e[n].hasChildren!=!0?t.jsx(ua,{}):null]})},mi=({ancestorMetadata:e,depth:n,name:i})=>n===0?t.jsx(ha,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(o=>{const r=e[o],l=o!==n?e[o+1]:void 0;return t.jsxs(ze,{children:[r!=null&&r.depth===0?t.jsx(at,{depth:r.depth}):null,l!=null&&!l.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}),t.jsx(at,{depth:r!=null?r.depth+1:0})]},i+o)})}),ga=({ancestorMetadata:e,depth:n,name:i})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(o=>{const r=e[o];return r==null?null:t.jsxs(ze,{children:[r.depth===0?t.jsx(at,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Pe,{},o):t.jsx(st,{}):null,r.depth>=1?t.jsx(at,{depth:r.depth}):null]},i+o)}):null}),fa=({depth:e,isLastNode:n,isLeaf:i,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>{let d=t.jsx(da,{});return e===0&&r&&(d=t.jsx(Uo,{collapsed:l,onIconClick:s})),e>0&&(r&&!o&&n&&(d=t.jsx(Bn,{collapsed:l,onIconClick:s})),i&&o&&n&&(d=t.jsx(In,{})),i&&o&&!n&&(d=t.jsx(Zo,{})),r&&o&&!n&&(d=t.jsx(qo,{collapsed:l,onIconClick:s})),r&&o&&n&&(d=t.jsx(Bn,{collapsed:l,onIconClick:s})),n&&i&&(d=t.jsx(In,{}))),d},xa=({depth:e,isLastNode:n,isLeaf:i,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>t.jsx(ca,{children:t.jsx(fa,{depth:e,isLastNode:n,isLeaf:i,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})});function nn(e){const{displayName:n}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const i=W();return t.jsxs(sa,{children:[e.classDepth!=null?t.jsx(xi,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(fi,{windowSize:i}):null,t.jsx(ga,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(xa,{...e}),t.jsx(la,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:i,title:n,children:n})]})}const H={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,325,405),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function ma(e){switch(e){case"timeframe_headers":return w[10];case"aging_report_row":return w[6];case"ac_subentity_total":return w[6];case"total":return w[8];case"spacer_row":return w[8];default:return w[0]}}function wa(){return!0}const Xe=[new D(w[4],w[8]),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],ya=a.div`
|
|
253
253
|
display: flex;
|
|
254
254
|
flex: 1 1 auto;
|
|
255
255
|
max-height: 1px;
|
|
@@ -276,8 +276,8 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
276
276
|
left: ${c.sp0};
|
|
277
277
|
`:null}
|
|
278
278
|
`,ja=a.div`
|
|
279
|
-
width: ${e=>e.noMarginForEntity?
|
|
280
|
-
max-width: ${e=>e.noMarginForEntity?
|
|
279
|
+
width: ${e=>e.noMarginForEntity?Xe[e.nestingLevel].value(e.windowSize)-w[5]:Xe[e.nestingLevel].value(e.windowSize)}px;
|
|
280
|
+
max-width: ${e=>e.noMarginForEntity?Xe[e.nestingLevel].value(e.windowSize)-w[5]:Xe[e.nestingLevel].value(e.windowSize)}px;
|
|
281
281
|
height: 1px;
|
|
282
282
|
`,Ca=a.div`
|
|
283
283
|
display: flex;
|
|
@@ -553,7 +553,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
553
553
|
top: ${c.sp0};
|
|
554
554
|
left: ${c.sp0};
|
|
555
555
|
`:null}
|
|
556
|
-
`,
|
|
556
|
+
`,qa=a(ie)`
|
|
557
557
|
user-select: none;
|
|
558
558
|
clear: both;
|
|
559
559
|
display: inline-block;
|
|
@@ -562,7 +562,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
562
562
|
text-overflow: ellipsis;
|
|
563
563
|
text-align: left;
|
|
564
564
|
color: ${e=>e.theme.colors.primary};
|
|
565
|
-
`,Qa=({type:e,balance:n})=>t.jsx(Pi,{children:re(e)===!0?t.jsx(zi,{children:U("0,0",n?.balance)}):null}),qa=({type:e,balance:n})=>t.jsx(Pi,{children:re(e)===!0?t.jsx(zi,{children:U("0,0",n)}):null});function Ja({type:e,isSticky:n,isIndented:i,height:o,title:r,totalBalances:l,backgroundColor:s}){const d=W(),h={amount:l.reduce((u,g)=>u+(g?.balance.amount??0),0),currencyCode:l[0]?.balance.currencyCode??Wn.currencyCode,currencySymbol:l[0]?.balance.currencySymbol??Wn.currencySymbol};return t.jsx(Ka,{"data-testid":x("total-row-root-container"),height:o,bgColor:s,windowSize:d,children:t.jsxs(Ya,{isClickable:!1,"data-testid":x("total-row-container"),children:[t.jsx(Za,{bgColor:s,isSticky:n,windowSize:d,isIndented:i,children:t.jsx(Xa,{children:r})}),t.jsxs(Ua,{children:[l.map((u,g)=>t.jsx(Qa,{type:e,balance:u},g)),t.jsx(qa,{type:e,balance:h})]})]})})}const el=(e,n,i,o,r,l,s)=>{if(e.element.kind!=="timeframe_headers")return null;const d=e.element.data;return t.jsx(Na,{reportId:e.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:d,backgroundColor:i,isSticky:o,height:n,sortKey:r,sortOrder:l,onSortOrderChanged:s})},tl=(e,n,i,o,r,l,s,d,h,u)=>{if(n.element.kind!=="aging_report_row")return null;if(n.config.reportId==="accounts_payable_aging"){const p=n.element.data;return t.jsx(va,{backgroundColor:d,isLastNode:l,isScrolling:s,isSticky:r,height:i,balances:p.apAgingBalances,vendor:p.vendor,total:p.total,onEntityNameClick:h})}const g=n.element.data;return t.jsx(_a,{treeNodeId:e,backgroundColor:d,isLastNode:l,isScrolling:s,isSticky:r,isOpen:o,height:i,metadata:n.element.metadata,balances:g.arAgingBalances,nestedCustomer:g,total:g.total,totalWithChildren:g.totalWithChildren,onEntityNameClick:h,onClick:u})},nl=(e,n,i,o,r)=>{if(e.element.kind!=="ac_subentity_total")return null;if(e.config.reportId==="accounts_receivable_aging"){const l=e.element.data;return t.jsx(Ea,{backgroundColor:r,isScrolling:o,isSticky:i,height:n,metadata:e.element.metadata,nestedCustomer:l,total:l.totalWithChildren,noMarginForEntity:!0})}return null},il=(e,n,i,o,r)=>{const l=n.element.data;return t.jsx(Ja,{type:e,backgroundColor:o,isSticky:r,height:i,totalBalances:l,isIndented:n.config.reportId==="accounts_receivable_aging",title:n.element.title})};function dt(e,n,i,o){switch(e){case"cogs":return ol(i,o,n);case"expenses":return rl(i,o,n);case"income":return al(i,o,n);case"cash_position":return ll(i,o,n);case"cash_in":return sl(i,o,n);case"cash_out":return cl(i,o,n);case"assets":return dl(i,o,n);case"equity":return hl(i,o,n);case"liabilities":return ul(i,o,n);case"other_expense":return pl(i,o,n);case"other_income":return gl(i,o,n);case"operating_activities":return fl(i,o,n);case"investing_activities":return xl(i,o,n);case"financing_activities":return ml(i,o,n);default:throw Error(`${e} is not yet supported!`)}}const ol=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cogsInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCogsOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cogsInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},rl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.expensesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithExpensesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.expensesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},al=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.incomeInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithIncomeOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.incomeInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ll=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashPositionInTimeframe,o.compactedAccountsSelector=()=>G([],o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},sl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashInInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCashInOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cashInInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},cl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashOutInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCashOutOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cashOutInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},dl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.assetsInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithAssetsOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.assetsInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},hl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.equityInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithEquityOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.equityInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ul=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.liabilitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithLiabilitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.liabilitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},pl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.otherExpensesInTimeframe,o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},gl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.otherIncomeInTimeframe,o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},fl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.operatingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithOperatingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.operatingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},xl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.investingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithInvestingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.investingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ml=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.financingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithFinancingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.financingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o};function G(e,n,i){switch(i){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>Fi(n(o)?.balances??[]));case"filter_forecast_nil_balances":return e.filter(o=>Ti(n(o)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(o=>Vi(n(o)?.balances??[]))}}function oe(e,n,i,o){switch(o){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Fi(n(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Ti(n(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>Vi(n(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(n(r)?.balances??[]).length>0)}}function Fi(e){let n=!1;if(e!=null){for(const i of e)if(i.balance.amount!==0){n=!0;break}}return n}function Ti(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0){n=!0;break}}return n}function Vi(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0||i.balance!=null&&i.balance.amount!==0){n=!0;break}}return n}function te(e,n="ascending_date",i=-1,o=!0){const r=i!==-1;let l=[],s=-1;if(e==null||e.balances.length===0)return r===!0&&(l=Ri([],i)),{balances:l,thisPeriodIndex:s};let d=e.balances;return n==="ascending_date"?s=e.balances.length-1:(s=0,d=[...e.balances].reverse()),{balances:[...d,...o?e.additionalBalances:[]],thisPeriodIndex:s}}function Di(e,n="ascending_date",i=-1,o=!0){const r=i!==-1,l=te(e,n,i,o);if(e==null||e.balances.length===0)return l;const s=[...l.balances];if(e?.totalBalance!=null)s.push(e.totalBalance);else if(r&&e?.totalBalance==null){const d=Ri([],1);s.push(...d)}return{balances:s,thisPeriodIndex:l.thisPeriodIndex}}function He(e,n){if(n==="ascending_date")return e;{const i=[],o=[];for(const r of e)r.type==="default"?i.push(r):o.push(r);return[...i.reverse(),...o]}}function Ri(e,n){return e.length>0?e:ti(Array(n),null)}const wl=a.div`
|
|
565
|
+
`,Xa=({type:e,balance:n})=>t.jsx(Pi,{children:re(e)===!0?t.jsx(zi,{children:U("0,0",n?.balance)}):null}),Qa=({type:e,balance:n})=>t.jsx(Pi,{children:re(e)===!0?t.jsx(zi,{children:U("0,0",n)}):null});function Ja({type:e,isSticky:n,isIndented:i,height:o,title:r,totalBalances:l,backgroundColor:s}){const d=W(),h={amount:l.reduce((u,g)=>u+(g?.balance.amount??0),0),currencyCode:l[0]?.balance.currencyCode??Wn.currencyCode,currencySymbol:l[0]?.balance.currencySymbol??Wn.currencySymbol};return t.jsx(Ka,{"data-testid":x("total-row-root-container"),height:o,bgColor:s,windowSize:d,children:t.jsxs(Ya,{isClickable:!1,"data-testid":x("total-row-container"),children:[t.jsx(Za,{bgColor:s,isSticky:n,windowSize:d,isIndented:i,children:t.jsx(qa,{children:r})}),t.jsxs(Ua,{children:[l.map((u,g)=>t.jsx(Xa,{type:e,balance:u},g)),t.jsx(Qa,{type:e,balance:h})]})]})})}const el=(e,n,i,o,r,l,s)=>{if(e.element.kind!=="timeframe_headers")return null;const d=e.element.data;return t.jsx(Na,{reportId:e.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:d,backgroundColor:i,isSticky:o,height:n,sortKey:r,sortOrder:l,onSortOrderChanged:s})},tl=(e,n,i,o,r,l,s,d,h,u)=>{if(n.element.kind!=="aging_report_row")return null;if(n.config.reportId==="accounts_payable_aging"){const p=n.element.data;return t.jsx(va,{backgroundColor:d,isLastNode:l,isScrolling:s,isSticky:r,height:i,balances:p.apAgingBalances,vendor:p.vendor,total:p.total,onEntityNameClick:h})}const g=n.element.data;return t.jsx(_a,{treeNodeId:e,backgroundColor:d,isLastNode:l,isScrolling:s,isSticky:r,isOpen:o,height:i,metadata:n.element.metadata,balances:g.arAgingBalances,nestedCustomer:g,total:g.total,totalWithChildren:g.totalWithChildren,onEntityNameClick:h,onClick:u})},nl=(e,n,i,o,r)=>{if(e.element.kind!=="ac_subentity_total")return null;if(e.config.reportId==="accounts_receivable_aging"){const l=e.element.data;return t.jsx(Ea,{backgroundColor:r,isScrolling:o,isSticky:i,height:n,metadata:e.element.metadata,nestedCustomer:l,total:l.totalWithChildren,noMarginForEntity:!0})}return null},il=(e,n,i,o,r)=>{const l=n.element.data;return t.jsx(Ja,{type:e,backgroundColor:o,isSticky:r,height:i,totalBalances:l,isIndented:n.config.reportId==="accounts_receivable_aging",title:n.element.title})};function dt(e,n,i,o){switch(e){case"cogs":return ol(i,o,n);case"expenses":return rl(i,o,n);case"income":return al(i,o,n);case"cash_position":return ll(i,o,n);case"cash_in":return sl(i,o,n);case"cash_out":return cl(i,o,n);case"assets":return dl(i,o,n);case"equity":return hl(i,o,n);case"liabilities":return ul(i,o,n);case"other_expense":return pl(i,o,n);case"other_income":return gl(i,o,n);case"operating_activities":return fl(i,o,n);case"investing_activities":return xl(i,o,n);case"financing_activities":return ml(i,o,n);default:throw Error(`${e} is not yet supported!`)}}const ol=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cogsInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCogsOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cogsInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},rl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.expensesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithExpensesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.expensesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},al=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.incomeInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithIncomeOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.incomeInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ll=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashPositionInTimeframe,o.compactedAccountsSelector=()=>G([],o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},sl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashInInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCashInOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cashInInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},cl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.cashOutInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithCashOutOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.cashOutInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},dl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.assetsInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithAssetsOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.assetsInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},hl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.equityInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithEquityOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.equityInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ul=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.liabilitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithLiabilitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.liabilitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},pl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.otherExpensesInTimeframe,o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},gl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.otherIncomeInTimeframe,o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=()=>{},o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},fl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.operatingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithOperatingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.operatingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},xl=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.investingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithInvestingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.investingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o},ml=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.financingActivitiesInTimeframe,o.compactedAccountsSelector=r=>G(r.accountsWithFinancingActivitiesOrdered,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>G(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r.financingActivitiesInTimeframe,o.compactedAccountGroupsSelector=r=>oe(r,o.acGroupBalanceSelector,i,n),o};function G(e,n,i){switch(i){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>Fi(n(o)?.balances??[]));case"filter_forecast_nil_balances":return e.filter(o=>Ti(n(o)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(o=>Vi(n(o)?.balances??[]))}}function oe(e,n,i,o){switch(o){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Fi(n(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Ti(n(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>Vi(n(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(n(r)?.balances??[]).length>0)}}function Fi(e){let n=!1;if(e!=null){for(const i of e)if(i.balance.amount!==0){n=!0;break}}return n}function Ti(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0){n=!0;break}}return n}function Vi(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0||i.balance!=null&&i.balance.amount!==0){n=!0;break}}return n}function te(e,n="ascending_date",i=-1,o=!0){const r=i!==-1;let l=[],s=-1;if(e==null||e.balances.length===0)return r===!0&&(l=Ri([],i)),{balances:l,thisPeriodIndex:s};let d=e.balances;return n==="ascending_date"?s=e.balances.length-1:(s=0,d=[...e.balances].reverse()),{balances:[...d,...o?e.additionalBalances:[]],thisPeriodIndex:s}}function Di(e,n="ascending_date",i=-1,o=!0){const r=i!==-1,l=te(e,n,i,o);if(e==null||e.balances.length===0)return l;const s=[...l.balances];if(e?.totalBalance!=null)s.push(e.totalBalance);else if(r&&e?.totalBalance==null){const d=Ri([],1);s.push(...d)}return{balances:s,thisPeriodIndex:l.thisPeriodIndex}}function He(e,n){if(n==="ascending_date")return e;{const i=[],o=[];for(const r of e)r.type==="default"?i.push(r):o.push(r);return[...i.reverse(),...o]}}function Ri(e,n){return e.length>0?e:ti(Array(n),null)}const wl=a.div`
|
|
566
566
|
display: flex;
|
|
567
567
|
flex: 1 1 auto;
|
|
568
568
|
max-height: 1px;
|
|
@@ -658,7 +658,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: row;
|
|
660
660
|
justify-content: flex-start;
|
|
661
|
-
`,
|
|
661
|
+
`,Qe=a(oi)`
|
|
662
662
|
color: ${e=>e.theme.colors.champion};
|
|
663
663
|
user-select: none;
|
|
664
664
|
max-width: ${k.balanceWidth};
|
|
@@ -690,7 +690,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
690
690
|
text-overflow: ellipsis;
|
|
691
691
|
text-align: left;
|
|
692
692
|
background-color: ${e=>e.bgColor?.hex()};
|
|
693
|
-
`,Tl=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o})=>t.jsxs(Pl,{"data-testid":x("heading-row-balance-element",e),children:[re(e)||i?t.jsx(
|
|
693
|
+
`,Tl=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o})=>t.jsxs(Pl,{"data-testid":x("heading-row-balance-element",e),children:[re(e)||i?t.jsx(Qe,{"data-testid":x("heading-row-balance-actual",e),children:Z(n)}):t.jsx(Qe,{"data-testid":x("heading-row-balance-forecast",e),children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Qe,{"data-testid":x("heading-row-balance-forecast",e),children:Q(n)}),t.jsx(Qe,{"data-testid":x("heading-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?he(n):ue(n)})]}):null]});function Vl({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,heading:l,headingBalances:s,isActualVsForecastOn:d,compareMode:h,isLeaf:u,onClick:g}){const p=W();return t.jsx(Ol,{height:r,bgColor:n,"data-testid":x("heading-row-root-container",o),children:t.jsxs(Ml,{"data-testid":x("heading-row-container",o),isClickable:!u,onClick:()=>g?.(o),children:[pe(e)===!0?t.jsx(zl,{"data-testid":x("heading-row-heading-container",o),isSticky:i,windowSize:p,bgColor:n,children:t.jsx(Fl,{children:l})}):null,be(e)===!0?t.jsx(Nl,{"data-testid":x("heading-row-balances-container",o),children:s.map((f,m)=>t.jsx(Tl,{"data-testid":x("heading-row-balance-element",e),type:e,heading:l,balance:f,isActualVsForecastOn:d,compareMode:h},m))}):null]})})}const Dl=(e,n,i,o,r,l,s)=>{if(n.element.kind!="calculated_section_type1"||n.element.data==null)return null;const d=n.element.data,h=te(d,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Il,{backgroundColor:o,isSticky:r,treeNodeId:e,heading:n.element.title,totalBalances:h.balances,height:i,isScrolling:l,isLastNode:s})},sn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="title_string_only")return null;const f=te(void 0,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Vl,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,heading:i.element.title,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:f.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:m=>{p?.(m)}})};function Gi(e,n){return Rl(n)}const Rl=(e,n)=>{const i={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return i.acBalanceSelector=o=>o.balancesInTimeframe,i.compactedAccountsSelectorVariant=o=>Gl(o,i.acBalanceSelector,e),i};function Gl(e,n,i){switch(i){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>El(n(o)?.balances??[]));default:return e}}function El(e){let n=!1;if(e!=null){for(const i of e)if(i.balance.amount!==0){n=!0;break}}return n}const Je=[new D(w[4],56),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],Pn=[new D(w[0],w[0]),new D(14,w[4]),new D(67,67),new D(102,102),new D(136,136)],Hl=a.div`
|
|
694
694
|
display: flex;
|
|
695
695
|
flex: 1 1 auto;
|
|
696
696
|
max-height: 1px;
|
|
@@ -729,24 +729,24 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
729
729
|
width: ${e=>Pn[e.classDepth].valuePx(e.windowSize)};
|
|
730
730
|
max-width: ${e=>Pn[e.classDepth].valuePx(e.windowSize)};
|
|
731
731
|
height: 1px;
|
|
732
|
-
`,
|
|
732
|
+
`,ql=a.div`
|
|
733
733
|
display: flex;
|
|
734
734
|
flex: 1 1 auto;
|
|
735
735
|
max-height: 1px;
|
|
736
736
|
height: 1px;
|
|
737
737
|
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
738
|
-
`,
|
|
738
|
+
`,Xl=a.div`
|
|
739
739
|
display: flex;
|
|
740
740
|
flex: 1 1 auto;
|
|
741
741
|
max-height: 1px;
|
|
742
742
|
height: 1px;
|
|
743
743
|
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
744
|
-
`,
|
|
744
|
+
`,Ql=a.div`
|
|
745
745
|
display: flex;
|
|
746
746
|
flex: 1 1 auto;
|
|
747
747
|
max-height: 1px;
|
|
748
748
|
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
749
|
-
`,Fn=e=>{const n=W(),i=ce();return t.jsxs(Kl,{children:[t.jsxs(Yl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Zl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Ul,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(
|
|
749
|
+
`,Fn=e=>{const n=W(),i=ce();return t.jsxs(Kl,{children:[t.jsxs(Yl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Zl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Ul,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(ql,{isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]}),t.jsx(Xl,{isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]})};function ke({kind:e,isScrolling:n,subAccountProps:i}){switch(e){case"account_title_row_separator":return t.jsx(zn,{marginLeft:w[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(Fn,{nestingLevel:i?.nestingLevel??1,isScrolling:n,isSticky:i?.isSticky??!1,isTotal:!1,classDepth:i?.classDepth,noMarginForAccount:i?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(zn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Hl,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(Ql,{isScrolling:n});case"total_row_separator":return t.jsx(Fn,{nestingLevel:i?.nestingLevel??1,isScrolling:n,isSticky:i?.isSticky??!1,isTotal:!0,classDepth:i?.classDepth,noMarginForAccount:i?.noMarginForAccount??!1})}}function Ei({height:e,backgroundColor:n,title:i,numOfBalances:o=6}){const r=W(),l=i!=null?i.split("+")[1]:"";let s=null;const d=r!=="small";switch(l){case"section-row":s=t.jsx(Jl,{columns:o,isSticky:d});break;case"root-class-row":s=t.jsx(es,{columns:o,isSticky:d});break;case"sub-class-row":s=t.jsx(ts,{columns:o,isSticky:d});break;case"leaf-class-row":s=t.jsxs(t.Fragment,{children:[t.jsx(ns,{columns:o,isSticky:d}),t.jsx(ke,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]});break}return t.jsx(os,{height:e,bgColor:n,children:s})}const Jl=({columns:e,isSticky:n})=>t.jsxs(Ae,{children:[t.jsxs(ut,{isSticky:n,width:k.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(De,{width:w[4],height:w[4]}),t.jsx(K,{width:k.loadingInProgressSmallStickyColumnWidth,height:k.balanceHeightInPx})]}),t.jsx(ht,{columns:e,rectangleWidth:k.loadingBalanceWidthInPx})]}),es=({columns:e,isSticky:n})=>t.jsxs(Ae,{children:[t.jsxs(ut,{isSticky:n,width:k.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(De,{width:w[4],height:w[4]}),t.jsx(K,{width:k.loadingInProgressLargeStickyColumnWidth,height:k.balanceHeightInPx})]}),t.jsx(ht,{columns:e,rectangleWidth:k.smallLoadingBalanceWidthInPx})]}),ts=({columns:e,isSticky:n})=>t.jsxs(Ae,{children:[t.jsx(ut,{isSticky:n,width:k.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxs(Ae,{style:{marginLeft:"36px"},children:[t.jsx(De,{width:w[4],height:w[4]}),t.jsx(K,{width:k.loadingInProgressLargeStickyColumnWidth,height:k.balanceHeightInPx,style:{marginLeft:w[4]}})]})}),t.jsx(ht,{columns:e,rectangleWidth:k.smallLoadingBalanceWidthInPx})]}),ns=({columns:e,isSticky:n})=>t.jsxs(Ae,{children:[t.jsx(ut,{isSticky:n,width:k.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsx(Ae,{style:{marginLeft:"84px"},children:t.jsx(K,{width:k.loadingInProgressSmallStickyColumnWidth,height:k.balanceHeightInPx})})}),t.jsx(ht,{columns:e,rectangleWidth:k.smallLoadingBalanceWidthInPx})]}),is=({rectangleWidth:e})=>t.jsx(Hi,{width:k.balanceWidthInPx,children:t.jsx(K,{width:e,height:k.balanceHeightInPx})}),ht=({columns:e,rectangleWidth:n})=>t.jsx(rs,{style:{zIndex:9,width:k.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((i,o)=>t.jsx(is,{rectangleWidth:n},o))}),os=a.div`
|
|
750
750
|
display: flex;
|
|
751
751
|
flex: 1 1 auto;
|
|
752
752
|
width: fit-content;
|
|
@@ -892,7 +892,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
892
892
|
text-overflow: ellipsis;
|
|
893
893
|
text-align: left;
|
|
894
894
|
margin-left: ${c.sp2};
|
|
895
|
-
`,ks=({type:e,balance:n,collapsed:i,compareMode:o})=>{const r=i===!0?ws:Bt;return t.jsxs(ms,{"data-testid":x("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":x("account-group-row-balance-actual",e),children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":x("account-group-row-balance-forecast",e),children:
|
|
895
|
+
`,ks=({type:e,balance:n,collapsed:i,compareMode:o})=>{const r=i===!0?ws:Bt;return t.jsxs(ms,{"data-testid":x("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":x("account-group-row-balance-actual",e),children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":x("account-group-row-balance-forecast",e),children:Q(n)}),t.jsx(Bt,{"data-testid":x("account-group-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function js({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,accountGroupName:l,accountGroupBalances:s,compareMode:d,isScrolling:h,isOpen:u,isLeaf:g,isLastNode:p,onClick:f}){const m=W(),y=!g,b=y?"pointer":"default",$=l.length>0?l.substr(0,1).toUpperCase():"",C=Ss(s),L=ce().colors.primary,[v,A]=z.useState(!1);return t.jsxs(gs,{"data-testid":x("account-group-row-root-container",e),height:r,bgColor:n,windowSize:m,children:[t.jsxs(fs,{"data-testid":x("account-group-row-container",e),style:{cursor:b},isClickable:y,onClick:()=>f?.(o),onMouseOver:()=>A(!0),onMouseLeave:()=>A(!1),children:[t.jsxs(ys,{"data-testid":x("account-group-row-name-container",e),bgColor:n,isSticky:i,windowSize:m,hasNonZeroBalance:C,children:[t.jsx(Se,{"data-testid":x("account-group-row-circle-with-letter",e),color:B(L),showCollapsedIcon:!u,showIcon:y&&v,firstLetter:$}),t.jsx(bs,{"data-testid":x("account-group-row-name",e),children:l})]}),t.jsx(xs,{"data-testid":x("account-group-row-balances-container",e),hasNonZeroBalance:C,children:s.map((M,P)=>t.jsx(ks,{"data-testid":x("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:M,compareMode:d,collapsed:!1},P))})]}),t.jsx(Cs,{isScrolling:h,isLeaf:g,isLastNode:p,isOpen:u})]})}function Cs({isScrolling:e,isLeaf:n,isLastNode:i,isOpen:o}){return n||!o||!i?t.jsx(cn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Ss=e=>{let n=!1;if(e!=null){for(const i of e)if(i!=null&&i.balance.amount!==0){n=!0;break}}return n},$s="__horizontal_total__";function Te(e){return typeof e=="object"&&e!==null&&"depth"in e&&typeof e.depth=="number"&&!("filter"in e)}function pt(e,n){if(!(e==null||n==null||Te(e)!==!0)){if(n.id===$s)return{isHorizontalClassTotalColumn:!0};if(n.id!=null)return{isHorizontalClassColumn:!0}}}const vs=a.div`
|
|
896
896
|
display: flex;
|
|
897
897
|
flex: 1 1 auto;
|
|
898
898
|
width: fit-content;
|
|
@@ -955,7 +955,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
955
955
|
text-align: left;
|
|
956
956
|
margin-left: 35px;
|
|
957
957
|
color: ${e=>e.theme.colors.hero};
|
|
958
|
-
`,Ws=({type:e,balance:n,account:i,onAccountBalanceClick:o,compareMode:r})=>{const l=n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent",s=i!=null&&n!=null&&o!=null&&l!==!0;return t.jsxs(As,{children:[t.jsx(St,{isClickable:s,onClick:()=>{s===!0&&i!=null&&n!=null&&o?.(i,n,pt(i,n))},children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(St,{isClickable:!1,children:
|
|
958
|
+
`,Ws=({type:e,balance:n,account:i,onAccountBalanceClick:o,compareMode:r})=>{const l=n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent",s=i!=null&&n!=null&&o!=null&&l!==!0;return t.jsxs(As,{children:[t.jsx(St,{isClickable:s,onClick:()=>{s===!0&&i!=null&&n!=null&&o?.(i,n,pt(i,n))},children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(St,{isClickable:!1,children:Q(n)}),t.jsx(St,{isClickable:!1,children:r==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function Os({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,accountBalances:l,isCompareModeOn:s,isForecastModeOn:d,isScrolling:h,isLeaf:u,isLastNode:g,compareMode:p,account:f,onAccountBalanceClick:m}){const y=W(),{common:{strings:{empty:b}}}=I.getLocalizedStrings(),$=f?.accountDescription?f.accountDescription:b,C=f?.accountName?f.accountName:$,L=Ht(),v=L.loggedInUserRole!=null&&!si(L.loggedInUserRole),A=v===!0&&f!=null&&s!==!0&&m!=null&&d!==!0,M=A?"pointer":"default",P=(E,T)=>{A===!0&&l[l.length-1]!=null&&m?.(E,T,l[l.length-1],pt(T,l[l.length-1]??null))};return t.jsxs(vs,{height:r,bgColor:n,windowSize:y,children:[t.jsxs(_s,{style:{cursor:M},isClickable:A,onClick:()=>f!=null?P(o,f):null,children:[t.jsx(Bs,{isSticky:i,windowSize:y,bgColor:n,children:t.jsx(Is,{title:C,children:C})}),t.jsx(Ls,{children:l.map((E,T)=>t.jsx(Ws,{type:e,balance:E,account:f,onAccountBalanceClick:v===!1||m==null?void 0:(Y,q,ae)=>{m(o,Y,q,ae)},compareMode:p},T))})]}),t.jsx(Ms,{isScrolling:h,isLeaf:u,isLastNode:g})]})}function Ms({isScrolling:e,isLeaf:n,isLastNode:i}){return n||!i?t.jsx(cn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Ns=a.div`
|
|
959
959
|
display: flex;
|
|
960
960
|
flex: 1 1 auto;
|
|
961
961
|
width: fit-content;
|
|
@@ -1021,7 +1021,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1021
1021
|
text-overflow: ellipsis;
|
|
1022
1022
|
text-align: left;
|
|
1023
1023
|
margin-left: ${c.sp2};
|
|
1024
|
-
`,Ds=({type:e,balance:n,color:i,compareMode:o})=>{const r=n!=null&&n.type==="default_with_percent"&&n.percentValue!=null?n.percentValue:0,l=n!=null&&n.type==="default_with_percent"&&n.forecastPercentValue!=null?n.forecastPercentValue:0;return t.jsxs(Fs,{children:[t.jsxs(Tn,{children:[t.jsx(Ie,{style:{color:i.toString()},children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(Ie,{style:{color:i.toString()},children:
|
|
1024
|
+
`,Ds=({type:e,balance:n,color:i,compareMode:o})=>{const r=n!=null&&n.type==="default_with_percent"&&n.percentValue!=null?n.percentValue:0,l=n!=null&&n.type==="default_with_percent"&&n.forecastPercentValue!=null?n.forecastPercentValue:0;return t.jsxs(Fs,{children:[t.jsxs(Tn,{children:[t.jsx(Ie,{style:{color:i.toString()},children:Z(n)}),Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx(Ie,{style:{color:i.toString()},children:Q(n)}),t.jsx(Ie,{style:{color:i.toString()},children:o==="compare_mode_percent"?he(n):ue(n)})]}):null]}),t.jsxs(Tn,{children:[r!==0?t.jsx(Vn,{style:{color:i.toString()},children:xe("0,0%",r)}):null,Fe(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx(Vn,{style:{color:i.toString()},children:xe("0,0%",l)}):t.jsx(Ie,{}),t.jsx(Ie,{})]}):null]})]})};function dn({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,sectionColor:d,isScrolling:h,isOpen:u,isLeaf:g,compareMode:p,onClick:f}){const m=W(),[y,b]=z.useState(!1),$=!g,C=$?"pointer":"default",L=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(Ns,{"data-testid":x("section-row-root-container",o),rootHeight:r,bgColor:n,windowSize:m,children:[t.jsxs(Ps,{"data-testid":x("section-row-container",o),style:{cursor:C},onClick:()=>f?.(o),onMouseOver:()=>b(!0),onMouseLeave:()=>b(!1),children:[t.jsxs(Ts,{"data-testid":x("section-row-name-container",o),isSticky:i,windowSize:m,bgColor:n,children:[t.jsx(Se,{"data-testid":x("section-row-circle-with-letter",o),color:B(d),showCollapsedIcon:!u,showIcon:$&&y,firstLetter:L}),t.jsx(Vs,{"data-testid":x("section-row-name",o),style:{color:d.toString()},children:l})]}),t.jsx(zs,{"data-testid":x("section-row-balances-container",o),children:s.map((v,A)=>t.jsx(Ds,{"data-testid":x("section-row-balance-element",e),type:e,sectionName:l,balance:v,color:d,compareMode:p},A))})]}),t.jsx(Rs,{isScrolling:h,isLeaf:g,isOpen:u})]})}function Rs({isScrolling:e,isLeaf:n,isOpen:i}){return n||!i?t.jsx(cn,{isScrolling:e,kind:"section_row_separator"}):null}const Gs=a.div`
|
|
1025
1025
|
display: flex;
|
|
1026
1026
|
flex: 1 1 auto;
|
|
1027
1027
|
width: fit-content;
|
|
@@ -1088,7 +1088,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1088
1088
|
text-align: right;
|
|
1089
1089
|
margin-left: ${R.balanceLeftMargin};
|
|
1090
1090
|
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
1091
|
-
`,
|
|
1091
|
+
`,qs=({type:e,balance:n,collapsed:i,compareMode:o})=>{const r=i===!0?Ys:Ui;return t.jsxs(Ks,{children:[re(e)===!0?t.jsx(r,{children:Z(n)}):null,Fe(e)?t.jsxs(t.Fragment,{children:[t.jsx($t,{children:Z(n)}),t.jsx($t,{children:Q(n)}),t.jsx($t,{children:o==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function Xs({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,title:l,totalBalances:s,isLeaf:d,compareMode:h,onClick:u}){const g=W(),p=!d,f=p?"pointer":"default";return t.jsx(Gs,{height:r,bgColor:n,windowSize:g,children:t.jsxs(Es,{style:{cursor:f},isClickable:p,onClick:()=>u?.(o),children:[t.jsx(Us,{bgColor:n,isSticky:i,windowSize:g,children:t.jsx(Zs,{children:l})}),t.jsx(Hs,{children:s.map((m,y)=>t.jsx(qs,{type:e,balance:m,collapsed:!1,compareMode:h},y))})]})})}const _e={net_burn_or_income:{income:{color:new B(V.graphColor04),hoverColor:new B(V.graphColor04Dark)},cogs:{color:new B(V.graphColor10),hoverColor:new B(V.graphColor10Dark)},expenses:{color:new B(V.graphColor32),hoverColor:new B(V.graphColor32Dark)},"Gross Burn":{color:new B(ee.neutralGrey2Dark),hoverColor:new B(ee.neutralGrey2Dark)},"Net Burn":{color:new B(V.graphColor13),hoverColor:new B(V.graphColor13Dark)},"Net Income":{color:new B(V.graphColor13),hoverColor:new B(V.graphColor13Dark)}},revenue:{income:{color:new B(V.graphColor28),hoverColor:new B(V.graphColor28Dark)},cogs:{color:new B(V.graphColor17),hoverColor:new B(V.graphColor17Dark)},"Gross Margin":{color:new B(V.graphColor10),hoverColor:new B(V.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new B(V.graphColor33),hoverColor:new B(V.graphColor33Dark)},cash_out:{color:new B(V.graphColor02),hoverColor:new B(V.graphColor02Dark)},"Net Cash Flow":{color:new B(V.graphColor35),hoverColor:new B(V.graphColor35Dark)}},default:{color:new B(ee.neutralGrey2Dark),hoverColor:new B(ee.neutralGrey2Dark)}},hn=(e,n)=>e.startsWith("net_burn_or_income")===!0?n!=null?_e.net_burn_or_income[n]:_e.default:e.startsWith("revenue")===!0?n!=null?_e.revenue[n]:_e.default:e.startsWith("cash_in_cash_out")===!0&&n!=null?_e.cash_in_cash_out[n]:_e.default,Qs=(e,n,i,o,r,l,s,d,h,u,g)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const p=i.element.data,f=Re(i.config.reportId)===!0?Gi("no_filter",i.config.filterAccountsWithNilBalances):dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),m=te(f.acBalanceSelector(p),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Os,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountBalances:m.balances,isCompareModeOn:i.config.mode==="this_period_vs_period_before",isForecastModeOn:i.config.mode==="actual_vs_forecast",isScrolling:s,isLeaf:d,isLastNode:h,compareMode:u,account:p,onAccountBalanceClick:g==null?void 0:(y,b,$,C)=>{g?.(y,b,$,C)}})},Js=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,m=dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=te(m.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(js,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountGroupName:f.accountGroupName,compareMode:g,accountGroupBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},Zi=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=hn(i.config.reportId,i.element.sectionType),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(dn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionColor:f.color,sectionName:i.element.title,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:b=>{p?.(b)}})},ec=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=hn(i.config.reportId,i.element.sectionType),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(dn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f.color,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:b=>{p?.(b)}})},qi=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=hn(i.config.reportId,i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(dn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f.color,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:b=>{p?.(b)}})},Xi=(e,n,i,o,r,l,s,d)=>{if((i.config.isZeniCOAInUse==null||i.config.isZeniCOAInUse===!0)&&i.config.mode!=="this_period_vs_period_before")return null;const h=i.element.data,u=te(h,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Xs,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,title:i.element.title,height:o,isLeaf:d,compareMode:s,totalBalances:u.balances})},tc=(e,n,i)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ei,{height:n,backgroundColor:i,title:e.element.title,numOfBalances:e.element.numOfBalances}),nc=(e,n,i)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ki,{height:n,backgroundColor:i,numOfBalances:e.element.numOfBalances}),un=20,ic=e=>{const n=[];return e&&Object.values(e).forEach(i=>{n.push(i)}),n.reverse()},oc=a.div`
|
|
1092
1092
|
display: flex;
|
|
1093
1093
|
flex: 1 1 auto;
|
|
1094
1094
|
height: 1px;
|
|
@@ -1135,7 +1135,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1135
1135
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1136
1136
|
margin-bottom: ${e=>e.height}px;
|
|
1137
1137
|
width: 1px;
|
|
1138
|
-
`,
|
|
1138
|
+
`,Qi=({height:e})=>t.jsx(ac,{children:t.jsx(lc,{height:e})}),uc=({height:e})=>t.jsx(dc,{height:e,children:t.jsx(hc,{height:e})}),pc=()=>t.jsx(sc,{children:t.jsx(cc,{})}),j={balanceHeight:c.sp4,balanceHeaderWidth:"126px",balanceWidth:"128px",balanceLeftMargin:"12px",statusLeftMargin:"12px",titleWidth:"685px",vendorContainerWidth:"628px",sectionContainerWidth:"685px",varianceHeaderContainerWidth:"182px",varianceContainerWidth:"184px",statusContainerWidth:"144px",sortIconDimension:"12px",categoryClassContainerWidth:"685px",categoryClassHeaderWidth:"250px",categoryClassValueWidth:"250px",lineComponentHeight:39,lineLComponentHeight:19.5,vendorLineComponentHeight:16,rectangularContainerWidth:128,largeRectangularContainerWidth:168,titleWidthMedium:"180px",categoryRowsSkeletonContainerWidth:"300px",varianceRowSkeletonContainerWidth:"210px",titleWidthSmall:"128px"};function Ji(e,n=!1){switch(e){case"section":return w[8];case"flux_vendor_account_class_row":return n?w[9]:w[6];case"flux_vendor_row":return w[8];case"timeframe_headers":return w[8];case"total":return w[8];case"loading_in_progress":return w[8];case"headers_loading_in_progress":return w[8];default:return 0}}function gc(e){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(e)}const Dn=I.getLocalizedStrings(),fc=a.div`
|
|
1139
1139
|
display: flex;
|
|
1140
1140
|
flex-shrink: 0;
|
|
1141
1141
|
width: ${j.varianceContainerWidth};
|
|
@@ -1264,7 +1264,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1264
1264
|
display: flex;
|
|
1265
1265
|
flex: 1;
|
|
1266
1266
|
justify-content: flex-end;
|
|
1267
|
-
`,Wc=({isBalanceRowFirstNode:e=!1,balance:n})=>{const i=n!=null;return t.jsxs(eo,{children:[e?t.jsx(to,{}):null,t.jsx(bc,{children:t.jsx(kc,{isClickable:i,children:Z(n)})})]})};function Oc({varianceAmount:e,variancePercentage:n,currency:i,isSticky:o,balances:r,isScrolling:l,nodeMetadata:s,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=I.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,m=u.accountBase?.accountName?u.accountBase?.accountName:f,y=u.classBase?.className?u.classBase?.className:p,b=s?.accountAndClassRowMetadata.isLastNode;return t.jsxs(wc,{children:[t.jsxs(yc,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(Bc,{children:t.jsxs(jc,{className:"flux-class-and-account-value-container",isSticky:o,children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(Cc,{children:[t.jsx(
|
|
1267
|
+
`,Wc=({isBalanceRowFirstNode:e=!1,balance:n})=>{const i=n!=null;return t.jsxs(eo,{children:[e?t.jsx(to,{}):null,t.jsx(bc,{children:t.jsx(kc,{isClickable:i,children:Z(n)})})]})};function Oc({varianceAmount:e,variancePercentage:n,currency:i,isSticky:o,balances:r,isScrolling:l,nodeMetadata:s,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=I.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,m=u.accountBase?.accountName?u.accountBase?.accountName:f,y=u.classBase?.className?u.classBase?.className:p,b=s?.accountAndClassRowMetadata.isLastNode;return t.jsxs(wc,{children:[t.jsxs(yc,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(Bc,{children:t.jsxs(jc,{className:"flux-class-and-account-value-container",isSticky:o,children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(Cc,{children:[t.jsx(Qi,{height:j.lineComponentHeight}),t.jsx($c,{children:Rn.common.texts.category}),t.jsx(vc,{children:Rn.common.texts.class})]}),t.jsxs(Sc,{children:[b===!0?t.jsx(uc,{height:j.lineLComponentHeight}):t.jsx(pc,{}),t.jsx(_c,{title:m,children:m}),t.jsx(Lc,{title:y,children:y})]})]})}),t.jsx(Ic,{children:t.jsxs(Ac,{children:[r.map(($,C)=>t.jsx(Wc,{balance:$,isBalanceRowFirstNode:s?.accountAndClassRowMetadata.isFirstNode},C)),t.jsxs(eo,{children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsx(to,{}),t.jsx(gt,{amount:e,percentage:n,currency:i})]})]})})]}),t.jsx(Mc,{isScrolling:l,isLeaf:d,isLastNode:h,isParentLastChild:s?.isVendorLastChild??!0})]})}function Mc({isScrolling:e,isLastNode:n,isParentLastChild:i}){return n&&i?t.jsx(It,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(It,{isScrolling:e,kind:"account_class_row_separator"}):null}function Nc(){return t.jsxs(Pc,{children:[t.jsxs(Fc,{children:[t.jsxs(Le,{width:j.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsx(De,{width:w[4],height:w[4]}),t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})]}),t.jsx(Le,{width:j.categoryRowsSkeletonContainerWidth,children:t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})})]}),t.jsxs(zc,{children:[t.jsx(Le,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Le,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Le,{width:j.varianceRowSkeletonContainerWidth,children:[t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}}),t.jsx(K,{width:w[7],height:w[4],style:{display:"flex",alignItems:"flex-start",marginLeft:c.sp1}})]}),t.jsx(Le,{width:j.titleWidthMedium,children:t.jsx(K,{width:70,height:w[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Pc=a.div`
|
|
1268
1268
|
display: flex;
|
|
1269
1269
|
flex-direction: row;
|
|
1270
1270
|
width: 100%;
|
|
@@ -1363,7 +1363,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1363
1363
|
${j.statusContainerWidth} +
|
|
1364
1364
|
${j.statusLeftMargin}
|
|
1365
1365
|
);
|
|
1366
|
-
`,Zc=({balance:e,color:n})=>t.jsx(Dc,{children:t.jsx(Rc,{color:n,children:Z(e)})}),
|
|
1366
|
+
`,Zc=({balance:e,color:n})=>t.jsx(Dc,{children:t.jsx(Rc,{color:n,children:Z(e)})}),qc=er.memo(function({currency:e,sectionId:n,selectedSectionsIds:i,backgroundColor:o,isSticky:r,treeNodeId:l,height:s,sectionName:d,hasVendors:h,sectionBalances:u,varianceAmount:g,variancePercentage:p,sectionColor:f,isScrolling:m,isOpen:y,isLeaf:b,idsForReview:$,sectionToggled:C,onSectionCheckboxClick:L}){const v=W(),[A,M]=z.useState($.length>0),[P,E]=z.useState(!1),T=i.includes(n),Y=!b,q=$.length===un&&!T,ae=d?.[0]?.toUpperCase()??"",X=z.useCallback(J=>{L?.(n,J.target.checked)},[n,L]),de=x("flux-analysis-section-expand-collapse",n),me=x("flux-analysis-section-row",n),le=x("flux-analysis-section-checkbox",n);return t.jsxs(Tc,{heightValue:s,bgColor:o,"data-testid":me,children:[t.jsxs(Vc,{style:{cursor:Y?"pointer":"default"},onClick:()=>C?.(l),onMouseOver:()=>{E(!0),M(!0)},onMouseLeave:()=>{E(!1),$.length===0&&M(!1)},children:[t.jsxs(Gc,{className:"flux-section-name-container",isSticky:r,windowSize:v,bgColor:o,children:[h&&A&&y?t.jsx(Kc,{children:t.jsx(Dt,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox","data-testid":le,icon:t.jsx(Rt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(Hc,{}),checked:T,id:l,disabled:q,onChange:X,onClick:J=>J.stopPropagation(),style:{padding:"20px",pointerEvents:q?"none":"auto"}})}):t.jsx(Yc,{}),t.jsx(Se,{color:B(f),dataTestId:de,firstLetter:ae,showCollapsedIcon:!y,showIcon:P&&Y}),t.jsx(Ec,{color:f.toString(),children:d})]}),t.jsxs(Uc,{children:[u.map((J,we)=>t.jsx(Zc,{sectionName:d,balance:J,color:f.toString()},we)),t.jsx(gt,{amount:g,percentage:p,currency:e})]})]}),t.jsx(Xc,{isScrolling:m,isLeaf:b,isOpen:y})]})});function Xc({isScrolling:e,isLeaf:n,isOpen:i}){return n||!i?t.jsx(It,{isScrolling:e,kind:"section_row_separator"}):null}function Qc(){const e=W();return t.jsxs(Jc,{windowSize:e,children:[t.jsx(We,{windowSize:e,width:j.vendorContainerWidth,marginRight:0,children:t.jsx(K,{width:w[9],height:w[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(We,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:128,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(We,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(We,{windowSize:e,width:j.varianceRowSkeletonContainerWidth,children:t.jsx(K,{width:184,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(We,{windowSize:e,width:j.titleWidthSmall,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})})]})}const Jc=a.div`
|
|
1367
1367
|
display: flex;
|
|
1368
1368
|
flex-direction: row;
|
|
1369
1369
|
width: 100%;
|
|
@@ -1721,7 +1721,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1721
1721
|
justify-content: center;
|
|
1722
1722
|
align-items: center;
|
|
1723
1723
|
margin-left: ${c.sp1};
|
|
1724
|
-
`,{common:En,expenseAutomation:Ud}=I.getLocalizedStrings(),Zd=({balance:e})=>{const n=Ad;return t.jsx(Ld,{children:t.jsx(n,{children:Z(e)})})};function
|
|
1724
|
+
`,{common:En,expenseAutomation:Ud}=I.getLocalizedStrings(),Zd=({balance:e})=>{const n=Ad;return t.jsx(Ld,{children:t.jsx(n,{children:Z(e)})})};function qd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:i,isSticky:o,treeNodeId:r,height:l,leftChevron:s,varianceAmount:d,variancePercentage:h,currency:u,vendorBalances:g,reviewedByUser:p,status:f,vendor:m,isOpen:y,childrenCount:b,vendorRowIndex:$,setHoveredParentId:C,onClick:L,handleRedirectToVendorDetailPage:v,updateOperatingExpensesIdsForReview:A}){const[M,P]=z.useState(!1),[E,T]=z.useState(n.length>0),Y=n.includes(e),q=n.includes(e),ae=s==="collapsed",X=n.length===un&&Y===!1,de=Id,me=ge=>{let fe=n;ge.target.checked===!0?fe=[...fe,e]:fe=fe.filter(Be=>Be!==e),A?.(fe)},le=()=>{v?.(m)},J=$!=null?String($):e,we=x("flux-analysis-vendor-checkbox",J),$e=x("flux-analysis-vendor-detail-navigation",J),ye=x("flux-analysis-vendor-expand-collapse",J),ve=x("flux-analysis-vendor-row",J);return t.jsx(vd,{heightValue:l,bgColor:i,"data-testid":ve,children:t.jsxs(_d,{shouldHighlight:q,isRowExpanded:y,onClick:()=>L?.(r),onMouseOver:()=>{P(!0),T(!0),C?.(m.id)},onMouseLeave:()=>{P(!1),n.length===0&&T(!1),C?.(null)},children:[t.jsxs(Bd,{className:"flux-vendor-name-container",bgColor:i,isSticky:o,children:[t.jsx(Dd,{className:"flux-vendor-checkbox-container",children:E?t.jsx(Dt,{className:"flux-vendor-checkbox","data-testid":we,icon:t.jsx(Rt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(Rd,{}),checked:Y,name:m.name,id:e,disabled:X,onChange:me,onClick:ge=>ge.stopPropagation(),style:{padding:"20px",pointerEvents:X?"none":"auto"}}):null}),t.jsxs(Pd,{isNodeOpen:y,children:[M?t.jsx(Hd,{className:"flux-vendor-collapsable-chevron-icon","data-testid":ye,children:y===!1?t.jsx(Gn,{}):t.jsx(Ed,{})}):m.logo!=null?t.jsx(Gt,{photoUrl:m.logo.toString(),styles:{width:w[4],height:w[4]}}):t.jsx(Et,{name:m.name,size:c.sp4}),y?t.jsx(Qi,{height:j.vendorLineComponentHeight}):null]}),t.jsxs(Wd,{children:[t.jsxs(Od,{children:[t.jsx(de,{children:m.name}),y?null:t.jsx(Yd,{className:"flux-vendor-children-count",children:t.jsx(Ne,{children:b})})]}),M?t.jsx(z.Fragment,{children:t.jsx(Kd,{className:"flux-vendor-chevron-icon",onClick:le,"data-testid":$e,children:t.jsx(Gn,{})})}):null]})]}),t.jsxs(Nd,{children:[g.map((ge,fe)=>t.jsx(Zd,{balance:ge,collapsed:ae},fe)),t.jsx(gt,{amount:d,percentage:h,currency:u}),t.jsx(zd,{children:f==="Pending Review"?t.jsx(Td,{children:t.jsx(Vd,{children:En.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Fd,{className:"vendor-flux-analysis-review-info",children:p!=null?t.jsxs(z.Fragment,{children:[t.jsxs(Gd,{children:[t.jsx(Md,{}),Ud.fluxAnalysis.reviewedBy]}),t.jsx(Ne,{children:Po(p)})]}):En.strings.hyphen})})})]})]})})}const Hn={generalExpense:{color:new B(V.graphColor04),hoverColor:new B(V.graphColor04Dark)},reimbursement:{color:new B(V.graphColor10),hoverColor:new B(V.graphColor10Dark)},default:{color:new B(ee.neutralGrey2Dark),hoverColor:new B(ee.neutralGrey2Dark)}},Xd=(e,n)=>e.startsWith("flux_analysis_operating_expense")===!0&&n!=null?Hn[n]:Hn.default,pn=(e,n)=>{const{element:i}=e;return i.kind===n&&i.data!=null},no=e=>ic(e.balancesByMonth),Qd=(e,n,i,o,r,l,s,d,h)=>{if(!pn(n,"flux_vendor_account_class_row"))return null;const u=n.element.data,g=no(u),p=n.element.metadata.vendorId;return t.jsx(Oc,{backgroundColor:i,isSticky:o,treeNodeId:e,balances:g,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,currency:u.currency,isScrolling:r,isLeaf:l,isLastNode:s,nodeMetadata:n.element.metadata,accountAndClass:u,onAccountAndClassBalanceClick:()=>h?.(p),isHoveredByParent:d?.hoveredParentId===p})},Jd=(e,n,i,o,r,l,s,d,h,u,g)=>{if(!pn(n,"flux_vendor_row"))return null;const p=n.element.data,f=no(p),m=Ji("flux_vendor_row",h),y=b=>{g?.(b),n.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(b)};return t.jsx(qd,{backgroundColor:i,isSticky:o,treeNodeId:e,vendorRowIndex:n.element.index,fluxAnalysisEntityId:p.fluxAnalysisEntityId,height:m,leftChevron:"collapsed",idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:p.vendor,vendorBalances:f,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,status:p.status,currency:p.currency,isScrolling:r,isOpen:l,isLeaf:s,isLastNode:d,childrenCount:p.vendorAccountsAndClasses.length,onClick:b=>{y?.(b)},reviewedByUser:p.reviewedByUser,updateOperatingExpensesIdsForReview:n.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:n.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},eh=(e,n,i,o,r,l,s,d,h,u)=>{if(!pn(n,"section"))return null;const g=Xd(n.config.reportId,n.element.sectionType),p=n.element.data,f=m=>{n.config.fluxAnalysisConfig?.onSectionRowClick(m),u?.(m)};return t.jsx(qc,{backgroundColor:o,isSticky:r,treeNodeId:e,height:i,selectedSectionsIds:n.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:n.element.title,sectionBalances:p.balances,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,currency:p.currency,isScrolling:l,isOpen:s,hasVendors:p.vendors.length>0,isLeaf:d,isLastNode:h,sectionToggled:m=>{f?.(m)},onSectionCheckboxClick:n.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:p.sectionId})},th=(e,n,i)=>{if(e.element.kind!=="timeframe_headers")return null;const o=He(e.element.data,e.config.displayOrder),r=o.length>0?o[0].balanceTimeFrame:"month",l=o.map(d=>Ge(d)),s=(d,h)=>{e.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),e.config.fluxAnalysisConfig?.onSortOrderChanged(d,h)};return t.jsx(gd,{isSticky:i,height:n,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:r,timeframeTicks:l,isBulkSelected:e.config.fluxAnalysisConfig?.reviewOpExIds.length===un,onSortOrderChanged:s,sortOrder:e.config.fluxAnalysisConfig?.sortOrder,sortKey:e.config.fluxAnalysisConfig?.sortKey})},nh=(e,n)=>{if(e.element.kind!=="total")return null;const i=e.element.data;return t.jsx($d,{type:"name+balances_actual",title:e.element.title,totalBalances:i.balances,varianceAmount:i.varianceAmount,variancePercentage:i.variancePercentage,currency:i.currency,height:n})},ih=e=>e.element.kind!=="loading_in_progress"?null:t.jsx(Nc,{}),oh=e=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Qc,{}),rh=a.div`
|
|
1725
1725
|
display: flex;
|
|
1726
1726
|
flex: 1 1 auto;
|
|
1727
1727
|
width: fit-content;
|
|
@@ -1918,13 +1918,13 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
1918
1918
|
padding: 3px 6px;
|
|
1919
1919
|
margin-left: 12px;
|
|
1920
1920
|
background: ${e=>e.tagType==="under_review"?ee.alertDark:e.theme.mode==="light"?ee.championLight:ee.championDark};
|
|
1921
|
-
`,Ih=a(
|
|
1921
|
+
`,Ih=a(Qo)`
|
|
1922
1922
|
color: ${e=>e.theme.colors.hero};
|
|
1923
1923
|
margin-left: 5px;
|
|
1924
1924
|
height: ${c.sp3};
|
|
1925
1925
|
width: ${c.sp3};
|
|
1926
1926
|
margin-top: ${c.sp1};
|
|
1927
|
-
`;function Wh(e){if(e==="under_review")return x("report-tree-timeframe-tag","under-review");if(e==="incomplete")return x("report-tree-timeframe-tag","in-progress")}function io({firstMonthOfFY:e,timeframeTick:n,timeframe:i,tagName:o,infoContent:r,tagType:l}){return t.jsxs(vh,{children:[t.jsxs(_h,{children:[t.jsx(Lh,{children:Ee(e,n,i)}),t.jsx(
|
|
1927
|
+
`;function Wh(e){if(e==="under_review")return x("report-tree-timeframe-tag","under-review");if(e==="incomplete")return x("report-tree-timeframe-tag","in-progress")}function io({firstMonthOfFY:e,timeframeTick:n,timeframe:i,tagName:o,infoContent:r,tagType:l}){return t.jsxs(vh,{children:[t.jsxs(_h,{children:[t.jsx(Lh,{children:Ee(e,n,i)}),t.jsx(Xo,{style:{padding:c.sp3},title:r,placement:"top",children:t.jsx(Ih,{})})]}),t.jsx(Ah,{"data-testid":Wh(l),children:t.jsx(Bh,{tagType:l,children:o})})]})}const oo=(e,n)=>{const i=I.getLocalizedStrings().reports;switch(n){case"month":return e!=null?e==="under_review"?i.bookCloseUnderReviewInfoMonth:i.bookCloseIncompleteInfoMonth:void 0;case"quarter":return e!=null?e==="under_review"?i.bookCloseUnderReviewInfoQuarter:i.bookCloseIncompleteInfoQuarter:void 0;case"year":return e!=null?e==="under_review"?i.bookCloseUnderReviewInfoYear:i.bookCloseIncompleteInfoYear:void 0;default:return}},Oh=a.div`
|
|
1928
1928
|
user-select: none;
|
|
1929
1929
|
display: flex;
|
|
1930
1930
|
flex: 1 1 auto;
|
|
@@ -2058,7 +2058,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2058
2058
|
flex-direction: column;
|
|
2059
2059
|
height: ${e=>e.height}px;
|
|
2060
2060
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2061
|
-
`,
|
|
2061
|
+
`,qh=a.div`
|
|
2062
2062
|
user-select: none;
|
|
2063
2063
|
display: flex;
|
|
2064
2064
|
flex: 1 1 auto;
|
|
@@ -2066,12 +2066,12 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2066
2066
|
justify-content: flex-start;
|
|
2067
2067
|
align-items: center;
|
|
2068
2068
|
cursor: default;
|
|
2069
|
-
`,
|
|
2069
|
+
`,Xh=a.div`
|
|
2070
2070
|
display: flex;
|
|
2071
2071
|
flex: 1 0 auto;
|
|
2072
2072
|
flex-direction: row;
|
|
2073
2073
|
justify-content: flex-end;
|
|
2074
|
-
`,
|
|
2074
|
+
`,Qh=a.div`
|
|
2075
2075
|
display: flex;
|
|
2076
2076
|
flex-direction: row;
|
|
2077
2077
|
justify-content: flex-start;
|
|
@@ -2120,7 +2120,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2120
2120
|
text-overflow: ellipsis;
|
|
2121
2121
|
text-align: left;
|
|
2122
2122
|
color: ${e=>e.theme.colors.primary};
|
|
2123
|
-
`,iu=({balance:e,collapsed:n,timeframeColumnIndex:i,treeNodeId:o,type:r})=>{const l=n===!0?Jh:uo;return t.jsx(
|
|
2123
|
+
`,iu=({balance:e,collapsed:n,timeframeColumnIndex:i,treeNodeId:o,type:r})=>{const l=n===!0?Jh:uo;return t.jsx(Qh,{"data-testid":x("report-tree-total-row-amount",`${o}-${String(i)}`),children:re(r)===!0?t.jsx(l,{children:Z(e)}):null})};function ou({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,title:l,totalBalances:s,isAccountColumnShown:d,isClassColumnShown:h,onClick:u,isScrolling:g}){const p=W();return t.jsxs(Zh,{"data-testid":x("total-row-root-container",o),height:r,bgColor:n,windowSize:p,children:[t.jsxs(qh,{"data-testid":x("total-row-container",o),onClick:()=>u?.(o),children:[t.jsxs(eu,{bgColor:n,windowSize:p,isSticky:i,children:[t.jsx(tu,{bgColor:n,windowSize:p,children:t.jsx(nu,{children:l})}),d?t.jsx(Zn,{windowSize:p}):null,h?t.jsx(Zn,{windowSize:p}):null]}),t.jsx(Xh,{children:s.map((f,m)=>t.jsx(iu,{balance:f,collapsed:!1,timeframeColumnIndex:m,treeNodeId:o,type:e},m))})]}),t.jsx(Ft,{isScrolling:g,kind:"vendor_row_separator"})]})}const ru=a.div`
|
|
2124
2124
|
display: flex;
|
|
2125
2125
|
flex: 1 1 auto;
|
|
2126
2126
|
width: fit-content;
|
|
@@ -2239,7 +2239,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2239
2239
|
`,yu=a(S)`
|
|
2240
2240
|
color: ${e=>e.theme.colors.hero};
|
|
2241
2241
|
display: none;
|
|
2242
|
-
`,bu=({balance:e,timeframeColumnIndex:n,vendor:i,vendorRowKey:o,onVendorNameAndBalanceClick:r})=>{const l=e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent",s=e?.type==="period_total",d=e?.type==="default_with_null_balance",h=l!==!0&&s===!1&&d===!1&&!ci(i.id);return t.jsx(su,{"data-testid":x("report-tree-vendor-row-amount",`${o}-${String(n)}`),children:t.jsx(cu,{isClickable:h,onClick:()=>{h===!0&&r(i,e??void 0)},children:Z(e)})})};function ku({backgroundColor:e,isSticky:n,height:i,isScrolling:o,isLastNode:r,vendor:l,balances:s,accountBase:d,classBase:h,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:p,vendorRowIndex:f}){const m=W(),y=f!=null?String(f):l.id,b=Ht(),$=b.loggedInUserRole!=null&&!si(b.loggedInUserRole),C=ci(l.id),L=$===!0&&l!=null&&!C,v=L?"pointer":"default",A=l.name;return t.jsxs(ru,{"data-testid":x("vendor-row-root-container",y),height:i,bgColor:e,windowSize:m,children:[t.jsxs(au,{"data-testid":x("vendor-row-container",y),style:{cursor:v},isClickable:L,children:[t.jsx(du,{"data-testid":x("vendor-row-sticky-container",y),isSticky:n,windowSize:m,bgColor:e,children:t.jsxs(hu,{"data-testid":x("vendor-row-name-container",y),windowSize:m,bgColor:e,children:[t.jsxs(rt,{controller:!C,children:[t.jsx(gu,{"data-testid":x("report-tree-vendor-row-avatar",y),children:l.logo!=null?t.jsx(Gt,{photoUrl:l.logo.toString(),styles:{width:O.nameLogoWidth.valuePx(m),height:O.nameLogoHeight.valuePx(m)}}):t.jsx(Et,{name:A,size:c.sp4})}),t.jsx(Oe,{"data-testid":x("vendor-row-name",y),style:{cursor:v},isClickable:L,onClick:()=>{L===!0&&p(l)},children:A})]}),t.jsx(rt,{controller:C,children:t.jsxs(mu,{children:[t.jsx(fu,{"data-testid":x("report-tree-vendor-row-avatar",y),children:t.jsx(xu,{})}),t.jsx(wu,{className:"hyphen-text",children:I.getLocalizedStrings().common.strings.hyphen}),t.jsx(yu,{className:"not-specified-text",children:A})]})})]})}),u?t.jsx(uu,{windowSize:m,bgColor:e,children:d!=null?t.jsx(Oe,{"data-testid":x("vendor-row-account-name",y),title:d.accountName,isClickable:!1,children:d.accountName}):t.jsx(Oe,{isClickable:!1,"data-testid":x("vendor-row-account-name",y),children:I.getLocalizedStrings().common.strings.hyphen})}):null,g?t.jsx(pu,{windowSize:m,bgColor:e,children:h!=null?t.jsx(Oe,{"data-testid":x("vendor-row-class-name",y),title:h.className,isClickable:!1,children:h.className}):t.jsx(Oe,{"data-testid":x("vendor-row-class-name",y),isClickable:!1,children:I.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(lu,{children:s.map((M,P)=>t.jsx(bu,{balance:M,timeframeColumnIndex:P,vendor:l,vendorRowKey:y,onVendorNameAndBalanceClick:p},P))})]}),t.jsx(ju,{isScrolling:o,isLastNode:r})]})}function ju({isScrolling:e,isLastNode:n}){return n?t.jsx(Ft,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Ft,{isScrolling:e,kind:"vendor_row_separator"})}const Cu=(e,n,i,o,r,l)=>{if(e.element.kind!=="timeframe_headers")return null;const s=He(e.element.data,e.config.displayOrder),d=s.length>0?s[0].balanceTimeFrame:"month",h=s.map(u=>Ge(u));return t.jsx(Kh,{backgroundColor:r,isSticky:i,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:e.config.mode==="this_period_vs_period_before"&&h.length>1,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:d,timeframeTicks:h,sortKey:e.config.opexByVendorConfig?.sortKey,sortOrder:e.config.opexByVendorConfig?.sortOrder,dataAvailable:e.config.dataAvailable,bookCloseDate:e.config.bookCloseDate,compareMode:o,onCompareModeChanged:l,onSortOrderChanged:e.config.opexByVendorConfig?.onSortOrderChanged})},Su=(e,n,i,o,r,l,s)=>{const d=i.element.data,h=i.config.mode==="this_period_vs_period_before",u=h?i.element.numOfBalances+2:i.element.numOfBalances+1,g=Di(d,i.config.displayOrder,u,h);return t.jsx(ou,{type:n,backgroundColor:s,isSticky:r,treeNodeId:e,height:o,isScrolling:l,totalBalances:g.balances,title:i.element.title,isAccountColumnShown:i.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:i.config.opexByVendorConfig?.isClassColumnShown??!0})},$u=(e,n,i,o,r,l,s)=>{if(n.element.kind!="vendor_row"||n.element.data==null)return null;const d=n.element.data,h=n.config.mode==="this_period_vs_period_before",u=Di(d,n.config.displayOrder,n.element.numOfBalances,h);return t.jsx(ku,{backgroundColor:o,isSticky:r,height:i,isScrolling:l,vendorRowIndex:n.element.index,vendor:d.vendor,accountBase:d.account,classBase:d.classBase,isLastNode:s,balances:u.balances,isAccountColumnShown:n.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:n.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:(g,p)=>{n.config.opexByVendorConfig?.onVendorNameAndBalanceClicked(g,p)}})},vu=(e,n,i,o)=>{if(e.element.kind!=="loading_in_progress")return null;const r=He(e.element.data,e.config.displayOrder).map(l=>Ge(l));return t.jsx(yh,{backgroundColor:i,isSticky:o,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})},_u=(e,n,i,o)=>{if(e.element.kind!=="title_string_only")return null;const r=He(e.element.data,e.config.displayOrder).map(l=>Ge(l));return t.jsx($h,{backgroundColor:i,isSticky:o,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})};function mn(e,n,i){return Lu(n,i,e)}const Lu=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.account.balancesInTimeframe,o.compactedAccountsSelector=r=>
|
|
2242
|
+
`,bu=({balance:e,timeframeColumnIndex:n,vendor:i,vendorRowKey:o,onVendorNameAndBalanceClick:r})=>{const l=e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent",s=e?.type==="period_total",d=e?.type==="default_with_null_balance",h=l!==!0&&s===!1&&d===!1&&!ci(i.id);return t.jsx(su,{"data-testid":x("report-tree-vendor-row-amount",`${o}-${String(n)}`),children:t.jsx(cu,{isClickable:h,onClick:()=>{h===!0&&r(i,e??void 0)},children:Z(e)})})};function ku({backgroundColor:e,isSticky:n,height:i,isScrolling:o,isLastNode:r,vendor:l,balances:s,accountBase:d,classBase:h,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:p,vendorRowIndex:f}){const m=W(),y=f!=null?String(f):l.id,b=Ht(),$=b.loggedInUserRole!=null&&!si(b.loggedInUserRole),C=ci(l.id),L=$===!0&&l!=null&&!C,v=L?"pointer":"default",A=l.name;return t.jsxs(ru,{"data-testid":x("vendor-row-root-container",y),height:i,bgColor:e,windowSize:m,children:[t.jsxs(au,{"data-testid":x("vendor-row-container",y),style:{cursor:v},isClickable:L,children:[t.jsx(du,{"data-testid":x("vendor-row-sticky-container",y),isSticky:n,windowSize:m,bgColor:e,children:t.jsxs(hu,{"data-testid":x("vendor-row-name-container",y),windowSize:m,bgColor:e,children:[t.jsxs(rt,{controller:!C,children:[t.jsx(gu,{"data-testid":x("report-tree-vendor-row-avatar",y),children:l.logo!=null?t.jsx(Gt,{photoUrl:l.logo.toString(),styles:{width:O.nameLogoWidth.valuePx(m),height:O.nameLogoHeight.valuePx(m)}}):t.jsx(Et,{name:A,size:c.sp4})}),t.jsx(Oe,{"data-testid":x("vendor-row-name",y),style:{cursor:v},isClickable:L,onClick:()=>{L===!0&&p(l)},children:A})]}),t.jsx(rt,{controller:C,children:t.jsxs(mu,{children:[t.jsx(fu,{"data-testid":x("report-tree-vendor-row-avatar",y),children:t.jsx(xu,{})}),t.jsx(wu,{className:"hyphen-text",children:I.getLocalizedStrings().common.strings.hyphen}),t.jsx(yu,{className:"not-specified-text",children:A})]})})]})}),u?t.jsx(uu,{windowSize:m,bgColor:e,children:d!=null?t.jsx(Oe,{"data-testid":x("vendor-row-account-name",y),title:d.accountName,isClickable:!1,children:d.accountName}):t.jsx(Oe,{isClickable:!1,"data-testid":x("vendor-row-account-name",y),children:I.getLocalizedStrings().common.strings.hyphen})}):null,g?t.jsx(pu,{windowSize:m,bgColor:e,children:h!=null?t.jsx(Oe,{"data-testid":x("vendor-row-class-name",y),title:h.className,isClickable:!1,children:h.className}):t.jsx(Oe,{"data-testid":x("vendor-row-class-name",y),isClickable:!1,children:I.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(lu,{children:s.map((M,P)=>t.jsx(bu,{balance:M,timeframeColumnIndex:P,vendor:l,vendorRowKey:y,onVendorNameAndBalanceClick:p},P))})]}),t.jsx(ju,{isScrolling:o,isLastNode:r})]})}function ju({isScrolling:e,isLastNode:n}){return n?t.jsx(Ft,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Ft,{isScrolling:e,kind:"vendor_row_separator"})}const Cu=(e,n,i,o,r,l)=>{if(e.element.kind!=="timeframe_headers")return null;const s=He(e.element.data,e.config.displayOrder),d=s.length>0?s[0].balanceTimeFrame:"month",h=s.map(u=>Ge(u));return t.jsx(Kh,{backgroundColor:r,isSticky:i,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:e.config.mode==="this_period_vs_period_before"&&h.length>1,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:d,timeframeTicks:h,sortKey:e.config.opexByVendorConfig?.sortKey,sortOrder:e.config.opexByVendorConfig?.sortOrder,dataAvailable:e.config.dataAvailable,bookCloseDate:e.config.bookCloseDate,compareMode:o,onCompareModeChanged:l,onSortOrderChanged:e.config.opexByVendorConfig?.onSortOrderChanged})},Su=(e,n,i,o,r,l,s)=>{const d=i.element.data,h=i.config.mode==="this_period_vs_period_before",u=h?i.element.numOfBalances+2:i.element.numOfBalances+1,g=Di(d,i.config.displayOrder,u,h);return t.jsx(ou,{type:n,backgroundColor:s,isSticky:r,treeNodeId:e,height:o,isScrolling:l,totalBalances:g.balances,title:i.element.title,isAccountColumnShown:i.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:i.config.opexByVendorConfig?.isClassColumnShown??!0})},$u=(e,n,i,o,r,l,s)=>{if(n.element.kind!="vendor_row"||n.element.data==null)return null;const d=n.element.data,h=n.config.mode==="this_period_vs_period_before",u=Di(d,n.config.displayOrder,n.element.numOfBalances,h);return t.jsx(ku,{backgroundColor:o,isSticky:r,height:i,isScrolling:l,vendorRowIndex:n.element.index,vendor:d.vendor,accountBase:d.account,classBase:d.classBase,isLastNode:s,balances:u.balances,isAccountColumnShown:n.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:n.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:(g,p)=>{n.config.opexByVendorConfig?.onVendorNameAndBalanceClicked(g,p)}})},vu=(e,n,i,o)=>{if(e.element.kind!=="loading_in_progress")return null;const r=He(e.element.data,e.config.displayOrder).map(l=>Ge(l));return t.jsx(yh,{backgroundColor:i,isSticky:o,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})},_u=(e,n,i,o)=>{if(e.element.kind!=="title_string_only")return null;const r=He(e.element.data,e.config.displayOrder).map(l=>Ge(l));return t.jsx($h,{backgroundColor:i,isSticky:o,height:n,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})};function mn(e,n,i){return Lu(n,i,e)}const Lu=(e,n,i)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.account.balancesInTimeframe,o.compactedAccountsSelector=r=>qn(r.accounts,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>qn(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r,o.compactedAccountGroupsSelector=r=>Au(r,o.acGroupBalanceSelector,i,n),o};function qn(e,n,i){switch(i){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>Bu((n(o)?.balances??[]).concat(n(o)?.additionalBalances??[]))||po((n(o)?.balances??[]).concat(n(o)?.additionalBalances??[])));case"filter_forecast_nil_balances":return e.filter(o=>Xn(n(o)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(o=>Xn(n(o)?.balances??[]))}}function Au(e,n,i,o){switch(o){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>po(n(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Iu(n(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>Wu(n(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(n(r)?.balances??[]).length>0)}}function po(e){let n=!1;if(e!=null){for(const i of e)if(i.balance.amount!==0){n=!0;break}}return n}function Bu(e){let n=!1;if(e!=null){for(const i of e)if(i.totalBalance!=null&&i.totalBalance.amount!==0){n=!0;break}}return n}function Iu(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0){n=!0;break}}return n}function Wu(e){let n=!1;if(e!=null){for(const i of e)if(i.forecast!=null&&i.forecast.amount!==0||i.balance!=null&&i.balance.amount!==0){n=!0;break}}return n}function Xn(e){let n=!1;if(e!=null){for(const i of e)if(i.totalForecast!=null&&i.totalForecast.amount!==0||i.totalBalance!=null&&i.totalBalance.amount!==0){n=!0;break}}return n}function go(e,n,i=-1,o=!0){const r=i!==-1;let l=[],s=-1;if(e==null||e.balances.length===0)return r===!0&&(l=Ou([],i)),{balances:l,thisPeriodIndex:s};let d=e.balances;return n==="ascending_date"?s=e.balances.length-1:(s=0,d=[...e.balances].reverse()),{balances:[...d,...o?e.additionalBalances:[]],thisPeriodIndex:s}}function Ou(e,n){return e.length>0?e:ti(Array(n),null)}const Mu=a.div`
|
|
2243
2243
|
display: flex;
|
|
2244
2244
|
flex: 1 1 auto;
|
|
2245
2245
|
width: fit-content;
|
|
@@ -2308,7 +2308,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2308
2308
|
&:hover {
|
|
2309
2309
|
color: inherit;
|
|
2310
2310
|
}
|
|
2311
|
-
`,Du=({type:e,balance:n,collapsed:i,isActualVsForecastOn:o,compareMode:r})=>{const l=i===!0?Fu:fo;return t.jsxs(zu,{children:[re(e)===!0||o?t.jsx(l,{children:Z(n)}):t.jsx(l,{children:
|
|
2311
|
+
`,Du=({type:e,balance:n,collapsed:i,isActualVsForecastOn:o,compareMode:r})=>{const l=i===!0?Fu:fo;return t.jsxs(zu,{children:[re(e)===!0||o?t.jsx(l,{children:Z(n)}):t.jsx(l,{children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function Ru({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:m,onClick:y}){const b=ce(),$=W(),C=!f,L=C?"pointer":"default",v=l==="collapsed",A=l==="hidden",M=A===!0?w[6]:w[4],P=v===!0?Vu:xo,E=v===!0?ni:ii,T=v===!0?b.colors.hero:b.colors.primary;return t.jsxs(Mu,{height:r,bgColor:n,"data-testid":x("pandl-report-account-group-row-root-container",o),children:[t.jsxs(Nu,{"data-testid":x("pandl-report-account-group-row-container",o),style:{cursor:L},isClickable:C,onClick:()=>y?.(o),children:[pe(e)===!0?t.jsxs(Tu,{bgColor:n,isSticky:i,windowSize:$,children:[A===!1?t.jsx(E,{color:T,style:{width:w[3],height:w[3]}}):null,t.jsx(P,{style:{marginLeft:M},children:s})]}):null,be(e)===!0?t.jsx(Pu,{children:d.map((Y,q)=>t.jsx(Du,{type:e,accountGroupName:s,balance:Y,isActualVsForecastOn:h,compareMode:u,collapsed:v},q))}):null]}),t.jsx(Gu,{isScrolling:g,type:e,isLeaf:f,isLastNode:m,isOpen:p})]})}function Gu({isScrolling:e,type:n,isLastNode:i,isOpen:o}){let r="ac_group_row_separator";return i&&!o?r="section_row_separator":o&&(r=pe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(ke,{isScrolling:e,kind:r})}const Eu=a.div`
|
|
2312
2312
|
display: flex;
|
|
2313
2313
|
flex: 1 1 auto;
|
|
2314
2314
|
width: fit-content;
|
|
@@ -2372,12 +2372,12 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2372
2372
|
text-align: left;
|
|
2373
2373
|
margin-left: ${c.sp2};
|
|
2374
2374
|
color: ${e=>e.theme.colors.primary};
|
|
2375
|
-
`,
|
|
2375
|
+
`,qu=a(wo)`
|
|
2376
2376
|
color: ${e=>e.theme.colors.hero};
|
|
2377
2377
|
&:hover {
|
|
2378
2378
|
color: inherit;
|
|
2379
2379
|
}
|
|
2380
|
-
`,
|
|
2380
|
+
`,Xu=({type:e,balance:n,collapsed:i,isActualVsForecastOn:o,compareMode:r})=>{const l=i===!0?Uu:mo;return t.jsxs(Yu,{children:[re(e)===!0||o?t.jsx(l,{children:Z(n)}):t.jsx(l,{children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function Qu({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:m,onClick:y}){const b=W(),$=ce(),C=!f,L=C?"pointer":"default",v=l==="collapsed",A=v===!0?qu:wo,[M,P]=z.useState(!1),E=s.length>0?s.substring(0,1).toUpperCase():"";return t.jsxs(Eu,{"data-testid":x("pandl-account-group-row-root-container",o),height:r,bgColor:n,children:[t.jsxs(Hu,{"data-testid":x("pandl-account-group-row-container",o),onMouseOver:()=>P(!0),onMouseLeave:()=>P(!1),style:{cursor:L},isClickable:C,onClick:()=>y?.(o),children:[pe(e)===!0?t.jsxs(Zu,{bgColor:n,isSticky:i,windowSize:b,children:[t.jsx(Se,{showCollapsedIcon:v,showIcon:M&&C,firstLetter:E,color:B($.colors.primary)}),t.jsx(A,{children:s})]}):null,be(e)===!0?t.jsx(Ku,{children:d.map((T,Y)=>t.jsx(Xu,{type:e,accountGroupName:s,balance:T,isActualVsForecastOn:h,compareMode:u,collapsed:v},Y))}):null]}),t.jsx(Ju,{isScrolling:g,type:e,isLeaf:f,isLastNode:m,isOpen:p})]})}function Ju({isScrolling:e,type:n,isLastNode:i,isOpen:o}){let r="ac_group_row_separator";return i&&!o?r="section_row_separator":o&&(r=pe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(ke,{isScrolling:e,kind:r})}const ep=a.div`
|
|
2381
2381
|
display: flex;
|
|
2382
2382
|
flex: 1 1 auto;
|
|
2383
2383
|
width: fit-content;
|
|
@@ -2472,7 +2472,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2472
2472
|
&:hover {
|
|
2473
2473
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2474
2474
|
}
|
|
2475
|
-
`,sp=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o,account:r,onAccountBalanceClick:l,stopRowClickPropagation:s})=>{const d=n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent",h=r!=null&&n!=null&&l!=null&&d!==!0;return t.jsxs(ip,{"data-testid":x("account-row-balance-element",e),children:[re(e)===!0||i?t.jsx(et,{"data-testid":x("account-row-balance-actual",e),isClickable:h,onClick:u=>{s===!0&&u.stopPropagation(),h===!0&&r!=null&&n!=null&&l?.(r,n,pt(r,n))},children:Z(n)}):t.jsx(et,{"data-testid":x("account-row-balance-forecast",e),isClickable:!1,children:
|
|
2475
|
+
`,sp=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o,account:r,onAccountBalanceClick:l,stopRowClickPropagation:s})=>{const d=n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent",h=r!=null&&n!=null&&l!=null&&d!==!0;return t.jsxs(ip,{"data-testid":x("account-row-balance-element",e),children:[re(e)===!0||i?t.jsx(et,{"data-testid":x("account-row-balance-actual",e),isClickable:h,onClick:u=>{s===!0&&u.stopPropagation(),h===!0&&r!=null&&n!=null&&l?.(r,n,pt(r,n))},children:Z(n)}):t.jsx(et,{"data-testid":x("account-row-balance-forecast",e),isClickable:!1,children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(et,{isClickable:!1,"data-testid":x("account-row-balance-forecast",e),children:Q(n)}),t.jsx(et,{"data-testid":x("account-row-balance-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?he(n):ue(n)})]}):null]})};function cp({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,accountBalances:l,isActualVsForecastOn:s,compareMode:d,isScrolling:h,isLeaf:u,isLastNode:g,account:p,titleIndentExtraPx:f,horizontalTreeView:m,horizontalCollapse:y,onAccountBalanceClick:b}){const $=W(),{common:{strings:{hyphen:C}}}=I.getLocalizedStrings(),L=p?.accountDescription?p.accountDescription:C,v=p!=null&&Te(p)===!0||p?.accountName?p.accountName:L;return t.jsxs(ep,{height:r,bgColor:n,"data-testid":x("account-row-root-container",o),children:[t.jsxs(tp,{"data-testid":x("account-row-container",o),onClick:y!=null?()=>y.onRowClick():void 0,children:[pe(e)===!0?m!=null?t.jsx(op,{isSticky:i,windowSize:$,bgColor:n,containerHeight:r,isRowClickable:y!=null,isSubAccountLeaf:m.isLeaf,children:t.jsx(ap,{title:v,children:t.jsx(nn,{classAnscestorMetadata:[],collapsed:y!=null?!y.isOpen:!1,depth:m.treeDepth,displayName:v,hasChildren:m.hasChildren,hasSiblings:m.hasSiblings,isLastNode:m.isLastNode,isLeaf:m.isLeaf,noMarginForAccount:!1,subAccountAnscestorMetadata:m.subAccountAncestorMetadata})})}):t.jsx(rp,{isSticky:i,windowSize:$,bgColor:n,children:t.jsx(lp,{isClickable:!1,title:v,titleIndentExtraPx:f,children:v})}):null,be(e)===!0?t.jsx(np,{children:l.map((A,M)=>t.jsx(sp,{type:e,isActualVsForecastOn:s,compareMode:d,balance:A,account:p,stopRowClickPropagation:y!=null,onAccountBalanceClick:b==null?void 0:(P,E,T)=>{b(o,P,E,T)}},M))}):null]}),t.jsx(dp,{isScrolling:h,type:e,isLeaf:u,isLastNode:g})]})}function dp({isScrolling:e,isLastNode:n,type:i}){const o=n?"ac_group_row_separator":pe(i)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(ke,{isScrolling:e,kind:o})}const hp=a.div`
|
|
2476
2476
|
user-select: none;
|
|
2477
2477
|
display: flex;
|
|
2478
2478
|
flex: 1 1 auto;
|
|
@@ -2488,7 +2488,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2488
2488
|
flex: 1 0 auto;
|
|
2489
2489
|
flex-direction: row;
|
|
2490
2490
|
justify-content: flex-end;
|
|
2491
|
-
`,
|
|
2491
|
+
`,Qn=a.div`
|
|
2492
2492
|
display: flex;
|
|
2493
2493
|
max-height: 54px;
|
|
2494
2494
|
min-height: 54px;
|
|
@@ -2539,7 +2539,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2539
2539
|
left: ${c.sp0};
|
|
2540
2540
|
z-index: 20;
|
|
2541
2541
|
`:null}
|
|
2542
|
-
`;function xp({text:e}){const n=ce();return t.jsx(pp,{children:t.jsx(Go,{text:e,style:{width:"100%",minWidth:0},itemTextStyle:{color:n.colors.primary,textAlign:"center"}})})}function mp({type:e,backgroundColor:n,isSticky:i,height:o,classColumns:r}){const l=W();return t.jsxs(hp,{height:o,bgColor:n,children:[pe(e)===!0?t.jsx(fp,{"aria-hidden":!0,isSticky:i,windowSize:l,bgColor:n}):null,t.jsxs(up,{children:[r.map((s,d)=>t.jsx(
|
|
2542
|
+
`;function xp({text:e}){const n=ce();return t.jsx(pp,{children:t.jsx(Go,{text:e,style:{width:"100%",minWidth:0},itemTextStyle:{color:n.colors.primary,textAlign:"center"}})})}function mp({type:e,backgroundColor:n,isSticky:i,height:o,classColumns:r}){const l=W();return t.jsxs(hp,{height:o,bgColor:n,children:[pe(e)===!0?t.jsx(fp,{"aria-hidden":!0,isSticky:i,windowSize:l,bgColor:n}):null,t.jsxs(up,{children:[r.map((s,d)=>t.jsx(Qn,{children:t.jsx(xp,{text:s.className})},s.classId??d)),t.jsx(Qn,{children:t.jsx(gp,{children:"Total"})},"total")]})]})}const wp=a.div`
|
|
2543
2543
|
display: flex;
|
|
2544
2544
|
flex: 1 1 auto;
|
|
2545
2545
|
width: fit-content;
|
|
@@ -2608,7 +2608,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2608
2608
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
2609
2609
|
border-radius: ${c.sp1};
|
|
2610
2610
|
margin: 0 ${c.sp5} 0 ${c.sp3};
|
|
2611
|
-
`,vp=({metadata:e,depth:n})=>n===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(Do,{}):t.jsx(Ro,{}),_p=({type:e,balance:n,color:i,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(kp,{children:[re(e)===!0||o?t.jsx(tt,{style:{color:i},children:Z(n)}):t.jsx(tt,{style:{color:i},children:
|
|
2611
|
+
`,vp=({metadata:e,depth:n})=>n===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(Do,{}):t.jsx(Ro,{}),_p=({type:e,balance:n,color:i,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(kp,{children:[re(e)===!0||o?t.jsx(tt,{style:{color:i},children:Z(n)}):t.jsx(tt,{style:{color:i},children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(tt,{style:{color:i},children:Q(n)}),t.jsx(tt,{style:{color:i},children:r==="compare_mode_percent"?he(n):ue(n)})]}):null]});function Lp({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,className:l,classCode:s,sectionBalances:d,isActualVsForecastOn:h,compareMode:u,hasChildren:g,isScrolling:p,isOpen:f,isLeaf:m,metadata:y,showClassAccountNumber:b,onClick:$,depth:C}){const L=W(),v=ce(),A=!m,M=A?"pointer":"default",P=v.colors.primary,E=l.length>0?l.substr(0,1).toUpperCase():"",[T,Y]=z.useState(!1),q=y.classAncestorMetadata??[];return t.jsxs(wp,{"data-testid":x("class-row-root-container",o),height:r,bgColor:n,children:[t.jsxs(yp,{"data-testid":x("class-row-container",o),style:{cursor:M},onClick:()=>$?.(o),onMouseOver:()=>Y(!0),onMouseLeave:()=>Y(!1),children:[pe(e)===!0?t.jsxs(jp,{isSticky:i,windowSize:L,bgColor:n,children:[t.jsx(pa,{name:l,ancestorMetadata:q,depth:C}),t.jsx(vp,{metadata:q[C],depth:C}),t.jsx(Se,{color:B(P),showCollapsedIcon:!f,showIcon:T&&A,firstLetter:E,showTreeLine:g}),t.jsx(Cp,{children:t.jsx(Sp,{style:{color:P},children:l})}),T===!0&&b===!0&&s!==void 0&&t.jsx($p,{children:s})]}):null,be(e)===!0?t.jsx(bp,{children:d.map((ae,X)=>t.jsx(_p,{type:e,sectionName:l,balance:ae,isActualVsForecastOn:h,compareMode:u,color:P},X))}):null]}),t.jsx(Ap,{isScrolling:p,isLeaf:m,isOpen:f})]})}function Ap({isScrolling:e,isLeaf:n,isOpen:i}){return n||!i?t.jsx(ke,{isScrolling:e,kind:"section_row_separator"}):null}const Bp=a.div`
|
|
2612
2612
|
display: flex;
|
|
2613
2613
|
flex: 1 1 auto;
|
|
2614
2614
|
width: fit-content;
|
|
@@ -2663,7 +2663,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2663
2663
|
text-overflow: ellipsis;
|
|
2664
2664
|
text-align: left;
|
|
2665
2665
|
margin-left: ${c.sp2};
|
|
2666
|
-
`,Pp=({type:e,balance:n,color:i,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Op,{children:[re(e)===!0||o?t.jsx(nt,{style:{color:i},children:Z(n)}):t.jsx(nt,{style:{color:i},children:
|
|
2666
|
+
`,Pp=({type:e,balance:n,color:i,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Op,{children:[re(e)===!0||o?t.jsx(nt,{style:{color:i},children:Z(n)}):t.jsx(nt,{style:{color:i},children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(nt,{style:{color:i},children:Q(n)}),t.jsx(nt,{style:{color:i},children:r==="compare_mode_percent"?he(n):ue(n)})]}):null]});function wn({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,isActualVsForecastOn:d,compareMode:h,sectionColor:u,isScrolling:g,isOpen:p,isLeaf:f,onClick:m}){const y=W(),b=!f,$=b?"pointer":"default",C=l.length>0?l.substring(0,1).toUpperCase():"",[L,v]=z.useState(!1);return t.jsxs(Bp,{"data-testid":x("section-row",o),height:r,bgColor:n,children:[t.jsxs(Ip,{"data-testid":x("section-row-container",o),style:{cursor:$},onClick:()=>m?.(o),onMouseOver:()=>v(!0),onMouseLeave:()=>v(!1),children:[pe(e)===!0?t.jsxs(Mp,{isSticky:i,windowSize:y,bgColor:n,children:[t.jsx(Se,{color:B(u),showCollapsedIcon:!p,showIcon:L&&b,firstLetter:C}),t.jsx(Np,{style:{color:u},children:l})," "]}):null,be(e)===!0?t.jsx(Wp,{children:s.map((A,M)=>t.jsx(Pp,{type:e,sectionName:l,balance:A,isActualVsForecastOn:d,compareMode:h,color:u},M))}):null]}),t.jsx(zp,{isScrolling:g,isLeaf:f,isOpen:p})]})}function zp({isScrolling:e,isLeaf:n,isOpen:i}){return n||!i?t.jsx(ke,{isScrolling:e,kind:"section_row_separator"}):null}const Fp=a.div`
|
|
2667
2667
|
display: flex;
|
|
2668
2668
|
flex: 1 1 auto;
|
|
2669
2669
|
width: fit-content;
|
|
@@ -2757,7 +2757,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2757
2757
|
clear: both;
|
|
2758
2758
|
display: inline-block;
|
|
2759
2759
|
text-align: left;
|
|
2760
|
-
`,Ep=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o,account:r,showTotal:l,reportId:s,companyId:d,companyName:h,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:p})=>{const f=n!=null?nr(n?.type):!1,m=r!=null&&n!=null&&p!=null&&f!==!0,y=l===!0?hi(n):Z(n),b=l===!0?Lt(n):
|
|
2760
|
+
`,Ep=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o,account:r,showTotal:l,reportId:s,companyId:d,companyName:h,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:p})=>{const f=n!=null?nr(n?.type):!1,m=r!=null&&n!=null&&p!=null&&f!==!0,y=l===!0?hi(n):Z(n),b=l===!0?Lt(n):Q(n),$=l===!0?ui(n):he(n),C=l===!0?pi(n):ue(n),L=To(r?.accountId,n),v=Yo({type:"details",key:s}),A=t.jsxs(Dp,{"data-testid":x("account-row-balance-element",e),children:[re(e)===!0||i?t.jsx(it,{"data-testid":x("account-row-balance-actual",e),isClickable:m,onClick:P=>{P.stopPropagation(),m===!0&&r!=null&&n!=null&&p?.(r,n,pt(r,n))},children:y}):t.jsx(it,{"data-testid":x("account-row-balance-forecast",e),isClickable:!1,children:b}),i?t.jsxs(t.Fragment,{children:[t.jsx(it,{"data-testid":x("account-row-balance-forecast",e),isClickable:!1,children:b}),t.jsx(it,{"data-testid":x("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?$:C})]}):null]});if(!u||L==null||!d)return A;const M=g?"forecast_report":"standard_report";return t.jsx(Vo,{isThreadAllowed:!0,dashboardTabKey:v,roomId:`dashboard_${d}`,companyId:d,companyName:h,entityId:L,dashboardOptionType:M,filterMetaData:{companyId:d,tab:M,entityType:`${M}.${v}`,entityId:L},children:A})},{common:{strings:{empty:Hp,plus:Kp}}}=I.getLocalizedStrings();function Yp({type:e,backgroundColor:n,isSticky:i,treeNodeId:o,height:r,classDepth:l,accountBalances:s,isActualVsForecastOn:d,compareMode:h,metadata:u,isScrolling:g,noMarginForAccount:p,isLeaf:f,isOpen:m,isLastNode:y,account:b,reportId:$,onAccountBalanceClick:C,onClick:L}){const v=W(),A=Ht(),M=A?.currentTenant?.companyId??"",P=A?.currentTenant?.companyName??"",E=typeof $=="string"&&$.includes(Kp),{useFeatureGate:T}=Mo(),{isFeatureEnabled:Y}=T(No.isReportsCommentingEnabled),q=Y,ae=b!=null?b.id.length-1:0,X=b?.hasSiblings??!1,de=b!=null?b.children.length!==0:!1,me=u,le=b?.account.accountDescription?b.account.accountDescription:Hp,J=b?.account.accountName?b.account.accountName:le;return t.jsxs(Fp,{"data-testid":x("sub-account-row",o),height:r,bgColor:n,children:[t.jsxs(Tp,{"data-testid":x("sub-account-row-container",o),onClick:()=>L?.(o),children:[t.jsx(Rp,{isClickable:de,isSticky:i,windowSize:v,bgColor:n,containerHeight:r,children:t.jsx(Gp,{title:J,children:t.jsx(nn,{displayName:J,depth:ae,classDepth:l,isLastNode:y,hasChildren:de,hasSiblings:X,isLeaf:f,collapsed:!m,subAccountAnscestorMetadata:me.subAccountAncestorMetadata,classAnscestorMetadata:me.classAncestorMetadata??[],noMarginForAccount:p})})}),be(e)===!0?t.jsx(Vp,{children:s.map((we,$e)=>t.jsx(Ep,{type:e,isActualVsForecastOn:d,compareMode:h,balance:we,account:b?.account,showTotal:!m,reportId:$,companyId:M,companyName:P,isCommentingEnabled:q,isForecastReport:E,onAccountBalanceClick:C==null?void 0:(ye,ve,ge)=>{C(o,ye,ve,ge)}},$e))}):null]}),t.jsx(Up,{isScrolling:g,isLeaf:f,isOpen:m,depth:ae,isSticky:i,classDepth:l,noMarginForAccount:p})]})}function Up({isScrolling:e,depth:n,isOpen:i,isLeaf:o,isSticky:r,classDepth:l,noMarginForAccount:s}){return!i||o===!0?t.jsx(ke,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:n,isSticky:r,classDepth:l,noMarginForAccount:s}}):null}const Zp=[10,14,20,20,20],qp=a.div`
|
|
2761
2761
|
display: flex;
|
|
2762
2762
|
flex: 1 1 auto;
|
|
2763
2763
|
width: fit-content;
|
|
@@ -2765,14 +2765,14 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2765
2765
|
flex-direction: column;
|
|
2766
2766
|
height: ${e=>e.height-1}px;
|
|
2767
2767
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2768
|
-
`,
|
|
2768
|
+
`,Xp=a.div`
|
|
2769
2769
|
user-select: none;
|
|
2770
2770
|
display: flex;
|
|
2771
2771
|
flex: 1 1 auto;
|
|
2772
2772
|
flex-flow: row;
|
|
2773
2773
|
justify-content: flex-start;
|
|
2774
2774
|
align-items: center;
|
|
2775
|
-
`,
|
|
2775
|
+
`,Qp=a.div`
|
|
2776
2776
|
width: ${e=>gi.emptyLeftContainer.valuePx(e.windowSize)};
|
|
2777
2777
|
height: ${c.sp1};
|
|
2778
2778
|
`,Jp=a.div`
|
|
@@ -2819,7 +2819,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2819
2819
|
margin-left: ${e=>Zp[e.depth]}px;
|
|
2820
2820
|
color: ${e=>e.theme.colors.primary};
|
|
2821
2821
|
width: ${e=>k.titleWidth.value(e.windowSize)-e.depth*80}px;
|
|
2822
|
-
`,ig=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o})=>t.jsxs(eg,{"data-testid":x("sub-account-row-balance-element",e),children:[re(e)===!0||i?t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-actual",e),isClickable:!1,children:hi(n)}):t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Lt(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Lt(n)}),t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?ui(n):pi(n)})]}):null]});function og({type:e,backgroundColor:n,isSticky:i,height:o,classDepth:r,accountName:l,accountBalances:s,account:d,noMarginForAccount:h,isActualVsForecastOn:u,compareMode:g,isScrolling:p,metadata:f}){const m=W(),y=I.getLocalizedStrings().reports.sections,b=d!=null?d.id.length-1:0,$=f;return t.jsxs(
|
|
2822
|
+
`,ig=({type:e,balance:n,isActualVsForecastOn:i,compareMode:o})=>t.jsxs(eg,{"data-testid":x("sub-account-row-balance-element",e),children:[re(e)===!0||i?t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-actual",e),isClickable:!1,children:hi(n)}):t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Lt(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Lt(n)}),t.jsx(ot,{"data-testid":x("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?ui(n):pi(n)})]}):null]});function og({type:e,backgroundColor:n,isSticky:i,height:o,classDepth:r,accountName:l,accountBalances:s,account:d,noMarginForAccount:h,isActualVsForecastOn:u,compareMode:g,isScrolling:p,metadata:f}){const m=W(),y=I.getLocalizedStrings().reports.sections,b=d!=null?d.id.length-1:0,$=f;return t.jsxs(qp,{height:o,bgColor:n,children:[t.jsxs(Xp,{children:[t.jsxs(tg,{isSticky:i,windowSize:m,bgColor:n,containerHeight:o,children:[r!=null?t.jsx(xi,{ancestorMetadata:$.classAncestorMetadata??[],depth:r,name:l}):h===!1?t.jsx(Qp,{windowSize:m}):null,t.jsx(mi,{ancestorMetadata:$.subAccountAncestorMetadata,depth:b,name:l}),t.jsx(ng,{"data-testid":x("sub-account-row-name",e),isClickable:!1,title:l,depth:b,windowSize:m,children:y.totalPrefix+" "+l})]}),be(e)===!0?t.jsx(Jp,{children:s.map((C,L)=>t.jsx(ig,{type:e,isActualVsForecastOn:u,compareMode:g,balance:C},L))}):null]}),t.jsx(rg,{isScrolling:p,nestingLevel:b,isSticky:i,classDepth:r,noMarginForAccount:h})]})}function rg({isScrolling:e,nestingLevel:n,isSticky:i,classDepth:o,noMarginForAccount:r}){return t.jsx(ke,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:n,isSticky:i,classDepth:o,noMarginForAccount:r}})}const ag=a.div`
|
|
2823
2823
|
user-select: none;
|
|
2824
2824
|
display: flex;
|
|
2825
2825
|
flex: 1 1 auto;
|
|
@@ -2916,7 +2916,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2916
2916
|
`,gg=a.div`
|
|
2917
2917
|
max-height: 54px;
|
|
2918
2918
|
min-height: 54px;
|
|
2919
|
-
`,ko=({firstMonthOfFY:e,timeframeTick:n,timeframe:i,dataAvailable:o,bookCloseDate:r})=>{const l=I.getLocalizedStrings().reports,s=r!=null&&o!=null&&(n.balanceType==="default"||n.balanceType==="default_with_percent")?di(i,e,n,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=oo(s,i);return t.jsx(gg,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(io,{firstMonthOfFY:e,timeframeTick:n,timeframe:i,tagName:d,infoContent:h,tagType:s}):t.jsx(yo,{isActualVsForecastOn:!1,children:t.jsx(bo,{children:Ee(e,n,i)})})})},fg=({firstMonthOfFY:e,timeframeTick:n,timeframe:i,isActualVsForecastOn:o,compareMode:r,dataAvailable:l,bookCloseDate:s,onCompareModeChanged:d})=>{const h=I.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${I.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:I.getLocalizedStrings().compareMode.changePercent;return o===!0?t.jsxs(pg,{isActualVsForecastOn:o,children:[t.jsx(yo,{isActualVsForecastOn:o,children:t.jsx(bo,{children:Ee(e,n,i)})}),t.jsxs(cg,{isActualVsForecastOn:o,children:[t.jsx(_t,{children:h.actual}),t.jsx(_t,{children:h.forecast}),t.jsx(_t,{children:t.jsx(gn,{title:u,titleTextStyle:Yt.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(ko,{firstMonthOfFY:e,timeframeTick:n,timeframe:i,dataAvailable:l,bookCloseDate:s})},xg=({firstMonthOfFY:e,timeframeTicks:n,timeframe:i,compareMode:o,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:s})=>{const d=ce(),h=o==="compare_mode_amount"?`${I.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:I.getLocalizedStrings().compareMode.changePercent;return t.jsx(dg,{children:n.map((u,g)=>t.jsx(z.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(ug,{children:t.jsx(gn,{title:h,titleTextStyle:Yt.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?s?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx(hg,{children:t.jsx(ko,{firstMonthOfFY:e,timeframeTick:u,timeframe:i,dataAvailable:r,bookCloseDate:l},g)})},g))})};function mg({type:e,backgroundColor:n,isSticky:i,height:o,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const m=W();return t.jsxs(ag,{height:o,bgColor:n,children:[pe(e)===!0?t.jsx(sg,{isSticky:i,windowSize:m,bgColor:n,children:" . "}):null,t.jsx(lg,{children:l===!0?t.jsx(xg,{firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((y,b)=>t.jsx(fg,{firstMonthOfFY:s,timeframeTick:y,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},b))})]})}const yt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const f=i.element.data,m=Te(f)===!0?f.horizontalTreeView:void 0,y=Te(f)===!0&&m==null?Math.max(0,f.depth-2)*16:void 0,b=Re(i.config.reportId)===!0||li(i.config.reportId)===!0?Gi("no_filter",i.config.filterAccountsWithNilBalances):dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),$=te(b.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),C=m!=null&&m.hasChildren&&p!=null?{isOpen:u,onRowClick:()=>p(e)}:void 0;return t.jsx(cp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:$.balances,isScrolling:s,isLeaf:d,isLastNode:h,account:f,titleIndentExtraPx:y,horizontalTreeView:m,horizontalCollapse:C,onAccountBalanceClick:p==null?void 0:(L,v,A,M)=>{p?.(L,v,A,M)}})},Ke=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_subaccount"||i.element.data==null)return null;const f=i.element.data,m=mn("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=go(m.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),b=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,$=i.config.reportId==="operating_expenses";return t.jsx(Yp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",classDepth:b,compareMode:g,accountBalances:y.balances,isScrolling:s,isLeaf:d,isOpen:h,isLastNode:u,account:f,reportId:i.config.reportId,metadata:i.element.metadata,onClick:p,noMarginForAccount:$,onAccountBalanceClick:p==null?void 0:(C,L,v,A)=>{p?.(C,L,v,A)}})},bt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,m=dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=te(m.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Ru,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},yn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_group_subaccount"||i.element.data==null)return null;const f=i.element.data,m=mn("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=te(m.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(qu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},bn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},kt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},kn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},Ye=(e,n,i,o,r,l,s,d,h)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=mn("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=go(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),m=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(og,{type:e,backgroundColor:o,isSticky:r,height:i,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:m,isLeaf:s,isLastNode:d,metadata:n.element.metadata,classDepth:p})},Ue=(e,n,i,o,r,l,s,d)=>{if(i.element.kind!=="timeframe_headers"&&i.element.kind!=="timeframe_headers_with_forecast")return null;const h=He(i.element.data,i.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>Ge(p));return t.jsx(mg,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:o,isActualVsForecastOn:i.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:i.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:i.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:s,dataAvailable:i.config.dataAvailable,bookCloseDate:i.config.bookCloseDate,onCompareModeChanged:d})},wg=(e,n,i,o,r,l)=>{if(i.element.kind!=="class_headers")return null;const s=i.element.data;return t.jsx(mp,{isSticky:l,type:n,height:o,backgroundColor:r,classColumns:s})},jo=(e,n,i,o,r,l,s,d,h,u,g,p,f)=>{if(i.element.kind!="class"||i.element.data==null)return null;const m=i.element.data,y=te(m.childrenBalancesTotal,i.config.displayOrder,i.element.numOfBalances),b=g>1;return t.jsx(Lp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,className:i.element.title,classCode:i.element.data.class.accountingClassNumber,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",depth:m.id.length-1,compareMode:p,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,hasChildren:m.children.length>0,isLastNode:u,isSubClass:b,showClassAccountNumber:i.config.showClassAccountNumber,onClick:$=>{f?.($)},metadata:i.element.metadata})},yg=(e,n,i)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ei,{height:n,backgroundColor:i,title:e.element.title,numOfBalances:e.element.numOfBalances}),bg=(e,n,i)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ki,{height:n,backgroundColor:i,numOfBalances:e.element.numOfBalances}),Jn=e=>{const{height:n,data:{reportElementData:i,id:o,treeKind:r,isLeaf:l,isLastNode:s,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,m=($,C,L,v)=>{const A=l?u:!u;!l&&L==null&&(p(!u),e.onNodeCollapseToggled?.($,!u)),e.onNodeClick?.($,A,C,L,v)},y=e.treeNodePadding?.left,b=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:y,paddingRight:b},children:t.jsx(Co,{id:o,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:i,height:n,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:s,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?m:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},o)})},Co=e=>e.treeKind==="name_only"?t.jsx(vg,{...e}):qt(e.reportElementData.config.reportId)?t.jsx(Lg,{...e}):en(e.reportElementData.config.reportId)===!0?t.jsx(_g,{...e}):li(e.reportElementData.config.reportId)===!0?t.jsx(kg,{...e}):Xt(e.reportElementData.config.reportId)===!0?t.jsx(jg,{...e}):Re(e.reportElementData.config.reportId)===!0?t.jsx(Cg,{...e}):Qt(e.reportElementData.config.reportId)===!0?t.jsx(Sg,{...e}):tr(e.reportElementData.config.reportId)===!0?t.jsx($g,{...e}):tn(e.reportElementData.config.reportId)===!0?t.jsx(Ag,{...e}):Jt(e.reportElementData.config.reportId)===!0?t.jsx(Bg,{...e}):null,kg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:m})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,p,f);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,p,f);case"section":return bn(e,n,i,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return kn(e,n,i,o,r,l,s,u,d,h,p,f);case"title_string_only":return null;case"class_headers":return wg(e,n,i,o,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,p,m);case"class":return jo(e,n,i,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,p,f);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,p);case"headers_loading_in_progress":return bg(i,o,r);case"loading_in_progress":return yg(i,o,r);default:return null}},jg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,g,p);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return bn(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return kn(e,n,i,o,r,l,s,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);default:return null}},Cg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:m})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,p,f);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,p,f);case"section":return Zi(e,n,i,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return Xi(e,n,i,o,r,l,s,u,d,h,p,f);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,p,f);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,p,m);case"class":return jo(e,n,i,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,p,f);case"total":return Qi(e,n,i,o,r,l,p,d);case"headers_loading_in_progress":return nc(i,o,r);case"loading_in_progress":return tc(i,o,r);default:return null}},Sg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return qs(e,n,i,o,r,l,s,d,h,g,p);case"ac_group_report":return Js(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return Zi(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return ec(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return Xi(e,n,i,o,r,l,s,u,d,h,g,p);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,g,p);case"total":return Qi(e,n,i,o,r,l,g,d);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);default:return null}},$g=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,g,p);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return bn(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":return kn(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section_type1":return Dl(e,i,o,r,l,s,h);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);default:return null}},vg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(i.element.kind){case"checkbox_and_name_only":return uh(e,n,i,o,r,l,s,u,d,h,g);default:return null}},_g=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(i.element.kind){case"loading_in_progress":case"spacer_row":return vu(i,o,r,l);case"timeframe_headers":return Cu(i,o,l,h,r,u);case"total":return Su(e,n,i,o,l,s,r);case"vendor_row":return $u(n,i,o,r,l,s,d);case"title_string_only":return _u(i,o,r,l);default:return null}},Lg=({id:e,treeKind:n,reportElementData:i,height:o,isOpen:r,isSticky:l,isScrolling:s,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=i;switch(i.element.kind){case"spacer_row":return null;case"timeframe_headers":return el(i,o,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return il(n,i,o,h,l);case"aging_report_row":return tl(e,i,o,r,l,d,s,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return nl(i,o,l,s,h);default:return null}},Ag=({id:e,reportElementData:n,height:i,backgroundColor:o,isSticky:r,isScrolling:l,isLeaf:s,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return qd(e,n,o,r,l,s,d,f,g);case"flux_vendor_row":return Jd(e,n,o,r,l,u,s,d,h,f,p);case"section":return eh(e,n,i,o,r,l,u,s,d,p);case"timeframe_headers":return th(n,i,r);case"total":return nh(n,i);case"loading_in_progress":return ih(n);case"headers_loading_in_progress":return oh(n);default:return null}},Bg=({reportElementData:e,height:n,isSticky:i,isLastNode:o})=>{switch(e.element.kind){case"timeframe_headers":return ta(e,i);case"loading_in_progress":return ea();case"total":return na(e,n,i);case"section":return Jr();case"title_string_only":return ia(e,n);case"ac_group_report":return oa(e,n,o);default:return null}};function ei(e,n,i,o){const r=e.reportElementData.element.data,l=e.reportElementData.config.reportId==="profit_and_loss_by_classes"&&e.reportElementData.element.kind==="ac_report"&&e.children.length>0&&Te(r)===!0?!0:void 0;return{data:{defaultHeight:jn(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:o??l??Ig(e.reportElementData.config.reportId,e.reportElementData.element.kind,i,e.reportElementData.config.reportFormat),nestingLevel:i,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:i,node:e}}function jn(e,n,i){return Xt(e)===!0?ra(n):Qt(e)===!0||Re(e)===!0?us(n):qt(e)?ma(n):Jt(e)?ct(n):en(e)?ph(n):tn(e)?Ji(n,i):kl(n)}function Ig(e,n,i,o){return Xt(e)?aa(n,o,i):Qt(e)||Re(e)===!0?ps(n,o):qt(e)?wa():en(e)?gh():tn(e)?gc(n):Jt(e)?or():jl(n,o)}const Wg=a.div`
|
|
2919
|
+
`,ko=({firstMonthOfFY:e,timeframeTick:n,timeframe:i,dataAvailable:o,bookCloseDate:r})=>{const l=I.getLocalizedStrings().reports,s=r!=null&&o!=null&&(n.balanceType==="default"||n.balanceType==="default_with_percent")?di(i,e,n,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=oo(s,i);return t.jsx(gg,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(io,{firstMonthOfFY:e,timeframeTick:n,timeframe:i,tagName:d,infoContent:h,tagType:s}):t.jsx(yo,{isActualVsForecastOn:!1,children:t.jsx(bo,{children:Ee(e,n,i)})})})},fg=({firstMonthOfFY:e,timeframeTick:n,timeframe:i,isActualVsForecastOn:o,compareMode:r,dataAvailable:l,bookCloseDate:s,onCompareModeChanged:d})=>{const h=I.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${I.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:I.getLocalizedStrings().compareMode.changePercent;return o===!0?t.jsxs(pg,{isActualVsForecastOn:o,children:[t.jsx(yo,{isActualVsForecastOn:o,children:t.jsx(bo,{children:Ee(e,n,i)})}),t.jsxs(cg,{isActualVsForecastOn:o,children:[t.jsx(_t,{children:h.actual}),t.jsx(_t,{children:h.forecast}),t.jsx(_t,{children:t.jsx(gn,{title:u,titleTextStyle:Yt.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(ko,{firstMonthOfFY:e,timeframeTick:n,timeframe:i,dataAvailable:l,bookCloseDate:s})},xg=({firstMonthOfFY:e,timeframeTicks:n,timeframe:i,compareMode:o,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:s})=>{const d=ce(),h=o==="compare_mode_amount"?`${I.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:I.getLocalizedStrings().compareMode.changePercent;return t.jsx(dg,{children:n.map((u,g)=>t.jsx(z.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(ug,{children:t.jsx(gn,{title:h,titleTextStyle:Yt.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?s?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx(hg,{children:t.jsx(ko,{firstMonthOfFY:e,timeframeTick:u,timeframe:i,dataAvailable:r,bookCloseDate:l},g)})},g))})};function mg({type:e,backgroundColor:n,isSticky:i,height:o,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const m=W();return t.jsxs(ag,{height:o,bgColor:n,children:[pe(e)===!0?t.jsx(sg,{isSticky:i,windowSize:m,bgColor:n,children:" . "}):null,t.jsx(lg,{children:l===!0?t.jsx(xg,{firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((y,b)=>t.jsx(fg,{firstMonthOfFY:s,timeframeTick:y,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},b))})]})}const yt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const f=i.element.data,m=Te(f)===!0?f.horizontalTreeView:void 0,y=Te(f)===!0&&m==null?Math.max(0,f.depth-2)*16:void 0,b=Re(i.config.reportId)===!0||li(i.config.reportId)===!0?Gi("no_filter",i.config.filterAccountsWithNilBalances):dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),$=te(b.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),C=m!=null&&m.hasChildren&&p!=null?{isOpen:u,onRowClick:()=>p(e)}:void 0;return t.jsx(cp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:$.balances,isScrolling:s,isLeaf:d,isLastNode:h,account:f,titleIndentExtraPx:y,horizontalTreeView:m,horizontalCollapse:C,onAccountBalanceClick:p==null?void 0:(L,v,A,M)=>{p?.(L,v,A,M)}})},Ke=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_subaccount"||i.element.data==null)return null;const f=i.element.data,m=mn("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=go(m.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),b=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,$=i.config.reportId==="operating_expenses";return t.jsx(Yp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",classDepth:b,compareMode:g,accountBalances:y.balances,isScrolling:s,isLeaf:d,isOpen:h,isLastNode:u,account:f,reportId:i.config.reportId,metadata:i.element.metadata,onClick:p,noMarginForAccount:$,onAccountBalanceClick:p==null?void 0:(C,L,v,A)=>{p?.(C,L,v,A)}})},bt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,m=dt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=te(m.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Ru,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},yn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="ac_group_subaccount"||i.element.data==null)return null;const f=i.element.data,m=mn("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),y=te(m.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Qu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},bn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},kt=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},kn=(e,n,i,o,r,l,s,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=Vt(i.element.title),m=i.element.data,y=te(m,i.config.displayOrder,i.element.numOfBalances);return t.jsx(wn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:b=>{p?.(b)}})},Ye=(e,n,i,o,r,l,s,d,h)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=mn("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=go(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),m=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(og,{type:e,backgroundColor:o,isSticky:r,height:i,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:m,isLeaf:s,isLastNode:d,metadata:n.element.metadata,classDepth:p})},Ue=(e,n,i,o,r,l,s,d)=>{if(i.element.kind!=="timeframe_headers"&&i.element.kind!=="timeframe_headers_with_forecast")return null;const h=He(i.element.data,i.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>Ge(p));return t.jsx(mg,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:o,isActualVsForecastOn:i.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:i.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:i.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:s,dataAvailable:i.config.dataAvailable,bookCloseDate:i.config.bookCloseDate,onCompareModeChanged:d})},wg=(e,n,i,o,r,l)=>{if(i.element.kind!=="class_headers")return null;const s=i.element.data;return t.jsx(mp,{isSticky:l,type:n,height:o,backgroundColor:r,classColumns:s})},jo=(e,n,i,o,r,l,s,d,h,u,g,p,f)=>{if(i.element.kind!="class"||i.element.data==null)return null;const m=i.element.data,y=te(m.childrenBalancesTotal,i.config.displayOrder,i.element.numOfBalances),b=g>1;return t.jsx(Lp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,className:i.element.title,classCode:i.element.data.class.accountingClassNumber,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",depth:m.id.length-1,compareMode:p,sectionBalances:y.balances,isScrolling:s,isOpen:d,isLeaf:h,hasChildren:m.children.length>0,isLastNode:u,isSubClass:b,showClassAccountNumber:i.config.showClassAccountNumber,onClick:$=>{f?.($)},metadata:i.element.metadata})},yg=(e,n,i)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ei,{height:n,backgroundColor:i,title:e.element.title,numOfBalances:e.element.numOfBalances}),bg=(e,n,i)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ki,{height:n,backgroundColor:i,numOfBalances:e.element.numOfBalances}),Jn=e=>{const{height:n,data:{reportElementData:i,id:o,treeKind:r,isLeaf:l,isLastNode:s,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,m=($,C,L,v)=>{const A=l?u:!u;!l&&L==null&&(p(!u),e.onNodeCollapseToggled?.($,!u)),e.onNodeClick?.($,A,C,L,v)},y=e.treeNodePadding?.left,b=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:y,paddingRight:b},children:t.jsx(Co,{id:o,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:i,height:n,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:s,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?m:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},o)})},Co=e=>e.treeKind==="name_only"?t.jsx(vg,{...e}):Qt(e.reportElementData.config.reportId)?t.jsx(Lg,{...e}):en(e.reportElementData.config.reportId)===!0?t.jsx(_g,{...e}):li(e.reportElementData.config.reportId)===!0?t.jsx(kg,{...e}):qt(e.reportElementData.config.reportId)===!0?t.jsx(jg,{...e}):Re(e.reportElementData.config.reportId)===!0?t.jsx(Cg,{...e}):Xt(e.reportElementData.config.reportId)===!0?t.jsx(Sg,{...e}):tr(e.reportElementData.config.reportId)===!0?t.jsx($g,{...e}):tn(e.reportElementData.config.reportId)===!0?t.jsx(Ag,{...e}):Jt(e.reportElementData.config.reportId)===!0?t.jsx(Bg,{...e}):null,kg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:m})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,p,f);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,p,f);case"section":return bn(e,n,i,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return kn(e,n,i,o,r,l,s,u,d,h,p,f);case"title_string_only":return null;case"class_headers":return wg(e,n,i,o,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,p,m);case"class":return jo(e,n,i,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,p,f);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,p);case"headers_loading_in_progress":return bg(i,o,r);case"loading_in_progress":return yg(i,o,r);default:return null}},jg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,g,p);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return bn(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return kn(e,n,i,o,r,l,s,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);default:return null}},Cg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:m})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,p,f);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,p,f);case"section":return Zi(e,n,i,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return qi(e,n,i,o,r,l,s,u,d,h,p,f);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,p,f);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,p,m);case"class":return jo(e,n,i,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,p,f);case"total":return Xi(e,n,i,o,r,l,p,d);case"headers_loading_in_progress":return nc(i,o,r);case"loading_in_progress":return tc(i,o,r);default:return null}},Sg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return Qs(e,n,i,o,r,l,s,d,h,g,p);case"ac_group_report":return Js(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return Zi(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return ec(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return qi(e,n,i,o,r,l,s,u,d,h,g,p);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,g,p);case"total":return Xi(e,n,i,o,r,l,g,d);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);default:return null}},$g=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return yt(e,n,i,o,r,l,s,d,h,u,g,p);case"ac_group_report":return bt(e,n,i,o,r,l,s,u,d,h,g,p);case"section":return bn(e,n,i,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return kt(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section":return kn(e,n,i,o,r,l,s,u,d,h,g,p);case"calculated_section_type1":return Dl(e,i,o,r,l,s,h);case"title_string_only":return sn(e,n,i,o,r,l,s,u,d,h,g,p);case"ac_subentity_total":return Ye(n,i,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ue(e,n,i,o,r,l,g,f);case"ac_subaccount":return Ke(e,n,i,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return yn(e,n,i,o,r,l,s,u,d,h,g,p);default:return null}},vg=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(i.element.kind){case"checkbox_and_name_only":return uh(e,n,i,o,r,l,s,u,d,h,g);default:return null}},_g=({id:e,treeKind:n,reportElementData:i,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(i.element.kind){case"loading_in_progress":case"spacer_row":return vu(i,o,r,l);case"timeframe_headers":return Cu(i,o,l,h,r,u);case"total":return Su(e,n,i,o,l,s,r);case"vendor_row":return $u(n,i,o,r,l,s,d);case"title_string_only":return _u(i,o,r,l);default:return null}},Lg=({id:e,treeKind:n,reportElementData:i,height:o,isOpen:r,isSticky:l,isScrolling:s,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=i;switch(i.element.kind){case"spacer_row":return null;case"timeframe_headers":return el(i,o,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return il(n,i,o,h,l);case"aging_report_row":return tl(e,i,o,r,l,d,s,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return nl(i,o,l,s,h);default:return null}},Ag=({id:e,reportElementData:n,height:i,backgroundColor:o,isSticky:r,isScrolling:l,isLeaf:s,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return Qd(e,n,o,r,l,s,d,f,g);case"flux_vendor_row":return Jd(e,n,o,r,l,u,s,d,h,f,p);case"section":return eh(e,n,i,o,r,l,u,s,d,p);case"timeframe_headers":return th(n,i,r);case"total":return nh(n,i);case"loading_in_progress":return ih(n);case"headers_loading_in_progress":return oh(n);default:return null}},Bg=({reportElementData:e,height:n,isSticky:i,isLastNode:o})=>{switch(e.element.kind){case"timeframe_headers":return ta(e,i);case"loading_in_progress":return ea();case"total":return na(e,n,i);case"section":return Jr();case"title_string_only":return ia(e,n);case"ac_group_report":return oa(e,n,o);default:return null}};function ei(e,n,i,o){const r=e.reportElementData.element.data,l=e.reportElementData.config.reportId==="profit_and_loss_by_classes"&&e.reportElementData.element.kind==="ac_report"&&e.children.length>0&&Te(r)===!0?!0:void 0;return{data:{defaultHeight:jn(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:o??l??Ig(e.reportElementData.config.reportId,e.reportElementData.element.kind,i,e.reportElementData.config.reportFormat),nestingLevel:i,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:i,node:e}}function jn(e,n,i){return qt(e)===!0?ra(n):Xt(e)===!0||Re(e)===!0?us(n):Qt(e)?ma(n):Jt(e)?ct(n):en(e)?ph(n):tn(e)?Ji(n,i):kl(n)}function Ig(e,n,i,o){return qt(e)?aa(n,o,i):Xt(e)||Re(e)===!0?ps(n,o):Qt(e)?wa():en(e)?gh():tn(e)?gc(n):Jt(e)?or():jl(n,o)}const Wg=a.div`
|
|
2920
2920
|
top: 0;
|
|
2921
2921
|
left: 0;
|
|
2922
2922
|
position: sticky !important;
|
|
@@ -2931,7 +2931,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
|
|
|
2931
2931
|
align-items: center;
|
|
2932
2932
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2933
2933
|
box-sizing: border-box;
|
|
2934
|
-
`;function Og({height:e,backgroundColor:n,headers:i,treeKind:o,isSticky:r,compareMode:l,onCompareModeChanged:s}){return i.length===0?null:(i.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Wg,{heightValue:e,bgColor:n,"data-testid":x("sticky-header-report-tree"),children:i.map((d,h)=>t.jsx(Co,{id:d.id,treeKind:o,reportElementData:d.reportElementData,height:jn(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:i.length-1===h,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:s},d.id))}))}const Mg=(e,n,i)=>function*(){for(let o=0;o<n.length;++o)yield ei(n[o],e,0,i[n[o].id]??void 0);for(;;){const o=yield;for(let r=0;r<o.node.children.length;++r)yield ei(o.node.children[r],e,o.nestingLevel+1,i[o.node.children[r].id]??void 0)}},So=z.createContext(void 0);function Ng({height:e,kind:n,rootNodes:i,compareMode:o,isSticky:r,backgroundColor:l,treeNodePadding:s,treeClassName:d,treeStyle:h,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:p,variableNodeHeightTree:f,onNodeClick:m,onCompareModeChanged:y,scrollPosition:b,onScroll:$,nodeOpenStatus:C,onNodeCollapseToggled:L,onTreeInnerElementHeightChanged:v,onToggleCheck:A,hoveredParentIdProps:M}){const P=z.useRef(null),E=z.useRef(null),T=Sn(f?.prevFetchState),Y=Sn(f?.prevRefreshFetchState),[
|
|
2934
|
+
`;function Og({height:e,backgroundColor:n,headers:i,treeKind:o,isSticky:r,compareMode:l,onCompareModeChanged:s}){return i.length===0?null:(i.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Wg,{heightValue:e,bgColor:n,"data-testid":x("sticky-header-report-tree"),children:i.map((d,h)=>t.jsx(Co,{id:d.id,treeKind:o,reportElementData:d.reportElementData,height:jn(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:i.length-1===h,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:s},d.id))}))}const Mg=(e,n,i)=>function*(){for(let o=0;o<n.length;++o)yield ei(n[o],e,0,i[n[o].id]??void 0);for(;;){const o=yield;for(let r=0;r<o.node.children.length;++r)yield ei(o.node.children[r],e,o.nestingLevel+1,i[o.node.children[r].id]??void 0)}},So=z.createContext(void 0);function Ng({height:e,kind:n,rootNodes:i,compareMode:o,isSticky:r,backgroundColor:l,treeNodePadding:s,treeClassName:d,treeStyle:h,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:p,variableNodeHeightTree:f,onNodeClick:m,onCompareModeChanged:y,scrollPosition:b,onScroll:$,nodeOpenStatus:C,onNodeCollapseToggled:L,onTreeInnerElementHeightChanged:v,onToggleCheck:A,hoveredParentIdProps:M}){const P=z.useRef(null),E=z.useRef(null),T=Sn(f?.prevFetchState),Y=Sn(f?.prevRefreshFetchState),[q,ae]=z.useState(0),X=g??E,de=u??P,me=W(),[le,J]=z.useState(void 0),[we,$e]=z.useState(!1),[ye,ve]=z.useState(C),ge=(F,ne)=>{ve(Object.assign({},ye,{[F]:ne})),L?.(F,ne)},fe=F=>{if(i.contentNodes.length>0)if(Object.keys(F).length>0){const ne={};Object.keys(F).forEach(je=>{ne[je]={open:F[je]}}),de?.current?.recomputeTree(ne)}else{const ne=i.contentNodes[0].id;de?.current?.recomputeTree({[ne]:{open:!0}})}};z.useLayoutEffect(()=>{if((!$n(b,le)||le==null)&&X.current!=null){const F=b?.scrollLeft==null?me==="small"?0:X.current.scrollWidth:b?.scrollLeft;if(b!=null){const ne={scrollTop:b.scrollTop,scrollLeft:F};J(ne),F!==b?.scrollLeft&&$?.(ne)}X.current.scroll({left:F,top:b?.scrollTop})}},[b]),z.useEffect(()=>{$n(C,ye)||(ve(C),fe(C))},[C]),z.useEffect(()=>{const F=X.current,ne=Io(()=>{if(F!=null&&(le==null||F.scrollLeft!==le.scrollLeft||F.scrollTop!==le.scrollTop)){const je={scrollLeft:F.scrollLeft,scrollTop:F.scrollTop};J(je),$?.(je)}},50);return F?.addEventListener("scroll",ne),()=>{F?.removeEventListener("scroll",ne)}},[X,le,$]),z.useEffect(()=>{if(i.contentNodes.length>0){fe(ye);const F=i.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";F!==we&&$e(F)}},[we,$e,i,de,X]),z.useEffect(()=>{(f!=null&&T==="In-Progress"&&f.fetchState==="Completed"&&f.isSortApplied||f!=null&&Y==="In-Progress"&&f.refreshFetchState==="Completed")&&(f.reducedFetchState==="Completed"&&f.setIsSortApplied(!1),ae(q+1))},[q,f?.fetchState,f?.isSortApplied,T,Y,f]);const Be=z.useRef(),[$o,vo]=z.useState(void 0),_o=()=>{const F=Be.current;F!=null&&F.clientHeight>0&&F.clientHeight!=$o&&(vo(F.clientHeight),v?.(F.clientHeight))},Cn=z.useCallback(Mg(n,i.contentNodes,ye),[n,i]),Lo={rootNodes:i,treeNodePadding:s,backgroundColor:l,kind:n,isSticky:r,compareMode:o,onCompareModeChanged:y};return t.jsx(So.Provider,{value:Lo,"data-testid":x("report-tree"),children:p==null?t.jsx(vn,{className:d,style:h,ref:de,innerRef:Be,outerRef:X,innerElementType:Tt,treeWalker:Cn,onItemsRendered:_o,height:e,width:"100%",children:F=>t.jsx(Jn,{...F,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:m,onNodeCollapseToggled:ge,compareMode:o,onCompareModeChanged:y,onToggleCheck:A})}):t.jsx(Wo,{isItemLoaded:p.isItemLoaded,itemCount:p.itemCount+1,loadMoreItems:p.loadMoreItems,children:({onItemsRendered:F,ref:ne})=>t.jsx(vn,{className:d,style:h,ref:ne,innerRef:Be,outerRef:X,innerElementType:Tt,treeWalker:Cn,onItemsRendered:F,height:e,width:"100%",children:je=>t.jsx(Jn,{...je,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:m,onNodeCollapseToggled:ge,compareMode:o,onCompareModeChanged:y,onToggleCheck:A,hoveredParentIdProps:M})},q)})})}const Tt=z.forwardRef((e,n)=>{const{children:i,style:o,...r}=e,{rootNodes:l,treeNodePadding:s,backgroundColor:d,kind:h,isSticky:u,compareMode:g,onCompareModeChanged:p}=z.useContext(So),f=l.headerNodes.reduce(($,C)=>$+jn(C.reportElementData.config.reportId,C.reportElementData.element.kind,C.isFirstNode),0),m=s?.left,y=s?.right,b=c.sp8;return t.jsxs("div",{ref:n,style:{...o,width:"auto",minWidth:"100%",paddingLeft:m,paddingRight:y,marginBottom:b},...r,children:[t.jsx(Og,{height:f,backgroundColor:d,headers:l.headerNodes,treeKind:h,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:p}),i]})});Tt.displayName="stickyInnerElementType";const Pg=a.div`
|
|
2935
2935
|
display: flex;
|
|
2936
2936
|
flex: 1 0 auto;
|
|
2937
2937
|
width: ${e=>e.width}px;
|