@zeniai/web-cockpit-ui 1.13.85-qa → 1.13.86-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-CRqyoYEz-BOyw7D7v.js → ACHDetailsPage-DGGeHZnW-CRRXdkuL.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DR1Rn68p.js → AIPerformancePage-BnFh61HC-DG1jrKEt.js} +24 -24
- package/dist/assets/AccountInfoPage-BoCzcaQW-DXC6zcEv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-BwEofkT3.js → AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-D-07Ys_g.js → AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js} +18 -18
- package/dist/assets/AccountRow-vtPa0PJn-DyxPucxT.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-C63cClOI.js → AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BT9i1kr2.js → AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bo2KesYz-B6pn-wDw.js → AddToWalletPage-D3yOWwc3-Dt5WZtr8.js} +30 -30
- package/dist/assets/{AgingReportsPage-DuoKsSkU-D2pt3N1l.js → AgingReportsPage-DlB02nzb-DT1hA1_s.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-DLoP83Sx.js → AllUserItems-Bwbb5_fm-BcHqhbO0.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-Dh1nmwAG.js → ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js} +3 -3
- package/dist/assets/{AppBasePage-CfkaWEbJ-Bv3CGV1I.js → AppBasePage-DyGLpjZ0-DttRVXyT.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-CDNjVPxb.js → AppDrawerContent-D_dlUPFp-BL5bhrHC.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-O1hX1O5a.js → ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-CYApUAH7.js → ArAgingChart-CR7dx7XY-Cx6fMjBH.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-DgYDd0kk.js → ArAgingDetailPage-kU_SEimL-B5vhsKkP.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-D38bw4nL.js → AttachmentView-ClQPirg--D1d3_Uda.js} +8 -8
- package/dist/assets/{BankAccountSection-DB4PEf_X--XKoeQkb.js → BankAccountSection-DLB1oftk-DEn9rP2e.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-C7lGSojx.js → BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-BOreBo5b-5l_djXua.js → BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js} +22 -22
- package/dist/assets/{BillDetailPage-Bv86SywV-jkHBDmPc.js → BillDetailPage-Bfrn4oa6-D2E_Tt5J.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-tKogNh_O.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BRD-ODg8.js → BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js} +3 -3
- package/dist/assets/{BillPayPromoPage-Co2j2krO-B-Hi3v0R.js → BillPayPromoPage-CKETeVet-WnOIT8cc.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DjpCUZaT-BImJiA0N.js → BillPaySetUpPage-DIz-RZih-CC05m-y7.js} +2 -2
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-dHjwNV6l.js → BoxItem-B8KF3Skh-TmzJmYZc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CZGOzc9Z-BxBWKK3p.js → BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js} +8 -8
- package/dist/assets/{CardNumberSubText-23sLjCVt-p-FcxRyz.js → CardNumberSubText-CNiPWVeO-OlxmvVJt.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-B2flhYaR.js → CashbackDetailPage-BNWBGKHa-bIlWYuwv.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-NWTPnGtM-GzsfA6im.js → ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js} +58 -58
- package/dist/assets/{ChargeCardListPage-D42dfnET-Dw_Gnic_.js → ChargeCardListPage-CXbTalVQ-D381djUW.js} +35 -35
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-PjQ3L9G6.js → ChargeCardListTable-D4-Br785-DpvUrE9e.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Ccc8PoCm-DGeNkrzB.js → ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-DZPmPw5i.js → ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js} +4 -4
- package/dist/assets/{ChargeCardUtils-B3JEziD7-Dyg77jk5.js → ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-D9O--vXG.js → ChaseOverlay-DfjQ73Ie-BOsM74a7.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js +206 -0
- package/dist/assets/{CollapsableReportTable-DshWn4Fc-CJTqtHsL.js → CollapsableReportTable-CHsJ-93l-CZG5w07A.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-CtOYg9is.js → CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js} +26 -26
- package/dist/assets/{CompanyPassportCard-fyolEQTs-HThTUw8Q.js → CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-D-W-kZ0u.js → CompanyPassportPage-DpeoVbLk-CGE5gjRB.js} +140 -140
- package/dist/assets/{CompleteProfile-D_zq0Bxi-DzmMJrCa.js → CompleteProfile-BaTEooSW-C9pQ1jcL.js} +10 -10
- package/dist/assets/ConfettiBurst-C2engbkN-OYjDPreK.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-EJwIqng4.js → CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-CFUmfUnI.js → CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-DEDF2Bw6.js → CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js} +10 -10
- package/dist/assets/{CurrencySelectField-CCOtXLC7-WWI_x70H.js → CurrencySelectField-DDiCwLn7-OV5xt8fQ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-KDPEI4Nw.js → CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-DhpvGzW9.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-DfWdnJkn.js → CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-BiUXryld-DwfZXjsS.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CH_YxX7C.js → CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js} +4 -4
- package/dist/assets/Dashboard-B1UeMAoF-D-P-pMiu.js +778 -0
- package/dist/assets/{DashboardReportPage-paPVk_v2-rdCWEh1c.js → DashboardReportPage-DULpVd6J-B_d0ak7a.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-Bi5kB8pj.js → DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-CGLWI77-.js → DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-BPGORTR1.js → DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js +21 -0
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-ayFegofe.js → DownloadOverlay-cne9_fIV-BGdaHI5P.js} +20 -20
- package/dist/assets/{DrawerPage-wXwAaYEB-ckpkQyBr.js → DrawerPage-B0mgBHB5-CQtDXw_Q.js} +8 -8
- package/dist/assets/EditPeoplePage-DgVDgYlm-Cq7SpjxR.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-CuY2Ig7F.js → EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js} +74 -74
- package/dist/assets/{EntityDetailPage-BNXqSwVL-2_wdQBQJ.js → EntityDetailPage-wnOA1SH7-aYV-tRku.js} +2 -2
- package/dist/assets/{EntitySummarySection-MZ57i-bY-wyCkXFzg.js → EntitySummarySection-Q_UUVBaU-B-zx_bhC.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-b03QKzrb.js → ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-DWrp_4v0.js → ExpenseAutomationPage-DKjInf-x-DBua7HMI.js} +84 -84
- package/dist/assets/{ExpressPayPage-Bncb54-Q-SeUIlqfm.js → ExpressPayPage-wwfao-Tr-Cll3aRZR.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-BZb3CLM5.js → FeaturePreviewPage-DriDr9id-IfgJ91nt.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-BQUar6s-.js → FollowStepsSection-5025urr9-BhQV5Gxg.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Cjbio4XA.js → GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js} +10 -10
- package/dist/assets/HelpButton-CzonsAOi-CLT44ucP.js +28 -0
- package/dist/assets/{InformationCardStack-BFJqdH9n-DFvbLLLn.js → InformationCardStack-DrD-sWV8-D-viV3aR.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-Cc7jKdY5.js → InsightsCardStack-CFqfiCOY-DSgzQkhY.js} +9 -9
- package/dist/assets/{InsightsSection-D9PiJagu-SWEZg4pL.js → InsightsSection-CN1BVvSr-DiHzw0Zr.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DDDi0Jh4.js → IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-BZw_syi-.js → InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-dNJC2sY7.js → InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js} +17 -17
- package/dist/assets/{InviteFormPage-BK-PRmeH-C_kHyZpq.js → InviteFormPage-Bw2ykerx-B8sj-JFN.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-Clzv1DBo.js → InvitePageListView-BHp1m02Z-DMdwrgsX.js} +31 -31
- package/dist/assets/InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-B3QucxAN.js → InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-BRUTBeLa.js → IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-DVc8X4Rj.js → LabeledAddressValue-kKgzA0is-V3nWJqwH.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-5iSo6J-J.js → LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BETZbc8X.js → LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-CAnP3CMF.js → LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js} +7 -7
- package/dist/assets/LabeledDocumentField-BKPP0tRe-BoY3MkE4.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js +59 -0
- package/dist/assets/{LabeledText-CyXj8QWV-5OBSwFKi.js → LabeledText-BUZXeSSr-BNwrdOLI.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-Dv7itvOd.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-CKi5TGdS.js → LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-BRavGLje.js → LinkJETransactionPage-DZZORFZw-hfr5eK-6.js} +8 -8
- package/dist/assets/{LowBalancePopup-CdftTvLb-B5AXSsr_.js → LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-cz3f0GSS.js → MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-CqjJtubA.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-AHa24jnu.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-DW5o0jbT.js → MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-B9tHITem.js → MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-Cq67NP7Z.js → MailingDetailsSection-B5PAttoo-Ia41UfJq.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-CsUXa-J0.js → MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js} +1 -1
- package/dist/assets/{Menu-DyfXBl_1-CnbVh3BI.js → Menu-teOpHszN-B4_aUeNn.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-DYBcczrm.js → MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-BSQg2TFQ.js → MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-C-gTgbbX.js → MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BvWih0k0-C-lpuG0Q.js → NavBarWithPicker-w36OQzVq-8jrXgC9i.js} +2 -2
- package/dist/assets/{NavigationArrow-DYSL2aDL-Dac2EKy8.js → NavigationArrow-CUVjQXS6-1gU6OEpd.js} +6 -9
- package/dist/assets/{NavigationDots-DyyCcIih-CqG31XCf.js → NavigationDots-Dt6TkUQ7-IyWw7xzb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BNSK64RX.js → NewGlobalMerchantPage-BAq_UQw1-op2GScme.js} +33 -33
- package/dist/assets/NoDataChart-CydgbaO2-w_aLFoRL.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-D2Te1bWz.js → NoDataTable-Akc9VjuK-D6ZoPHVC.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-C8-O26Vv.js → NotFoundPage-3pCYWZU4-D50jnl0_.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DnV_ELoj.js → NotificationSettingsPage-BX5y9Bhs-COL29uYH.js} +16 -16
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BDNvMhiy.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-CUvKfjPk.js → NotificationsPage-tre5LIJg-BF-9mVwv.js} +32 -32
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-BlDS0zS0.js → OpExByVendorPage-Dagfjaza-DDld7cbG.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-FBay7pFs.js → OverlayContainerPage-nhe7xtoR-DaSs4sBz.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DxqLd7A_.js → PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DGZrFamS.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BF8pm7Ll.js → PeoplePage-EFDCrYUk-T7-wlZTX.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-BG4VtYhF.js → PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js} +3 -3
- package/dist/assets/{PortfolioDetails-DJFeMG4U-DRLekQB_.js → PortfolioDetails-D2RWl4uo-6RAVkUY_.js} +11 -11
- package/dist/assets/{ProductsCarousel-CS4_yc80-CBit-Mko.js → ProductsCarousel-o-YsHwnV-CGoV5eH1.js} +7 -7
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Devee57m.js → PromoBaseCards-D21UZaz1-BXsaJgOl.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-CZnp93ZN.js → QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js} +6 -6
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-BJZtDk-1.js → QBOSetupSection-Dcf_Afvz-DJunnSBU.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-CUV7Xc-G.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-C9-pEbKH.js → ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CtEAsq7u-C73aER4h.js → ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-ZDR3rm2j.js → ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DXOqEJL4-giukqjO0.js → ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--D5iUnsw9.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-tZWYlf-X.js → ReloadCard-D3-WJk3W-D2s29SSN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-_RTCd2td-CH9Qen2G.js → ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js} +7 -7
- package/dist/assets/{ReportsPage-BIzz5Dt_-D1Q_FIJG.js → ReportsPage-DsILNosH-D0tYLjKu.js} +9 -9
- package/dist/assets/{RevenueChart-DeDVVUge-B-qX3axP.js → RevenueChart-CKKeqpBi-UyvcWDiv.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-Dx1cGbrV.js → ReviewDetailsPage-BTag8Rn9-DTmho_bj.js} +19 -19
- package/dist/assets/{ReviewOverlay-DcBe94Sd-Dvf9-bRZ.js → ReviewOverlay-CmbxFXT5-Bn6N1v3T.js} +14 -14
- package/dist/assets/{RoleWithToolTip-DZO2tooH--n3Ca0Pd.js → RoleWithToolTip-D25NUL6y-DukVAPbK.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0--TTuFPFw.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-CW4c5WjB.js → ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-CPGQ3vC3.js → ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js} +50 -50
- package/dist/assets/{ScreenRoutes-BOMAdjV3.js → ScreenRoutes-BxQ22zq-.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-eWhde88L.js → SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js} +103 -103
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-BI5o5mIW.js → SetUpDefaultSection-DkoRgSyp-BG63EHcf.js} +16 -16
- package/dist/assets/{SignIn-CI0Ik2va-BODAZJP8.js → SignIn-DSJylxLB-TGzVh-Ox.js} +19 -19
- package/dist/assets/{SignInScreen-DiCimdAv.js → SignInScreen-2ETG_qty.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-nax5e-Qq.js → SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DGTjz-D8.js → SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js} +47 -47
- package/dist/assets/{SpendManagementSection-DGhD95sz-D9wtCyoV.js → SpendManagementSection-C8jUu71n-DVI61rJT.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-DG4ozkeT-C_tGQMWD.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js} +14 -14
- package/dist/assets/{StatementItem-BlfBohft-CacjOgZD.js → StatementItem-CV3b0pVj-CWdkAyq6.js} +8 -8
- package/dist/assets/StatementsPage-ly5aBK2M-CeJNv0Uj.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-DiX_YNpB.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-BbNRnQm4.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-BaTl5JZP.js → SummaryCard-egXz66_a-CFL2HKlw.js} +1 -1
- package/dist/assets/TaskManagementPage-CQL5Q6wr-B8c2_TIF.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-C7fzpFUc.js → TimeRangeSwitcher-DETvaZov-Jche-37U.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DufweySH-BPYQJKjS.js → TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-BFqCltN9.js → TopExCard-CtEulaIf-Brs7tS7N.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-D3rgX0xF.js → TopExDetailPage-O4MMssGR-CSX4CqC4.js} +11 -11
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-ecrNVJsv.js → TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js} +47 -47
- package/dist/assets/{TransactionList-2HeLZVn9-CruTSDil.js → TransactionList-BABUQprb-zMQcRTpf.js} +13 -13
- package/dist/assets/{TransactionListBig-p6iVof9y--08fAwJF.js → TransactionListBig-qJc1PM0U-P62ir1cv.js} +18 -18
- package/dist/assets/{TransactionListPage-tnL66tOu-BU3FmX6i.js → TransactionListPage-DuAk6fJT-Bu8_Pd-_.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-Ce0yEwZl.js → TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js} +6 -6
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-CiTYk0vi.js → TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-520FWVXK.js → TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-B9Joxl5R.js → TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js} +15 -15
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-BLuBh2kN.js → TreasurySetupPage-CpZDjXwu-BUhJXpTK.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-YS7ms5lR.js → TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-B5Ykio8i.js → TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-D5h1-bi7.js → TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js} +20 -20
- package/dist/assets/{TrendChart-kwGU0d90-DJx5YTVj.js → TrendChart-Dp3QrDED-8QXEOf_A.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DTg4Mp-P.js → TrendWithTransactions-D8xzYG_f-De6kCbSg.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-CU_WfE2_.js → UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DjFjTx_N.js → UnitIntegrationPage-BBAq4_81-C7oc8SpE.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-D8M4A5h0.js → UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-BXO2PrEq.js → Vendor2FAPopup-DKe-eMoF-BYQMXttT.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-Dgqikeaw.js → VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-3BQeJtFl.js → VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-Boz6LLe-.js → VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-w7XOZ0uI.js → VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Cn2GBsyl--vpeGBWE.js → VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CmrfzDq8.js → VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-BPJeVwlb.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-CA-pEbLq.js → VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-BAxdAGxT.js → WarningsDrawerPage-Dz3EM7AW-K261X__w.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-TYUlxYM2.js → ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-D6Hh2q8q.js → ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-Bir6gIQQ.js → ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-D9Ab9IdN.js → ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-I-SkGlS5.js → ZeniCopyright-CqFabZnN-CJTGK5CO.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-C75Na6ou.js → ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-BQq2FFmn.js → analyticsHelper-CA1CL3Na.js} +1 -1
- package/dist/assets/{analyticsHelper-sgo3pabT-BgFfQOSf.js → analyticsHelper-CvW7m-EV-BpaeVAL0.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-mEh3KBw2.js → chartTypes-0tTBFzPe-DXv2oVtL.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-A8tfCxCO.js → commonDimensions-B68wSFi9-M2W23m0D.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CA5QwE7k.js → detailCommon-D2RAJL6g-DxVTL_IM.js} +6 -6
- package/dist/assets/{downloadPdf-CiC0AXNH-C1RfGDdO.js → downloadPdf-IPGZ8YB9-DocjrP8U.js} +1 -1
- package/dist/assets/{index-BJ9YQ2PG.js → index-GMJ2nuUF.js} +3324 -3364
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-0MIZwF_y-B8QHYU1y.js → mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-JiNMuYJO.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1Bdqp9WS-xNXAZC8a.js → mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-MPZhFWqo-DU6r59rW.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-CF-Mkuir-98sXfI_P.js → play-icon-C_pnFd6Q-CegFata8.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-DjsYQqtW.js → toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-F-3VWOVb.js → toChartData-Dh91kb97-BMfM5MG4.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-Cuy1aR8q.js → treasuryColorHelper-D9SYrM7P-BaWaAPGH.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-C41XXv1y.js → uploadAttachment-BZTALP74-ypSfSLhV.js} +29 -29
- package/dist/assets/{uploadReceipts-Buvz7DfG-BARgbESN.js → uploadReceipts-BH9fi3Vt-D-CW0ltI.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-6EVpo7mW-ElHlRk7W.js +0 -18
- package/dist/assets/AccountRow-D4iz2vCr-D4oo3rJs.js +0 -298
- package/dist/assets/BillingSettingsPage-CAs7DZQz-DXA3xiXV.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-_aeqHHW3.js +0 -1
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-CGyqb2Oz.js +0 -190
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-DRy8aFIM.js +0 -206
- package/dist/assets/ConfettiBurst-CZuMHGP8-ZppyCJ6x.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-CUgi5vEF.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-GtaXVNpu.js +0 -107
- package/dist/assets/Dashboard-Cr5ugENA-CyGF57xT.js +0 -1251
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-DJdEDgfd.js +0 -21
- package/dist/assets/EditPeoplePage-xDL6VA_r-OmIXflPf.js +0 -55
- package/dist/assets/HelpButton-D5ZYyQMh-BseLBuet.js +0 -28
- package/dist/assets/InvitePeoplePage-C9AwNqIx-B6fBsOYg.js +0 -12
- package/dist/assets/LabeledDocumentField-DiMgPKtR-ebLHKkFT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-DASClPUP.js +0 -59
- package/dist/assets/NoDataChart-DE6NV823-DEswUAk2.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-qBR1Ircr.js +0 -1
- package/dist/assets/StatementsPage-CUpjL5u7-IsFwOPwt.js +0 -58
- package/dist/assets/TaskManagementPage-Cf523C5f-CbUDqHnB.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-DKc91Lnx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-CI0fy98a.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,ao as an,Y as m,bf as fe,_ as U,dh as ln,o as s,g as ee,a5 as lo,X as N,J as co,z 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,bA as Bt,dn as Ot,C as D,cs as Mt,w as Po,T as qe,dp as To,bh as Q,d as dn,u as se,ak as Vo,dq as Do,ac as V,n as Le,dr as hn,ds as ce,bz as Wt,bD as ho,v as un,f as we,dt as Je,du as Ae,dv as Qe,s as S,ah as ie,dw as pn,q 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,bn as wn,dC as yn,dD as go,dE as fo,dF as bn,dG as kn,bu as Cn,b6 as jn,dH as Sn}from"./index-GMJ2nuUF.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-vtPa0PJn-DyxPucxT.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
|
+
`,Xn=a.div`
|
|
122
122
|
width: ${$.varianceTimeframeWidth}px;
|
|
123
123
|
align-self: flex-end;
|
|
124
|
-
`,
|
|
124
|
+
`,Qn=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(Xn,{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(Qn,{}),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:Xe}}}=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):Xe}),t.jsx(hr,{children:o.totalClearedBalance!=null?U("0,0",o.totalClearedBalance):Xe}),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=o!=null?`${o.toFixed(2)}${wr}`:Xe;return t.jsxs(fr,{children:[t.jsx(xr,{textColor:n,children:e!=null?U("0,0",e):Xe}),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(Qe,{}):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(Qe,{}),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(Qe,{}),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(Qe,{}):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 Xo(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 Qo=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(Qo,{"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(Qo,{"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(Xo,{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
|
+
`,Xr=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
|
+
`,Qr=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(Qr,{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(Xr,{"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
|
+
`,Xa=({balance:e})=>t.jsx(Ua,{children:t.jsx(Za,{children:Z(e)})});function Qa({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(Xa,{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(Qa,{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
|
+
`,Xl=({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 Ql({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(Xl,{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(Ql,{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(Q,{width:k.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ce,{width:k.categoryRowsSkeletonContainerWidth,children:t.jsx(Q,{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(Q,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Ce,{width:k.titleWidthMedium,children:t.jsx(Q,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Ce,{width:k.varianceRowSkeletonContainerWidth,children:[t.jsx(Q,{width:k.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}}),t.jsx(Q,{width:w[7],height:w[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Ce,{width:k.titleWidthMedium,children:t.jsx(Q,{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()??"",X=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:X,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 Xc(){const e=N();return t.jsxs(Qc,{windowSize:e,children:[t.jsx(ve,{windowSize:e,width:k.vendorContainerWidth,marginRight:0,children:t.jsx(Q,{width:w[9],height:w[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthMedium,marginRight:0,children:t.jsx(Q,{width:128,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthMedium,marginRight:0,children:t.jsx(Q,{width:k.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.varianceRowSkeletonContainerWidth,children:t.jsx(Q,{width:184,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:k.titleWidthSmall,children:t.jsx(Q,{width:k.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})})]})}const Qc=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,X=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(X,{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),Xs=(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})},Qs=(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(Xc,{}),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(Q,{width:120,height:w[4]})})]}),t.jsxs(md,{children:[n?t.jsx(_o,{windowSize:c,children:t.jsx(Q,{width:120,height:w[4]})}):null,r?t.jsx(_o,{windowSize:c,children:t.jsx(Q,{width:120,height:w[4]})}):null,l.map((d,h)=>t.jsx($o,{windowSize:c,children:t.jsx(Q,{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
|
+
`,Xd=a(Ri)`
|
|
1990
1990
|
color: ${e=>e.theme.colors.hero};
|
|
1991
1991
|
&:hover {
|
|
1992
1992
|
color: inherit;
|
|
1993
1993
|
}
|
|
1994
|
-
`,
|
|
1994
|
+
`,Qd=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?Xd: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(Qd,{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
|
+
`,Xh=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
|
+
`,Qh=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(Qh,{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(Xh,{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,X)=>t.jsx(Su,{type:e,sectionName:l,balance:ue,isActualVsForecastOn:h,compareMode:u,color:T},X))}):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(Xo,{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:(X,ne)=>{j(n,X,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
|
+
`,Xu=({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 Qu({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(Xu,{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)}})},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`
|
|
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`
|
|
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(Qi,{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),X=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)&&X.current!=null){const z=y?.scrollLeft==null?je==="small"?0:X.current.scrollWidth:y?.scrollLeft;if(y!=null){const oe={scrollTop:y.scrollTop,scrollLeft:z};pe(oe),z!==y?.scrollLeft&&j?.(oe)}X.current.scroll({left:z,top:y?.scrollTop})}},[y]),I.useEffect(()=>{co(v,Te)||(io(v),ro(v))},[v]),I.useEffect(()=>{const z=X.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)}},[X,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,X]),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:X,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:X,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;
|