@zeniai/web-app-ui 4.14.34-qa → 4.14.35-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-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
- package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
- package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
- package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-BOfIecri.js} +1 -1
- package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-BL1pptQ5.js} +1 -1
- package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
- package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-B5nbVKeh.js} +1 -1
- package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
- package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
- package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
- package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
- package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
- package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
- package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
- package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-CBS2uwsj.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
- package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
- package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
- package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
- package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
- package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
- package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
- package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
- package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
- package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
- package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
- package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
- package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
- package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
- package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
- package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
- package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-C-92-XEq.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-Bim9etFd.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
- package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
- package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
- package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-MxSrrJrd.js} +1 -1
- package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
- package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
- package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
- package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
- package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
- package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
- package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
- package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
- package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
- package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
- package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
- package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
- package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
- package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
- package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
- package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
- package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
- package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-C3TNoouV.js} +1 -1
- package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
- package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
- package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
- package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
- package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
- package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
- package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
- package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-CubXCR1V.js} +1 -1
- package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-C2SuMmMM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
- package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
- package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
- package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
- package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
- package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
- package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CAoitlRn.js} +1 -1
- package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
- package/dist/assets/{Preview-CIMwFR6h.js → Preview-B3lHkBD5.js} +1 -1
- package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-W61uspBL.js} +1 -1
- package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
- package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-CFqALHvq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
- package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
- package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
- package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
- package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-DCqEshJz.js} +1 -1
- package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
- package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
- package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-CSIVaJxq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
- package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
- package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
- package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-D3PUQXPp.js} +1 -1
- package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
- package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
- package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-BDFrycHi.js} +1 -1
- package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CGJ8k7ri.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
- package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
- package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
- package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
- package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
- package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
- package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
- package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
- package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-BN0d0a63.js} +1 -1
- package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
- package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-DEMuiHnC.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
- package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
- package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
- package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
- package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
- package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
- package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
- package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
- package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
- package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
- package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
- package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
- package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-05ainu55.js} +1 -1
- package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
- package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
- package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
- package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
- package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
- package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
- package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
- package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
- package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-GPi0oD1D.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
- package/dist/assets/{analytics-lZopEqtI.js → analytics-B2Q_uKwH.js} +1 -1
- package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
- package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-eqJrrWmY.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
- package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
- package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
- package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
- package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
- package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
- package/dist/assets/{core-CbpF8wW5.js → core-D9P6lLF-.js} +1 -1
- package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-CrF9T_sg.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
- package/dist/assets/{dnd-PN_2LgQk.js → dnd-nSkfhkrX.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
- package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
- package/dist/assets/{empty-Ccpah3HZ.js → empty-BM1tlym1.js} +1 -1
- package/dist/assets/{empty-BvRt8sTu.js → empty-DqDGRwQI.js} +1 -1
- package/dist/assets/{epic-G4Y_asZ_.js → epic-C-GRNY0z.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
- package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
- package/dist/assets/{index-BScUKNNV.js → index-BGoNZK9J.js} +1 -1
- package/dist/assets/{index-CtaVzrbN.js → index-BHx-AV13.js} +1 -1
- package/dist/assets/{index-bFwDyqSe.js → index-BoyH9PC5.js} +1 -1
- package/dist/assets/{index-Ir5iePqW.js → index-C6CSTWn-.js} +1 -1
- package/dist/assets/{index-C5NS4k1k.js → index-CAltUZe8.js} +6 -6
- package/dist/assets/{index-C2kgfwQ0.js → index-D3FWjv6R.js} +1 -1
- package/dist/assets/{lexical-wFFjFeQS.js → lexical-Ct6cBwR8.js} +1 -1
- package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-DxIK6Zp5.js} +1 -1
- package/dist/assets/{lottie-DCpFrhzh.js → lottie-BEhoArVd.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
- package/dist/assets/{media-player-CfnH7IPR.js → media-player-CsDObYZE.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
- package/dist/assets/{mui-CsJjaFS3.js → mui-CMSRVFAm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
- package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-Blub25Cp.js} +1 -1
- package/dist/assets/{pdf-CotdgJU1.js → pdf-Be2WBqYM.js} +3 -3
- package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CnVZquuu.js} +1 -1
- package/dist/assets/{plaid-BTCtHWVp.js → plaid-BfI3x5Cu.js} +1 -1
- package/dist/assets/{pusher-BQ8DKEaa.js → pusher-B6_CsVbZ.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
- package/dist/assets/{react-BqQ4cQqX.js → react-BHFS79hd.js} +1 -1
- package/dist/assets/{react-BUIAuHwU.js → react-BU_9CVSX.js} +3 -3
- package/dist/assets/{react-D_8V1wyK.js → react-BpE8-YB1.js} +1 -1
- package/dist/assets/{react-DqT05IJk.js → react-C0Y1QuQQ.js} +1 -1
- package/dist/assets/{react-BBeDYsAV.js → react-C8t61nFI.js} +1 -1
- package/dist/assets/{react-qeQ53cUY.js → react-D-1D0x0x.js} +1 -1
- package/dist/assets/{react-DXQJSc1U.js → react-Df07f_EQ.js} +1 -1
- package/dist/assets/{react-DPwINmE2.js → react-DoqYYGGT.js} +1 -1
- package/dist/assets/{recharts-Z1H4NIT9.js → recharts-gT6BOz1b.js} +1 -1
- package/dist/assets/{routePaths-Canmm7cj.js → routePaths-C2kSZwVH.js} +1 -1
- package/dist/assets/{sentry-B7C9wEq0.js → sentry-DQeYyYXx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
- package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
- package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
- package/dist/assets/{url-BvfHN6gt.js → url-DabKyEXg.js} +1 -1
- package/dist/assets/{url-B_60JuDM.js → url-Doy-Mf6X.js} +1 -1
- package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-Dx8RlRsA.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
- package/dist/assets/{utils-DSKkIaRb.js → utils-BAO5KfNy.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
- package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
- package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-4nFle2Fz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
- package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
- package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
- package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
- package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
- package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
- package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as
|
|
1
|
+
import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as zn,cO as Zi,O as N,m as C,cP as qt,bE as Jt,cQ as Qt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Ji,aG as Qi,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as Fn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Qe,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-CAltUZe8.js";import{n as a,c as F}from"./mui-CMSRVFAm.js";import{a as V,b as mr}from"./sentry-DQeYyYXx.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-CHpO1ZKT.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-D1cjRJJD--D2oyMqA.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]="4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1",e._sentryDebugIdIdentifier="sentry-dbid-4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(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 ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function Q(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(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 ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -65,7 +65,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
65
65
|
flex-direction: row;
|
|
66
66
|
height: ${e=>e.heightValue}px;
|
|
67
67
|
padding-right: ${A.wrapperPadding}px;
|
|
68
|
-
`;function Pr({height:e}){return t.jsx(Wr,{heightValue:e})}const
|
|
68
|
+
`;function Pr({height:e}){return t.jsx(Wr,{heightValue:e})}const zr=a.div`
|
|
69
69
|
user-select: none;
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
@@ -73,7 +73,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
73
73
|
background-color: ${e=>e.bgColor?.hex()};
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
padding-right: ${A.wrapperPadding}px;
|
|
76
|
-
`,
|
|
76
|
+
`,Fr=a.div`
|
|
77
77
|
flex: 1 1 auto;
|
|
78
78
|
display: flex;
|
|
79
79
|
align-items: center;
|
|
@@ -125,16 +125,16 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
125
125
|
width: ${A.spacerLineWidth}px;
|
|
126
126
|
`,Zr=a.div`
|
|
127
127
|
width: ${A.statusWidth}px;
|
|
128
|
-
`,Xe=({title:e,type:n})=>t.jsx(Gr,{widthValue:A[n],children:t.jsx(Er,{children:e})});function qr({sectionTitle:e,height:n,isLoading:o}){const i=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(
|
|
128
|
+
`,Xe=({title:e,type:n})=>t.jsx(Gr,{widthValue:A[n],children:t.jsx(Er,{children:e})});function qr({sectionTitle:e,height:n,isLoading:o}){const i=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(zr,{height:n,children:t.jsxs(Fr,{children:[t.jsx(Tr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp4,width:A.leftLabelWidth},children:t.jsx(Dr,{"data-testid":y("account-recon-section-title",e),children:e})})}),t.jsxs(Vr,{children:[t.jsx(Rr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(Hr,{}),t.jsx(Kr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(Yr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.varianceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Ur,{}),t.jsx(Zr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.statusTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.status,type:"statusTimeframeWidth"})})})]})]})})}const Jr=a.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
height: ${e=>e.heightValue}px;
|
|
132
132
|
align-items: center;
|
|
133
133
|
padding-right: ${A.wrapperPadding}px;
|
|
134
|
-
`,
|
|
134
|
+
`,Qr=a(jo)`
|
|
135
135
|
user-select: none;
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
|
-
`;function Xr({height:e,title:n}){return t.jsx(
|
|
137
|
+
`;function Xr({height:e,title:n}){return t.jsx(Jr,{heightValue:e,children:t.jsx(Qr,{"data-testid":y("account-recon-section-title",n),children:n})})}const ea=a.div`
|
|
138
138
|
display: flex;
|
|
139
139
|
flex: 1 1 auto;
|
|
140
140
|
width: 100%;
|
|
@@ -249,7 +249,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
249
249
|
height: ${s.sp1};
|
|
250
250
|
`,De=a.div`
|
|
251
251
|
display: flex;
|
|
252
|
-
`,ja=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return t.jsxs(De,{children:[r.depth===0?t.jsx(Vn,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(Vn,{depth:r.depth}):null]},o+i)}):null}),No=({ancestorMetadata:e,depth:n,name:o})=>{const i=W();return n===0?e[n].hasChildren===!1?t.jsx(Oo,{windowSize:i}):t.jsxs(De,{children:[t.jsx(
|
|
252
|
+
`,ja=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return t.jsxs(De,{children:[r.depth===0?t.jsx(Vn,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(Vn,{depth:r.depth}):null]},o+i)}):null}),No=({ancestorMetadata:e,depth:n,name:o})=>{const i=W();return n===0?e[n].hasChildren===!1?t.jsx(Oo,{windowSize:i}):t.jsxs(De,{children:[t.jsx(Qe,{depth:n}),t.jsx(Ve,{}),t.jsx(Qe,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],c=r!==n?e[r+1]:void 0;return t.jsxs(De,{children:[l.depth===0?t.jsx(Qe,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?n===1?t.jsx(Tn,{index:1}):t.jsx(Tn,{index:2}):null,(n===r?l.hasChildren!==!0:c==null||c.isLastNode)?t.jsx(mt,{}):t.jsx(Ve,{},r),t.jsx(Qe,{depth:l.depth+1})]},o+r)}),n===1&&e[n].hasChildren!=1?t.jsx(ka,{}):null]})},Mo=({ancestorMetadata:e,depth:n,name:o})=>n===0?t.jsx(ba,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(i=>{const r=e[i],l=i!==n?e[i+1]:void 0;return t.jsxs(De,{children:[r!=null&&r.depth===0?t.jsx(dt,{depth:r.depth}):null,l==null||l.isLastNode?t.jsx(mt,{}):t.jsx(Ve,{},i),t.jsx(dt,{depth:r!=null?r.depth+1:0})]},o+i)})}),Sa=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return r==null?null:t.jsxs(De,{children:[r.depth===0?t.jsx(dt,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(dt,{depth:r.depth}):null]},o+i)}):null}),Ca=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>{let d=t.jsx(ya,{});return e===0&&r&&(d=t.jsx(hr,{collapsed:l,onIconClick:c})),e>0&&(r&&!i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),o&&i&&n&&(d=t.jsx(En,{})),o&&i&&!n&&(d=t.jsx(ur,{})),r&&i&&!n&&(d=t.jsx(pr,{collapsed:l,onIconClick:c})),r&&i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),n&&o&&(d=t.jsx(En,{}))),d},va=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>t.jsx(wa,{children:t.jsx(Ca,{depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})});function pn(e){const{displayName:n}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const o=W();return t.jsxs(ma,{children:[e.classDepth!=null?t.jsx(No,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Oo,{windowSize:o}):null,t.jsx(Sa,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(va,{...e}),t.jsx(fa,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:o,title:n,children:n})]})}const H={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,325,405),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},et=[new E(C[4],C[8]),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],$a=a.div`
|
|
253
253
|
display: flex;
|
|
254
254
|
flex: 1 1 auto;
|
|
255
255
|
max-height: 1px;
|
|
@@ -269,7 +269,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
269
269
|
background-color: ${e=>e.theme.colors.grey4};
|
|
270
270
|
width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
271
271
|
max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
272
|
-
${({isSticky:e})=>e?
|
|
272
|
+
${({isSticky:e})=>e?F`
|
|
273
273
|
position: -webkit-sticky;
|
|
274
274
|
position: sticky;
|
|
275
275
|
top: ${s.sp0};
|
|
@@ -310,12 +310,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
310
310
|
&:hover {
|
|
311
311
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
312
312
|
}
|
|
313
|
-
`,
|
|
313
|
+
`,zo=a.div`
|
|
314
314
|
display: flex;
|
|
315
315
|
flex: 1 0 auto;
|
|
316
316
|
flex-direction: row;
|
|
317
317
|
justify-content: flex-end;
|
|
318
|
-
`,
|
|
318
|
+
`,Fo=a.div`
|
|
319
319
|
display: flex;
|
|
320
320
|
flex-direction: row;
|
|
321
321
|
justify-content: flex-start;
|
|
@@ -350,7 +350,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
350
350
|
width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
351
351
|
max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
352
352
|
background-color: ${e=>e.bgColor?.hex()};
|
|
353
|
-
${({isSticky:e})=>e?
|
|
353
|
+
${({isSticky:e})=>e?F`
|
|
354
354
|
position: sticky;
|
|
355
355
|
top: ${s.sp0};
|
|
356
356
|
left: ${s.sp0};
|
|
@@ -360,7 +360,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
360
360
|
&:hover {
|
|
361
361
|
color: ${e=>e.theme.colors.primary};
|
|
362
362
|
}
|
|
363
|
-
`,Do=({balance:e,isOpen:n})=>{const o=n?e?.balance:e?.totalBalance;return t.jsx(
|
|
363
|
+
`,Do=({balance:e,isOpen:n})=>{const o=n?e?.balance:e?.totalBalance;return t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",o)})})},Eo=({total:e})=>t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Na({isSticky:e,height:n,isScrolling:o,isLastNode:i,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:p}){const u=W(),g=c?.name??"";return t.jsxs(Wo,{"data-testid":y("ap-aging-report-row-root-container",g),containerHeight:n,bgColor:d,windowSize:u,children:[t.jsxs(Po,{"data-testid":y("ap-aging-report-row-container",g),style:{cursor:"default"},isClickable:!1,containerHeight:n-1,children:[t.jsxs(Vo,{onClick:()=>c?.id!=null?p?.(c.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:n-1,children:[c?.logo!=null?t.jsx(Qt,{photoUrl:c.logo.toString(),styles:{width:H.nameLogoWidth.valuePx(u),height:H.nameLogoHeight.valuePx(u)}}):t.jsx(Xt,{name:g??"",size:s.sp4}),t.jsx(Oa,{children:g})]}),t.jsxs(zo,{"data-testid":y("ap-aging-report-row-balances-container",g),children:[r.map(h=>t.jsx(Do,{balance:h,isOpen:!0},h?.period)),t.jsx(Eo,{total:l})]})]}),t.jsx(Go,{isScrolling:o,isLastNode:i})]})}function Ma({treeNodeId:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,isOpen:l,balances:c,total:d,totalWithChildren:p,nestedCustomer:u,metadata:g,backgroundColor:h,onEntityNameClick:x,onClick:f}){const m=W(),w=g,b=u?.customer.name??"",k=u!=null?u.id.length-1:0,v=u?.hasSiblings??!1,S=u!=null&&u.children.length!==0,$=S,B=$?"pointer":"default",L=u!=null&&u.isLeafCustomer;return t.jsxs(Wo,{"data-testid":y("ar-aging-report-row-root-container",e),containerHeight:o,bgColor:h,windowSize:m,children:[t.jsxs(Po,{"data-testid":y("ar-aging-report-row-container",e),style:{cursor:B},isClickable:$,containerHeight:o-1,children:[t.jsx(Vo,{"data-testid":y("ar-aging-report-row-name-container",e),isSticky:n,windowSize:m,bgColor:h,containerHeight:o-1,children:t.jsx(pn,{displayName:b,depth:k,isLastNode:r,hasChildren:S,hasSiblings:v,isLeaf:L,collapsed:!l,subAccountAnscestorMetadata:w.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:()=>{f?.(e)},onNameClick:()=>u?.id[0]!=null?x?.(u.id[0]):void 0})}),t.jsxs(zo,{children:[c.map(M=>t.jsx(Do,{balance:M,isOpen:l},M?.period)),t.jsx(Eo,{total:l?d:p})]})]}),t.jsx(Go,{isScrolling:i,subEntityProps:{nestingLevel:k,isSticky:n,noMarginForEntity:!0}})]})}function Go({isScrolling:e,isLastNode:n=!1,subEntityProps:o}){return n?t.jsx(Vt,{isScrolling:e,kind:"end_row_separator",subEntityProps:o}):t.jsx(Vt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:o})}const Wa=a.div`
|
|
364
364
|
user-select: none;
|
|
365
365
|
display: flex;
|
|
366
366
|
flex: 1 1 auto;
|
|
@@ -400,7 +400,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
400
400
|
text-align: center;
|
|
401
401
|
column-gap: ${s.sp1};
|
|
402
402
|
color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
|
|
403
|
-
`,
|
|
403
|
+
`,za=a.div`
|
|
404
404
|
max-height: ${s.sp8};
|
|
405
405
|
min-height: ${s.sp8};
|
|
406
406
|
display: flex;
|
|
@@ -409,13 +409,13 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
409
409
|
min-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
410
410
|
color: ${e=>e.theme.colors.primary};
|
|
411
411
|
background-color: ${e=>e.bgColor?.hex()};
|
|
412
|
-
${e=>e.isSticky?
|
|
412
|
+
${e=>e.isSticky?F`
|
|
413
413
|
position: -webkit-sticky;
|
|
414
414
|
position: sticky;
|
|
415
415
|
top: ${s.sp0};
|
|
416
416
|
left: ${s.sp0};
|
|
417
417
|
`:""}
|
|
418
|
-
`,
|
|
418
|
+
`,Fa=a(_)`
|
|
419
419
|
display: flex;
|
|
420
420
|
align-items: center;
|
|
421
421
|
cursor: pointer;
|
|
@@ -442,7 +442,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
442
442
|
`,fn=a(on)`
|
|
443
443
|
width: 12px;
|
|
444
444
|
height: 12px;
|
|
445
|
-
`,Ta=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=n===r?o:"ascending";return t.jsxs(
|
|
445
|
+
`,Ta=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=n===r?o:"ascending";return t.jsxs(Fa,{active:n===r,"data-testid":y("duration-row-vendor-title",e),children:[r==="vendor"?N.getLocalizedStrings().reports.aging.apAging.vendor:N.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(gn,{selectedForSort:n===r,children:t.jsx(Yo,{"data-testid":y("duration-row-vendor-sort-icon",e),onClick:()=>{i?.(mn(o),r)},children:l==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})}),t.jsx(st,{controller:n===r,children:t.jsx(Uo,{"data-testid":y("duration-row-vendor-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})},Zo=({onSortOrderChanged:e})=>{e?.("descending","total")},Va=({agingPeriod:e,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n===e?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-tick-container",e),children:t.jsx(Ro,{"data-testid":y("duration-row-tick-element-container",e),children:t.jsxs(Ho,{active:n===e,"data-testid":y("duration-row-timeframe-tick",e),children:[N.getLocalizedStrings().reports.aging.duration[e],t.jsxs(gn,{selectedForSort:n===e,"data-testid":y("duration-row-sort-container",e),children:[t.jsx(Yo,{"data-testid":y("duration-row-sort-icon",e),onClick:()=>{i?.(mn(o),e)},children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})}),t.jsx(st,{controller:n===e,children:t.jsx(Uo,{"data-testid":y("duration-row-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})]})})})},qo=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n==="total"?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-entity-total-tick-container",e),onClick:()=>{i?.(mn(o),"total")},children:t.jsx(Ro,{"data-testid":y("duration-row-entity-total-tick-element-container",e),children:t.jsxs(Ho,{active:n==="total","data-testid":y("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?N.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:N.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(gn,{selectedForSort:n==="total","data-testid":y("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})]})})})},Da=({reportId:e,agingPeriod:n,sortKey:o="vendor",sortOrder:i="ascending",onSortOrderChanged:r})=>n!=null?t.jsx(Va,{sortKey:o,sortOrder:i,onSortOrderChanged:r,agingPeriod:n}):t.jsx(qo,{reportId:e,sortKey:o,sortOrder:i,onSortOrderChanged:r});function Ea({reportId:e,isSticky:n,height:o,agingPeriods:i,sortKey:r,sortOrder:l,backgroundColor:c,onSortOrderChanged:d}){const p=W();return t.jsxs(Wa,{height:o,bgColor:c,"data-testid":y("duration-row-root-container",e),children:[t.jsx(za,{"data-testid":y("duration-row-placeholder-name",e),isSticky:n,windowSize:p,bgColor:c,children:t.jsx(Ta,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(Pa,{children:[i.map(u=>t.jsx(Da,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(qo,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const mn=e=>e==="ascending"?"descending":"ascending",Ga=[10,14,20,20,20],Ra=a.div`
|
|
446
446
|
display: flex;
|
|
447
447
|
flex: 1 1 auto;
|
|
448
448
|
width: fit-content;
|
|
@@ -462,11 +462,11 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
462
462
|
flex: 1 0 auto;
|
|
463
463
|
flex-direction: row;
|
|
464
464
|
justify-content: flex-end;
|
|
465
|
-
`,
|
|
465
|
+
`,Jo=a.div`
|
|
466
466
|
display: flex;
|
|
467
467
|
flex-direction: row;
|
|
468
468
|
justify-content: flex-start;
|
|
469
|
-
`,
|
|
469
|
+
`,Qo=a(_)`
|
|
470
470
|
user-select: none;
|
|
471
471
|
min-width: ${H.balanceWidth};
|
|
472
472
|
max-width: ${H.balanceWidth};
|
|
@@ -484,7 +484,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
484
484
|
width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
485
485
|
max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
486
486
|
background-color: ${e=>e.bgColor?.hex()};
|
|
487
|
-
${({isSticky:e})=>e?
|
|
487
|
+
${({isSticky:e})=>e?F`
|
|
488
488
|
position: sticky;
|
|
489
489
|
top: ${s.sp0};
|
|
490
490
|
left: ${s.sp0};
|
|
@@ -500,7 +500,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
500
500
|
margin-left: ${e=>Ga[e.depth]}px;
|
|
501
501
|
color: ${e=>e.theme.colors.primary};
|
|
502
502
|
width: ${e=>H.titleWidth.value(e.windowSize)-e.depth*C[11]}px;
|
|
503
|
-
`,Za=({balance:e})=>t.jsx(
|
|
503
|
+
`,Za=({balance:e})=>t.jsx(Jo,{children:t.jsx(Qo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e?.totalBalance)})}),qa=({total:e})=>t.jsx(Jo,{children:t.jsx(Qo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Ja({backgroundColor:e,isSticky:n,height:o,noMarginForEntity:i,isScrolling:r,total:l,nestedCustomer:c,metadata:d}){const p=W(),{common:{strings:{empty:u}},reports:{sections:g}}=N.getLocalizedStrings(),h=c!=null?c.id.length-1:0,x=d,f=c?.customer.name??u;return t.jsxs(Ra,{"data-testid":"sub-customer-total-row-root-container",containerHeight:o,bgColor:e,children:[t.jsxs(Ha,{"data-testid":"sub-customer-total-row-container",children:[t.jsxs(Ya,{isSticky:n,windowSize:p,bgColor:e,containerHeight:o,children:[t.jsx(Mo,{ancestorMetadata:x.vendorOrCustomerAncestorMetadata,depth:h,name:f}),t.jsx(Ua,{isClickable:!1,title:f,depth:h,windowSize:p,children:g.totalPrefix+" "+f})]}),t.jsxs(Ka,{children:[c?.arAgingBalances.map((m,w)=>t.jsx(Za,{balance:m},w)),t.jsx(qa,{total:l})]})]}),t.jsx(Qa,{isScrolling:r,nestingLevel:h,isSticky:n,noMarginForEntity:i})]})}function Qa({isScrolling:e,nestingLevel:n,isSticky:o,noMarginForEntity:i}){return t.jsx(Vt,{isScrolling:e,kind:"subtotal_row_separator",subEntityProps:{nestingLevel:n,isSticky:o,noMarginForEntity:i}})}const ae=e=>{switch(e){case"name+balances_actual":return!0;case"name+balances_forecast":case"name_only":return!1}},Ee=e=>{switch(e){case"name+balances_forecast":return!0;case"name+balances_actual":case"name_only":return!1}},Xa=a.div`
|
|
504
504
|
display: flex;
|
|
505
505
|
flex: 1 1 auto;
|
|
506
506
|
width: fit-content;
|
|
@@ -542,12 +542,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
542
542
|
width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
543
543
|
max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
|
|
544
544
|
background-color: ${e=>e.bgColor?.hex()};
|
|
545
|
-
${({isSticky:e,isIndented:n})=>e&&n?
|
|
545
|
+
${({isSticky:e,isIndented:n})=>e&&n?F`
|
|
546
546
|
position: -webkit-sticky;
|
|
547
547
|
position: sticky;
|
|
548
548
|
top: ${s.sp0};
|
|
549
549
|
left: ${s.sp4};
|
|
550
|
-
`:e&&!n?
|
|
550
|
+
`:e&&!n?F`
|
|
551
551
|
position: -webkit-sticky;
|
|
552
552
|
position: sticky;
|
|
553
553
|
top: ${s.sp0};
|
|
@@ -619,7 +619,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
619
619
|
color: ${e=>e.theme.colors.hero};
|
|
620
620
|
max-width: ${e=>Pe.titleWidth.valuePx(e.windowSize)};
|
|
621
621
|
background-color: ${e=>e.bgColor?.hex()};
|
|
622
|
-
${({isSticky:e})=>e?
|
|
622
|
+
${({isSticky:e})=>e?F`
|
|
623
623
|
position: -webkit-sticky;
|
|
624
624
|
position: sticky;
|
|
625
625
|
top: ${s.sp0};
|
|
@@ -654,7 +654,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
654
654
|
flex: 1 0 auto;
|
|
655
655
|
flex-direction: row;
|
|
656
656
|
justify-content: flex-end;
|
|
657
|
-
`,
|
|
657
|
+
`,zl=a.div`
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: row;
|
|
660
660
|
justify-content: flex-start;
|
|
@@ -665,7 +665,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
665
665
|
min-width: ${j.balanceWidth};
|
|
666
666
|
text-align: right;
|
|
667
667
|
margin-left: ${j.balanceLeftMargin};
|
|
668
|
-
`,
|
|
668
|
+
`,Fl=a.div`
|
|
669
669
|
display: flex;
|
|
670
670
|
flex-direction: row;
|
|
671
671
|
flex-shrink: 2;
|
|
@@ -674,7 +674,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
674
674
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
675
675
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
676
676
|
background-color: ${e=>e.bgColor?.hex()};
|
|
677
|
-
${({isSticky:e})=>e?
|
|
677
|
+
${({isSticky:e})=>e?F`
|
|
678
678
|
position: -webkit-sticky;
|
|
679
679
|
position: sticky;
|
|
680
680
|
top: ${s.sp0};
|
|
@@ -690,7 +690,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
690
690
|
text-overflow: ellipsis;
|
|
691
691
|
text-align: left;
|
|
692
692
|
background-color: ${e=>e.bgColor?.hex()};
|
|
693
|
-
`,Vl=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(
|
|
693
|
+
`,Vl=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(zl,{"data-testid":y("heading-row-balance-element",e),children:[ae(e)||o?t.jsx(tt,{"data-testid":y("heading-row-balance-actual",e),children:q(n)}):t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),t.jsx(tt,{"data-testid":y("heading-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Dl({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:p,isLeaf:u,onClick:g}){const h=W();return t.jsx(Ml,{height:r,bgColor:n,"data-testid":y("heading-row-root-container",i),children:t.jsxs(Wl,{"data-testid":y("heading-row-container",i),isClickable:!u,onClick:()=>g?.(i),children:[xe(e)===!0?t.jsx(Fl,{"data-testid":y("heading-row-heading-container",i),isSticky:o,windowSize:h,bgColor:n,children:t.jsx(Tl,{children:l})}):null,ke(e)===!0?t.jsx(Pl,{"data-testid":y("heading-row-balances-container",i),children:c.map((x,f)=>t.jsx(Vl,{"data-testid":y("heading-row-balance-element",e),type:e,heading:l,balance:x,isActualVsForecastOn:d,compareMode:p},f))}):null]})})}const wn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="title_string_only")return null;const x=te(void 0,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Dl,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,heading:o.element.title,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:x.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:f=>{h?.(f)}})};function ri(e,n){return El(n)}const El=(e,n)=>{const o={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return o.acBalanceSelector=i=>i.balancesInTimeframe,o.compactedAccountsSelectorVariant=i=>function(r,l,c){switch(c){case"off":default:return r;case"filter_actual_nil_balances":return r.filter(d=>function(p){let u=!1;if(p!=null){for(const g of p)if(g.balance.amount!==0){u=!0;break}}return u}(l(d)?.balances??[]))}}(i,o.acBalanceSelector,e),o},nt=[new E(C[4],56),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],Un=[new E(C[0],C[0]),new E(14,C[4]),new E(67,67),new E(102,102),new E(136,136)],Gl=a.div`
|
|
694
694
|
display: flex;
|
|
695
695
|
flex: 1 1 auto;
|
|
696
696
|
max-height: 1px;
|
|
@@ -715,11 +715,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
715
715
|
background-color: ${e=>e.theme.colors.grey4};
|
|
716
716
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
717
717
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
718
|
-
${({isSticky:e})=>e?
|
|
718
|
+
${({isSticky:e})=>e?F`
|
|
719
719
|
position: -webkit-sticky;
|
|
720
720
|
position: sticky;
|
|
721
721
|
top: ${s.sp0};
|
|
722
722
|
left: ${s.sp0};
|
|
723
|
+
z-index: 20;
|
|
723
724
|
`:null}
|
|
724
725
|
`,Kl=a.div`
|
|
725
726
|
width: ${e=>e.noMarginForAccount?nt[e.nestingLevel].value(e.windowSize)-C[5]:nt[e.nestingLevel].value(e.windowSize)}px;
|
|
@@ -746,7 +747,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
746
747
|
flex: 1 1 auto;
|
|
747
748
|
max-height: 1px;
|
|
748
749
|
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
749
|
-
`,qn=e=>{const n=W(),o=de();return t.jsxs(Rl,{children:[t.jsxs(Hl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Yl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Kl,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(Ul,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(Zl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function je({kind:e,isScrolling:n,subAccountProps:o}){switch(e){case"account_title_row_separator":return t.jsx(Zn,{marginLeft:C[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(Zn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Gl,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(ql,{isScrolling:n});case"total_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1})}}function ai({height:e,backgroundColor:n,title:o,numOfBalances:i=6}){let r=null;const l=W()!=="small";switch(o!=null?o.split("+")[1]:""){case"section-row":r=t.jsx(
|
|
750
|
+
`,qn=e=>{const n=W(),o=de();return t.jsxs(Rl,{children:[t.jsxs(Hl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Yl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Kl,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(Ul,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(Zl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function je({kind:e,isScrolling:n,subAccountProps:o}){switch(e){case"account_title_row_separator":return t.jsx(Zn,{marginLeft:C[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(Zn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Gl,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(ql,{isScrolling:n});case"total_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1})}}function ai({height:e,backgroundColor:n,title:o,numOfBalances:i=6}){let r=null;const l=W()!=="small";switch(o!=null?o.split("+")[1]:""){case"section-row":r=t.jsx(Jl,{columns:i,isSticky:l});break;case"root-class-row":r=t.jsx(Ql,{columns:i,isSticky:l});break;case"sub-class-row":r=t.jsx(Xl,{columns:i,isSticky:l});break;case"leaf-class-row":r=t.jsxs(t.Fragment,{children:[t.jsx(ec,{columns:i,isSticky:l}),t.jsx(je,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]})}return t.jsx(nc,{height:e,bgColor:n,children:r})}const Jl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.loadingBalanceWidthInPx})]}),Ql=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Xl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxs(Be,{style:{marginLeft:"36px"},children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx,style:{marginLeft:C[4]}})]})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),ec=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsx(Be,{style:{marginLeft:"84px"},children:t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),tc=({rectangleWidth:e})=>t.jsx(li,{width:j.balanceWidthInPx,children:t.jsx(Y,{width:e,height:j.balanceHeightInPx})}),wt=({columns:e,rectangleWidth:n})=>t.jsx(oc,{style:{zIndex:9,width:j.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((o,i)=>t.jsx(tc,{rectangleWidth:n},i))}),nc=a.div`
|
|
750
751
|
display: flex;
|
|
751
752
|
flex: 1 1 auto;
|
|
752
753
|
width: fit-content;
|
|
@@ -877,7 +878,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
877
878
|
max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
878
879
|
background-color: ${e=>e.bgColor?.hex()};
|
|
879
880
|
color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
|
|
880
|
-
${({isSticky:e})=>e?
|
|
881
|
+
${({isSticky:e})=>e?F`
|
|
881
882
|
position: -webkit-sticky;
|
|
882
883
|
position: sticky;
|
|
883
884
|
top: ${s.sp0};
|
|
@@ -892,7 +893,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
892
893
|
text-overflow: ellipsis;
|
|
893
894
|
text-align: left;
|
|
894
895
|
margin-left: ${s.sp2};
|
|
895
|
-
`,mc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?gc:Dt;return t.jsxs(pc,{"data-testid":y("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":y("account-group-row-balance-actual",e),children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":y("account-group-row-balance-forecast",e),children:
|
|
896
|
+
`,mc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?gc:Dt;return t.jsxs(pc,{"data-testid":y("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":y("account-group-row-balance-actual",e),children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":y("account-group-row-balance-forecast",e),children:Q(n)}),t.jsx(Dt,{"data-testid":y("account-group-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function wc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountGroupName:l,accountGroupBalances:c,compareMode:d,isScrolling:p,isOpen:u,isLeaf:g,isLastNode:h,onClick:x}){const f=W(),m=!g,w=m?"pointer":"default",b=l.length>0?l.substr(0,1).toUpperCase():"",k=bc(c),v=de().colors.primary,[S,$]=V.useState(!1);return t.jsxs(dc,{"data-testid":y("account-group-row-root-container",e),height:r,bgColor:n,windowSize:f,children:[t.jsxs(hc,{"data-testid":y("account-group-row-container",e),style:{cursor:w},isClickable:m,onClick:()=>x?.(i),onMouseOver:()=>$(!0),onMouseLeave:()=>$(!1),children:[t.jsxs(xc,{"data-testid":y("account-group-row-name-container",e),bgColor:n,isSticky:o,windowSize:f,hasNonZeroBalance:k,children:[t.jsx(ve,{"data-testid":y("account-group-row-circle-with-letter",e),color:I(v),showCollapsedIcon:!u,showIcon:m&&S,firstLetter:b}),t.jsx(fc,{"data-testid":y("account-group-row-name",e),children:l})]}),t.jsx(uc,{"data-testid":y("account-group-row-balances-container",e),hasNonZeroBalance:k,children:c.map((B,L)=>t.jsx(mc,{"data-testid":y("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:B,compareMode:d,collapsed:!1},L))})]}),t.jsx(yc,{isScrolling:p,isLeaf:g,isLastNode:h,isOpen:u})]})}function yc({isScrolling:e,isLeaf:n,isLastNode:o,isOpen:i}){return!n&&i&&o?null:t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"})}const bc=e=>{let n=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){n=!0;break}}return n};function Ge(e){return typeof e=="object"&&e!==null&&"depth"in e&&typeof e.depth=="number"&&!("filter"in e)}function bt(e,n){if(e!=null&&n!=null&&Ge(e)===!0){if(n.id==="__horizontal_total__")return{isHorizontalClassTotalColumn:!0};if(n.id!=null)return{isHorizontalClassColumn:!0}}}const kc=a.div`
|
|
896
897
|
display: flex;
|
|
897
898
|
flex: 1 1 auto;
|
|
898
899
|
width: fit-content;
|
|
@@ -939,7 +940,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
939
940
|
width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
940
941
|
max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
941
942
|
background-color: ${e=>e.bgColor?.hex()};
|
|
942
|
-
${({isSticky:e})=>e?
|
|
943
|
+
${({isSticky:e})=>e?F`
|
|
943
944
|
position: -webkit-sticky;
|
|
944
945
|
position: sticky;
|
|
945
946
|
top: ${s.sp0};
|
|
@@ -955,7 +956,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
955
956
|
text-align: left;
|
|
956
957
|
margin-left: 35px;
|
|
957
958
|
color: ${e=>e.theme.colors.hero};
|
|
958
|
-
`,_c=({type:e,balance:n,account:o,onAccountBalanceClick:i,compareMode:r})=>{const l=o!=null&&n!=null&&i!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Cc,{children:[t.jsx(Wt,{isClickable:l,onClick:()=>{l===!0&&o!=null&&n!=null&&i?.(o,n,bt(o,n))},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{isClickable:!1,children:
|
|
959
|
+
`,_c=({type:e,balance:n,account:o,onAccountBalanceClick:i,compareMode:r})=>{const l=o!=null&&n!=null&&i!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Cc,{children:[t.jsx(Wt,{isClickable:l,onClick:()=>{l===!0&&o!=null&&n!=null&&i?.(o,n,bt(o,n))},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{isClickable:!1,children:Q(n)}),t.jsx(Wt,{isClickable:!1,children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Lc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isCompareModeOn:c,isForecastModeOn:d,isScrolling:p,isLeaf:u,isLastNode:g,compareMode:h,account:x,onAccountBalanceClick:f}){const m=W(),{common:{strings:{empty:w}}}=N.getLocalizedStrings(),b=x?.accountDescription?x.accountDescription:w,k=x?.accountName?x.accountName:b,v=en(),S=v.loggedInUserRole!=null&&!vo(v.loggedInUserRole),$=S===!0&&x!=null&&c!==!0&&f!=null&&d!==!0,B=$?"pointer":"default";return t.jsxs(kc,{height:r,bgColor:n,windowSize:m,children:[t.jsxs(jc,{style:{cursor:B},isClickable:$,onClick:()=>{return x!=null?(L=i,M=x,void($===!0&&l[l.length-1]!=null&&f?.(L,M,l[l.length-1],bt(M,l[l.length-1]??null)))):null;var L,M},children:[t.jsx(vc,{isSticky:o,windowSize:m,bgColor:n,children:t.jsx($c,{title:k,children:k})}),t.jsx(Sc,{children:l.map((L,M)=>t.jsx(_c,{type:e,balance:L,account:x,onAccountBalanceClick:S===!1||f==null?void 0:(T,D,K)=>{f(i,T,D,K)},compareMode:h},M))})]}),t.jsx(Ac,{isScrolling:p,isLeaf:u,isLastNode:g})]})}function Ac({isScrolling:e,isLeaf:n,isLastNode:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Bc=a.div`
|
|
959
960
|
display: flex;
|
|
960
961
|
flex: 1 1 auto;
|
|
961
962
|
width: fit-content;
|
|
@@ -975,7 +976,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
975
976
|
flex: 1 0 auto;
|
|
976
977
|
flex-direction: row;
|
|
977
978
|
justify-content: flex-end;
|
|
978
|
-
`,
|
|
979
|
+
`,Jn=a.div`
|
|
979
980
|
display: flex;
|
|
980
981
|
flex-direction: row;
|
|
981
982
|
justify-content: flex-start;
|
|
@@ -985,7 +986,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
985
986
|
min-width: ${G.balanceWidth};
|
|
986
987
|
text-align: right;
|
|
987
988
|
margin-left: ${G.balanceLeftMargin};
|
|
988
|
-
`,
|
|
989
|
+
`,Qn=a(_)`
|
|
989
990
|
user-select: none;
|
|
990
991
|
max-width: ${G.balanceWidth};
|
|
991
992
|
min-width: ${G.balanceWidth};
|
|
@@ -1005,7 +1006,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1005
1006
|
width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
1006
1007
|
max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
1007
1008
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1008
|
-
${({isSticky:e})=>e?
|
|
1009
|
+
${({isSticky:e})=>e?F`
|
|
1009
1010
|
position: -webkit-sticky;
|
|
1010
1011
|
position: sticky;
|
|
1011
1012
|
top: ${s.sp0};
|
|
@@ -1021,7 +1022,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1021
1022
|
text-overflow: ellipsis;
|
|
1022
1023
|
text-align: left;
|
|
1023
1024
|
margin-left: ${s.sp2};
|
|
1024
|
-
`,Pc=({type:e,balance:n,color:o,compareMode:i})=>{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(Nc,{children:[t.jsxs(
|
|
1025
|
+
`,Pc=({type:e,balance:n,color:o,compareMode:i})=>{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(Nc,{children:[t.jsxs(Jn,{children:[t.jsx(Ie,{style:{color:o.toString()},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Ie,{style:{color:o.toString()},children:Q(n)}),t.jsx(Ie,{style:{color:o.toString()},children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]}),t.jsxs(Jn,{children:[r!==0?t.jsx(Qn,{style:{color:o.toString()},children:ye("0,0%",r)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx(Qn,{style:{color:o.toString()},children:ye("0,0%",l)}):t.jsx(Ie,{}),t.jsx(Ie,{})]}):null]})]})};function bn({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,sectionColor:d,isScrolling:p,isOpen:u,isLeaf:g,compareMode:h,onClick:x}){const f=W(),[m,w]=V.useState(!1),b=!g,k=b?"pointer":"default",v=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(Bc,{"data-testid":y("section-row-root-container",i),rootHeight:r,bgColor:n,windowSize:f,children:[t.jsxs(Ic,{"data-testid":y("section-row-container",i),style:{cursor:k},onClick:()=>x?.(i),onMouseOver:()=>w(!0),onMouseLeave:()=>w(!1),children:[t.jsxs(Mc,{"data-testid":y("section-row-name-container",i),isSticky:o,windowSize:f,bgColor:n,children:[t.jsx(ve,{"data-testid":y("section-row-circle-with-letter",i),color:I(d),showCollapsedIcon:!u,showIcon:b&&m,firstLetter:v}),t.jsx(Wc,{"data-testid":y("section-row-name",i),style:{color:d.toString()},children:l})]}),t.jsx(Oc,{"data-testid":y("section-row-balances-container",i),children:c.map((S,$)=>t.jsx(Pc,{"data-testid":y("section-row-balance-element",e),type:e,sectionName:l,balance:S,color:d,compareMode:h},$))})]}),t.jsx(zc,{isScrolling:p,isLeaf:g,isOpen:u})]})}function zc({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"section_row_separator"}):null}const Fc=a.div`
|
|
1025
1026
|
display: flex;
|
|
1026
1027
|
flex: 1 1 auto;
|
|
1027
1028
|
width: fit-content;
|
|
@@ -1066,7 +1067,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1066
1067
|
width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
1067
1068
|
max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
|
|
1068
1069
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1069
|
-
${({isSticky:e})=>e?
|
|
1070
|
+
${({isSticky:e})=>e?F`
|
|
1070
1071
|
position: -webkit-sticky;
|
|
1071
1072
|
position: sticky;
|
|
1072
1073
|
top: ${s.sp0};
|
|
@@ -1088,7 +1089,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1088
1089
|
text-align: right;
|
|
1089
1090
|
margin-left: ${G.balanceLeftMargin};
|
|
1090
1091
|
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
1091
|
-
`,Hc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?Ec:di;return t.jsxs(Dc,{children:[ae(e)===!0?t.jsx(r,{children:q(n)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{children:q(n)}),t.jsx(Pt,{children:
|
|
1092
|
+
`,Hc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?Ec:di;return t.jsxs(Dc,{children:[ae(e)===!0?t.jsx(r,{children:q(n)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{children:q(n)}),t.jsx(Pt,{children:Q(n)}),t.jsx(Pt,{children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Kc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isLeaf:d,compareMode:p,onClick:u}){const g=W(),h=!d,x=h?"pointer":"default";return t.jsx(Fc,{height:r,bgColor:n,windowSize:g,children:t.jsxs(Tc,{style:{cursor:x},isClickable:h,onClick:()=>u?.(i),children:[t.jsx(Gc,{bgColor:n,isSticky:o,windowSize:g,children:t.jsx(Rc,{children:l})}),t.jsx(Vc,{children:c.map((f,m)=>t.jsx(Hc,{type:e,balance:f,collapsed:!1,compareMode:p},m))})]})})}const Le={net_burn_or_income:{income:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},cogs:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},expenses:{color:new I(O.graphColor32),hoverColor:new I(O.graphColor32Dark)},"Gross Burn":{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)},"Net Burn":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)},"Net Income":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)}},revenue:{income:{color:new I(O.graphColor28),hoverColor:new I(O.graphColor28Dark)},cogs:{color:new I(O.graphColor17),hoverColor:new I(O.graphColor17Dark)},"Gross Margin":{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new I(O.graphColor33),hoverColor:new I(O.graphColor33Dark)},cash_out:{color:new I(O.graphColor02),hoverColor:new I(O.graphColor02Dark)},"Net Cash Flow":{color:new I(O.graphColor35),hoverColor:new I(O.graphColor35Dark)}},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},kn=(e,n)=>e.startsWith("net_burn_or_income")===!0?n!=null?Le.net_burn_or_income[n]:Le.default:e.startsWith("revenue")===!0?n!=null?Le.revenue[n]:Le.default:e.startsWith("cash_in_cash_out")===!0&&n!=null?Le.cash_in_cash_out[n]:Le.default,hi=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.sectionType),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionColor:x.color,sectionName:o.element.title,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},ui=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x.color,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},pi=(e,n,o,i,r,l,c,d)=>{if((o.config.isZeniCOAInUse==null||o.config.isZeniCOAInUse===!0)&&o.config.mode!=="this_period_vs_period_before")return null;const p=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Kc,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,title:o.element.title,height:i,isLeaf:d,compareMode:c,totalBalances:p.balances})},mg=20,Yc=e=>{const n=[];return e&&Object.values(e).forEach(o=>{n.push(o)}),n.reverse()},Uc=a.div`
|
|
1092
1093
|
display: flex;
|
|
1093
1094
|
flex: 1 1 auto;
|
|
1094
1095
|
height: 1px;
|
|
@@ -1099,14 +1100,14 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1099
1100
|
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
1100
1101
|
`;function Et({kind:e,isScrolling:n}){switch(e){case"account_class_row_separator":return t.jsx(Uc,{isScrolling:n});case"section_row_separator":case"vendor_separator":return t.jsx(Zc,{isScrolling:n});case"heading_row_separator":return null}}const qc=a.div`
|
|
1101
1102
|
position: relative;
|
|
1102
|
-
`,
|
|
1103
|
+
`,Jc=a.div`
|
|
1103
1104
|
height: ${e=>e.height}px;
|
|
1104
1105
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1105
1106
|
width: 1px;
|
|
1106
1107
|
`;a.div`
|
|
1107
1108
|
height: 39px;
|
|
1108
1109
|
width: 2px;
|
|
1109
|
-
`;const
|
|
1110
|
+
`;const Qc=a.div`
|
|
1110
1111
|
position: relative;
|
|
1111
1112
|
margin-right: ${s.sp3};
|
|
1112
1113
|
&::after {
|
|
@@ -1135,7 +1136,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1135
1136
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1136
1137
|
margin-bottom: ${e=>e.height}px;
|
|
1137
1138
|
width: 1px;
|
|
1138
|
-
`,gi=({height:e})=>t.jsx(qc,{children:t.jsx(
|
|
1139
|
+
`,gi=({height:e})=>t.jsx(qc,{children:t.jsx(Jc,{height:e})}),ns=({height:e})=>t.jsx(es,{height:e,children:t.jsx(ts,{height:e})}),os=()=>t.jsx(Qc,{children:t.jsx(Xc,{})}),is=s.sp4,xi="126px",me="128px",kt="12px",jt="12px",pt="685px",jn="628px",Xn="685px",rs="182px",gt="184px",Se="144px",xt="12px",eo="685px",fi="250px",ft="250px",as=39,ls=19.5,cs=16,ze=128,to=168,Fe="180px",no="300px",mi="210px",ss="128px";function wi(e,n=!1){switch(e){case"section":case"flux_vendor_row":case"timeframe_headers":case"total":case"loading_in_progress":case"headers_loading_in_progress":return C[8];case"flux_vendor_account_class_row":return n?C[9]:C[6];default:return 0}}const oo=N.getLocalizedStrings(),ds=a.div`
|
|
1139
1140
|
display: flex;
|
|
1140
1141
|
flex-shrink: 0;
|
|
1141
1142
|
width: ${gt};
|
|
@@ -1199,7 +1200,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1199
1200
|
width: ${eo};
|
|
1200
1201
|
max-width: ${eo};
|
|
1201
1202
|
padding-left: 67.5px;
|
|
1202
|
-
${({isSticky:e})=>e?
|
|
1203
|
+
${({isSticky:e})=>e?F`
|
|
1203
1204
|
position: sticky;
|
|
1204
1205
|
top: ${s.sp0};
|
|
1205
1206
|
left: ${s.sp0};
|
|
@@ -1264,7 +1265,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1264
1265
|
display: flex;
|
|
1265
1266
|
flex: 1;
|
|
1266
1267
|
justify-content: flex-end;
|
|
1267
|
-
`,_s=({isBalanceRowFirstNode:e=!1,balance:n})=>{const o=n!=null;return t.jsxs(yi,{children:[e?t.jsx(bi,{}):null,t.jsx(xs,{children:t.jsx(fs,{isClickable:o,children:q(n)})})]})};function Ls({varianceAmount:e,variancePercentage:n,currency:o,isSticky:i,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:p,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:h}}}=N.getLocalizedStrings(),x=u.accountBase?.accountDescription?u.accountBase?.accountDescription:h,f=u.accountBase?.accountName?u.accountBase?.accountName:x,m=u.classBase?.className?u.classBase?.className:h,w=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(ps,{children:[t.jsxs(gs,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(vs,{children:t.jsxs(ms,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(ws,{children:[t.jsx(gi,{height:as}),t.jsx(bs,{children:io.common.texts.category}),t.jsx(ks,{children:io.common.texts.class})]}),t.jsxs(ys,{children:[w===!0?t.jsx(ns,{height:ls}):t.jsx(os,{}),t.jsx(js,{title:f,children:f}),t.jsx(Ss,{title:m,children:m})]})]})}),t.jsx($s,{children:t.jsxs(Cs,{children:[r.map((b,k)=>t.jsx(_s,{balance:b,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},k)),t.jsxs(yi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(bi,{}),t.jsx(St,{amount:e,percentage:n,currency:o})]})]})})]}),t.jsx(As,{isScrolling:l,isLeaf:d,isLastNode:p,isParentLastChild:c?.isVendorLastChild??!0})]})}function As({isScrolling:e,isLastNode:n,isParentLastChild:o}){return n&&o?t.jsx(Et,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(Et,{isScrolling:e,kind:"account_class_row_separator"}):null}function Bs(){return t.jsxs(Is,{children:[t.jsxs(Ns,{children:[t.jsxs(Ae,{width:no,className:"vendor-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ae,{width:no,children:t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(Os,{children:[t.jsx(Ae,{width:
|
|
1268
|
+
`,_s=({isBalanceRowFirstNode:e=!1,balance:n})=>{const o=n!=null;return t.jsxs(yi,{children:[e?t.jsx(bi,{}):null,t.jsx(xs,{children:t.jsx(fs,{isClickable:o,children:q(n)})})]})};function Ls({varianceAmount:e,variancePercentage:n,currency:o,isSticky:i,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:p,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:h}}}=N.getLocalizedStrings(),x=u.accountBase?.accountDescription?u.accountBase?.accountDescription:h,f=u.accountBase?.accountName?u.accountBase?.accountName:x,m=u.classBase?.className?u.classBase?.className:h,w=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(ps,{children:[t.jsxs(gs,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(vs,{children:t.jsxs(ms,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(ws,{children:[t.jsx(gi,{height:as}),t.jsx(bs,{children:io.common.texts.category}),t.jsx(ks,{children:io.common.texts.class})]}),t.jsxs(ys,{children:[w===!0?t.jsx(ns,{height:ls}):t.jsx(os,{}),t.jsx(js,{title:f,children:f}),t.jsx(Ss,{title:m,children:m})]})]})}),t.jsx($s,{children:t.jsxs(Cs,{children:[r.map((b,k)=>t.jsx(_s,{balance:b,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},k)),t.jsxs(yi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(bi,{}),t.jsx(St,{amount:e,percentage:n,currency:o})]})]})})]}),t.jsx(As,{isScrolling:l,isLeaf:d,isLastNode:p,isParentLastChild:c?.isVendorLastChild??!0})]})}function As({isScrolling:e,isLastNode:n,isParentLastChild:o}){return n&&o?t.jsx(Et,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(Et,{isScrolling:e,kind:"account_class_row_separator"}):null}function Bs(){return t.jsxs(Is,{children:[t.jsxs(Ns,{children:[t.jsxs(Ae,{width:no,className:"vendor-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ae,{width:no,children:t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(Os,{children:[t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Ae,{width:mi,children:[t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"center"}}),t.jsx(Y,{width:C[7],height:C[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:70,height:C[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Is=a.div`
|
|
1268
1269
|
display: flex;
|
|
1269
1270
|
flex-direction: row;
|
|
1270
1271
|
width: 100%;
|
|
@@ -1311,13 +1312,13 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1311
1312
|
display: flex;
|
|
1312
1313
|
flex-direction: row;
|
|
1313
1314
|
justify-content: flex-start;
|
|
1314
|
-
`,
|
|
1315
|
+
`,zs=a(_)`
|
|
1315
1316
|
max-width: ${me};
|
|
1316
1317
|
min-width: ${me};
|
|
1317
1318
|
text-align: right;
|
|
1318
1319
|
margin-left: ${kt};
|
|
1319
1320
|
color: ${({color:e})=>e};
|
|
1320
|
-
`,
|
|
1321
|
+
`,Fs=a.div`
|
|
1321
1322
|
display: flex;
|
|
1322
1323
|
flex-direction: row;
|
|
1323
1324
|
flex-shrink: 2;
|
|
@@ -1326,7 +1327,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1326
1327
|
width: ${Xn};
|
|
1327
1328
|
min-width: ${Xn};
|
|
1328
1329
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1329
|
-
${({isSticky:e})=>e&&
|
|
1330
|
+
${({isSticky:e})=>e&&F`
|
|
1330
1331
|
position: sticky;
|
|
1331
1332
|
top: ${s.sp0};
|
|
1332
1333
|
left: ${s.sp0};
|
|
@@ -1363,7 +1364,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1363
1364
|
${Se} +
|
|
1364
1365
|
${jt}
|
|
1365
1366
|
);
|
|
1366
|
-
`,Rs=({balance:e,color:n})=>t.jsx(Ps,{children:t.jsx(
|
|
1367
|
+
`,Rs=({balance:e,color:n})=>t.jsx(Ps,{children:t.jsx(zs,{color:n,children:q(e)})}),Hs=mr.memo(function({currency:e,sectionId:n,selectedSectionsIds:o,backgroundColor:i,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:p,sectionBalances:u,varianceAmount:g,variancePercentage:h,sectionColor:x,isScrolling:f,isOpen:m,isLeaf:w,idsForReview:b,sectionToggled:k,onSectionCheckboxClick:v}){const S=W(),[$,B]=V.useState(b.length>0),[L,M]=V.useState(!1),T=o.includes(n),D=!w,K=b.length===20&&!T,X=d?.[0]?.toUpperCase()??"",J=V.useCallback(re=>{v?.(n,re.target.checked)},[n,v]),ie=y("flux-analysis-section-expand-collapse",n),he=y("flux-analysis-section-row",n),le=y("flux-analysis-section-checkbox",n);return t.jsxs(Ms,{heightValue:c,bgColor:i,"data-testid":he,children:[t.jsxs(Ws,{style:{cursor:D?"pointer":"default"},onClick:()=>k?.(l),onMouseOver:()=>{M(!0),B(!0)},onMouseLeave:()=>{M(!1),b.length===0&&B(!1)},children:[t.jsxs(Fs,{className:"flux-section-name-container",isSticky:r,windowSize:S,bgColor:i,children:[p&&$&&m?t.jsx(Ds,{children:t.jsx(qt,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox","data-testid":le,icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Vs,{}),checked:T,id:l,disabled:K,onChange:J,onClick:re=>re.stopPropagation(),style:{padding:"20px",pointerEvents:K?"none":"auto"}})}):t.jsx(Es,{}),t.jsx(ve,{color:I(x),dataTestId:ie,firstLetter:X,showCollapsedIcon:!m,showIcon:L&&D}),t.jsx(Ts,{color:x.toString(),children:d})]}),t.jsxs(Gs,{children:[u.map((re,be)=>t.jsx(Rs,{sectionName:d,balance:re,color:x.toString()},be)),t.jsx(St,{amount:g,percentage:h,currency:e})]})]}),t.jsx(Ks,{isScrolling:f,isLeaf:w,isOpen:m})]})});function Ks({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(Et,{isScrolling:e,kind:"section_row_separator"}):null}function Ys(){const e=W();return t.jsxs(Us,{windowSize:e,children:[t.jsx(Oe,{windowSize:e,width:jn,marginRight:0,children:t.jsx(Y,{width:C[9],height:C[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:128,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:mi,children:t.jsx(Y,{width:184,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:ss,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})})]})}const Us=a.div`
|
|
1367
1368
|
display: flex;
|
|
1368
1369
|
flex-direction: row;
|
|
1369
1370
|
width: 100%;
|
|
@@ -1380,7 +1381,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1380
1381
|
:first-of-type {
|
|
1381
1382
|
justify-content: flex-start;
|
|
1382
1383
|
}
|
|
1383
|
-
`,{common:Zs,expenseAutomation:{fluxAnalysis:qs},vendors:{opExByVendor:
|
|
1384
|
+
`,{common:Zs,expenseAutomation:{fluxAnalysis:qs},vendors:{opExByVendor:Js}}=N.getLocalizedStrings(),Qs=a.div`
|
|
1384
1385
|
display: flex;
|
|
1385
1386
|
flex: 1 1 auto;
|
|
1386
1387
|
width: fit-content;
|
|
@@ -1427,7 +1428,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1427
1428
|
z-index: 1;
|
|
1428
1429
|
background-color: ${e=>e.theme.colors.grey4};
|
|
1429
1430
|
padding-left: ${s.sp8};
|
|
1430
|
-
${({isSticky:e})=>e?
|
|
1431
|
+
${({isSticky:e})=>e?F`
|
|
1431
1432
|
top: ${s.sp0};
|
|
1432
1433
|
left: ${s.sp0};
|
|
1433
1434
|
display: flex;
|
|
@@ -1466,7 +1467,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1466
1467
|
margin-left: ${s.sp7};
|
|
1467
1468
|
flex: 1 1 auto;
|
|
1468
1469
|
justify-content: flex-end;
|
|
1469
|
-
`,ad=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Gt,{isClickable:!1,children:t.jsx(Xs,{children:Ye(e,n,o)})}),ld=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(ad,{firstMonthOfFY:e,timeframeTick:n,timeframe:o}),cd=({sortKey:e="vendor",sortOrder:n="ascending",isBulkSelected:o,onSortOrderChanged:i})=>{const r=e==="vendor"?n:"ascending";return t.jsx(id,{isBulkSelected:o,isSortedByKey:e==="vendor",children:t.jsxs(Rt,{onClick:()=>{i(n==="ascending"?"descending":"ascending","vendor")},"data-testid":y("flux-analysis-report-timeframe-row-vendor-element-row"),children:[
|
|
1470
|
+
`,ad=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Gt,{isClickable:!1,children:t.jsx(Xs,{children:Ye(e,n,o)})}),ld=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(ad,{firstMonthOfFY:e,timeframeTick:n,timeframe:o}),cd=({sortKey:e="vendor",sortOrder:n="ascending",isBulkSelected:o,onSortOrderChanged:i})=>{const r=e==="vendor"?n:"ascending";return t.jsx(id,{isBulkSelected:o,isSortedByKey:e==="vendor",children:t.jsxs(Rt,{onClick:()=>{i(n==="ascending"?"descending":"ascending","vendor")},"data-testid":y("flux-analysis-report-timeframe-row-vendor-element-row"),children:[Js.vendor,t.jsx(Ht,{isBulkSelected:o,isSortedByKey:e==="vendor",children:r==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})};function sd({backgroundColor:e,height:n,isBulkSelected:o,sortKey:i="vendor",sortOrder:r="ascending",firstMonthOfFY:l,timeframe:c,timeframeTicks:d,onSortOrderChanged:p}){const u=W();return t.jsxs(Qs,{heightValue:n,bgColor:e,children:[t.jsx(nd,{className:"flux-vendor-header-sticky",windowSize:u,isSticky:!0,children:t.jsx(od,{windowSize:u,children:t.jsx(cd,{sortKey:i,sortOrder:r,isBulkSelected:o,onSortOrderChanged:(g,h)=>{p?.(g,h)}})})}),t.jsxs(rd,{children:[d.map((g,h)=>t.jsx(ld,{firstMonthOfFY:l,timeframeTick:g,timeframe:c},h)),t.jsx(Gt,{isClickable:!1,width:rs,children:t.jsxs(Rt,{onClick:()=>p?.(r==="ascending"?"descending":"ascending","variance"),"data-testid":y("flux-analysis-report-timeframe-row-varianceElement"),children:[t.jsx(ed,{children:qs.variance}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="variance",children:(i==="variance"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})}),t.jsx(Gt,{isClickable:!1,width:Se,children:t.jsxs(Rt,{onClick:()=>{p?.(r==="ascending"?"descending":"ascending","status")},"data-testid":y("flux-analysis-report-timeframe-row-status"),children:[t.jsx(td,{children:Zs.texts.reviewStatus}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="status",children:(i==="status"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})]})]})}const dd=a.div`
|
|
1470
1471
|
display: flex;
|
|
1471
1472
|
flex: 1 1 auto;
|
|
1472
1473
|
width: fit-content;
|
|
@@ -1585,7 +1586,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1585
1586
|
width: ${pt};
|
|
1586
1587
|
max-width: ${pt};
|
|
1587
1588
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1588
|
-
${({isSticky:e})=>e?
|
|
1589
|
+
${({isSticky:e})=>e?F`
|
|
1589
1590
|
position: -webkit-sticky;
|
|
1590
1591
|
position: sticky;
|
|
1591
1592
|
top: ${s.sp0};
|
|
@@ -1679,11 +1680,11 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1679
1680
|
background-color: transparent;
|
|
1680
1681
|
}
|
|
1681
1682
|
}
|
|
1682
|
-
`,
|
|
1683
|
+
`,zd=a(tn)`
|
|
1683
1684
|
color: ${e=>e.theme.colors.primary};
|
|
1684
1685
|
width: ${s.sp3};
|
|
1685
1686
|
height: ${s.sp3};
|
|
1686
|
-
`,
|
|
1687
|
+
`,Fd=a(Ce)`
|
|
1687
1688
|
display: flex;
|
|
1688
1689
|
flex-direction: row;
|
|
1689
1690
|
align-items: center;
|
|
@@ -1721,7 +1722,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1721
1722
|
justify-content: center;
|
|
1722
1723
|
align-items: center;
|
|
1723
1724
|
margin-left: ${s.sp1};
|
|
1724
|
-
`,{common:ao,expenseAutomation:Gd}=N.getLocalizedStrings(),Rd=({balance:e})=>{const n=Cd;return t.jsx(Sd,{children:t.jsx(n,{children:q(e)})})};function Hd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:o,isSticky:i,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:p,currency:u,vendorBalances:g,reviewedByUser:h,status:x,vendor:f,isOpen:m,childrenCount:w,vendorRowIndex:b,setHoveredParentId:k,onClick:v,handleRedirectToVendorDetailPage:S,updateOperatingExpensesIdsForReview:$}){const[B,L]=V.useState(!1),[M,T]=V.useState(n.length>0),D=n.includes(e),K=n.includes(e),X=c==="collapsed",
|
|
1725
|
+
`,{common:ao,expenseAutomation:Gd}=N.getLocalizedStrings(),Rd=({balance:e})=>{const n=Cd;return t.jsx(Sd,{children:t.jsx(n,{children:q(e)})})};function Hd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:o,isSticky:i,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:p,currency:u,vendorBalances:g,reviewedByUser:h,status:x,vendor:f,isOpen:m,childrenCount:w,vendorRowIndex:b,setHoveredParentId:k,onClick:v,handleRedirectToVendorDetailPage:S,updateOperatingExpensesIdsForReview:$}){const[B,L]=V.useState(!1),[M,T]=V.useState(n.length>0),D=n.includes(e),K=n.includes(e),X=c==="collapsed",J=n.length===20&&D===!1,ie=$d,he=b!=null?String(b):e,le=y("flux-analysis-vendor-checkbox",he),re=y("flux-analysis-vendor-detail-navigation",he),be=y("flux-analysis-vendor-expand-collapse",he),$e=y("flux-analysis-vendor-row",he);return t.jsx(kd,{heightValue:l,bgColor:o,"data-testid":$e,children:t.jsxs(jd,{shouldHighlight:K,isRowExpanded:m,onClick:()=>v?.(r),onMouseOver:()=>{L(!0),T(!0),k?.(f.id)},onMouseLeave:()=>{L(!1),n.length===0&&T(!1),k?.(null)},children:[t.jsxs(vd,{className:"flux-vendor-name-container",bgColor:o,isSticky:i,children:[t.jsx(Pd,{className:"flux-vendor-checkbox-container",children:M?t.jsx(qt,{className:"flux-vendor-checkbox","data-testid":le,icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(zd,{}),checked:D,name:f.name,id:e,disabled:J,onChange:ce=>{let ue=n;ue=ce.target.checked===!0?[...ue,e]:ue.filter(_e=>_e!==e),$?.(ue)},onClick:ce=>ce.stopPropagation(),style:{padding:"20px",pointerEvents:J?"none":"auto"}}):null}),t.jsxs(Id,{isNodeOpen:m,children:[B?t.jsx(Vd,{className:"flux-vendor-collapsable-chevron-icon","data-testid":be,children:m===!1?t.jsx(ro,{}):t.jsx(Td,{})}):f.logo!=null?t.jsx(Qt,{photoUrl:f.logo.toString(),styles:{width:C[4],height:C[4]}}):t.jsx(Xt,{name:f.name,size:s.sp4}),m?t.jsx(gi,{height:cs}):null]}),t.jsxs(_d,{children:[t.jsxs(Ld,{children:[t.jsx(ie,{children:f.name}),m?null:t.jsx(Ed,{className:"flux-vendor-children-count",children:t.jsx(Te,{children:w})})]}),B?t.jsx(V.Fragment,{children:t.jsx(Dd,{className:"flux-vendor-chevron-icon",onClick:()=>{S?.(f)},"data-testid":re,children:t.jsx(ro,{})})}):null]})]}),t.jsxs(Bd,{children:[g.map((ce,ue)=>t.jsx(Rd,{balance:ce,collapsed:X},ue)),t.jsx(St,{amount:d,percentage:p,currency:u}),t.jsx(Od,{children:x==="Pending Review"?t.jsx(Md,{children:t.jsx(Wd,{children:ao.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Nd,{className:"vendor-flux-analysis-review-info",children:h!=null?t.jsxs(V.Fragment,{children:[t.jsxs(Fd,{children:[t.jsx(Ad,{}),Gd.fluxAnalysis.reviewedBy]}),t.jsx(Te,{children:Xi(h)})]}):ao.strings.hyphen})})})]})]})})}const lo={generalExpense:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},reimbursement:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},Sn=(e,n)=>{const{element:o}=e;return o.kind===n&&o.data!=null},ki=e=>Yc(e.balancesByMonth),Kd=(e,n,o,i,r,l,c,d,p,u,g)=>{if(!Sn(n,"flux_vendor_row"))return null;const h=n.element.data,x=ki(h),f=wi("flux_vendor_row",p);return t.jsx(Hd,{backgroundColor:o,isSticky:i,treeNodeId:e,vendorRowIndex:n.element.index,fluxAnalysisEntityId:h.fluxAnalysisEntityId,height:f,leftChevron:"collapsed",idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:h.vendor,vendorBalances:x,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,status:h.status,currency:h.currency,isScrolling:r,isOpen:l,isLeaf:c,isLastNode:d,childrenCount:h.vendorAccountsAndClasses.length,onClick:m=>{(w=>{g?.(w),n.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(w)})(m)},reviewedByUser:h.reviewedByUser,updateOperatingExpensesIdsForReview:n.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:n.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},Yd=(e,n,o,i,r,l,c,d,p,u)=>{if(!Sn(n,"section"))return null;const g=((x,f)=>x.startsWith("flux_analysis_operating_expense")===!0&&f!=null?lo[f]:lo.default)(n.config.reportId,n.element.sectionType),h=n.element.data;return t.jsx(Hs,{backgroundColor:i,isSticky:r,treeNodeId:e,height:o,selectedSectionsIds:n.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:n.element.title,sectionBalances:h.balances,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,currency:h.currency,isScrolling:l,isOpen:c,hasVendors:h.vendors.length>0,isLeaf:d,isLastNode:p,sectionToggled:x=>{(f=>{n.config.fluxAnalysisConfig?.onSectionRowClick(f),u?.(f)})(x)},onSectionCheckboxClick:n.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:h.sectionId})},Ud=a.div`
|
|
1725
1726
|
display: flex;
|
|
1726
1727
|
flex: 1 1 auto;
|
|
1727
1728
|
width: fit-content;
|
|
@@ -1746,13 +1747,13 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1746
1747
|
background-color: null;
|
|
1747
1748
|
}
|
|
1748
1749
|
width: 100%;
|
|
1749
|
-
`,
|
|
1750
|
+
`,Jd=a(er)`
|
|
1750
1751
|
width: 100%;
|
|
1751
1752
|
display: flex;
|
|
1752
1753
|
align-items: center;
|
|
1753
|
-
font-weight: ${e=>e.isSubclass?
|
|
1754
|
+
font-weight: ${e=>e.isSubclass?Fn.regular:Fn.medium};
|
|
1754
1755
|
color: ${e=>e.checked?e.theme.colors.primary:e.theme.colors.hero};
|
|
1755
|
-
`,
|
|
1756
|
+
`,Qd=a(Ce)`
|
|
1756
1757
|
display: flex;
|
|
1757
1758
|
color: ${e=>e.theme.colors.primary};
|
|
1758
1759
|
align-items: center;
|
|
@@ -1767,7 +1768,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1767
1768
|
color: ${e=>e.theme.colors.primary};
|
|
1768
1769
|
width: ${s.sp3};
|
|
1769
1770
|
height: ${s.sp3};
|
|
1770
|
-
`;function eh({backgroundColor:e,treeNodeId:n,classId:o,isChecked:i,isDisabled:r,height:l,nestedClass:c,isLeaf:d,showClassAccountNumber:p,onClick:u,onToggleCheck:g}){const[h,x]=V.useState(!1);return t.jsx(Ud,{"data-testid":y("name-with-checkbox-row-root-container",n),bgColor:e,children:t.jsxs(Zd,{"data-testid":y("name-with-checkbox-row-container",n),height:l,isClickable:!d,onClick:()=>u?.(n),onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),level:c.classId.length,children:[t.jsx(qt,{"data-testid":y("name-with-checkbox-row-checkbox",c.classId.toString()),icon:t.jsx(
|
|
1771
|
+
`;function eh({backgroundColor:e,treeNodeId:n,classId:o,isChecked:i,isDisabled:r,height:l,nestedClass:c,isLeaf:d,showClassAccountNumber:p,onClick:u,onToggleCheck:g}){const[h,x]=V.useState(!1);return t.jsx(Ud,{"data-testid":y("name-with-checkbox-row-root-container",n),bgColor:e,children:t.jsxs(Zd,{"data-testid":y("name-with-checkbox-row-container",n),height:l,isClickable:!d,onClick:()=>u?.(n),onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),level:c.classId.length,children:[t.jsx(qt,{"data-testid":y("name-with-checkbox-row-checkbox",c.classId.toString()),icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Xd,{}),checked:i,name:c.className,id:n,disabled:r,onChange:f=>{g?.(o,f.target.checked)},style:{height:s.sp6}})," ",t.jsx(qd,{children:t.jsxs(Jd,{"data-testid":y("name-with-checkbox-row-label-container",n),checked:i,isSubclass:c.classId.length>1,children:[t.jsx("label",{"data-testid":y("name-with-checkbox-row-label",c.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{g?.(o,!i)},children:c.className}),h===!0&&p===!0&&c.accountingClassNumber!=null&&t.jsx(Qd,{children:c.accountingClassNumber})]})})]})})}const P={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,270,270),categoryClassWidth:new E(230,230,240),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},th=a.div`
|
|
1771
1772
|
user-select: none;
|
|
1772
1773
|
display: flex;
|
|
1773
1774
|
flex: 1 1 auto;
|
|
@@ -1819,7 +1820,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1819
1820
|
min-width: ${e=>P.titleWidth.valuePx(e.windowSize)};
|
|
1820
1821
|
color: ${e=>e.theme.colors.primary};
|
|
1821
1822
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1822
|
-
${({isSticky:e})=>e?
|
|
1823
|
+
${({isSticky:e})=>e?F`
|
|
1823
1824
|
position: -webkit-sticky;
|
|
1824
1825
|
position: sticky;
|
|
1825
1826
|
top: ${s.sp0};
|
|
@@ -1837,7 +1838,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1837
1838
|
justify-content: flex-start;
|
|
1838
1839
|
align-items: center;
|
|
1839
1840
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1840
|
-
`,
|
|
1841
|
+
`,zt=a.div``,lh=a.div`
|
|
1841
1842
|
display: flex;
|
|
1842
1843
|
flex: 1 0 auto;
|
|
1843
1844
|
flex-direction: row;
|
|
@@ -1875,14 +1876,14 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1875
1876
|
min-width: ${e=>P.titleWidth.valuePx(e.windowSize)};
|
|
1876
1877
|
color: ${e=>e.theme.colors.primary};
|
|
1877
1878
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1878
|
-
${({isSticky:e})=>e?
|
|
1879
|
+
${({isSticky:e})=>e?F`
|
|
1879
1880
|
position: -webkit-sticky;
|
|
1880
1881
|
position: sticky;
|
|
1881
1882
|
top: ${s.sp0};
|
|
1882
1883
|
left: ${s.sp0};
|
|
1883
1884
|
z-index: 20;
|
|
1884
1885
|
`:null}
|
|
1885
|
-
`;function hh({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=W();return t.jsxs(ah,{height:o,bgColor:e,"data-testid":y("no-results-found-title-row"),children:[t.jsx(dh,{isSticky:n,windowSize:c,bgColor:e,children:t.jsx(ch,{children:N.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(lh,{children:[i?t.jsx(ho,{windowSize:c,children:t.jsx(
|
|
1886
|
+
`;function hh({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=W();return t.jsxs(ah,{height:o,bgColor:e,"data-testid":y("no-results-found-title-row"),children:[t.jsx(dh,{isSticky:n,windowSize:c,bgColor:e,children:t.jsx(ch,{children:N.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(lh,{children:[i?t.jsx(ho,{windowSize:c,children:t.jsx(zt,{})}):null,r?t.jsx(ho,{windowSize:c,children:t.jsx(zt,{})}):null,l.map((d,p)=>t.jsx(sh,{windowSize:c,children:t.jsx(zt,{children:" "})},`${p}RowItem`))]})]})}function Cn({title:e,selectedMode:n,onCompareModeChanged:o,backgroundColor:i,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,menuPosition:g}){return t.jsx(sr,{title:e,pickerValues:["compare_mode_percent","compare_mode_amount"],valueToLabel:h=>N.getLocalizedStrings().compareMode[h],selectedValue:n,onPickerSelectionChanged:h=>o(h),optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:i??"inherit",menuPosition:g})}const uh=s.sp4,uo=170,ph=(s.sp4,a.div`
|
|
1886
1887
|
margin-left: ${s.sp4};
|
|
1887
1888
|
`),gh=a.div`
|
|
1888
1889
|
display: flex;
|
|
@@ -1968,7 +1969,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
1968
1969
|
flex-direction: row;
|
|
1969
1970
|
z-index: 1;
|
|
1970
1971
|
background-color: ${e=>e.bgColor?.hex()};
|
|
1971
|
-
${({isSticky:e})=>e?
|
|
1972
|
+
${({isSticky:e})=>e?F`
|
|
1972
1973
|
position: -webkit-sticky;
|
|
1973
1974
|
position: sticky;
|
|
1974
1975
|
top: ${s.sp0};
|
|
@@ -2058,7 +2059,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2058
2059
|
flex-direction: column;
|
|
2059
2060
|
height: ${e=>e.height}px;
|
|
2060
2061
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2061
|
-
`,
|
|
2062
|
+
`,zh=a.div`
|
|
2062
2063
|
user-select: none;
|
|
2063
2064
|
display: flex;
|
|
2064
2065
|
flex: 1 1 auto;
|
|
@@ -2066,7 +2067,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2066
2067
|
justify-content: flex-start;
|
|
2067
2068
|
align-items: center;
|
|
2068
2069
|
cursor: default;
|
|
2069
|
-
`,
|
|
2070
|
+
`,Fh=a.div`
|
|
2070
2071
|
display: flex;
|
|
2071
2072
|
flex: 1 0 auto;
|
|
2072
2073
|
flex-direction: row;
|
|
@@ -2092,7 +2093,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2092
2093
|
display: flex;
|
|
2093
2094
|
flex-direction: row;
|
|
2094
2095
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2095
|
-
${({isSticky:e})=>e?
|
|
2096
|
+
${({isSticky:e})=>e?F`
|
|
2096
2097
|
position: -webkit-sticky;
|
|
2097
2098
|
position: sticky;
|
|
2098
2099
|
top: ${s.sp0};
|
|
@@ -2120,7 +2121,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2120
2121
|
text-overflow: ellipsis;
|
|
2121
2122
|
text-align: left;
|
|
2122
2123
|
color: ${e=>e.theme.colors.primary};
|
|
2123
|
-
`,Rh=({balance:e,collapsed:n,timeframeColumnIndex:o,treeNodeId:i,type:r})=>{const l=n===!0?Vh:Bi;return t.jsx(Th,{"data-testid":y("report-tree-total-row-amount",`${i}-${String(o)}`),children:ae(r)===!0?t.jsx(l,{children:q(e)}):null})};function Hh({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:p,onClick:u,isScrolling:g}){const h=W();return t.jsxs(Ph,{"data-testid":y("total-row-root-container",i),height:r,bgColor:n,windowSize:h,children:[t.jsxs(
|
|
2124
|
+
`,Rh=({balance:e,collapsed:n,timeframeColumnIndex:o,treeNodeId:i,type:r})=>{const l=n===!0?Vh:Bi;return t.jsx(Th,{"data-testid":y("report-tree-total-row-amount",`${i}-${String(o)}`),children:ae(r)===!0?t.jsx(l,{children:q(e)}):null})};function Hh({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:p,onClick:u,isScrolling:g}){const h=W();return t.jsxs(Ph,{"data-testid":y("total-row-root-container",i),height:r,bgColor:n,windowSize:h,children:[t.jsxs(zh,{"data-testid":y("total-row-container",i),onClick:()=>u?.(i),children:[t.jsxs(Dh,{bgColor:n,windowSize:h,isSticky:o,children:[t.jsx(Eh,{bgColor:n,windowSize:h,children:t.jsx(Gh,{children:l})}),d?t.jsx(po,{windowSize:h}):null,p?t.jsx(po,{windowSize:h}):null]}),t.jsx(Fh,{children:c.map((x,f)=>t.jsx(Rh,{balance:x,collapsed:!1,timeframeColumnIndex:f,treeNodeId:i,type:e},f))})]}),t.jsx(Ut,{isScrolling:g,kind:"vendor_row_separator"})]})}const Kh=a.div`
|
|
2124
2125
|
display: flex;
|
|
2125
2126
|
flex: 1 1 auto;
|
|
2126
2127
|
width: fit-content;
|
|
@@ -2159,17 +2160,17 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2159
2160
|
&:hover {
|
|
2160
2161
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2161
2162
|
}
|
|
2162
|
-
`,
|
|
2163
|
+
`,Jh=a.div`
|
|
2163
2164
|
display: flex;
|
|
2164
2165
|
flex-direction: row;
|
|
2165
2166
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2166
|
-
${({isSticky:e})=>e?
|
|
2167
|
+
${({isSticky:e})=>e?F`
|
|
2167
2168
|
position: -webkit-sticky;
|
|
2168
2169
|
position: sticky;
|
|
2169
2170
|
top: ${s.sp0};
|
|
2170
2171
|
left: ${s.sp0};
|
|
2171
2172
|
`:null}
|
|
2172
|
-
`,
|
|
2173
|
+
`,Qh=a.div`
|
|
2173
2174
|
display: flex;
|
|
2174
2175
|
flex-direction: row;
|
|
2175
2176
|
flex-shrink: 2;
|
|
@@ -2239,7 +2240,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2239
2240
|
`,au=a(_)`
|
|
2240
2241
|
color: ${e=>e.theme.colors.hero};
|
|
2241
2242
|
display: none;
|
|
2242
|
-
`,lu=({balance:e,timeframeColumnIndex:n,vendor:o,vendorRowKey:i,onVendorNameAndBalanceClick:r})=>{const l=!(e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent")&&e?.type!=="period_total"&&e?.type!=="default_with_null_balance"&&!$o(o.id);return t.jsx(Zh,{"data-testid":y("report-tree-vendor-row-amount",`${i}-${String(n)}`),children:t.jsx(qh,{isClickable:l,onClick:()=>{l===!0&&r(o,e??void 0)},children:q(e)})})};function cu({backgroundColor:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,vendor:l,balances:c,accountBase:d,classBase:p,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:h,vendorRowIndex:x}){const f=W(),m=x!=null?String(x):l.id,w=en(),b=w.loggedInUserRole!=null&&!vo(w.loggedInUserRole),k=$o(l.id),v=b===!0&&l!=null&&!k,S=v?"pointer":"default",$=l.name;return t.jsxs(Kh,{"data-testid":y("vendor-row-root-container",m),height:o,bgColor:e,windowSize:f,children:[t.jsxs(Yh,{"data-testid":y("vendor-row-container",m),style:{cursor:S},isClickable:v,children:[t.jsx(
|
|
2243
|
+
`,lu=({balance:e,timeframeColumnIndex:n,vendor:o,vendorRowKey:i,onVendorNameAndBalanceClick:r})=>{const l=!(e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent")&&e?.type!=="period_total"&&e?.type!=="default_with_null_balance"&&!$o(o.id);return t.jsx(Zh,{"data-testid":y("report-tree-vendor-row-amount",`${i}-${String(n)}`),children:t.jsx(qh,{isClickable:l,onClick:()=>{l===!0&&r(o,e??void 0)},children:q(e)})})};function cu({backgroundColor:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,vendor:l,balances:c,accountBase:d,classBase:p,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:h,vendorRowIndex:x}){const f=W(),m=x!=null?String(x):l.id,w=en(),b=w.loggedInUserRole!=null&&!vo(w.loggedInUserRole),k=$o(l.id),v=b===!0&&l!=null&&!k,S=v?"pointer":"default",$=l.name;return t.jsxs(Kh,{"data-testid":y("vendor-row-root-container",m),height:o,bgColor:e,windowSize:f,children:[t.jsxs(Yh,{"data-testid":y("vendor-row-container",m),style:{cursor:S},isClickable:v,children:[t.jsx(Jh,{"data-testid":y("vendor-row-sticky-container",m),isSticky:n,windowSize:f,bgColor:e,children:t.jsxs(Qh,{"data-testid":y("vendor-row-name-container",m),windowSize:f,bgColor:e,children:[t.jsxs(st,{controller:!k,children:[t.jsx(tu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:l.logo!=null?t.jsx(Qt,{photoUrl:l.logo.toString(),styles:{width:P.nameLogoWidth.valuePx(f),height:P.nameLogoHeight.valuePx(f)}}):t.jsx(Xt,{name:$,size:s.sp4})}),t.jsx(Ne,{"data-testid":y("vendor-row-name",m),style:{cursor:S},isClickable:v,onClick:()=>{v===!0&&h(l)},children:$})]}),t.jsx(st,{controller:k,children:t.jsxs(iu,{children:[t.jsx(nu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:t.jsx(ou,{})}),t.jsx(ru,{className:"hyphen-text",children:N.getLocalizedStrings().common.strings.hyphen}),t.jsx(au,{className:"not-specified-text",children:$})]})})]})}),u?t.jsx(Xh,{windowSize:f,bgColor:e,children:d!=null?t.jsx(Ne,{"data-testid":y("vendor-row-account-name",m),title:d.accountName,isClickable:!1,children:d.accountName}):t.jsx(Ne,{isClickable:!1,"data-testid":y("vendor-row-account-name",m),children:N.getLocalizedStrings().common.strings.hyphen})}):null,g?t.jsx(eu,{windowSize:f,bgColor:e,children:p!=null?t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),title:p.className,isClickable:!1,children:p.className}):t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),isClickable:!1,children:N.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(Uh,{children:c.map((B,L)=>t.jsx(lu,{balance:B,timeframeColumnIndex:L,vendor:l,vendorRowKey:m,onVendorNameAndBalanceClick:h},L))})]}),t.jsx(su,{isScrolling:i,isLastNode:r})]})}function su({isScrolling:e,isLastNode:n}){return n?t.jsx(Ut,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Ut,{isScrolling:e,kind:"vendor_row_separator"})}function _n(e,n,o){return du(n,o,e)}const du=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.account.balancesInTimeframe,i.compactedAccountsSelector=r=>go(r.accounts,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>go(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r,i.compactedAccountGroupsSelector=r=>function(l,c,d,p){switch(p){case"off":return l;case"filter_actual_nil_account_group_balances":return l.filter(u=>Ii(c(u)?.balances??[]));case"filter_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0||x.balance!=null&&x.balance.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return l.filter(u=>(c(u)?.balances??[]).length>0)}}(r,i.acGroupBalanceSelector,0,n),i};function go(e,n,o){switch(o){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>function(r){let l=!1;if(r!=null){for(const c of r)if(c.totalBalance!=null&&c.totalBalance.amount!==0){l=!0;break}}return l}((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[]))||Ii((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[])));case"filter_forecast_nil_balances":case"filter_actual_forecast_nil_balances":return e.filter(i=>hu(n(i)?.balances??[]))}}function Ii(e){let n=!1;if(e!=null){for(const o of e)if(o.balance.amount!==0){n=!0;break}}return n}function hu(e){let n=!1;if(e!=null){for(const o of e)if(o.totalForecast!=null&&o.totalForecast.amount!==0||o.totalBalance!=null&&o.totalBalance.amount!==0){n=!0;break}}return n}function Oi(e,n,o=-1,i=!0){const r=o!==-1;let l=[],c=-1;if(e==null||e.balances.length===0)return r===!0&&(l=function(p,u){return p.length>0?p:bo(Array(u),null)}([],o)),{balances:l,thisPeriodIndex:c};let d=e.balances;return n==="ascending_date"?c=e.balances.length-1:(c=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:c}}const uu=a.div`
|
|
2243
2244
|
display: flex;
|
|
2244
2245
|
flex: 1 1 auto;
|
|
2245
2246
|
width: fit-content;
|
|
@@ -2287,11 +2288,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2287
2288
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2288
2289
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2289
2290
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2290
|
-
${({isSticky:e})=>e?
|
|
2291
|
+
${({isSticky:e})=>e?F`
|
|
2291
2292
|
position: -webkit-sticky;
|
|
2292
2293
|
position: sticky;
|
|
2293
2294
|
top: ${s.sp0};
|
|
2294
2295
|
left: ${s.sp0};
|
|
2296
|
+
z-index: 20;
|
|
2295
2297
|
`:null}
|
|
2296
2298
|
`,Mi=a(_)`
|
|
2297
2299
|
user-select: none;
|
|
@@ -2308,7 +2310,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2308
2310
|
&:hover {
|
|
2309
2311
|
color: inherit;
|
|
2310
2312
|
}
|
|
2311
|
-
`,yu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?fu:Ni;return t.jsxs(xu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:
|
|
2313
|
+
`,yu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?fu:Ni;return t.jsxs(xu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=de(),b=W(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=l==="hidden",B=$===!0?C[6]:C[4],L=S===!0?wu:Mi,M=S===!0?wo:yo,T=S===!0?w.colors.hero:w.colors.primary;return t.jsxs(uu,{height:r,bgColor:n,"data-testid":y("pandl-report-account-group-row-root-container",i),children:[t.jsxs(pu,{"data-testid":y("pandl-report-account-group-row-container",i),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(mu,{bgColor:n,isSticky:o,windowSize:b,children:[$===!1?t.jsx(M,{color:T,style:{width:C[3],height:C[3]}}):null,t.jsx(L,{style:{marginLeft:B},children:c})]}):null,ke(e)===!0?t.jsx(gu,{children:d.map((D,K)=>t.jsx(yu,{type:e,accountGroupName:c,balance:D,isActualVsForecastOn:p,compareMode:u,collapsed:S},K))}):null]}),t.jsx(ku,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function ku({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const ju=a.div`
|
|
2312
2314
|
display: flex;
|
|
2313
2315
|
flex: 1 1 auto;
|
|
2314
2316
|
width: fit-content;
|
|
@@ -2356,11 +2358,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2356
2358
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2357
2359
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2358
2360
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2359
|
-
${({isSticky:e})=>e?
|
|
2361
|
+
${({isSticky:e})=>e?F`
|
|
2360
2362
|
position: -webkit-sticky;
|
|
2361
2363
|
position: sticky;
|
|
2362
2364
|
top: ${s.sp0};
|
|
2363
2365
|
left: ${s.sp0};
|
|
2366
|
+
z-index: 20;
|
|
2364
2367
|
`:null}
|
|
2365
2368
|
`,Pi=a(_)`
|
|
2366
2369
|
user-select: none;
|
|
@@ -2377,7 +2380,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2377
2380
|
&:hover {
|
|
2378
2381
|
color: inherit;
|
|
2379
2382
|
}
|
|
2380
|
-
`,Au=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?$u:Wi;return t.jsxs(vu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:
|
|
2383
|
+
`,Au=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?$u:Wi;return t.jsxs(vu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=W(),b=de(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=S===!0?Lu:Pi,[B,L]=V.useState(!1),M=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxs(ju,{"data-testid":y("pandl-account-group-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Su,{"data-testid":y("pandl-account-group-row-container",i),onMouseOver:()=>L(!0),onMouseLeave:()=>L(!1),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(_u,{bgColor:n,isSticky:o,windowSize:w,children:[t.jsx(ve,{showCollapsedIcon:S,showIcon:B&&k,firstLetter:M,color:I(b.colors.primary)}),t.jsx($,{children:c})]}):null,ke(e)===!0?t.jsx(Cu,{children:d.map((T,D)=>t.jsx(Au,{type:e,accountGroupName:c,balance:T,isActualVsForecastOn:p,compareMode:u,collapsed:S},D))}):null]}),t.jsx(Iu,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function Iu({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const Ou=a.div`
|
|
2381
2384
|
display: flex;
|
|
2382
2385
|
flex: 1 1 auto;
|
|
2383
2386
|
width: fit-content;
|
|
@@ -2418,7 +2421,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2418
2421
|
flex-shrink: 2;
|
|
2419
2422
|
flex-grow: 1;
|
|
2420
2423
|
align-items: center;
|
|
2421
|
-
${({containerHeight:e})=>e!=null?
|
|
2424
|
+
${({containerHeight:e})=>e!=null?F`
|
|
2422
2425
|
height: ${e-1}px;
|
|
2423
2426
|
`:null}
|
|
2424
2427
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
@@ -2429,31 +2432,33 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2429
2432
|
&:hover {
|
|
2430
2433
|
color: ${e=>e.isRowClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2431
2434
|
}
|
|
2432
|
-
${({isSticky:e})=>e?
|
|
2435
|
+
${({isSticky:e})=>e?F`
|
|
2433
2436
|
position: -webkit-sticky;
|
|
2434
2437
|
position: sticky;
|
|
2435
2438
|
top: ${s.sp0};
|
|
2436
2439
|
left: ${s.sp0};
|
|
2440
|
+
z-index: 20;
|
|
2437
2441
|
`:null}
|
|
2438
|
-
`,
|
|
2442
|
+
`,zu=a.div`
|
|
2439
2443
|
display: flex;
|
|
2440
2444
|
flex-direction: row;
|
|
2441
2445
|
flex-shrink: 2;
|
|
2442
2446
|
flex-grow: 1;
|
|
2443
2447
|
align-items: center;
|
|
2444
|
-
${({containerHeight:e})=>e!=null?
|
|
2448
|
+
${({containerHeight:e})=>e!=null?F`
|
|
2445
2449
|
height: ${e-1}px;
|
|
2446
2450
|
`:null}
|
|
2447
2451
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2448
2452
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2449
2453
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2450
|
-
${({isSticky:e})=>e?
|
|
2454
|
+
${({isSticky:e})=>e?F`
|
|
2451
2455
|
position: -webkit-sticky;
|
|
2452
2456
|
position: sticky;
|
|
2453
2457
|
top: ${s.sp0};
|
|
2454
2458
|
left: ${s.sp0};
|
|
2459
|
+
z-index: 20;
|
|
2455
2460
|
`:null}
|
|
2456
|
-
`,
|
|
2461
|
+
`,Fu=a(_)`
|
|
2457
2462
|
user-select: none;
|
|
2458
2463
|
clear: both;
|
|
2459
2464
|
display: inline-block;
|
|
@@ -2472,7 +2477,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2472
2477
|
&:hover {
|
|
2473
2478
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2474
2479
|
}
|
|
2475
|
-
`,Vu=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,onAccountBalanceClick:l,stopRowClickPropagation:c})=>{const d=r!=null&&n!=null&&l!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Wu,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(ot,{"data-testid":y("account-row-balance-actual",e),isClickable:d,onClick:p=>{c===!0&&p.stopPropagation(),d===!0&&r!=null&&n!=null&&l?.(r,n,bt(r,n))},children:q(n)}):t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:
|
|
2480
|
+
`,Vu=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,onAccountBalanceClick:l,stopRowClickPropagation:c})=>{const d=r!=null&&n!=null&&l!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Wu,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(ot,{"data-testid":y("account-row-balance-actual",e),isClickable:d,onClick:p=>{c===!0&&p.stopPropagation(),d===!0&&r!=null&&n!=null&&l?.(r,n,bt(r,n))},children:q(n)}):t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(ot,{isClickable:!1,"data-testid":y("account-row-balance-forecast",e),children:Q(n)}),t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Du({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isActualVsForecastOn:c,compareMode:d,isScrolling:p,isLeaf:u,isLastNode:g,account:h,titleIndentExtraPx:x,horizontalTreeView:f,horizontalCollapse:m,onAccountBalanceClick:w}){const b=W(),{common:{strings:{hyphen:k}}}=N.getLocalizedStrings(),v=h?.accountDescription?h.accountDescription:k,S=h!=null&&Ge(h)===!0||h?.accountName?h.accountName:v;return t.jsxs(Ou,{height:r,bgColor:n,"data-testid":y("account-row-root-container",i),children:[t.jsxs(Nu,{"data-testid":y("account-row-container",i),onClick:m!=null?()=>m.onRowClick():void 0,children:[xe(e)===!0?f!=null?t.jsx(Pu,{isSticky:o,windowSize:b,bgColor:n,containerHeight:r,isRowClickable:m!=null,isSubAccountLeaf:f.isLeaf,children:t.jsx(Fu,{title:S,children:t.jsx(pn,{classAnscestorMetadata:[],collapsed:m!=null&&!m.isOpen,depth:f.treeDepth,displayName:S,hasChildren:f.hasChildren,hasSiblings:f.hasSiblings,isLastNode:f.isLastNode,isLeaf:f.isLeaf,noMarginForAccount:!1,subAccountAnscestorMetadata:f.subAccountAncestorMetadata})})}):t.jsx(zu,{isSticky:o,windowSize:b,bgColor:n,children:t.jsx(Tu,{isClickable:!1,title:S,titleIndentExtraPx:x,children:S})}):null,ke(e)===!0?t.jsx(Mu,{children:l.map(($,B)=>t.jsx(Vu,{type:e,isActualVsForecastOn:c,compareMode:d,balance:$,account:h,stopRowClickPropagation:m!=null,onAccountBalanceClick:w==null?void 0:(L,M,T)=>{w(i,L,M,T)}},B))}):null]}),t.jsx(Eu,{isScrolling:p,type:e,isLeaf:u,isLastNode:g})]})}function Eu({isScrolling:e,isLastNode:n,type:o}){const i=n?"ac_group_row_separator":xe(o)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(je,{isScrolling:e,kind:i})}const Gu=a.div`
|
|
2476
2481
|
user-select: none;
|
|
2477
2482
|
display: flex;
|
|
2478
2483
|
flex: 1 1 auto;
|
|
@@ -2532,7 +2537,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2532
2537
|
color: ${e=>e.theme.colors.grey5};
|
|
2533
2538
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2534
2539
|
border: 1px solid ${e=>e.bgColor?.hex()};
|
|
2535
|
-
${({isSticky:e})=>e?
|
|
2540
|
+
${({isSticky:e})=>e?F`
|
|
2536
2541
|
position: -webkit-sticky;
|
|
2537
2542
|
position: sticky;
|
|
2538
2543
|
top: ${s.sp0};
|
|
@@ -2547,14 +2552,14 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2547
2552
|
flex-direction: column;
|
|
2548
2553
|
height: ${e=>e.height}px;
|
|
2549
2554
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2550
|
-
`,
|
|
2555
|
+
`,Ju=a.div`
|
|
2551
2556
|
user-select: none;
|
|
2552
2557
|
display: flex;
|
|
2553
2558
|
flex: 1 1 auto;
|
|
2554
2559
|
flex-flow: row;
|
|
2555
2560
|
justify-content: flex-start;
|
|
2556
2561
|
align-items: center;
|
|
2557
|
-
`,
|
|
2562
|
+
`,Qu=a.div`
|
|
2558
2563
|
display: flex;
|
|
2559
2564
|
flex: 1 0 auto;
|
|
2560
2565
|
flex-direction: row;
|
|
@@ -2578,11 +2583,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2578
2583
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2579
2584
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2580
2585
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2581
|
-
${({isSticky:e})=>e?
|
|
2586
|
+
${({isSticky:e})=>e?F`
|
|
2582
2587
|
position: -webkit-sticky;
|
|
2583
2588
|
position: sticky;
|
|
2584
2589
|
top: ${s.sp0};
|
|
2585
2590
|
left: ${s.sp0};
|
|
2591
|
+
z-index: 20;
|
|
2586
2592
|
`:null}
|
|
2587
2593
|
`,tp=a.div`
|
|
2588
2594
|
display: flex;
|
|
@@ -2608,7 +2614,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2608
2614
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
2609
2615
|
border-radius: ${s.sp1};
|
|
2610
2616
|
margin: 0 ${s.sp5} 0 ${s.sp3};
|
|
2611
|
-
`,ip=({metadata:e,depth:n})=>n===0?null:e.hasSibling!==!0||e.isLastNode?t.jsx(rr,{}):t.jsx(ir,{}),rp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Xu,{children:[ae(e)===!0||i?t.jsx(it,{style:{color:o},children:q(n)}):t.jsx(it,{style:{color:o},children:
|
|
2617
|
+
`,ip=({metadata:e,depth:n})=>n===0?null:e.hasSibling!==!0||e.isLastNode?t.jsx(rr,{}):t.jsx(ir,{}),rp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Xu,{children:[ae(e)===!0||i?t.jsx(it,{style:{color:o},children:q(n)}):t.jsx(it,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(it,{style:{color:o},children:Q(n)}),t.jsx(it,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function ap({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:p,compareMode:u,hasChildren:g,isScrolling:h,isOpen:x,isLeaf:f,metadata:m,showClassAccountNumber:w,onClick:b,depth:k}){const v=W(),S=!f,$=S?"pointer":"default",B=de().colors.primary,L=l.length>0?l.substr(0,1).toUpperCase():"",[M,T]=V.useState(!1),D=m.classAncestorMetadata??[];return t.jsxs(qu,{"data-testid":y("class-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Ju,{"data-testid":y("class-row-container",i),style:{cursor:$},onClick:()=>b?.(i),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),children:[xe(e)===!0?t.jsxs(ep,{isSticky:o,windowSize:v,bgColor:n,children:[t.jsx(ja,{name:l,ancestorMetadata:D,depth:k}),t.jsx(ip,{metadata:D[k],depth:k}),t.jsx(ve,{color:I(B),showCollapsedIcon:!x,showIcon:M&&S,firstLetter:L,showTreeLine:g}),t.jsx(tp,{children:t.jsx(np,{style:{color:B},children:l})}),M===!0&&w===!0&&c!==void 0&&t.jsx(op,{children:c})]}):null,ke(e)===!0?t.jsx(Qu,{children:d.map((K,X)=>t.jsx(rp,{type:e,sectionName:l,balance:K,isActualVsForecastOn:p,compareMode:u,color:B},X))}):null]}),t.jsx(lp,{isScrolling:h,isLeaf:f,isOpen:x})]})}function lp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const cp=a.div`
|
|
2612
2618
|
display: flex;
|
|
2613
2619
|
flex: 1 1 auto;
|
|
2614
2620
|
width: fit-content;
|
|
@@ -2647,11 +2653,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2647
2653
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2648
2654
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2649
2655
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2650
|
-
${({isSticky:e})=>e?
|
|
2656
|
+
${({isSticky:e})=>e?F`
|
|
2651
2657
|
position: -webkit-sticky;
|
|
2652
2658
|
position: sticky;
|
|
2653
2659
|
top: ${s.sp0};
|
|
2654
2660
|
left: ${s.sp0};
|
|
2661
|
+
z-index: 20;
|
|
2655
2662
|
`:null}
|
|
2656
2663
|
`,pp=a(_)`
|
|
2657
2664
|
user-select: none;
|
|
@@ -2663,7 +2670,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2663
2670
|
text-overflow: ellipsis;
|
|
2664
2671
|
text-align: left;
|
|
2665
2672
|
margin-left: ${s.sp2};
|
|
2666
|
-
`,gp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(hp,{children:[ae(e)===!0||i?t.jsx(rt,{style:{color:o},children:q(n)}):t.jsx(rt,{style:{color:o},children:
|
|
2673
|
+
`,gp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(hp,{children:[ae(e)===!0||i?t.jsx(rt,{style:{color:o},children:q(n)}):t.jsx(rt,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(rt,{style:{color:o},children:Q(n)}),t.jsx(rt,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Ln({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,isActualVsForecastOn:d,compareMode:p,sectionColor:u,isScrolling:g,isOpen:h,isLeaf:x,onClick:f}){const m=W(),w=!x,b=w?"pointer":"default",k=l.length>0?l.substring(0,1).toUpperCase():"",[v,S]=V.useState(!1);return t.jsxs(cp,{"data-testid":y("section-row",i),height:r,bgColor:n,children:[t.jsxs(sp,{"data-testid":y("section-row-container",i),style:{cursor:b},onClick:()=>f?.(i),onMouseOver:()=>S(!0),onMouseLeave:()=>S(!1),children:[xe(e)===!0?t.jsxs(up,{isSticky:o,windowSize:m,bgColor:n,children:[t.jsx(ve,{color:I(u),showCollapsedIcon:!h,showIcon:v&&w,firstLetter:k}),t.jsx(pp,{style:{color:u},children:l})," "]}):null,ke(e)===!0?t.jsx(dp,{children:c.map(($,B)=>t.jsx(gp,{type:e,sectionName:l,balance:$,isActualVsForecastOn:d,compareMode:p,color:u},B))}):null]}),t.jsx(xp,{isScrolling:g,isLeaf:x,isOpen:h})]})}function xp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const fp=a.div`
|
|
2667
2674
|
display: flex;
|
|
2668
2675
|
flex: 1 1 auto;
|
|
2669
2676
|
width: fit-content;
|
|
@@ -2746,18 +2753,19 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2746
2753
|
&:hover {
|
|
2747
2754
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2748
2755
|
}
|
|
2749
|
-
${({isSticky:e})=>e?
|
|
2756
|
+
${({isSticky:e})=>e?F`
|
|
2750
2757
|
position: -webkit-sticky;
|
|
2751
2758
|
position: sticky;
|
|
2752
2759
|
top: ${s.sp0};
|
|
2753
2760
|
left: ${s.sp0};
|
|
2761
|
+
z-index: 20;
|
|
2754
2762
|
`:null}
|
|
2755
2763
|
`,kp=a(_)`
|
|
2756
2764
|
user-select: none;
|
|
2757
2765
|
clear: both;
|
|
2758
2766
|
display: inline-block;
|
|
2759
2767
|
text-align: left;
|
|
2760
|
-
`,jp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,showTotal:l,reportId:c,companyId:d,companyName:p,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:h})=>{const x=n!=null&&yr(n?.type),f=r!=null&&n!=null&&h!=null&&x!==!0,m=l===!0?Lo(n):q(n),w=l===!0?Tt(n):
|
|
2768
|
+
`,jp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,showTotal:l,reportId:c,companyId:d,companyName:p,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:h})=>{const x=n!=null&&yr(n?.type),f=r!=null&&n!=null&&h!=null&&x!==!0,m=l===!0?Lo(n):q(n),w=l===!0?Tt(n):Q(n),b=l===!0?Ao(n):pe(n),k=l===!0?Bo(n):ge(n),v=nr(r?.accountId,n),S=dr({type:"details",key:c}),$=t.jsxs(yp,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(at,{"data-testid":y("account-row-balance-actual",e),isClickable:f,onClick:L=>{L.stopPropagation(),f===!0&&r!=null&&n!=null&&h?.(r,n,bt(r,n))},children:m}):t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),o?t.jsxs(t.Fragment,{children:[t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),t.jsx(at,{"data-testid":y("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?b:k})]}):null]});if(!u||v==null||!d)return $;const B=g?"forecast_report":"standard_report";return t.jsx(or,{isThreadAllowed:!0,dashboardTabKey:S,roomId:`dashboard_${d}`,companyId:d,companyName:p,entityId:v,dashboardOptionType:B,filterMetaData:{companyId:d,tab:B,entityType:`${B}.${S}`,entityId:v},children:$})},{common:{strings:{empty:Sp,plus:Cp}}}=N.getLocalizedStrings();function vp({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:p,metadata:u,isScrolling:g,noMarginForAccount:h,isLeaf:x,isOpen:f,isLastNode:m,account:w,reportId:b,onAccountBalanceClick:k,onClick:v}){const S=W(),$=en(),B=$?.currentTenant?.companyId??"",L=$?.currentTenant?.companyName??"",M=typeof b=="string"&&b.includes(Cp),{useFeatureGate:T}=Ji(),{isFeatureEnabled:D}=T(Qi.isReportsCommentingEnabled),K=D,X=w!=null?w.id.length-1:0,J=w?.hasSiblings??!1,ie=w!=null&&w.children.length!==0,he=u,le=w?.account.accountDescription?w.account.accountDescription:Sp,re=w?.account.accountName?w.account.accountName:le;return t.jsxs(fp,{"data-testid":y("sub-account-row",i),height:r,bgColor:n,children:[t.jsxs(mp,{"data-testid":y("sub-account-row-container",i),onClick:()=>v?.(i),children:[t.jsx(bp,{isClickable:ie,isSticky:o,windowSize:S,bgColor:n,containerHeight:r,children:t.jsx(kp,{title:re,children:t.jsx(pn,{displayName:re,depth:X,classDepth:l,isLastNode:m,hasChildren:ie,hasSiblings:J,isLeaf:x,collapsed:!f,subAccountAnscestorMetadata:he.subAccountAncestorMetadata,classAnscestorMetadata:he.classAncestorMetadata??[],noMarginForAccount:h})})}),ke(e)===!0?t.jsx(wp,{children:c.map((be,$e)=>t.jsx(jp,{type:e,isActualVsForecastOn:d,compareMode:p,balance:be,account:w?.account,showTotal:!f,reportId:b,companyId:B,companyName:L,isCommentingEnabled:K,isForecastReport:M,onAccountBalanceClick:k==null?void 0:(ce,ue,_e)=>{k(i,ce,ue,_e)}},$e))}):null]}),t.jsx($p,{isScrolling:g,isLeaf:x,isOpen:f,depth:X,isSticky:o,classDepth:l,noMarginForAccount:h})]})}function $p({isScrolling:e,depth:n,isOpen:o,isLeaf:i,isSticky:r,classDepth:l,noMarginForAccount:c}){return o&&i!==!0?null:t.jsx(je,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:n,isSticky:r,classDepth:l,noMarginForAccount:c}})}const _p=[10,14,20,20,20],Lp=a.div`
|
|
2761
2769
|
display: flex;
|
|
2762
2770
|
flex: 1 1 auto;
|
|
2763
2771
|
width: fit-content;
|
|
@@ -2802,11 +2810,12 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2802
2810
|
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2803
2811
|
max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
2804
2812
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2805
|
-
${({isSticky:e})=>e?
|
|
2813
|
+
${({isSticky:e})=>e?F`
|
|
2806
2814
|
position: -webkit-sticky;
|
|
2807
2815
|
position: sticky;
|
|
2808
2816
|
top: ${s.sp0};
|
|
2809
2817
|
left: ${s.sp0};
|
|
2818
|
+
z-index: 20;
|
|
2810
2819
|
`:null}
|
|
2811
2820
|
`,Mp=a(_)`
|
|
2812
2821
|
user-select: none;
|
|
@@ -2819,7 +2828,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2819
2828
|
margin-left: ${e=>_p[e.depth]}px;
|
|
2820
2829
|
color: ${e=>e.theme.colors.primary};
|
|
2821
2830
|
width: ${e=>j.titleWidth.value(e.windowSize)-80*e.depth}px;
|
|
2822
|
-
`,Wp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(Op,{"data-testid":y("sub-account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual",e),isClickable:!1,children:Lo(n)}):t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?Ao(n):Bo(n)})]}):null]});function Pp({type:e,backgroundColor:n,isSticky:o,height:i,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:p,isActualVsForecastOn:u,compareMode:g,isScrolling:h,metadata:x}){const f=W(),m=N.getLocalizedStrings().reports.sections,w=d!=null?d.id.length-1:0,b=x;return t.jsxs(Lp,{height:i,bgColor:n,children:[t.jsxs(Ap,{children:[t.jsxs(Np,{isSticky:o,windowSize:f,bgColor:n,containerHeight:i,children:[r!=null?t.jsx(No,{ancestorMetadata:b.classAncestorMetadata??[],depth:r,name:l}):p===!1?t.jsx(Bp,{windowSize:f}):null,t.jsx(Mo,{ancestorMetadata:b.subAccountAncestorMetadata,depth:w,name:l}),t.jsx(Mp,{"data-testid":y("sub-account-row-name",e),isClickable:!1,title:l,depth:w,windowSize:f,children:m.totalPrefix+" "+l})]}),ke(e)===!0?t.jsx(Ip,{children:c.map((k,v)=>t.jsx(Wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:k},v))}):null]}),t.jsx(
|
|
2831
|
+
`,Wp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(Op,{"data-testid":y("sub-account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual",e),isClickable:!1,children:Lo(n)}):t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?Ao(n):Bo(n)})]}):null]});function Pp({type:e,backgroundColor:n,isSticky:o,height:i,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:p,isActualVsForecastOn:u,compareMode:g,isScrolling:h,metadata:x}){const f=W(),m=N.getLocalizedStrings().reports.sections,w=d!=null?d.id.length-1:0,b=x;return t.jsxs(Lp,{height:i,bgColor:n,children:[t.jsxs(Ap,{children:[t.jsxs(Np,{isSticky:o,windowSize:f,bgColor:n,containerHeight:i,children:[r!=null?t.jsx(No,{ancestorMetadata:b.classAncestorMetadata??[],depth:r,name:l}):p===!1?t.jsx(Bp,{windowSize:f}):null,t.jsx(Mo,{ancestorMetadata:b.subAccountAncestorMetadata,depth:w,name:l}),t.jsx(Mp,{"data-testid":y("sub-account-row-name",e),isClickable:!1,title:l,depth:w,windowSize:f,children:m.totalPrefix+" "+l})]}),ke(e)===!0?t.jsx(Ip,{children:c.map((k,v)=>t.jsx(Wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:k},v))}):null]}),t.jsx(zp,{isScrolling:h,nestingLevel:w,isSticky:o,classDepth:r,noMarginForAccount:p})]})}function zp({isScrolling:e,nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}){return t.jsx(je,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}})}const Fp=a.div`
|
|
2823
2832
|
user-select: none;
|
|
2824
2833
|
display: flex;
|
|
2825
2834
|
flex: 1 1 auto;
|
|
@@ -2835,7 +2844,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2835
2844
|
flex: 1 0 auto;
|
|
2836
2845
|
flex-direction: row;
|
|
2837
2846
|
justify-content: flex-end;
|
|
2838
|
-
`,Re=j.balanceWidthInPx+j.balanceLeftMarginInPx,
|
|
2847
|
+
`,Re=j.balanceWidthInPx+j.balanceLeftMarginInPx,zi=a.div`
|
|
2839
2848
|
display: flex;
|
|
2840
2849
|
max-height: 54px;
|
|
2841
2850
|
min-height: 54px;
|
|
@@ -2847,7 +2856,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2847
2856
|
border-radius: ${s.sp2};
|
|
2848
2857
|
margin-left: ${e=>e.isActualVsForecastOn?C[0]:j.balanceLeftMarginInPx}px;
|
|
2849
2858
|
color: ${e=>e.theme.colors.primary};
|
|
2850
|
-
`,
|
|
2859
|
+
`,Fi=a(_)`
|
|
2851
2860
|
display: flex;
|
|
2852
2861
|
user-select: none;
|
|
2853
2862
|
flex-direction: row;
|
|
@@ -2866,7 +2875,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2866
2875
|
color: ${e=>e.theme.colors.grey5};
|
|
2867
2876
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2868
2877
|
border: 1px solid ${e=>e.bgColor?.hex()};
|
|
2869
|
-
${({isSticky:e})=>e?
|
|
2878
|
+
${({isSticky:e})=>e?F`
|
|
2870
2879
|
position: -webkit-sticky;
|
|
2871
2880
|
position: sticky;
|
|
2872
2881
|
top: ${s.sp0};
|
|
@@ -2879,7 +2888,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2879
2888
|
flex-direction: row;
|
|
2880
2889
|
justify-content: flex-start;
|
|
2881
2890
|
color: ${e=>e.theme.colors.champion};
|
|
2882
|
-
`,
|
|
2891
|
+
`,Ft=a(_)`
|
|
2883
2892
|
display: flex;
|
|
2884
2893
|
justify-content: flex-end;
|
|
2885
2894
|
align-items: center;
|
|
@@ -2916,7 +2925,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2916
2925
|
`,Kp=a.div`
|
|
2917
2926
|
max-height: 54px;
|
|
2918
2927
|
min-height: 54px;
|
|
2919
|
-
`,Ti=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=N.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:_o(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,p=Si(c,o);return t.jsx(Kp,{children:r!=null&&i!=null&&c!=null&&d!=null&&p!=null?t.jsx(ji,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:p,tagType:c}):t.jsx(Fi,{isActualVsForecastOn:!1,children:t.jsx(zi,{children:Ye(e,n,o)})})})},Yp=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,isActualVsForecastOn:i,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const p=N.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxs(Hp,{isActualVsForecastOn:i,children:[t.jsx(Fi,{isActualVsForecastOn:i,children:t.jsx(zi,{children:Ye(e,n,o)})}),t.jsxs(Dp,{isActualVsForecastOn:i,children:[t.jsx(zt,{children:p.actual}),t.jsx(zt,{children:p.forecast}),t.jsx(zt,{children:t.jsx(Cn,{title:u,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c})},Up=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=de(),p=i==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return t.jsx(Ep,{children:n.map((u,g)=>t.jsx(V.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(Rp,{children:t.jsx(Cn,{title:p,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:h=>{h!=="off"&&(h==="compare_mode_amount"||h==="compare_mode_percent"?c?.(h):console.warn("Invalid compare mode option"))}})}):t.jsx(Gp,{children:t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:u,timeframe:o,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Zp({type:e,backgroundColor:n,isSticky:o,height:i,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}){const f=W();return t.jsxs(zp,{height:i,bgColor:n,children:[xe(e)===!0?t.jsx(Vp,{isSticky:o,windowSize:f,bgColor:n,children:" . "}):null,t.jsx(Tp,{children:l===!0?t.jsx(Up,{firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}):p.map((m,w)=>t.jsx(Yp,{firstMonthOfFY:c,timeframeTick:m,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x},w))})]})}const Lt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_report"||o.element.data==null)return null;const x=o.element.data,f=Ge(x)===!0?x.horizontalTreeView:void 0,m=Ge(x)===!0&&f==null?16*Math.max(0,x.depth-2):void 0,w=te((Ke(o.config.reportId)===!0||Co(o.config.reportId)===!0?ri(0,o.config.filterAccountsWithNilBalances):ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),b=f!=null&&f.hasChildren&&h!=null?{isOpen:u,onRowClick:()=>h(e)}:void 0;return t.jsx(Du,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:w.balances,isScrolling:c,isLeaf:d,isLastNode:p,account:x,titleIndentExtraPx:m,horizontalTreeView:f,horizontalCollapse:b,onAccountBalanceClick:h==null?void 0:(k,v,S,$)=>{h?.(k,v,S,$)}})},Ue=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_subaccount"||o.element.data==null)return null;const x=o.element.data,f=Oi(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),m=x.account.classesViewParentId?.parentClassId!=null?x.account.classesViewParentId?.parentClassId.length-1:void 0,w=o.config.reportId==="operating_expenses";return t.jsx(vp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",classDepth:m,compareMode:g,accountBalances:f.balances,isScrolling:c,isLeaf:d,isOpen:p,isLastNode:u,account:x,reportId:o.config.reportId,metadata:o.element.metadata,onClick:h,noMarginForAccount:w,onAccountBalanceClick:h==null?void 0:(b,k,v,S)=>{h?.(b,k,v,S)}})},At=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_report"||o.element.data==null)return null;const x=o.element.data,f=te(ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},An=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_subaccount"||o.element.data==null)return null;const x=o.element.data,f=te(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(Bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section_with_ac_only"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},In=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Ze=(e,n,o,i,r,l,c,d,p)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=_n("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),h=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,x=Oi(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),f=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(Pp,{type:e,backgroundColor:i,isSticky:r,height:o,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:p,accountBalances:x.balances,isScrolling:l,noMarginForAccount:f,isLeaf:c,isLastNode:d,metadata:n.element.metadata,classDepth:h})},qe=(e,n,o,i,r,l,c,d)=>{if(o.element.kind!=="timeframe_headers"&&o.element.kind!=="timeframe_headers_with_forecast")return null;const p=We(o.element.data,o.config.displayOrder),u=p.length>0?p[0].balanceTimeFrame:"month",g=p.map(h=>Me(h));return t.jsx(Zp,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:i,isActualVsForecastOn:o.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:o.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:o.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:o.config.dataAvailable,bookCloseDate:o.config.bookCloseDate,onCompareModeChanged:d})},Vi=(e,n,o,i,r,l,c,d,p,u,g,h,x)=>{if(o.element.kind!="class"||o.element.data==null)return null;const f=o.element.data,m=te(f.childrenBalancesTotal,o.config.displayOrder,o.element.numOfBalances),w=g>1;return t.jsx(ap,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,className:o.element.title,classCode:o.element.data.class.accountingClassNumber,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",depth:f.id.length-1,compareMode:h,sectionBalances:m.balances,isScrolling:c,isOpen:d,isLeaf:p,hasChildren:f.children.length>0,isLastNode:u,isSubClass:w,showClassAccountNumber:o.config.showClassAccountNumber,onClick:b=>{x?.(b)},metadata:o.element.metadata})},fo=e=>{const{height:n,data:{reportElementData:o,id:i,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:p},isOpen:u,style:g,setOpen:h,isScrolling:x}=e,f=e.treeNodePadding?.left,m=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m},children:t.jsx(Di,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:o,height:n,isSticky:e.isSticky,isScrolling:x??!1,isLeaf:l,isLastNode:c,isFirstNode:p,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick==null&&l?void 0:(w,b,k,v)=>{const S=l?u:!u;!l&&k==null&&(h(!u),e.onNodeCollapseToggled?.(w,!u)),e.onNodeClick?.(w,S,b,k,v)},compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},Di=e=>e.treeKind==="name_only"?t.jsx(tg,{...e}):cn(e.reportElementData.config.reportId)?t.jsx(og,{...e}):dn(e.reportElementData.config.reportId)===!0?t.jsx(ng,{...e}):Co(e.reportElementData.config.reportId)===!0?t.jsx(qp,{...e}):an(e.reportElementData.config.reportId)===!0?t.jsx(Qp,{...e}):Ke(e.reportElementData.config.reportId)===!0?t.jsx(Jp,{...e}):ln(e.reportElementData.config.reportId)===!0?t.jsx(Xp,{...e}):wr(e.reportElementData.config.reportId)===!0?t.jsx(eg,{...e}):hn(e.reportElementData.config.reportId)===!0?t.jsx(ig,{...e}):sn(e.reportElementData.config.reportId)===!0?t.jsx(rg,{...e}):null,qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":default:return null;case"class_headers":return((m,w,b,k,v,S)=>{if(b.element.kind!=="class_headers")return null;const $=b.element.data;return t.jsx(Zu,{isSticky:S,type:w,height:k,backgroundColor:v,classColumns:$})})(0,n,o,i,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r)}},Qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":default:return null;case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x)}},Jp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return hi(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"total":return pi(e,n,o,i,r,l,h,d);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r);default:return null}},Xp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return((f,m,w,b,k,v,S,$,B,L,M)=>{if(w.element.kind!="ac_report"||w.element.data==null)return null;const T=w.element.data,D=te((Ke(w.config.reportId)===!0?ri(0,w.config.filterAccountsWithNilBalances):ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(T),w.config.displayOrder,w.element.numOfBalances);return t.jsx(Lc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountBalances:D.balances,isCompareModeOn:w.config.mode==="this_period_vs_period_before",isForecastModeOn:w.config.mode==="actual_vs_forecast",isScrolling:S,isLeaf:$,isLastNode:B,compareMode:L,account:T,onAccountBalanceClick:M==null?void 0:(K,X,Q,ie)=>{M?.(K,X,Q,ie)}})})(e,n,o,i,r,l,c,d,p,g,h);case"ac_group_report":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="ac_group_report"||w.element.data==null)return null;const D=w.element.data,K=te(ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(D),w.config.displayOrder,w.element.numOfBalances);return t.jsx(wc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountGroupName:D.accountGroupName,compareMode:M,accountGroupBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return hi(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="section_with_ac_only"||w.element.data==null)return null;const D=kn(w.config.reportId,w.element.sectionType),K=te(w.element.data,w.config.displayOrder,w.element.numOfBalances);return t.jsx(bn,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,sectionName:w.element.title,sectionColor:D.color,sectionBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,compareMode:M,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"total":return pi(e,n,o,i,r,l,g,d);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);default:return null}},eg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section_type1":return((f,m,w,b,k,v,S)=>{if(m.element.kind!="calculated_section_type1"||m.element.data==null)return null;const $=te(m.element.data,m.config.displayOrder,m.element.numOfBalances);return t.jsx(Ol,{backgroundColor:b,isSticky:k,treeNodeId:f,heading:m.element.title,totalBalances:$.balances,height:w,isScrolling:v,isLastNode:S})})(e,o,i,r,l,c,p);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);default:return null}},tg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,toggleCheckHandler:g})=>o.element.kind==="checkbox_and_name_only"?((h,x,f,m,w,b,k,v,S,$,B)=>{if(f.element.kind!="checkbox_and_name_only")return null;const L=f.element.data,M=f.config.isClassToBeFilteredOut?.(L.classId)===!1;return t.jsx(eh,{type:x,backgroundColor:w,isSticky:b,treeNodeId:h,classId:L.classId,isChecked:M,isDisabled:!1,height:m,isScrolling:k,nestedClass:L,isOpen:v,isLeaf:S,isLastNode:$,showClassAccountNumber:f.config.showClassAccountNumber,onToggleCheck:B})})(e,n,o,i,r,l,c,u,d,p,g):null,ng=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:p,onCompareModeChanged:u})=>{switch(o.element.kind){case"loading_in_progress":case"spacer_row":return((g,h,x,f)=>{if(g.element.kind!=="loading_in_progress")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(rh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);case"timeframe_headers":return((g,h,x,f,m,w)=>{if(g.element.kind!=="timeframe_headers")return null;const b=We(g.element.data,g.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(Nh,{backgroundColor:m,isSticky:x,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:g.config.mode==="this_period_vs_period_before"&&v.length>1,firstMonthOfFY:g.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,sortKey:g.config.opexByVendorConfig?.sortKey,sortOrder:g.config.opexByVendorConfig?.sortOrder,dataAvailable:g.config.dataAvailable,bookCloseDate:g.config.bookCloseDate,compareMode:f,onCompareModeChanged:w,onSortOrderChanged:g.config.opexByVendorConfig?.onSortOrderChanged})})(o,i,l,p,r,u);case"total":return((g,h,x,f,m,w,b)=>{const k=x.element.data,v=x.config.mode==="this_period_vs_period_before",S=v?x.element.numOfBalances+2:x.element.numOfBalances+1,$=Kn(k,x.config.displayOrder,S,v);return t.jsx(Hh,{type:h,backgroundColor:b,isSticky:m,treeNodeId:g,height:f,isScrolling:w,totalBalances:$.balances,title:x.element.title,isAccountColumnShown:x.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:x.config.opexByVendorConfig?.isClassColumnShown??!0})})(e,n,o,i,l,c,r);case"vendor_row":return((g,h,x,f,m,w,b)=>{if(h.element.kind!="vendor_row"||h.element.data==null)return null;const k=h.element.data,v=h.config.mode==="this_period_vs_period_before",S=Kn(k,h.config.displayOrder,h.element.numOfBalances,v);return t.jsx(cu,{backgroundColor:f,isSticky:m,height:x,isScrolling:w,vendorRowIndex:h.element.index,vendor:k.vendor,accountBase:k.account,classBase:k.classBase,isLastNode:b,balances:S.balances,isAccountColumnShown:h.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:h.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:($,B)=>{h.config.opexByVendorConfig?.onVendorNameAndBalanceClicked($,B)}})})(0,o,i,r,l,c,d);case"title_string_only":return((g,h,x,f)=>{if(g.element.kind!=="title_string_only")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(hh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);default:return null}},og=({id:e,treeKind:n,reportElementData:o,height:i,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:p,nodeClickHandler:u})=>{const{config:g}=o;switch(o.element.kind){case"spacer_row":default:return null;case"timeframe_headers":return((h,x,f,m,w,b,k)=>{if(h.element.kind!=="timeframe_headers")return null;const v=h.element.data;return t.jsx(Ea,{reportId:h.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:v,backgroundColor:f,isSticky:m,height:x,sortKey:w,sortOrder:b,onSortOrderChanged:k})})(o,i,p,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return((h,x,f,m,w)=>{const b=x.element.data;return t.jsx(al,{type:h,backgroundColor:m,isSticky:w,height:f,totalBalances:b,isIndented:x.config.reportId==="accounts_receivable_aging",title:x.element.title})})(n,o,i,p,l);case"aging_report_row":return((h,x,f,m,w,b,k,v,S,$)=>{if(x.element.kind!=="aging_report_row")return null;if(x.config.reportId==="accounts_payable_aging"){const L=x.element.data;return t.jsx(Na,{backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,height:f,balances:L.apAgingBalances,vendor:L.vendor,total:L.total,onEntityNameClick:S})}const B=x.element.data;return t.jsx(Ma,{treeNodeId:h,backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,isOpen:m,height:f,metadata:x.element.metadata,balances:B.arAgingBalances,nestedCustomer:B,total:B.total,totalWithChildren:B.totalWithChildren,onEntityNameClick:S,onClick:$})})(e,o,i,r,l,d,c,p,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return((h,x,f,m,w)=>{if(h.element.kind!=="ac_subentity_total")return null;if(h.config.reportId==="accounts_receivable_aging"){const b=h.element.data;return t.jsx(Qa,{backgroundColor:w,isScrolling:m,isSticky:f,height:x,metadata:h.element.metadata,nestedCustomer:b,total:b.totalWithChildren,noMarginForEntity:!0})}return null})(o,i,l,c,p)}},ig=({id:e,reportElementData:n,height:o,backgroundColor:i,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:p,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:h,hoveredParentIdProps:x})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return((f,m,w,b,k,v,S,$,B)=>{if(!Sn(m,"flux_vendor_account_class_row"))return null;const L=m.element.data,M=ki(L),T=m.element.metadata.vendorId;return t.jsx(Ls,{backgroundColor:w,isSticky:b,treeNodeId:f,balances:M,varianceAmount:L.varianceAmount,variancePercentage:L.variancePercentage,currency:L.currency,isScrolling:k,isLeaf:v,isLastNode:S,nodeMetadata:m.element.metadata,accountAndClass:L,onAccountAndClassBalanceClick:()=>B?.(T),isHoveredByParent:$?.hoveredParentId===T})})(e,n,i,r,l,c,d,x,g);case"flux_vendor_row":return Kd(e,n,i,r,l,u,c,d,p,x,h);case"section":return Yd(e,n,o,i,r,l,u,c,d,h);case"timeframe_headers":return((f,m,w)=>{if(f.element.kind!=="timeframe_headers")return null;const b=We(f.element.data,f.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(sd,{isSticky:w,height:m,firstMonthOfFY:f.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,isBulkSelected:f.config.fluxAnalysisConfig?.reviewOpExIds.length===20,onSortOrderChanged:(S,$)=>{f.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),f.config.fluxAnalysisConfig?.onSortOrderChanged(S,$)},sortOrder:f.config.fluxAnalysisConfig?.sortOrder,sortKey:f.config.fluxAnalysisConfig?.sortKey})})(n,o,r);case"total":return((f,m)=>{if(f.element.kind!=="total")return null;const w=f.element.data;return t.jsx(bd,{type:"name+balances_actual",title:f.element.title,totalBalances:w.balances,varianceAmount:w.varianceAmount,variancePercentage:w.variancePercentage,currency:w.currency,height:m})})(n,o);case"loading_in_progress":return(f=>f.element.kind!=="loading_in_progress"?null:t.jsx(Bs,{}))(n);case"headers_loading_in_progress":return(f=>f.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ys,{}))(n);default:return null}},rg=({reportElementData:e,height:n,isSticky:o,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return function(r,l){if(r.element.kind!=="timeframe_headers")return null;const c=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,d=r.element.data,p=d.accountIDs.length===0;return t.jsx(qr,{sectionTitle:c.section[d.sectionId].title,isLoading:p,isSticky:l,height:ct("timeframe_headers")})}(e,o);case"loading_in_progress":return t.jsx(Mr,{height:ct("loading_in_progress")});case"total":return((r,l,c)=>{const d=r.element.data;return t.jsx(ga,{isSticky:c,height:l,sectionData:d})})(e,n,o);case"section":return t.jsx(Pr,{height:ct("section")});case"title_string_only":return((r,l)=>{const c=r.element.data,d=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Xr,{height:l,title:d.section[c.sectionId].title})})(e,n);case"ac_group_report":return((r,l,c)=>{const d=r.element.data,p=r.config.accountReconciliationConfig?.selectedDrawerAccountId!=null&&d.accountReconEntity.account.accountId===r.config.accountReconciliationConfig?.selectedDrawerAccountId;return t.jsx(jr,{height:l,accountRecon:d,isLastRow:c,isSelectedRow:p,onReviewClicked:r.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:r.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:r.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:r.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:r.config.accountReconciliationConfig?.onStatementAddClicked})})(e,n,i);default:return null}};function mo(e,n,o,i){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&&Ge(r)===!0||void 0;return{data:{defaultHeight:On(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:i??l??ag(e.reportElementData.config.reportId,e.reportElementData.element.kind,o,e.reportElementData.config.reportFormat),nestingLevel:o,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:o,node:e}}function On(e,n,o){return an(e)===!0?function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":return C[8];case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":case"total":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"class_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):ln(e)===!0||Ke(e)===!0?function(i){switch(i){case"section":case"ac_group_report":case"ac_group_subaccount":case"calculated_section":case"calculated_section_type1":case"section_with_ac_only":case"title_string_only":case"total":return C[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):cn(e)?function(i){switch(i){case"timeframe_headers":return C[10];case"aging_report_row":case"ac_subentity_total":return C[6];case"total":case"spacer_row":return C[8];default:return C[0]}}(n):sn(e)?ct(n):dn(e)?function(i){switch(i){case"timeframe_headers":return C[11];case"vendor_row":case"loading_in_progress":return C[6];case"total":case"spacer_row":case"title_string_only":return C[8];default:return 0}}(n):hn(e)?wi(n,o):function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"ac_group_report":case"ac_group_subaccount":return C[8];case"calculated_section_type1":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"total":return C[6];case"title_string_only":return 67;case"timeframe_headers":return C[11];default:return C[0]}}(n)}function ag(e,n,o,i){return an(e)?function(r,l,c=0){const d=["summary"];switch(r){case"section":case"section_with_ac_only":case"title_string_only":return!d.includes(l);case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_report":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":case"class_headers":default:return!1;case"ac_group_subaccount":case"ac_subaccount":case"ac_subentity_total":return!(d.includes(l)||l==="detailed"&&c>0);case"class":return!(l==="detailed"&&c>0);case"checkbox_and_name_only":return!0}}(n,i,o):ln(e)||Ke(e)===!0?function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":return!c.includes(l);case"calculated_section":case"calculated_section_type1":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"class":case"checkbox_and_name_only":return!0}}(n,i):!!cn(e)||!dn(e)&&(hn(e)?function(r){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(r)}(n):sn(e)?kr():function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_group_subaccount":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"title_string_only":return!c.includes(l);default:return!1}}(n,i))}const lg=a.div`
|
|
2928
|
+
`,Ti=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=N.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:_o(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,p=Si(c,o);return t.jsx(Kp,{children:r!=null&&i!=null&&c!=null&&d!=null&&p!=null?t.jsx(ji,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:p,tagType:c}):t.jsx(zi,{isActualVsForecastOn:!1,children:t.jsx(Fi,{children:Ye(e,n,o)})})})},Yp=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,isActualVsForecastOn:i,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const p=N.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxs(Hp,{isActualVsForecastOn:i,children:[t.jsx(zi,{isActualVsForecastOn:i,children:t.jsx(Fi,{children:Ye(e,n,o)})}),t.jsxs(Dp,{isActualVsForecastOn:i,children:[t.jsx(Ft,{children:p.actual}),t.jsx(Ft,{children:p.forecast}),t.jsx(Ft,{children:t.jsx(Cn,{title:u,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c})},Up=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=de(),p=i==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return t.jsx(Ep,{children:n.map((u,g)=>t.jsx(V.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(Rp,{children:t.jsx(Cn,{title:p,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:h=>{h!=="off"&&(h==="compare_mode_amount"||h==="compare_mode_percent"?c?.(h):console.warn("Invalid compare mode option"))}})}):t.jsx(Gp,{children:t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:u,timeframe:o,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Zp({type:e,backgroundColor:n,isSticky:o,height:i,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}){const f=W();return t.jsxs(Fp,{height:i,bgColor:n,children:[xe(e)===!0?t.jsx(Vp,{isSticky:o,windowSize:f,bgColor:n,children:" . "}):null,t.jsx(Tp,{children:l===!0?t.jsx(Up,{firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}):p.map((m,w)=>t.jsx(Yp,{firstMonthOfFY:c,timeframeTick:m,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x},w))})]})}const Lt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_report"||o.element.data==null)return null;const x=o.element.data,f=Ge(x)===!0?x.horizontalTreeView:void 0,m=Ge(x)===!0&&f==null?16*Math.max(0,x.depth-2):void 0,w=te((Ke(o.config.reportId)===!0||Co(o.config.reportId)===!0?ri(0,o.config.filterAccountsWithNilBalances):ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),b=f!=null&&f.hasChildren&&h!=null?{isOpen:u,onRowClick:()=>h(e)}:void 0;return t.jsx(Du,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:w.balances,isScrolling:c,isLeaf:d,isLastNode:p,account:x,titleIndentExtraPx:m,horizontalTreeView:f,horizontalCollapse:b,onAccountBalanceClick:h==null?void 0:(k,v,S,$)=>{h?.(k,v,S,$)}})},Ue=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_subaccount"||o.element.data==null)return null;const x=o.element.data,f=Oi(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),m=x.account.classesViewParentId?.parentClassId!=null?x.account.classesViewParentId?.parentClassId.length-1:void 0,w=o.config.reportId==="operating_expenses";return t.jsx(vp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",classDepth:m,compareMode:g,accountBalances:f.balances,isScrolling:c,isLeaf:d,isOpen:p,isLastNode:u,account:x,reportId:o.config.reportId,metadata:o.element.metadata,onClick:h,noMarginForAccount:w,onAccountBalanceClick:h==null?void 0:(b,k,v,S)=>{h?.(b,k,v,S)}})},At=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_report"||o.element.data==null)return null;const x=o.element.data,f=te(ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},An=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_subaccount"||o.element.data==null)return null;const x=o.element.data,f=te(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(Bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section_with_ac_only"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},In=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Ze=(e,n,o,i,r,l,c,d,p)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=_n("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),h=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,x=Oi(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),f=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(Pp,{type:e,backgroundColor:i,isSticky:r,height:o,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:p,accountBalances:x.balances,isScrolling:l,noMarginForAccount:f,isLeaf:c,isLastNode:d,metadata:n.element.metadata,classDepth:h})},qe=(e,n,o,i,r,l,c,d)=>{if(o.element.kind!=="timeframe_headers"&&o.element.kind!=="timeframe_headers_with_forecast")return null;const p=We(o.element.data,o.config.displayOrder),u=p.length>0?p[0].balanceTimeFrame:"month",g=p.map(h=>Me(h));return t.jsx(Zp,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:i,isActualVsForecastOn:o.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:o.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:o.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:o.config.dataAvailable,bookCloseDate:o.config.bookCloseDate,onCompareModeChanged:d})},Vi=(e,n,o,i,r,l,c,d,p,u,g,h,x)=>{if(o.element.kind!="class"||o.element.data==null)return null;const f=o.element.data,m=te(f.childrenBalancesTotal,o.config.displayOrder,o.element.numOfBalances),w=g>1;return t.jsx(ap,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,className:o.element.title,classCode:o.element.data.class.accountingClassNumber,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",depth:f.id.length-1,compareMode:h,sectionBalances:m.balances,isScrolling:c,isOpen:d,isLeaf:p,hasChildren:f.children.length>0,isLastNode:u,isSubClass:w,showClassAccountNumber:o.config.showClassAccountNumber,onClick:b=>{x?.(b)},metadata:o.element.metadata})},fo=e=>{const{height:n,data:{reportElementData:o,id:i,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:p},isOpen:u,style:g,setOpen:h,isScrolling:x}=e,f=e.treeNodePadding?.left,m=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m},children:t.jsx(Di,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:o,height:n,isSticky:e.isSticky,isScrolling:x??!1,isLeaf:l,isLastNode:c,isFirstNode:p,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick==null&&l?void 0:(w,b,k,v)=>{const S=l?u:!u;!l&&k==null&&(h(!u),e.onNodeCollapseToggled?.(w,!u)),e.onNodeClick?.(w,S,b,k,v)},compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},Di=e=>e.treeKind==="name_only"?t.jsx(tg,{...e}):cn(e.reportElementData.config.reportId)?t.jsx(og,{...e}):dn(e.reportElementData.config.reportId)===!0?t.jsx(ng,{...e}):Co(e.reportElementData.config.reportId)===!0?t.jsx(qp,{...e}):an(e.reportElementData.config.reportId)===!0?t.jsx(Jp,{...e}):Ke(e.reportElementData.config.reportId)===!0?t.jsx(Qp,{...e}):ln(e.reportElementData.config.reportId)===!0?t.jsx(Xp,{...e}):wr(e.reportElementData.config.reportId)===!0?t.jsx(eg,{...e}):hn(e.reportElementData.config.reportId)===!0?t.jsx(ig,{...e}):sn(e.reportElementData.config.reportId)===!0?t.jsx(rg,{...e}):null,qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":default:return null;case"class_headers":return((m,w,b,k,v,S)=>{if(b.element.kind!=="class_headers")return null;const $=b.element.data;return t.jsx(Zu,{isSticky:S,type:w,height:k,backgroundColor:v,classColumns:$})})(0,n,o,i,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r)}},Jp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":default:return null;case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x)}},Qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return hi(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"total":return pi(e,n,o,i,r,l,h,d);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r);default:return null}},Xp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return((f,m,w,b,k,v,S,$,B,L,M)=>{if(w.element.kind!="ac_report"||w.element.data==null)return null;const T=w.element.data,D=te((Ke(w.config.reportId)===!0?ri(0,w.config.filterAccountsWithNilBalances):ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(T),w.config.displayOrder,w.element.numOfBalances);return t.jsx(Lc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountBalances:D.balances,isCompareModeOn:w.config.mode==="this_period_vs_period_before",isForecastModeOn:w.config.mode==="actual_vs_forecast",isScrolling:S,isLeaf:$,isLastNode:B,compareMode:L,account:T,onAccountBalanceClick:M==null?void 0:(K,X,J,ie)=>{M?.(K,X,J,ie)}})})(e,n,o,i,r,l,c,d,p,g,h);case"ac_group_report":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="ac_group_report"||w.element.data==null)return null;const D=w.element.data,K=te(ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(D),w.config.displayOrder,w.element.numOfBalances);return t.jsx(wc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountGroupName:D.accountGroupName,compareMode:M,accountGroupBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return hi(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="section_with_ac_only"||w.element.data==null)return null;const D=kn(w.config.reportId,w.element.sectionType),K=te(w.element.data,w.config.displayOrder,w.element.numOfBalances);return t.jsx(bn,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,sectionName:w.element.title,sectionColor:D.color,sectionBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,compareMode:M,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"total":return pi(e,n,o,i,r,l,g,d);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);default:return null}},eg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section_type1":return((f,m,w,b,k,v,S)=>{if(m.element.kind!="calculated_section_type1"||m.element.data==null)return null;const $=te(m.element.data,m.config.displayOrder,m.element.numOfBalances);return t.jsx(Ol,{backgroundColor:b,isSticky:k,treeNodeId:f,heading:m.element.title,totalBalances:$.balances,height:w,isScrolling:v,isLastNode:S})})(e,o,i,r,l,c,p);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);default:return null}},tg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,toggleCheckHandler:g})=>o.element.kind==="checkbox_and_name_only"?((h,x,f,m,w,b,k,v,S,$,B)=>{if(f.element.kind!="checkbox_and_name_only")return null;const L=f.element.data,M=f.config.isClassToBeFilteredOut?.(L.classId)===!1;return t.jsx(eh,{type:x,backgroundColor:w,isSticky:b,treeNodeId:h,classId:L.classId,isChecked:M,isDisabled:!1,height:m,isScrolling:k,nestedClass:L,isOpen:v,isLeaf:S,isLastNode:$,showClassAccountNumber:f.config.showClassAccountNumber,onToggleCheck:B})})(e,n,o,i,r,l,c,u,d,p,g):null,ng=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:p,onCompareModeChanged:u})=>{switch(o.element.kind){case"loading_in_progress":case"spacer_row":return((g,h,x,f)=>{if(g.element.kind!=="loading_in_progress")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(rh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);case"timeframe_headers":return((g,h,x,f,m,w)=>{if(g.element.kind!=="timeframe_headers")return null;const b=We(g.element.data,g.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(Nh,{backgroundColor:m,isSticky:x,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:g.config.mode==="this_period_vs_period_before"&&v.length>1,firstMonthOfFY:g.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,sortKey:g.config.opexByVendorConfig?.sortKey,sortOrder:g.config.opexByVendorConfig?.sortOrder,dataAvailable:g.config.dataAvailable,bookCloseDate:g.config.bookCloseDate,compareMode:f,onCompareModeChanged:w,onSortOrderChanged:g.config.opexByVendorConfig?.onSortOrderChanged})})(o,i,l,p,r,u);case"total":return((g,h,x,f,m,w,b)=>{const k=x.element.data,v=x.config.mode==="this_period_vs_period_before",S=v?x.element.numOfBalances+2:x.element.numOfBalances+1,$=Kn(k,x.config.displayOrder,S,v);return t.jsx(Hh,{type:h,backgroundColor:b,isSticky:m,treeNodeId:g,height:f,isScrolling:w,totalBalances:$.balances,title:x.element.title,isAccountColumnShown:x.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:x.config.opexByVendorConfig?.isClassColumnShown??!0})})(e,n,o,i,l,c,r);case"vendor_row":return((g,h,x,f,m,w,b)=>{if(h.element.kind!="vendor_row"||h.element.data==null)return null;const k=h.element.data,v=h.config.mode==="this_period_vs_period_before",S=Kn(k,h.config.displayOrder,h.element.numOfBalances,v);return t.jsx(cu,{backgroundColor:f,isSticky:m,height:x,isScrolling:w,vendorRowIndex:h.element.index,vendor:k.vendor,accountBase:k.account,classBase:k.classBase,isLastNode:b,balances:S.balances,isAccountColumnShown:h.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:h.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:($,B)=>{h.config.opexByVendorConfig?.onVendorNameAndBalanceClicked($,B)}})})(0,o,i,r,l,c,d);case"title_string_only":return((g,h,x,f)=>{if(g.element.kind!=="title_string_only")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(hh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);default:return null}},og=({id:e,treeKind:n,reportElementData:o,height:i,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:p,nodeClickHandler:u})=>{const{config:g}=o;switch(o.element.kind){case"spacer_row":default:return null;case"timeframe_headers":return((h,x,f,m,w,b,k)=>{if(h.element.kind!=="timeframe_headers")return null;const v=h.element.data;return t.jsx(Ea,{reportId:h.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:v,backgroundColor:f,isSticky:m,height:x,sortKey:w,sortOrder:b,onSortOrderChanged:k})})(o,i,p,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return((h,x,f,m,w)=>{const b=x.element.data;return t.jsx(al,{type:h,backgroundColor:m,isSticky:w,height:f,totalBalances:b,isIndented:x.config.reportId==="accounts_receivable_aging",title:x.element.title})})(n,o,i,p,l);case"aging_report_row":return((h,x,f,m,w,b,k,v,S,$)=>{if(x.element.kind!=="aging_report_row")return null;if(x.config.reportId==="accounts_payable_aging"){const L=x.element.data;return t.jsx(Na,{backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,height:f,balances:L.apAgingBalances,vendor:L.vendor,total:L.total,onEntityNameClick:S})}const B=x.element.data;return t.jsx(Ma,{treeNodeId:h,backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,isOpen:m,height:f,metadata:x.element.metadata,balances:B.arAgingBalances,nestedCustomer:B,total:B.total,totalWithChildren:B.totalWithChildren,onEntityNameClick:S,onClick:$})})(e,o,i,r,l,d,c,p,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return((h,x,f,m,w)=>{if(h.element.kind!=="ac_subentity_total")return null;if(h.config.reportId==="accounts_receivable_aging"){const b=h.element.data;return t.jsx(Ja,{backgroundColor:w,isScrolling:m,isSticky:f,height:x,metadata:h.element.metadata,nestedCustomer:b,total:b.totalWithChildren,noMarginForEntity:!0})}return null})(o,i,l,c,p)}},ig=({id:e,reportElementData:n,height:o,backgroundColor:i,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:p,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:h,hoveredParentIdProps:x})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return((f,m,w,b,k,v,S,$,B)=>{if(!Sn(m,"flux_vendor_account_class_row"))return null;const L=m.element.data,M=ki(L),T=m.element.metadata.vendorId;return t.jsx(Ls,{backgroundColor:w,isSticky:b,treeNodeId:f,balances:M,varianceAmount:L.varianceAmount,variancePercentage:L.variancePercentage,currency:L.currency,isScrolling:k,isLeaf:v,isLastNode:S,nodeMetadata:m.element.metadata,accountAndClass:L,onAccountAndClassBalanceClick:()=>B?.(T),isHoveredByParent:$?.hoveredParentId===T})})(e,n,i,r,l,c,d,x,g);case"flux_vendor_row":return Kd(e,n,i,r,l,u,c,d,p,x,h);case"section":return Yd(e,n,o,i,r,l,u,c,d,h);case"timeframe_headers":return((f,m,w)=>{if(f.element.kind!=="timeframe_headers")return null;const b=We(f.element.data,f.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(sd,{isSticky:w,height:m,firstMonthOfFY:f.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,isBulkSelected:f.config.fluxAnalysisConfig?.reviewOpExIds.length===20,onSortOrderChanged:(S,$)=>{f.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),f.config.fluxAnalysisConfig?.onSortOrderChanged(S,$)},sortOrder:f.config.fluxAnalysisConfig?.sortOrder,sortKey:f.config.fluxAnalysisConfig?.sortKey})})(n,o,r);case"total":return((f,m)=>{if(f.element.kind!=="total")return null;const w=f.element.data;return t.jsx(bd,{type:"name+balances_actual",title:f.element.title,totalBalances:w.balances,varianceAmount:w.varianceAmount,variancePercentage:w.variancePercentage,currency:w.currency,height:m})})(n,o);case"loading_in_progress":return(f=>f.element.kind!=="loading_in_progress"?null:t.jsx(Bs,{}))(n);case"headers_loading_in_progress":return(f=>f.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ys,{}))(n);default:return null}},rg=({reportElementData:e,height:n,isSticky:o,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return function(r,l){if(r.element.kind!=="timeframe_headers")return null;const c=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,d=r.element.data,p=d.accountIDs.length===0;return t.jsx(qr,{sectionTitle:c.section[d.sectionId].title,isLoading:p,isSticky:l,height:ct("timeframe_headers")})}(e,o);case"loading_in_progress":return t.jsx(Mr,{height:ct("loading_in_progress")});case"total":return((r,l,c)=>{const d=r.element.data;return t.jsx(ga,{isSticky:c,height:l,sectionData:d})})(e,n,o);case"section":return t.jsx(Pr,{height:ct("section")});case"title_string_only":return((r,l)=>{const c=r.element.data,d=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Xr,{height:l,title:d.section[c.sectionId].title})})(e,n);case"ac_group_report":return((r,l,c)=>{const d=r.element.data,p=r.config.accountReconciliationConfig?.selectedDrawerAccountId!=null&&d.accountReconEntity.account.accountId===r.config.accountReconciliationConfig?.selectedDrawerAccountId;return t.jsx(jr,{height:l,accountRecon:d,isLastRow:c,isSelectedRow:p,onReviewClicked:r.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:r.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:r.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:r.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:r.config.accountReconciliationConfig?.onStatementAddClicked})})(e,n,i);default:return null}};function mo(e,n,o,i){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&&Ge(r)===!0||void 0;return{data:{defaultHeight:On(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:i??l??ag(e.reportElementData.config.reportId,e.reportElementData.element.kind,o,e.reportElementData.config.reportFormat),nestingLevel:o,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:o,node:e}}function On(e,n,o){return an(e)===!0?function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":return C[8];case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":case"total":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"class_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):ln(e)===!0||Ke(e)===!0?function(i){switch(i){case"section":case"ac_group_report":case"ac_group_subaccount":case"calculated_section":case"calculated_section_type1":case"section_with_ac_only":case"title_string_only":case"total":return C[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):cn(e)?function(i){switch(i){case"timeframe_headers":return C[10];case"aging_report_row":case"ac_subentity_total":return C[6];case"total":case"spacer_row":return C[8];default:return C[0]}}(n):sn(e)?ct(n):dn(e)?function(i){switch(i){case"timeframe_headers":return C[11];case"vendor_row":case"loading_in_progress":return C[6];case"total":case"spacer_row":case"title_string_only":return C[8];default:return 0}}(n):hn(e)?wi(n,o):function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"ac_group_report":case"ac_group_subaccount":return C[8];case"calculated_section_type1":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"total":return C[6];case"title_string_only":return 67;case"timeframe_headers":return C[11];default:return C[0]}}(n)}function ag(e,n,o,i){return an(e)?function(r,l,c=0){const d=["summary"];switch(r){case"section":case"section_with_ac_only":case"title_string_only":return!d.includes(l);case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_report":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":case"class_headers":default:return!1;case"ac_group_subaccount":case"ac_subaccount":case"ac_subentity_total":return!(d.includes(l)||l==="detailed"&&c>0);case"class":return!(l==="detailed"&&c>0);case"checkbox_and_name_only":return!0}}(n,i,o):ln(e)||Ke(e)===!0?function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":return!c.includes(l);case"calculated_section":case"calculated_section_type1":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"class":case"checkbox_and_name_only":return!0}}(n,i):!!cn(e)||!dn(e)&&(hn(e)?function(r){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(r)}(n):sn(e)?kr():function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_group_subaccount":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"title_string_only":return!c.includes(l);default:return!1}}(n,i))}const lg=a.div`
|
|
2920
2929
|
top: 0;
|
|
2921
2930
|
left: 0;
|
|
2922
2931
|
position: sticky !important;
|
|
@@ -2931,7 +2940,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a
|
|
|
2931
2940
|
align-items: center;
|
|
2932
2941
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2933
2942
|
box-sizing: border-box;
|
|
2934
|
-
`;function cg({height:e,backgroundColor:n,headers:o,treeKind:i,isSticky:r,compareMode:l,onCompareModeChanged:c}){return o.length===0?null:(o.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(lg,{heightValue:e,bgColor:n,"data-testid":y("sticky-header-report-tree"),children:o.map((d,p)=>t.jsx(Di,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:On(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:o.length-1===p,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const Ei=V.createContext(void 0);function sg({height:e,kind:n,rootNodes:o,compareMode:i,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:p,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:h,variableNodeHeightTree:x,onNodeClick:f,onCompareModeChanged:m,scrollPosition:w,onScroll:b,nodeOpenStatus:k,onNodeCollapseToggled:v,onTreeInnerElementHeightChanged:S,onToggleCheck:$,hoveredParentIdProps:B}){const L=V.useRef(null),M=V.useRef(null),T=Wn(x?.prevFetchState),D=Wn(x?.prevRefreshFetchState),[K,X]=V.useState(0),
|
|
2943
|
+
`;function cg({height:e,backgroundColor:n,headers:o,treeKind:i,isSticky:r,compareMode:l,onCompareModeChanged:c}){return o.length===0?null:(o.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(lg,{heightValue:e,bgColor:n,"data-testid":y("sticky-header-report-tree"),children:o.map((d,p)=>t.jsx(Di,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:On(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:o.length-1===p,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const Ei=V.createContext(void 0);function sg({height:e,kind:n,rootNodes:o,compareMode:i,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:p,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:h,variableNodeHeightTree:x,onNodeClick:f,onCompareModeChanged:m,scrollPosition:w,onScroll:b,nodeOpenStatus:k,onNodeCollapseToggled:v,onTreeInnerElementHeightChanged:S,onToggleCheck:$,hoveredParentIdProps:B}){const L=V.useRef(null),M=V.useRef(null),T=Wn(x?.prevFetchState),D=Wn(x?.prevRefreshFetchState),[K,X]=V.useState(0),J=g??M,ie=u??L,he=W(),[le,re]=V.useState(void 0),[be,$e]=V.useState(!1),[ce,ue]=V.useState(k),_e=(z,U)=>{ue(Object.assign({},ce,{[z]:U})),v?.(z,U)},Nn=z=>{if(o.contentNodes.length>0)if(Object.keys(z).length>0){const U={};Object.keys(z).forEach(fe=>{U[fe]={open:z[fe]}}),ie?.current?.recomputeTree(U)}else{const U=o.contentNodes[0].id;ie?.current?.recomputeTree({[U]:{open:!0}})}};V.useLayoutEffect(()=>{if((!Pn(w,le)||le==null)&&J.current!=null){const z=w?.scrollLeft==null?he==="small"?0:J.current.scrollWidth:w?.scrollLeft;if(w!=null){const U={scrollTop:w.scrollTop,scrollLeft:z};re(U),z!==w?.scrollLeft&&b?.(U)}J.current.scroll({left:z,top:w?.scrollTop})}},[w]),V.useEffect(()=>{Pn(k,ce)||(ue(k),Nn(k))},[k]),V.useEffect(()=>{const z=J.current,U=Ui(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const fe={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};re(fe),b?.(fe)}},50);return z?.addEventListener("scroll",U),()=>{z?.removeEventListener("scroll",U)}},[J,le,b]),V.useEffect(()=>{if(o.contentNodes.length>0){Nn(ce);const z=o.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==be&&$e(z)}},[be,$e,o,ie,J]),V.useEffect(()=>{(x!=null&&T==="In-Progress"&&x.fetchState==="Completed"&&x.isSortApplied||x!=null&&D==="In-Progress"&&x.refreshFetchState==="Completed")&&(x.reducedFetchState==="Completed"&&x.setIsSortApplied(!1),X(K+1))},[K,x?.fetchState,x?.isSortApplied,T,D,x]);const It=V.useRef(),[Gi,Ri]=V.useState(void 0),Mn=V.useCallback(((z,U,fe)=>function*(){for(let we=0;we<U.length;++we)yield mo(U[we],z,0,fe[U[we].id]??void 0);for(;;){const we=yield;for(let Je=0;Je<we.node.children.length;++Je)yield mo(we.node.children[Je],z,we.nestingLevel+1,fe[we.node.children[Je].id]??void 0)}})(n,o.contentNodes,ce),[n,o]),Hi={rootNodes:o,treeNodePadding:c,backgroundColor:l,kind:n,isSticky:r,compareMode:i,onCompareModeChanged:m};return t.jsx(Ei.Provider,{value:Hi,"data-testid":y("report-tree"),children:h==null?t.jsx(zn,{className:d,style:p,ref:ie,innerRef:It,outerRef:J,innerElementType:Zt,treeWalker:Mn,onItemsRendered:()=>{const z=It.current;z!=null&&z.clientHeight>0&&z.clientHeight!=Gi&&(Ri(z.clientHeight),S?.(z.clientHeight))},height:e,width:"100%",children:z=>t.jsx(fo,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$})}):t.jsx(Zi,{isItemLoaded:h.isItemLoaded,itemCount:h.itemCount+1,loadMoreItems:h.loadMoreItems,children:({onItemsRendered:z,ref:U})=>t.jsx(zn,{className:d,style:p,ref:U,innerRef:It,outerRef:J,innerElementType:Zt,treeWalker:Mn,onItemsRendered:z,height:e,width:"100%",children:fe=>t.jsx(fo,{...fe,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$,hoveredParentIdProps:B})},K)})})}const Zt=V.forwardRef((e,n)=>{const{children:o,style:i,...r}=e,{rootNodes:l,treeNodePadding:c,backgroundColor:d,kind:p,isSticky:u,compareMode:g,onCompareModeChanged:h}=V.useContext(Ei),x=l.headerNodes.reduce((b,k)=>b+On(k.reportElementData.config.reportId,k.reportElementData.element.kind,k.isFirstNode),0),f=c?.left,m=c?.right,w=s.sp8;return t.jsxs("div",{ref:n,style:{...i,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m,marginBottom:w},...r,children:[t.jsx(cg,{height:x,backgroundColor:d,headers:l.headerNodes,treeKind:p,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:h}),o]})});Zt.displayName="stickyInnerElementType";const dg=a.div`
|
|
2935
2944
|
display: flex;
|
|
2936
2945
|
flex: 1 0 auto;
|
|
2937
2946
|
width: ${e=>e.width}px;
|