@zeniai/web-cockpit-ui 1.13.87-qa → 1.13.88-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-CW8vDdF5-CB90wsmr.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
- package/dist/assets/{AIPerformancePage-tSqRY12b-tNOiZGci.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
- package/dist/assets/{AccountInfoPage-C9rcnhgb-Bt9MjsHp.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DftJxUep-ButkkA5-.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-tlx5xCRW.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
- package/dist/assets/{AccountRow-cQU8OX0K-BBK1UMsW.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-CNfBFeFD.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-D4edy26A-e-F2C-zj.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
- package/dist/assets/{AddToWalletPage-Lkfz2CzH-DcYM0qVc.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
- package/dist/assets/{AgingReportsPage-DtW2tU4n-DkXoH2pY.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
- package/dist/assets/{AllUserItems-DcuO9Oho-DDFEui6F.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-D2UVTYqP-BcSUwDzr.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
- package/dist/assets/{AppBasePage-iuomCofd-Bxi0l-Aj.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
- package/dist/assets/{AppDrawerContent-BfpdXsfY-BuDkKpJQ.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-CFjzXJN0.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
- package/dist/assets/{ArAgingChart--GzyqIlN-DqhBhlO7.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
- package/dist/assets/{ArAgingDetailPage-A0zmG_tR-DDPVHIgN.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
- package/dist/assets/{AttachmentView-D203zhS3-xLK_ead9.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
- package/dist/assets/{BankAccountSection-iz2k4H5K-CmQw-qqR.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BdlwzT2G.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C57CQz8T.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
- package/dist/assets/{BillDetailPage-BJbdAC5y-BRmRjS1t.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-AEPzGGmW.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-CgrWnjdA.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
- package/dist/assets/{BillPayPromoPage-DZn9Wdsi-DdmjMVny.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-BGxI3SGy-DG6mHxGC.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
- package/dist/assets/{BillingSettingsPage-B3h6dTYD-CjqQwGO7.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
- package/dist/assets/{BoxItem-C-RN4c2j-bhmEIuEY.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BEK8kZil-5C7hCzBt.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
- package/dist/assets/{CardNumberSubText-Bvs0Rr9x-BVW8Jq-r.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-9aAW-23b-fVZRzgKq.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-BQfT_X3n.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
- package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
- package/dist/assets/{ChargeCardListTable-jGT-e74M-Bfo2xdKo.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
- package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-BIe6etx3.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-p0UdCCCX.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-C-37hd5J-BewU7KRU.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
- package/dist/assets/{ChaseOverlay-BG833ttH-PaGVRTWF.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-DVC1uVGK.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
- package/dist/assets/{CollapsableReportTable-CtS-s84B-xyO0T-AR.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-CbhKmd4Y.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
- package/dist/assets/{CompanyPassportCard-n-awcw82-Bb4eo7Hj.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
- package/dist/assets/{CompanyPassportPage-WfbfWOs1-DXnLKQUM.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
- package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
- package/dist/assets/{ConfettiBurst-UJtKVS38-DoQ2-0_a.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-Cs-PsPQz.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
- package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-CpO5DLfk.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-D8blJ_Gx.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
- package/dist/assets/{CurrencySelectField-DGID-Pjb-CR93FCkZ.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-BR-Us5Rj.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-Db0A3eib.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-D9dxAH00.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DVVWivk2-BKVrB-wE.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-BCFkx71h.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
- package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
- package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
- package/dist/assets/{DepositAccTransactionItem--OdW7LRx-DQO2v30s.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-D59wO-Pg.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-Bg7h7TYo.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-XHJJeAMf.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
- package/dist/assets/{DownloadOverlay-VDEpvzHH-5AMSntFu.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
- package/dist/assets/{DrawerPage-BauCSJ4q-SOaiaCNZ.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
- package/dist/assets/{EditPeoplePage-mz7FTion-Bp4oBpAG.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
- package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-BS7xPVWZ.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bc2AVCEp-EAKy23II.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
- package/dist/assets/{EntitySummarySection-CDO6K9RG-m9Xb7D9G.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-D48fksxu.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-A03nzEV--JwDlhRhG.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
- package/dist/assets/{ExpressPayPage-B5QCvPtb-Ceuw1nSf.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-Czr4aIad-ClnwSMd5.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf1g5oOj-pTuhRnC4.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BI8uyXfO-BqBR8N9Y.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
- package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
- package/dist/assets/{InformationCardStack-WnJWUp5O-BdrN9-Nm.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
- package/dist/assets/{InsightsCardStack-CRA0RPsW-DEulUvm7.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
- package/dist/assets/{InsightsSection-DvcmBPbo-I8txt4Ed.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-BzX1klF8.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DiWzN9fj.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-fcjYXfBh.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
- package/dist/assets/{InviteFormPage-Zy3qQng6-Dzi4wjiJ.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
- package/dist/assets/{InvitePageListView-gATEAhxa-1750k_N1.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
- package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CTbnx9F4-BKwFvytL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-BwBDVxeq-DMBVrvy7.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
- package/dist/assets/{LabeledAddressValue-C5YXOhcz-B9O8J_oa.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CMIVYcKX-DwmLf5XR.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-qU3T6bE6.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-ByyQPs9e.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
- package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-Rd0UWPPQ.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
- package/dist/assets/{LabeledText-DaM1ChQF-BJDKUk91.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-Ca9Srd9k.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-DMlhbb58.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-u030v8sX.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
- package/dist/assets/{LowBalancePopup-ZfmTgr7J-CyqdgmTs.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-B-zDRQ1s.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-rl_ai-7x.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-BkWB4ski.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-Dn9-_Ceq.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-dFBURNKh.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BV_-2RQM-BISYNWKn.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BXlKsIPR.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
- package/dist/assets/{Menu-Dhi3mAAc-oy5nVsxE.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-DyCsxMiu.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-BAgms1T4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-3Kvtm4mm.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
- package/dist/assets/{NavBarWithPicker-BF7k45-H-BD-4z31h.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
- package/dist/assets/{NavigationArrow-DKuw9kCL-DcXiDSNd.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
- package/dist/assets/{NavigationDots-DfJQIsra-B4-lC62v.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-aj__e3zn.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
- package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
- package/dist/assets/{NoDataTable-Txtz3a1x-B4acGol_.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
- package/dist/assets/{NotFoundPage-DewJikvf-Dwa043Sn.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-Do-ef_2Q.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
- package/dist/assets/{NotificationsListConfig-B6PteXf7-BIkdPhzT.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
- package/dist/assets/{NotificationsPage-CqmgbRYI-swH0XU-z.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
- package/dist/assets/{OpExByVendorPage-CYAYFvCM-Bf-NUPQ3.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BQMRdhd_.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-v5t7YeHA-CmFZsOpi.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-B8AttqeR.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
- package/dist/assets/{PeoplePage-D89yZGJn-SKC3xcjg.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
- package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-DRnypnlm.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
- package/dist/assets/{PortfolioDetails-B1HXVeH2-JS5mwQ6d.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
- package/dist/assets/{ProductsCarousel-BeOYePu1-BLn0kA4L.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
- package/dist/assets/{PromoBaseCards-D1DDp9C1-CtSgxD8-.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-nb_5mvqp-Dx2zeGQJ.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
- package/dist/assets/{QBOSetupSection-b-OrlvdU-J1tSF69q.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-Bs8ULMyB.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-C7_-SNFA.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
- package/dist/assets/{ReimbursementDetailPage-DHsqq__V-CW4x7gsh.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
- package/dist/assets/{ReimbursementPromoPage-D-wmyfH--BXOukruh.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-BLaPlx-E.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy--FdRStrz.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
- package/dist/assets/{ReloadCard-D72dkm5s-pruy4X0y.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
- package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
- package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
- package/dist/assets/{RevenueChart-G7w1_QXE-4uA5c1Xh.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-Bi36BJrO.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
- package/dist/assets/{ReviewOverlay-D0tbkcpk-D67sCtmU.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
- package/dist/assets/{RoleWithToolTip-w2s9tX9j-BuSHjydh.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-DKHty5Ss.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Cx_O7EWQ.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-CDkEPkjI.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
- package/dist/assets/{ScreenRoutes-B09FfdGa.js → ScreenRoutes-BiNVsQKa.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CuOJZCNp-pnGbYCVV.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
- package/dist/assets/{SetUpDefaultSection-D0d0yzu8-Bvz7vZrr.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
- package/dist/assets/{SignIn-CtZ8rTB_-Dmn8P3hR.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
- package/dist/assets/{SignInScreen-CTyOdckZ.js → SignInScreen-BJO_D-wG.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-Cvxx50BK.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-KDLKiIU6.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
- package/dist/assets/{SpendManagementSection-B1F6rl-n-r-gQss8s.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-Blkz3omT.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
- package/dist/assets/{StatementItem-CK2sUgkE-CV2yMx9D.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
- package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
- package/dist/assets/{StatusSwitcher-BppDI7-7-D5wYUblP.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DTe2L8JC-DqmpaA37.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
- package/dist/assets/{SummaryCard-B-_3DnqQ-bNOEfr4c.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
- package/dist/assets/{TaskManagementPage-NFVqhs6K-DHzf2Ob9.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-CyiIexM1.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CQ37qP58-BR2uPjpg.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-D7Uat0Z2.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
- package/dist/assets/{TopExCard-CU-kbyDP-DpFe18S5.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
- package/dist/assets/{TopExDetailPage-COxNovqU-BNoHxwIV.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
- package/dist/assets/{TransactionDetailPage-k06RliU--DRDMDhs2.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
- package/dist/assets/{TransactionList-CuRdM1xm-BxrzhpwN.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
- package/dist/assets/{TransactionListBig-ByLaQQUK-Cbobr9Mu.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
- package/dist/assets/{TransactionListPage-ioT-Jexm-DvAtPQvQ.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-llCQwJ83.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B6zOVR7E-T5_goh6O.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
- package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-BixeOVer.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-iNiwYAiH-D38CXmN0.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-6BMxYLJY.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-C2MGmDDx.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DTC-Ozh-.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DA35yu7V.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
- package/dist/assets/{TrendChart-BXOatw0x-DWANUBOO.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BxoyLfjd-BzgPdMBE.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CIUAowc3.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-Clt-99RU--2bMpJpJ.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-BVVTySSY.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DjHQdB-O-DwQ3MUMw.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-Qw97wjnm.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
- package/dist/assets/{VendorDetailPage-BeADTlAW-t4AIOnaP.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-Bn05lHNP.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-3eLtd7Wp.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-C39w7xpJ.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
- package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-B_UIm63i.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CBhBTsHL.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CLrfBouK-CJ-SFhFR.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-CNpM2hV4.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-D5iu_To5.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
- package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-DDWNWU5S.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-CAuA9AB8.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-FIauIEMl.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-BHMr828J-s14Ot8pw.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B_2DB9mm-Iu5ZYmr5.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-BRZo4rWq.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
- package/dist/assets/{analyticsHelper-mkCbekyx.js → analyticsHelper-Bfbjyikr.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8Vo_J_-Dz70yD0Z.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
- package/dist/assets/{chartTypes-DpnOYtNo-B5aKSihc.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
- package/dist/assets/{commonDimensions-D2zuat_O-_HAURWTX.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
- package/dist/assets/{detailCommon-CloEmsTm-DPRCEjHN.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
- package/dist/assets/{downloadPdf-OWaFOL1J-1Uf6CtV1.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
- package/dist/assets/{index-BPBiFjSz.js → index-CvH632ro.js} +2991 -3029
- package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-BbzFMVUs.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-hONNtf60.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-lw0HLFsb.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CrVRO0eE.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
- package/dist/assets/{play-icon-NE4JTPpx-g-DRHCM4.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DN21aiLH-BF_wyRtn.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
- package/dist/assets/{toChartData-CG9GudeA-BhlsMGvX.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CNX5IuXX-D3P3dfsj.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
- package/dist/assets/{uploadAttachment-D42oX05_-B8NoiuTW.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
- package/dist/assets/{uploadReceipts-Buvz7DfG-BvrCCUv7.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-Muwqz4V9.js +0 -1
- package/dist/assets/ChargeCardListPage-DzmHmoAp-DkDCof5G.js +0 -355
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Bwf33b5s.js +0 -219
- package/dist/assets/CompleteProfile-D80JYwPP-BeltN21o.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-CPShfQl0.js +0 -1
- package/dist/assets/Dashboard-B-fLAQ8T-Dd2qG3Mu.js +0 -1253
- package/dist/assets/DashboardReportPage--SAxmUu_-BTOL1yPy.js +0 -349
- package/dist/assets/HelpButton-CWPUP9Y_-CSln-b4P.js +0 -28
- package/dist/assets/InvitePeoplePage-DkRbCpN7-CQ2Yf4e7.js +0 -12
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-DioMBjOT.js +0 -41
- package/dist/assets/NoDataChart-BHIoW_SW-CVC9oSAH.js +0 -26
- package/dist/assets/ReportTableViewSelector-DfZ5geuW-WxWsI3EO.js +0 -133
- package/dist/assets/ReportsPage-7E3Q5HHF-CAVn2aMT.js +0 -120
- package/dist/assets/StatementsPage-D25LsJRp-js6eUI8q.js +0 -58
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,ao as an,Y as m,be as fe,_ as U,dh as ln,o as s,g as ee,a5 as lo,X as N,H as co,A as cn,di as so,dj as sn,l as A,M as O,p as w,dk as zo,dl as Lt,ab as _,dm as At,bz as Bt,dn as Ot,C as D,cs as Mt,y as Po,T as qe,dp as To,bg as X,e as dn,u as se,ak as Vo,dq as Do,ac as V,r as Le,dr as hn,ds as ce,by as Wt,bC as ho,w as un,m as we,dt as Je,du as Ae,dv as Xe,s as S,ah as ie,dw as pn,v as Nt,dx as Ve,dy as uo,dz as po,dA as gn,dB as fn,as as Ro,ap as xn,bY as It,bX as Ft,d0 as mn,aq as Go,b$ as Eo,bm as wn,dC as yn,dD as go,dE as fo,dF as bn,dG as kn,bt as Cn,b5 as jn,dH as Sn}from"./index-CvH632ro.js";import{n as a,b as I,f as vn,j as F}from"./vendor-CnQcJ2Lu.js";import{L as et,N as $n,D as _n,B as ye,u as $}from"./AccountRow-B4i2KTVu-DZIGknQG.js";function Z(e,o){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function J(e){return U("0,0",e?.forecast)}function Ho(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function xt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const o=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(o*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const o=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:o}))}else return U("0,0",null)}function Ko(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const o=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(o*100)/100)}else return fe("0.00%",void 0)}function Yo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const o=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:o}))}else return U("0,0",null)}const We=(e,o,i)=>{const{startDate:n,balanceType:r}=o,{dateFormat:{visual:l}}=O.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(n,l.MMMYYYYFormat,e)}`:ht(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${O.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(n,l.QYYYYformat,e)}`:ht(r,i);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(n,l.YYYYformat,e)}`:ht(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ht(e,o){return O.getLocalizedStrings().downloadReport.additionalColumns.labels[o][e]}const Mp=(e,o,i)=>{const n=o.length==0?e:`${e}_${o.join("_")}`;return i!=null&&i.trim().length>0?`${n}_${i}`:`${n}_${ln(10)}`},Ln=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -118,14 +118,14 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
118
118
|
`,Jn=a.div`
|
|
119
119
|
width: ${$.clearedBalanceWidth}px;
|
|
120
120
|
margin-right: ${$.tickLeftMargin}px;
|
|
121
|
-
`,
|
|
121
|
+
`,Qn=a.div`
|
|
122
122
|
width: ${$.varianceTimeframeWidth}px;
|
|
123
123
|
align-self: flex-end;
|
|
124
|
-
`,
|
|
124
|
+
`,Xn=a.div`
|
|
125
125
|
width: ${$.spacerLineWidth}px;
|
|
126
126
|
`,er=a.div`
|
|
127
127
|
width: ${$.statusWidth}px;
|
|
128
|
-
`,De=({title:e,type:o})=>t.jsx(Un,{widthValue:$[o],children:t.jsx(Yn,{children:e})});function tr({sectionTitle:e,height:o,isLoading:i}){const n=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Rn,{height:o,children:t.jsxs(Gn,{children:[t.jsx(En,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp4,width:$.leftLabelWidth},children:t.jsx(Kn,{children:e})})}),t.jsxs(Hn,{children:[t.jsx(Zn,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(qn,{}),t.jsx(Jn,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(
|
|
128
|
+
`,De=({title:e,type:o})=>t.jsx(Un,{widthValue:$[o],children:t.jsx(Yn,{children:e})});function tr({sectionTitle:e,height:o,isLoading:i}){const n=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Rn,{height:o,children:t.jsxs(Gn,{children:[t.jsx(En,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp4,width:$.leftLabelWidth},children:t.jsx(Kn,{children:e})})}),t.jsxs(Hn,{children:[t.jsx(Zn,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(qn,{}),t.jsx(Jn,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(Qn,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.varianceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Xn,{}),t.jsx(er,{children:t.jsx(ce,{isLoading:i,customStyle:{height:s.sp7,width:$.statusTimeframeWidth,borderRadius:s.sp2},children:t.jsx(De,{title:n.status,type:"statusTimeframeWidth"})})})]})]})})}const or=a.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
height: ${e=>e.heightValue}px;
|
|
@@ -221,7 +221,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
221
221
|
color: ${e=>e.textColor.hex()};
|
|
222
222
|
background-color: ${e=>e.bgColor.hex()};
|
|
223
223
|
min-width: ${$.variancePercentageWidth}px;
|
|
224
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:xo}}},common:{strings:{percentage:wr,hyphen:
|
|
224
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:xo}}},common:{strings:{percentage:wr,hyphen:Qe}}}=O.getLocalizedStrings();function yr({height:e,sectionData:o}){const i=N(),n=o.totalVariance,r=o.totalVariancePercentage,l=se();return t.jsx(rr,{"data-testid":m("total-row-root-container"),heightValue:e,windowSize:i,children:t.jsxs(ar,{isClickable:!1,"data-testid":m("total-row-container"),children:[t.jsxs(lr,{children:[t.jsx(ye,{firstLetter:xo.section[o.sectionId].subTitle.charAt(0),color:new _(l.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsx(cr,{children:xo.section[o.sectionId].subTitle})]}),t.jsxs(sr,{children:[t.jsx(dr,{children:o.totalBankBalance!=null?U("0,0",o.totalBankBalance):Qe}),t.jsx(hr,{children:o.totalClearedBalance!=null?U("0,0",o.totalClearedBalance):Qe}),t.jsx(br,{variance:n,variancePercentage:r}),t.jsx(pr,{children:t.jsx(gr,{heightValue:e})}),t.jsx(ur,{})]})]})})}const br=({variance:e,variancePercentage:o})=>{const i=se(),n=new _(i.colors.hero),r=new _(i.colors.hero),l=new _(i.colors.background),c=e!=null&&e.amount===0?"0%":o!=null?o===0?"0%":`${o.toFixed(2)}${wr}`:Qe;return t.jsxs(fr,{children:[t.jsx(xr,{textColor:n,children:e!=null?U("0,0",e):Qe}),t.jsx(mr,{textColor:r,bgColor:l,children:c})]})};function kr(){return t.jsx(Dn,{height:et("section")})}function Cr(){return t.jsx(Tn,{height:et("loading_in_progress")})}function jr(e,o){if(e.element.kind!=="timeframe_headers")return null;const i=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,n=e.element.data,r=n.accountIDs.length===0;return t.jsx(tr,{sectionTitle:i.section[n.sectionId].title,isLoading:r,isSticky:o,height:et("timeframe_headers")})}const Sr=(e,o,i)=>{const n=e.element.data;return t.jsx(yr,{isSticky:i,height:o,sectionData:n})},vr=(e,o)=>{const i=e.element.data,n=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(nr,{height:o,title:n.section[i.sectionId].title})},$r=(e,o,i)=>{const n=e.element.data,r=e.config.accountReconciliationConfig?.selectedDrawerAccountId!=null?n.accountReconEntity.account.accountId===e.config.accountReconciliationConfig?.selectedDrawerAccountId:!1;return t.jsx(_n,{height:o,accountRecon:n,isLastRow:i,isSelectedRow:r,onReviewClicked:e.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:e.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:e.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:e.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:e.config.accountReconciliationConfig?.onStatementAddClicked})},C={balanceHeight:s.sp4,balanceWidth:"166px",balanceWidthInPx:166,balanceLeftMargin:s.sp4,balanceLeftMarginInPx:w[4],titleWidth:new D(200,325,405)};function _r(e){switch(e){case"section":return w[8];case"section_with_ac_only":return w[8];case"calculated_section":case"calculated_section_type1":return w[8];case"ac_group_report":case"ac_group_subaccount":return w[6];case"ac_subentity_total":case"ac_subaccount":case"ac_report":return w[6];case"title_string_only":case"total":return w[6];case"timeframe_headers":return w[11];case"timeframe_headers_with_forecast":return 98;case"class":case"checkbox_and_name_only":return w[6];default:return 0}}function Lr(e,o,i=0){const n=["summary"];switch(e){case"section":return!n.includes(o);case"section_with_ac_only":return!n.includes(o);case"calculated_section":case"calculated_section_type1":return!1;case"ac_group_report":return!1;case"ac_group_subaccount":return!(n.includes(o)||o==="detailed"&&i>0);case"ac_report":return!1;case"ac_subaccount":case"ac_subentity_total":return!(n.includes(o)||o==="detailed"&&i>0);case"title_string_only":return!n.includes(o);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":return!(o==="detailed"&&i>0);case"checkbox_and_name_only":return!0;default:return!1}}const ge=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!0}},xe=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!1}},Uo={emptyLeftContainer:new D(w[0],w[5])},Ar=a(S)`
|
|
225
225
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?s.sp3:s.sp2};
|
|
226
226
|
overflow: hidden;
|
|
227
227
|
white-space: nowrap;
|
|
@@ -249,7 +249,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
249
249
|
height: ${s.sp1};
|
|
250
250
|
`,Be=a.div`
|
|
251
251
|
display: flex;
|
|
252
|
-
`,Ir=({ancestorMetadata:e,depth:o,name:i})=>t.jsx(t.Fragment,{children:o>0?[...Array(o).keys()].map(n=>{const r=e[n];return t.jsxs(Be,{children:[r.depth===0?t.jsx(po,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ae,{},n):t.jsx(
|
|
252
|
+
`,Ir=({ancestorMetadata:e,depth:o,name:i})=>t.jsx(t.Fragment,{children:o>0?[...Array(o).keys()].map(n=>{const r=e[n];return t.jsxs(Be,{children:[r.depth===0?t.jsx(po,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ae,{},n):t.jsx(Xe,{}):null,r.depth>=1?t.jsx(po,{depth:r.depth}):null]},i+n)}):null}),qo=({ancestorMetadata:e,depth:o,name:i})=>{const n=N();return o===0?e[o].hasChildren===!1?t.jsx(Zo,{windowSize:n}):t.jsxs(Be,{children:[t.jsx(Ve,{depth:o}),t.jsx(Ae,{}),t.jsx(Ve,{depth:o+1})]}):t.jsxs(t.Fragment,{children:[[...Array(o+1).keys()].map(r=>{const l=e[r],c=r!==o?e[r+1]:void 0;return t.jsxs(Be,{children:[l.depth===0?t.jsx(Ve,{depth:l.depth}):null,r>=2||r===1&&(o===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?o===1?t.jsx(uo,{index:1}):t.jsx(uo,{index:2}):null,(o===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?t.jsx(Ae,{},r):t.jsx(Xe,{}),t.jsx(Ve,{depth:l.depth+1})]},i+r)}),o===1&&e[o].hasChildren!=!0?t.jsx(Nr,{}):null]})},Jo=({ancestorMetadata:e,depth:o,name:i})=>o===0?t.jsx(Wr,{}):t.jsx(t.Fragment,{children:[...Array(o).keys()].map(n=>{const r=e[n],l=n!==o?e[n+1]:void 0;return t.jsxs(Be,{children:[r.depth===0?t.jsx(Je,{depth:r.depth}):null,l!=null&&!l.isLastNode?t.jsx(Ae,{},n):t.jsx(Xe,{}),t.jsx(Je,{depth:r.depth+1})]},i+n)})}),Fr=({ancestorMetadata:e,depth:o,name:i})=>t.jsx(t.Fragment,{children:o>0?[...Array(o).keys()].map(n=>{const r=e[n];return r==null?null:t.jsxs(Be,{children:[r.depth===0?t.jsx(Je,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ae,{},n):t.jsx(Xe,{}):null,r.depth>=1?t.jsx(Je,{depth:r.depth}):null]},i+n)}):null}),zr=({depth:e,isLastNode:o,isLeaf:i,hasSiblings:n,hasChildren:r,collapsed:l,onIconClick:c})=>{let d=t.jsx(Mr,{});return e===0&&r&&(d=t.jsx(yn,{collapsed:l,onIconClick:c})),e>0&&(r&&!n&&o&&(d=t.jsx(go,{collapsed:l,onIconClick:c})),i&&n&&o&&(d=t.jsx(fo,{})),i&&n&&!o&&(d=t.jsx(bn,{})),r&&n&&!o&&(d=t.jsx(kn,{collapsed:l,onIconClick:c})),r&&n&&o&&(d=t.jsx(go,{collapsed:l,onIconClick:c})),o&&i&&(d=t.jsx(fo,{}))),d},Pr=({depth:e,isLastNode:o,isLeaf:i,hasSiblings:n,hasChildren:r,collapsed:l,onIconClick:c})=>t.jsx(Or,{children:t.jsx(zr,{depth:e,isLastNode:o,isLeaf:i,hasSiblings:n,hasChildren:r,collapsed:l,onIconClick:c})});function Qo(e){const{displayName:o}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const i=N();return t.jsxs(Br,{children:[e.classDepth!=null?t.jsx(qo,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Zo,{windowSize:i}):null,t.jsx(Fr,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(Pr,{...e}),t.jsx(Ar,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:i,title:o,children:o})]})}const E={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new D(200,325,405),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function Tr(e){switch(e){case"timeframe_headers":return w[10];case"aging_report_row":return w[6];case"ac_subentity_total":return w[6];case"total":return w[8];case"spacer_row":return w[8];default:return w[0]}}function Vr(){return!0}const Re=[new D(w[4],w[8]),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],Dr=a.div`
|
|
253
253
|
display: flex;
|
|
254
254
|
flex: 1 1 auto;
|
|
255
255
|
max-height: 1px;
|
|
@@ -291,7 +291,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
291
291
|
max-height: 1px;
|
|
292
292
|
height: 1px;
|
|
293
293
|
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
294
|
-
`,mo=e=>{const o=N(),i=se();return t.jsxs(Rr,{"data-testid":m("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxs(Gr,{windowSize:o,isSticky:e.isSticky,"data-testid":m("sub-entity-name-container","vendor_row_separator"),children:[t.jsx(Er,{"data-testid":m("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:o}),t.jsx(Hr,{"data-testid":m("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]}),t.jsx(Kr,{"data-testid":m("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]})};function mt({kind:e,isScrolling:o,subEntityProps:i}){switch(e){case"vendor_row_separator":return t.jsx(mo,{nestingLevel:i?.nestingLevel??0,isScrolling:o,isSticky:i?.isSticky??!1,isTotal:!1,noMarginForEntity:i?.noMarginForEntity??!0});case"end_row_separator":return t.jsx(Dr,{"data-testid":m("end-row-separator",e),isScrolling:o});case"subtotal_row_separator":return t.jsx(mo,{nestingLevel:i?.nestingLevel??1,isScrolling:o,isSticky:i?.isSticky??!1,isTotal:!0,noMarginForEntity:i?.noMarginForEntity??!1})}}const
|
|
294
|
+
`,mo=e=>{const o=N(),i=se();return t.jsxs(Rr,{"data-testid":m("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxs(Gr,{windowSize:o,isSticky:e.isSticky,"data-testid":m("sub-entity-name-container","vendor_row_separator"),children:[t.jsx(Er,{"data-testid":m("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:o}),t.jsx(Hr,{"data-testid":m("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]}),t.jsx(Kr,{"data-testid":m("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?i.colors.grey1:i.colors.grey3})]})};function mt({kind:e,isScrolling:o,subEntityProps:i}){switch(e){case"vendor_row_separator":return t.jsx(mo,{nestingLevel:i?.nestingLevel??0,isScrolling:o,isSticky:i?.isSticky??!1,isTotal:!1,noMarginForEntity:i?.noMarginForEntity??!0});case"end_row_separator":return t.jsx(Dr,{"data-testid":m("end-row-separator",e),isScrolling:o});case"subtotal_row_separator":return t.jsx(mo,{nestingLevel:i?.nestingLevel??1,isScrolling:o,isSticky:i?.isSticky??!1,isTotal:!0,noMarginForEntity:i?.noMarginForEntity??!1})}}const Xo=a.div`
|
|
295
295
|
display: flex;
|
|
296
296
|
flex: 1 1 auto;
|
|
297
297
|
width: fit-content;
|
|
@@ -360,7 +360,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
360
360
|
&:hover {
|
|
361
361
|
color: ${e=>e.theme.colors.primary};
|
|
362
362
|
}
|
|
363
|
-
`,ri=({balance:e,isOpen:o})=>{const i=o?e?.balance:e?.totalBalance;return t.jsx(oi,{children:t.jsx(ii,{isClickable:!1,onClick:()=>null,children:U("0,0",i)})})},ai=({total:e})=>t.jsx(oi,{children:t.jsx(ii,{isClickable:!1,onClick:()=>null,children:U("0,0",e)})});function Ur({isSticky:e,height:o,isScrolling:i,isLastNode:n,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:h}){const u=N(),g="default",p=c?.name??"";return t.jsxs(
|
|
363
|
+
`,ri=({balance:e,isOpen:o})=>{const i=o?e?.balance:e?.totalBalance;return t.jsx(oi,{children:t.jsx(ii,{isClickable:!1,onClick:()=>null,children:U("0,0",i)})})},ai=({total:e})=>t.jsx(oi,{children:t.jsx(ii,{isClickable:!1,onClick:()=>null,children:U("0,0",e)})});function Ur({isSticky:e,height:o,isScrolling:i,isLastNode:n,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:h}){const u=N(),g="default",p=c?.name??"";return t.jsxs(Xo,{"data-testid":m("ap-aging-report-row-root-container",p),containerHeight:o,bgColor:d,windowSize:u,children:[t.jsxs(ei,{"data-testid":m("ap-aging-report-row-container",p),style:{cursor:g},isClickable:!1,containerHeight:o-1,children:[t.jsxs(ni,{onClick:()=>c?.id!=null?h?.(c.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:o-1,children:[c?.logo!=null?t.jsx(Ot,{photoUrl:c.logo.toString(),styles:{width:E.nameLogoWidth.valuePx(u),height:E.nameLogoHeight.valuePx(u)}}):t.jsx(Mt,{name:p??"",size:s.sp4}),t.jsx(Yr,{children:p})]}),t.jsxs(ti,{"data-testid":m("ap-aging-report-row-balances-container",p),children:[r.map(f=>t.jsx(ri,{balance:f,isOpen:!0},f?.period)),t.jsx(ai,{total:l})]})]}),t.jsx(li,{isScrolling:i,isLastNode:n})]})}function Zr({treeNodeId:e,isSticky:o,height:i,isScrolling:n,isLastNode:r,isOpen:l,balances:c,total:d,totalWithChildren:h,nestedCustomer:u,metadata:g,backgroundColor:p,onEntityNameClick:f,onClick:x}){const b=N(),y=g,j=u?.customer.name??"",v=u!=null?u.id.length-1:0,B=u?.hasSiblings??!1,L=u!=null?u.children.length!==0:!1,M=L,P=M?"pointer":"default",T=u!=null?u.isLeafCustomer:!1,K=()=>{x?.(e)};return t.jsxs(Xo,{"data-testid":m("ar-aging-report-row-root-container",e),containerHeight:i,bgColor:p,windowSize:b,children:[t.jsxs(ei,{"data-testid":m("ar-aging-report-row-container",e),style:{cursor:P},isClickable:M,containerHeight:i-1,children:[t.jsx(ni,{"data-testid":m("ar-aging-report-row-name-container",e),isSticky:o,windowSize:b,bgColor:p,containerHeight:i-1,children:t.jsx(Qo,{displayName:j,depth:v,isLastNode:r,hasChildren:L,hasSiblings:B,isLeaf:T,collapsed:!l,subAccountAnscestorMetadata:y.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:K,onNameClick:()=>u?.id[0]!=null?f?.(u.id[0]):void 0})}),t.jsxs(ti,{children:[c.map(H=>t.jsx(ri,{balance:H,isOpen:l},H?.period)),t.jsx(ai,{total:l?d:h})]})]}),t.jsx(li,{isScrolling:n,subEntityProps:{nestingLevel:v,isSticky:o,noMarginForEntity:!0}})]})}function li({isScrolling:e,isLastNode:o=!1,subEntityProps:i}){return o?t.jsx(mt,{isScrolling:e,kind:"end_row_separator",subEntityProps:i}):t.jsx(mt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:i})}const qr=a.div`
|
|
364
364
|
user-select: none;
|
|
365
365
|
display: flex;
|
|
366
366
|
flex: 1 1 auto;
|
|
@@ -400,7 +400,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
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
|
+
`,Qr=a.div`
|
|
404
404
|
max-height: ${s.sp8};
|
|
405
405
|
min-height: ${s.sp8};
|
|
406
406
|
display: flex;
|
|
@@ -415,7 +415,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
415
415
|
top: ${s.sp0};
|
|
416
416
|
left: ${s.sp0};
|
|
417
417
|
`:""}
|
|
418
|
-
`,
|
|
418
|
+
`,Xr=a(S)`
|
|
419
419
|
display: flex;
|
|
420
420
|
align-items: center;
|
|
421
421
|
cursor: pointer;
|
|
@@ -442,7 +442,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
442
442
|
`,Tt=a(It)`
|
|
443
443
|
width: 12px;
|
|
444
444
|
height: 12px;
|
|
445
|
-
`,ea=({reportId:e,sortKey:o,sortOrder:i="ascending",onSortOrderChanged:n})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=()=>{n?.(Vt(i),r)},c=o===r?i:"ascending";return t.jsxs(
|
|
445
|
+
`,ea=({reportId:e,sortKey:o,sortOrder:i="ascending",onSortOrderChanged:n})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=()=>{n?.(Vt(i),r)},c=o===r?i:"ascending";return t.jsxs(Xr,{active:o===r,"data-testid":m("duration-row-vendor-title",e),children:[r==="vendor"?O.getLocalizedStrings().reports.aging.apAging.vendor:O.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(zt,{selectedForSort:o===r,children:t.jsx(hi,{"data-testid":m("duration-row-vendor-sort-icon",e),onClick:l,children:c==="ascending"?t.jsx(Tt,{}):t.jsx(Pt,{})})}),t.jsx(qe,{controller:o===r,children:t.jsx(ui,{"data-testid":m("duration-row-vendor-sort-cancel-icon",e),onClick:()=>pi({onSortOrderChanged:n})})})]})},pi=({onSortOrderChanged:e})=>{e?.("descending","total")},ta=({agingPeriod:e,sortKey:o="vendor",sortOrder:i="ascending",onSortOrderChanged:n})=>{const r=o===e?i:"ascending",l=()=>{n?.(Vt(i),e)};return t.jsx(di,{"data-testid":m("duration-row-tick-container",e),children:t.jsx(ci,{"data-testid":m("duration-row-tick-element-container",e),children:t.jsxs(si,{active:o===e,"data-testid":m("duration-row-timeframe-tick",e),children:[O.getLocalizedStrings().reports.aging.duration[e],t.jsxs(zt,{selectedForSort:o===e,"data-testid":m("duration-row-sort-container",e),children:[t.jsx(hi,{"data-testid":m("duration-row-sort-icon",e),onClick:l,children:r==="ascending"?t.jsx(Tt,{}):t.jsx(Pt,{})}),t.jsx(qe,{controller:o===e,children:t.jsx(ui,{"data-testid":m("duration-row-sort-cancel-icon",e),onClick:()=>pi({onSortOrderChanged:n})})})]})]})})})},gi=({reportId:e,sortKey:o,sortOrder:i="ascending",onSortOrderChanged:n})=>{const r=o==="total"?i:"ascending",l=()=>{n?.(Vt(i),"total")};return t.jsx(di,{"data-testid":m("duration-row-entity-total-tick-container",e),onClick:l,children:t.jsx(ci,{"data-testid":m("duration-row-entity-total-tick-element-container",e),children:t.jsxs(si,{active:o==="total","data-testid":m("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?O.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:O.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(zt,{selectedForSort:o==="total","data-testid":m("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(Tt,{}):t.jsx(Pt,{})})]})})})},oa=({reportId:e,agingPeriod:o,sortKey:i="vendor",sortOrder:n="ascending",onSortOrderChanged:r})=>o!=null?t.jsx(ta,{sortKey:i,sortOrder:n,onSortOrderChanged:r,agingPeriod:o}):t.jsx(gi,{reportId:e,sortKey:i,sortOrder:n,onSortOrderChanged:r});function ia({reportId:e,isSticky:o,height:i,agingPeriods:n,sortKey:r,sortOrder:l,backgroundColor:c,onSortOrderChanged:d}){const h=N();return t.jsxs(qr,{height:i,bgColor:c,"data-testid":m("duration-row-root-container",e),children:[t.jsx(Qr,{"data-testid":m("duration-row-placeholder-name",e),isSticky:o,windowSize:h,bgColor:c,children:t.jsx(ea,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(Jr,{children:[n.map(u=>t.jsx(oa,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(gi,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const Vt=e=>e==="ascending"?"descending":"ascending",na=[10,14,20,20,20],ra=a.div`
|
|
446
446
|
display: flex;
|
|
447
447
|
flex: 1 1 auto;
|
|
448
448
|
width: fit-content;
|
|
@@ -634,7 +634,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
634
634
|
text-overflow: ellipsis;
|
|
635
635
|
text-align: left;
|
|
636
636
|
margin-left: ${s.sp6};
|
|
637
|
-
`,
|
|
637
|
+
`,Qa=({balance:e})=>t.jsx(Ua,{children:t.jsx(Za,{children:Z(e)})});function Xa({heading:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,totalBalances:l,isScrolling:c,isLastNode:d,onClick:h}){const u=N();return t.jsxs(Ha,{"data-testid":m("calculated-section-type-1-root-container-row",n),height:r,bgColor:o,windowSize:u,children:[t.jsxs(Ka,{"data-testid":m("calculated-section-type-1-container-row",n),onClick:()=>h?.(n),children:[t.jsx(qa,{"data-testid":m("calculated-section-type-1-total-container-row",n),bgColor:o,isSticky:i,windowSize:u,children:t.jsx(Ja,{children:e})}),t.jsx(Ya,{children:l.map((g,p)=>t.jsx(Qa,{balance:g},p))})]}),t.jsx(el,{isScrolling:c,isLastNode:d})]})}function el({isScrolling:e,isLastNode:o}){return o===!0?t.jsx(Ra,{isScrolling:e,kind:"heading_row_separator"}):null}const tl=a.div`
|
|
638
638
|
display: flex;
|
|
639
639
|
flex: 1 1 auto;
|
|
640
640
|
width: fit-content;
|
|
@@ -690,7 +690,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
690
690
|
text-overflow: ellipsis;
|
|
691
691
|
text-align: left;
|
|
692
692
|
background-color: ${e=>e.bgColor?.hex()};
|
|
693
|
-
`,ll=({type:e,balance:o,isActualVsForecastOn:i,compareMode:n})=>t.jsxs(nl,{"data-testid":m("heading-row-balance-element",e),children:[ae(e)||i?t.jsx(Ge,{"data-testid":m("heading-row-balance-actual",e),children:Z(o)}):t.jsx(Ge,{"data-testid":m("heading-row-balance-forecast",e),children:J(o)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Ge,{"data-testid":m("heading-row-balance-forecast",e),children:J(o)}),t.jsx(Ge,{"data-testid":m("heading-row-balance-actual-vs-forecast",e),children:n==="compare_mode_percent"?de(o):he(o)})]}):null]});function cl({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:h,isLeaf:u,onClick:g}){const p=N();return t.jsx(tl,{height:r,bgColor:o,"data-testid":m("heading-row-root-container",n),children:t.jsxs(ol,{"data-testid":m("heading-row-container",n),isClickable:!u,onClick:()=>g?.(n),children:[ge(e)===!0?t.jsx(rl,{"data-testid":m("heading-row-heading-container",n),isSticky:i,windowSize:p,bgColor:o,children:t.jsx(al,{children:l})}):null,xe(e)===!0?t.jsx(il,{"data-testid":m("heading-row-balances-container",n),children:c.map((f,x)=>t.jsx(ll,{"data-testid":m("heading-row-balance-element",e),type:e,heading:l,balance:f,isActualVsForecastOn:d,compareMode:h},x))}):null]})})}const sl=(e,o,i,n,r,l,c)=>{if(o.element.kind!="calculated_section_type1"||o.element.data==null)return null;const d=o.element.data,h=te(d,o.config.displayOrder,o.element.numOfBalances);return t.jsx(
|
|
693
|
+
`,ll=({type:e,balance:o,isActualVsForecastOn:i,compareMode:n})=>t.jsxs(nl,{"data-testid":m("heading-row-balance-element",e),children:[ae(e)||i?t.jsx(Ge,{"data-testid":m("heading-row-balance-actual",e),children:Z(o)}):t.jsx(Ge,{"data-testid":m("heading-row-balance-forecast",e),children:J(o)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Ge,{"data-testid":m("heading-row-balance-forecast",e),children:J(o)}),t.jsx(Ge,{"data-testid":m("heading-row-balance-actual-vs-forecast",e),children:n==="compare_mode_percent"?de(o):he(o)})]}):null]});function cl({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:h,isLeaf:u,onClick:g}){const p=N();return t.jsx(tl,{height:r,bgColor:o,"data-testid":m("heading-row-root-container",n),children:t.jsxs(ol,{"data-testid":m("heading-row-container",n),isClickable:!u,onClick:()=>g?.(n),children:[ge(e)===!0?t.jsx(rl,{"data-testid":m("heading-row-heading-container",n),isSticky:i,windowSize:p,bgColor:o,children:t.jsx(al,{children:l})}):null,xe(e)===!0?t.jsx(il,{"data-testid":m("heading-row-balances-container",n),children:c.map((f,x)=>t.jsx(ll,{"data-testid":m("heading-row-balance-element",e),type:e,heading:l,balance:f,isActualVsForecastOn:d,compareMode:h},x))}):null]})})}const sl=(e,o,i,n,r,l,c)=>{if(o.element.kind!="calculated_section_type1"||o.element.data==null)return null;const d=o.element.data,h=te(d,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Xa,{backgroundColor:n,isSticky:r,treeNodeId:e,heading:o.element.title,totalBalances:h.balances,height:i,isScrolling:l,isLastNode:c})},Dt=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="title_string_only")return null;const f=te(void 0,i.config.displayOrder,i.element.numOfBalances);return t.jsx(cl,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,heading:i.element.title,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:x=>{p?.(x)}})};function Si(e,o){return dl(o)}const dl=(e,o)=>{const i={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return i.acBalanceSelector=n=>n.balancesInTimeframe,i.compactedAccountsSelectorVariant=n=>hl(n,i.acBalanceSelector,e),i};function hl(e,o,i){switch(i){case"off":return e;case"filter_actual_nil_balances":return e.filter(n=>ul(o(n)?.balances??[]));default:return e}}function ul(e){let o=!1;if(e!=null){for(const i of e)if(i.balance.amount!==0){o=!0;break}}return o}const pl=a.div`
|
|
694
694
|
display: flex;
|
|
695
695
|
flex: 1 1 auto;
|
|
696
696
|
max-height: 1px;
|
|
@@ -960,7 +960,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
960
960
|
text-align: right;
|
|
961
961
|
margin-left: ${R.balanceLeftMargin};
|
|
962
962
|
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
963
|
-
`,
|
|
963
|
+
`,Ql=({type:e,balance:o,collapsed:i,compareMode:n})=>{const r=i===!0?Zl:vi;return t.jsxs(Ul,{children:[ae(e)===!0?t.jsx(r,{children:Z(o)}):null,Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(pt,{children:Z(o)}),t.jsx(pt,{children:J(o)}),t.jsx(pt,{children:n==="compare_mode_percent"?de(o):he(o)})]}):null]})};function Xl({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,title:l,totalBalances:c,isLeaf:d,compareMode:h,onClick:u}){const g=N(),p=!d,f=p?"pointer":"default";return t.jsx(Hl,{height:r,bgColor:o,windowSize:g,children:t.jsxs(Kl,{style:{cursor:f},isClickable:p,onClick:()=>u?.(n),children:[t.jsx(ql,{bgColor:o,isSticky:i,windowSize:g,children:t.jsx(Jl,{children:l})}),t.jsx(Yl,{children:c.map((x,b)=>t.jsx(Ql,{type:e,balance:x,collapsed:!1,compareMode:h},b))})]})})}const ke={net_burn_or_income:{income:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},cogs:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},expenses:{color:new _(V.graphColor32),hoverColor:new _(V.graphColor32Dark)},"Gross Burn":{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)},"Net Burn":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)},"Net Income":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)}},revenue:{income:{color:new _(V.graphColor28),hoverColor:new _(V.graphColor28Dark)},cogs:{color:new _(V.graphColor17),hoverColor:new _(V.graphColor17Dark)},"Gross Margin":{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new _(V.graphColor33),hoverColor:new _(V.graphColor33Dark)},cash_out:{color:new _(V.graphColor02),hoverColor:new _(V.graphColor02Dark)},"Net Cash Flow":{color:new _(V.graphColor35),hoverColor:new _(V.graphColor35Dark)}},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},Et=(e,o)=>e.startsWith("net_burn_or_income")===!0?o!=null?ke.net_burn_or_income[o]:ke.default:e.startsWith("revenue")===!0?o!=null?ke.revenue[o]:ke.default:e.startsWith("cash_in_cash_out")===!0&&o!=null?ke.cash_in_cash_out[o]:ke.default,ec=(e,o,i,n,r,l,c,d,h,u,g)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const p=i.element.data,f=A.isDashboardClassesViewReport(i.config.reportId)===!0?Si("no_filter",i.config.filterAccountsWithNilBalances):tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Il,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,accountBalances:x.balances,isCompareModeOn:i.config.mode==="this_period_vs_period_before",isForecastModeOn:i.config.mode==="actual_vs_forecast",isScrolling:c,isLeaf:d,isLastNode:h,compareMode:u,account:p,onAccountBalanceClick:g==null?void 0:(b,y,j)=>{g?.(b,y,j)}})},tc=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,x=tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(vl,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,accountGroupName:f.accountGroupName,compareMode:g,accountGroupBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},$i=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=Et(i.config.reportId,i.element.sectionType),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Gt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionColor:f.color,sectionName:i.element.title,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},oc=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=Et(i.config.reportId,i.element.sectionType),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Gt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},_i=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=Et(i.config.reportId,i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Gt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},Li=(e,o,i,n,r,l,c,d)=>{if((i.config.isZeniCOAInUse==null||i.config.isZeniCOAInUse===!0)&&i.config.mode!=="this_period_vs_period_before")return null;const h=i.element.data,u=te(h,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Xl,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,title:i.element.title,height:n,isLeaf:d,compareMode:c,totalBalances:u.balances})},Ht=20,ic=e=>{const o=[];return e&&Object.values(e).forEach(i=>{o.push(i)}),o.reverse()},nc=a.div`
|
|
964
964
|
display: flex;
|
|
965
965
|
flex: 1 1 auto;
|
|
966
966
|
height: 1px;
|
|
@@ -1136,7 +1136,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
1136
1136
|
display: flex;
|
|
1137
1137
|
flex: 1;
|
|
1138
1138
|
justify-content: flex-end;
|
|
1139
|
-
`,Mc=({isBalanceRowFirstNode:e=!1,balance:o})=>{const i=o!=null;return t.jsxs(Oi,{children:[e?t.jsx(Mi,{}):null,t.jsx(bc,{children:t.jsx(kc,{isClickable:i,children:Z(o)})})]})};function Wc({varianceAmount:e,variancePercentage:o,currency:i,isSticky:n,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=O.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,x=u.accountBase?.accountName?u.accountBase?.accountName:f,b=u.classBase?.className?u.classBase?.className:p,y=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(wc,{children:[t.jsxs(yc,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(Bc,{children:t.jsxs(Cc,{className:"flux-class-and-account-value-container",isSticky:n,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(jc,{children:[t.jsx(Ai,{height:k.lineComponentHeight}),t.jsx(vc,{children:Co.common.texts.category}),t.jsx($c,{children:Co.common.texts.class})]}),t.jsxs(Sc,{children:[y===!0?t.jsx(uc,{height:k.lineLComponentHeight}):t.jsx(pc,{}),t.jsx(_c,{title:x,children:x}),t.jsx(Lc,{title:b,children:b})]})]})}),t.jsx(Oc,{children:t.jsxs(Ac,{children:[r.map((j,v)=>t.jsx(Mc,{balance:j,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},v)),t.jsxs(Oi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(Mi,{}),t.jsx(ot,{amount:e,percentage:o,currency:i})]})]})})]}),t.jsx(Nc,{isScrolling:l,isLeaf:d,isLastNode:h,isParentLastChild:c?.isVendorLastChild??!0})]})}function Nc({isScrolling:e,isLastNode:o,isParentLastChild:i}){return o&&i?t.jsx(yt,{isScrolling:e,kind:"vendor_separator"}):o?t.jsx(yt,{isScrolling:e,kind:"account_class_row_separator"}):null}function Ic(){return t.jsxs(Fc,{children:[t.jsxs(Pc,{children:[t.jsxs(Ce,{width:k.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsx(To,{width:w[4],height:w[4]}),t.jsx(
|
|
1139
|
+
`,Mc=({isBalanceRowFirstNode:e=!1,balance:o})=>{const i=o!=null;return t.jsxs(Oi,{children:[e?t.jsx(Mi,{}):null,t.jsx(bc,{children:t.jsx(kc,{isClickable:i,children:Z(o)})})]})};function Wc({varianceAmount:e,variancePercentage:o,currency:i,isSticky:n,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=O.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,x=u.accountBase?.accountName?u.accountBase?.accountName:f,b=u.classBase?.className?u.classBase?.className:p,y=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(wc,{children:[t.jsxs(yc,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(Bc,{children:t.jsxs(Cc,{className:"flux-class-and-account-value-container",isSticky:n,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(jc,{children:[t.jsx(Ai,{height:k.lineComponentHeight}),t.jsx(vc,{children:Co.common.texts.category}),t.jsx($c,{children:Co.common.texts.class})]}),t.jsxs(Sc,{children:[y===!0?t.jsx(uc,{height:k.lineLComponentHeight}):t.jsx(pc,{}),t.jsx(_c,{title:x,children:x}),t.jsx(Lc,{title:b,children:b})]})]})}),t.jsx(Oc,{children:t.jsxs(Ac,{children:[r.map((j,v)=>t.jsx(Mc,{balance:j,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},v)),t.jsxs(Oi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(Mi,{}),t.jsx(ot,{amount:e,percentage:o,currency:i})]})]})})]}),t.jsx(Nc,{isScrolling:l,isLeaf:d,isLastNode:h,isParentLastChild:c?.isVendorLastChild??!0})]})}function Nc({isScrolling:e,isLastNode:o,isParentLastChild:i}){return o&&i?t.jsx(yt,{isScrolling:e,kind:"vendor_separator"}):o?t.jsx(yt,{isScrolling:e,kind:"account_class_row_separator"}):null}function Ic(){return t.jsxs(Fc,{children:[t.jsxs(Pc,{children:[t.jsxs(Ce,{width:k.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsx(To,{width:w[4],height:w[4]}),t.jsx(X,{width:k.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ce,{width:k.categoryRowsSkeletonContainerWidth,children:t.jsx(X,{width:k.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(zc,{children:[t.jsx(Ce,{width:k.titleWidthMedium,children:t.jsx(X,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Ce,{width:k.titleWidthMedium,children:t.jsx(X,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Ce,{width:k.varianceRowSkeletonContainerWidth,children:[t.jsx(X,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}}),t.jsx(X,{width:w[7],height:w[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Ce,{width:k.titleWidthMedium,children:t.jsx(X,{width:70,height:w[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Fc=a.div`
|
|
1140
1140
|
display: flex;
|
|
1141
1141
|
flex-direction: row;
|
|
1142
1142
|
width: 100%;
|
|
@@ -1235,7 +1235,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
1235
1235
|
${k.statusContainerWidth} +
|
|
1236
1236
|
${k.statusLeftMargin}
|
|
1237
1237
|
);
|
|
1238
|
-
`,Zc=({balance:e,color:o})=>t.jsx(Dc,{children:t.jsx(Rc,{color:o,children:Z(e)})}),qc=vn.memo(function({currency:e,sectionId:o,selectedSectionsIds:i,backgroundColor:n,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:h,sectionBalances:u,varianceAmount:g,variancePercentage:p,sectionColor:f,isScrolling:x,isOpen:b,isLeaf:y,idsForReview:j,sectionToggled:v,onSectionCheckboxClick:B}){const L=N(),[M,P]=I.useState(j.length>0),[T,K]=I.useState(!1),H=i.includes(o),Y=!y,q=j.length===Ht&&!H,ue=d?.[0]?.toUpperCase()??"",
|
|
1238
|
+
`,Zc=({balance:e,color:o})=>t.jsx(Dc,{children:t.jsx(Rc,{color:o,children:Z(e)})}),qc=vn.memo(function({currency:e,sectionId:o,selectedSectionsIds:i,backgroundColor:n,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:h,sectionBalances:u,varianceAmount:g,variancePercentage:p,sectionColor:f,isScrolling:x,isOpen:b,isLeaf:y,idsForReview:j,sectionToggled:v,onSectionCheckboxClick:B}){const L=N(),[M,P]=I.useState(j.length>0),[T,K]=I.useState(!1),H=i.includes(o),Y=!y,q=j.length===Ht&&!H,ue=d?.[0]?.toUpperCase()??"",Q=I.useCallback(ne=>{B?.(o,ne.target.checked)},[o,B]);return t.jsxs(Tc,{heightValue:c,bgColor:n,children:[t.jsxs(Vc,{style:{cursor:Y?"pointer":"default"},onClick:()=>v?.(l),onMouseOver:()=>{K(!0),P(!0)},onMouseLeave:()=>{K(!1),j.length===0&&P(!1)},children:[t.jsxs(Gc,{className:"flux-section-name-container",isSticky:r,windowSize:L,bgColor:n,children:[h&&M&&b?t.jsx(Kc,{children:t.jsx(At,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox",icon:t.jsx(Bt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Hc,{}),checked:H,id:l,disabled:q,onChange:Q,onClick:ne=>ne.stopPropagation(),style:{padding:"20px",pointerEvents:q?"none":"auto"}})}):t.jsx(Yc,{}),t.jsx(ye,{color:_(f),showCollapsedIcon:!b,showIcon:T&&Y,firstLetter:ue}),t.jsx(Ec,{color:f.toString(),children:d})]}),t.jsxs(Uc,{children:[u.map((ne,je)=>t.jsx(Zc,{sectionName:d,balance:ne,color:f.toString()},je)),t.jsx(ot,{amount:g,percentage:p,currency:e})]})]}),t.jsx(Jc,{isScrolling:x,isLeaf:y,isOpen:b})]})});function Jc({isScrolling:e,isLeaf:o,isOpen:i}){return o||!i?t.jsx(yt,{isScrolling:e,kind:"section_row_separator"}):null}function Qc(){const e=N();return t.jsxs(Xc,{windowSize:e,children:[t.jsx(ve,{windowSize:e,width:k.vendorContainerWidth,marginRight:0,children:t.jsx(X,{width:w[9],height:w[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthMedium,marginRight:0,children:t.jsx(X,{width:128,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthMedium,marginRight:0,children:t.jsx(X,{width:k.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.varianceRowSkeletonContainerWidth,children:t.jsx(X,{width:184,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthSmall,children:t.jsx(X,{width:k.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})})]})}const Xc=a.div`
|
|
1239
1239
|
display: flex;
|
|
1240
1240
|
flex-direction: row;
|
|
1241
1241
|
width: 100%;
|
|
@@ -1593,7 +1593,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
1593
1593
|
justify-content: center;
|
|
1594
1594
|
align-items: center;
|
|
1595
1595
|
margin-left: ${s.sp1};
|
|
1596
|
-
`,{common:So,expenseAutomation:Us}=O.getLocalizedStrings(),Zs=({balance:e})=>{const o=As;return t.jsx(Ls,{children:t.jsx(o,{children:Z(e)})})};function qs({fluxAnalysisEntityId:e,idsForReview:o,backgroundColor:i,isSticky:n,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:h,currency:u,vendorBalances:g,reviewedByUser:p,status:f,vendor:x,isOpen:b,childrenCount:y,setHoveredParentId:j,onClick:v,handleRedirectToVendorDetailPage:B,updateOperatingExpensesIdsForReview:L}){const[M,P]=I.useState(!1),[T,K]=I.useState(o.length>0),H=o.includes(e),Y=o.includes(e),q=c==="collapsed",ue=o.length===Ht&&H===!1,
|
|
1596
|
+
`,{common:So,expenseAutomation:Us}=O.getLocalizedStrings(),Zs=({balance:e})=>{const o=As;return t.jsx(Ls,{children:t.jsx(o,{children:Z(e)})})};function qs({fluxAnalysisEntityId:e,idsForReview:o,backgroundColor:i,isSticky:n,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:h,currency:u,vendorBalances:g,reviewedByUser:p,status:f,vendor:x,isOpen:b,childrenCount:y,setHoveredParentId:j,onClick:v,handleRedirectToVendorDetailPage:B,updateOperatingExpensesIdsForReview:L}){const[M,P]=I.useState(!1),[T,K]=I.useState(o.length>0),H=o.includes(e),Y=o.includes(e),q=c==="collapsed",ue=o.length===Ht&&H===!1,Q=Os,ne=le=>{let pe=o;le.target.checked===!0?pe=[...pe,e]:pe=pe.filter(Pe=>Pe!==e),L?.(pe)},je=()=>{B?.(x)};return t.jsx($s,{heightValue:l,bgColor:i,children:t.jsxs(_s,{shouldHighlight:Y,isRowExpanded:b,onClick:()=>v?.(r),onMouseOver:()=>{P(!0),K(!0),j?.(x.id)},onMouseLeave:()=>{P(!1),o.length===0&&K(!1),j?.(null)},children:[t.jsxs(Bs,{className:"flux-vendor-name-container",bgColor:i,isSticky:n,children:[t.jsx(Ds,{className:"flux-vendor-checkbox-container",children:T?t.jsx(At,{className:"flux-vendor-checkbox",icon:t.jsx(Bt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Rs,{}),checked:H,name:x.name,id:e,disabled:ue,onChange:ne,onClick:le=>le.stopPropagation(),style:{padding:"20px",pointerEvents:ue?"none":"auto"}}):null}),t.jsxs(Fs,{isNodeOpen:b,children:[M?t.jsx(Hs,{className:"flux-vendor-collapsable-chevron-icon",children:b===!1?t.jsx(jo,{}):t.jsx(Es,{})}):x.logo!=null?t.jsx(Ot,{photoUrl:x.logo.toString(),styles:{width:w[4],height:w[4]}}):t.jsx(Mt,{name:x.name,size:s.sp4}),b?t.jsx(Ai,{height:k.vendorLineComponentHeight}):null]}),t.jsxs(Ms,{children:[t.jsxs(Ws,{children:[t.jsx(Q,{children:x.name}),b?null:t.jsx(Ys,{className:"flux-vendor-children-count",children:t.jsx(Le,{children:y})})]}),M?t.jsx(I.Fragment,{children:t.jsx(Ks,{className:"flux-vendor-chevron-icon",onClick:je,"data-testid":m("flux-analysis-report-vendorElement-row"),children:t.jsx(jo,{})})}):null]})]}),t.jsxs(Is,{children:[g.map((le,pe)=>t.jsx(Zs,{balance:le,collapsed:q},pe)),t.jsx(ot,{amount:d,percentage:h,currency:u}),t.jsx(zs,{children:f==="Pending Review"?t.jsx(Ts,{children:t.jsx(Vs,{children:So.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Ps,{className:"vendor-flux-analysis-review-info",children:p!=null?t.jsxs(I.Fragment,{children:[t.jsxs(Gs,{children:[t.jsx(Ns,{}),Us.fluxAnalysis.reviewedBy]}),t.jsx(Le,{children:hn(p)})]}):So.strings.hyphen})})})]})]})})}const vo={generalExpense:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},reimbursement:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},Js=(e,o)=>e.startsWith("flux_analysis_operating_expense")===!0&&o!=null?vo[o]:vo.default,Kt=(e,o)=>{const{element:i}=e;return i.kind===o&&i.data!=null},Wi=e=>ic(e.balancesByMonth),Qs=(e,o,i,n,r,l,c,d,h)=>{if(!Kt(o,"flux_vendor_account_class_row"))return null;const u=o.element.data,g=Wi(u),p=o.element.metadata.vendorId;return t.jsx(Wc,{backgroundColor:i,isSticky:n,treeNodeId:e,balances:g,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,currency:u.currency,isScrolling:r,isLeaf:l,isLastNode:c,nodeMetadata:o.element.metadata,accountAndClass:u,onAccountAndClassBalanceClick:()=>h?.(p),isHoveredByParent:d?.hoveredParentId===p})},Xs=(e,o,i,n,r,l,c,d,h,u,g)=>{if(!Kt(o,"flux_vendor_row"))return null;const p=o.element.data,f=Wi(p),x=Bi("flux_vendor_row",h),b=y=>{g?.(y),o.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(y)};return t.jsx(qs,{backgroundColor:i,isSticky:n,treeNodeId:e,fluxAnalysisEntityId:p.fluxAnalysisEntityId,height:x,leftChevron:"collapsed",idsForReview:o.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:p.vendor,vendorBalances:f,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,status:p.status,currency:p.currency,isScrolling:r,isOpen:l,isLeaf:c,isLastNode:d,childrenCount:p.vendorAccountsAndClasses.length,onClick:y=>{b?.(y)},reviewedByUser:p.reviewedByUser,updateOperatingExpensesIdsForReview:o.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:o.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},ed=(e,o,i,n,r,l,c,d,h,u)=>{if(!Kt(o,"section"))return null;const g=Js(o.config.reportId,o.element.sectionType),p=o.element.data,f=x=>{o.config.fluxAnalysisConfig?.onSectionRowClick(x),u?.(x)};return t.jsx(qc,{backgroundColor:n,isSticky:r,treeNodeId:e,height:i,selectedSectionsIds:o.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:o.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:o.element.title,sectionBalances:p.balances,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,currency:p.currency,isScrolling:l,isOpen:c,hasVendors:p.vendors.length>0,isLeaf:d,isLastNode:h,sectionToggled:x=>{f?.(x)},onSectionCheckboxClick:o.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:p.sectionId})},td=(e,o,i)=>{if(e.element.kind!=="timeframe_headers")return null;const n=Ne(e.element.data,e.config.displayOrder),r=n.length>0?n[0].balanceTimeFrame:"month",l=n.map(d=>A.toTimeframeTick(d)),c=(d,h)=>{e.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),e.config.fluxAnalysisConfig?.onSortOrderChanged(d,h)};return t.jsx(gs,{isSticky:i,height:o,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:r,timeframeTicks:l,isBulkSelected:e.config.fluxAnalysisConfig?.reviewOpExIds.length===Ht,onSortOrderChanged:c,sortOrder:e.config.fluxAnalysisConfig?.sortOrder,sortKey:e.config.fluxAnalysisConfig?.sortKey})},od=(e,o)=>{if(e.element.kind!=="total")return null;const i=e.element.data;return t.jsx(vs,{type:"name+balances_actual",title:e.element.title,totalBalances:i.balances,varianceAmount:i.varianceAmount,variancePercentage:i.variancePercentage,currency:i.currency,height:o})},id=e=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ic,{}),nd=e=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Qc,{}),rd=a.div`
|
|
1597
1597
|
display: flex;
|
|
1598
1598
|
flex: 1 1 auto;
|
|
1599
1599
|
width: fit-content;
|
|
@@ -1698,7 +1698,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
1698
1698
|
left: ${s.sp0};
|
|
1699
1699
|
z-index: 20;
|
|
1700
1700
|
`:null}
|
|
1701
|
-
`;function yd({backgroundColor:e,isSticky:o,height:i,isAccountColumnShown:n,isClassColumnShown:r,timeframeTicks:l}){const c=N();return l.length>0?t.jsxs(fd,{height:i,bgColor:e,"data-testid":m("opex-vendor-loading-in-progress-row"),children:[t.jsxs(wd,{"data-testid":m("opex-vendor-loading-in-progress-row-name"),isSticky:o,windowSize:c,bgColor:e,children:[t.jsx(To,{width:w[4],height:w[4]}),t.jsx($o,{windowSize:c,isClubbed:!0,children:t.jsx(
|
|
1701
|
+
`;function yd({backgroundColor:e,isSticky:o,height:i,isAccountColumnShown:n,isClassColumnShown:r,timeframeTicks:l}){const c=N();return l.length>0?t.jsxs(fd,{height:i,bgColor:e,"data-testid":m("opex-vendor-loading-in-progress-row"),children:[t.jsxs(wd,{"data-testid":m("opex-vendor-loading-in-progress-row-name"),isSticky:o,windowSize:c,bgColor:e,children:[t.jsx(To,{width:w[4],height:w[4]}),t.jsx($o,{windowSize:c,isClubbed:!0,children:t.jsx(X,{width:120,height:w[4]})})]}),t.jsxs(md,{children:[n?t.jsx(_o,{windowSize:c,children:t.jsx(X,{width:120,height:w[4]})}):null,r?t.jsx(_o,{windowSize:c,children:t.jsx(X,{width:120,height:w[4]})}):null,l.map((d,h)=>t.jsx($o,{windowSize:c,children:t.jsx(X,{width:120,height:w[4]})},`${h}RowItem`))]})]}):t.jsx(xd,{height:i,bgColor:e,children:t.jsx(dn,{size:"Small",start:!0})})}const bd=a.div`
|
|
1702
1702
|
user-select: none;
|
|
1703
1703
|
display: flex;
|
|
1704
1704
|
flex: 1 1 auto;
|
|
@@ -1986,12 +1986,12 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
1986
1986
|
margin-left: ${W.balanceLeftMargin};
|
|
1987
1987
|
color: ${e=>e.theme.colors.primary};
|
|
1988
1988
|
border: 1px solid transparent;
|
|
1989
|
-
`,
|
|
1989
|
+
`,Qd=a(Ri)`
|
|
1990
1990
|
color: ${e=>e.theme.colors.hero};
|
|
1991
1991
|
&:hover {
|
|
1992
1992
|
color: inherit;
|
|
1993
1993
|
}
|
|
1994
|
-
`,
|
|
1994
|
+
`,Xd=a.div`
|
|
1995
1995
|
display: flex;
|
|
1996
1996
|
flex-direction: row;
|
|
1997
1997
|
background-color: ${e=>e.bgColor?.hex()};
|
|
@@ -2023,7 +2023,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2023
2023
|
text-overflow: ellipsis;
|
|
2024
2024
|
text-align: left;
|
|
2025
2025
|
color: ${e=>e.theme.colors.primary};
|
|
2026
|
-
`,oh=({type:e,balance:o,collapsed:i})=>{const n=i===!0?
|
|
2026
|
+
`,oh=({type:e,balance:o,collapsed:i})=>{const n=i===!0?Qd:Ri;return t.jsx(Jd,{children:ae(e)===!0?t.jsx(n,{children:Z(o)}):null})};function ih({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:h,onClick:u,isScrolling:g}){const p=N();return t.jsxs(Ud,{"data-testid":m("total-row-root-container",n),height:r,bgColor:o,windowSize:p,children:[t.jsxs(Zd,{"data-testid":m("total-row-container",n),onClick:()=>u?.(n),children:[t.jsxs(Xd,{bgColor:o,windowSize:p,isSticky:i,children:[t.jsx(eh,{bgColor:o,windowSize:p,children:t.jsx(th,{children:l})}),d?t.jsx(Ao,{windowSize:p}):null,h?t.jsx(Ao,{windowSize:p}):null]}),t.jsx(qd,{children:c.map((f,x)=>t.jsx(oh,{type:e,balance:f,collapsed:!1},x))})]}),t.jsx($t,{isScrolling:g,kind:"vendor_row_separator"})]})}const nh=a.div`
|
|
2027
2027
|
display: flex;
|
|
2028
2028
|
flex: 1 1 auto;
|
|
2029
2029
|
width: fit-content;
|
|
@@ -2285,12 +2285,12 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2285
2285
|
&:hover {
|
|
2286
2286
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2287
2287
|
}
|
|
2288
|
-
`,
|
|
2288
|
+
`,Qh=a.div`
|
|
2289
2289
|
display: flex;
|
|
2290
2290
|
flex: 1 0 auto;
|
|
2291
2291
|
flex-direction: row;
|
|
2292
2292
|
justify-content: flex-end;
|
|
2293
|
-
`,
|
|
2293
|
+
`,Xh=a.div`
|
|
2294
2294
|
display: flex;
|
|
2295
2295
|
flex-direction: row;
|
|
2296
2296
|
justify-content: flex-start;
|
|
@@ -2336,7 +2336,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2336
2336
|
&:hover {
|
|
2337
2337
|
color: inherit;
|
|
2338
2338
|
}
|
|
2339
|
-
`,iu=({type:e,balance:o,collapsed:i,isActualVsForecastOn:n,compareMode:r})=>{const l=i===!0?eu:Yi;return t.jsxs(
|
|
2339
|
+
`,iu=({type:e,balance:o,collapsed:i,isActualVsForecastOn:n,compareMode:r})=>{const l=i===!0?eu:Yi;return t.jsxs(Xh,{children:[ae(e)===!0||n?t.jsx(l,{children:Z(o)}):t.jsx(l,{children:J(o)}),n?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:J(o)}),t.jsx(l,{children:r==="compare_mode_percent"?de(o):he(o)})]}):null]})};function nu({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:x,onClick:b}){const y=N(),j=se(),v=!f,B=v?"pointer":"default",L=l==="collapsed",M=L===!0?ou:Ui,[P,T]=I.useState(!1),K=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxs(qh,{"data-testid":m("pandl-account-group-row-root-container",n),height:r,bgColor:o,children:[t.jsxs(Jh,{"data-testid":m("pandl-account-group-row-container",n),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),style:{cursor:B},isClickable:v,onClick:()=>b?.(n),children:[ge(e)===!0?t.jsxs(tu,{bgColor:o,isSticky:i,windowSize:y,children:[t.jsx(ye,{showCollapsedIcon:L,showIcon:P&&v,firstLetter:K,color:_(j.colors.primary)}),t.jsx(M,{children:c})]}):null,xe(e)===!0?t.jsx(Qh,{children:d.map((H,Y)=>t.jsx(iu,{type:e,accountGroupName:c,balance:H,isActualVsForecastOn:h,compareMode:u,collapsed:L},Y))}):null]}),t.jsx(ru,{isScrolling:g,type:e,isLeaf:f,isLastNode:x,isOpen:p})]})}function ru({isScrolling:e,type:o,isLastNode:i,isOpen:n}){let r="ac_group_row_separator";return i&&!n?r="section_row_separator":n&&(r=ge(o)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(be,{isScrolling:e,kind:r})}const au=a.div`
|
|
2340
2340
|
display: flex;
|
|
2341
2341
|
flex: 1 1 auto;
|
|
2342
2342
|
width: fit-content;
|
|
@@ -2469,7 +2469,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2469
2469
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
2470
2470
|
border-radius: ${s.sp1};
|
|
2471
2471
|
margin: 0 ${s.sp5} 0 ${s.sp3};
|
|
2472
|
-
`,ju=({metadata:e,depth:o})=>o===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(gn,{}):t.jsx(fn,{}),Su=({type:e,balance:o,color:i,isActualVsForecastOn:n,compareMode:r})=>t.jsxs(wu,{children:[ae(e)===!0||n?t.jsx(Ke,{style:{color:i},children:Z(o)}):t.jsx(Ke,{style:{color:i},children:J(o)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ke,{style:{color:i},children:J(o)}),t.jsx(Ke,{style:{color:i},children:r==="compare_mode_percent"?de(o):he(o)})]}):null]});function vu({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:h,compareMode:u,hasChildren:g,isScrolling:p,isOpen:f,isLeaf:x,metadata:b,showClassAccountNumber:y,onClick:j,depth:v}){const B=N(),L=se(),M=!x,P=M?"pointer":"default",T=L.colors.primary,K=l.length>0?l.substr(0,1).toUpperCase():"",[H,Y]=I.useState(!1),q=b.classAncestorMetadata??[];return t.jsxs(fu,{"data-testid":m("class-row-root-container",n),height:r,bgColor:o,children:[t.jsxs(xu,{"data-testid":m("class-row-container",n),style:{cursor:P},onClick:()=>j?.(n),onMouseOver:()=>Y(!0),onMouseLeave:()=>Y(!1),children:[ge(e)===!0?t.jsxs(yu,{isSticky:i,windowSize:B,bgColor:o,children:[t.jsx(Ir,{name:l,ancestorMetadata:q,depth:v}),t.jsx(ju,{metadata:q[v],depth:v}),t.jsx(ye,{color:_(T),showCollapsedIcon:!f,showIcon:H&&M,firstLetter:K,showTreeLine:g}),t.jsx(bu,{children:t.jsx(ku,{style:{color:T},children:l})}),H===!0&&y===!0&&c!==void 0&&t.jsx(Cu,{children:c})]}):null,xe(e)===!0?t.jsx(mu,{children:d.map((ue,
|
|
2472
|
+
`,ju=({metadata:e,depth:o})=>o===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(gn,{}):t.jsx(fn,{}),Su=({type:e,balance:o,color:i,isActualVsForecastOn:n,compareMode:r})=>t.jsxs(wu,{children:[ae(e)===!0||n?t.jsx(Ke,{style:{color:i},children:Z(o)}):t.jsx(Ke,{style:{color:i},children:J(o)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ke,{style:{color:i},children:J(o)}),t.jsx(Ke,{style:{color:i},children:r==="compare_mode_percent"?de(o):he(o)})]}):null]});function vu({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:h,compareMode:u,hasChildren:g,isScrolling:p,isOpen:f,isLeaf:x,metadata:b,showClassAccountNumber:y,onClick:j,depth:v}){const B=N(),L=se(),M=!x,P=M?"pointer":"default",T=L.colors.primary,K=l.length>0?l.substr(0,1).toUpperCase():"",[H,Y]=I.useState(!1),q=b.classAncestorMetadata??[];return t.jsxs(fu,{"data-testid":m("class-row-root-container",n),height:r,bgColor:o,children:[t.jsxs(xu,{"data-testid":m("class-row-container",n),style:{cursor:P},onClick:()=>j?.(n),onMouseOver:()=>Y(!0),onMouseLeave:()=>Y(!1),children:[ge(e)===!0?t.jsxs(yu,{isSticky:i,windowSize:B,bgColor:o,children:[t.jsx(Ir,{name:l,ancestorMetadata:q,depth:v}),t.jsx(ju,{metadata:q[v],depth:v}),t.jsx(ye,{color:_(T),showCollapsedIcon:!f,showIcon:H&&M,firstLetter:K,showTreeLine:g}),t.jsx(bu,{children:t.jsx(ku,{style:{color:T},children:l})}),H===!0&&y===!0&&c!==void 0&&t.jsx(Cu,{children:c})]}):null,xe(e)===!0?t.jsx(mu,{children:d.map((ue,Q)=>t.jsx(Su,{type:e,sectionName:l,balance:ue,isActualVsForecastOn:h,compareMode:u,color:T},Q))}):null]}),t.jsx($u,{isScrolling:p,isLeaf:x,isOpen:f})]})}function $u({isScrolling:e,isLeaf:o,isOpen:i}){return o||!i?t.jsx(be,{isScrolling:e,kind:"section_row_separator"}):null}a.div`
|
|
2473
2473
|
display: flex;
|
|
2474
2474
|
flex: 1 1 auto;
|
|
2475
2475
|
width: fit-content;
|
|
@@ -2644,7 +2644,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2644
2644
|
clear: both;
|
|
2645
2645
|
display: inline-block;
|
|
2646
2646
|
text-align: left;
|
|
2647
|
-
`,Du=({type:e,balance:o,isActualVsForecastOn:i,compareMode:n,account:r,showTotal:l,onAccountBalanceClick:c})=>{const d=o!=null?A.isCalculatedBalanceType(o?.type):!1,h=r!=null&&o!=null&&c!=null&&d!==!0,u=l===!0?Ho(o):Z(o),g=l===!0?xt(o):J(o),p=l===!0?Ko(o):de(o),f=l===!0?Yo(o):he(o);return t.jsxs(Pu,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||i?t.jsx(Ue,{"data-testid":m("account-row-balance-actual",e),isClickable:h,onClick:x=>{x.stopPropagation(),h===!0&&r!=null&&o!=null&&c?.(r,o)},children:u}):t.jsx(Ue,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),i?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),t.jsx(Ue,{"data-testid":m("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:n==="compare_mode_percent"?p:f})]}):null]})};function Ru({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:h,metadata:u,isScrolling:g,noMarginForAccount:p,isLeaf:f,isOpen:x,isLastNode:b,account:y,onAccountBalanceClick:j,onClick:v}){const B=N(),L=y!=null?y.id.length-1:0,M=y?.hasSiblings??!1,P=y!=null?y.children.length!==0:!1,T=u,{common:{strings:{empty:K}}}=O.getLocalizedStrings(),H=y?.account.accountDescription?y.account.accountDescription:K,Y=y?.account.accountName?y.account.accountName:H;return t.jsxs(Iu,{"data-testid":m("sub-account-row",n),height:r,bgColor:o,children:[t.jsxs(Fu,{"data-testid":m("sub-account-row-container",n),onClick:()=>v?.(n),children:[t.jsx(Tu,{isClickable:P,isSticky:i,windowSize:B,bgColor:o,containerHeight:r,children:t.jsx(Vu,{title:Y,children:t.jsx(
|
|
2647
|
+
`,Du=({type:e,balance:o,isActualVsForecastOn:i,compareMode:n,account:r,showTotal:l,onAccountBalanceClick:c})=>{const d=o!=null?A.isCalculatedBalanceType(o?.type):!1,h=r!=null&&o!=null&&c!=null&&d!==!0,u=l===!0?Ho(o):Z(o),g=l===!0?xt(o):J(o),p=l===!0?Ko(o):de(o),f=l===!0?Yo(o):he(o);return t.jsxs(Pu,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||i?t.jsx(Ue,{"data-testid":m("account-row-balance-actual",e),isClickable:h,onClick:x=>{x.stopPropagation(),h===!0&&r!=null&&o!=null&&c?.(r,o)},children:u}):t.jsx(Ue,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),i?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),t.jsx(Ue,{"data-testid":m("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:n==="compare_mode_percent"?p:f})]}):null]})};function Ru({type:e,backgroundColor:o,isSticky:i,treeNodeId:n,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:h,metadata:u,isScrolling:g,noMarginForAccount:p,isLeaf:f,isOpen:x,isLastNode:b,account:y,onAccountBalanceClick:j,onClick:v}){const B=N(),L=y!=null?y.id.length-1:0,M=y?.hasSiblings??!1,P=y!=null?y.children.length!==0:!1,T=u,{common:{strings:{empty:K}}}=O.getLocalizedStrings(),H=y?.account.accountDescription?y.account.accountDescription:K,Y=y?.account.accountName?y.account.accountName:H;return t.jsxs(Iu,{"data-testid":m("sub-account-row",n),height:r,bgColor:o,children:[t.jsxs(Fu,{"data-testid":m("sub-account-row-container",n),onClick:()=>v?.(n),children:[t.jsx(Tu,{isClickable:P,isSticky:i,windowSize:B,bgColor:o,containerHeight:r,children:t.jsx(Vu,{title:Y,children:t.jsx(Qo,{displayName:Y,depth:L,classDepth:l,isLastNode:b,hasChildren:P,hasSiblings:M,isLeaf:f,collapsed:!x,subAccountAnscestorMetadata:T.subAccountAncestorMetadata,classAnscestorMetadata:T.classAncestorMetadata??[],noMarginForAccount:p})})}),xe(e)===!0?t.jsx(zu,{children:c.map((q,ue)=>t.jsx(Du,{type:e,isActualVsForecastOn:d,compareMode:h,balance:q,account:y?.account,showTotal:!x,onAccountBalanceClick:j==null?void 0:(Q,ne)=>{j(n,Q,ne)}},ue))}):null]}),t.jsx(Gu,{isScrolling:g,isLeaf:f,isOpen:x,depth:L,isSticky:i,classDepth:l,noMarginForAccount:p})]})}function Gu({isScrolling:e,depth:o,isOpen:i,isLeaf:n,isSticky:r,classDepth:l,noMarginForAccount:c}){return!i||n===!0?t.jsx(be,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:o,isSticky:r,classDepth:l,noMarginForAccount:c}}):null}const Eu=[10,14,20,20,20],Hu=a.div`
|
|
2648
2648
|
display: flex;
|
|
2649
2649
|
flex: 1 1 auto;
|
|
2650
2650
|
width: fit-content;
|
|
@@ -2706,7 +2706,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2706
2706
|
margin-left: ${e=>Eu[e.depth]}px;
|
|
2707
2707
|
color: ${e=>e.theme.colors.primary};
|
|
2708
2708
|
width: ${e=>C.titleWidth.value(e.windowSize)-e.depth*80}px;
|
|
2709
|
-
`,
|
|
2709
|
+
`,Qu=({type:e,balance:o,isActualVsForecastOn:i,compareMode:n})=>t.jsxs(Zu,{"data-testid":m("sub-account-row-balance-element",e),children:[ae(e)===!0||i?t.jsx(Ze,{"data-testid":m("sub-account-row-balance-element-actual",e),isClickable:!1,children:Ho(o)}):t.jsx(Ze,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:xt(o)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Ze,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:xt(o)}),t.jsx(Ze,{"data-testid":m("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:n==="compare_mode_percent"?Ko(o):Yo(o)})]}):null]});function Xu({type:e,backgroundColor:o,isSticky:i,height:n,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:h,isActualVsForecastOn:u,compareMode:g,isScrolling:p,metadata:f}){const x=N(),b=O.getLocalizedStrings().reports.sections,y=d!=null?d.id.length-1:0,j=f;return t.jsxs(Hu,{height:n,bgColor:o,children:[t.jsxs(Ku,{children:[t.jsxs(qu,{isSticky:i,windowSize:x,bgColor:o,containerHeight:n,children:[r!=null?t.jsx(qo,{ancestorMetadata:j.classAncestorMetadata??[],depth:r,name:l}):h===!1?t.jsx(Yu,{windowSize:x}):null,t.jsx(Jo,{ancestorMetadata:j.subAccountAncestorMetadata,depth:y,name:l}),t.jsx(Ju,{"data-testid":m("sub-account-row-name",e),isClickable:!1,title:l,depth:y,windowSize:x,children:b.totalPrefix+" "+l})]}),xe(e)===!0?t.jsx(Uu,{children:c.map((v,B)=>t.jsx(Qu,{type:e,isActualVsForecastOn:u,compareMode:g,balance:v},B))}):null]}),t.jsx(ep,{isScrolling:p,nestingLevel:y,isSticky:i,classDepth:r,noMarginForAccount:h})]})}function ep({isScrolling:e,nestingLevel:o,isSticky:i,classDepth:n,noMarginForAccount:r}){return t.jsx(be,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:o,isSticky:i,classDepth:n,noMarginForAccount:r}})}const tp=a.div`
|
|
2710
2710
|
user-select: none;
|
|
2711
2711
|
display: flex;
|
|
2712
2712
|
flex: 1 1 auto;
|
|
@@ -2803,7 +2803,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2803
2803
|
`,sp=a.div`
|
|
2804
2804
|
max-height: 54px;
|
|
2805
2805
|
min-height: 54px;
|
|
2806
|
-
`,Ji=({firstMonthOfFY:e,timeframeTick:o,timeframe:i,dataAvailable:n,bookCloseDate:r})=>{const l=O.getLocalizedStrings().reports,c=r!=null&&n!=null&&(o.balanceType==="default"||o.balanceType==="default_with_percent")?A.getTimeframeTickTag(i,e,o,r,n):void 0,d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Ii(c,i);return t.jsx(sp,{children:r!=null&&n!=null&&c!=null&&d!=null&&h!=null?t.jsx(Ni,{firstMonthOfFY:e,timeframeTick:o,timeframe:i,tagName:d,infoContent:h,tagType:c}):t.jsx(Zi,{isActualVsForecastOn:!1,children:t.jsx(qi,{children:We(e,o,i)})})})},dp=({firstMonthOfFY:e,timeframeTick:o,timeframe:i,isActualVsForecastOn:n,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const h=O.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${O.getLocalizedStrings().compareMode.changePrefix} ${o.currencySymbol}`:O.getLocalizedStrings().compareMode.changePercent;return n===!0?t.jsxs(cp,{isActualVsForecastOn:n,children:[t.jsx(Zi,{isActualVsForecastOn:n,children:t.jsx(qi,{children:We(e,o,i)})}),t.jsxs(np,{isActualVsForecastOn:n,children:[t.jsx(ft,{children:h.actual}),t.jsx(ft,{children:h.forecast}),t.jsx(ft,{children:t.jsx(Yt,{title:u,titleTextStyle:Nt.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ji,{firstMonthOfFY:e,timeframeTick:o,timeframe:i,dataAvailable:l,bookCloseDate:c})},hp=({firstMonthOfFY:e,timeframeTicks:o,timeframe:i,compareMode:n,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=se(),h=n==="compare_mode_amount"?`${O.getLocalizedStrings().compareMode.changePrefix} ${o[0].currencySymbol}`:O.getLocalizedStrings().compareMode.changePercent;return t.jsx(rp,{children:o.map((u,g)=>t.jsx(I.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(lp,{children:t.jsx(Yt,{title:h,titleTextStyle:Nt.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:n,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?c?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx(ap,{children:t.jsx(Ji,{firstMonthOfFY:e,timeframeTick:u,timeframe:i,dataAvailable:r,bookCloseDate:l},g)})},g))})};function up({type:e,backgroundColor:o,isSticky:i,height:n,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const x=N();return t.jsxs(tp,{height:n,bgColor:o,children:[ge(e)===!0?t.jsx(ip,{isSticky:i,windowSize:x,bgColor:o,children:" . "}):null,t.jsx(op,{children:l===!0?t.jsx(hp,{firstMonthOfFY:c,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((b,y)=>t.jsx(dp,{firstMonthOfFY:c,timeframeTick:b,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},y))})]})}const lt=(e,o,i,n,r,l,c,d,h,u,g)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const p=i.element.data,f=A.isDashboardClassesViewReport(i.config.reportId)===!0||A.isPAndLClassesViewReport(i.config.reportId)===!0?Si("no_filter",i.config.filterAccountsWithNilBalances):tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),i.config.displayOrder,i.element.numOfBalances);return t.jsx(pu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:u,accountBalances:x.balances,isScrolling:c,isLeaf:d,isLastNode:h,account:p,onAccountBalanceClick:g==null?void 0:(b,y,j)=>{g?.(b,y,j)}})},Ie=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_subaccount"||i.element.data==null)return null;const f=i.element.data,x=qt("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=Ei(x.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),y=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,j=i.config.reportId==="operating_expenses";return t.jsx(Ru,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",classDepth:y,compareMode:g,accountBalances:b.balances,isScrolling:c,isLeaf:d,isOpen:h,isLastNode:u,account:f,metadata:i.element.metadata,onClick:p,noMarginForAccount:j,onAccountBalanceClick:p==null?void 0:(v,B,L)=>{p?.(v,B,L)}})},ct=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,x=tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Uh,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Xt=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_group_subaccount"||i.element.data==null)return null;const f=i.element.data,x=qt("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(nu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Qt=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},st=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},eo=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Fe=(e,o,i,n,r,l,c,d,h)=>{if(o.element.kind!="ac_subentity_total")return null;const u=o.element.data,g=qt("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=Ei(g.acBalanceSelector(u),o.config.displayOrder,o.element.numOfBalances),x=o.config.reportId==="operating_expenses"||o.config.reportId==="operating_expenses_by_classes";return t.jsx(Qu,{type:e,backgroundColor:n,isSticky:r,height:i,accountName:u.account.accountName,account:u,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:x,isLeaf:c,isLastNode:d,metadata:o.element.metadata,classDepth:p})},ze=(e,o,i,n,r,l,c,d)=>{if(i.element.kind!=="timeframe_headers"&&i.element.kind!=="timeframe_headers_with_forecast")return null;const h=Ne(i.element.data,i.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>A.toTimeframeTick(p));return t.jsx(up,{treeNodeId:e,backgroundColor:r,isSticky:l,type:o,height:n,isActualVsForecastOn:i.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:i.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:i.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:i.config.dataAvailable,bookCloseDate:i.config.bookCloseDate,onCompareModeChanged:d})},Xi=(e,o,i,n,r,l,c,d,h,u,g,p,f)=>{if(i.element.kind!="class"||i.element.data==null)return null;const x=i.element.data,b=te(x.childrenBalancesTotal,i.config.displayOrder,i.element.numOfBalances),y=g>1;return t.jsx(vu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,className:i.element.title,classCode:i.element.data.class.accountingClassNumber,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",depth:x.id.length-1,compareMode:p,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,hasChildren:x.children.length>0,isLastNode:u,isSubClass:y,showClassAccountNumber:i.config.showClassAccountNumber,onClick:j=>{f?.(j)},metadata:i.element.metadata})},Io=e=>{const{height:o,data:{reportElementData:i,id:n,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,x=(j,v,B)=>{const L=l?u:!u;!l&&B==null&&(p(!u),e.onNodeCollapseToggled?.(j,!u)),e.onNodeClick?.(j,L,v,B)},b=e.treeNodePadding?.left,y=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:b,paddingRight:y},children:t.jsx(Qi,{id:n,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:i,height:o,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:c,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?x:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},n)})},Qi=e=>e.treeKind==="name_only"?t.jsx(wp,{...e}):A.isAgingReport(e.reportElementData.config.reportId)?t.jsx(bp,{...e}):A.isOpExByVendorReport(e.reportElementData.config.reportId)===!0?t.jsx(yp,{...e}):A.isPAndLClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(pp,{...e}):A.isPAndLReport(e.reportElementData.config.reportId)===!0?t.jsx(gp,{...e}):A.isDashboardClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(fp,{...e}):A.isDashboardReport(e.reportElementData.config.reportId)===!0?t.jsx(xp,{...e}):A.isCashFlowOrBalanceSheetReport(e.reportElementData.config.reportId)===!0?t.jsx(mp,{...e}):A.isFluxAnalysisOpExReport(e.reportElementData.config.reportId)===!0?t.jsx(kp,{...e}):A.isAccountReconReport(e.reportElementData.config.reportId)===!0?t.jsx(Cp,{...e}):null,pp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,p,f);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,p,f);case"section":return Qt(e,o,i,n,r,l,c,u,d,h,p,f);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return eo(e,o,i,n,r,l,c,u,d,h,p,f);case"title_string_only":return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,p,x);case"class":return Xi(e,o,i,n,r,l,c,u,d,h,g,p,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,p,f);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,p);default:return null}},gp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Xt(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return Qt(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return eo(e,o,i,n,r,l,c,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);default:return null}},fp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,p,f);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,p,f);case"section":return $i(e,o,i,n,r,l,c,u,d,h,p,f);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return _i(e,o,i,n,r,l,c,u,d,h,p,f);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,p,f);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,p,x);case"class":return Xi(e,o,i,n,r,l,c,u,d,h,g,p,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,p,f);case"total":return Li(e,o,i,n,r,l,p,d);default:return null}},xp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return ec(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return tc(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Xt(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return $i(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return oc(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return _i(e,o,i,n,r,l,c,u,d,h,g,p);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,g,p);case"total":return Li(e,o,i,n,r,l,g,d);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);default:return null}},mp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return Qt(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":return eo(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section_type1":return sl(e,i,n,r,l,c,h);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Xt(e,o,i,n,r,l,c,u,d,h,g,p);default:return null}},wp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(i.element.kind){case"checkbox_and_name_only":return ud(e,o,i,n,r,l,c,u,d,h,g);default:return null}},yp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(i.element.kind){case"loading_in_progress":case"spacer_row":return Sh(i,n,r,l);case"timeframe_headers":return kh(i,n,l,h,r,u);case"total":return Ch(e,o,i,n,l,c,r);case"vendor_row":return jh(o,i,n,r,l,c,d);case"title_string_only":return vh(i,n,r,l);default:return null}},bp=({id:e,treeKind:o,reportElementData:i,height:n,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=i;switch(i.element.kind){case"spacer_row":return null;case"timeframe_headers":return Ca(i,n,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return va(o,i,n,h,l);case"aging_report_row":return ja(e,i,n,r,l,d,c,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return Sa(i,n,l,c,h);default:return null}},kp=({id:e,reportElementData:o,height:i,backgroundColor:n,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(o.element.kind){case"flux_vendor_account_class_row":return Xs(e,o,n,r,l,c,d,f,g);case"flux_vendor_row":return Qs(e,o,n,r,l,u,c,d,h,f,p);case"section":return ed(e,o,i,n,r,l,u,c,d,p);case"timeframe_headers":return td(o,i,r);case"total":return od(o,i);case"loading_in_progress":return id(o);case"headers_loading_in_progress":return nd(o);default:return null}},Cp=({reportElementData:e,height:o,isSticky:i,isLastNode:n})=>{switch(e.element.kind){case"timeframe_headers":return jr(e,i);case"loading_in_progress":return Cr();case"total":return Sr(e,o,i);case"section":return kr();case"title_string_only":return vr(e,o);case"ac_group_report":return $r(e,o,n);default:return null}};function Fo(e,o,i,n){return{data:{defaultHeight:to(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:n??jp(e.reportElementData.config.reportId,e.reportElementData.element.kind,i,e.reportElementData.config.reportFormat),nestingLevel:i,treeKind:o,reportElementData:e.reportElementData},treeKind:o,nestingLevel:i,node:e}}function to(e,o,i){return A.isPAndLReport(e)===!0?_r(o):A.isDashboardReport(e)===!0||A.isDashboardClassesViewReport(e)===!0?fl(o):A.isAgingReport(e)?Tr(o):A.isAccountReconReport(e)?et(o):A.isOpExByVendorReport(e)?pd(o):A.isFluxAnalysisOpExReport(e)?Bi(o,i):Ga(o)}function jp(e,o,i,n){return A.isPAndLReport(e)?Lr(o,n,i):A.isDashboardReport(e)||A.isDashboardClassesViewReport(e)===!0?xl(o,n):A.isAgingReport(e)?Vr():A.isOpExByVendorReport(e)?gd():A.isFluxAnalysisOpExReport(e)?gc(o):A.isAccountReconReport(e)?$n():Ea(o,n)}const Sp=a.div`
|
|
2806
|
+
`,Ji=({firstMonthOfFY:e,timeframeTick:o,timeframe:i,dataAvailable:n,bookCloseDate:r})=>{const l=O.getLocalizedStrings().reports,c=r!=null&&n!=null&&(o.balanceType==="default"||o.balanceType==="default_with_percent")?A.getTimeframeTickTag(i,e,o,r,n):void 0,d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Ii(c,i);return t.jsx(sp,{children:r!=null&&n!=null&&c!=null&&d!=null&&h!=null?t.jsx(Ni,{firstMonthOfFY:e,timeframeTick:o,timeframe:i,tagName:d,infoContent:h,tagType:c}):t.jsx(Zi,{isActualVsForecastOn:!1,children:t.jsx(qi,{children:We(e,o,i)})})})},dp=({firstMonthOfFY:e,timeframeTick:o,timeframe:i,isActualVsForecastOn:n,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const h=O.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${O.getLocalizedStrings().compareMode.changePrefix} ${o.currencySymbol}`:O.getLocalizedStrings().compareMode.changePercent;return n===!0?t.jsxs(cp,{isActualVsForecastOn:n,children:[t.jsx(Zi,{isActualVsForecastOn:n,children:t.jsx(qi,{children:We(e,o,i)})}),t.jsxs(np,{isActualVsForecastOn:n,children:[t.jsx(ft,{children:h.actual}),t.jsx(ft,{children:h.forecast}),t.jsx(ft,{children:t.jsx(Yt,{title:u,titleTextStyle:Nt.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ji,{firstMonthOfFY:e,timeframeTick:o,timeframe:i,dataAvailable:l,bookCloseDate:c})},hp=({firstMonthOfFY:e,timeframeTicks:o,timeframe:i,compareMode:n,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=se(),h=n==="compare_mode_amount"?`${O.getLocalizedStrings().compareMode.changePrefix} ${o[0].currencySymbol}`:O.getLocalizedStrings().compareMode.changePercent;return t.jsx(rp,{children:o.map((u,g)=>t.jsx(I.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(lp,{children:t.jsx(Yt,{title:h,titleTextStyle:Nt.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:n,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?c?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx(ap,{children:t.jsx(Ji,{firstMonthOfFY:e,timeframeTick:u,timeframe:i,dataAvailable:r,bookCloseDate:l},g)})},g))})};function up({type:e,backgroundColor:o,isSticky:i,height:n,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const x=N();return t.jsxs(tp,{height:n,bgColor:o,children:[ge(e)===!0?t.jsx(ip,{isSticky:i,windowSize:x,bgColor:o,children:" . "}):null,t.jsx(op,{children:l===!0?t.jsx(hp,{firstMonthOfFY:c,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((b,y)=>t.jsx(dp,{firstMonthOfFY:c,timeframeTick:b,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},y))})]})}const lt=(e,o,i,n,r,l,c,d,h,u,g)=>{if(i.element.kind!="ac_report"||i.element.data==null)return null;const p=i.element.data,f=A.isDashboardClassesViewReport(i.config.reportId)===!0||A.isPAndLClassesViewReport(i.config.reportId)===!0?Si("no_filter",i.config.filterAccountsWithNilBalances):tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),i.config.displayOrder,i.element.numOfBalances);return t.jsx(pu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:u,accountBalances:x.balances,isScrolling:c,isLeaf:d,isLastNode:h,account:p,onAccountBalanceClick:g==null?void 0:(b,y,j)=>{g?.(b,y,j)}})},Ie=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_subaccount"||i.element.data==null)return null;const f=i.element.data,x=qt("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=Ei(x.acBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances),y=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,j=i.config.reportId==="operating_expenses";return t.jsx(Ru,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",classDepth:y,compareMode:g,accountBalances:b.balances,isScrolling:c,isLeaf:d,isOpen:h,isLastNode:u,account:f,metadata:i.element.metadata,onClick:p,noMarginForAccount:j,onAccountBalanceClick:p==null?void 0:(v,B,L)=>{p?.(v,B,L)}})},ct=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_group_report"||i.element.data==null)return null;const f=i.element.data,x=tt(i.element.sectionType,"no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(Uh,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Qt=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="ac_group_subaccount"||i.element.data==null)return null;const f=i.element.data,x=qt("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),i.config.displayOrder,i.element.numOfBalances);return t.jsx(nu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Xt=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},st=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="section_with_ac_only"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},eo=(e,o,i,n,r,l,c,d,h,u,g,p)=>{if(i.element.kind!="calculated_section"||i.element.data==null)return null;const f=Lt(i.element.title),x=i.element.data,b=te(x,i.config.displayOrder,i.element.numOfBalances);return t.jsx(Jt,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,sectionName:i.element.title,sectionColor:f,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Fe=(e,o,i,n,r,l,c,d,h)=>{if(o.element.kind!="ac_subentity_total")return null;const u=o.element.data,g=qt("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=Ei(g.acBalanceSelector(u),o.config.displayOrder,o.element.numOfBalances),x=o.config.reportId==="operating_expenses"||o.config.reportId==="operating_expenses_by_classes";return t.jsx(Xu,{type:e,backgroundColor:n,isSticky:r,height:i,accountName:u.account.accountName,account:u,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:x,isLeaf:c,isLastNode:d,metadata:o.element.metadata,classDepth:p})},ze=(e,o,i,n,r,l,c,d)=>{if(i.element.kind!=="timeframe_headers"&&i.element.kind!=="timeframe_headers_with_forecast")return null;const h=Ne(i.element.data,i.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>A.toTimeframeTick(p));return t.jsx(up,{treeNodeId:e,backgroundColor:r,isSticky:l,type:o,height:n,isActualVsForecastOn:i.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:i.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:i.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:i.config.dataAvailable,bookCloseDate:i.config.bookCloseDate,onCompareModeChanged:d})},Qi=(e,o,i,n,r,l,c,d,h,u,g,p,f)=>{if(i.element.kind!="class"||i.element.data==null)return null;const x=i.element.data,b=te(x.childrenBalancesTotal,i.config.displayOrder,i.element.numOfBalances),y=g>1;return t.jsx(vu,{type:o,backgroundColor:r,isSticky:l,treeNodeId:e,height:n,className:i.element.title,classCode:i.element.data.class.accountingClassNumber,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",depth:x.id.length-1,compareMode:p,sectionBalances:b.balances,isScrolling:c,isOpen:d,isLeaf:h,hasChildren:x.children.length>0,isLastNode:u,isSubClass:y,showClassAccountNumber:i.config.showClassAccountNumber,onClick:j=>{f?.(j)},metadata:i.element.metadata})},Io=e=>{const{height:o,data:{reportElementData:i,id:n,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,x=(j,v,B)=>{const L=l?u:!u;!l&&B==null&&(p(!u),e.onNodeCollapseToggled?.(j,!u)),e.onNodeClick?.(j,L,v,B)},b=e.treeNodePadding?.left,y=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:b,paddingRight:y},children:t.jsx(Xi,{id:n,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:i,height:o,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:c,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?x:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},n)})},Xi=e=>e.treeKind==="name_only"?t.jsx(wp,{...e}):A.isAgingReport(e.reportElementData.config.reportId)?t.jsx(bp,{...e}):A.isOpExByVendorReport(e.reportElementData.config.reportId)===!0?t.jsx(yp,{...e}):A.isPAndLClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(pp,{...e}):A.isPAndLReport(e.reportElementData.config.reportId)===!0?t.jsx(gp,{...e}):A.isDashboardClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(fp,{...e}):A.isDashboardReport(e.reportElementData.config.reportId)===!0?t.jsx(xp,{...e}):A.isCashFlowOrBalanceSheetReport(e.reportElementData.config.reportId)===!0?t.jsx(mp,{...e}):A.isFluxAnalysisOpExReport(e.reportElementData.config.reportId)===!0?t.jsx(kp,{...e}):A.isAccountReconReport(e.reportElementData.config.reportId)===!0?t.jsx(Cp,{...e}):null,pp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,p,f);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,p,f);case"section":return Xt(e,o,i,n,r,l,c,u,d,h,p,f);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return eo(e,o,i,n,r,l,c,u,d,h,p,f);case"title_string_only":return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,p,x);case"class":return Qi(e,o,i,n,r,l,c,u,d,h,g,p,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,p,f);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,p);default:return null}},gp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Qt(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return Xt(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return eo(e,o,i,n,r,l,c,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);default:return null}},fp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,p,f);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,p,f);case"section":return $i(e,o,i,n,r,l,c,u,d,h,p,f);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return _i(e,o,i,n,r,l,c,u,d,h,p,f);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,p,f);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,p,x);case"class":return Qi(e,o,i,n,r,l,c,u,d,h,g,p,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,p,f);case"total":return Li(e,o,i,n,r,l,p,d);default:return null}},xp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return ec(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return tc(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Qt(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return $i(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return oc(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return _i(e,o,i,n,r,l,c,u,d,h,g,p);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,g,p);case"total":return Li(e,o,i,n,r,l,g,d);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);default:return null}},mp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(i.element.kind){case"ac_report":return lt(e,o,i,n,r,l,c,d,h,g,p);case"ac_group_report":return ct(e,o,i,n,r,l,c,u,d,h,g,p);case"section":return Xt(e,o,i,n,r,l,c,u,d,h,g,p);case"section_with_ac_only":return st(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section":return eo(e,o,i,n,r,l,c,u,d,h,g,p);case"calculated_section_type1":return sl(e,i,n,r,l,c,h);case"title_string_only":return Dt(e,o,i,n,r,l,c,u,d,h,g,p);case"ac_subentity_total":return Fe(o,i,n,r,l,c,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return ze(e,o,i,n,r,l,g,f);case"ac_subaccount":return Ie(e,o,i,n,r,l,c,d,u,h,g,p);case"ac_group_subaccount":return Qt(e,o,i,n,r,l,c,u,d,h,g,p);default:return null}},wp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(i.element.kind){case"checkbox_and_name_only":return ud(e,o,i,n,r,l,c,u,d,h,g);default:return null}},yp=({id:e,treeKind:o,reportElementData:i,height:n,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(i.element.kind){case"loading_in_progress":case"spacer_row":return Sh(i,n,r,l);case"timeframe_headers":return kh(i,n,l,h,r,u);case"total":return Ch(e,o,i,n,l,c,r);case"vendor_row":return jh(o,i,n,r,l,c,d);case"title_string_only":return vh(i,n,r,l);default:return null}},bp=({id:e,treeKind:o,reportElementData:i,height:n,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=i;switch(i.element.kind){case"spacer_row":return null;case"timeframe_headers":return Ca(i,n,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return va(o,i,n,h,l);case"aging_report_row":return ja(e,i,n,r,l,d,c,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return Sa(i,n,l,c,h);default:return null}},kp=({id:e,reportElementData:o,height:i,backgroundColor:n,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(o.element.kind){case"flux_vendor_account_class_row":return Qs(e,o,n,r,l,c,d,f,g);case"flux_vendor_row":return Xs(e,o,n,r,l,u,c,d,h,f,p);case"section":return ed(e,o,i,n,r,l,u,c,d,p);case"timeframe_headers":return td(o,i,r);case"total":return od(o,i);case"loading_in_progress":return id(o);case"headers_loading_in_progress":return nd(o);default:return null}},Cp=({reportElementData:e,height:o,isSticky:i,isLastNode:n})=>{switch(e.element.kind){case"timeframe_headers":return jr(e,i);case"loading_in_progress":return Cr();case"total":return Sr(e,o,i);case"section":return kr();case"title_string_only":return vr(e,o);case"ac_group_report":return $r(e,o,n);default:return null}};function Fo(e,o,i,n){return{data:{defaultHeight:to(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:n??jp(e.reportElementData.config.reportId,e.reportElementData.element.kind,i,e.reportElementData.config.reportFormat),nestingLevel:i,treeKind:o,reportElementData:e.reportElementData},treeKind:o,nestingLevel:i,node:e}}function to(e,o,i){return A.isPAndLReport(e)===!0?_r(o):A.isDashboardReport(e)===!0||A.isDashboardClassesViewReport(e)===!0?fl(o):A.isAgingReport(e)?Tr(o):A.isAccountReconReport(e)?et(o):A.isOpExByVendorReport(e)?pd(o):A.isFluxAnalysisOpExReport(e)?Bi(o,i):Ga(o)}function jp(e,o,i,n){return A.isPAndLReport(e)?Lr(o,n,i):A.isDashboardReport(e)||A.isDashboardClassesViewReport(e)===!0?xl(o,n):A.isAgingReport(e)?Vr():A.isOpExByVendorReport(e)?gd():A.isFluxAnalysisOpExReport(e)?gc(o):A.isAccountReconReport(e)?$n():Ea(o,n)}const Sp=a.div`
|
|
2807
2807
|
top: 0;
|
|
2808
2808
|
left: 0;
|
|
2809
2809
|
position: sticky !important;
|
|
@@ -2818,7 +2818,7 @@ import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X
|
|
|
2818
2818
|
align-items: center;
|
|
2819
2819
|
background-color: ${e=>e.bgColor?.hex()};
|
|
2820
2820
|
box-sizing: border-box;
|
|
2821
|
-
`;function vp({height:e,backgroundColor:o,headers:i,treeKind:n,isSticky:r,compareMode:l,onCompareModeChanged:c}){return i.length===0?null:(i.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Sp,{heightValue:e,bgColor:o,"data-testid":m("sticky-header-report-tree"),children:i.map((d,h)=>t.jsx(
|
|
2821
|
+
`;function vp({height:e,backgroundColor:o,headers:i,treeKind:n,isSticky:r,compareMode:l,onCompareModeChanged:c}){return i.length===0?null:(i.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Sp,{heightValue:e,bgColor:o,"data-testid":m("sticky-header-report-tree"),children:i.map((d,h)=>t.jsx(Xi,{id:d.id,treeKind:n,reportElementData:d.reportElementData,height:to(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:o,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:i.length-1===h,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const $p=(e,o,i)=>function*(){for(let n=0;n<o.length;++n)yield Fo(o[n],e,0,i[o[n].id]??void 0);for(;;){const n=yield;for(let r=0;r<n.node.children.length;++r)yield Fo(n.node.children[r],e,n.nestingLevel+1,i[n.node.children[r].id]??void 0)}},en=I.createContext(void 0);function _p({height:e,kind:o,rootNodes:i,compareMode:n,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:h,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:p,variableNodeHeightTree:f,onNodeClick:x,onCompareModeChanged:b,scrollPosition:y,onScroll:j,nodeOpenStatus:v,onNodeCollapseToggled:B,onTreeInnerElementHeightChanged:L,onToggleCheck:M,hoveredParentIdProps:P}){const T=I.useRef(null),K=I.useRef(null),H=lo(f?.prevFetchState),Y=lo(f?.prevRefreshFetchState),[q,ue]=I.useState(0),Q=g??K,ne=u??T,je=N(),[le,pe]=I.useState(void 0),[Pe,oo]=I.useState(!1),[Te,io]=I.useState(v),no=(z,oe)=>{io(Object.assign({},Te,{[z]:oe})),B?.(z,oe)},ro=z=>{if(i.contentNodes.length>0)if(Object.keys(z).length>0){const oe={};Object.keys(z).forEach(me=>{oe[me]={open:z[me]}}),ne?.current?.recomputeTree(oe)}else{const oe=i.contentNodes[0].id;ne?.current?.recomputeTree({[oe]:{open:!0}})}};I.useLayoutEffect(()=>{if((!co(y,le)||le==null)&&Q.current!=null){const z=y?.scrollLeft==null?je==="small"?0:Q.current.scrollWidth:y?.scrollLeft;if(y!=null){const oe={scrollTop:y.scrollTop,scrollLeft:z};pe(oe),z!==y?.scrollLeft&&j?.(oe)}Q.current.scroll({left:z,top:y?.scrollTop})}},[y]),I.useEffect(()=>{co(v,Te)||(io(v),ro(v))},[v]),I.useEffect(()=>{const z=Q.current,oe=cn(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const me={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};pe(me),j?.(me)}},50);return z?.addEventListener("scroll",oe),()=>{z?.removeEventListener("scroll",oe)}},[Q,le,j]),I.useEffect(()=>{if(i.contentNodes.length>0){ro(Te);const z=i.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==Pe&&oo(z)}},[Pe,oo,i,ne,Q]),I.useEffect(()=>{(f!=null&&H==="In-Progress"&&f.fetchState==="Completed"&&f.isSortApplied||f!=null&&Y==="In-Progress"&&f.refreshFetchState==="Completed")&&(f.reducedFetchState==="Completed"&&f.setIsSortApplied(!1),ue(q+1))},[q,f?.fetchState,f?.isSortApplied,H,Y,f]);const dt=I.useRef(),[tn,on]=I.useState(void 0),nn=()=>{const z=dt.current;z!=null&&z.clientHeight>0&&z.clientHeight!=tn&&(on(z.clientHeight),L?.(z.clientHeight))},ao=I.useCallback($p(o,i.contentNodes,Te),[o,i]),rn={rootNodes:i,treeNodePadding:c,backgroundColor:l,kind:o,isSticky:r,compareMode:n,onCompareModeChanged:b};return t.jsx(en.Provider,{value:rn,"data-testid":m("report-tree"),children:p==null?t.jsx(so,{className:d,style:h,ref:ne,innerRef:dt,outerRef:Q,innerElementType:_t,treeWalker:ao,onItemsRendered:nn,height:e,width:"100%",children:z=>t.jsx(Io,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:x,onNodeCollapseToggled:no,compareMode:n,onCompareModeChanged:b,onToggleCheck:M})}):t.jsx(sn,{isItemLoaded:p.isItemLoaded,itemCount:p.itemCount+1,loadMoreItems:p.loadMoreItems,children:({onItemsRendered:z,ref:oe})=>t.jsx(so,{className:d,style:h,ref:oe,innerRef:dt,outerRef:Q,innerElementType:_t,treeWalker:ao,onItemsRendered:z,height:e,width:"100%",children:me=>t.jsx(Io,{...me,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:x,onNodeCollapseToggled:no,compareMode:n,onCompareModeChanged:b,onToggleCheck:M,hoveredParentIdProps:P})},q)})})}const _t=I.forwardRef((e,o)=>{const{children:i,style:n,...r}=e,{rootNodes:l,treeNodePadding:c,backgroundColor:d,kind:h,isSticky:u,compareMode:g,onCompareModeChanged:p}=I.useContext(en),f=l.headerNodes.reduce((y,j)=>y+to(j.reportElementData.config.reportId,j.reportElementData.element.kind,j.isFirstNode),0),x=c?.left,b=c?.right;return t.jsxs("div",{ref:o,style:{...n,width:"auto",minWidth:"100%",paddingLeft:x,paddingRight:b},...r,children:[t.jsx(vp,{height:f,backgroundColor:d,headers:l.headerNodes,treeKind:h,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:p}),i]})});_t.displayName="stickyInnerElementType";const Lp=a.div`
|
|
2822
2822
|
display: flex;
|
|
2823
2823
|
flex: 1 0 auto;
|
|
2824
2824
|
width: ${e=>e.width}px;
|