@zeniai/web-components 3.16.49 → 3.16.51
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/ACHDetailsPage-B3MRYG7O.js +160 -0
- package/dist/ACHDetailsPage-BmU9KflW.cjs +21 -0
- package/dist/AIPerformancePage-BqABM_aI.cjs +530 -0
- package/dist/AIPerformancePage-ByLk7bRL.js +1333 -0
- package/dist/AccountInfoPage-BMJfscxP.cjs +18 -0
- package/dist/AccountInfoPage-CH881ucN.js +78 -0
- package/dist/AccountInfoPageContent-C-yeV-YN.js +428 -0
- package/dist/AccountInfoPageContent-DDenJHxC.cjs +149 -0
- package/dist/AccountLockedInfoModal-CQspLG36.js +125 -0
- package/dist/AccountLockedInfoModal-DjidMBE2.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-BnJV5bmR.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-Bw0R1HT-.js +686 -0
- package/dist/AccountRow-CTNE4Tss.js +1009 -0
- package/dist/AccountRow-DLGc9Vl0.cjs +298 -0
- package/dist/AccountsPromoCardStack-B2-W28Ow.js +664 -0
- package/dist/AccountsPromoCardStack-Bxu-FHFT.cjs +207 -0
- package/dist/AddAddressForCardDrawer-CBcxUuUC.js +82 -0
- package/dist/AddAddressForCardDrawer-WXC6P5XB.cjs +6 -0
- package/dist/AddToWalletPage-BWkSNjgD.js +643 -0
- package/dist/AddToWalletPage-CmQ7PBus.cjs +344 -0
- package/dist/AgingReportsPage-BQA2fF7p.cjs +79 -0
- package/dist/AgingReportsPage-C7XlVJxm.js +827 -0
- package/dist/AllUserItems-D0aRjPZn.cjs +192 -0
- package/dist/AllUserItems-oIUDu9Hy.js +979 -0
- package/dist/ApAgingDetailPage-5qTfuQX3.cjs +46 -0
- package/dist/ApAgingDetailPage-Qmh-Dv3X.js +239 -0
- package/dist/AppBasePage-Buyy3Wu7.cjs +71 -0
- package/dist/AppBasePage-C8Pv9qkT.js +120 -0
- package/dist/AppDrawerContent-CHz5S2vI.js +375 -0
- package/dist/AppDrawerContent-Cb7iPpGa.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-BSJDoHQp.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-C9JsCNLO.js +146 -0
- package/dist/ArAgingChart-BrnPVYNm.cjs +24 -0
- package/dist/ArAgingChart-f3SbRki9.js +529 -0
- package/dist/ArAgingDetailPage-CTMtTeBR.js +243 -0
- package/dist/ArAgingDetailPage-D5yq-Wxv.cjs +46 -0
- package/dist/AttachmentView-3lHAUYdm.cjs +101 -0
- package/dist/AttachmentView-CZ6HLMlg.js +260 -0
- package/dist/BankAccountSection-BJRKvNQF.cjs +79 -0
- package/dist/BankAccountSection-DMa6vU71.js +398 -0
- package/dist/BankAccountWarningSection-CjdjPqzq.cjs +51 -0
- package/dist/BankAccountWarningSection-CqTSk_2C.js +110 -0
- package/dist/BankConnectionsSettingsPage-C2tLBkdJ.js +1695 -0
- package/dist/BankConnectionsSettingsPage-DDvw-FA0.cjs +425 -0
- package/dist/BillDetailPage-C75CC0Zk.cjs +266 -0
- package/dist/BillDetailPage-pfZBbg1r.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-V0y9glzY.cjs +27 -0
- package/dist/BillPayApprovalRuleDetailPage-cQnt1TBQ.js +247 -0
- package/dist/BillPayApprovalRulesPage-CLpGsVKi.js +415 -0
- package/dist/BillPayApprovalRulesPage-Dzu7sx3C.cjs +235 -0
- package/dist/BillPayPromoPage-BYQEO1xh.js +293 -0
- package/dist/BillPayPromoPage-D3CNmVRF.cjs +84 -0
- package/dist/BillPaySetUpPage-BS70_HuX.js +412 -0
- package/dist/BillPaySetUpPage-BjIARDlv.cjs +42 -0
- package/dist/BillingSettingsPage-CFj24X8R.cjs +44 -0
- package/dist/BillingSettingsPage-ChtvIWW_.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-BGB9SSjD.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-BeMaaqpS.js +216 -0
- package/dist/BoxItem-BCZPGehx.cjs +53 -0
- package/dist/BoxItem-i1_Whvbs.js +118 -0
- package/dist/BusinessVerificationPage--ZoV34ym.cjs +138 -0
- package/dist/BusinessVerificationPage-DJ0qBDiF.js +717 -0
- package/dist/BusyIndication-oBfbQHEC.js +18 -0
- package/dist/BusyIndication-sxjiVUTc.cjs +9 -0
- package/dist/CardNumberSubText-CU5rFHAb.js +59 -0
- package/dist/CardNumberSubText-ChfK4LsL.cjs +21 -0
- package/dist/CashbackDetailPage-D0GacrsB.cjs +285 -0
- package/dist/CashbackDetailPage-Dhzwqgty.js +824 -0
- package/dist/ChargeCardDetailPage-CN1cFTtP.js +5452 -0
- package/dist/ChargeCardDetailPage-N25UYOTY.cjs +1462 -0
- package/dist/ChargeCardListPage-FZDjtNdh.js +1775 -0
- package/dist/ChargeCardListPage-T7wfPXyZ.cjs +406 -0
- package/dist/ChargeCardListTable-BgTDrfA6.cjs +711 -0
- package/dist/ChargeCardListTable-DfWqZ2zc.js +2872 -0
- package/dist/ChargeCardPromoPage-CXQ00gUz.js +806 -0
- package/dist/ChargeCardPromoPage-D-GfZxlC.cjs +222 -0
- package/dist/ChargeCardSetupPage-5-47MrwS.js +362 -0
- package/dist/ChargeCardSetupPage-BNSPJzRQ.cjs +36 -0
- package/dist/ChargeCardStatementsPage-D2Dpdmlp.cjs +60 -0
- package/dist/ChargeCardStatementsPage-DlhV6rXM.js +243 -0
- package/dist/ChargeCardUtils-CKH3xoUj.cjs +1 -0
- package/dist/ChargeCardUtils-DwrchU8w.js +102 -0
- package/dist/ChaseOverlay-BgjcxHWB.cjs +170 -0
- package/dist/ChaseOverlay-Yi_R09xG.js +402 -0
- package/dist/CheckDepositDrawerPage-B0TD1myX.js +726 -0
- package/dist/CheckDepositDrawerPage-CqUNpFge.cjs +206 -0
- package/dist/CollapsableReportTable-CWJY8lex.cjs +2932 -0
- package/dist/CollapsableReportTable-zWMH2vIR.js +11743 -0
- package/dist/CompanyOfficerDetailsSection-BP6gAUYu.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-BXU8YDaR.js +1633 -0
- package/dist/CompanyPassportCard-D3Ax_kxi.cjs +42 -0
- package/dist/CompanyPassportCard-DohGHFRG.js +146 -0
- package/dist/CompanyPassportPage-BiWEsERN.cjs +574 -0
- package/dist/CompanyPassportPage-D68YD2i4.js +2160 -0
- package/dist/CompleteProfile-C-rMCKV3.cjs +52 -0
- package/dist/CompleteProfile-CapeQwIz.js +301 -0
- package/dist/ConfettiBurst-BVqEXpJy.cjs +1 -0
- package/dist/ConfettiBurst-Cwmz88Dx.js +37 -0
- package/dist/CreateOrEditVendorPage-BFKyvGSD.js +755 -0
- package/dist/CreateOrEditVendorPage-BIkld3VP.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-3OOMyGxK.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-Btbr-3s-.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-B_dwX8WO.js +196 -0
- package/dist/CreditCardPaymentPlgSection-Bw9I2iLs.cjs +78 -0
- package/dist/CurrencySelectField-Cc7VZ0zc.js +348 -0
- package/dist/CurrencySelectField-SY4zoFsn.cjs +139 -0
- package/dist/CustomerOnboardingActivationPage-DUdbWdvR.js +143 -0
- package/dist/CustomerOnboardingActivationPage-Mx2zpM7T.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-BQe_y3eK.js +7 -0
- package/dist/CustomerOnboardingContainerPage-D9DDdJuk.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-03d0mC1R.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-DWjl7yrv.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-BZL5zdc-.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-Bb-S05FB.js +425 -0
- package/dist/CustomerOnboardingPage-BqRpUo3o.js +1060 -0
- package/dist/CustomerOnboardingPage-DvGwcV4q.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-Bn_Iwd9N.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-QbTjz-7o.cjs +202 -0
- package/dist/Dashboard-CLQlsg7M.cjs +1551 -0
- package/dist/Dashboard-ahtVxl05.js +5531 -0
- package/dist/DashboardReportPage-BtUetSv3.cjs +371 -0
- package/dist/DashboardReportPage-UkrX4vIf.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-CB9orLpr.js +50 -0
- package/dist/DashboardSidebarBackgroundAnimation-DNC9e_VQ.cjs +12 -0
- package/dist/DepositAccTransactionItem-CNf7CHUT.js +112 -0
- package/dist/DepositAccTransactionItem-wfJHDZl3.cjs +76 -0
- package/dist/DepositAccTransactionListPage-C9hW1uup.cjs +66 -0
- package/dist/DepositAccTransactionListPage-bVxE-cgF.js +152 -0
- package/dist/DomesticWireDetailsPage-CJnEtp5K.js +189 -0
- package/dist/DomesticWireDetailsPage-Dx20N-b2.cjs +21 -0
- package/dist/DownloadOverlay-8wBIc5lL.js +2148 -0
- package/dist/DownloadOverlay-G8d9uxqy.cjs +439 -0
- package/dist/DrawerPage-AukSslCE.js +208 -0
- package/dist/DrawerPage-aop6NcfP.cjs +118 -0
- package/dist/EditPeoplePage-C5IQY5wt.js +392 -0
- package/dist/EditPeoplePage-gvPUQWsX.cjs +55 -0
- package/dist/EditReimbursementDetailPage-B9U3ZdK-.cjs +865 -0
- package/dist/EditReimbursementDetailPage-SR0uyRt1.js +4461 -0
- package/dist/EmptySearchResults-ClR3x20I.js +70 -0
- package/dist/EmptySearchResults-wV_Izvza.cjs +46 -0
- package/dist/EntityDetailPage-CYZk5T9m.cjs +18 -0
- package/dist/EntityDetailPage-DOhakqPm.js +82 -0
- package/dist/EntitySummarySection-BL2j4SR_.cjs +149 -0
- package/dist/EntitySummarySection-CjH6bwx9.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-B-i9pSbk.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-DIhHFUx3.js +793 -0
- package/dist/ExpenseAutomationPage-BYWFEssP.js +11501 -0
- package/dist/ExpenseAutomationPage-d-aWOowS.cjs +1650 -0
- package/dist/ExpressPayPage-C2CdcS2q.js +1136 -0
- package/dist/ExpressPayPage-REmH759q.cjs +168 -0
- package/dist/FeaturePreviewPage-BDKOkYU7.js +114 -0
- package/dist/FeaturePreviewPage-DbG4k5L4.cjs +11 -0
- package/dist/FollowStepsSection-DlIC6oJU.js +1313 -0
- package/dist/FollowStepsSection-tMhamign.cjs +390 -0
- package/dist/GlobalReviewListPage-B9x4Sh7n.cjs +291 -0
- package/dist/GlobalReviewListPage-CGuksEmC.js +1674 -0
- package/dist/HelpButton-5sIiyk1f.cjs +28 -0
- package/dist/HelpButton-BY3Ymwq7.js +81 -0
- package/dist/InformationCardStack-2d8kAjcS.cjs +31 -0
- package/dist/InformationCardStack-BMdbEkfR.js +219 -0
- package/dist/InsightsCardStack-CkLV264k.js +305 -0
- package/dist/InsightsCardStack-cCGCG3u1.cjs +79 -0
- package/dist/InsightsSection-BLMLQ-G1.cjs +27 -0
- package/dist/InsightsSection-CR-kPvnj.js +97 -0
- package/dist/IntegrationsSettingsPage-An87x47z.cjs +57 -0
- package/dist/IntegrationsSettingsPage-D3R03fGU.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-8WfR9slT.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-DP9Jtcz6.cjs +171 -0
- package/dist/InternationalWireVerificationPage-DMiuLUlB.js +877 -0
- package/dist/InternationalWireVerificationPage-RJoD6bwT.cjs +292 -0
- package/dist/InviteFormPage-B6cxtPk-.js +873 -0
- package/dist/InviteFormPage-BrgfPNST.cjs +312 -0
- package/dist/InvitePageListView-CTvHEKjD.cjs +739 -0
- package/dist/InvitePageListView-dkMy2z5-.js +1764 -0
- package/dist/InvitePeoplePage-WwPabebY.cjs +12 -0
- package/dist/InvitePeoplePage-ayyL83Zy.js +286 -0
- package/dist/InvoiceUploadSection-BpIHhDSm.js +465 -0
- package/dist/InvoiceUploadSection-DMDQE_xQ.cjs +140 -0
- package/dist/IssueChargeCardPage-BVyuOZQS.js +2875 -0
- package/dist/IssueChargeCardPage-DYx0PuM2.cjs +532 -0
- package/dist/LabeledAddressValue-BAys9fcR.cjs +49 -0
- package/dist/LabeledAddressValue-BcRiL0qG.js +115 -0
- package/dist/LabeledAddressValueField-JqY2JlQG.cjs +45 -0
- package/dist/LabeledAddressValueField-_3232w63.js +130 -0
- package/dist/LabeledControlledCheckBoxField-BklmcaDu.js +73 -0
- package/dist/LabeledControlledCheckBoxField-DU_NvDut.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-BLX9G6aD.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-DAw3PzRB.js +515 -0
- package/dist/LabeledDocumentField-CJsB2pbM.js +147 -0
- package/dist/LabeledDocumentField-CZa3ciTX.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-CHP32QI9.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-CaInnQPt.js +163 -0
- package/dist/LabeledEmailInputField-2ygid8Pa.js +425 -0
- package/dist/LabeledEmailInputField-tkU7cvEb.cjs +182 -0
- package/dist/LabeledItemWithButton-CGTSBJTu.js +74 -0
- package/dist/LabeledItemWithButton-VN3-X7UB.cjs +21 -0
- package/dist/LabeledNameField-DGI4wVst.js +293 -0
- package/dist/LabeledNameField-DKy9bYDL.cjs +141 -0
- package/dist/LabeledSingleSelectField-BdVkNENU.cjs +136 -0
- package/dist/LabeledSingleSelectField-DGgrU3Q6.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-C7CQtM3X.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-S7bPvHHe.js +103 -0
- package/dist/LabeledText-DI154Uwg.js +103 -0
- package/dist/LabeledText-DodRsZvz.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CBeBSAZ3.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-ZH0-Q1Pd.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-D5Mp7k4x.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-DiOhi2zF.js +975 -0
- package/dist/LinkJETransactionPage-BnjQF3RS.js +406 -0
- package/dist/LinkJETransactionPage-CYoF42Gl.cjs +98 -0
- package/dist/LockCardPage-DKV-hT_y.js +2033 -0
- package/dist/LockCardPage-DV4rT3FX.cjs +623 -0
- package/dist/LowBalancePopup-Cx_nzl88.cjs +34 -0
- package/dist/LowBalancePopup-D02ZsO-u.js +219 -0
- package/dist/MagicLinkACHDetailsPage-DCA7Bsmf.js +39 -0
- package/dist/MagicLinkACHDetailsPage-kZvNq8WM.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BohXZBeN.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BqyXqpus.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-DRqGGEe5.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-SO9CfgsA.js +43 -0
- package/dist/MagicLinkSuccessPage-0s2gRI7b.cjs +31 -0
- package/dist/MagicLinkSuccessPage-BJeY48z_.js +59 -0
- package/dist/MagicLinkTitleSection-CeaDLMlx.js +40 -0
- package/dist/MagicLinkTitleSection-ChbvNimA.cjs +17 -0
- package/dist/MailingDetailsSection-C1cnBO3h.js +74 -0
- package/dist/MailingDetailsSection-C81FJAsO.cjs +21 -0
- package/dist/MatchingOperatorDropdown-9KNmfeJC.js +572 -0
- package/dist/MatchingOperatorDropdown-PJhM9hf2.cjs +130 -0
- package/dist/MeetingCalenderPopup-BRhfczuj.cjs +26 -0
- package/dist/MeetingCalenderPopup-Bh-VTzSP.js +60 -0
- package/dist/Menu-Br77QlAp.js +110 -0
- package/dist/Menu-aAxLrji5.cjs +17 -0
- package/dist/MoreMenuButton-BnCKMwyg.js +569 -0
- package/dist/MoreMenuButton-DKwLAcB1.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-Ap91ms0N.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-C0051NMr.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-B4IZM3pd.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-a0yE_EpI.js +168 -0
- package/dist/MyProfileSettingsPage-PHhx5Kp3.cjs +85 -0
- package/dist/MyProfileSettingsPage-WMrBFKSQ.js +641 -0
- package/dist/NavBarWithPicker-BAWR5XvY.js +106 -0
- package/dist/NavBarWithPicker-D45eGrRK.cjs +30 -0
- package/dist/NavigationArrow-CrMALMjO.cjs +47 -0
- package/dist/NavigationArrow-D79XVJvq.js +88 -0
- package/dist/NavigationDots-BRq2rtdf.cjs +15 -0
- package/dist/NavigationDots-DHkA0dj3.js +44 -0
- package/dist/NewGlobalMerchantPage-Bfioqua_.js +543 -0
- package/dist/NewGlobalMerchantPage-DM8F4WHd.cjs +160 -0
- package/dist/NoDataChart-BoZ-ROko.cjs +26 -0
- package/dist/NoDataChart-gu-_4U1R.js +58 -0
- package/dist/NoDataTable-CKjURLhY.cjs +8 -0
- package/dist/NoDataTable-Chs82RP6.js +27 -0
- package/dist/NotFoundPage-CcavYE5R.cjs +46 -0
- package/dist/NotFoundPage-DOjJLgnk.js +71 -0
- package/dist/NotificationSettingsPage-C3w3Bzgx.js +541 -0
- package/dist/NotificationSettingsPage-CFAF3i4Z.cjs +163 -0
- package/dist/NotificationsListConfig-BeXvj9Mw.js +10 -0
- package/dist/NotificationsListConfig-DYfklTYg.cjs +1 -0
- package/dist/NotificationsPage-Cx0BCCu4.cjs +685 -0
- package/dist/NotificationsPage-DiDztamo.js +2664 -0
- package/dist/OpExByVendorPage-C-lqaCK5.cjs +100 -0
- package/dist/OpExByVendorPage-CRjkPJS8.js +1057 -0
- package/dist/PandLWithForecastPage-ByknD0gW.js +563 -0
- package/dist/PandLWithForecastPage-CKLBkUpi.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-DSyTnGus.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-tL7XJ7DM.js +623 -0
- package/dist/PeoplePage-C34pWyJ1.cjs +675 -0
- package/dist/PeoplePage-EiZHvmVY.js +1994 -0
- package/dist/PortfolioAllocationFormPage-CKjc0QtM.js +440 -0
- package/dist/PortfolioAllocationFormPage-u6SOUIYN.cjs +207 -0
- package/dist/PortfolioDetails-9g-2bZ7_.js +653 -0
- package/dist/PortfolioDetails-CNzxpKPb.cjs +218 -0
- package/dist/ProductsCarousel-C5VZxn-U.js +309 -0
- package/dist/ProductsCarousel-CAv7QWco.cjs +142 -0
- package/dist/PromoBaseCards-DpLAAMn3.js +356 -0
- package/dist/PromoBaseCards-Dvu5wSNk.cjs +218 -0
- package/dist/QBOConnectionDialog-C4i1Uyha.cjs +51 -0
- package/dist/QBOConnectionDialog-MuhlhaDK.js +115 -0
- package/dist/QBOSetupSection-BXzQkbN_.js +167 -0
- package/dist/QBOSetupSection-CIQ8dXJP.cjs +79 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BnVg_gGC.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-CiWLeNGv.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-DCoivfP1.cjs +237 -0
- package/dist/ReimbursementApprovalRulesPage-DpTfzsJj.js +410 -0
- package/dist/ReimbursementDetailPage-DmiM1S0p.js +1511 -0
- package/dist/ReimbursementDetailPage-mUGGGbZ7.cjs +314 -0
- package/dist/ReimbursementPromoPage-CkdDFMaU.cjs +84 -0
- package/dist/ReimbursementPromoPage-DDskL1Cg.js +364 -0
- package/dist/ReimbursementSetUpPage-B5wMXBpl.cjs +140 -0
- package/dist/ReimbursementSetUpPage-aGtxNqA2.js +666 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-BsEEDkzr.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-DJo1JXap.cjs +1 -0
- package/dist/ReloadCard-BUY63G2x.js +137 -0
- package/dist/ReloadCard-DgbxHAjD.cjs +26 -0
- package/dist/ReloadContainer-DPyPkneh.cjs +596 -0
- package/dist/ReloadContainer-DXs1D7ce.js +2144 -0
- package/dist/ReportTableViewSelector-DB7njgqY.cjs +150 -0
- package/dist/ReportTableViewSelector-QiyxxiAv.js +679 -0
- package/dist/ReportsPage-CCQwHZnA.cjs +121 -0
- package/dist/ReportsPage-CyjlbTY3.js +1315 -0
- package/dist/RevenueChart-BEv2FSM3.js +2239 -0
- package/dist/RevenueChart-BUkttygd.cjs +280 -0
- package/dist/ReviewDetailsPage-BJJpKuVh.js +1073 -0
- package/dist/ReviewDetailsPage-CbwRcoG1.cjs +290 -0
- package/dist/ReviewOverlay-6X_hDPAW.cjs +152 -0
- package/dist/ReviewOverlay-BW4w_HbW.js +299 -0
- package/dist/RoleWithToolTip-ByCVDW_t.cjs +22 -0
- package/dist/RoleWithToolTip-DcDcU4iM.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-CZQOJpBV.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-ChhEeTlA.cjs +37 -0
- package/dist/ScheduleDetailsPage-CHuoVnZb.js +726 -0
- package/dist/ScheduleDetailsPage-DjAgrNtV.cjs +37 -0
- package/dist/ScheduleSequenceTable-9ZlFlS4G.js +1261 -0
- package/dist/ScheduleSequenceTable-ESUDl2-U.cjs +324 -0
- package/dist/SetUpAccountSection-Dt6HOtE0.js +1470 -0
- package/dist/SetUpAccountSection-UY1320i1.cjs +378 -0
- package/dist/SetUpDefaultSection-C944LR7Y.js +537 -0
- package/dist/SetUpDefaultSection-DujYi7r_.cjs +187 -0
- package/dist/SignIn-BgW9BTlN.js +1075 -0
- package/dist/SignIn-RJBpfmLT.cjs +448 -0
- package/dist/SpendManagementListViewPage-D99vUAok.js +627 -0
- package/dist/SpendManagementListViewPage-SNDiyA5z.cjs +122 -0
- package/dist/SpendManagementPerTabPage-BRQNiYyo.cjs +754 -0
- package/dist/SpendManagementPerTabPage-BVp4Mi_3.js +2735 -0
- package/dist/SpendManagementSection-BgiEVgoh.js +1043 -0
- package/dist/SpendManagementSection-D13UA346.cjs +230 -0
- package/dist/SpendMgmtSetupAccountSection-D7RNQvNU.js +875 -0
- package/dist/SpendMgmtSetupAccountSection-WVwnE0HD.cjs +206 -0
- package/dist/StatementItem-Btk7PnAh.js +81 -0
- package/dist/StatementItem-Cx5MngBk.cjs +31 -0
- package/dist/StatementsPage-Cqf2d6IZ.js +130 -0
- package/dist/StatementsPage-q6RVZonU.cjs +58 -0
- package/dist/StatusSwitcher-DtiFmSV4.cjs +120 -0
- package/dist/StatusSwitcher-k1u49c8V.js +319 -0
- package/dist/SubTabSwitcher-7z_5S-CT.cjs +58 -0
- package/dist/SubTabSwitcher-C9n0mkw2.js +113 -0
- package/dist/SuccessAnimation-D0mpqUoh.js +52 -0
- package/dist/SuccessAnimation-nzCh4I1S.cjs +13 -0
- package/dist/SummaryCard-BzsE8HgQ.js +25 -0
- package/dist/SummaryCard-Crn8ggJi.cjs +1 -0
- package/dist/TaskDetailPage-Bx-IAA-X.js +2533 -0
- package/dist/TaskDetailPage-OYKSgqKZ.cjs +775 -0
- package/dist/TaskListRow-CGZIKfSM.js +1950 -0
- package/dist/TaskListRow-DnUUaUuF.cjs +556 -0
- package/dist/TaskManagementPage-Czy0SQYN.cjs +508 -0
- package/dist/TaskManagementPage-DbxErPL_.js +1935 -0
- package/dist/TimeRangeSwitcher-BYl5N8hP.cjs +64 -0
- package/dist/TimeRangeSwitcher-IlmBkt9N.js +265 -0
- package/dist/TimeframeSwitcher-BwNLPtBW.cjs +31 -0
- package/dist/TimeframeSwitcher-C8yhmrny.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-B6anvFFY.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-Yag6iKnC.js +157 -0
- package/dist/TopExCard-CKFuDAEh.js +568 -0
- package/dist/TopExCard-CtW8W8vP.cjs +38 -0
- package/dist/TopExDetailPage-C8fTEzbN.cjs +132 -0
- package/dist/TopExDetailPage-yofOz9fv.js +318 -0
- package/dist/TransactionDetailPage-HK-XWeZD.cjs +912 -0
- package/dist/TransactionDetailPage-VWE8ybri.js +5238 -0
- package/dist/TransactionList-5vAUgE43.cjs +147 -0
- package/dist/TransactionList-CBlM8Agr.js +558 -0
- package/dist/TransactionListBig-BnJuJRrz.cjs +284 -0
- package/dist/TransactionListBig-D7tvHCmm.js +658 -0
- package/dist/TransactionListPage-B1C1YfFW.js +144 -0
- package/dist/TransactionListPage-BFNF4ZGl.cjs +35 -0
- package/dist/TransactionVendorDetailPage-CY-BzT4W.js +425 -0
- package/dist/TransactionVendorDetailPage-Dxle_vJk.cjs +80 -0
- package/dist/TransferDrawerPage-3A9154Y_.cjs +362 -0
- package/dist/TransferDrawerPage-DMhsu2Ez.js +1435 -0
- package/dist/TreasuryOverviewPage-BdABAdF5.js +1890 -0
- package/dist/TreasuryOverviewPage-DMvIMfu0.cjs +708 -0
- package/dist/TreasuryPromoPage-BycMsheg.js +1123 -0
- package/dist/TreasuryPromoPage-TJMNKAzl.cjs +505 -0
- package/dist/TreasurySetupPage-C1IlSdtO.cjs +144 -0
- package/dist/TreasurySetupPage-DdCKylj9.js +683 -0
- package/dist/TreasuryStatementsPage-BvoM-QPO.js +131 -0
- package/dist/TreasuryStatementsPage-D54z3WCQ.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-QhUbcsUY.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-ia-dRgNb.js +131 -0
- package/dist/TreasuryTransferOrReviewPage-BBmOKWs3.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-DUW5y-mU.cjs +576 -0
- package/dist/TrendChart-BvUgR7NR.js +333 -0
- package/dist/TrendChart-eyVt1BPv.cjs +16 -0
- package/dist/TrendWithTransactions-CzH_CezC.js +346 -0
- package/dist/TrendWithTransactions-DxtX2FeO.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-BnzXqGM2.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-jyr46GZJ.cjs +244 -0
- package/dist/UnitIntegrationPage-5hPuDT-S.js +405 -0
- package/dist/UnitIntegrationPage-DaXR5NwG.cjs +67 -0
- package/dist/UploadAdditionalDocumentOverlay-CPB6lSbZ.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-Djewfdeg.js +211 -0
- package/dist/Vendor2FAPopup-B5OkuijD.js +69 -0
- package/dist/Vendor2FAPopup-C6-JrN5-.cjs +1 -0
- package/dist/VendorACHDetailsPage-CpBVUyge.cjs +1 -0
- package/dist/VendorACHDetailsPage-D6EQzAtO.js +43 -0
- package/dist/VendorDetailPage-BQO3DDuH.js +1236 -0
- package/dist/VendorDetailPage-jhsliuPL.cjs +257 -0
- package/dist/VendorDomesticWireDetailsPage-BrkLeX5t.cjs +1 -0
- package/dist/VendorDomesticWireDetailsPage-D3WxsT-q.js +53 -0
- package/dist/VendorFiling1099EditablePage-B4dBjVVC.cjs +175 -0
- package/dist/VendorFiling1099EditablePage-CgkHu1IC.js +842 -0
- package/dist/VendorFirstReviewPage--u5ke09D.js +2748 -0
- package/dist/VendorFirstReviewPage-BXM-lq9p.cjs +730 -0
- package/dist/VendorInternationalWireDetailsPage-DUX5vGIV.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-dkHrnsSV.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-C7gOd27m.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-DFkW5ISm.cjs +1 -0
- package/dist/VendorsAccountsSection-BeWKBguu.js +279 -0
- package/dist/VendorsAccountsSection-CnTJ7izy.cjs +68 -0
- package/dist/VerifyDevice-CAFjpxD-.cjs +112 -0
- package/dist/VerifyDevice-DyNInj6s.js +298 -0
- package/dist/VideoPlayer-BDT7Wxrv.js +169 -0
- package/dist/VideoPlayer-BSfQ3rgs.cjs +77 -0
- package/dist/VideoPopup-DSGUlfzg.js +60 -0
- package/dist/VideoPopup-Dep3iiOZ.cjs +31 -0
- package/dist/WarningsDrawerPage-trXaoggp.cjs +92 -0
- package/dist/WarningsDrawerPage-yfZ6-vxe.js +228 -0
- package/dist/ZeniAccountDetailPage-DL0utQsG.cjs +300 -0
- package/dist/ZeniAccountDetailPage-DTf57PZf.js +907 -0
- package/dist/ZeniAccountListViewPage-ClJYmntq.cjs +441 -0
- package/dist/ZeniAccountListViewPage-OLK3W7iK.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-CdDZwzfE.js +89 -0
- package/dist/ZeniAccountNavBarPieces-ClUTgsFm.cjs +14 -0
- package/dist/ZeniAccountPromoPage-D2FT1Vjf.cjs +184 -0
- package/dist/ZeniAccountPromoPage-LLR9YF1x.js +523 -0
- package/dist/ZeniAccountSetupPage-BlOzo2P6.js +312 -0
- package/dist/ZeniAccountSetupPage-CJccin3T.cjs +36 -0
- package/dist/ZeniAvatar-BAal-f-o.cjs +13 -0
- package/dist/ZeniAvatar-DcPsnmsJ.js +34 -0
- package/dist/ZeniCopyright-Blg5sdOM.cjs +1 -0
- package/dist/ZeniCopyright-DJeoJMcb.js +9 -0
- package/dist/ZeniDatePicker-CF_UPO6P.cjs +187 -0
- package/dist/ZeniDatePicker-DBCil4F2.js +386 -0
- package/dist/ZeniTransferAmountSlider-DeYuGxZX.js +215 -0
- package/dist/ZeniTransferAmountSlider-DjFolkPR.cjs +63 -0
- package/dist/analyticsHelper-CaGXOjR9.js +65 -0
- package/dist/analyticsHelper-CktF4yBU.cjs +1 -0
- package/dist/appLocale.d.ts +2 -0
- package/dist/assets/illustrative/month-close-trend.svg +14 -0
- package/dist/assets/interface/flux-analysis.svg +21 -0
- package/dist/assets/interface/je-schedule.svg +10 -0
- package/dist/calculateSize-cVzU-vH3.js +22 -0
- package/dist/calculateSize-ssTiIIoe.cjs +1 -0
- package/dist/chartTypes-B9AwwH8k.cjs +1 -0
- package/dist/chartTypes-CultIwKc.js +47 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-BxrERv_L.cjs +1 -0
- package/dist/common-WNOhEsq7.js +22 -0
- package/dist/commonDimensions-Bvh80Imh.js +13 -0
- package/dist/commonDimensions-mjwVz09d.cjs +1 -0
- package/dist/components/expenseAutomation/MonthEndCloseTrendNoData.d.ts +1 -0
- package/dist/detailCommon-AxBWp7qh.cjs +38 -0
- package/dist/detailCommon-Cc3ubqjI.js +124 -0
- package/dist/downloadPdf-CKNipVJW.js +32 -0
- package/dist/downloadPdf-D-SSD-t9.cjs +1 -0
- package/dist/index-C5IoNVAR.cjs +19250 -0
- package/dist/index-Ced64tAR.js +85981 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-BHZ952jP.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-CVc6dVXE.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-B66AL3K-.js +388 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-J36BYuIV.cjs +1 -0
- package/dist/mapSpacerToTreeNode-BADPSNT5.cjs +1 -0
- package/dist/mapSpacerToTreeNode-qh1Ancpy.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-Bo5MD3fO.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CZk14V-1.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-CozdZtAx.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-ayQ1uAA3.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BINNS-VX.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BiZYk8F8.js +32 -0
- package/dist/sectionColor-B13etfOS.cjs +1 -0
- package/dist/sectionColor-TqYSY1Eh.js +32 -0
- package/dist/strings/strings-en-in.d.ts +2 -0
- package/dist/strings/strings.d.ts +2 -0
- package/dist/toCOABalancesWithID-CQcSPWtP.cjs +1 -0
- package/dist/toCOABalancesWithID-QJXJYQ9T.js +8 -0
- package/dist/toChartData-CN15R7RB.js +76 -0
- package/dist/toChartData-tElcvkun.cjs +1 -0
- package/dist/treasuryColorHelper-CgGFsOQK.cjs +1 -0
- package/dist/treasuryColorHelper-DJ8dpJXH.js +60 -0
- package/dist/uploadAttachment-BXvAwGGb.cjs +286 -0
- package/dist/uploadAttachment-CpcDDNe_.js +952 -0
- package/dist/zeniDatePicker.helpers--0q16cX3.js +14 -0
- package/dist/zeniDatePicker.helpers-DkId-kdR.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-B_4zxgB3.cjs +0 -21
- package/dist/ACHDetailsPage-O433o0vt.js +0 -160
- package/dist/AIPerformancePage-B3_Sro1O.js +0 -1333
- package/dist/AIPerformancePage-DOuLH9aq.cjs +0 -530
- package/dist/AccountInfoPage-B4KzbEwA.js +0 -78
- package/dist/AccountInfoPage-C2ZU8Od6.cjs +0 -18
- package/dist/AccountInfoPageContent-CQ1jEqK9.cjs +0 -149
- package/dist/AccountInfoPageContent-DSkZv5-h.js +0 -428
- package/dist/AccountLockedInfoModal-Cyzk17dw.cjs +0 -59
- package/dist/AccountLockedInfoModal-DcHtEM5_.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-78x855H1.js +0 -686
- package/dist/AccountReconDetailsDrawerPage-CtJiXLhx.cjs +0 -239
- package/dist/AccountRow-Dsa2uDOQ.js +0 -1009
- package/dist/AccountRow-Dzr0EHRP.cjs +0 -298
- package/dist/AccountsPromoCardStack-Bpu-T-PS.js +0 -664
- package/dist/AccountsPromoCardStack-C94wnLT7.cjs +0 -207
- package/dist/AddAddressForCardDrawer-0tmhYcJv.cjs +0 -6
- package/dist/AddAddressForCardDrawer-BAhGnoCY.js +0 -82
- package/dist/AddToWalletPage-DE10ZXOj.cjs +0 -344
- package/dist/AddToWalletPage-hsgCiPMz.js +0 -643
- package/dist/AgingReportsPage-FwErIvjk.cjs +0 -79
- package/dist/AgingReportsPage-yzN0ZyLt.js +0 -827
- package/dist/AllUserItems-BHt9_0Ce.js +0 -979
- package/dist/AllUserItems-bJsotJyW.cjs +0 -192
- package/dist/ApAgingDetailPage-BKCRI9iD.cjs +0 -46
- package/dist/ApAgingDetailPage-BRtnXuZ9.js +0 -239
- package/dist/AppBasePage-BYZJXaK1.js +0 -120
- package/dist/AppBasePage-bRZ1xiYR.cjs +0 -71
- package/dist/AppDrawerContent-BSRSaI4P.cjs +0 -91
- package/dist/AppDrawerContent-D2QsR8LC.js +0 -375
- package/dist/ApprovalRulesSettingsPage-BFJ7MZGF.js +0 -146
- package/dist/ApprovalRulesSettingsPage-D6UCz1m7.cjs +0 -47
- package/dist/ArAgingChart-5Gz_LDvd.cjs +0 -24
- package/dist/ArAgingChart-BmITvPR6.js +0 -529
- package/dist/ArAgingDetailPage-BQ3WzHZv.js +0 -243
- package/dist/ArAgingDetailPage-DXl1-U3C.cjs +0 -46
- package/dist/AttachmentView-B0qvT5z5.cjs +0 -101
- package/dist/AttachmentView-CWVWh7gE.js +0 -260
- package/dist/BankAccountSection-B4rNlexj.cjs +0 -79
- package/dist/BankAccountSection-CLgckmVZ.js +0 -398
- package/dist/BankAccountWarningSection-LW5rgvVG.cjs +0 -51
- package/dist/BankAccountWarningSection-skTeQNh9.js +0 -110
- package/dist/BankConnectionsSettingsPage-C8p_iB9G.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-hpbWJM2D.js +0 -1695
- package/dist/BillDetailPage-Agig3etn.cjs +0 -266
- package/dist/BillDetailPage-CnqHlQBd.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-BL-WKLHv.js +0 -247
- package/dist/BillPayApprovalRuleDetailPage-C3UE-8JK.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-BL4AKjWG.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-DbQ-y70l.js +0 -415
- package/dist/BillPayPromoPage-BBsobfY0.cjs +0 -84
- package/dist/BillPayPromoPage-_UwCQDgl.js +0 -293
- package/dist/BillPaySetUpPage-C60AE0QK.js +0 -412
- package/dist/BillPaySetUpPage-D3ipQSOd.cjs +0 -42
- package/dist/BillingSettingsPage-CadLYHi_.js +0 -336
- package/dist/BillingSettingsPage-Cv69wctf.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-BrHT5M8a.cjs +0 -1
- package/dist/BillsBulkReviewDrawerPage-fo14rj8q.js +0 -216
- package/dist/BoxItem-BD-djRQm.js +0 -118
- package/dist/BoxItem-DFRNibXr.cjs +0 -53
- package/dist/BusinessVerificationPage--PTftW5b.cjs +0 -138
- package/dist/BusinessVerificationPage-DhIGS-or.js +0 -717
- package/dist/BusyIndication-AtGL0LFM.cjs +0 -9
- package/dist/BusyIndication-PnLrsUk3.js +0 -18
- package/dist/CardNumberSubText-BM6AZpLT.cjs +0 -21
- package/dist/CardNumberSubText-DL4cJEW_.js +0 -59
- package/dist/CashbackDetailPage-BYcSi5mf.cjs +0 -285
- package/dist/CashbackDetailPage-CiFePPzf.js +0 -824
- package/dist/ChargeCardDetailPage-_ZrnPfGq.cjs +0 -1462
- package/dist/ChargeCardDetailPage-qC1xQ6VN.js +0 -5452
- package/dist/ChargeCardListPage-1nEgU8xH.cjs +0 -406
- package/dist/ChargeCardListPage-h-5ddVAP.js +0 -1775
- package/dist/ChargeCardListTable-DqCqyXD1.js +0 -2872
- package/dist/ChargeCardListTable-Dqjb7F3Q.cjs +0 -711
- package/dist/ChargeCardPromoPage-BATZvK7-.js +0 -806
- package/dist/ChargeCardPromoPage-DejjYney.cjs +0 -222
- package/dist/ChargeCardSetupPage-BrEhHzNc.cjs +0 -36
- package/dist/ChargeCardSetupPage-D6ZTknG2.js +0 -362
- package/dist/ChargeCardStatementsPage-BS3PJZ0x.js +0 -243
- package/dist/ChargeCardStatementsPage-jU40fKuE.cjs +0 -60
- package/dist/ChargeCardUtils-BYePpvze.cjs +0 -1
- package/dist/ChargeCardUtils-Dwqf53QP.js +0 -102
- package/dist/ChaseOverlay-Bu_ypxC4.js +0 -402
- package/dist/ChaseOverlay-CPI2Ae2w.cjs +0 -170
- package/dist/CheckDepositDrawerPage-Bq6Jqv5Y.js +0 -726
- package/dist/CheckDepositDrawerPage-BxqW2bOK.cjs +0 -206
- package/dist/CollapsableReportTable-BHbsPK2D.cjs +0 -2932
- package/dist/CollapsableReportTable-UMJzMIPx.js +0 -11743
- package/dist/CompanyOfficerDetailsSection-Bv6uQTnK.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-CQgLZqFX.js +0 -1633
- package/dist/CompanyPassportCard-D-TTACcS.cjs +0 -42
- package/dist/CompanyPassportCard-DG9qHuDu.js +0 -146
- package/dist/CompanyPassportPage-BLOpSej8.cjs +0 -574
- package/dist/CompanyPassportPage-BXjE35r4.js +0 -2160
- package/dist/CompleteProfile-BP_mOqil.cjs +0 -52
- package/dist/CompleteProfile-Dp6YR12u.js +0 -301
- package/dist/ConfettiBurst-BxLt2gWh.cjs +0 -1
- package/dist/ConfettiBurst-htOD4tu-.js +0 -37
- package/dist/CreateOrEditVendorPage-BXlUUR7Y.js +0 -755
- package/dist/CreateOrEditVendorPage-CLUbSLgd.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-CMwtN88U.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-DXxGWx7m.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-CuIlFT9n.js +0 -196
- package/dist/CreditCardPaymentPlgSection-DgB2Q7dL.cjs +0 -78
- package/dist/CurrencySelectField-DFPHaoIW.js +0 -348
- package/dist/CurrencySelectField-xWTq7wcX.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-BOOYZfNU.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-DYleTKVx.js +0 -143
- package/dist/CustomerOnboardingContainerPage-Ca2bEBlO.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-DJT5-HST.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-1RGlCjsG.js +0 -434
- package/dist/CustomerOnboardingDetailPageSkeleton-DwyN6jni.cjs +0 -162
- package/dist/CustomerOnboardingNoStepsPage-BRWr1PYg.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-Hg-Pl4me.js +0 -425
- package/dist/CustomerOnboardingPage-BcJr213c.js +0 -1060
- package/dist/CustomerOnboardingPage-kCcJBfYC.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-B-y1Thyd.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-Dx-HuR6j.js +0 -349
- package/dist/Dashboard-BQ1YdQ6u.cjs +0 -1551
- package/dist/Dashboard-BvdrJ-g9.js +0 -5531
- package/dist/DashboardReportPage-B5dKKA6n.cjs +0 -371
- package/dist/DashboardReportPage-CFu5turj.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-Cab0JXNx.cjs +0 -12
- package/dist/DashboardSidebarBackgroundAnimation-CkRipnki.js +0 -50
- package/dist/DepositAccTransactionItem-D8ZmgjWI.cjs +0 -76
- package/dist/DepositAccTransactionItem-HlUr4uKm.js +0 -112
- package/dist/DepositAccTransactionListPage-CX9EgMDv.js +0 -152
- package/dist/DepositAccTransactionListPage-C_cOk8A7.cjs +0 -66
- package/dist/DomesticWireDetailsPage-DClascQW.cjs +0 -21
- package/dist/DomesticWireDetailsPage-DqciCDY7.js +0 -189
- package/dist/DownloadOverlay-B5X85LXE.js +0 -2148
- package/dist/DownloadOverlay-BCTE4Csq.cjs +0 -439
- package/dist/DrawerPage-DB4rd0_K.cjs +0 -118
- package/dist/DrawerPage-DrGeI5Gr.js +0 -208
- package/dist/EditPeoplePage-BCPuaFsg.js +0 -392
- package/dist/EditPeoplePage-BeKzJBH9.cjs +0 -55
- package/dist/EditReimbursementDetailPage-CCq_3XHE.cjs +0 -865
- package/dist/EditReimbursementDetailPage-DTaUD_wr.js +0 -4461
- package/dist/EmptySearchResults-C6QyIWCF.js +0 -70
- package/dist/EmptySearchResults-KwfhYYLR.cjs +0 -46
- package/dist/EntityDetailPage-Bd768zWA.cjs +0 -18
- package/dist/EntityDetailPage-CZwMmY-Y.js +0 -82
- package/dist/EntitySummarySection-333_lNe_.js +0 -530
- package/dist/EntitySummarySection-Di9o7dys.cjs +0 -149
- package/dist/ExpenseAutomationOverviewPage-BzsDnR1B.cjs +0 -241
- package/dist/ExpenseAutomationOverviewPage-Cw8SBqbm.js +0 -735
- package/dist/ExpenseAutomationPage-BET2EPxB.js +0 -11501
- package/dist/ExpenseAutomationPage-BaWRNVPm.cjs +0 -1650
- package/dist/ExpressPayPage-CudY0-mU.cjs +0 -168
- package/dist/ExpressPayPage-DqhntTTB.js +0 -1136
- package/dist/FeaturePreviewPage-CUYemLYW.js +0 -114
- package/dist/FeaturePreviewPage-DrbvROhs.cjs +0 -11
- package/dist/FollowStepsSection-CId44M0d.js +0 -1313
- package/dist/FollowStepsSection-CyLupo0i.cjs +0 -390
- package/dist/GlobalReviewListPage-D6dHmyu0.cjs +0 -291
- package/dist/GlobalReviewListPage-olrM4QVf.js +0 -1674
- package/dist/HelpButton-BaVV3VxQ.js +0 -81
- package/dist/HelpButton-DJdIZsOK.cjs +0 -28
- package/dist/InformationCardStack-BLlinbrW.cjs +0 -31
- package/dist/InformationCardStack-C7Zkk9ic.js +0 -219
- package/dist/InsightsCardStack-Bg2Qif6j.js +0 -305
- package/dist/InsightsCardStack-CAF9JFdH.cjs +0 -79
- package/dist/InsightsSection-CLffdkNz.cjs +0 -27
- package/dist/InsightsSection-CuWVeSOd.js +0 -97
- package/dist/IntegrationsSettingsPage-BTWSMOI3.cjs +0 -57
- package/dist/IntegrationsSettingsPage-CrE1KouD.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-BQGjYeqH.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-DJLmk0eo.js +0 -753
- package/dist/InternationalWireVerificationPage-Cxum-5C0.cjs +0 -292
- package/dist/InternationalWireVerificationPage-DG_PXVfy.js +0 -877
- package/dist/InviteFormPage-1K6gfDg3.cjs +0 -312
- package/dist/InviteFormPage-uSfpRwTu.js +0 -873
- package/dist/InvitePageListView-BoPPgdCg.cjs +0 -739
- package/dist/InvitePageListView-DDfePn0v.js +0 -1764
- package/dist/InvitePeoplePage-B-nd6ANP.js +0 -286
- package/dist/InvitePeoplePage-zlxBSW7X.cjs +0 -12
- package/dist/InvoiceUploadSection-CmSWxJ1G.js +0 -465
- package/dist/InvoiceUploadSection-jZu4O2qr.cjs +0 -140
- package/dist/IssueChargeCardPage-BCW5oKOp.cjs +0 -532
- package/dist/IssueChargeCardPage-CvqB_YQl.js +0 -2875
- package/dist/LabeledAddressValue-B4TQt8ky.cjs +0 -49
- package/dist/LabeledAddressValue-DM7Mjt9D.js +0 -115
- package/dist/LabeledAddressValueField-B2iqFBhM.cjs +0 -45
- package/dist/LabeledAddressValueField-CrYCc1Vq.js +0 -130
- package/dist/LabeledControlledCheckBoxField-DbsHzf-j.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-DqMx_rRJ.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-Bp1OG0Sa.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-CtKstmcp.js +0 -515
- package/dist/LabeledDocumentField-Dp6HkL8j.js +0 -147
- package/dist/LabeledDocumentField-DwKbA8Ks.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-BZBtka1B.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-CKazcDs2.cjs +0 -59
- package/dist/LabeledEmailInputField-B0DNc8Q3.cjs +0 -182
- package/dist/LabeledEmailInputField-DqpE2tfc.js +0 -425
- package/dist/LabeledItemWithButton-BT2lJ8y-.cjs +0 -21
- package/dist/LabeledItemWithButton-CYkh83y-.js +0 -74
- package/dist/LabeledNameField-B0-MqQ2o.js +0 -293
- package/dist/LabeledNameField-BWW8xB3a.cjs +0 -141
- package/dist/LabeledSingleSelectField-0MrDEMLF.cjs +0 -136
- package/dist/LabeledSingleSelectField-BJpDwcrK.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-CbOc02HI.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-FkRl1Obq.js +0 -103
- package/dist/LabeledText-D-qErUwF.js +0 -103
- package/dist/LabeledText-HoPwrmYk.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CL_5BEe9.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CRSV8Rlk.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-DQKQLf8W.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-DURdlzml.cjs +0 -297
- package/dist/LinkJETransactionPage-C9Pahp9U.cjs +0 -98
- package/dist/LinkJETransactionPage-Cjx83Gjg.js +0 -406
- package/dist/LockCardPage-3GhtbjyC.cjs +0 -623
- package/dist/LockCardPage-DCZ-JUov.js +0 -2033
- package/dist/LowBalancePopup-0hVVX-Zu.js +0 -219
- package/dist/LowBalancePopup-7IpGnskk.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-BBdrsj0J.js +0 -39
- package/dist/MagicLinkACHDetailsPage-O_SBy6OC.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-CyjhQ2lU.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-T7lAIqaR.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-CKFnJ3or.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-w0HBN1ao.cjs +0 -1
- package/dist/MagicLinkSuccessPage-IBF5EUOy.js +0 -59
- package/dist/MagicLinkSuccessPage-VunPbrCw.cjs +0 -31
- package/dist/MagicLinkTitleSection-B2BDd_i4.js +0 -40
- package/dist/MagicLinkTitleSection-YsxDwT6N.cjs +0 -17
- package/dist/MailingDetailsSection-BPg-GnRk.js +0 -74
- package/dist/MailingDetailsSection-Q3HtATOu.cjs +0 -21
- package/dist/MatchingOperatorDropdown-Dk9LYZXK.js +0 -572
- package/dist/MatchingOperatorDropdown-JQW_J0F0.cjs +0 -130
- package/dist/MeetingCalenderPopup--EM-8AAe.cjs +0 -26
- package/dist/MeetingCalenderPopup-BmKNLvzF.js +0 -60
- package/dist/Menu-BYyJfRuj.cjs +0 -17
- package/dist/Menu-CBX_pJfN.js +0 -110
- package/dist/MoreMenuButton-CWKsQ3lM.js +0 -569
- package/dist/MoreMenuButton-DNAaxKUa.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-U0sjnLRM.cjs +0 -110
- package/dist/MyBankConnectionsSettingsPage-cI1FZSed.js +0 -297
- package/dist/MyPendingActivationChargeCardListPage-Cl5rGtdP.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-DxTkt_dH.js +0 -168
- package/dist/MyProfileSettingsPage-60kDGW90.cjs +0 -85
- package/dist/MyProfileSettingsPage-BZ0Nfu1g.js +0 -641
- package/dist/NavBarWithPicker-CCOQbann.cjs +0 -30
- package/dist/NavBarWithPicker-tCEyFtzU.js +0 -106
- package/dist/NavigationArrow-D5Kirs0V.cjs +0 -47
- package/dist/NavigationArrow-DXc3Y5uM.js +0 -88
- package/dist/NavigationDots-Dgv1gTJb.js +0 -44
- package/dist/NavigationDots-y6z4R1Qj.cjs +0 -15
- package/dist/NewGlobalMerchantPage-BgdeFlQB.js +0 -543
- package/dist/NewGlobalMerchantPage-DzDp-aB7.cjs +0 -160
- package/dist/NoDataChart-0icINiHK.cjs +0 -26
- package/dist/NoDataChart-WU_4erjb.js +0 -58
- package/dist/NoDataTable-BRoZR6yx.cjs +0 -8
- package/dist/NoDataTable-BuOEBuzz.js +0 -27
- package/dist/NotFoundPage-DOanuPiy.cjs +0 -46
- package/dist/NotFoundPage-G8wzwNRc.js +0 -71
- package/dist/NotificationSettingsPage-DIdjMvS5.js +0 -541
- package/dist/NotificationSettingsPage-Dy_Yfp7w.cjs +0 -163
- package/dist/NotificationsListConfig-CEHt8NWc.js +0 -10
- package/dist/NotificationsListConfig-CQ3lLGjL.cjs +0 -1
- package/dist/NotificationsPage-BmnJOCk2.js +0 -2664
- package/dist/NotificationsPage-C-WVUATb.cjs +0 -685
- package/dist/OpExByVendorPage-CgjS_d91.cjs +0 -100
- package/dist/OpExByVendorPage-Dzv4651I.js +0 -1057
- package/dist/PandLWithForecastPage-C3jbkv_r.js +0 -563
- package/dist/PandLWithForecastPage-DK1mZTlx.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-DC_ouFX_.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-ZA6sm2h7.cjs +0 -106
- package/dist/PeoplePage-B_FRXRGq.js +0 -1994
- package/dist/PeoplePage-M4KDjdL3.cjs +0 -675
- package/dist/PortfolioAllocationFormPage-DJc_lK9s.js +0 -440
- package/dist/PortfolioAllocationFormPage-DayDu-Q3.cjs +0 -207
- package/dist/PortfolioDetails-BEUXPmgy.cjs +0 -218
- package/dist/PortfolioDetails-t6XpVdnH.js +0 -653
- package/dist/ProductsCarousel-C391DIJX.cjs +0 -142
- package/dist/ProductsCarousel-CZpGrp4i.js +0 -309
- package/dist/PromoBaseCards-C6c1SEGf.cjs +0 -218
- package/dist/PromoBaseCards-CjRDHYmE.js +0 -356
- package/dist/QBOConnectionDialog-B_VderWV.cjs +0 -51
- package/dist/QBOConnectionDialog-BqN96Rv4.js +0 -115
- package/dist/QBOSetupSection-C2Mmomh9.js +0 -167
- package/dist/QBOSetupSection-CRGOnpbs.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-OTmB2LUL.js +0 -247
- package/dist/ReimbursementApprovalRuleDetailPage-_xdAG5jy.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-91-tZQID.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-D3SecTk5.js +0 -410
- package/dist/ReimbursementDetailPage-B48rHgWD.js +0 -1511
- package/dist/ReimbursementDetailPage-BMq1OAHR.cjs +0 -314
- package/dist/ReimbursementPromoPage-D2jtlC--.js +0 -364
- package/dist/ReimbursementPromoPage-jh4FHm4l.cjs +0 -84
- package/dist/ReimbursementSetUpPage-Bw2zaQm9.js +0 -666
- package/dist/ReimbursementSetUpPage-DGJmjkgK.cjs +0 -140
- package/dist/ReimbursementsBulkReviewDrawerPage--MYNmix_.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-ACCiiYAq.cjs +0 -1
- package/dist/ReloadCard-DaE39gat.cjs +0 -26
- package/dist/ReloadCard-fGYgjJqh.js +0 -137
- package/dist/ReloadContainer-DcSPRpj5.js +0 -2144
- package/dist/ReloadContainer-hvRG7rgv.cjs +0 -596
- package/dist/ReportTableViewSelector-BoKtYmK1.js +0 -679
- package/dist/ReportTableViewSelector-BwmNobtI.cjs +0 -150
- package/dist/ReportsPage-0RV0_uUm.cjs +0 -121
- package/dist/ReportsPage-BeVAnqCN.js +0 -1315
- package/dist/RevenueChart-BVxu_IRr.js +0 -2239
- package/dist/RevenueChart-cCxueEIa.cjs +0 -280
- package/dist/ReviewDetailsPage-BFdhzPL0.cjs +0 -290
- package/dist/ReviewDetailsPage-DOQ6RlGh.js +0 -1073
- package/dist/ReviewOverlay-CLxe4Hue.js +0 -299
- package/dist/ReviewOverlay-CR9GPh18.cjs +0 -152
- package/dist/RoleWithToolTip-BvjClH24.cjs +0 -22
- package/dist/RoleWithToolTip-bvgy9K1q.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-9XBJwluc.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-BGsfekHH.js +0 -806
- package/dist/ScheduleDetailsPage-BcaIJT3d.cjs +0 -37
- package/dist/ScheduleDetailsPage-C53drYrh.js +0 -726
- package/dist/ScheduleSequenceTable-CSEZ7jbe.js +0 -1261
- package/dist/ScheduleSequenceTable-q3-WYF2w.cjs +0 -324
- package/dist/SetUpAccountSection-BrAwOgYm.cjs +0 -378
- package/dist/SetUpAccountSection-DoWjmoD1.js +0 -1470
- package/dist/SetUpDefaultSection-B4LaVQo1.js +0 -537
- package/dist/SetUpDefaultSection-C9uJ0Pow.cjs +0 -187
- package/dist/SignIn-BLfLy5mY.cjs +0 -448
- package/dist/SignIn-C273-qpK.js +0 -1075
- package/dist/SpendManagementListViewPage-DIzSidmY.cjs +0 -122
- package/dist/SpendManagementListViewPage-DcNLU5oi.js +0 -627
- package/dist/SpendManagementPerTabPage-CLmm4iVK.js +0 -2735
- package/dist/SpendManagementPerTabPage-IY2PwdSN.cjs +0 -754
- package/dist/SpendManagementSection-DJufykec.cjs +0 -230
- package/dist/SpendManagementSection-JnYKeEsq.js +0 -1043
- package/dist/SpendMgmtSetupAccountSection-Bpepxx6J.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-DlImXjOJ.js +0 -875
- package/dist/StatementItem-Bj0m2lOr.js +0 -81
- package/dist/StatementItem-CvBgW7ZI.cjs +0 -31
- package/dist/StatementsPage-BXZqx5ZH.cjs +0 -58
- package/dist/StatementsPage-CuuWt61p.js +0 -130
- package/dist/StatusSwitcher-Bk0iVcCM.cjs +0 -120
- package/dist/StatusSwitcher-CHsU_gVW.js +0 -319
- package/dist/SubTabSwitcher-Cl3dC9WT.js +0 -113
- package/dist/SubTabSwitcher-DES3wMDp.cjs +0 -58
- package/dist/SuccessAnimation-D5bSIgLl.js +0 -52
- package/dist/SuccessAnimation-DOVcy8XO.cjs +0 -13
- package/dist/SummaryCard-D_yCKqPl.cjs +0 -1
- package/dist/SummaryCard-DhuCj_-n.js +0 -25
- package/dist/TaskDetailPage-CfoIMmC7.cjs +0 -775
- package/dist/TaskDetailPage-DR5IJFds.js +0 -2533
- package/dist/TaskListRow-DBKxYrRL.js +0 -1950
- package/dist/TaskListRow-Dnpla95f.cjs +0 -556
- package/dist/TaskManagementPage-Be3x8_zY.js +0 -1935
- package/dist/TaskManagementPage-CplXVHFy.cjs +0 -508
- package/dist/TimeRangeSwitcher-BKDJmROe.js +0 -265
- package/dist/TimeRangeSwitcher-CalBG-KC.cjs +0 -64
- package/dist/TimeframeSwitcher-D6cl6mEI.js +0 -103
- package/dist/TimeframeSwitcher-NRXTXZdu.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-ChweIH33.js +0 -157
- package/dist/TimeframeSwitcherWithToggle-D5CNydrC.cjs +0 -31
- package/dist/TopExCard-BnOCk4wn.cjs +0 -38
- package/dist/TopExCard-CCozxHYZ.js +0 -568
- package/dist/TopExDetailPage-Bc065_W_.cjs +0 -132
- package/dist/TopExDetailPage-DQv-J1Zi.js +0 -318
- package/dist/TransactionDetailPage-BfYliTaa.cjs +0 -912
- package/dist/TransactionDetailPage-Bh0RZ4X8.js +0 -5238
- package/dist/TransactionList-DQTlLOw7.js +0 -558
- package/dist/TransactionList-rdvjiLqc.cjs +0 -147
- package/dist/TransactionListBig-Duq8_AMJ.cjs +0 -284
- package/dist/TransactionListBig-bKli2lck.js +0 -658
- package/dist/TransactionListPage-BsF4Y9r3.cjs +0 -35
- package/dist/TransactionListPage-f0QkQg28.js +0 -144
- package/dist/TransactionVendorDetailPage-B5PAdxXT.cjs +0 -80
- package/dist/TransactionVendorDetailPage-DPvOH-8p.js +0 -425
- package/dist/TransferDrawerPage-DIiWTv9C.cjs +0 -362
- package/dist/TransferDrawerPage-Kd-73Eb2.js +0 -1435
- package/dist/TreasuryOverviewPage-C7twSoHh.cjs +0 -708
- package/dist/TreasuryOverviewPage-fE2419o0.js +0 -1890
- package/dist/TreasuryPromoPage-BYfmcd0j.js +0 -1122
- package/dist/TreasuryPromoPage-D7a07FcO.cjs +0 -505
- package/dist/TreasurySetupPage-DOgdLWxL.cjs +0 -144
- package/dist/TreasurySetupPage-DlzxS_0T.js +0 -683
- package/dist/TreasuryStatementsPage-DlNK7RrG.js +0 -131
- package/dist/TreasuryStatementsPage-bQPPRzws.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-BdcGsyaD.js +0 -131
- package/dist/TreasuryTaxLetterPage-IQiCUuaA.cjs +0 -58
- package/dist/TreasuryTransferOrReviewPage-BELhVdBs.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-Dp4AKOqL.js +0 -1938
- package/dist/TrendChart-B5zZ_iLE.js +0 -333
- package/dist/TrendChart-Dx6bF6an.cjs +0 -16
- package/dist/TrendWithTransactions-9rkndC8O.cjs +0 -116
- package/dist/TrendWithTransactions-DSvuHSYn.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-CWAI3J42.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-D88LMHN8.cjs +0 -244
- package/dist/UnitIntegrationPage-CMOoR90-.js +0 -405
- package/dist/UnitIntegrationPage-DnhwFztt.cjs +0 -67
- package/dist/UploadAdditionalDocumentOverlay-C7zoKH0f.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-Cr8OfKe0.js +0 -211
- package/dist/Vendor2FAPopup-CSgWpMp9.js +0 -69
- package/dist/Vendor2FAPopup-CdzTH_Ub.cjs +0 -1
- package/dist/VendorACHDetailsPage-BVRepfFD.cjs +0 -1
- package/dist/VendorACHDetailsPage-C32t35GT.js +0 -43
- package/dist/VendorDetailPage-BBjLUuhp.cjs +0 -257
- package/dist/VendorDetailPage-BMXsv3mE.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-BB-RNPFA.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-Emkm29CB.js +0 -53
- package/dist/VendorFiling1099EditablePage-Bb0RLbN2.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-CZm7En7u.js +0 -842
- package/dist/VendorFirstReviewPage--y0bMAEs.js +0 -2748
- package/dist/VendorFirstReviewPage-CSFDXZ0g.cjs +0 -730
- package/dist/VendorInternationalWireDetailsPage-D7DLypxf.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-l6gez5uR.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-CPthsLex.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-CTFN2zuT.cjs +0 -1
- package/dist/VendorsAccountsSection-BiNVJqC3.js +0 -279
- package/dist/VendorsAccountsSection-DDVQV8nf.cjs +0 -68
- package/dist/VerifyDevice-ByXAB-uE.cjs +0 -112
- package/dist/VerifyDevice-DRXh0BVj.js +0 -298
- package/dist/VideoPlayer-Cb41U-f6.js +0 -169
- package/dist/VideoPlayer-kk_QzJme.cjs +0 -77
- package/dist/VideoPopup-BiyDymT6.cjs +0 -31
- package/dist/VideoPopup-C9U4DX3l.js +0 -60
- package/dist/WarningsDrawerPage-BbeaRzZy.cjs +0 -92
- package/dist/WarningsDrawerPage-DBf7lUzm.js +0 -228
- package/dist/ZeniAccountDetailPage-D0vMcxNL.cjs +0 -300
- package/dist/ZeniAccountDetailPage-KCUamvd9.js +0 -907
- package/dist/ZeniAccountListViewPage-B3kZIFyW.cjs +0 -441
- package/dist/ZeniAccountListViewPage-Cu8aer-E.js +0 -1078
- package/dist/ZeniAccountNavBarPieces-BRn7bYkE.js +0 -89
- package/dist/ZeniAccountNavBarPieces-ByEYH5Fz.cjs +0 -14
- package/dist/ZeniAccountPromoPage-DPlBWVSE.js +0 -523
- package/dist/ZeniAccountPromoPage-JZkuJib7.cjs +0 -184
- package/dist/ZeniAccountSetupPage-D4ynqfPe.js +0 -312
- package/dist/ZeniAccountSetupPage-pLXm-36n.cjs +0 -36
- package/dist/ZeniAvatar-CsBkCVQY.js +0 -34
- package/dist/ZeniAvatar-qeanuRc6.cjs +0 -13
- package/dist/ZeniCopyright-CJNRSx5K.cjs +0 -1
- package/dist/ZeniCopyright-D4BV2AA_.js +0 -9
- package/dist/ZeniDatePicker-BdUm2M4j.js +0 -386
- package/dist/ZeniDatePicker-C9t_7hQw.cjs +0 -187
- package/dist/ZeniTransferAmountSlider-Cor2VHjO.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-izX-5d28.js +0 -215
- package/dist/analyticsHelper-B-gQGHZF.js +0 -65
- package/dist/analyticsHelper-BZWLDe9v.cjs +0 -1
- package/dist/calculateSize-CIfHOYT8.cjs +0 -1
- package/dist/calculateSize-DRool4NU.js +0 -22
- package/dist/chartTypes-C_6O8OzB.js +0 -47
- package/dist/chartTypes-DRS8kPY8.cjs +0 -1
- package/dist/common-CX6h0MsQ.cjs +0 -1
- package/dist/common-CpKeQgj7.js +0 -22
- package/dist/commonDimensions-8JDQDT8B.js +0 -13
- package/dist/commonDimensions-BR4AkiQq.cjs +0 -1
- package/dist/detailCommon-BL1DXNdc.js +0 -124
- package/dist/detailCommon-CWi9qgu4.cjs +0 -38
- package/dist/downloadPdf-B5yKDsKN.cjs +0 -1
- package/dist/downloadPdf-vDlVeOoZ.js +0 -32
- package/dist/index-C54ysOzg.js +0 -85977
- package/dist/index-DsYFWyt-.cjs +0 -19250
- package/dist/mapLoadingInProgressToTreeNode-2Q9ApJ6d.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-CVOYX7LA.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-CwBz4npr.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-DXesTqBC.js +0 -388
- package/dist/mapSpacerToTreeNode-BY5Dt_TX.js +0 -25
- package/dist/mapSpacerToTreeNode-Dk16fM_J.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CBYsMgHF.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CeICYiJn.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-KnuXRmYC.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-fD_sEhxW.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-C_onoVpd.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-D68FE4FT.js +0 -32
- package/dist/sectionColor-TH8fuSD1.js +0 -32
- package/dist/sectionColor-ae2bsuI8.cjs +0 -1
- package/dist/toCOABalancesWithID-C-y5OtQv.js +0 -8
- package/dist/toCOABalancesWithID-DlfVtmV6.cjs +0 -1
- package/dist/toChartData-Bb8ybdL4.js +0 -76
- package/dist/toChartData-DMRGRZ49.cjs +0 -1
- package/dist/treasuryColorHelper-Catj1t0z.cjs +0 -1
- package/dist/treasuryColorHelper-DU3jMQtW.js +0 -60
- package/dist/uploadAttachment-CFrxv9Ss.js +0 -952
- package/dist/uploadAttachment-_tiwGPUN.cjs +0 -286
- package/dist/zeniDatePicker.helpers-C5o_wJhe.cjs +0 -1
- package/dist/zeniDatePicker.helpers-Cmrn72HQ.js +0 -14
|
@@ -0,0 +1,2932 @@
|
|
|
1
|
+
"use strict";const t=require("./vendor-.pnpm-DHyNpoQL.cjs"),a=require("@emotion/styled"),n=require("./index-C5IoNVAR.cjs"),k=require("react"),b=require("@zeniai/client-epic-state"),$=require("./AccountRow-DLGc9Vl0.cjs"),B=require("@emotion/react"),dt=require("./sectionColor-B13etfOS.cjs");function M(e,o){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":{const s=e;return n.percentValueToString("0.00%",s.percentValue)}case"default_with_null_balance":return"-"}return n.amountToString("0,0",e?.balance)}function H(e){return n.amountToString("0,0",e?.forecast)}function tn(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":{const o=e;return n.percentValueToString("0.00%",o.totalPercentValue)}}return n.amountToString("0,0",e?.totalBalance)}function Je(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":{const o=e;return n.percentValueToString("0.00%",o.forecastPercentValue)}}return n.amountToString("0,0",e?.totalForecast)}function X(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const o=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return n.percentValueToString("0.00%",Math.floor(o*100)/100)}else return n.percentValueToString("0.00%",void 0)}function J(e){if(e!=null&&e.forecast!=null){const o=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return n.amountToString("0,0",Object.assign({},e.forecast,{amount:o}))}else return n.amountToString("0,0",null)}function nn(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 n.percentValueToString("0.00%",Math.floor(o*100)/100)}else return n.percentValueToString("0.00%",void 0)}function on(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const o=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return n.amountToString("0,0",Object.assign({},e.totalForecast,{amount:o}))}else return n.amountToString("0,0",null)}const le=(e,o,s)=>{const{startDate:i,balanceType:r}=o,{dateFormat:{visual:c}}=n.appLocale.getLocalizedStrings();switch(s){case"month":return r==="default"||r==="default_with_percent"?`${b.formatZeniDate(i,c.MMMYYYYFormat,e)}`:Ue(r,s);case"quarter":return r==="default"||r==="default_with_percent"?`${n.appLocale.getLocalizedStrings().reports.quarterPrefix}${b.formatZeniDate(i,c.QYYYYformat,e)}`:Ue(r,s);case"year":return r==="default"||r==="default_with_percent"?`${b.formatZeniDate(i,c.YYYYformat,e)}`:Ue(r,s);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Ue(e,o){return n.appLocale.getLocalizedStrings().downloadReport.additionalColumns.labels[o][e]}const $o=(e,o,s)=>{const i=o.length==0?e:`${e}_${o.join("_")}`;return s!=null&&s.trim().length>0?`${i}_${s}`:`${i}_${t.nanoid(10)}`},So=a.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: ${e=>e.heightValue}px;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding-right: ${$.commonDimensions.wrapperPadding}px;
|
|
9
|
+
`,yo=a.div`
|
|
10
|
+
cursor: default;
|
|
11
|
+
user-select: none;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex: 1 1 auto;
|
|
14
|
+
flex-flow: row;
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
align-items: center;
|
|
17
|
+
`,Co=a.div`
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: ${n.Space.sp2};
|
|
22
|
+
width: ${$.commonDimensions.leftHeadingWidth}px;
|
|
23
|
+
`,bo=a.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
align-items: center;
|
|
28
|
+
gap: ${n.Space.sp4};
|
|
29
|
+
`,vo=a(n.StandardMedium)`
|
|
30
|
+
width: ${$.commonDimensions.bankBalanceWidth}px;
|
|
31
|
+
min-width: ${$.commonDimensions.bankBalanceWidth}px;
|
|
32
|
+
text-align: right;
|
|
33
|
+
`,_o=a(n.StandardMedium)`
|
|
34
|
+
width: ${$.commonDimensions.clearedBalanceWidth}px;
|
|
35
|
+
min-width: ${$.commonDimensions.clearedBalanceWidth}px;
|
|
36
|
+
text-align: right;
|
|
37
|
+
`,Eo=a(n.StandardMedium)`
|
|
38
|
+
width: ${$.commonDimensions.statusWidth}px;
|
|
39
|
+
min-width: ${$.commonDimensions.statusWidth}px;
|
|
40
|
+
`,ko=a.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
gap: ${n.Space.sp3};
|
|
44
|
+
width: ${$.commonDimensions.varianceWidth}px;
|
|
45
|
+
min-width: ${$.commonDimensions.varianceWidth}px;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
align-items: center;
|
|
49
|
+
text-align: center;
|
|
50
|
+
`,Bo=a.div`
|
|
51
|
+
width: ${$.commonDimensions.variancePercentageWidth}px;
|
|
52
|
+
min-width: ${$.commonDimensions.variancePercentageWidth}px;
|
|
53
|
+
text-align: right;
|
|
54
|
+
margin-right: ${n.Space.sp2};
|
|
55
|
+
`,To=a.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
align-items: center;
|
|
59
|
+
`,Io=a.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
`;function Ao({height:e}){const o=n.useWindowSizeContext();return t.jsxRuntimeExports.jsx(So,{heightValue:e,windowSize:o,children:t.jsxRuntimeExports.jsxs(yo,{children:[t.jsxRuntimeExports.jsxs(Co,{children:[t.jsxRuntimeExports.jsx(To,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,customStyle:{height:n.Space.sp4,maxWidth:n.Space.sp4,width:n.Space.sp4,borderRadius:"50%"},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})}),t.jsxRuntimeExports.jsx(Io,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,customStyle:{height:n.Space.sp4,width:$.commonDimensions.leftLabelWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})})]}),t.jsxRuntimeExports.jsxs(bo,{children:[t.jsxRuntimeExports.jsx(vo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,position:"right",customStyle:{height:n.Space.sp4,width:$.commonDimensions.bankBalanceWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})}),t.jsxRuntimeExports.jsx(_o,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,position:"right",customStyle:{height:n.Space.sp4,width:$.commonDimensions.clearedBalanceWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})}),t.jsxRuntimeExports.jsxs(ko,{children:[t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,position:"right",customStyle:{height:n.Space.sp4,width:$.commonDimensions.varianceNumberWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})}),t.jsxRuntimeExports.jsx(Bo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,customStyle:{height:n.Space.sp4,width:$.commonDimensions.variancePercentageWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})})]}),t.jsxRuntimeExports.jsx(Eo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:!0,customStyle:{height:n.Space.sp4,width:$.commonDimensions.statusWidth},children:t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{})})})]})]})})}const Wo=a.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
height: ${e=>e.heightValue}px;
|
|
67
|
+
padding-right: ${$.commonDimensions.wrapperPadding}px;
|
|
68
|
+
`;function Lo({height:e}){return t.jsxRuntimeExports.jsx(Wo,{heightValue:e})}const zo=a.div`
|
|
69
|
+
user-select: none;
|
|
70
|
+
display: flex;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: ${e=>e.height}px;
|
|
73
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
padding-right: ${$.commonDimensions.wrapperPadding}px;
|
|
76
|
+
`,Po=a.div`
|
|
77
|
+
flex: 1 1 auto;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
height: ${n.Space.sp8};
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
align-items: center;
|
|
83
|
+
`,Vo=a.div`
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: row;
|
|
86
|
+
justify-content: flex-end;
|
|
87
|
+
width: ${$.commonDimensions.leftHeadingWidth}px;
|
|
88
|
+
`,No=a.div`
|
|
89
|
+
display: flex;
|
|
90
|
+
flex: 1 1 auto;
|
|
91
|
+
flex-direction: row;
|
|
92
|
+
justify-content: flex-end;
|
|
93
|
+
`,Mo=a(n.LargeSemiBold)`
|
|
94
|
+
user-select: none;
|
|
95
|
+
color: ${e=>e.theme.colors.primary};
|
|
96
|
+
width: ${$.commonDimensions.leftTimeframeWidth}px;
|
|
97
|
+
min-width: ${$.commonDimensions.leftTimeframeWidth}px;
|
|
98
|
+
flex: 1 1 auto;
|
|
99
|
+
`,Go=a(n.StandardRegular)`
|
|
100
|
+
user-select: none;
|
|
101
|
+
`,Ho=a.div`
|
|
102
|
+
max-height: ${n.Space.sp8};
|
|
103
|
+
min-height: ${n.Space.sp8};
|
|
104
|
+
min-width: ${e=>e.widthValue}px;
|
|
105
|
+
max-width: ${e=>e.widthValue}px;
|
|
106
|
+
display: flex;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
align-items: center;
|
|
109
|
+
background-color: ${e=>e.theme.colors.background};
|
|
110
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
111
|
+
border-radius: ${n.Space.sp2};
|
|
112
|
+
color: ${e=>e.theme.colors.primary};
|
|
113
|
+
margin-right: ${e=>e.marginRight===!0?n.Space.sp2:n.Space.sp0};
|
|
114
|
+
`,Oo=a.div`
|
|
115
|
+
width: ${$.commonDimensions.bankBalanceWidth}px;
|
|
116
|
+
`,Fo=a.div`
|
|
117
|
+
width: ${$.commonDimensions.bankBalanceRightTimeframeWidth}px;
|
|
118
|
+
`,Zo=a.div`
|
|
119
|
+
width: ${$.commonDimensions.clearedBalanceWidth}px;
|
|
120
|
+
margin-right: ${$.commonDimensions.tickLeftMargin}px;
|
|
121
|
+
`,Uo=a.div`
|
|
122
|
+
width: ${$.commonDimensions.varianceTimeframeWidth}px;
|
|
123
|
+
align-self: flex-end;
|
|
124
|
+
`,Do=a.div`
|
|
125
|
+
width: ${$.commonDimensions.spacerLineWidth}px;
|
|
126
|
+
`,qo=a.div`
|
|
127
|
+
width: ${$.commonDimensions.statusWidth}px;
|
|
128
|
+
`,ye=({title:e,type:o})=>t.jsxRuntimeExports.jsx(Ho,{widthValue:$.commonDimensions[o],children:t.jsxRuntimeExports.jsx(Go,{children:e})});function Yo({sectionTitle:e,height:o,isLoading:s}){const i=n.appLocale.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsxRuntimeExports.jsx(zo,{height:o,children:t.jsxRuntimeExports.jsxs(Po,{children:[t.jsxRuntimeExports.jsx(Vo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:s,customStyle:{height:n.Space.sp4,width:$.commonDimensions.leftLabelWidth},children:t.jsxRuntimeExports.jsx(Mo,{children:e})})}),t.jsxRuntimeExports.jsxs(No,{children:[t.jsxRuntimeExports.jsx(Oo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:s,customStyle:{height:n.Space.sp7,width:$.commonDimensions.bankBalanceTimeframeWidth,borderRadius:n.Space.sp2},children:t.jsxRuntimeExports.jsx(ye,{title:i.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsxRuntimeExports.jsx(Fo,{}),t.jsxRuntimeExports.jsx(Zo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:s,customStyle:{height:n.Space.sp7,width:$.commonDimensions.clearedBalanceTimeframeWidth,borderRadius:n.Space.sp2},children:t.jsxRuntimeExports.jsx(ye,{title:i.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsxRuntimeExports.jsx(Uo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:s,customStyle:{height:n.Space.sp7,width:$.commonDimensions.varianceTimeframeWidth,borderRadius:n.Space.sp2},children:t.jsxRuntimeExports.jsx(ye,{title:i.variance,type:"varianceTimeframeWidth"})})}),t.jsxRuntimeExports.jsx(Do,{}),t.jsxRuntimeExports.jsx(qo,{children:t.jsxRuntimeExports.jsx(n.Loader,{isLoading:s,customStyle:{height:n.Space.sp7,width:$.commonDimensions.statusTimeframeWidth,borderRadius:n.Space.sp2},children:t.jsxRuntimeExports.jsx(ye,{title:i.status,type:"statusTimeframeWidth"})})})]})]})})}const Xo=a.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: row;
|
|
131
|
+
height: ${e=>e.heightValue}px;
|
|
132
|
+
align-items: center;
|
|
133
|
+
padding-right: ${$.commonDimensions.wrapperPadding}px;
|
|
134
|
+
`,Jo=a(n.LargeSemiBold)`
|
|
135
|
+
user-select: none;
|
|
136
|
+
color: ${e=>e.theme.colors.primary};
|
|
137
|
+
`;function Qo({height:e,title:o}){return t.jsxRuntimeExports.jsx(Xo,{heightValue:e,children:t.jsxRuntimeExports.jsx(Jo,{children:o})})}const Ko=a.div`
|
|
138
|
+
display: flex;
|
|
139
|
+
flex: 1 1 auto;
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: ${e=>e.heightValue}px;
|
|
142
|
+
justify-content: flex-start;
|
|
143
|
+
align-items: center;
|
|
144
|
+
padding-right: ${$.commonDimensions.wrapperPadding}px;
|
|
145
|
+
`,es=a.div`
|
|
146
|
+
cursor: default;
|
|
147
|
+
user-select: none;
|
|
148
|
+
display: flex;
|
|
149
|
+
flex: 1 1 auto;
|
|
150
|
+
flex-flow: row;
|
|
151
|
+
justify-content: flex-start;
|
|
152
|
+
align-items: center;
|
|
153
|
+
color: ${e=>e.theme.colors.primary};
|
|
154
|
+
`,ts=a.div`
|
|
155
|
+
display: flex;
|
|
156
|
+
flex: 1 1 auto;
|
|
157
|
+
justify-content: flex-start;
|
|
158
|
+
align-items: center;
|
|
159
|
+
gap: ${n.Space.sp2};
|
|
160
|
+
`,ns=a(n.StandardMedium)`
|
|
161
|
+
user-select: none;
|
|
162
|
+
clear: both;
|
|
163
|
+
display: inline-block;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
white-space: nowrap;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
text-align: left;
|
|
168
|
+
color: ${e=>e.theme.colors.primary};
|
|
169
|
+
width: ${$.commonDimensions.leftLabelWidth}px;
|
|
170
|
+
min-width: ${$.commonDimensions.leftLabelWidth}px;
|
|
171
|
+
`,os=a.div`
|
|
172
|
+
display: flex;
|
|
173
|
+
flex: 1 1 auto;
|
|
174
|
+
justify-content: flex-end;
|
|
175
|
+
align-items: center;
|
|
176
|
+
`,ss=a(n.StandardMedium)`
|
|
177
|
+
width: ${$.commonDimensions.bankBalanceWidth}px;
|
|
178
|
+
min-width: ${$.commonDimensions.bankBalanceWidth}px;
|
|
179
|
+
text-align: right;
|
|
180
|
+
`,is=a(n.StandardMedium)`
|
|
181
|
+
width: ${$.commonDimensions.clearedBalanceWidth}px;
|
|
182
|
+
min-width: ${$.commonDimensions.clearedBalanceWidth}px;
|
|
183
|
+
text-align: right;
|
|
184
|
+
margin-left: ${$.commonDimensions.tickLeftMargin}px;
|
|
185
|
+
`,rs=a(n.StandardMedium)`
|
|
186
|
+
width: ${$.commonDimensions.statusWidth}px;
|
|
187
|
+
min-width: ${$.commonDimensions.statusWidth}px;
|
|
188
|
+
height: 1px;
|
|
189
|
+
`,as=a.div`
|
|
190
|
+
display: flex;
|
|
191
|
+
flex-direction: row;
|
|
192
|
+
min-width: ${$.commonDimensions.spacerLineWidth}px;
|
|
193
|
+
width: ${$.commonDimensions.spacerLineWidth}px;
|
|
194
|
+
align-items: center;
|
|
195
|
+
`,cs=a.div`
|
|
196
|
+
width: 1px;
|
|
197
|
+
margin-left: ${n.Space.sp3};
|
|
198
|
+
height: ${e=>e.heightValue}px;
|
|
199
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
200
|
+
`,ls=a.div`
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-shrink: 0;
|
|
203
|
+
width: ${$.commonDimensions.varianceTimeframeWidth}px;
|
|
204
|
+
min-width: ${$.commonDimensions.varianceTimeframeWidth}px;
|
|
205
|
+
flex-direction: row;
|
|
206
|
+
justify-content: flex-end;
|
|
207
|
+
align-items: center;
|
|
208
|
+
text-align: center;
|
|
209
|
+
margin-left: ${$.commonDimensions.tickLeftMargin}px;
|
|
210
|
+
`,ds=a(n.StandardMedium)`
|
|
211
|
+
border-radius: ${n.Space.sp1};
|
|
212
|
+
color: ${e=>e.textColor.hex()};
|
|
213
|
+
min-width: ${$.commonDimensions.varianceNumberWidth}px;
|
|
214
|
+
text-align: right;
|
|
215
|
+
margin-right: ${n.Space.sp2};
|
|
216
|
+
`,xs=a(n.StandardMedium)`
|
|
217
|
+
border-radius: ${n.Space.sp1};
|
|
218
|
+
padding: ${n.Space.sp0} ${n.Space.sp1};
|
|
219
|
+
justify-content: center;
|
|
220
|
+
text-align: center;
|
|
221
|
+
color: ${e=>e.textColor.hex()};
|
|
222
|
+
background-color: ${e=>e.bgColor.hex()};
|
|
223
|
+
min-width: ${$.commonDimensions.variancePercentageWidth}px;
|
|
224
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:Wt}}},common:{strings:{percentage:us,hyphen:Ie}}}=n.appLocale.getLocalizedStrings();function ps({height:e,sectionData:o}){const s=n.useWindowSizeContext(),i=o.totalVariance,r=o.totalVariancePercentage,c=t.useTheme();return t.jsxRuntimeExports.jsx(Ko,{"data-testid":n.generateDataTestId("total-row-root-container"),heightValue:e,windowSize:s,children:t.jsxRuntimeExports.jsxs(es,{isClickable:!1,"data-testid":n.generateDataTestId("total-row-container"),children:[t.jsxRuntimeExports.jsxs(ts,{children:[t.jsxRuntimeExports.jsx($.CircleWithLetter,{firstLetter:Wt.section[o.sectionId].subTitle.charAt(0),color:new t.Color(c.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsxRuntimeExports.jsx(ns,{children:Wt.section[o.sectionId].subTitle})]}),t.jsxRuntimeExports.jsxs(os,{children:[t.jsxRuntimeExports.jsx(ss,{children:o.totalBankBalance!=null?n.amountToString("0,0",o.totalBankBalance):Ie}),t.jsxRuntimeExports.jsx(is,{children:o.totalClearedBalance!=null?n.amountToString("0,0",o.totalClearedBalance):Ie}),t.jsxRuntimeExports.jsx(hs,{variance:i,variancePercentage:r}),t.jsxRuntimeExports.jsx(as,{children:t.jsxRuntimeExports.jsx(cs,{heightValue:e})}),t.jsxRuntimeExports.jsx(rs,{})]})]})})}const hs=({variance:e,variancePercentage:o})=>{const s=t.useTheme(),i=new t.Color(s.colors.hero),r=new t.Color(s.colors.hero),c=new t.Color(s.colors.background),l=e!=null&&e.amount===0?"0%":o!=null?o===0?"0%":`${o.toFixed(2)}${us}`:Ie;return t.jsxRuntimeExports.jsxs(ls,{children:[t.jsxRuntimeExports.jsx(ds,{textColor:i,children:e!=null?n.amountToString("0,0",e):Ie}),t.jsxRuntimeExports.jsx(xs,{textColor:r,bgColor:c,children:l})]})};function ms(){return t.jsxRuntimeExports.jsx(Lo,{height:$.getDefaultNodeHeight("section")})}function gs(){return t.jsxRuntimeExports.jsx(Ao,{height:$.getDefaultNodeHeight("loading_in_progress")})}function fs(e,o){if(e.element.kind!=="timeframe_headers")return null;const s=n.appLocale.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,i=e.element.data,r=i.accountIDs.length===0;return t.jsxRuntimeExports.jsx(Yo,{sectionTitle:s.section[i.sectionId].title,isLoading:r,isSticky:o,height:$.getDefaultNodeHeight("timeframe_headers")})}const js=(e,o,s)=>{const i=e.element.data;return t.jsxRuntimeExports.jsx(ps,{isSticky:s,height:o,sectionData:i})},ws=(e,o)=>{const s=e.element.data,i=n.appLocale.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsxRuntimeExports.jsx(Qo,{height:o,title:i.section[s.sectionId].title})},Rs=(e,o,s)=>{const i=e.element.data,r=e.config.accountReconciliationConfig?.selectedDrawerAccountId!=null?i.accountReconEntity.account.accountId===e.config.accountReconciliationConfig?.selectedDrawerAccountId:!1;return t.jsxRuntimeExports.jsx($.AccountRow,{height:o,accountRecon:i,isLastRow:s,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})},w={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceWidth:"166px",balanceWidthInPx:166,loadingBalanceWidthInPx:128,smallLoadingBalanceWidthInPx:98,balanceLeftMargin:n.Space.sp4,balanceLeftMarginInPx:n.sp[4],titleWidth:new n.ResponsiveSized(200,325,405),loadingInProgressStickySectionWidth:385,get loadingInProgressScrollableSectionWidth(){return`calc(100% - ${this.loadingInProgressStickySectionWidth}px)`},loadingInProgressLargeStickyColumnWidth:194,loadingInProgressSmallStickyColumnWidth:128,leafClassRowHeight:n.sp[9]};function $s(e){switch(e){case"section":return n.sp[8];case"section_with_ac_only":return n.sp[8];case"calculated_section":case"calculated_section_type1":return n.sp[8];case"ac_group_report":case"ac_group_subaccount":return n.sp[6];case"ac_subentity_total":case"ac_subaccount":case"ac_report":return n.sp[6];case"title_string_only":case"total":return n.sp[6];case"timeframe_headers":case"headers_loading_in_progress":return n.sp[11];case"timeframe_headers_with_forecast":return 98;case"loading_in_progress":case"class":case"checkbox_and_name_only":return n.sp[6];default:return 0}}function Ss(e,o,s=0){const i=["summary"];switch(e){case"section":return!i.includes(o);case"section_with_ac_only":return!i.includes(o);case"calculated_section":case"calculated_section_type1":return!1;case"ac_group_report":return!1;case"ac_group_subaccount":return!(i.includes(o)||o==="detailed"&&s>0);case"ac_report":return!1;case"ac_subaccount":case"ac_subentity_total":return!(i.includes(o)||o==="detailed"&&s>0);case"title_string_only":return!i.includes(o);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":return!(o==="detailed"&&s>0);case"checkbox_and_name_only":return!0;default:return!1}}const ee=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!0}},ne=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!1}},sn={emptyLeftContainer:new n.ResponsiveSized(n.sp[0],n.sp[5])},ys=a(n.StandardRegular)`
|
|
225
|
+
margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.Space.sp3:n.Space.sp2};
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
white-space: nowrap;
|
|
228
|
+
text-overflow: ellipsis;
|
|
229
|
+
width: ${e=>w.titleWidth.value(e.windowSize)-(e.depth+1)*45}px;
|
|
230
|
+
`,Cs=a.div`
|
|
231
|
+
display: flex;
|
|
232
|
+
height: ${n.Space.sp6};
|
|
233
|
+
align-items: center;
|
|
234
|
+
`,bs=a.div`
|
|
235
|
+
display: flex;
|
|
236
|
+
height: ${n.Space.sp6};
|
|
237
|
+
align-items: center;
|
|
238
|
+
`,vs=a.div`
|
|
239
|
+
height: ${n.Space.sp6};
|
|
240
|
+
width: ${n.Space.sp3};
|
|
241
|
+
`,_s=a.div`
|
|
242
|
+
width: 14px;
|
|
243
|
+
height: ${n.Space.sp1};
|
|
244
|
+
`,Es=a.div`
|
|
245
|
+
width: ${n.Space.sp2};
|
|
246
|
+
height: ${n.Space.sp1};
|
|
247
|
+
`,rn=a.div`
|
|
248
|
+
width: ${e=>sn.emptyLeftContainer.valuePx(e.windowSize)};
|
|
249
|
+
height: ${n.Space.sp1};
|
|
250
|
+
`,he=a.div`
|
|
251
|
+
display: flex;
|
|
252
|
+
`,ks=({ancestorMetadata:e,depth:o,name:s})=>t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:o>0?[...Array(o).keys()].map(i=>{const r=e[i];return t.jsxRuntimeExports.jsxs(he,{children:[r.depth===0?t.jsxRuntimeExports.jsx(n.ClassDepthComponent,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsxRuntimeExports.jsx(n.LineComponent,{},i):t.jsxRuntimeExports.jsx(n.NoLineComponent,{}):null,r.depth>=1?t.jsxRuntimeExports.jsx(n.ClassDepthComponent,{depth:r.depth}):null]},s+i)}):null}),an=({ancestorMetadata:e,depth:o,name:s})=>{const i=n.useWindowSizeContext();return o===0?e[o].hasChildren===!1?t.jsxRuntimeExports.jsx(rn,{windowSize:i}):t.jsxRuntimeExports.jsxs(he,{children:[t.jsxRuntimeExports.jsx(n.ClassAccountDepthComponent,{depth:o}),t.jsxRuntimeExports.jsx(n.LineComponent,{}),t.jsxRuntimeExports.jsx(n.ClassAccountDepthComponent,{depth:o+1})]}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[[...Array(o+1).keys()].map(r=>{const c=e[r],l=r!==o?e[r+1]:void 0;return t.jsxRuntimeExports.jsxs(he,{children:[c.depth===0?t.jsxRuntimeExports.jsx(n.ClassAccountDepthComponent,{depth:c.depth}):null,r>=2||r===1&&(o===r?c.hasChildren===!0:l!=null&&!l.isLastNode)?o===1?t.jsxRuntimeExports.jsx(n.ClassAccountOffsetComponent,{index:1}):t.jsxRuntimeExports.jsx(n.ClassAccountOffsetComponent,{index:2}):null,(o===r?c.hasChildren===!0:l!=null&&!l.isLastNode)?t.jsxRuntimeExports.jsx(n.LineComponent,{},r):t.jsxRuntimeExports.jsx(n.NoLineComponent,{}),t.jsxRuntimeExports.jsx(n.ClassAccountDepthComponent,{depth:c.depth+1})]},s+r)}),o===1&&e[o].hasChildren!=!0?t.jsxRuntimeExports.jsx(Es,{}):null]})},cn=({ancestorMetadata:e,depth:o,name:s})=>o===0?t.jsxRuntimeExports.jsx(_s,{}):t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:[...Array(o).keys()].map(i=>{const r=e[i],c=i!==o?e[i+1]:void 0;return t.jsxRuntimeExports.jsxs(he,{children:[r!=null&&r.depth===0?t.jsxRuntimeExports.jsx(n.AccountDepthComponent,{depth:r.depth}):null,c!=null&&!c.isLastNode?t.jsxRuntimeExports.jsx(n.LineComponent,{},i):t.jsxRuntimeExports.jsx(n.NoLineComponent,{}),t.jsxRuntimeExports.jsx(n.AccountDepthComponent,{depth:r!=null?r.depth+1:0})]},s+i)})}),Bs=({ancestorMetadata:e,depth:o,name:s})=>t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:o>0?[...Array(o).keys()].map(i=>{const r=e[i];return r==null?null:t.jsxRuntimeExports.jsxs(he,{children:[r.depth===0?t.jsxRuntimeExports.jsx(n.AccountDepthComponent,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsxRuntimeExports.jsx(n.LineComponent,{},i):t.jsxRuntimeExports.jsx(n.NoLineComponent,{}):null,r.depth>=1?t.jsxRuntimeExports.jsx(n.AccountDepthComponent,{depth:r.depth}):null]},s+i)}):null}),Ts=({depth:e,isLastNode:o,isLeaf:s,hasSiblings:i,hasChildren:r,collapsed:c,onIconClick:l})=>{let d=t.jsxRuntimeExports.jsx(vs,{});return e===0&&r&&(d=t.jsxRuntimeExports.jsx(n.RootIcon,{collapsed:c,onIconClick:l})),e>0&&(r&&!i&&o&&(d=t.jsxRuntimeExports.jsx(n.LineLIconComponent,{collapsed:c,onIconClick:l})),s&&i&&o&&(d=t.jsxRuntimeExports.jsx(n.LineLComponent,{})),s&&i&&!o&&(d=t.jsxRuntimeExports.jsx(n.LineTComponent,{})),r&&i&&!o&&(d=t.jsxRuntimeExports.jsx(n.LineTIconComponent,{collapsed:c,onIconClick:l})),r&&i&&o&&(d=t.jsxRuntimeExports.jsx(n.LineLIconComponent,{collapsed:c,onIconClick:l})),o&&s&&(d=t.jsxRuntimeExports.jsx(n.LineLComponent,{}))),d},Is=({depth:e,isLastNode:o,isLeaf:s,hasSiblings:i,hasChildren:r,collapsed:c,onIconClick:l})=>t.jsxRuntimeExports.jsx(bs,{children:t.jsxRuntimeExports.jsx(Ts,{depth:e,isLastNode:o,isLeaf:s,hasSiblings:i,hasChildren:r,collapsed:c,onIconClick:l})});function ln(e){const{displayName:o}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const s=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Cs,{children:[e.classDepth!=null?t.jsxRuntimeExports.jsx(an,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsxRuntimeExports.jsx(rn,{windowSize:s}):null,t.jsxRuntimeExports.jsx(Bs,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsxRuntimeExports.jsx(Is,{...e}),t.jsxRuntimeExports.jsx(ys,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:s,title:o,children:o})]})}const z={balanceHeight:n.Space.sp4,balanceWidth:"166px",balanceLeftMargin:n.Space.sp4,titleWidth:new n.ResponsiveSized(200,325,405),nameLogoWidth:new n.ResponsiveSized(n.sp[4],n.sp[4]),nameLogoHeight:new n.ResponsiveSized(n.sp[4],n.sp[4])};function As(e){switch(e){case"timeframe_headers":return n.sp[10];case"aging_report_row":return n.sp[6];case"ac_subentity_total":return n.sp[6];case"total":return n.sp[8];case"spacer_row":return n.sp[8];default:return n.sp[0]}}function Ws(){return!0}const Ce=[new n.ResponsiveSized(n.sp[4],n.sp[8]),new n.ResponsiveSized(44,76),new n.ResponsiveSized(69,102),new n.ResponsiveSized(93,124),new n.ResponsiveSized(113,143)],Ls=a.div`
|
|
253
|
+
display: flex;
|
|
254
|
+
flex: 1 1 auto;
|
|
255
|
+
max-height: 1px;
|
|
256
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
257
|
+
`,zs=a.div`
|
|
258
|
+
display: flex;
|
|
259
|
+
flex: 1 1 auto;
|
|
260
|
+
flex-flow: row;
|
|
261
|
+
justify-content: flex-start;
|
|
262
|
+
align-items: center;
|
|
263
|
+
`,Ps=a.div`
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: row;
|
|
266
|
+
flex-shrink: 2;
|
|
267
|
+
flex-grow: 1;
|
|
268
|
+
align-items: center;
|
|
269
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
270
|
+
width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
271
|
+
max-width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
272
|
+
${({isSticky:e})=>e?B.css`
|
|
273
|
+
position: -webkit-sticky;
|
|
274
|
+
position: sticky;
|
|
275
|
+
top: ${n.Space.sp0};
|
|
276
|
+
left: ${n.Space.sp0};
|
|
277
|
+
`:null}
|
|
278
|
+
`,Vs=a.div`
|
|
279
|
+
width: ${e=>e.noMarginForEntity?Ce[e.nestingLevel].value(e.windowSize)-n.sp[5]:Ce[e.nestingLevel].value(e.windowSize)}px;
|
|
280
|
+
max-width: ${e=>e.noMarginForEntity?Ce[e.nestingLevel].value(e.windowSize)-n.sp[5]:Ce[e.nestingLevel].value(e.windowSize)}px;
|
|
281
|
+
height: 1px;
|
|
282
|
+
`,Ns=a.div`
|
|
283
|
+
display: flex;
|
|
284
|
+
flex: 1 1 auto;
|
|
285
|
+
max-height: 1px;
|
|
286
|
+
height: 1px;
|
|
287
|
+
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
288
|
+
`,Ms=a.div`
|
|
289
|
+
display: flex;
|
|
290
|
+
flex: 1 1 auto;
|
|
291
|
+
max-height: 1px;
|
|
292
|
+
height: 1px;
|
|
293
|
+
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
294
|
+
`,Lt=e=>{const o=n.useWindowSizeContext(),s=t.useTheme();return t.jsxRuntimeExports.jsxs(zs,{"data-testid":n.generateDataTestId("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxRuntimeExports.jsxs(Ps,{windowSize:o,isSticky:e.isSticky,"data-testid":n.generateDataTestId("sub-entity-name-container","vendor_row_separator"),children:[t.jsxRuntimeExports.jsx(Vs,{"data-testid":n.generateDataTestId("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:o}),t.jsxRuntimeExports.jsx(Ns,{"data-testid":n.generateDataTestId("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?s.colors.grey1:s.colors.grey3})]}),t.jsxRuntimeExports.jsx(Ms,{"data-testid":n.generateDataTestId("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?s.colors.grey1:s.colors.grey3})]})};function Qe({kind:e,isScrolling:o,subEntityProps:s}){switch(e){case"vendor_row_separator":return t.jsxRuntimeExports.jsx(Lt,{nestingLevel:s?.nestingLevel??0,isScrolling:o,isSticky:s?.isSticky??!1,isTotal:!1,noMarginForEntity:s?.noMarginForEntity??!0});case"end_row_separator":return t.jsxRuntimeExports.jsx(Ls,{"data-testid":n.generateDataTestId("end-row-separator",e),isScrolling:o});case"subtotal_row_separator":return t.jsxRuntimeExports.jsx(Lt,{nestingLevel:s?.nestingLevel??1,isScrolling:o,isSticky:s?.isSticky??!1,isTotal:!0,noMarginForEntity:s?.noMarginForEntity??!1})}}const dn=a.div`
|
|
295
|
+
display: flex;
|
|
296
|
+
flex: 1 1 auto;
|
|
297
|
+
width: fit-content;
|
|
298
|
+
min-width: 100%;
|
|
299
|
+
flex-direction: column;
|
|
300
|
+
height: ${e=>e.containerHeight}px;
|
|
301
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
302
|
+
`,xn=a.div`
|
|
303
|
+
user-select: none;
|
|
304
|
+
display: flex;
|
|
305
|
+
flex: 1 1 auto;
|
|
306
|
+
flex-flow: row;
|
|
307
|
+
justify-content: flex-start;
|
|
308
|
+
align-items: center;
|
|
309
|
+
height: ${e=>e.containerHeight}px;
|
|
310
|
+
&:hover {
|
|
311
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
312
|
+
}
|
|
313
|
+
`,un=a.div`
|
|
314
|
+
display: flex;
|
|
315
|
+
flex: 1 0 auto;
|
|
316
|
+
flex-direction: row;
|
|
317
|
+
justify-content: flex-end;
|
|
318
|
+
`,pn=a.div`
|
|
319
|
+
display: flex;
|
|
320
|
+
flex-direction: row;
|
|
321
|
+
justify-content: flex-start;
|
|
322
|
+
`,hn=a(n.StandardRegular)`
|
|
323
|
+
user-select: none;
|
|
324
|
+
min-width: ${z.balanceWidth};
|
|
325
|
+
max-width: ${z.balanceWidth};
|
|
326
|
+
text-align: right;
|
|
327
|
+
margin-left: ${z.balanceLeftMargin};
|
|
328
|
+
border: 1px solid transparent;
|
|
329
|
+
color: ${e=>e.theme.colors.hero};
|
|
330
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
331
|
+
&:hover {
|
|
332
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
333
|
+
}
|
|
334
|
+
`,Gs=a(n.StandardRegular)`
|
|
335
|
+
user-select: none;
|
|
336
|
+
clear: both;
|
|
337
|
+
display: inline-block;
|
|
338
|
+
overflow: hidden;
|
|
339
|
+
white-space: nowrap;
|
|
340
|
+
text-overflow: ellipsis;
|
|
341
|
+
text-align: left;
|
|
342
|
+
margin-left: ${n.Space.sp2};
|
|
343
|
+
`,mn=a.div`
|
|
344
|
+
display: flex;
|
|
345
|
+
flex-direction: row;
|
|
346
|
+
flex-shrink: 2;
|
|
347
|
+
flex-grow: 1;
|
|
348
|
+
align-items: center;
|
|
349
|
+
height: ${e=>e.containerHeight}px;
|
|
350
|
+
width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
351
|
+
max-width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
352
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
353
|
+
${({isSticky:e})=>e?B.css`
|
|
354
|
+
position: sticky;
|
|
355
|
+
top: ${n.Space.sp0};
|
|
356
|
+
left: ${n.Space.sp0};
|
|
357
|
+
`:null}
|
|
358
|
+
cursor: pointer;
|
|
359
|
+
color: ${e=>e.theme.colors.hero};
|
|
360
|
+
&:hover {
|
|
361
|
+
color: ${e=>e.theme.colors.primary};
|
|
362
|
+
}
|
|
363
|
+
`,gn=({balance:e,isOpen:o})=>{const s=o?e?.balance:e?.totalBalance;return t.jsxRuntimeExports.jsx(pn,{children:t.jsxRuntimeExports.jsx(hn,{isClickable:!1,onClick:()=>null,children:n.amountToString("0,0",s)})})},fn=({total:e})=>t.jsxRuntimeExports.jsx(pn,{children:t.jsxRuntimeExports.jsx(hn,{isClickable:!1,onClick:()=>null,children:n.amountToString("0,0",e)})});function Hs({isSticky:e,height:o,isScrolling:s,isLastNode:i,balances:r,total:c,vendor:l,backgroundColor:d,onEntityNameClick:x}){const p=n.useWindowSizeContext(),h="default",u=l?.name??"";return t.jsxRuntimeExports.jsxs(dn,{"data-testid":n.generateDataTestId("ap-aging-report-row-root-container",u),containerHeight:o,bgColor:d,windowSize:p,children:[t.jsxRuntimeExports.jsxs(xn,{"data-testid":n.generateDataTestId("ap-aging-report-row-container",u),style:{cursor:h},isClickable:!1,containerHeight:o-1,children:[t.jsxRuntimeExports.jsxs(mn,{onClick:()=>l?.id!=null?x?.(l.id):void 0,isSticky:e,windowSize:p,bgColor:d,containerHeight:o-1,children:[l?.logo!=null?t.jsxRuntimeExports.jsx(n.EntityLogoAvatar,{photoUrl:l.logo.toString(),styles:{width:z.nameLogoWidth.valuePx(p),height:z.nameLogoHeight.valuePx(p)}}):t.jsxRuntimeExports.jsx(n.EntityAvatar,{name:u??"",size:n.Space.sp4}),t.jsxRuntimeExports.jsx(Gs,{children:u})]}),t.jsxRuntimeExports.jsxs(un,{"data-testid":n.generateDataTestId("ap-aging-report-row-balances-container",u),children:[r.map(m=>t.jsxRuntimeExports.jsx(gn,{balance:m,isOpen:!0},m?.period)),t.jsxRuntimeExports.jsx(fn,{total:c})]})]}),t.jsxRuntimeExports.jsx(jn,{isScrolling:s,isLastNode:i})]})}function Os({treeNodeId:e,isSticky:o,height:s,isScrolling:i,isLastNode:r,isOpen:c,balances:l,total:d,totalWithChildren:x,nestedCustomer:p,metadata:h,backgroundColor:u,onEntityNameClick:m,onClick:g}){const j=n.useWindowSizeContext(),f=h,y=p?.customer.name??"",S=p!=null?p.id.length-1:0,v=p?.hasSiblings??!1,C=p!=null?p.children.length!==0:!1,_=C,I=_?"pointer":"default",A=p!=null?p.isLeafCustomer:!1,V=()=>{g?.(e)};return t.jsxRuntimeExports.jsxs(dn,{"data-testid":n.generateDataTestId("ar-aging-report-row-root-container",e),containerHeight:s,bgColor:u,windowSize:j,children:[t.jsxRuntimeExports.jsxs(xn,{"data-testid":n.generateDataTestId("ar-aging-report-row-container",e),style:{cursor:I},isClickable:_,containerHeight:s-1,children:[t.jsxRuntimeExports.jsx(mn,{"data-testid":n.generateDataTestId("ar-aging-report-row-name-container",e),isSticky:o,windowSize:j,bgColor:u,containerHeight:s-1,children:t.jsxRuntimeExports.jsx(ln,{displayName:y,depth:S,isLastNode:r,hasChildren:C,hasSiblings:v,isLeaf:A,collapsed:!c,subAccountAnscestorMetadata:f.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:V,onNameClick:()=>p?.id[0]!=null?m?.(p.id[0]):void 0})}),t.jsxRuntimeExports.jsxs(un,{children:[l.map(P=>t.jsxRuntimeExports.jsx(gn,{balance:P,isOpen:c},P?.period)),t.jsxRuntimeExports.jsx(fn,{total:c?d:x})]})]}),t.jsxRuntimeExports.jsx(jn,{isScrolling:i,subEntityProps:{nestingLevel:S,isSticky:o,noMarginForEntity:!0}})]})}function jn({isScrolling:e,isLastNode:o=!1,subEntityProps:s}){return o?t.jsxRuntimeExports.jsx(Qe,{isScrolling:e,kind:"end_row_separator",subEntityProps:s}):t.jsxRuntimeExports.jsx(Qe,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:s})}const Fs=a.div`
|
|
364
|
+
user-select: none;
|
|
365
|
+
display: flex;
|
|
366
|
+
flex: 1 1 auto;
|
|
367
|
+
width: fit-content;
|
|
368
|
+
min-width: 100%;
|
|
369
|
+
height: ${e=>e.height}px;
|
|
370
|
+
flex-flow: row;
|
|
371
|
+
justify-content: flex-start;
|
|
372
|
+
align-items: center;
|
|
373
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
374
|
+
`,Zs=a.div`
|
|
375
|
+
display: flex;
|
|
376
|
+
flex: 1 0 auto;
|
|
377
|
+
flex-direction: row;
|
|
378
|
+
justify-content: flex-end;
|
|
379
|
+
`,wn=a.div`
|
|
380
|
+
display: flex;
|
|
381
|
+
max-height: ${n.Space.sp8};
|
|
382
|
+
min-height: ${n.Space.sp8};
|
|
383
|
+
min-width: ${z.balanceWidth};
|
|
384
|
+
justify-content: center;
|
|
385
|
+
align-items: center;
|
|
386
|
+
background-color: ${e=>e.theme.colors.background};
|
|
387
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
388
|
+
border-radius: ${n.Space.sp2};
|
|
389
|
+
margin-left: ${z.balanceLeftMargin};
|
|
390
|
+
color: ${e=>e.theme.colors.primary};
|
|
391
|
+
`,Rn=a(n.StandardRegular)`
|
|
392
|
+
display: flex;
|
|
393
|
+
user-select: none;
|
|
394
|
+
flex-direction: row;
|
|
395
|
+
justify-content: center;
|
|
396
|
+
align-items: center;
|
|
397
|
+
height: ${z.balanceHeight};
|
|
398
|
+
max-width: ${z.balanceWidth};
|
|
399
|
+
width: 138px;
|
|
400
|
+
text-align: center;
|
|
401
|
+
column-gap: ${n.Space.sp1};
|
|
402
|
+
color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
|
|
403
|
+
`,Us=a.div`
|
|
404
|
+
max-height: ${n.Space.sp8};
|
|
405
|
+
min-height: ${n.Space.sp8};
|
|
406
|
+
display: flex;
|
|
407
|
+
flex-direction: row;
|
|
408
|
+
align-items: center;
|
|
409
|
+
min-width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
410
|
+
color: ${e=>e.theme.colors.primary};
|
|
411
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
412
|
+
${e=>e.isSticky?B.css`
|
|
413
|
+
position: -webkit-sticky;
|
|
414
|
+
position: sticky;
|
|
415
|
+
top: ${n.Space.sp0};
|
|
416
|
+
left: ${n.Space.sp0};
|
|
417
|
+
`:""}
|
|
418
|
+
`,Ds=a(n.StandardRegular)`
|
|
419
|
+
display: flex;
|
|
420
|
+
align-items: center;
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
column-gap: ${n.Space.sp1};
|
|
423
|
+
color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
|
|
424
|
+
`,$n=a.div`
|
|
425
|
+
max-height: ${n.Space.sp8};
|
|
426
|
+
min-height: ${n.Space.sp8};
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
`,xt=a.div`
|
|
429
|
+
display: flex;
|
|
430
|
+
column-gap: ${n.Space.sp1};
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
align-items: center;
|
|
433
|
+
color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.hero};
|
|
434
|
+
`,Sn=a.div``,yn=a(n.SvgCloseRound)`
|
|
435
|
+
width: 12px;
|
|
436
|
+
height: 12px;
|
|
437
|
+
cursor: pointer;
|
|
438
|
+
color: ${e=>e.theme.colors.hero};
|
|
439
|
+
`,ut=a(n.SvgArrowTailBottom)`
|
|
440
|
+
width: 12px;
|
|
441
|
+
height: 12px;
|
|
442
|
+
`,pt=a(n.SvgArrowTailTop)`
|
|
443
|
+
width: 12px;
|
|
444
|
+
height: 12px;
|
|
445
|
+
`,qs=({reportId:e,sortKey:o,sortOrder:s="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",c=()=>{i?.(ht(s),r)},l=o===r?s:"ascending";return t.jsxRuntimeExports.jsxs(Ds,{active:o===r,"data-testid":n.generateDataTestId("duration-row-vendor-title",e),children:[r==="vendor"?n.appLocale.getLocalizedStrings().reports.aging.apAging.vendor:n.appLocale.getLocalizedStrings().reports.aging.arAging.customer,t.jsxRuntimeExports.jsx(xt,{selectedForSort:o===r,children:t.jsxRuntimeExports.jsx(Sn,{"data-testid":n.generateDataTestId("duration-row-vendor-sort-icon",e),onClick:c,children:l==="ascending"?t.jsxRuntimeExports.jsx(pt,{}):t.jsxRuntimeExports.jsx(ut,{})})}),t.jsxRuntimeExports.jsx(n.ControlledComponent,{controller:o===r,children:t.jsxRuntimeExports.jsx(yn,{"data-testid":n.generateDataTestId("duration-row-vendor-sort-cancel-icon",e),onClick:()=>Cn({onSortOrderChanged:i})})})]})},Cn=({onSortOrderChanged:e})=>{e?.("descending","total")},Ys=({agingPeriod:e,sortKey:o="vendor",sortOrder:s="ascending",onSortOrderChanged:i})=>{const r=o===e?s:"ascending",c=()=>{i?.(ht(s),e)};return t.jsxRuntimeExports.jsx($n,{"data-testid":n.generateDataTestId("duration-row-tick-container",e),children:t.jsxRuntimeExports.jsx(wn,{"data-testid":n.generateDataTestId("duration-row-tick-element-container",e),children:t.jsxRuntimeExports.jsxs(Rn,{active:o===e,"data-testid":n.generateDataTestId("duration-row-timeframe-tick",e),children:[n.appLocale.getLocalizedStrings().reports.aging.duration[e],t.jsxRuntimeExports.jsxs(xt,{selectedForSort:o===e,"data-testid":n.generateDataTestId("duration-row-sort-container",e),children:[t.jsxRuntimeExports.jsx(Sn,{"data-testid":n.generateDataTestId("duration-row-sort-icon",e),onClick:c,children:r==="ascending"?t.jsxRuntimeExports.jsx(pt,{}):t.jsxRuntimeExports.jsx(ut,{})}),t.jsxRuntimeExports.jsx(n.ControlledComponent,{controller:o===e,children:t.jsxRuntimeExports.jsx(yn,{"data-testid":n.generateDataTestId("duration-row-sort-cancel-icon",e),onClick:()=>Cn({onSortOrderChanged:i})})})]})]})})})},bn=({reportId:e,sortKey:o,sortOrder:s="ascending",onSortOrderChanged:i})=>{const r=o==="total"?s:"ascending",c=()=>{i?.(ht(s),"total")};return t.jsxRuntimeExports.jsx($n,{"data-testid":n.generateDataTestId("duration-row-entity-total-tick-container",e),onClick:c,children:t.jsxRuntimeExports.jsx(wn,{"data-testid":n.generateDataTestId("duration-row-entity-total-tick-element-container",e),children:t.jsxRuntimeExports.jsxs(Rn,{active:o==="total","data-testid":n.generateDataTestId("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?n.appLocale.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:n.appLocale.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsxRuntimeExports.jsx(xt,{selectedForSort:o==="total","data-testid":n.generateDataTestId("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsxRuntimeExports.jsx(pt,{}):t.jsxRuntimeExports.jsx(ut,{})})]})})})},Xs=({reportId:e,agingPeriod:o,sortKey:s="vendor",sortOrder:i="ascending",onSortOrderChanged:r})=>o!=null?t.jsxRuntimeExports.jsx(Ys,{sortKey:s,sortOrder:i,onSortOrderChanged:r,agingPeriod:o}):t.jsxRuntimeExports.jsx(bn,{reportId:e,sortKey:s,sortOrder:i,onSortOrderChanged:r});function Js({reportId:e,isSticky:o,height:s,agingPeriods:i,sortKey:r,sortOrder:c,backgroundColor:l,onSortOrderChanged:d}){const x=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Fs,{height:s,bgColor:l,"data-testid":n.generateDataTestId("duration-row-root-container",e),children:[t.jsxRuntimeExports.jsx(Us,{"data-testid":n.generateDataTestId("duration-row-placeholder-name",e),isSticky:o,windowSize:x,bgColor:l,children:t.jsxRuntimeExports.jsx(qs,{reportId:e,sortKey:r,sortOrder:c,onSortOrderChanged:d})}),t.jsxRuntimeExports.jsxs(Zs,{children:[i.map(p=>t.jsxRuntimeExports.jsx(Xs,{reportId:e,agingPeriod:p,sortKey:r,sortOrder:c,onSortOrderChanged:d},p)),t.jsxRuntimeExports.jsx(bn,{reportId:e,sortKey:r,sortOrder:c,onSortOrderChanged:d})]})]})}const ht=e=>e==="ascending"?"descending":"ascending",Qs=[10,14,20,20,20],Ks=a.div`
|
|
446
|
+
display: flex;
|
|
447
|
+
flex: 1 1 auto;
|
|
448
|
+
width: fit-content;
|
|
449
|
+
min-width: 100%;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
height: ${e=>e.containerHeight}px;
|
|
452
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
453
|
+
`,ei=a.div`
|
|
454
|
+
user-select: none;
|
|
455
|
+
display: flex;
|
|
456
|
+
flex: 1 1 auto;
|
|
457
|
+
flex-flow: row;
|
|
458
|
+
justify-content: flex-start;
|
|
459
|
+
align-items: center;
|
|
460
|
+
`,ti=a.div`
|
|
461
|
+
display: flex;
|
|
462
|
+
flex: 1 0 auto;
|
|
463
|
+
flex-direction: row;
|
|
464
|
+
justify-content: flex-end;
|
|
465
|
+
`,vn=a.div`
|
|
466
|
+
display: flex;
|
|
467
|
+
flex-direction: row;
|
|
468
|
+
justify-content: flex-start;
|
|
469
|
+
`,_n=a(n.StandardRegular)`
|
|
470
|
+
user-select: none;
|
|
471
|
+
min-width: ${z.balanceWidth};
|
|
472
|
+
max-width: ${z.balanceWidth};
|
|
473
|
+
text-align: right;
|
|
474
|
+
margin-left: ${z.balanceLeftMargin};
|
|
475
|
+
color: ${e=>e.theme.colors.primary};
|
|
476
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
477
|
+
`,ni=a.div`
|
|
478
|
+
display: flex;
|
|
479
|
+
flex-direction: row;
|
|
480
|
+
flex-shrink: 2;
|
|
481
|
+
flex-grow: 1;
|
|
482
|
+
align-items: center;
|
|
483
|
+
height: ${e=>e.containerHeight-1}px;
|
|
484
|
+
width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
485
|
+
max-width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
486
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
487
|
+
${({isSticky:e})=>e?B.css`
|
|
488
|
+
position: sticky;
|
|
489
|
+
top: ${n.Space.sp0};
|
|
490
|
+
left: ${n.Space.sp0};
|
|
491
|
+
`:null}
|
|
492
|
+
`,oi=a(n.StandardRegular)`
|
|
493
|
+
user-select: none;
|
|
494
|
+
clear: both;
|
|
495
|
+
display: inline-block;
|
|
496
|
+
overflow: hidden;
|
|
497
|
+
white-space: nowrap;
|
|
498
|
+
text-overflow: ellipsis;
|
|
499
|
+
text-align: left;
|
|
500
|
+
margin-left: ${e=>Qs[e.depth]}px;
|
|
501
|
+
color: ${e=>e.theme.colors.primary};
|
|
502
|
+
width: ${e=>z.titleWidth.value(e.windowSize)-e.depth*n.sp[11]}px;
|
|
503
|
+
`,si=({balance:e})=>t.jsxRuntimeExports.jsx(vn,{children:t.jsxRuntimeExports.jsx(_n,{isClickable:!1,onClick:()=>null,children:n.amountToString("0,0",e?.totalBalance)})}),ii=({total:e})=>t.jsxRuntimeExports.jsx(vn,{children:t.jsxRuntimeExports.jsx(_n,{isClickable:!1,onClick:()=>null,children:n.amountToString("0,0",e)})});function ri({backgroundColor:e,isSticky:o,height:s,noMarginForEntity:i,isScrolling:r,total:c,nestedCustomer:l,metadata:d}){const x=n.useWindowSizeContext(),{common:{strings:{empty:p}},reports:{sections:h}}=n.appLocale.getLocalizedStrings(),u=l!=null?l.id.length-1:0,m=d,g=l?.customer.name??p;return t.jsxRuntimeExports.jsxs(Ks,{"data-testid":"sub-customer-total-row-root-container",containerHeight:s,bgColor:e,children:[t.jsxRuntimeExports.jsxs(ei,{"data-testid":"sub-customer-total-row-container",children:[t.jsxRuntimeExports.jsxs(ni,{isSticky:o,windowSize:x,bgColor:e,containerHeight:s,children:[t.jsxRuntimeExports.jsx(cn,{ancestorMetadata:m.vendorOrCustomerAncestorMetadata,depth:u,name:g}),t.jsxRuntimeExports.jsx(oi,{isClickable:!1,title:g,depth:u,windowSize:x,children:h.totalPrefix+" "+g})]}),t.jsxRuntimeExports.jsxs(ti,{children:[l?.arAgingBalances.map((j,f)=>t.jsxRuntimeExports.jsx(si,{balance:j},f)),t.jsxRuntimeExports.jsx(ii,{total:c})]})]}),t.jsxRuntimeExports.jsx(ai,{isScrolling:r,nestingLevel:u,isSticky:o,noMarginForEntity:i})]})}function ai({isScrolling:e,nestingLevel:o,isSticky:s,noMarginForEntity:i}){return t.jsxRuntimeExports.jsx(Qe,{isScrolling:e,kind:"subtotal_row_separator",subEntityProps:{nestingLevel:o,isSticky:s,noMarginForEntity:i}})}const q=e=>{switch(e){case"name+balances_actual":return!0;case"name+balances_forecast":return!1;case"name_only":return!1}},ae=e=>{switch(e){case"name+balances_forecast":return!0;case"name+balances_actual":return!1;case"name_only":return!1}},ci=a.div`
|
|
504
|
+
display: flex;
|
|
505
|
+
flex: 1 1 auto;
|
|
506
|
+
width: fit-content;
|
|
507
|
+
min-width: 100%;
|
|
508
|
+
flex-direction: column;
|
|
509
|
+
height: ${e=>e.height}px;
|
|
510
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
511
|
+
`,li=a.div`
|
|
512
|
+
cursor: default;
|
|
513
|
+
user-select: none;
|
|
514
|
+
display: flex;
|
|
515
|
+
flex: 1 1 auto;
|
|
516
|
+
flex-flow: row;
|
|
517
|
+
justify-content: flex-start;
|
|
518
|
+
align-items: center;
|
|
519
|
+
`,di=a.div`
|
|
520
|
+
display: flex;
|
|
521
|
+
flex: 1 0 auto;
|
|
522
|
+
flex-direction: row;
|
|
523
|
+
justify-content: flex-end;
|
|
524
|
+
`,En=a.div`
|
|
525
|
+
display: flex;
|
|
526
|
+
flex-direction: row;
|
|
527
|
+
justify-content: flex-start;
|
|
528
|
+
`,kn=a(n.StandardMedium)`
|
|
529
|
+
user-select: none;
|
|
530
|
+
min-width: ${z.balanceWidth};
|
|
531
|
+
max-width: ${z.balanceWidth};
|
|
532
|
+
text-align: right;
|
|
533
|
+
margin-left: ${z.balanceLeftMargin};
|
|
534
|
+
color: ${e=>e.theme.colors.primary};
|
|
535
|
+
border: 1px solid transparent;
|
|
536
|
+
`,xi=a.div`
|
|
537
|
+
display: flex;
|
|
538
|
+
flex-direction: row;
|
|
539
|
+
flex-shrink: 2;
|
|
540
|
+
flex-grow: 1;
|
|
541
|
+
align-items: center;
|
|
542
|
+
width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
543
|
+
max-width: ${e=>z.titleWidth.valuePx(e.windowSize)};
|
|
544
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
545
|
+
${({isSticky:e,isIndented:o})=>e&&o?B.css`
|
|
546
|
+
position: -webkit-sticky;
|
|
547
|
+
position: sticky;
|
|
548
|
+
top: ${n.Space.sp0};
|
|
549
|
+
left: ${n.Space.sp4};
|
|
550
|
+
`:e&&!o?B.css`
|
|
551
|
+
position: -webkit-sticky;
|
|
552
|
+
position: sticky;
|
|
553
|
+
top: ${n.Space.sp0};
|
|
554
|
+
left: ${n.Space.sp0};
|
|
555
|
+
`:null}
|
|
556
|
+
`,ui=a(n.StandardMedium)`
|
|
557
|
+
user-select: none;
|
|
558
|
+
clear: both;
|
|
559
|
+
display: inline-block;
|
|
560
|
+
overflow: hidden;
|
|
561
|
+
white-space: nowrap;
|
|
562
|
+
text-overflow: ellipsis;
|
|
563
|
+
text-align: left;
|
|
564
|
+
color: ${e=>e.theme.colors.primary};
|
|
565
|
+
`,pi=({type:e,balance:o})=>t.jsxRuntimeExports.jsx(En,{children:q(e)===!0?t.jsxRuntimeExports.jsx(kn,{children:n.amountToString("0,0",o?.balance)}):null}),hi=({type:e,balance:o})=>t.jsxRuntimeExports.jsx(En,{children:q(e)===!0?t.jsxRuntimeExports.jsx(kn,{children:n.amountToString("0,0",o)}):null});function mi({type:e,isSticky:o,isIndented:s,height:i,title:r,totalBalances:c,backgroundColor:l}){const d=n.useWindowSizeContext(),p={amount:c.reduce((h,u)=>h+(u?.balance.amount??0),0),currencyCode:c[0]?.balance.currencyCode??b.defaultVendorCurrency.currencyCode,currencySymbol:c[0]?.balance.currencySymbol??b.defaultVendorCurrency.currencySymbol};return t.jsxRuntimeExports.jsx(ci,{"data-testid":n.generateDataTestId("total-row-root-container"),height:i,bgColor:l,windowSize:d,children:t.jsxRuntimeExports.jsxs(li,{isClickable:!1,"data-testid":n.generateDataTestId("total-row-container"),children:[t.jsxRuntimeExports.jsx(xi,{bgColor:l,isSticky:o,windowSize:d,isIndented:s,children:t.jsxRuntimeExports.jsx(ui,{children:r})}),t.jsxRuntimeExports.jsxs(di,{children:[c.map((h,u)=>t.jsxRuntimeExports.jsx(pi,{type:e,balance:h},u)),t.jsxRuntimeExports.jsx(hi,{type:e,balance:p})]})]})})}const gi=(e,o,s,i,r,c,l)=>{if(e.element.kind!=="timeframe_headers")return null;const d=e.element.data;return t.jsxRuntimeExports.jsx(Js,{reportId:e.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:d,backgroundColor:s,isSticky:i,height:o,sortKey:r,sortOrder:c,onSortOrderChanged:l})},fi=(e,o,s,i,r,c,l,d,x,p)=>{if(o.element.kind!=="aging_report_row")return null;if(o.config.reportId==="accounts_payable_aging"){const u=o.element.data;return t.jsxRuntimeExports.jsx(Hs,{backgroundColor:d,isLastNode:c,isScrolling:l,isSticky:r,height:s,balances:u.apAgingBalances,vendor:u.vendor,total:u.total,onEntityNameClick:x})}const h=o.element.data;return t.jsxRuntimeExports.jsx(Os,{treeNodeId:e,backgroundColor:d,isLastNode:c,isScrolling:l,isSticky:r,isOpen:i,height:s,metadata:o.element.metadata,balances:h.arAgingBalances,nestedCustomer:h,total:h.total,totalWithChildren:h.totalWithChildren,onEntityNameClick:x,onClick:p})},ji=(e,o,s,i,r)=>{if(e.element.kind!=="ac_subentity_total")return null;if(e.config.reportId==="accounts_receivable_aging"){const c=e.element.data;return t.jsxRuntimeExports.jsx(ri,{backgroundColor:r,isScrolling:i,isSticky:s,height:o,metadata:e.element.metadata,nestedCustomer:c,total:c.totalWithChildren,noMarginForEntity:!0})}return null},wi=(e,o,s,i,r)=>{const c=o.element.data;return t.jsxRuntimeExports.jsx(mi,{type:e,backgroundColor:i,isSticky:r,height:s,totalBalances:c,isIndented:o.config.reportId==="accounts_receivable_aging",title:o.element.title})};function ge(e,o,s,i){switch(e){case"cogs":return Ri(s,i,o);case"expenses":return $i(s,i,o);case"income":return Si(s,i,o);case"cash_position":return yi(s,i,o);case"cash_in":return Ci(s,i,o);case"cash_out":return bi(s,i,o);case"assets":return vi(s,i,o);case"equity":return _i(s,i,o);case"liabilities":return Ei(s,i,o);case"other_expense":return ki(s,i,o);case"other_income":return Bi(s,i,o);case"operating_activities":return Ti(s,i,o);case"investing_activities":return Ii(s,i,o);case"financing_activities":return Ai(s,i,o);default:throw Error(`${e} is not yet supported!`)}}const Ri=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cogsInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithCogsOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cogsInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},$i=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.expensesInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithExpensesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.expensesInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Si=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.incomeInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithIncomeOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.incomeInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},yi=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashPositionInTimeframe,i.compactedAccountsSelector=()=>L([],i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Ci=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashInInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithCashInOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cashInInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},bi=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashOutInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithCashOutOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cashOutInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},vi=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.assetsInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithAssetsOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.assetsInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},_i=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.equityInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithEquityOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.equityInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Ei=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.liabilitiesInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithLiabilitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.liabilitiesInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},ki=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.otherExpensesInTimeframe,i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Bi=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.otherIncomeInTimeframe,i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Ti=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.operatingActivitiesInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithOperatingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.operatingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Ii=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.investingActivitiesInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithInvestingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.investingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i},Ai=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.financingActivitiesInTimeframe,i.compactedAccountsSelector=r=>L(r.accountsWithFinancingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>L(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.financingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>D(r,i.acGroupBalanceSelector,s,o),i};function L(e,o,s){switch(s){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>Bn(o(i)?.balances??[]));case"filter_forecast_nil_balances":return e.filter(i=>Tn(o(i)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(i=>In(o(i)?.balances??[]))}}function D(e,o,s,i){switch(i){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Bn(o(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Tn(o(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>In(o(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(o(r)?.balances??[]).length>0)}}function Bn(e){let o=!1;if(e!=null){for(const s of e)if(s.balance.amount!==0){o=!0;break}}return o}function Tn(e){let o=!1;if(e!=null){for(const s of e)if(s.forecast!=null&&s.forecast.amount!==0){o=!0;break}}return o}function In(e){let o=!1;if(e!=null){for(const s of e)if(s.forecast!=null&&s.forecast.amount!==0||s.balance!=null&&s.balance.amount!==0){o=!0;break}}return o}function O(e,o="ascending_date",s=-1,i=!0){const r=s!==-1;let c=[],l=-1;if(e==null||e.balances.length===0)return r===!0&&(c=Wn([],s)),{balances:c,thisPeriodIndex:l};let d=e.balances;return o==="ascending_date"?l=e.balances.length-1:(l=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:l}}function An(e,o="ascending_date",s=-1,i=!0){const r=s!==-1,c=O(e,o,s,i);if(e==null||e.balances.length===0)return c;const l=[...c.balances];if(e?.totalBalance!=null)l.push(e.totalBalance);else if(r&&e?.totalBalance==null){const d=Wn([],1);l.push(...d)}return{balances:l,thisPeriodIndex:c.thisPeriodIndex}}function fe(e,o){if(o==="ascending_date")return e;{const s=[],i=[];for(const r of e)r.type==="default"?s.push(r):i.push(r);return[...s.reverse(),...i]}}function Wn(e,o){return e.length>0?e:t.fill(Array(o),null)}const Wi=a.div`
|
|
566
|
+
display: flex;
|
|
567
|
+
flex: 1 1 auto;
|
|
568
|
+
max-height: 1px;
|
|
569
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
570
|
+
`,zt=a.div`
|
|
571
|
+
display: flex;
|
|
572
|
+
flex: 1 1 auto;
|
|
573
|
+
max-height: 1px;
|
|
574
|
+
margin-left: ${e=>e.marginLeft}px;
|
|
575
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
|
|
576
|
+
`,Li=a.div`
|
|
577
|
+
display: flex;
|
|
578
|
+
flex: 1 1 auto;
|
|
579
|
+
max-height: 1px;
|
|
580
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
581
|
+
`;function zi({kind:e,isScrolling:o}){switch(e){case"account_title_row_separator":return t.jsxRuntimeExports.jsx(zt,{marginLeft:n.sp[5],isScrolling:o});case"account_balance_row_separator":return t.jsxRuntimeExports.jsx(zt,{marginLeft:0,isScrolling:o});case"ac_group_row_separator":return t.jsxRuntimeExports.jsx(Wi,{isScrolling:o});case"section_row_separator":case"heading_row_separator":return t.jsxRuntimeExports.jsx(Li,{isScrolling:o})}}const pe={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceWidth:"166px",balanceLeftMargin:n.Space.sp4,balanceLeftMarginInPx:n.sp[4],titleWidth:new n.ResponsiveSized(200,350,405)};function Pi(e){switch(e){case"section":return n.sp[8];case"section_with_ac_only":return n.sp[8];case"calculated_section":return n.sp[8];case"calculated_section_type1":return n.sp[6];case"ac_group_report":case"ac_group_subaccount":return n.sp[8];case"ac_report":case"ac_subaccount":case"ac_subentity_total":return n.sp[6];case"title_string_only":return 67;case"total":return n.sp[6];case"timeframe_headers":return n.sp[11];case"timeframe_headers_with_forecast":return n.sp[0];case"class":case"checkbox_and_name_only":return n.sp[0];default:return n.sp[0]}}function Vi(e,o){const s=["summary","detailed"];switch(e){case"section":return!s.includes(o);case"section_with_ac_only":return!s.includes(o);case"calculated_section":case"calculated_section_type1":return!s.includes(o);case"ac_group_report":case"ac_group_subaccount":return!s.includes(o);case"ac_report":case"ac_subaccount":case"ac_subentity_total":return!s.includes(o);case"title_string_only":return!s.includes(o);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":case"checkbox_and_name_only":return!1;default:return!1}}const Ni=a.div`
|
|
582
|
+
display: flex;
|
|
583
|
+
flex: 1 1 auto;
|
|
584
|
+
width: fit-content;
|
|
585
|
+
min-width: 100%;
|
|
586
|
+
flex-direction: column;
|
|
587
|
+
height: ${e=>e.height}px;
|
|
588
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
589
|
+
`,Mi=a.div`
|
|
590
|
+
user-select: none;
|
|
591
|
+
display: flex;
|
|
592
|
+
flex: 1 1 auto;
|
|
593
|
+
flex-flow: row;
|
|
594
|
+
justify-content: flex-start;
|
|
595
|
+
align-items: center;
|
|
596
|
+
`,Gi=a.div`
|
|
597
|
+
display: flex;
|
|
598
|
+
flex: 1 0 auto;
|
|
599
|
+
flex-direction: row;
|
|
600
|
+
justify-content: flex-end;
|
|
601
|
+
`,Hi=a.div`
|
|
602
|
+
display: flex;
|
|
603
|
+
flex-direction: row;
|
|
604
|
+
justify-content: flex-start;
|
|
605
|
+
`,Oi=a(n.StandardRegular)`
|
|
606
|
+
user-select: none;
|
|
607
|
+
color: ${e=>e.theme.colors.hero};
|
|
608
|
+
min-width: ${pe.balanceWidth};
|
|
609
|
+
max-width: ${pe.balanceWidth};
|
|
610
|
+
text-align: right;
|
|
611
|
+
margin-left: ${pe.balanceLeftMargin};
|
|
612
|
+
`,Fi=a.div`
|
|
613
|
+
display: flex;
|
|
614
|
+
flex-direction: row;
|
|
615
|
+
flex-shrink: 2;
|
|
616
|
+
flex-grow: 1;
|
|
617
|
+
align-items: center;
|
|
618
|
+
width: ${e=>pe.titleWidth.valuePx(e.windowSize)};
|
|
619
|
+
color: ${e=>e.theme.colors.hero};
|
|
620
|
+
max-width: ${e=>pe.titleWidth.valuePx(e.windowSize)};
|
|
621
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
622
|
+
${({isSticky:e})=>e?B.css`
|
|
623
|
+
position: -webkit-sticky;
|
|
624
|
+
position: sticky;
|
|
625
|
+
top: ${n.Space.sp0};
|
|
626
|
+
left: ${n.Space.sp0};
|
|
627
|
+
`:null}
|
|
628
|
+
`,Zi=a(n.StandardRegular)`
|
|
629
|
+
user-select: none;
|
|
630
|
+
clear: both;
|
|
631
|
+
display: inline-block;
|
|
632
|
+
overflow: hidden;
|
|
633
|
+
white-space: nowrap;
|
|
634
|
+
text-overflow: ellipsis;
|
|
635
|
+
text-align: left;
|
|
636
|
+
margin-left: ${n.Space.sp6};
|
|
637
|
+
`,Ui=({balance:e})=>t.jsxRuntimeExports.jsx(Hi,{children:t.jsxRuntimeExports.jsx(Oi,{children:M(e)})});function Di({heading:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,totalBalances:c,isScrolling:l,isLastNode:d,onClick:x}){const p=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Ni,{"data-testid":n.generateDataTestId("calculated-section-type-1-root-container-row",i),height:r,bgColor:o,windowSize:p,children:[t.jsxRuntimeExports.jsxs(Mi,{"data-testid":n.generateDataTestId("calculated-section-type-1-container-row",i),onClick:()=>x?.(i),children:[t.jsxRuntimeExports.jsx(Fi,{"data-testid":n.generateDataTestId("calculated-section-type-1-total-container-row",i),bgColor:o,isSticky:s,windowSize:p,children:t.jsxRuntimeExports.jsx(Zi,{children:e})}),t.jsxRuntimeExports.jsx(Gi,{children:c.map((h,u)=>t.jsxRuntimeExports.jsx(Ui,{balance:h},u))})]}),t.jsxRuntimeExports.jsx(qi,{isScrolling:l,isLastNode:d})]})}function qi({isScrolling:e,isLastNode:o}){return o===!0?t.jsxRuntimeExports.jsx(zi,{isScrolling:e,kind:"heading_row_separator"}):null}const Yi=a.div`
|
|
638
|
+
display: flex;
|
|
639
|
+
flex: 1 1 auto;
|
|
640
|
+
width: fit-content;
|
|
641
|
+
min-width: 100%;
|
|
642
|
+
flex-direction: column;
|
|
643
|
+
height: ${e=>e.height}px;
|
|
644
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
645
|
+
`,Xi=a.div`
|
|
646
|
+
user-select: none;
|
|
647
|
+
display: flex;
|
|
648
|
+
flex: 1 1 auto;
|
|
649
|
+
flex-flow: row;
|
|
650
|
+
justify-content: flex-start;
|
|
651
|
+
align-items: center;
|
|
652
|
+
`,Ji=a.div`
|
|
653
|
+
display: flex;
|
|
654
|
+
flex: 1 0 auto;
|
|
655
|
+
flex-direction: row;
|
|
656
|
+
justify-content: flex-end;
|
|
657
|
+
`,Qi=a.div`
|
|
658
|
+
display: flex;
|
|
659
|
+
flex-direction: row;
|
|
660
|
+
justify-content: flex-start;
|
|
661
|
+
`,be=a(n.LargeMedium)`
|
|
662
|
+
color: ${e=>e.theme.colors.champion};
|
|
663
|
+
user-select: none;
|
|
664
|
+
max-width: ${w.balanceWidth};
|
|
665
|
+
min-width: ${w.balanceWidth};
|
|
666
|
+
text-align: right;
|
|
667
|
+
margin-left: ${w.balanceLeftMargin};
|
|
668
|
+
`,Ki=a.div`
|
|
669
|
+
display: flex;
|
|
670
|
+
flex-direction: row;
|
|
671
|
+
flex-shrink: 2;
|
|
672
|
+
flex-grow: 1;
|
|
673
|
+
align-items: center;
|
|
674
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
675
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
676
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
677
|
+
${({isSticky:e})=>e?B.css`
|
|
678
|
+
position: -webkit-sticky;
|
|
679
|
+
position: sticky;
|
|
680
|
+
top: ${n.Space.sp0};
|
|
681
|
+
left: ${n.Space.sp0};
|
|
682
|
+
`:null}
|
|
683
|
+
`,er=a(n.LargeMedium)`
|
|
684
|
+
color: ${e=>e.theme.colors.champion};
|
|
685
|
+
user-select: none;
|
|
686
|
+
clear: both;
|
|
687
|
+
display: inline-block;
|
|
688
|
+
overflow: hidden;
|
|
689
|
+
white-space: nowrap;
|
|
690
|
+
text-overflow: ellipsis;
|
|
691
|
+
text-align: left;
|
|
692
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
693
|
+
`,tr=({type:e,balance:o,isActualVsForecastOn:s,compareMode:i})=>t.jsxRuntimeExports.jsxs(Qi,{"data-testid":n.generateDataTestId("heading-row-balance-element",e),children:[q(e)||s?t.jsxRuntimeExports.jsx(be,{"data-testid":n.generateDataTestId("heading-row-balance-actual",e),children:M(o)}):t.jsxRuntimeExports.jsx(be,{"data-testid":n.generateDataTestId("heading-row-balance-forecast",e),children:H(o)}),s?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(be,{"data-testid":n.generateDataTestId("heading-row-balance-forecast",e),children:H(o)}),t.jsxRuntimeExports.jsx(be,{"data-testid":n.generateDataTestId("heading-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?X(o):J(o)})]}):null]});function nr({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,heading:c,headingBalances:l,isActualVsForecastOn:d,compareMode:x,isLeaf:p,onClick:h}){const u=n.useWindowSizeContext();return t.jsxRuntimeExports.jsx(Yi,{height:r,bgColor:o,"data-testid":n.generateDataTestId("heading-row-root-container",i),children:t.jsxRuntimeExports.jsxs(Xi,{"data-testid":n.generateDataTestId("heading-row-container",i),isClickable:!p,onClick:()=>h?.(i),children:[ee(e)===!0?t.jsxRuntimeExports.jsx(Ki,{"data-testid":n.generateDataTestId("heading-row-heading-container",i),isSticky:s,windowSize:u,bgColor:o,children:t.jsxRuntimeExports.jsx(er,{children:c})}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(Ji,{"data-testid":n.generateDataTestId("heading-row-balances-container",i),children:l.map((m,g)=>t.jsxRuntimeExports.jsx(tr,{"data-testid":n.generateDataTestId("heading-row-balance-element",e),type:e,heading:c,balance:m,isActualVsForecastOn:d,compareMode:x},g))}):null]})})}const or=(e,o,s,i,r,c,l)=>{if(o.element.kind!="calculated_section_type1"||o.element.data==null)return null;const d=o.element.data,x=O(d,o.config.displayOrder,o.element.numOfBalances);return t.jsxRuntimeExports.jsx(Di,{backgroundColor:i,isSticky:r,treeNodeId:e,heading:o.element.title,totalBalances:x.balances,height:s,isScrolling:c,isLastNode:l})},mt=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="title_string_only")return null;const m=O(void 0,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(nr,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,heading:s.element.title,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,headingBalances:m.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:g=>{u?.(g)}})};function Ke(e,o){return sr(o)}const sr=(e,o)=>{const s={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return s.acBalanceSelector=i=>i.balancesInTimeframe,s.compactedAccountsSelectorVariant=i=>ir(i,s.acBalanceSelector,e),s};function ir(e,o,s){switch(s){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>rr(o(i)?.balances??[]));default:return e}}function rr(e){let o=!1;if(e!=null){for(const s of e)if(s.balance.amount!==0){o=!0;break}}return o}const ve=[new n.ResponsiveSized(n.sp[4],56),new n.ResponsiveSized(44,76),new n.ResponsiveSized(69,102),new n.ResponsiveSized(93,124),new n.ResponsiveSized(113,143)],Pt=[new n.ResponsiveSized(n.sp[0],n.sp[0]),new n.ResponsiveSized(14,n.sp[4]),new n.ResponsiveSized(67,67),new n.ResponsiveSized(102,102),new n.ResponsiveSized(136,136)],ar=a.div`
|
|
694
|
+
display: flex;
|
|
695
|
+
flex: 1 1 auto;
|
|
696
|
+
max-height: 1px;
|
|
697
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
|
|
698
|
+
`,Vt=a.div`
|
|
699
|
+
display: flex;
|
|
700
|
+
flex: 1 1 auto;
|
|
701
|
+
max-height: 1px;
|
|
702
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey4};
|
|
703
|
+
`,cr=a.div`
|
|
704
|
+
display: flex;
|
|
705
|
+
flex: 1 1 auto;
|
|
706
|
+
flex-flow: row;
|
|
707
|
+
justify-content: flex-start;
|
|
708
|
+
align-items: center;
|
|
709
|
+
`,lr=a.div`
|
|
710
|
+
display: flex;
|
|
711
|
+
flex-direction: row;
|
|
712
|
+
flex-shrink: 2;
|
|
713
|
+
flex-grow: 1;
|
|
714
|
+
align-items: center;
|
|
715
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
716
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
717
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
718
|
+
${({isSticky:e})=>e?B.css`
|
|
719
|
+
position: -webkit-sticky;
|
|
720
|
+
position: sticky;
|
|
721
|
+
top: ${n.Space.sp0};
|
|
722
|
+
left: ${n.Space.sp0};
|
|
723
|
+
`:null}
|
|
724
|
+
`,dr=a.div`
|
|
725
|
+
width: ${e=>e.noMarginForAccount?ve[e.nestingLevel].value(e.windowSize)-n.sp[5]:ve[e.nestingLevel].value(e.windowSize)}px;
|
|
726
|
+
max-width: ${e=>e.noMarginForAccount?ve[e.nestingLevel].value(e.windowSize)-n.sp[5]:ve[e.nestingLevel].value(e.windowSize)}px;
|
|
727
|
+
height: 1px;
|
|
728
|
+
`,xr=a.div`
|
|
729
|
+
width: ${e=>Pt[e.classDepth].valuePx(e.windowSize)};
|
|
730
|
+
max-width: ${e=>Pt[e.classDepth].valuePx(e.windowSize)};
|
|
731
|
+
height: 1px;
|
|
732
|
+
`,ur=a.div`
|
|
733
|
+
display: flex;
|
|
734
|
+
flex: 1 1 auto;
|
|
735
|
+
max-height: 1px;
|
|
736
|
+
height: 1px;
|
|
737
|
+
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
738
|
+
`,pr=a.div`
|
|
739
|
+
display: flex;
|
|
740
|
+
flex: 1 1 auto;
|
|
741
|
+
max-height: 1px;
|
|
742
|
+
height: 1px;
|
|
743
|
+
background-color: ${e=>e.isScrolling?"transparent":e.colour};
|
|
744
|
+
`,hr=a.div`
|
|
745
|
+
display: flex;
|
|
746
|
+
flex: 1 1 auto;
|
|
747
|
+
max-height: 1px;
|
|
748
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
749
|
+
`,Nt=e=>{const o=n.useWindowSizeContext(),s=t.useTheme();return t.jsxRuntimeExports.jsxs(cr,{children:[t.jsxRuntimeExports.jsxs(lr,{windowSize:o,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsxRuntimeExports.jsx(xr,{classDepth:e.classDepth,windowSize:o}):null,t.jsxRuntimeExports.jsx(dr,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:o}),t.jsxRuntimeExports.jsx(ur,{isScrolling:e.isScrolling,colour:e.isTotal?s.colors.grey1:s.colors.grey3})]}),t.jsxRuntimeExports.jsx(pr,{isScrolling:e.isScrolling,colour:e.isTotal?s.colors.grey1:s.colors.grey3})]})};function oe({kind:e,isScrolling:o,subAccountProps:s}){switch(e){case"account_title_row_separator":return t.jsxRuntimeExports.jsx(Vt,{marginLeft:n.sp[5],isScrolling:o});case"sub_account_balance_row_separator":return t.jsxRuntimeExports.jsx(Nt,{nestingLevel:s?.nestingLevel??1,isScrolling:o,isSticky:s?.isSticky??!1,isTotal:!1,classDepth:s?.classDepth,noMarginForAccount:s?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsxRuntimeExports.jsx(Vt,{marginLeft:0,isScrolling:o});case"ac_group_row_separator":return t.jsxRuntimeExports.jsx(ar,{isScrolling:o});case"section_row_separator":case"heading_row_separator":return t.jsxRuntimeExports.jsx(hr,{isScrolling:o});case"total_row_separator":return t.jsxRuntimeExports.jsx(Nt,{nestingLevel:s?.nestingLevel??1,isScrolling:o,isSticky:s?.isSticky??!1,isTotal:!0,classDepth:s?.classDepth,noMarginForAccount:s?.noMarginForAccount??!1})}}function Ln({height:e,backgroundColor:o,title:s,numOfBalances:i=6}){const r=n.useWindowSizeContext(),c=s!=null?s.split("+")[1]:"";let l=null;const d=r!=="small";switch(c){case"section-row":l=t.jsxRuntimeExports.jsx(mr,{columns:i,isSticky:d});break;case"root-class-row":l=t.jsxRuntimeExports.jsx(gr,{columns:i,isSticky:d});break;case"sub-class-row":l=t.jsxRuntimeExports.jsx(fr,{columns:i,isSticky:d});break;case"leaf-class-row":l=t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(jr,{columns:i,isSticky:d}),t.jsxRuntimeExports.jsx(oe,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]});break}return t.jsxRuntimeExports.jsx(Rr,{height:e,bgColor:o,children:l})}const mr=({columns:e,isSticky:o})=>t.jsxRuntimeExports.jsxs(ce,{children:[t.jsxRuntimeExports.jsxs(We,{isSticky:o,width:w.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsxRuntimeExports.jsx(n.CircularContentLoader,{width:n.sp[4],height:n.sp[4]}),t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:w.loadingInProgressSmallStickyColumnWidth,height:w.balanceHeightInPx})]}),t.jsxRuntimeExports.jsx(Ae,{columns:e,rectangleWidth:w.loadingBalanceWidthInPx})]}),gr=({columns:e,isSticky:o})=>t.jsxRuntimeExports.jsxs(ce,{children:[t.jsxRuntimeExports.jsxs(We,{isSticky:o,width:w.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsxRuntimeExports.jsx(n.CircularContentLoader,{width:n.sp[4],height:n.sp[4]}),t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:w.loadingInProgressLargeStickyColumnWidth,height:w.balanceHeightInPx})]}),t.jsxRuntimeExports.jsx(Ae,{columns:e,rectangleWidth:w.smallLoadingBalanceWidthInPx})]}),fr=({columns:e,isSticky:o})=>t.jsxRuntimeExports.jsxs(ce,{children:[t.jsxRuntimeExports.jsx(We,{isSticky:o,width:w.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxRuntimeExports.jsxs(ce,{style:{marginLeft:"36px"},children:[t.jsxRuntimeExports.jsx(n.CircularContentLoader,{width:n.sp[4],height:n.sp[4]}),t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:w.loadingInProgressLargeStickyColumnWidth,height:w.balanceHeightInPx,style:{marginLeft:n.sp[4]}})]})}),t.jsxRuntimeExports.jsx(Ae,{columns:e,rectangleWidth:w.smallLoadingBalanceWidthInPx})]}),jr=({columns:e,isSticky:o})=>t.jsxRuntimeExports.jsxs(ce,{children:[t.jsxRuntimeExports.jsx(We,{isSticky:o,width:w.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxRuntimeExports.jsx(ce,{style:{marginLeft:"84px"},children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:w.loadingInProgressSmallStickyColumnWidth,height:w.balanceHeightInPx})})}),t.jsxRuntimeExports.jsx(Ae,{columns:e,rectangleWidth:w.smallLoadingBalanceWidthInPx})]}),wr=({rectangleWidth:e})=>t.jsxRuntimeExports.jsx(zn,{width:w.balanceWidthInPx,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:e,height:w.balanceHeightInPx})}),Ae=({columns:e,rectangleWidth:o})=>t.jsxRuntimeExports.jsx($r,{style:{zIndex:9,width:w.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((s,i)=>t.jsxRuntimeExports.jsx(wr,{rectangleWidth:o},i))}),Rr=a.div`
|
|
750
|
+
display: flex;
|
|
751
|
+
flex: 1 1 auto;
|
|
752
|
+
width: fit-content;
|
|
753
|
+
min-width: 100%;
|
|
754
|
+
flex-direction: column;
|
|
755
|
+
height: ${e=>e.height}px;
|
|
756
|
+
background-color: ${e=>e.bgColor?.hex()??e.theme.colors.grey4};
|
|
757
|
+
`,ce=a.div`
|
|
758
|
+
user-select: none;
|
|
759
|
+
display: flex;
|
|
760
|
+
flex: 1 1 auto;
|
|
761
|
+
flex-flow: row;
|
|
762
|
+
justify-content: flex-start;
|
|
763
|
+
align-items: center;
|
|
764
|
+
min-height: 0;
|
|
765
|
+
`,$r=a.div`
|
|
766
|
+
display: flex;
|
|
767
|
+
flex: 1 0 auto;
|
|
768
|
+
flex-direction: row;
|
|
769
|
+
justify-content: flex-end;
|
|
770
|
+
`,zn=a.div`
|
|
771
|
+
display: flex;
|
|
772
|
+
flex-direction: row;
|
|
773
|
+
align-items: center;
|
|
774
|
+
min-width: ${e=>typeof e.width=="string"?e.width:`${e.width}px`};
|
|
775
|
+
margin-right: ${w.balanceLeftMargin};
|
|
776
|
+
gap: ${w.balanceLeftMargin};
|
|
777
|
+
justify-content: flex-end;
|
|
778
|
+
`,We=a(zn)`
|
|
779
|
+
position: ${e=>e.isSticky===!0?"sticky":"static"};
|
|
780
|
+
left: ${n.Space.sp0};
|
|
781
|
+
z-index: 10;
|
|
782
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
783
|
+
justify-content: flex-start;
|
|
784
|
+
`;function Pn({height:e,numOfBalances:o,backgroundColor:s}){const i=n.useWindowSizeContext();return t.jsxRuntimeExports.jsx(Sr,{height:e,bgColor:s,children:t.jsxRuntimeExports.jsxs(yr,{windowSize:i,children:[t.jsxRuntimeExports.jsx(Cr,{windowSize:i,width:`${w.loadingInProgressStickySectionWidth}px`,marginRight:0}),t.jsxRuntimeExports.jsx(br,{children:Array.from({length:o},(r,c)=>t.jsxRuntimeExports.jsx(Vn,{windowSize:i,width:w.balanceWidth,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:w.balanceWidthInPx,height:n.sp[6]})},`timeframe-balance-${c}`))})]})})}const Sr=a.div`
|
|
785
|
+
display: flex;
|
|
786
|
+
flex: 1 1 auto;
|
|
787
|
+
width: fit-content;
|
|
788
|
+
min-width: 100%;
|
|
789
|
+
flex-direction: column;
|
|
790
|
+
height: ${e=>e.height}px;
|
|
791
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
792
|
+
margin-top: 20px;
|
|
793
|
+
`,yr=a.div`
|
|
794
|
+
display: flex;
|
|
795
|
+
flex-direction: row;
|
|
796
|
+
width: 100%;
|
|
797
|
+
`,Vn=a.div`
|
|
798
|
+
display: flex;
|
|
799
|
+
flex-direction: row;
|
|
800
|
+
align-items: center;
|
|
801
|
+
margin-right: ${e=>e.marginRight!=null?`${e.marginRight}px`:n.Space.sp4};
|
|
802
|
+
min-width: ${e=>typeof e.width=="string"?e.width:`${e.width}px`};
|
|
803
|
+
color: ${e=>e.theme.colors.primary};
|
|
804
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
805
|
+
justify-content: flex-end;
|
|
806
|
+
:first-of-type {
|
|
807
|
+
justify-content: flex-start;
|
|
808
|
+
}
|
|
809
|
+
margin-right: ${w.balanceLeftMargin};
|
|
810
|
+
`,Cr=a(Vn)`
|
|
811
|
+
position: sticky;
|
|
812
|
+
left: ${n.Space.sp0};
|
|
813
|
+
z-index: 10;
|
|
814
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
815
|
+
`,br=a.div`
|
|
816
|
+
display: flex;
|
|
817
|
+
flex-direction: row;
|
|
818
|
+
width: calc(100% - ${w.loadingInProgressStickySectionWidth}px);
|
|
819
|
+
justify-content: flex-end;
|
|
820
|
+
flex: 1 0 auto;
|
|
821
|
+
`,vr=a.div`
|
|
822
|
+
display: flex;
|
|
823
|
+
flex: 1 1 auto;
|
|
824
|
+
max-height: 1px;
|
|
825
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
|
|
826
|
+
`,_r=a.div`
|
|
827
|
+
display: flex;
|
|
828
|
+
flex: 1 1 auto;
|
|
829
|
+
max-height: 1px;
|
|
830
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
831
|
+
`;function gt({kind:e,isScrolling:o}){switch(e){case"ac_group_row_separator":return t.jsxRuntimeExports.jsx(vr,{"data-testid":n.generateDataTestId("ac-group-row-separator",e),isScrolling:o});case"section_row_separator":case"heading_row_separator":return t.jsxRuntimeExports.jsx(_r,{"data-testid":n.generateDataTestId("section-row-separator",e),isScrolling:o})}}const W={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceWidth:"166px",balanceLeftMargin:n.Space.sp4,balanceLeftMarginInPx:n.sp[4],titleWidth:new n.ResponsiveSized(200,350,405)};function Er(e){switch(e){case"section":return n.sp[8];case"ac_group_report":case"ac_group_subaccount":return n.sp[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":return n.sp[6];case"calculated_section":case"calculated_section_type1":return n.sp[8];case"section_with_ac_only":return n.sp[8];case"timeframe_headers":case"headers_loading_in_progress":return n.sp[11];case"timeframe_headers_with_forecast":return 98;case"loading_in_progress":return n.sp[6];case"title_string_only":return n.sp[8];case"total":return n.sp[8];case"class":case"checkbox_and_name_only":return n.sp[6];default:return 0}}function kr(e,o){const s=["summary","detailed"];switch(e){case"section":return!s.includes(o);case"section_with_ac_only":return!s.includes(o);case"calculated_section":case"calculated_section_type1":return!1;case"ac_group_report":case"ac_group_subaccount":return!s.includes(o);case"ac_subentity_total":case"ac_subaccount":case"ac_report":return!s.includes(o);case"title_string_only":return!s.includes(o);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":case"checkbox_and_name_only":return!0;default:return!1}}const Br=a.div`
|
|
832
|
+
display: flex;
|
|
833
|
+
flex: 1 1 auto;
|
|
834
|
+
width: fit-content;
|
|
835
|
+
min-width: 100%;
|
|
836
|
+
flex-direction: column;
|
|
837
|
+
height: ${e=>e.height}px;
|
|
838
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
839
|
+
`,Tr=a.div`
|
|
840
|
+
user-select: none;
|
|
841
|
+
display: flex;
|
|
842
|
+
flex: 1 1 auto;
|
|
843
|
+
flex-flow: row;
|
|
844
|
+
justify-content: flex-start;
|
|
845
|
+
align-items: center;
|
|
846
|
+
&:hover {
|
|
847
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
848
|
+
}
|
|
849
|
+
`,Ir=a.div`
|
|
850
|
+
display: flex;
|
|
851
|
+
flex: 1 0 auto;
|
|
852
|
+
flex-direction: row;
|
|
853
|
+
justify-content: flex-end;
|
|
854
|
+
color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
|
|
855
|
+
`,Ar=a.div`
|
|
856
|
+
display: flex;
|
|
857
|
+
flex-direction: row;
|
|
858
|
+
justify-content: flex-start;
|
|
859
|
+
`,et=a(n.StandardRegular)`
|
|
860
|
+
user-select: none;
|
|
861
|
+
min-width: ${W.balanceWidth};
|
|
862
|
+
max-width: ${W.balanceWidth};
|
|
863
|
+
text-align: right;
|
|
864
|
+
margin-left: ${W.balanceLeftMargin};
|
|
865
|
+
`,Wr=a(et)`
|
|
866
|
+
color: ${e=>e.theme.colors.hero};
|
|
867
|
+
&:hover {
|
|
868
|
+
color: inherit;
|
|
869
|
+
}
|
|
870
|
+
`,Lr=a.div`
|
|
871
|
+
display: flex;
|
|
872
|
+
flex-direction: row;
|
|
873
|
+
flex-shrink: 2;
|
|
874
|
+
flex-grow: 1;
|
|
875
|
+
align-items: center;
|
|
876
|
+
width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
877
|
+
max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
878
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
879
|
+
color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
|
|
880
|
+
${({isSticky:e})=>e?B.css`
|
|
881
|
+
position: -webkit-sticky;
|
|
882
|
+
position: sticky;
|
|
883
|
+
top: ${n.Space.sp0};
|
|
884
|
+
left: ${n.Space.sp0};
|
|
885
|
+
`:null}
|
|
886
|
+
`,zr=a(n.StandardRegular)`
|
|
887
|
+
user-select: none;
|
|
888
|
+
clear: both;
|
|
889
|
+
display: inline-block;
|
|
890
|
+
overflow: hidden;
|
|
891
|
+
white-space: nowrap;
|
|
892
|
+
text-overflow: ellipsis;
|
|
893
|
+
text-align: left;
|
|
894
|
+
margin-left: ${n.Space.sp2};
|
|
895
|
+
`,Pr=({type:e,balance:o,collapsed:s,compareMode:i})=>{const r=s===!0?Wr:et;return t.jsxRuntimeExports.jsxs(Ar,{"data-testid":n.generateDataTestId("account-group-row-balance-element",e),children:[t.jsxRuntimeExports.jsx(r,{"data-testid":n.generateDataTestId("account-group-row-balance-actual",e),children:M(o)}),ae(e)?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(r,{"data-testid":n.generateDataTestId("account-group-row-balance-forecast",e),children:H(o)}),t.jsxRuntimeExports.jsx(et,{"data-testid":n.generateDataTestId("account-group-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?X(o):J(o)})]}):null]})};function Vr({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,accountGroupName:c,accountGroupBalances:l,compareMode:d,isScrolling:x,isOpen:p,isLeaf:h,isLastNode:u,onClick:m}){const g=n.useWindowSizeContext(),j=!h,f=j?"pointer":"default",y=c.length>0?c.substr(0,1).toUpperCase():"",S=Mr(l),v=t.useTheme().colors.primary,[C,_]=k.useState(!1);return t.jsxRuntimeExports.jsxs(Br,{"data-testid":n.generateDataTestId("account-group-row-root-container",e),height:r,bgColor:o,windowSize:g,children:[t.jsxRuntimeExports.jsxs(Tr,{"data-testid":n.generateDataTestId("account-group-row-container",e),style:{cursor:f},isClickable:j,onClick:()=>m?.(i),onMouseOver:()=>_(!0),onMouseLeave:()=>_(!1),children:[t.jsxRuntimeExports.jsxs(Lr,{"data-testid":n.generateDataTestId("account-group-row-name-container",e),bgColor:o,isSticky:s,windowSize:g,hasNonZeroBalance:S,children:[t.jsxRuntimeExports.jsx($.CircleWithLetter,{"data-testid":n.generateDataTestId("account-group-row-circle-with-letter",e),color:t.Color(v),showCollapsedIcon:!p,showIcon:j&&C,firstLetter:y}),t.jsxRuntimeExports.jsx(zr,{"data-testid":n.generateDataTestId("account-group-row-name",e),children:c})]}),t.jsxRuntimeExports.jsx(Ir,{"data-testid":n.generateDataTestId("account-group-row-balances-container",e),hasNonZeroBalance:S,children:l.map((I,A)=>t.jsxRuntimeExports.jsx(Pr,{"data-testid":n.generateDataTestId("account-group-row-balance-element",e),type:e,accountGroupName:c,balance:I,compareMode:d,collapsed:!1},A))})]}),t.jsxRuntimeExports.jsx(Nr,{isScrolling:x,isLeaf:h,isLastNode:u,isOpen:p})]})}function Nr({isScrolling:e,isLeaf:o,isLastNode:s,isOpen:i}){return o||!i||!s?t.jsxRuntimeExports.jsx(gt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Mr=e=>{let o=!1;if(e!=null){for(const s of e)if(s!=null&&s.balance.amount!==0){o=!0;break}}return o},Gr=a.div`
|
|
896
|
+
display: flex;
|
|
897
|
+
flex: 1 1 auto;
|
|
898
|
+
width: fit-content;
|
|
899
|
+
min-width: 100%;
|
|
900
|
+
flex-direction: column;
|
|
901
|
+
height: ${e=>e.height}px;
|
|
902
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
903
|
+
`,Hr=a.div`
|
|
904
|
+
user-select: none;
|
|
905
|
+
display: flex;
|
|
906
|
+
flex: 1 1 auto;
|
|
907
|
+
flex-flow: row;
|
|
908
|
+
justify-content: flex-start;
|
|
909
|
+
align-items: center;
|
|
910
|
+
&:hover {
|
|
911
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
912
|
+
}
|
|
913
|
+
`,Or=a.div`
|
|
914
|
+
display: flex;
|
|
915
|
+
flex: 1 0 auto;
|
|
916
|
+
flex-direction: row;
|
|
917
|
+
justify-content: flex-end;
|
|
918
|
+
`,Fr=a.div`
|
|
919
|
+
display: flex;
|
|
920
|
+
flex-direction: row;
|
|
921
|
+
justify-content: flex-start;
|
|
922
|
+
`,De=a(n.StandardRegular)`
|
|
923
|
+
user-select: none;
|
|
924
|
+
min-width: ${W.balanceWidth};
|
|
925
|
+
max-width: ${W.balanceWidth};
|
|
926
|
+
text-align: right;
|
|
927
|
+
margin-left: ${W.balanceLeftMargin};
|
|
928
|
+
color: ${e=>e.theme.colors.hero};
|
|
929
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
930
|
+
&:hover {
|
|
931
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
932
|
+
}
|
|
933
|
+
`,Zr=a.div`
|
|
934
|
+
display: flex;
|
|
935
|
+
flex-direction: row;
|
|
936
|
+
flex-shrink: 2;
|
|
937
|
+
flex-grow: 1;
|
|
938
|
+
align-items: center;
|
|
939
|
+
width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
940
|
+
max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
941
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
942
|
+
${({isSticky:e})=>e?B.css`
|
|
943
|
+
position: -webkit-sticky;
|
|
944
|
+
position: sticky;
|
|
945
|
+
top: ${n.Space.sp0};
|
|
946
|
+
left: ${n.Space.sp0};
|
|
947
|
+
`:null}
|
|
948
|
+
`,Ur=a(n.StandardRegular)`
|
|
949
|
+
user-select: none;
|
|
950
|
+
clear: both;
|
|
951
|
+
display: inline-block;
|
|
952
|
+
overflow: hidden;
|
|
953
|
+
white-space: nowrap;
|
|
954
|
+
text-overflow: ellipsis;
|
|
955
|
+
text-align: left;
|
|
956
|
+
margin-left: 35px;
|
|
957
|
+
color: ${e=>e.theme.colors.hero};
|
|
958
|
+
`,Dr=({type:e,balance:o,account:s,onAccountBalanceClick:i,compareMode:r})=>{const c=o?.type==="this_period_vs_last_period"||o?.type==="this_period_vs_last_period_percent",l=s!=null&&o!=null&&i!=null&&c!==!0;return t.jsxRuntimeExports.jsxs(Fr,{children:[t.jsxRuntimeExports.jsx(De,{isClickable:l,onClick:()=>{l===!0&&s!=null&&o!=null&&i?.(s,o)},children:M(o)}),ae(e)?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(De,{isClickable:!1,children:H(o)}),t.jsxRuntimeExports.jsx(De,{isClickable:!1,children:r==="compare_mode_percent"?X(o):J(o)})]}):null]})};function qr({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,accountBalances:c,isCompareModeOn:l,isForecastModeOn:d,isScrolling:x,isLeaf:p,isLastNode:h,compareMode:u,account:m,onAccountBalanceClick:g}){const j=n.useWindowSizeContext(),{common:{strings:{empty:f}}}=n.appLocale.getLocalizedStrings(),y=m?.accountDescription?m.accountDescription:f,S=m?.accountName?m.accountName:y,v=n.useGlobalInfoContext(),C=v.loggedInUserRole!=null&&!b.hasInvestorBankerLevelAccess(v.loggedInUserRole),_=C===!0&&m!=null&&l!==!0&&g!=null&&d!==!0,I=_?"pointer":"default",A=(V,P)=>{_===!0&&c[c.length-1]!=null&&g?.(V,P,c[c.length-1])};return t.jsxRuntimeExports.jsxs(Gr,{height:r,bgColor:o,windowSize:j,children:[t.jsxRuntimeExports.jsxs(Hr,{style:{cursor:I},isClickable:_,onClick:()=>m!=null?A(i,m):null,children:[t.jsxRuntimeExports.jsx(Zr,{isSticky:s,windowSize:j,bgColor:o,children:t.jsxRuntimeExports.jsx(Ur,{title:S,children:S})}),t.jsxRuntimeExports.jsx(Or,{children:c.map((V,P)=>t.jsxRuntimeExports.jsx(Dr,{type:e,balance:V,account:m,onAccountBalanceClick:C===!1||g==null?void 0:(N,G)=>{g(i,N,G)},compareMode:u},P))})]}),t.jsxRuntimeExports.jsx(Yr,{isScrolling:x,isLeaf:p,isLastNode:h})]})}function Yr({isScrolling:e,isLeaf:o,isLastNode:s}){return o||!s?t.jsxRuntimeExports.jsx(gt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Xr=a.div`
|
|
959
|
+
display: flex;
|
|
960
|
+
flex: 1 1 auto;
|
|
961
|
+
width: fit-content;
|
|
962
|
+
min-width: 100%;
|
|
963
|
+
flex-direction: column;
|
|
964
|
+
height: ${e=>e.rootHeight-1}px;
|
|
965
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
966
|
+
`,Jr=a.div`
|
|
967
|
+
user-select: none;
|
|
968
|
+
display: flex;
|
|
969
|
+
flex: 1 1 auto;
|
|
970
|
+
flex-flow: row;
|
|
971
|
+
justify-content: flex-start;
|
|
972
|
+
align-items: center;
|
|
973
|
+
`,Qr=a.div`
|
|
974
|
+
display: flex;
|
|
975
|
+
flex: 1 0 auto;
|
|
976
|
+
flex-direction: row;
|
|
977
|
+
justify-content: flex-end;
|
|
978
|
+
`,Mt=a.div`
|
|
979
|
+
display: flex;
|
|
980
|
+
flex-direction: row;
|
|
981
|
+
justify-content: flex-start;
|
|
982
|
+
`,de=a(n.StandardRegular)`
|
|
983
|
+
user-select: none;
|
|
984
|
+
max-width: ${W.balanceWidth};
|
|
985
|
+
min-width: ${W.balanceWidth};
|
|
986
|
+
text-align: right;
|
|
987
|
+
margin-left: ${W.balanceLeftMargin};
|
|
988
|
+
`,Gt=a(n.StandardRegular)`
|
|
989
|
+
user-select: none;
|
|
990
|
+
max-width: ${W.balanceWidth};
|
|
991
|
+
min-width: ${W.balanceWidth};
|
|
992
|
+
text-align: right;
|
|
993
|
+
margin-left: ${W.balanceLeftMargin};
|
|
994
|
+
`,Kr=a.div`
|
|
995
|
+
display: flex;
|
|
996
|
+
flex-direction: column;
|
|
997
|
+
align-items: flex-end;
|
|
998
|
+
`,ea=a.div`
|
|
999
|
+
display: flex;
|
|
1000
|
+
flex-direction: row;
|
|
1001
|
+
flex-shrink: 2;
|
|
1002
|
+
flex-grow: 1;
|
|
1003
|
+
align-items: center;
|
|
1004
|
+
height: ${n.Space.sp7};
|
|
1005
|
+
width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
1006
|
+
max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
1007
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1008
|
+
${({isSticky:e})=>e?B.css`
|
|
1009
|
+
position: -webkit-sticky;
|
|
1010
|
+
position: sticky;
|
|
1011
|
+
top: ${n.Space.sp0};
|
|
1012
|
+
left: ${n.Space.sp0};
|
|
1013
|
+
`:null}
|
|
1014
|
+
`,ta=a(n.StandardRegular)`
|
|
1015
|
+
user-select: none;
|
|
1016
|
+
user-select: none;
|
|
1017
|
+
clear: both;
|
|
1018
|
+
display: inline-block;
|
|
1019
|
+
overflow: hidden;
|
|
1020
|
+
white-space: nowrap;
|
|
1021
|
+
text-overflow: ellipsis;
|
|
1022
|
+
text-align: left;
|
|
1023
|
+
margin-left: ${n.Space.sp2};
|
|
1024
|
+
`,na=({type:e,balance:o,color:s,compareMode:i})=>{const r=o!=null&&o.type==="default_with_percent"&&o.percentValue!=null?o.percentValue:0,c=o!=null&&o.type==="default_with_percent"&&o.forecastPercentValue!=null?o.forecastPercentValue:0;return t.jsxRuntimeExports.jsxs(Kr,{children:[t.jsxRuntimeExports.jsxs(Mt,{children:[t.jsxRuntimeExports.jsx(de,{style:{color:s.toString()},children:M(o)}),ae(e)?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(de,{style:{color:s.toString()},children:H(o)}),t.jsxRuntimeExports.jsx(de,{style:{color:s.toString()},children:i==="compare_mode_percent"?X(o):J(o)})]}):null]}),t.jsxRuntimeExports.jsxs(Mt,{children:[r!==0?t.jsxRuntimeExports.jsx(Gt,{style:{color:s.toString()},children:n.percentValueToString("0,0%",r)}):null,ae(e)?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[c!==0?t.jsxRuntimeExports.jsx(Gt,{style:{color:s.toString()},children:n.percentValueToString("0,0%",c)}):t.jsxRuntimeExports.jsx(de,{}),t.jsxRuntimeExports.jsx(de,{})]}):null]})]})};function ft({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,sectionName:c,sectionBalances:l,sectionColor:d,isScrolling:x,isOpen:p,isLeaf:h,compareMode:u,onClick:m}){const g=n.useWindowSizeContext(),[j,f]=k.useState(!1),y=!h,S=y?"pointer":"default",v=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxRuntimeExports.jsxs(Xr,{"data-testid":n.generateDataTestId("section-row-root-container",i),rootHeight:r,bgColor:o,windowSize:g,children:[t.jsxRuntimeExports.jsxs(Jr,{"data-testid":n.generateDataTestId("section-row-container",i),style:{cursor:S},onClick:()=>m?.(i),onMouseOver:()=>f(!0),onMouseLeave:()=>f(!1),children:[t.jsxRuntimeExports.jsxs(ea,{"data-testid":n.generateDataTestId("section-row-name-container",i),isSticky:s,windowSize:g,bgColor:o,children:[t.jsxRuntimeExports.jsx($.CircleWithLetter,{"data-testid":n.generateDataTestId("section-row-circle-with-letter",i),color:t.Color(d),showCollapsedIcon:!p,showIcon:y&&j,firstLetter:v}),t.jsxRuntimeExports.jsx(ta,{"data-testid":n.generateDataTestId("section-row-name",i),style:{color:d.toString()},children:c})]}),t.jsxRuntimeExports.jsx(Qr,{"data-testid":n.generateDataTestId("section-row-balances-container",i),children:l.map((C,_)=>t.jsxRuntimeExports.jsx(na,{"data-testid":n.generateDataTestId("section-row-balance-element",e),type:e,sectionName:c,balance:C,color:d,compareMode:u},_))})]}),t.jsxRuntimeExports.jsx(oa,{isScrolling:x,isLeaf:h,isOpen:p})]})}function oa({isScrolling:e,isLeaf:o,isOpen:s}){return o||!s?t.jsxRuntimeExports.jsx(gt,{isScrolling:e,kind:"section_row_separator"}):null}const sa=a.div`
|
|
1025
|
+
display: flex;
|
|
1026
|
+
flex: 1 1 auto;
|
|
1027
|
+
width: fit-content;
|
|
1028
|
+
min-width: 100%;
|
|
1029
|
+
flex-direction: column;
|
|
1030
|
+
height: ${e=>e.height}px;
|
|
1031
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1032
|
+
`,ia=a.div`
|
|
1033
|
+
user-select: none;
|
|
1034
|
+
display: flex;
|
|
1035
|
+
flex: 1 1 auto;
|
|
1036
|
+
flex-flow: row;
|
|
1037
|
+
justify-content: flex-start;
|
|
1038
|
+
align-items: center;
|
|
1039
|
+
`,ra=a.div`
|
|
1040
|
+
display: flex;
|
|
1041
|
+
flex: 1 0 auto;
|
|
1042
|
+
flex-direction: row;
|
|
1043
|
+
justify-content: flex-end;
|
|
1044
|
+
`,aa=a.div`
|
|
1045
|
+
display: flex;
|
|
1046
|
+
flex-direction: row;
|
|
1047
|
+
justify-content: flex-start;
|
|
1048
|
+
`,Nn=a(n.StandardRegular)`
|
|
1049
|
+
user-select: none;
|
|
1050
|
+
min-width: ${W.balanceWidth};
|
|
1051
|
+
max-width: ${W.balanceWidth};
|
|
1052
|
+
text-align: right;
|
|
1053
|
+
margin-left: ${W.balanceLeftMargin};
|
|
1054
|
+
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
1055
|
+
`,ca=a(Nn)`
|
|
1056
|
+
color: ${e=>e.theme.colors.hero};
|
|
1057
|
+
&:hover {
|
|
1058
|
+
color: inherit;
|
|
1059
|
+
}
|
|
1060
|
+
`,la=a.div`
|
|
1061
|
+
display: flex;
|
|
1062
|
+
flex-direction: row;
|
|
1063
|
+
flex-shrink: 2;
|
|
1064
|
+
flex-grow: 1;
|
|
1065
|
+
align-items: center;
|
|
1066
|
+
width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
1067
|
+
max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
|
|
1068
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1069
|
+
${({isSticky:e})=>e?B.css`
|
|
1070
|
+
position: -webkit-sticky;
|
|
1071
|
+
position: sticky;
|
|
1072
|
+
top: ${n.Space.sp0};
|
|
1073
|
+
left: ${n.Space.sp0};
|
|
1074
|
+
`:null}
|
|
1075
|
+
`,da=a(n.StandardRegular)`
|
|
1076
|
+
user-select: none;
|
|
1077
|
+
clear: both;
|
|
1078
|
+
display: inline-block;
|
|
1079
|
+
overflow: hidden;
|
|
1080
|
+
white-space: nowrap;
|
|
1081
|
+
text-overflow: ellipsis;
|
|
1082
|
+
text-align: left;
|
|
1083
|
+
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
1084
|
+
`,qe=a(n.StandardRegular)`
|
|
1085
|
+
user-select: none;
|
|
1086
|
+
min-width: ${W.balanceWidth};
|
|
1087
|
+
max-width: ${W.balanceWidth};
|
|
1088
|
+
text-align: right;
|
|
1089
|
+
margin-left: ${W.balanceLeftMargin};
|
|
1090
|
+
color: ${e=>e.theme.colors.brandColorJadeDark};
|
|
1091
|
+
`,xa=({type:e,balance:o,collapsed:s,compareMode:i})=>{const r=s===!0?ca:Nn;return t.jsxRuntimeExports.jsxs(aa,{children:[q(e)===!0?t.jsxRuntimeExports.jsx(r,{children:M(o)}):null,ae(e)?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(qe,{children:M(o)}),t.jsxRuntimeExports.jsx(qe,{children:H(o)}),t.jsxRuntimeExports.jsx(qe,{children:i==="compare_mode_percent"?X(o):J(o)})]}):null]})};function ua({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,title:c,totalBalances:l,isLeaf:d,compareMode:x,onClick:p}){const h=n.useWindowSizeContext(),u=!d,m=u?"pointer":"default";return t.jsxRuntimeExports.jsx(sa,{height:r,bgColor:o,windowSize:h,children:t.jsxRuntimeExports.jsxs(ia,{style:{cursor:m},isClickable:u,onClick:()=>p?.(i),children:[t.jsxRuntimeExports.jsx(la,{bgColor:o,isSticky:s,windowSize:h,children:t.jsxRuntimeExports.jsx(da,{children:c})}),t.jsxRuntimeExports.jsx(ra,{children:l.map((g,j)=>t.jsxRuntimeExports.jsx(xa,{type:e,balance:g,collapsed:!1,compareMode:x},j))})]})})}const ie={net_burn_or_income:{income:{color:new t.Color(n.lightColors.graphColor04),hoverColor:new t.Color(n.lightColors.graphColor04Dark)},cogs:{color:new t.Color(n.lightColors.graphColor10),hoverColor:new t.Color(n.lightColors.graphColor10Dark)},expenses:{color:new t.Color(n.lightColors.graphColor32),hoverColor:new t.Color(n.lightColors.graphColor32Dark)},"Gross Burn":{color:new t.Color(n.Colors.neutralGrey2Dark),hoverColor:new t.Color(n.Colors.neutralGrey2Dark)},"Net Burn":{color:new t.Color(n.lightColors.graphColor13),hoverColor:new t.Color(n.lightColors.graphColor13Dark)},"Net Income":{color:new t.Color(n.lightColors.graphColor13),hoverColor:new t.Color(n.lightColors.graphColor13Dark)}},revenue:{income:{color:new t.Color(n.lightColors.graphColor28),hoverColor:new t.Color(n.lightColors.graphColor28Dark)},cogs:{color:new t.Color(n.lightColors.graphColor17),hoverColor:new t.Color(n.lightColors.graphColor17Dark)},"Gross Margin":{color:new t.Color(n.lightColors.graphColor10),hoverColor:new t.Color(n.lightColors.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new t.Color(n.lightColors.graphColor33),hoverColor:new t.Color(n.lightColors.graphColor33Dark)},cash_out:{color:new t.Color(n.lightColors.graphColor02),hoverColor:new t.Color(n.lightColors.graphColor02Dark)},"Net Cash Flow":{color:new t.Color(n.lightColors.graphColor35),hoverColor:new t.Color(n.lightColors.graphColor35Dark)}},default:{color:new t.Color(n.Colors.neutralGrey2Dark),hoverColor:new t.Color(n.Colors.neutralGrey2Dark)}},jt=(e,o)=>e.startsWith("net_burn_or_income")===!0?o!=null?ie.net_burn_or_income[o]:ie.default:e.startsWith("revenue")===!0?o!=null?ie.revenue[o]:ie.default:e.startsWith("cash_in_cash_out")===!0&&o!=null?ie.cash_in_cash_out[o]:ie.default,pa=(e,o,s,i,r,c,l,d,x,p,h)=>{if(s.element.kind!="ac_report"||s.element.data==null)return null;const u=s.element.data,m=b.isDashboardClassesViewReport(s.config.reportId)===!0?Ke("no_filter",s.config.filterAccountsWithNilBalances):ge(s.element.sectionType,"no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),g=O(m.acBalanceSelector(u),s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(qr,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,accountBalances:g.balances,isCompareModeOn:s.config.mode==="this_period_vs_period_before",isForecastModeOn:s.config.mode==="actual_vs_forecast",isScrolling:l,isLeaf:d,isLastNode:x,compareMode:p,account:u,onAccountBalanceClick:h==null?void 0:(j,f,y)=>{h?.(j,f,y)}})},ha=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="ac_group_report"||s.element.data==null)return null;const m=s.element.data,g=ge(s.element.sectionType,"no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),j=O(g.acGroupBalanceSelector(m),s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(Vr,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,accountGroupName:m.accountGroupName,compareMode:h,accountGroupBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},Mn=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="section"||s.element.data==null)return null;const m=jt(s.config.reportId,s.element.sectionType),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(ft,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionColor:m.color,sectionName:s.element.title,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,compareMode:h,onClick:f=>{u?.(f)}})},ma=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="section_with_ac_only"||s.element.data==null)return null;const m=jt(s.config.reportId,s.element.sectionType),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(ft,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionName:s.element.title,sectionColor:m.color,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,compareMode:h,onClick:f=>{u?.(f)}})},Gn=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="calculated_section"||s.element.data==null)return null;const m=jt(s.config.reportId,s.element.title),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(ft,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionName:s.element.title,sectionColor:m.color,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,compareMode:h,onClick:f=>{u?.(f)}})},Hn=(e,o,s,i,r,c,l,d)=>{if((s.config.isZeniCOAInUse==null||s.config.isZeniCOAInUse===!0)&&s.config.mode!=="this_period_vs_period_before")return null;const x=s.element.data,p=O(x,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(ua,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,title:s.element.title,height:i,isLeaf:d,compareMode:l,totalBalances:p.balances})},ga=(e,o,s)=>e.element.kind!=="loading_in_progress"?null:t.jsxRuntimeExports.jsx(Ln,{height:o,backgroundColor:s,title:e.element.title,numOfBalances:e.element.numOfBalances}),fa=(e,o,s)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsxRuntimeExports.jsx(Pn,{height:o,backgroundColor:s,numOfBalances:e.element.numOfBalances}),Le=20,On=e=>{const o=[];return e&&Object.values(e).forEach(s=>{o.push(s)}),o.reverse()},ja=a.div`
|
|
1092
|
+
display: flex;
|
|
1093
|
+
flex: 1 1 auto;
|
|
1094
|
+
height: 1px;
|
|
1095
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
|
|
1096
|
+
`,wa=a.div`
|
|
1097
|
+
display: flex;
|
|
1098
|
+
height: 1px;
|
|
1099
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
1100
|
+
`;function tt({kind:e,isScrolling:o}){switch(e){case"account_class_row_separator":return t.jsxRuntimeExports.jsx(ja,{isScrolling:o});case"section_row_separator":case"vendor_separator":return t.jsxRuntimeExports.jsx(wa,{isScrolling:o});case"heading_row_separator":return null}}const Ra=a.div`
|
|
1101
|
+
position: relative;
|
|
1102
|
+
`,$a=a.div`
|
|
1103
|
+
height: ${e=>e.height}px;
|
|
1104
|
+
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1105
|
+
width: 1px;
|
|
1106
|
+
`;a.div`
|
|
1107
|
+
height: 39px;
|
|
1108
|
+
width: 2px;
|
|
1109
|
+
`;const Sa=a.div`
|
|
1110
|
+
position: relative;
|
|
1111
|
+
margin-right: ${n.Space.sp3};
|
|
1112
|
+
&::after {
|
|
1113
|
+
content: "";
|
|
1114
|
+
position: absolute;
|
|
1115
|
+
top: 20px;
|
|
1116
|
+
border-top: 1px solid ${e=>e.theme.colors.grey1};
|
|
1117
|
+
width: 18px;
|
|
1118
|
+
}
|
|
1119
|
+
`,ya=a.div`
|
|
1120
|
+
height: ${n.Space.sp6};
|
|
1121
|
+
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1122
|
+
width: 1px;
|
|
1123
|
+
`,Ca=a.div`
|
|
1124
|
+
position: relative;
|
|
1125
|
+
margin-right: ${n.Space.sp3};
|
|
1126
|
+
&::after {
|
|
1127
|
+
content: "";
|
|
1128
|
+
position: absolute;
|
|
1129
|
+
top: ${e=>e.height}px;
|
|
1130
|
+
border-top: 1px solid ${e=>e.theme.colors.grey1};
|
|
1131
|
+
width: 18px;
|
|
1132
|
+
}
|
|
1133
|
+
`,ba=a.div`
|
|
1134
|
+
height: ${e=>e.height}px;
|
|
1135
|
+
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
1136
|
+
margin-bottom: ${e=>e.height}px;
|
|
1137
|
+
width: 1px;
|
|
1138
|
+
`,Fn=({height:e})=>t.jsxRuntimeExports.jsx(Ra,{children:t.jsxRuntimeExports.jsx($a,{height:e})}),va=({height:e})=>t.jsxRuntimeExports.jsx(Ca,{height:e,children:t.jsxRuntimeExports.jsx(ba,{height:e})}),_a=()=>t.jsxRuntimeExports.jsx(Sa,{children:t.jsxRuntimeExports.jsx(ya,{})}),R={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceHeaderWidth:"126px",balanceWidth:"128px",balanceLeftMargin:"12px",statusLeftMargin:"12px",balanceLeftMarginInPx:n.sp[4],titleWidth:"685px",vendorContainerWidth:"628px",sectionContainerWidth:"685px",varianceHeaderContainerWidth:"182px",varianceContainerWidth:"184px",statusContainerWidth:"144px",sortIconDimension:"12px",categoryClassContainerWidth:"685px",categoryClassHeaderWidth:"250px",categoryClassValueWidth:"250px",lineComponentHeight:39,lineLComponentHeight:19.5,vendorLineComponentHeight:16,rectangularContainerWidth:128,largeRectangularContainerWidth:168,titleWidthMedium:"180px",categoryRowsSkeletonContainerWidth:"300px",varianceRowSkeletonContainerWidth:"210px",titleWidthSmall:"128px"};function Zn(e,o=!1){switch(e){case"section":return n.sp[8];case"flux_vendor_account_class_row":return o?n.sp[9]:n.sp[6];case"flux_vendor_row":return n.sp[8];case"timeframe_headers":return n.sp[8];case"total":return n.sp[8];case"loading_in_progress":return n.sp[8];case"headers_loading_in_progress":return n.sp[8];default:return 0}}function Ea(e){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(e)}const Ht=n.appLocale.getLocalizedStrings(),ka=a.div`
|
|
1139
|
+
display: flex;
|
|
1140
|
+
flex-shrink: 0;
|
|
1141
|
+
width: ${R.varianceContainerWidth};
|
|
1142
|
+
min-width: ${R.varianceContainerWidth};
|
|
1143
|
+
margin-left: 12px;
|
|
1144
|
+
gap: ${n.Space.sp1};
|
|
1145
|
+
flex-direction: row;
|
|
1146
|
+
justify-content: flex-end;
|
|
1147
|
+
text-align: center;
|
|
1148
|
+
`,Ba=a.div`
|
|
1149
|
+
height: ${n.Space.sp4};
|
|
1150
|
+
border-radius: ${n.Space.sp1};
|
|
1151
|
+
padding: 2px ${n.Space.sp1};
|
|
1152
|
+
color: ${e=>e.textColor.hex()};
|
|
1153
|
+
`,Ta=a.div`
|
|
1154
|
+
border-radius: ${n.Space.sp1};
|
|
1155
|
+
padding: 2px ${n.Space.sp1};
|
|
1156
|
+
height: ${n.Space.sp4};
|
|
1157
|
+
justify-content: center;
|
|
1158
|
+
text-align: center;
|
|
1159
|
+
color: ${e=>e.textColor.hex()};
|
|
1160
|
+
background-color: ${e=>e.bgColor.hex()};
|
|
1161
|
+
`,ze=({amount:e,percentage:o,currency:s})=>{const i=t.useTheme();return t.jsxRuntimeExports.jsxs(ka,{children:[t.jsxRuntimeExports.jsx(Ba,{textColor:e>0?new t.Color(i.colors.brandColorGoldDark):new t.Color(i.colors.success),children:n.amountToString("0,0",b.toAmount(Math.abs(e),s.currencyCode,s.currencySymbol))}),t.jsxRuntimeExports.jsx(Ta,{textColor:e>0?new t.Color(i.colors.brandColorGoldDark):new t.Color(i.colors.success),bgColor:e>0?new t.Color(n.Colors.brandColorGoldLight):new t.Color(n.Colors.successLight),children:`${t.numeral(Math.abs(o)).format(Ht.common.numberFormat.roundedOff)}${Ht.common.strings.percentage}`})]})},Ot=n.appLocale.getLocalizedStrings(),Ia=a.div`
|
|
1162
|
+
display: flex;
|
|
1163
|
+
flex: 1 1 auto;
|
|
1164
|
+
width: fit-content;
|
|
1165
|
+
min-width: 100%;
|
|
1166
|
+
flex-direction: column;
|
|
1167
|
+
`,Aa=a.div`
|
|
1168
|
+
display: flex;
|
|
1169
|
+
flex: 1 1 auto;
|
|
1170
|
+
flex-flow: row;
|
|
1171
|
+
justify-content: flex-start;
|
|
1172
|
+
align-items: center;
|
|
1173
|
+
width: 100%;
|
|
1174
|
+
color: ${e=>e.isHoveredByParent?e.theme.colors.primary:e.theme.colors.hero};
|
|
1175
|
+
&:hover {
|
|
1176
|
+
color: ${e=>e.theme.colors.primary};
|
|
1177
|
+
}
|
|
1178
|
+
`,Un=a.div`
|
|
1179
|
+
display: flex;
|
|
1180
|
+
flex-direction: column;
|
|
1181
|
+
`,Dn=a.div`
|
|
1182
|
+
display: flex;
|
|
1183
|
+
height: ${n.Space.sp4};
|
|
1184
|
+
`,Wa=a.div`
|
|
1185
|
+
display: flex;
|
|
1186
|
+
flex-direction: row;
|
|
1187
|
+
justify-content: flex-start;
|
|
1188
|
+
`,La=a(n.StandardRegular)`
|
|
1189
|
+
min-width: ${R.balanceWidth};
|
|
1190
|
+
max-width: ${R.balanceWidth};
|
|
1191
|
+
text-align: right;
|
|
1192
|
+
margin-left: 12px;
|
|
1193
|
+
`,za=a.div`
|
|
1194
|
+
display: flex;
|
|
1195
|
+
flex-direction: column;
|
|
1196
|
+
flex-shrink: 2;
|
|
1197
|
+
flex-grow: 1;
|
|
1198
|
+
align-items: center;
|
|
1199
|
+
width: ${R.categoryClassContainerWidth};
|
|
1200
|
+
max-width: ${R.categoryClassContainerWidth};
|
|
1201
|
+
padding-left: 67.5px;
|
|
1202
|
+
${({isSticky:e})=>e?B.css`
|
|
1203
|
+
position: sticky;
|
|
1204
|
+
top: ${n.Space.sp0};
|
|
1205
|
+
left: ${n.Space.sp0};
|
|
1206
|
+
display: flex;
|
|
1207
|
+
`:null}
|
|
1208
|
+
`,Pa=a.div`
|
|
1209
|
+
display: flex;
|
|
1210
|
+
height: ${n.Space.sp4};
|
|
1211
|
+
width: 100%;
|
|
1212
|
+
`,Va=a.div`
|
|
1213
|
+
display: flex;
|
|
1214
|
+
flex-direction: row;
|
|
1215
|
+
flex-shrink: 2;
|
|
1216
|
+
flex-grow: 1;
|
|
1217
|
+
align-items: center;
|
|
1218
|
+
width: 100%;
|
|
1219
|
+
`,Na=a(n.ExtraSmallRegular)`
|
|
1220
|
+
display: flex;
|
|
1221
|
+
width: ${R.categoryClassHeaderWidth};
|
|
1222
|
+
margin-left: ${n.Space.sp3};
|
|
1223
|
+
color: ${e=>e.theme.colors.hero};
|
|
1224
|
+
`,Ma=a(n.ExtraSmallRegular)`
|
|
1225
|
+
display: flex;
|
|
1226
|
+
width: ${R.categoryClassHeaderWidth};
|
|
1227
|
+
margin-left: ${n.Space.sp4};
|
|
1228
|
+
color: ${e=>e.theme.colors.hero};
|
|
1229
|
+
`,Ga=a(n.StandardRegular)`
|
|
1230
|
+
clear: both;
|
|
1231
|
+
display: flex;
|
|
1232
|
+
overflow: hidden;
|
|
1233
|
+
white-space: nowrap;
|
|
1234
|
+
text-overflow: ellipsis;
|
|
1235
|
+
text-align: left;
|
|
1236
|
+
margin-left: 2px;
|
|
1237
|
+
width: ${R.categoryClassValueWidth};
|
|
1238
|
+
max-width: ${R.categoryClassValueWidth};
|
|
1239
|
+
`,Ha=a(n.StandardRegular)`
|
|
1240
|
+
display: flex;
|
|
1241
|
+
align-items: center;
|
|
1242
|
+
overflow: hidden;
|
|
1243
|
+
white-space: nowrap;
|
|
1244
|
+
text-overflow: ellipsis;
|
|
1245
|
+
text-align: left;
|
|
1246
|
+
margin-left: ${n.Space.sp4};
|
|
1247
|
+
margin-right: ${n.Space.sp3};
|
|
1248
|
+
width: ${R.categoryClassValueWidth};
|
|
1249
|
+
max-width: ${R.categoryClassValueWidth};
|
|
1250
|
+
`,Oa=a.div`
|
|
1251
|
+
display: flex;
|
|
1252
|
+
margin-left: ${n.Space.sp7};
|
|
1253
|
+
margin-right: calc(
|
|
1254
|
+
${R.statusContainerWidth} +
|
|
1255
|
+
${R.statusLeftMargin}
|
|
1256
|
+
);
|
|
1257
|
+
`,Fa=a.div`
|
|
1258
|
+
position: sticky;
|
|
1259
|
+
left: 0;
|
|
1260
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1261
|
+
display: flex;
|
|
1262
|
+
`,Za=a.div`
|
|
1263
|
+
overflow-x: auto;
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex: 1;
|
|
1266
|
+
justify-content: flex-end;
|
|
1267
|
+
`,Ua=({isBalanceRowFirstNode:e=!1,balance:o})=>{const s=o!=null;return t.jsxRuntimeExports.jsxs(Un,{children:[e?t.jsxRuntimeExports.jsx(Dn,{}):null,t.jsxRuntimeExports.jsx(Wa,{children:t.jsxRuntimeExports.jsx(La,{isClickable:s,children:M(o)})})]})};function Da({varianceAmount:e,variancePercentage:o,currency:s,isSticky:i,balances:r,isScrolling:c,nodeMetadata:l,isLeaf:d,isLastNode:x,accountAndClass:p,isHoveredByParent:h}){const{common:{strings:{hyphen:u}}}=n.appLocale.getLocalizedStrings(),m=p.accountBase?.accountDescription?p.accountBase?.accountDescription:u,g=p.accountBase?.accountName?p.accountBase?.accountName:m,j=p.classBase?.className?p.classBase?.className:u,f=l?.accountAndClassRowMetadata.isLastNode;return t.jsxRuntimeExports.jsxs(Ia,{children:[t.jsxRuntimeExports.jsxs(Aa,{style:{cursor:"default"},isHoveredByParent:h,children:[t.jsxRuntimeExports.jsx(Fa,{children:t.jsxRuntimeExports.jsxs(za,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!l?.accountAndClassRowMetadata.isFirstNode&&t.jsxRuntimeExports.jsxs(Pa,{children:[t.jsxRuntimeExports.jsx(Fn,{height:R.lineComponentHeight}),t.jsxRuntimeExports.jsx(Na,{children:Ot.common.texts.category}),t.jsxRuntimeExports.jsx(Ma,{children:Ot.common.texts.class})]}),t.jsxRuntimeExports.jsxs(Va,{children:[f===!0?t.jsxRuntimeExports.jsx(va,{height:R.lineLComponentHeight}):t.jsxRuntimeExports.jsx(_a,{}),t.jsxRuntimeExports.jsx(Ga,{title:g,children:g}),t.jsxRuntimeExports.jsx(Ha,{title:j,children:j})]})]})}),t.jsxRuntimeExports.jsx(Za,{children:t.jsxRuntimeExports.jsxs(Oa,{children:[r.map((y,S)=>t.jsxRuntimeExports.jsx(Ua,{balance:y,isBalanceRowFirstNode:l?.accountAndClassRowMetadata.isFirstNode},S)),t.jsxRuntimeExports.jsxs(Un,{children:[!!l?.accountAndClassRowMetadata.isFirstNode&&t.jsxRuntimeExports.jsx(Dn,{}),t.jsxRuntimeExports.jsx(ze,{amount:e,percentage:o,currency:s})]})]})})]}),t.jsxRuntimeExports.jsx(qa,{isScrolling:c,isLeaf:d,isLastNode:x,isParentLastChild:l?.isVendorLastChild??!0})]})}function qa({isScrolling:e,isLastNode:o,isParentLastChild:s}){return o&&s?t.jsxRuntimeExports.jsx(tt,{isScrolling:e,kind:"vendor_separator"}):o?t.jsxRuntimeExports.jsx(tt,{isScrolling:e,kind:"account_class_row_separator"}):null}function Ya(){return t.jsxRuntimeExports.jsxs(Xa,{children:[t.jsxRuntimeExports.jsxs(Qa,{children:[t.jsxRuntimeExports.jsxs(re,{width:R.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsxRuntimeExports.jsx(n.CircularContentLoader,{width:n.sp[4],height:n.sp[4]}),t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.largeRectangularContainerWidth,height:n.sp[4],style:{display:"flex",alignItems:"baseline",marginLeft:n.Space.sp2}})]}),t.jsxRuntimeExports.jsx(re,{width:R.categoryRowsSkeletonContainerWidth,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.largeRectangularContainerWidth,height:n.sp[4],style:{display:"flex",alignItems:"baseline",marginLeft:n.Space.sp2}})})]}),t.jsxRuntimeExports.jsxs(Ja,{children:[t.jsxRuntimeExports.jsx(re,{width:R.titleWidthMedium,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.rectangularContainerWidth,height:n.sp[4],style:{display:"flex",alignItems:"center"}})}),t.jsxRuntimeExports.jsx(re,{width:R.titleWidthMedium,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.rectangularContainerWidth,height:n.sp[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxRuntimeExports.jsxs(re,{width:R.varianceRowSkeletonContainerWidth,children:[t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.rectangularContainerWidth,height:n.sp[4],style:{display:"flex",alignItems:"center"}}),t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:n.sp[7],height:n.sp[4],style:{display:"flex",alignItems:"flex-start",marginLeft:n.Space.sp1}})]}),t.jsxRuntimeExports.jsx(re,{width:R.titleWidthMedium,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:70,height:n.sp[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Xa=a.div`
|
|
1268
|
+
display: flex;
|
|
1269
|
+
flex-direction: row;
|
|
1270
|
+
width: 100%;
|
|
1271
|
+
margin-left: ${n.Space.sp8};
|
|
1272
|
+
.vendor-title {
|
|
1273
|
+
justify-content: flex-start;
|
|
1274
|
+
}
|
|
1275
|
+
`,re=a.div`
|
|
1276
|
+
display: flex;
|
|
1277
|
+
flex-direction: row;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
min-width: ${e=>e.width};
|
|
1280
|
+
color: ${e=>e.theme.colors.primary};
|
|
1281
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1282
|
+
justify-content: flex-end;
|
|
1283
|
+
|
|
1284
|
+
:last-of-type {
|
|
1285
|
+
justify-content: center;
|
|
1286
|
+
}
|
|
1287
|
+
`,Ja=a.div`
|
|
1288
|
+
display: flex;
|
|
1289
|
+
`,Qa=a.div`
|
|
1290
|
+
display: flex;
|
|
1291
|
+
width: ${R.vendorContainerWidth};
|
|
1292
|
+
position: sticky;
|
|
1293
|
+
left: ${n.Space.sp8};
|
|
1294
|
+
top: 0;
|
|
1295
|
+
z-index: 10;
|
|
1296
|
+
`,Ka=a.div`
|
|
1297
|
+
display: flex;
|
|
1298
|
+
flex: 1 1 auto;
|
|
1299
|
+
width: fit-content;
|
|
1300
|
+
min-width: 100%;
|
|
1301
|
+
flex-direction: column;
|
|
1302
|
+
height: ${e=>e.heightValue}px;
|
|
1303
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1304
|
+
`,ec=a.div`
|
|
1305
|
+
display: flex;
|
|
1306
|
+
flex: 1 1 auto;
|
|
1307
|
+
flex-flow: row;
|
|
1308
|
+
justify-content: flex-start;
|
|
1309
|
+
align-items: center;
|
|
1310
|
+
`,tc=a.div`
|
|
1311
|
+
display: flex;
|
|
1312
|
+
flex-direction: row;
|
|
1313
|
+
justify-content: flex-start;
|
|
1314
|
+
`,nc=a(n.StandardRegular)`
|
|
1315
|
+
max-width: ${R.balanceWidth};
|
|
1316
|
+
min-width: ${R.balanceWidth};
|
|
1317
|
+
text-align: right;
|
|
1318
|
+
margin-left: ${R.balanceLeftMargin};
|
|
1319
|
+
color: ${({color:e})=>e};
|
|
1320
|
+
`,oc=a.div`
|
|
1321
|
+
display: flex;
|
|
1322
|
+
flex-direction: row;
|
|
1323
|
+
flex-shrink: 2;
|
|
1324
|
+
align-items: center;
|
|
1325
|
+
height: 100%;
|
|
1326
|
+
width: ${R.sectionContainerWidth};
|
|
1327
|
+
min-width: ${R.sectionContainerWidth};
|
|
1328
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1329
|
+
${({isSticky:e})=>e&&B.css`
|
|
1330
|
+
position: sticky;
|
|
1331
|
+
top: ${n.Space.sp0};
|
|
1332
|
+
left: ${n.Space.sp0};
|
|
1333
|
+
`}
|
|
1334
|
+
`,sc=a(n.StandardRegular)`
|
|
1335
|
+
clear: both;
|
|
1336
|
+
display: inline-block;
|
|
1337
|
+
overflow: hidden;
|
|
1338
|
+
white-space: nowrap;
|
|
1339
|
+
text-overflow: ellipsis;
|
|
1340
|
+
text-align: left;
|
|
1341
|
+
margin-left: ${n.Space.sp2};
|
|
1342
|
+
color: ${({color:e})=>e};
|
|
1343
|
+
`,ic=a(n.SvgCheckboxActive)`
|
|
1344
|
+
color: ${e=>e.theme.colors.primary};
|
|
1345
|
+
width: ${n.Space.sp3};
|
|
1346
|
+
height: ${n.Space.sp3};
|
|
1347
|
+
`,rc=a.div`
|
|
1348
|
+
display: flex;
|
|
1349
|
+
&:hover {
|
|
1350
|
+
.flux-section-checkbox {
|
|
1351
|
+
background-color: transparent;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
`,ac=a.div`
|
|
1355
|
+
display: flex;
|
|
1356
|
+
width: ${n.Space.sp8};
|
|
1357
|
+
`,cc=a.div`
|
|
1358
|
+
display: flex;
|
|
1359
|
+
margin-left: ${n.Space.sp7};
|
|
1360
|
+
flex: 1 1 auto;
|
|
1361
|
+
justify-content: flex-end;
|
|
1362
|
+
margin-right: calc(
|
|
1363
|
+
${R.statusContainerWidth} +
|
|
1364
|
+
${R.statusLeftMargin}
|
|
1365
|
+
);
|
|
1366
|
+
`,lc=({balance:e,color:o})=>t.jsxRuntimeExports.jsx(tc,{children:t.jsxRuntimeExports.jsx(nc,{color:o,children:M(e)})}),dc=k.memo(function({currency:o,sectionId:s,selectedSectionsIds:i,backgroundColor:r,isSticky:c,treeNodeId:l,height:d,sectionName:x,hasVendors:p,sectionBalances:h,varianceAmount:u,variancePercentage:m,sectionColor:g,isScrolling:j,isOpen:f,isLeaf:y,idsForReview:S,sectionToggled:v,onSectionCheckboxClick:C}){const _=n.useWindowSizeContext(),[I,A]=k.useState(S.length>0),[V,P]=k.useState(!1),N=i.includes(s),G=!y,Y=S.length===Le&&!N,F=x?.[0]?.toUpperCase()??"",Q=k.useCallback(te=>{C?.(s,te.target.checked)},[s,C]);return t.jsxRuntimeExports.jsxs(Ka,{heightValue:d,bgColor:r,children:[t.jsxRuntimeExports.jsxs(ec,{style:{cursor:G?"pointer":"default"},onClick:()=>v?.(l),onMouseOver:()=>{P(!0),A(!0)},onMouseLeave:()=>{P(!1),S.length===0&&A(!1)},children:[t.jsxRuntimeExports.jsxs(oc,{className:"flux-section-name-container",isSticky:c,windowSize:_,bgColor:r,children:[p&&I&&f?t.jsxRuntimeExports.jsx(rc,{children:t.jsxRuntimeExports.jsx(t.Checkbox,{"aria-label":`Toggle section ${x}`,className:"flux-section-checkbox",icon:t.jsxRuntimeExports.jsx(n.SvgCheckboxDefault,{width:n.Space.sp3,height:n.Space.sp3}),checkedIcon:t.jsxRuntimeExports.jsx(ic,{}),checked:N,id:l,disabled:Y,onChange:Q,onClick:te=>te.stopPropagation(),style:{padding:"20px",pointerEvents:Y?"none":"auto"}})}):t.jsxRuntimeExports.jsx(ac,{}),t.jsxRuntimeExports.jsx($.CircleWithLetter,{color:t.Color(g),showCollapsedIcon:!f,showIcon:V&&G,firstLetter:F}),t.jsxRuntimeExports.jsx(sc,{color:g.toString(),children:x})]}),t.jsxRuntimeExports.jsxs(cc,{children:[h.map((te,Z)=>t.jsxRuntimeExports.jsx(lc,{sectionName:x,balance:te,color:g.toString()},Z)),t.jsxRuntimeExports.jsx(ze,{amount:u,percentage:m,currency:o})]})]}),t.jsxRuntimeExports.jsx(xc,{isScrolling:j,isLeaf:y,isOpen:f})]})});function xc({isScrolling:e,isLeaf:o,isOpen:s}){return o||!s?t.jsxRuntimeExports.jsx(tt,{isScrolling:e,kind:"section_row_separator"}):null}function uc(){const e=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(pc,{windowSize:e,children:[t.jsxRuntimeExports.jsx(xe,{windowSize:e,width:R.vendorContainerWidth,marginRight:0,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:n.sp[9],height:n.sp[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsxRuntimeExports.jsx(xe,{windowSize:e,width:R.titleWidthMedium,marginRight:0,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:128,height:n.sp[6],style:{display:"flex",alignItems:"center"}})}),t.jsxRuntimeExports.jsx(xe,{windowSize:e,width:R.titleWidthMedium,marginRight:0,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.rectangularContainerWidth,height:n.sp[6],style:{display:"flex",alignItems:"center"}})}),t.jsxRuntimeExports.jsx(xe,{windowSize:e,width:R.varianceRowSkeletonContainerWidth,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:184,height:n.sp[6],style:{display:"flex",alignItems:"center"}})}),t.jsxRuntimeExports.jsx(xe,{windowSize:e,width:R.titleWidthSmall,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:R.rectangularContainerWidth,height:n.sp[6],style:{display:"flex",alignItems:"center"}})})]})}const pc=a.div`
|
|
1367
|
+
display: flex;
|
|
1368
|
+
flex-direction: row;
|
|
1369
|
+
width: 100%;
|
|
1370
|
+
margin-left: ${n.Space.sp8};
|
|
1371
|
+
`,xe=a.div`
|
|
1372
|
+
display: flex;
|
|
1373
|
+
flex-direction: row;
|
|
1374
|
+
align-items: center;
|
|
1375
|
+
margin-right: ${e=>e.marginRight!=null?`${e.marginRight}px`:n.Space.sp4};
|
|
1376
|
+
min-width: ${e=>e.width};
|
|
1377
|
+
color: ${e=>e.theme.colors.primary};
|
|
1378
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1379
|
+
justify-content: flex-end;
|
|
1380
|
+
:first-of-type {
|
|
1381
|
+
justify-content: flex-start;
|
|
1382
|
+
}
|
|
1383
|
+
`,{common:hc,expenseAutomation:{fluxAnalysis:mc},vendors:{opExByVendor:gc}}=n.appLocale.getLocalizedStrings(),fc=a.div`
|
|
1384
|
+
display: flex;
|
|
1385
|
+
flex: 1 1 auto;
|
|
1386
|
+
width: fit-content;
|
|
1387
|
+
min-width: 100%;
|
|
1388
|
+
height: ${e=>`${e.heightValue}px`};
|
|
1389
|
+
flex-flow: row;
|
|
1390
|
+
justify-content: flex-start;
|
|
1391
|
+
align-items: center;
|
|
1392
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1393
|
+
`,nt=a.div`
|
|
1394
|
+
display: flex;
|
|
1395
|
+
max-height: ${n.Space.sp8};
|
|
1396
|
+
min-height: ${n.Space.sp8};
|
|
1397
|
+
min-width: ${e=>e.width!=null?e.width:R.balanceHeaderWidth};
|
|
1398
|
+
justify-content: center;
|
|
1399
|
+
align-items: center;
|
|
1400
|
+
background-color: ${e=>e.theme.colors.background};
|
|
1401
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
1402
|
+
border-radius: ${n.Space.sp2};
|
|
1403
|
+
margin-left: ${R.balanceLeftMargin};
|
|
1404
|
+
color: ${e=>e.theme.colors.primary};
|
|
1405
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
1406
|
+
`,jc=a(n.StandardRegular)`
|
|
1407
|
+
display: flex;
|
|
1408
|
+
flex-direction: row;
|
|
1409
|
+
justify-content: center;
|
|
1410
|
+
align-items: center;
|
|
1411
|
+
height: ${R.balanceHeight};
|
|
1412
|
+
max-width: ${R.balanceHeaderWidth};
|
|
1413
|
+
width: 138px;
|
|
1414
|
+
text-align: center;
|
|
1415
|
+
`,wc=a.div`
|
|
1416
|
+
display: flex;
|
|
1417
|
+
cursor: pointer;
|
|
1418
|
+
`,Rc=a.div`
|
|
1419
|
+
display: flex;
|
|
1420
|
+
cursor: pointer;
|
|
1421
|
+
justify-content: center;
|
|
1422
|
+
align-items: center;
|
|
1423
|
+
color: ${e=>e.theme.colors.primary};
|
|
1424
|
+
`,$c=a.div`
|
|
1425
|
+
display: flex;
|
|
1426
|
+
flex-direction: row;
|
|
1427
|
+
z-index: 1;
|
|
1428
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1429
|
+
padding-left: ${n.Space.sp8};
|
|
1430
|
+
${({isSticky:e})=>e?B.css`
|
|
1431
|
+
top: ${n.Space.sp0};
|
|
1432
|
+
left: ${n.Space.sp0};
|
|
1433
|
+
display: flex;
|
|
1434
|
+
position: sticky;
|
|
1435
|
+
`:null};
|
|
1436
|
+
`,Sc=a.div`
|
|
1437
|
+
height: ${n.Space.sp8};
|
|
1438
|
+
display: flex;
|
|
1439
|
+
flex-direction: row;
|
|
1440
|
+
align-items: center;
|
|
1441
|
+
min-width: ${R.vendorContainerWidth};
|
|
1442
|
+
color: ${e=>e.theme.colors.primary};
|
|
1443
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1444
|
+
`,yc=a(n.StandardRegular)`
|
|
1445
|
+
display: flex;
|
|
1446
|
+
gap: 6px;
|
|
1447
|
+
align-items: baseline;
|
|
1448
|
+
color: ${e=>e.isBulkSelected||e.isSortedByKey?e.theme.colors.primary:e.theme.colors.hero};
|
|
1449
|
+
`,ot=a.div`
|
|
1450
|
+
display: flex;
|
|
1451
|
+
cursor: pointer;
|
|
1452
|
+
`,st=a.div`
|
|
1453
|
+
color: ${e=>e.isBulkSelected||e.isSortedByKey?e.theme.colors.primary:e.theme.colors.hero};
|
|
1454
|
+
`,it=a(n.SvgArrowTailTop)`
|
|
1455
|
+
width: ${R.sortIconDimension};
|
|
1456
|
+
height: ${R.sortIconDimension};
|
|
1457
|
+
margin-left: ${n.Space.sp2};
|
|
1458
|
+
margin-top: ${n.Space.sp1};
|
|
1459
|
+
`,rt=a(n.SvgArrowTailBottom)`
|
|
1460
|
+
width: ${R.sortIconDimension};
|
|
1461
|
+
height: ${R.sortIconDimension};
|
|
1462
|
+
margin-left: ${n.Space.sp2};
|
|
1463
|
+
margin-top: ${n.Space.sp1};
|
|
1464
|
+
`,Cc=a.div`
|
|
1465
|
+
display: flex;
|
|
1466
|
+
margin-left: ${n.Space.sp7};
|
|
1467
|
+
flex: 1 1 auto;
|
|
1468
|
+
justify-content: flex-end;
|
|
1469
|
+
`,bc=({firstMonthOfFY:e,timeframeTick:o,timeframe:s})=>t.jsxRuntimeExports.jsx(nt,{isClickable:!1,children:t.jsxRuntimeExports.jsx(jc,{children:le(e,o,s)})}),vc=({firstMonthOfFY:e,timeframeTick:o,timeframe:s})=>t.jsxRuntimeExports.jsx(bc,{firstMonthOfFY:e,timeframeTick:o,timeframe:s}),_c=({sortKey:e="vendor",sortOrder:o="ascending",isBulkSelected:s,onSortOrderChanged:i})=>{const r=()=>{i(o==="ascending"?"descending":"ascending","vendor")},c=e==="vendor"?o:"ascending";return t.jsxRuntimeExports.jsx(yc,{isBulkSelected:s,isSortedByKey:e==="vendor",children:t.jsxRuntimeExports.jsxs(ot,{onClick:r,"data-testid":n.generateDataTestId("flux-analysis-report-timeframe-row-vendor-element-row"),children:[gc.vendor,t.jsxRuntimeExports.jsx(st,{isBulkSelected:s,isSortedByKey:e==="vendor",children:c==="ascending"?t.jsxRuntimeExports.jsx(it,{}):t.jsxRuntimeExports.jsx(rt,{})})]})})};function Ec({backgroundColor:e,height:o,isBulkSelected:s,sortKey:i="vendor",sortOrder:r="ascending",firstMonthOfFY:c,timeframe:l,timeframeTicks:d,onSortOrderChanged:x}){const p=n.useWindowSizeContext(),h=(u,m)=>{x?.(u,m)};return t.jsxRuntimeExports.jsxs(fc,{heightValue:o,bgColor:e,children:[t.jsxRuntimeExports.jsx($c,{className:"flux-vendor-header-sticky",windowSize:p,isSticky:!0,children:t.jsxRuntimeExports.jsx(Sc,{windowSize:p,children:t.jsxRuntimeExports.jsx(_c,{sortKey:i,sortOrder:r,isBulkSelected:s,onSortOrderChanged:h})})}),t.jsxRuntimeExports.jsxs(Cc,{children:[d.map((u,m)=>t.jsxRuntimeExports.jsx(vc,{firstMonthOfFY:c,timeframeTick:u,timeframe:l},m)),t.jsxRuntimeExports.jsx(nt,{isClickable:!1,width:R.varianceHeaderContainerWidth,children:t.jsxRuntimeExports.jsxs(ot,{onClick:()=>x?.(r==="ascending"?"descending":"ascending","variance"),"data-testid":n.generateDataTestId("flux-analysis-report-timeframe-row-varianceElement"),children:[t.jsxRuntimeExports.jsx(wc,{children:mc.variance}),t.jsxRuntimeExports.jsx(st,{isBulkSelected:s,isSortedByKey:i==="variance",children:(i==="variance"?r:"ascending")==="ascending"?t.jsxRuntimeExports.jsx(it,{}):t.jsxRuntimeExports.jsx(rt,{})})]})}),t.jsxRuntimeExports.jsx(nt,{isClickable:!1,width:R.statusContainerWidth,children:t.jsxRuntimeExports.jsxs(ot,{onClick:()=>{x?.(r==="ascending"?"descending":"ascending","status")},"data-testid":n.generateDataTestId("flux-analysis-report-timeframe-row-status"),children:[t.jsxRuntimeExports.jsx(Rc,{children:hc.texts.reviewStatus}),t.jsxRuntimeExports.jsx(st,{isBulkSelected:s,isSortedByKey:i==="status",children:(i==="status"?r:"ascending")==="ascending"?t.jsxRuntimeExports.jsx(it,{}):t.jsxRuntimeExports.jsx(rt,{})})]})})]})]})}const kc=a.div`
|
|
1470
|
+
display: flex;
|
|
1471
|
+
flex: 1 1 auto;
|
|
1472
|
+
width: fit-content;
|
|
1473
|
+
min-width: 100%;
|
|
1474
|
+
|
|
1475
|
+
flex-direction: column;
|
|
1476
|
+
height: ${e=>`${e.heightValue}px`};
|
|
1477
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1478
|
+
`,Bc=a.div`
|
|
1479
|
+
cursor: default;
|
|
1480
|
+
user-select: none;
|
|
1481
|
+
display: flex;
|
|
1482
|
+
flex: 1 1 auto;
|
|
1483
|
+
flex-flow: row;
|
|
1484
|
+
justify-content: flex-start;
|
|
1485
|
+
align-items: center;
|
|
1486
|
+
`,Tc=a.div`
|
|
1487
|
+
display: flex;
|
|
1488
|
+
flex-direction: row;
|
|
1489
|
+
`,Ic=a.div`
|
|
1490
|
+
display: flex;
|
|
1491
|
+
flex-direction: row;
|
|
1492
|
+
justify-content: flex-start;
|
|
1493
|
+
align-items: center;
|
|
1494
|
+
margin-left: ${R.balanceLeftMargin};
|
|
1495
|
+
`,Ac=a(n.StandardMedium)`
|
|
1496
|
+
user-select: none;
|
|
1497
|
+
min-width: ${R.balanceWidth};
|
|
1498
|
+
max-width: ${R.balanceWidth};
|
|
1499
|
+
text-align: right;
|
|
1500
|
+
color: ${e=>e.theme.colors.hero};
|
|
1501
|
+
border: 1px solid transparent;
|
|
1502
|
+
`,Wc=a.div`
|
|
1503
|
+
display: flex;
|
|
1504
|
+
flex-direction: row;
|
|
1505
|
+
align-items: center;
|
|
1506
|
+
flex-shrink: 2;
|
|
1507
|
+
flex-grow: 1;
|
|
1508
|
+
width: ${R.titleWidth};
|
|
1509
|
+
max-width: ${R.titleWidth};
|
|
1510
|
+
height: 100%;
|
|
1511
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
1512
|
+
position: sticky;
|
|
1513
|
+
left: ${n.Space.sp8};
|
|
1514
|
+
top: 0;
|
|
1515
|
+
z-index: 10;
|
|
1516
|
+
`,Lc=a(n.StandardMedium)`
|
|
1517
|
+
user-select: none;
|
|
1518
|
+
clear: both;
|
|
1519
|
+
display: inline-block;
|
|
1520
|
+
overflow: hidden;
|
|
1521
|
+
white-space: nowrap;
|
|
1522
|
+
text-overflow: ellipsis;
|
|
1523
|
+
text-align: left;
|
|
1524
|
+
color: ${e=>e.theme.colors.primary};
|
|
1525
|
+
`,zc=a.div`
|
|
1526
|
+
display: flex;
|
|
1527
|
+
width: ${R.statusContainerWidth};
|
|
1528
|
+
min-width: ${R.statusContainerWidth};
|
|
1529
|
+
justify-content: center;
|
|
1530
|
+
flex-direction: row;
|
|
1531
|
+
margin-left: ${R.statusLeftMargin};
|
|
1532
|
+
`,Pc=a.div`
|
|
1533
|
+
display: flex;
|
|
1534
|
+
margin-left: ${n.Space.sp7};
|
|
1535
|
+
flex: 1 1 auto;
|
|
1536
|
+
justify-content: flex-end;
|
|
1537
|
+
`,Vc=({balance:e})=>t.jsxRuntimeExports.jsx(Ic,{children:t.jsxRuntimeExports.jsx(Ac,{children:n.amountToString("0,0",e?.balance)})});function Nc({type:e,height:o,title:s,totalBalances:i,varianceAmount:r,variancePercentage:c,currency:l,backgroundColor:d}){return t.jsxRuntimeExports.jsx(kc,{"data-testid":n.generateDataTestId("total-row-root-container"),heightValue:o,bgColor:d,children:t.jsxRuntimeExports.jsxs(Bc,{"data-testid":n.generateDataTestId("total-row-container"),children:[t.jsxRuntimeExports.jsx(Wc,{className:"flux-total-row",children:t.jsxRuntimeExports.jsx(Lc,{children:s})}),t.jsxRuntimeExports.jsxs(Pc,{children:[t.jsxRuntimeExports.jsx(Tc,{children:q(e)&&i.map((x,p)=>t.jsxRuntimeExports.jsx(Vc,{balance:x},p))}),t.jsxRuntimeExports.jsx(ze,{amount:r,percentage:c,currency:l}),t.jsxRuntimeExports.jsx(zc,{})]})]})})}const Mc=a.div`
|
|
1538
|
+
display: flex;
|
|
1539
|
+
flex: 1 1 auto;
|
|
1540
|
+
width: fit-content;
|
|
1541
|
+
min-width: 100%;
|
|
1542
|
+
flex-direction: column;
|
|
1543
|
+
height: ${e=>`${e.heightValue}px`};
|
|
1544
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1545
|
+
`,Gc=a.div`
|
|
1546
|
+
user-select: none;
|
|
1547
|
+
display: flex;
|
|
1548
|
+
flex: 1 1 auto;
|
|
1549
|
+
flex-flow: row;
|
|
1550
|
+
justify-content: flex-start;
|
|
1551
|
+
align-items: center;
|
|
1552
|
+
cursor: pointer;
|
|
1553
|
+
color: ${e=>e.isRowExpanded?e.theme.colors.primary:e.theme.colors.hero};
|
|
1554
|
+
&:hover {
|
|
1555
|
+
color: ${e=>e.theme.colors.primary};
|
|
1556
|
+
.flux-vendor-chevron-icon,
|
|
1557
|
+
.flux-vendor-collapsable-chevron-icon,
|
|
1558
|
+
.flux-vendor-children-count {
|
|
1559
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
.flux-vendor-chevron-icon,
|
|
1563
|
+
.flux-vendor-collapsable-chevron-icon,
|
|
1564
|
+
.flux-vendor-children-count {
|
|
1565
|
+
border: 1px solid
|
|
1566
|
+
${e=>e.shouldHighlight?e.theme.colors.primary:e.theme.colors.hero};
|
|
1567
|
+
}
|
|
1568
|
+
`,Hc=a.div`
|
|
1569
|
+
display: flex;
|
|
1570
|
+
flex-direction: row;
|
|
1571
|
+
justify-content: flex-start;
|
|
1572
|
+
align-items: center;
|
|
1573
|
+
margin-left: ${R.balanceLeftMargin};
|
|
1574
|
+
`,Oc=a(n.StandardRegular)`
|
|
1575
|
+
user-select: none;
|
|
1576
|
+
min-width: ${R.balanceWidth};
|
|
1577
|
+
max-width: ${R.balanceWidth};
|
|
1578
|
+
text-align: right;
|
|
1579
|
+
`,Fc=a.div`
|
|
1580
|
+
display: flex;
|
|
1581
|
+
flex-direction: row;
|
|
1582
|
+
align-items: center;
|
|
1583
|
+
flex-shrink: 2;
|
|
1584
|
+
flex-grow: 1;
|
|
1585
|
+
width: ${R.titleWidth};
|
|
1586
|
+
max-width: ${R.titleWidth};
|
|
1587
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1588
|
+
${({isSticky:e})=>e?B.css`
|
|
1589
|
+
position: -webkit-sticky;
|
|
1590
|
+
position: sticky;
|
|
1591
|
+
top: ${n.Space.sp0};
|
|
1592
|
+
left: ${n.Space.sp0};
|
|
1593
|
+
`:null}
|
|
1594
|
+
`,Zc=a(n.StandardRegular)`
|
|
1595
|
+
user-select: none;
|
|
1596
|
+
clear: both;
|
|
1597
|
+
display: inline-block;
|
|
1598
|
+
overflow: hidden;
|
|
1599
|
+
white-space: nowrap;
|
|
1600
|
+
text-overflow: ellipsis;
|
|
1601
|
+
text-align: left;
|
|
1602
|
+
`,Uc=a.div`
|
|
1603
|
+
display: flex;
|
|
1604
|
+
justify-content: space-between;
|
|
1605
|
+
flex-grow: 1;
|
|
1606
|
+
`,Dc=a.div`
|
|
1607
|
+
display: flex;
|
|
1608
|
+
align-items: center;
|
|
1609
|
+
margin-left: 10px;
|
|
1610
|
+
`;a.div`
|
|
1611
|
+
display: flex;
|
|
1612
|
+
flex-shrink: 0;
|
|
1613
|
+
width: ${R.varianceContainerWidth};
|
|
1614
|
+
min-width: ${R.varianceContainerWidth};
|
|
1615
|
+
margin-left: 12px;
|
|
1616
|
+
gap: ${n.Space.sp1};
|
|
1617
|
+
flex-direction: row;
|
|
1618
|
+
justify-content: flex-end;
|
|
1619
|
+
text-align: center;
|
|
1620
|
+
align-items: center;
|
|
1621
|
+
`;const qc=a(n.SvgLike)`
|
|
1622
|
+
width: 12px;
|
|
1623
|
+
height: 12px;
|
|
1624
|
+
`;a.div`
|
|
1625
|
+
height: ${n.Space.sp4};
|
|
1626
|
+
border-radius: ${n.Space.sp1};
|
|
1627
|
+
padding: 2px ${n.Space.sp1};
|
|
1628
|
+
`;a.div`
|
|
1629
|
+
border-radius: ${n.Space.sp1};
|
|
1630
|
+
padding: 2px ${n.Space.sp1};
|
|
1631
|
+
height: ${n.Space.sp4};
|
|
1632
|
+
justify-content: center;
|
|
1633
|
+
text-align: center;
|
|
1634
|
+
background-color: ${e=>e.bgColor.hex()};
|
|
1635
|
+
`;const Yc=a.div`
|
|
1636
|
+
display: flex;
|
|
1637
|
+
margin-left: ${n.Space.sp7};
|
|
1638
|
+
flex: 1 1 auto;
|
|
1639
|
+
justify-content: flex-end;
|
|
1640
|
+
`,Xc=a.div`
|
|
1641
|
+
display: flex;
|
|
1642
|
+
flex-direction: column;
|
|
1643
|
+
align-items: center;
|
|
1644
|
+
padding-top: ${e=>e.isNodeOpen?n.Space.sp3:n.Space.sp0};
|
|
1645
|
+
`,Jc=a.div`
|
|
1646
|
+
display: flex;
|
|
1647
|
+
width: ${R.statusContainerWidth};
|
|
1648
|
+
min-width: ${R.statusContainerWidth};
|
|
1649
|
+
justify-content: center;
|
|
1650
|
+
flex-direction: row;
|
|
1651
|
+
margin-left: ${R.statusLeftMargin};
|
|
1652
|
+
`,Qc=a(n.ExtraSmallRegular)`
|
|
1653
|
+
width: ${R.balanceWidth};
|
|
1654
|
+
max-width: ${R.balanceWidth};
|
|
1655
|
+
color: ${e=>e.theme.colors.primary};
|
|
1656
|
+
display: flex;
|
|
1657
|
+
flex: 1 0 auto;
|
|
1658
|
+
flex-direction: column;
|
|
1659
|
+
cursor: pointer;
|
|
1660
|
+
align-items: center;
|
|
1661
|
+
`,Kc=a.div`
|
|
1662
|
+
color: ${e=>e.theme.colors.grey1};
|
|
1663
|
+
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
1664
|
+
padding: ${n.Space.sp0} 6px;
|
|
1665
|
+
border-radius: ${n.Space.sp1};
|
|
1666
|
+
width: fit-content;
|
|
1667
|
+
display: flex;
|
|
1668
|
+
align-items: center;
|
|
1669
|
+
margin-right: ${n.Space.sp2};
|
|
1670
|
+
`,el=a(n.ExtraSmallRegular)`
|
|
1671
|
+
overflow: hidden;
|
|
1672
|
+
text-overflow: ellipsis;
|
|
1673
|
+
`,tl=a.div`
|
|
1674
|
+
display: flex;
|
|
1675
|
+
width: ${n.Space.sp8};
|
|
1676
|
+
height: ${n.Space.sp8};
|
|
1677
|
+
&:hover {
|
|
1678
|
+
.flux-vendor-checkbox {
|
|
1679
|
+
background-color: transparent;
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
`,nl=a(n.SvgCheckboxActive)`
|
|
1683
|
+
color: ${e=>e.theme.colors.primary};
|
|
1684
|
+
width: ${n.Space.sp3};
|
|
1685
|
+
height: ${n.Space.sp3};
|
|
1686
|
+
`,ol=a(n.ExtraSmallRegular)`
|
|
1687
|
+
display: flex;
|
|
1688
|
+
flex-direction: row;
|
|
1689
|
+
align-items: center;
|
|
1690
|
+
gap: 2px;
|
|
1691
|
+
color: ${e=>e.theme.colors.success};
|
|
1692
|
+
`,sl=a(n.SvgArrowBottom)`
|
|
1693
|
+
width: 12px;
|
|
1694
|
+
height: 12px;
|
|
1695
|
+
`,Ft=a(n.SvgArrowRight)`
|
|
1696
|
+
margin-left: 2px;
|
|
1697
|
+
width: 12px;
|
|
1698
|
+
height: 12px;
|
|
1699
|
+
`,il=a(n.ExtraSmallMedium)`
|
|
1700
|
+
display: flex;
|
|
1701
|
+
border-radius: 50%;
|
|
1702
|
+
width: ${n.Space.sp4};
|
|
1703
|
+
height: ${n.Space.sp4};
|
|
1704
|
+
text-align: center;
|
|
1705
|
+
align-items: center;
|
|
1706
|
+
justify-content: center;
|
|
1707
|
+
`,rl=a(n.ExtraSmallMedium)`
|
|
1708
|
+
display: flex;
|
|
1709
|
+
border-radius: ${n.Space.sp1};
|
|
1710
|
+
width: ${n.Space.sp4};
|
|
1711
|
+
height: ${n.Space.sp4};
|
|
1712
|
+
text-align: center;
|
|
1713
|
+
align-items: center;
|
|
1714
|
+
justify-content: center;
|
|
1715
|
+
margin-right: ${n.Space.sp4};
|
|
1716
|
+
`,al=a(n.ExtraSmallMedium)`
|
|
1717
|
+
display: flex;
|
|
1718
|
+
border-radius: 100px;
|
|
1719
|
+
width: 18px;
|
|
1720
|
+
height: 18px;
|
|
1721
|
+
justify-content: center;
|
|
1722
|
+
align-items: center;
|
|
1723
|
+
margin-left: ${n.Space.sp1};
|
|
1724
|
+
`,{common:Zt,expenseAutomation:cl}=n.appLocale.getLocalizedStrings(),ll=({balance:e})=>{const o=Oc;return t.jsxRuntimeExports.jsx(Hc,{children:t.jsxRuntimeExports.jsx(o,{children:M(e)})})};function dl({fluxAnalysisEntityId:e,idsForReview:o,backgroundColor:s,isSticky:i,treeNodeId:r,height:c,leftChevron:l,varianceAmount:d,variancePercentage:x,currency:p,vendorBalances:h,reviewedByUser:u,status:m,vendor:g,isOpen:j,childrenCount:f,setHoveredParentId:y,onClick:S,handleRedirectToVendorDetailPage:v,updateOperatingExpensesIdsForReview:C}){const[_,I]=k.useState(!1),[A,V]=k.useState(o.length>0),P=o.includes(e),N=o.includes(e),G=l==="collapsed",Y=o.length===Le&&P===!1,F=Zc,Q=Z=>{let K=o;Z.target.checked===!0?K=[...K,e]:K=K.filter($e=>$e!==e),C?.(K)},te=()=>{v?.(g)};return t.jsxRuntimeExports.jsx(Mc,{heightValue:c,bgColor:s,children:t.jsxRuntimeExports.jsxs(Gc,{shouldHighlight:N,isRowExpanded:j,onClick:()=>S?.(r),onMouseOver:()=>{I(!0),V(!0),y?.(g.id)},onMouseLeave:()=>{I(!1),o.length===0&&V(!1),y?.(null)},children:[t.jsxRuntimeExports.jsxs(Fc,{className:"flux-vendor-name-container",bgColor:s,isSticky:i,children:[t.jsxRuntimeExports.jsx(tl,{className:"flux-vendor-checkbox-container",children:A?t.jsxRuntimeExports.jsx(t.Checkbox,{className:"flux-vendor-checkbox",icon:t.jsxRuntimeExports.jsx(n.SvgCheckboxDefault,{width:n.Space.sp3,height:n.Space.sp3}),checkedIcon:t.jsxRuntimeExports.jsx(nl,{}),checked:P,name:g.name,id:e,disabled:Y,onChange:Q,onClick:Z=>Z.stopPropagation(),style:{padding:"20px",pointerEvents:Y?"none":"auto"}}):null}),t.jsxRuntimeExports.jsxs(Xc,{isNodeOpen:j,children:[_?t.jsxRuntimeExports.jsx(il,{className:"flux-vendor-collapsable-chevron-icon",children:j===!1?t.jsxRuntimeExports.jsx(Ft,{}):t.jsxRuntimeExports.jsx(sl,{})}):g.logo!=null?t.jsxRuntimeExports.jsx(n.EntityLogoAvatar,{photoUrl:g.logo.toString(),styles:{width:n.sp[4],height:n.sp[4]}}):t.jsxRuntimeExports.jsx(n.EntityAvatar,{name:g.name,size:n.Space.sp4}),j?t.jsxRuntimeExports.jsx(Fn,{height:R.vendorLineComponentHeight}):null]}),t.jsxRuntimeExports.jsxs(Uc,{children:[t.jsxRuntimeExports.jsxs(Dc,{children:[t.jsxRuntimeExports.jsx(F,{children:g.name}),j?null:t.jsxRuntimeExports.jsx(al,{className:"flux-vendor-children-count",children:t.jsxRuntimeExports.jsx(n.ExtraSmallMedium,{children:f})})]}),_?t.jsxRuntimeExports.jsx(k.Fragment,{children:t.jsxRuntimeExports.jsx(rl,{className:"flux-vendor-chevron-icon",onClick:te,"data-testid":n.generateDataTestId("flux-analysis-report-vendorElement-row"),children:t.jsxRuntimeExports.jsx(Ft,{})})}):null]})]}),t.jsxRuntimeExports.jsxs(Yc,{children:[h.map((Z,K)=>t.jsxRuntimeExports.jsx(ll,{balance:Z,collapsed:G},K)),t.jsxRuntimeExports.jsx(ze,{amount:d,percentage:x,currency:p}),t.jsxRuntimeExports.jsx(Jc,{children:m==="Pending Review"?t.jsxRuntimeExports.jsx(Kc,{children:t.jsxRuntimeExports.jsx(el,{children:Zt.status.pending})}):t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:t.jsxRuntimeExports.jsx(Qc,{className:"vendor-flux-analysis-review-info",children:u!=null?t.jsxRuntimeExports.jsxs(k.Fragment,{children:[t.jsxRuntimeExports.jsxs(ol,{children:[t.jsxRuntimeExports.jsx(qc,{}),cl.fluxAnalysis.reviewedBy]}),t.jsxRuntimeExports.jsx(n.ExtraSmallMedium,{children:n.getFullName(u)})]}):Zt.strings.hyphen})})})]})]})})}const Ut={generalExpense:{color:new t.Color(n.lightColors.graphColor04),hoverColor:new t.Color(n.lightColors.graphColor04Dark)},reimbursement:{color:new t.Color(n.lightColors.graphColor10),hoverColor:new t.Color(n.lightColors.graphColor10Dark)},default:{color:new t.Color(n.Colors.neutralGrey2Dark),hoverColor:new t.Color(n.Colors.neutralGrey2Dark)}},xl=(e,o)=>e.startsWith("flux_analysis_operating_expense")===!0&&o!=null?Ut[o]:Ut.default,wt=(e,o)=>{const{element:s}=e;return s.kind===o&&s.data!=null},qn=e=>On(e.balancesByMonth),ul=(e,o,s,i,r,c,l,d,x)=>{if(!wt(o,"flux_vendor_account_class_row"))return null;const p=o.element.data,h=qn(p),u=o.element.metadata.vendorId;return t.jsxRuntimeExports.jsx(Da,{backgroundColor:s,isSticky:i,treeNodeId:e,balances:h,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,currency:p.currency,isScrolling:r,isLeaf:c,isLastNode:l,nodeMetadata:o.element.metadata,accountAndClass:p,onAccountAndClassBalanceClick:()=>x?.(u),isHoveredByParent:d?.hoveredParentId===u})},pl=(e,o,s,i,r,c,l,d,x,p,h)=>{if(!wt(o,"flux_vendor_row"))return null;const u=o.element.data,m=qn(u),g=Zn("flux_vendor_row",x),j=f=>{h?.(f),o.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(f)};return t.jsxRuntimeExports.jsx(dl,{backgroundColor:s,isSticky:i,treeNodeId:e,fluxAnalysisEntityId:u.fluxAnalysisEntityId,height:g,leftChevron:"collapsed",idsForReview:o.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:u.vendor,vendorBalances:m,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,status:u.status,currency:u.currency,isScrolling:r,isOpen:c,isLeaf:l,isLastNode:d,childrenCount:u.vendorAccountsAndClasses.length,onClick:f=>{j?.(f)},reviewedByUser:u.reviewedByUser,updateOperatingExpensesIdsForReview:o.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:o.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:p?.setHoveredParentId})},hl=(e,o,s,i,r,c,l,d,x,p)=>{if(!wt(o,"section"))return null;const h=xl(o.config.reportId,o.element.sectionType),u=o.element.data,m=g=>{o.config.fluxAnalysisConfig?.onSectionRowClick(g),p?.(g)};return t.jsxRuntimeExports.jsx(dc,{backgroundColor:i,isSticky:r,treeNodeId:e,height:s,selectedSectionsIds:o.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:o.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:h.color,sectionName:o.element.title,sectionBalances:u.balances,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,currency:u.currency,isScrolling:c,isOpen:l,hasVendors:u.vendors.length>0,isLeaf:d,isLastNode:x,sectionToggled:g=>{m?.(g)},onSectionCheckboxClick:o.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:u.sectionId})},ml=(e,o,s)=>{if(e.element.kind!=="timeframe_headers")return null;const i=fe(e.element.data,e.config.displayOrder),r=i.length>0?i[0].balanceTimeFrame:"month",c=i.map(d=>b.toTimeframeTick(d)),l=(d,x)=>{e.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),e.config.fluxAnalysisConfig?.onSortOrderChanged(d,x)};return t.jsxRuntimeExports.jsx(Ec,{isSticky:s,height:o,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:r,timeframeTicks:c,isBulkSelected:e.config.fluxAnalysisConfig?.reviewOpExIds.length===Le,onSortOrderChanged:l,sortOrder:e.config.fluxAnalysisConfig?.sortOrder,sortKey:e.config.fluxAnalysisConfig?.sortKey})},gl=(e,o)=>{if(e.element.kind!=="total")return null;const s=e.element.data;return t.jsxRuntimeExports.jsx(Nc,{type:"name+balances_actual",title:e.element.title,totalBalances:s.balances,varianceAmount:s.varianceAmount,variancePercentage:s.variancePercentage,currency:s.currency,height:o})},fl=e=>e.element.kind!=="loading_in_progress"?null:t.jsxRuntimeExports.jsx(Ya,{}),jl=e=>e.element.kind!=="headers_loading_in_progress"?null:t.jsxRuntimeExports.jsx(uc,{}),wl=a.div`
|
|
1725
|
+
display: flex;
|
|
1726
|
+
flex: 1 1 auto;
|
|
1727
|
+
width: fit-content;
|
|
1728
|
+
min-width: 100%;
|
|
1729
|
+
flex-direction: column;
|
|
1730
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1731
|
+
`,Rl=a.div`
|
|
1732
|
+
user-select: none;
|
|
1733
|
+
display: flex;
|
|
1734
|
+
flex: 1 1 auto;
|
|
1735
|
+
flex-flow: row;
|
|
1736
|
+
justify-content: flex-start;
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
height: ${e=>e.height}px;
|
|
1739
|
+
margin-left: ${e=>e.level*20}px;
|
|
1740
|
+
`,$l=a.div`
|
|
1741
|
+
display: flex;
|
|
1742
|
+
flex-direction: row;
|
|
1743
|
+
align-items: center;
|
|
1744
|
+
justify-content: space-between;
|
|
1745
|
+
&:hover {
|
|
1746
|
+
background-color: null;
|
|
1747
|
+
}
|
|
1748
|
+
width: 100%;
|
|
1749
|
+
`,Sl=a(n.SmallRegular)`
|
|
1750
|
+
width: 100%;
|
|
1751
|
+
display: flex;
|
|
1752
|
+
align-items: center;
|
|
1753
|
+
font-weight: ${e=>e.isSubclass?n.FontWeight.regular:n.FontWeight.medium};
|
|
1754
|
+
color: ${e=>e.checked?e.theme.colors.primary:e.theme.colors.hero};
|
|
1755
|
+
`,yl=a(n.ExtraSmallRegular)`
|
|
1756
|
+
display: flex;
|
|
1757
|
+
color: ${e=>e.theme.colors.primary};
|
|
1758
|
+
align-items: center;
|
|
1759
|
+
flex-direction: row;
|
|
1760
|
+
justify-content: center;
|
|
1761
|
+
height: 18px;
|
|
1762
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
1763
|
+
border-radius: ${n.Space.sp1};
|
|
1764
|
+
margin: 0 ${n.Space.sp5} 0 ${n.Space.sp3};
|
|
1765
|
+
min-width: ${n.Space.sp6};
|
|
1766
|
+
`,Cl=a(n.SvgCheckboxActive)`
|
|
1767
|
+
color: ${e=>e.theme.colors.primary};
|
|
1768
|
+
width: ${n.Space.sp3};
|
|
1769
|
+
height: ${n.Space.sp3};
|
|
1770
|
+
`;function bl({backgroundColor:e,treeNodeId:o,classId:s,isChecked:i,isDisabled:r,height:c,nestedClass:l,isLeaf:d,showClassAccountNumber:x,onClick:p,onToggleCheck:h}){const[u,m]=k.useState(!1);return t.jsxRuntimeExports.jsx(wl,{"data-testid":n.generateDataTestId("name-with-checkbox-row-root-container",o),bgColor:e,children:t.jsxRuntimeExports.jsxs(Rl,{"data-testid":n.generateDataTestId("name-with-checkbox-row-container",o),height:c,isClickable:!d,onClick:()=>p?.(o),onMouseOver:()=>m(!0),onMouseLeave:()=>m(!1),level:l.classId.length,children:[t.jsxRuntimeExports.jsx(t.Checkbox,{"data-testid":n.generateDataTestId("name-with-checkbox-row-checkbox",l.classId.toString()),icon:t.jsxRuntimeExports.jsx(n.SvgCheckboxDefault,{width:n.Space.sp3,height:n.Space.sp3}),checkedIcon:t.jsxRuntimeExports.jsx(Cl,{}),checked:i,name:l.className,id:o,disabled:r,onChange:g=>{h?.(s,g.target.checked)},style:{height:n.Space.sp6}})," ",t.jsxRuntimeExports.jsx($l,{children:t.jsxRuntimeExports.jsxs(Sl,{"data-testid":n.generateDataTestId("name-with-checkbox-row-label-container",o),checked:i,isSubclass:l.classId.length>1,children:[t.jsxRuntimeExports.jsx("label",{"data-testid":n.generateDataTestId("name-with-checkbox-row-label",l.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{h?.(s,!i)},children:l.className}),u===!0&&x===!0&&l.accountingClassNumber!=null&&t.jsxRuntimeExports.jsx(yl,{children:l.accountingClassNumber})]})})]})})}const vl=(e,o,s,i,r,c,l,d,x,p,h)=>{if(s.element.kind!="checkbox_and_name_only")return null;const u=s.element.data,m=s.config.isClassToBeFilteredOut?.(u.classId)===!1;return t.jsxRuntimeExports.jsx(bl,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,classId:u.classId,isChecked:m,isDisabled:!1,height:i,isScrolling:l,nestedClass:u,isOpen:d,isLeaf:x,isLastNode:p,showClassAccountNumber:s.config.showClassAccountNumber,onToggleCheck:h})},E={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceWidth:"166px",balanceLeftMargin:n.Space.sp4,balanceLeftMarginInPx:n.sp[4],titleWidth:new n.ResponsiveSized(200,270,270),categoryClassWidth:new n.ResponsiveSized(230,230,240),nameLogoWidth:new n.ResponsiveSized(n.sp[4],n.sp[4]),nameLogoHeight:new n.ResponsiveSized(n.sp[4],n.sp[4])};function _l(e){switch(e){case"timeframe_headers":return n.sp[11];case"vendor_row":return n.sp[6];case"total":return n.sp[8];case"loading_in_progress":return n.sp[6];case"spacer_row":return n.sp[8];case"title_string_only":return n.sp[8];default:return 0}}function El(e,o){return!1}const kl=a.div`
|
|
1771
|
+
user-select: none;
|
|
1772
|
+
display: flex;
|
|
1773
|
+
flex: 1 1 auto;
|
|
1774
|
+
width: fit-content;
|
|
1775
|
+
min-width: 100%;
|
|
1776
|
+
height: ${e=>e.height}px;
|
|
1777
|
+
flex-flow: row;
|
|
1778
|
+
justify-content: flex-start;
|
|
1779
|
+
align-items: center;
|
|
1780
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1781
|
+
`,Bl=a.div`
|
|
1782
|
+
user-select: none;
|
|
1783
|
+
display: flex;
|
|
1784
|
+
flex: 1 1 auto;
|
|
1785
|
+
width: 100vw;
|
|
1786
|
+
min-width: 100%;
|
|
1787
|
+
height: ${e=>e.height}px;
|
|
1788
|
+
flex-flow: row;
|
|
1789
|
+
align-items: center;
|
|
1790
|
+
justify-content: center;
|
|
1791
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1792
|
+
`,Tl=a.div`
|
|
1793
|
+
display: flex;
|
|
1794
|
+
flex: 1 0 auto;
|
|
1795
|
+
flex-direction: row;
|
|
1796
|
+
justify-content: flex-end;
|
|
1797
|
+
`,Dt=a(n.StandardRegular)`
|
|
1798
|
+
color: ${e=>e.theme.colors.hero};
|
|
1799
|
+
flex-grow: 1;
|
|
1800
|
+
-webkit-box-orient: vertical;
|
|
1801
|
+
justify-content: ${e=>e.isClubbed===!0?"unset":"flex-end"};
|
|
1802
|
+
display: flex;
|
|
1803
|
+
min-width: ${E.balanceWidth};
|
|
1804
|
+
max-width: ${E.balanceWidth};
|
|
1805
|
+
margin-left: ${e=>e.isClubbed===!0?n.Space.sp2:E.balanceLeftMargin};
|
|
1806
|
+
border: 1px solid transparent;
|
|
1807
|
+
`,qt=a(n.StandardRegular)`
|
|
1808
|
+
color: ${e=>e.theme.colors.hero};
|
|
1809
|
+
flex-grow: 1;
|
|
1810
|
+
-webkit-box-orient: vertical;
|
|
1811
|
+
justify-content: "unset";
|
|
1812
|
+
display: flex;
|
|
1813
|
+
min-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
1814
|
+
`,Il=a.div`
|
|
1815
|
+
height: 100%;
|
|
1816
|
+
display: flex;
|
|
1817
|
+
flex-direction: row;
|
|
1818
|
+
align-items: center;
|
|
1819
|
+
min-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
1820
|
+
color: ${e=>e.theme.colors.primary};
|
|
1821
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1822
|
+
${({isSticky:e})=>e?B.css`
|
|
1823
|
+
position: -webkit-sticky;
|
|
1824
|
+
position: sticky;
|
|
1825
|
+
top: ${n.Space.sp0};
|
|
1826
|
+
left: ${n.Space.sp0};
|
|
1827
|
+
z-index: 20;
|
|
1828
|
+
`:null}
|
|
1829
|
+
`;function Al({backgroundColor:e,isSticky:o,height:s,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:c}){const l=n.useWindowSizeContext();return c.length>0?t.jsxRuntimeExports.jsxs(kl,{height:s,bgColor:e,"data-testid":n.generateDataTestId("opex-vendor-loading-in-progress-row"),children:[t.jsxRuntimeExports.jsxs(Il,{"data-testid":n.generateDataTestId("opex-vendor-loading-in-progress-row-name"),isSticky:o,windowSize:l,bgColor:e,children:[t.jsxRuntimeExports.jsx(n.CircularContentLoader,{width:n.sp[4],height:n.sp[4]}),t.jsxRuntimeExports.jsx(Dt,{windowSize:l,isClubbed:!0,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:120,height:n.sp[4]})})]}),t.jsxRuntimeExports.jsxs(Tl,{children:[i?t.jsxRuntimeExports.jsx(qt,{windowSize:l,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:120,height:n.sp[4]})}):null,r?t.jsxRuntimeExports.jsx(qt,{windowSize:l,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:120,height:n.sp[4]})}):null,c.map((d,x)=>t.jsxRuntimeExports.jsx(Dt,{windowSize:l,children:t.jsxRuntimeExports.jsx(n.RectangularContentLoader,{width:120,height:n.sp[4]})},`${x}RowItem`))]})]}):t.jsxRuntimeExports.jsx(Bl,{height:s,bgColor:e,children:t.jsxRuntimeExports.jsx(n.ActivityIndicator,{size:"Small",start:!0})})}const Wl=a.div`
|
|
1830
|
+
user-select: none;
|
|
1831
|
+
display: flex;
|
|
1832
|
+
flex: 1 1 auto;
|
|
1833
|
+
width: fit-content;
|
|
1834
|
+
min-width: 100%;
|
|
1835
|
+
height: ${e=>e.height}px;
|
|
1836
|
+
flex-flow: row;
|
|
1837
|
+
justify-content: flex-start;
|
|
1838
|
+
align-items: center;
|
|
1839
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1840
|
+
`,Ye=a.div``,Ll=a.div`
|
|
1841
|
+
display: flex;
|
|
1842
|
+
flex: 1 0 auto;
|
|
1843
|
+
flex-direction: row;
|
|
1844
|
+
justify-content: flex-end;
|
|
1845
|
+
`,zl=a(n.StandardRegular)`
|
|
1846
|
+
user-select: none;
|
|
1847
|
+
clear: both;
|
|
1848
|
+
display: inline-block;
|
|
1849
|
+
overflow: hidden;
|
|
1850
|
+
white-space: nowrap;
|
|
1851
|
+
text-overflow: ellipsis;
|
|
1852
|
+
text-align: left;
|
|
1853
|
+
margin-left: ${n.Space.sp2};
|
|
1854
|
+
color: ${e=>e.theme.colors.hero};
|
|
1855
|
+
`,Pl=a(n.StandardRegular)`
|
|
1856
|
+
color: ${e=>e.theme.colors.hero};
|
|
1857
|
+
flex-grow: 1;
|
|
1858
|
+
-webkit-box-orient: vertical;
|
|
1859
|
+
display: flex;
|
|
1860
|
+
min-width: ${E.balanceWidth};
|
|
1861
|
+
max-width: ${E.balanceWidth};
|
|
1862
|
+
border: 1px solid transparent;
|
|
1863
|
+
`,Yt=a(n.StandardRegular)`
|
|
1864
|
+
color: ${e=>e.theme.colors.hero};
|
|
1865
|
+
flex-grow: 1;
|
|
1866
|
+
-webkit-box-orient: vertical;
|
|
1867
|
+
justify-content: "unset";
|
|
1868
|
+
display: flex;
|
|
1869
|
+
min-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
1870
|
+
`,Vl=a.div`
|
|
1871
|
+
height: 100%;
|
|
1872
|
+
display: flex;
|
|
1873
|
+
flex-direction: row;
|
|
1874
|
+
align-items: center;
|
|
1875
|
+
min-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
1876
|
+
color: ${e=>e.theme.colors.primary};
|
|
1877
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1878
|
+
${({isSticky:e})=>e?B.css`
|
|
1879
|
+
position: -webkit-sticky;
|
|
1880
|
+
position: sticky;
|
|
1881
|
+
top: ${n.Space.sp0};
|
|
1882
|
+
left: ${n.Space.sp0};
|
|
1883
|
+
z-index: 20;
|
|
1884
|
+
`:null}
|
|
1885
|
+
`;function Nl({backgroundColor:e,isSticky:o,height:s,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:c}){const l=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Wl,{height:s,bgColor:e,"data-testid":n.generateDataTestId("no-results-found-title-row"),children:[t.jsxRuntimeExports.jsx(Vl,{isSticky:o,windowSize:l,bgColor:e,children:t.jsxRuntimeExports.jsx(zl,{children:n.appLocale.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxRuntimeExports.jsxs(Ll,{children:[i?t.jsxRuntimeExports.jsx(Yt,{windowSize:l,children:t.jsxRuntimeExports.jsx(Ye,{})}):null,r?t.jsxRuntimeExports.jsx(Yt,{windowSize:l,children:t.jsxRuntimeExports.jsx(Ye,{})}):null,c.map((d,x)=>t.jsxRuntimeExports.jsx(Pl,{windowSize:l,children:t.jsxRuntimeExports.jsx(Ye,{children:" "})},`${x}RowItem`))]})]})}a.div`
|
|
1886
|
+
user-select: none;
|
|
1887
|
+
display: flex;
|
|
1888
|
+
flex: 1 1 auto;
|
|
1889
|
+
width: fit-content;
|
|
1890
|
+
min-width: 100%;
|
|
1891
|
+
height: ${e=>e.heightValue}px;
|
|
1892
|
+
flex-flow: row;
|
|
1893
|
+
justify-content: flex-start;
|
|
1894
|
+
align-items: center;
|
|
1895
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1896
|
+
`;a.div`
|
|
1897
|
+
display: flex;
|
|
1898
|
+
flex: 1 0 auto;
|
|
1899
|
+
flex-direction: row;
|
|
1900
|
+
justify-content: flex-end;
|
|
1901
|
+
`;a.div`
|
|
1902
|
+
height: 100%;
|
|
1903
|
+
display: flex;
|
|
1904
|
+
flex-direction: row;
|
|
1905
|
+
align-items: center;
|
|
1906
|
+
min-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
1907
|
+
color: ${e=>e.theme.colors.primary};
|
|
1908
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1909
|
+
${({isSticky:e})=>e?B.css`
|
|
1910
|
+
position: -webkit-sticky;
|
|
1911
|
+
position: sticky;
|
|
1912
|
+
top: ${n.Space.sp0};
|
|
1913
|
+
left: ${n.Space.sp0};
|
|
1914
|
+
z-index: 20;
|
|
1915
|
+
`:null}
|
|
1916
|
+
`;function Rt({title:e,selectedMode:o,onCompareModeChanged:s,backgroundColor:i,optionBackgroundColor:r,selectedOptionBackgroundColor:c,optionTextStyle:l,titleTextStyle:d,titleTextAlignment:x,titleColor:p,menuPosition:h}){const u=["compare_mode_percent","compare_mode_amount"],m=g=>n.appLocale.getLocalizedStrings().compareMode[g];return t.jsxRuntimeExports.jsx(n.Picker$1,{title:e,pickerValues:u,valueToLabel:m,selectedValue:o,onPickerSelectionChanged:g=>s(g),optionTextStyle:l,titleTextStyle:d,titleTextAlignment:x,titleColor:p,optionBackgroundColor:r,selectedOptionBackgroundColor:c,backgroundColor:i??"inherit",menuPosition:h})}const at={balanceHeight:n.Space.sp4,balanceHeightInPx:n.sp[4],balanceWidthInPx:170,balanceLeftMargin:n.Space.sp4,balanceLeftMarginInPx:n.sp[4]},Ml=a.div`
|
|
1917
|
+
margin-left: ${n.Space.sp4};
|
|
1918
|
+
`,Gl=a.div`
|
|
1919
|
+
display: flex;
|
|
1920
|
+
max-height: 54px;
|
|
1921
|
+
min-height: 54px;
|
|
1922
|
+
align-items: center;
|
|
1923
|
+
justify-content: center;
|
|
1924
|
+
max-width: ${at.balanceWidthInPx-2}px;
|
|
1925
|
+
min-width: ${at.balanceWidthInPx-2}px;
|
|
1926
|
+
background-color: ${e=>e.theme.colors.background};
|
|
1927
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
1928
|
+
border-radius: ${n.Space.sp2};
|
|
1929
|
+
color: ${e=>e.theme.colors.primary};
|
|
1930
|
+
`,Hl=a(n.StandardRegular)`
|
|
1931
|
+
display: flex;
|
|
1932
|
+
user-select: none;
|
|
1933
|
+
flex-direction: row;
|
|
1934
|
+
justify-content: center;
|
|
1935
|
+
align-items: center;
|
|
1936
|
+
height: ${at.balanceHeight};
|
|
1937
|
+
`,Ol=a.div`
|
|
1938
|
+
display: flex;
|
|
1939
|
+
flex-direction: row;
|
|
1940
|
+
justify-content: center;
|
|
1941
|
+
align-items: center;
|
|
1942
|
+
padding: 3px 6px;
|
|
1943
|
+
margin-right: ${n.Space.sp2};
|
|
1944
|
+
position: relative;
|
|
1945
|
+
top: -12px;
|
|
1946
|
+
`,Fl=a(n.SuperSmallSemiBoldSp)`
|
|
1947
|
+
color: ${e=>e.tagType==="under_review"?n.Colors.neutralGrey5Light:e.theme.mode==="light"?n.Colors.primaryDark:n.Colors.primaryLight};
|
|
1948
|
+
border-radius: ${n.Space.sp2};
|
|
1949
|
+
padding: 3px 6px;
|
|
1950
|
+
margin-left: 12px;
|
|
1951
|
+
background: ${e=>e.tagType==="under_review"?n.Colors.alertDark:e.theme.mode==="light"?n.Colors.championLight:n.Colors.championDark};
|
|
1952
|
+
`,Zl=a(n.SvgInfo)`
|
|
1953
|
+
color: ${e=>e.theme.colors.hero};
|
|
1954
|
+
margin-left: 5px;
|
|
1955
|
+
height: ${n.Space.sp3};
|
|
1956
|
+
width: ${n.Space.sp3};
|
|
1957
|
+
margin-top: ${n.Space.sp1};
|
|
1958
|
+
`;function Yn({firstMonthOfFY:e,timeframeTick:o,timeframe:s,tagName:i,infoContent:r,tagType:c}){return t.jsxRuntimeExports.jsxs(Ml,{children:[t.jsxRuntimeExports.jsxs(Gl,{children:[t.jsxRuntimeExports.jsx(Hl,{children:le(e,o,s)}),t.jsxRuntimeExports.jsx(n.Tooltip,{style:{padding:n.Space.sp3},title:r,placement:"top",children:t.jsxRuntimeExports.jsx(Zl,{})})]}),t.jsxRuntimeExports.jsx(Ol,{children:t.jsxRuntimeExports.jsx(Fl,{tagType:c,children:i})})]})}const Xn=(e,o)=>{const s=n.appLocale.getLocalizedStrings().reports;switch(o){case"month":return e!=null?e==="under_review"?s.bookCloseUnderReviewInfoMonth:s.bookCloseIncompleteInfoMonth:void 0;case"quarter":return e!=null?e==="under_review"?s.bookCloseUnderReviewInfoQuarter:s.bookCloseIncompleteInfoQuarter:void 0;case"year":return e!=null?e==="under_review"?s.bookCloseUnderReviewInfoYear:s.bookCloseIncompleteInfoYear:void 0;default:return}},Ul=a.div`
|
|
1959
|
+
user-select: none;
|
|
1960
|
+
display: flex;
|
|
1961
|
+
flex: 1 1 auto;
|
|
1962
|
+
width: fit-content;
|
|
1963
|
+
min-width: 100%;
|
|
1964
|
+
height: ${e=>e.height}px;
|
|
1965
|
+
flex-flow: row;
|
|
1966
|
+
justify-content: flex-start;
|
|
1967
|
+
align-items: center;
|
|
1968
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
1969
|
+
`,Dl=a.div`
|
|
1970
|
+
display: flex;
|
|
1971
|
+
flex: 1 0 auto;
|
|
1972
|
+
flex-direction: row;
|
|
1973
|
+
justify-content: flex-end;
|
|
1974
|
+
`,Jn=a.div`
|
|
1975
|
+
display: flex;
|
|
1976
|
+
max-height: ${n.Space.sp8};
|
|
1977
|
+
min-height: ${n.Space.sp8};
|
|
1978
|
+
min-width: ${E.balanceWidth};
|
|
1979
|
+
justify-content: center;
|
|
1980
|
+
align-items: center;
|
|
1981
|
+
background-color: ${e=>e.theme.colors.background};
|
|
1982
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
1983
|
+
border-radius: ${n.Space.sp2};
|
|
1984
|
+
margin-left: ${E.balanceLeftMargin};
|
|
1985
|
+
color: ${e=>e.theme.colors.primary};
|
|
1986
|
+
cursor: ${e=>e.isClickable===!0?"pointer":"default"};
|
|
1987
|
+
`,Qn=a(n.StandardRegular)`
|
|
1988
|
+
display: flex;
|
|
1989
|
+
user-select: none;
|
|
1990
|
+
flex-direction: row;
|
|
1991
|
+
justify-content: center;
|
|
1992
|
+
align-items: center;
|
|
1993
|
+
height: ${E.balanceHeight};
|
|
1994
|
+
max-width: ${E.balanceWidth};
|
|
1995
|
+
width: 138px;
|
|
1996
|
+
text-align: center;
|
|
1997
|
+
`,ql=a.div`
|
|
1998
|
+
display: flex;
|
|
1999
|
+
flex-direction: row;
|
|
2000
|
+
z-index: 1;
|
|
2001
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2002
|
+
${({isSticky:e})=>e?B.css`
|
|
2003
|
+
position: -webkit-sticky;
|
|
2004
|
+
position: sticky;
|
|
2005
|
+
top: ${n.Space.sp0};
|
|
2006
|
+
left: ${n.Space.sp0};
|
|
2007
|
+
z-index: 1;
|
|
2008
|
+
`:null}
|
|
2009
|
+
`,Yl=a.div`
|
|
2010
|
+
max-height: ${e=>e.plHeight}px;
|
|
2011
|
+
min-height: ${e=>e.plHeight}px;
|
|
2012
|
+
display: flex;
|
|
2013
|
+
flex-direction: row;
|
|
2014
|
+
align-items: center;
|
|
2015
|
+
min-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
2016
|
+
color: ${e=>e.theme.colors.primary};
|
|
2017
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2018
|
+
`,Xl=a(n.StandardRegular)`
|
|
2019
|
+
display: flex;
|
|
2020
|
+
gap: 6px;
|
|
2021
|
+
align-items: baseline;
|
|
2022
|
+
color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.grey1};
|
|
2023
|
+
`,Kn=a(n.StandardRegular)`
|
|
2024
|
+
height: 100%;
|
|
2025
|
+
align-self: center;
|
|
2026
|
+
align-items: baseline;
|
|
2027
|
+
min-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2028
|
+
color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.grey1};
|
|
2029
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2030
|
+
display: flex;
|
|
2031
|
+
gap: 6px;
|
|
2032
|
+
align-items: center;
|
|
2033
|
+
`,$t=a.div`
|
|
2034
|
+
display: flex;
|
|
2035
|
+
cursor: pointer;
|
|
2036
|
+
`,Jl=a.div`
|
|
2037
|
+
display: flex;
|
|
2038
|
+
justify-content: center;
|
|
2039
|
+
align-items: center;
|
|
2040
|
+
color: ${e=>e.theme.colors.champion};
|
|
2041
|
+
`,Ql=a.div``,Kl=a(n.StandardRegular)`
|
|
2042
|
+
display: flex;
|
|
2043
|
+
justify-content: center;
|
|
2044
|
+
align-items: center;
|
|
2045
|
+
max-height: ${n.Space.sp8};
|
|
2046
|
+
min-height: ${n.Space.sp8};
|
|
2047
|
+
background-color: ${e=>e.theme.colors.background};
|
|
2048
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
2049
|
+
border-radius: ${n.Space.sp2};
|
|
2050
|
+
margin-left: ${E.balanceLeftMargin};
|
|
2051
|
+
color: ${e=>e.theme.colors.primary};
|
|
2052
|
+
width: ${E.balanceWidth};
|
|
2053
|
+
min-width: ${E.balanceWidth};
|
|
2054
|
+
`,eo=a.div`
|
|
2055
|
+
max-height: ${n.Space.sp8};
|
|
2056
|
+
min-height: ${n.Space.sp8};
|
|
2057
|
+
`,Pe=a.div`
|
|
2058
|
+
color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.hero};
|
|
2059
|
+
`,Ve=a(n.SvgArrowTailBottom)`
|
|
2060
|
+
width: 12px;
|
|
2061
|
+
height: 12px;
|
|
2062
|
+
margin-left: ${n.Space.sp2};
|
|
2063
|
+
margin-top: ${n.Space.sp1};
|
|
2064
|
+
`,Ne=a(n.SvgArrowTailTop)`
|
|
2065
|
+
width: 12px;
|
|
2066
|
+
height: 12px;
|
|
2067
|
+
margin-left: ${n.Space.sp2};
|
|
2068
|
+
margin-top: ${n.Space.sp1};
|
|
2069
|
+
`,St=a(n.SvgCloseRound)`
|
|
2070
|
+
width: 12px;
|
|
2071
|
+
height: 12px;
|
|
2072
|
+
cursor: pointer;
|
|
2073
|
+
color: ${e=>e.theme.colors.hero};
|
|
2074
|
+
`,to=({sortOrder:e,sortKey:o,onSortOrderChanged:s})=>{const i=()=>{s(Me("totals",e,o),"totals")},r=o==="totals"?e:"ascending";return t.jsxRuntimeExports.jsx(eo,{"data-testid":n.generateDataTestId("period-total-tick"),children:t.jsxRuntimeExports.jsx(Jn,{"data-testid":n.generateDataTestId("period-total-tick-element"),onClick:i,isClickable:!0,children:t.jsxRuntimeExports.jsxs(Qn,{children:[n.appLocale.getLocalizedStrings().vendors.opExByVendor.periodTotal,t.jsxRuntimeExports.jsx(Pe,{selectedForSort:o==="totals",children:r==="ascending"?t.jsxRuntimeExports.jsx(Ne,{}):t.jsxRuntimeExports.jsx(Ve,{})})]})})})},ed=({sortKey:e="totals",sortOrder:o="ascending",onSortOrderChanged:s,onSortCancel:i})=>{const r=()=>{s(Me("vendor",o,e),"vendor")},c=e==="vendor"?o:"ascending";return t.jsxRuntimeExports.jsxs(Xl,{selectedForSort:e==="vendor",children:[t.jsxRuntimeExports.jsxs($t,{onClick:r,children:[n.appLocale.getLocalizedStrings().vendors.opExByVendor.vendor,t.jsxRuntimeExports.jsx(Pe,{selectedForSort:e==="vendor",children:c==="ascending"?t.jsxRuntimeExports.jsx(Ne,{}):t.jsxRuntimeExports.jsx(Ve,{})})]}),e==="vendor"?t.jsxRuntimeExports.jsx(St,{onClick:i}):null]})},td=({sortKey:e="totals",sortOrder:o="ascending",onSortOrderChanged:s,onSortCancel:i})=>{const r=()=>{s(Me("account",o,e),"account")},c=e==="account"?o:"ascending",l=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Kn,{selectedForSort:e==="account",windowSize:l,children:[t.jsxRuntimeExports.jsxs($t,{onClick:r,children:[n.appLocale.getLocalizedStrings().vendors.opExByVendor.category,t.jsxRuntimeExports.jsx(Pe,{selectedForSort:e==="account",children:c==="ascending"?t.jsxRuntimeExports.jsx(Ne,{}):t.jsxRuntimeExports.jsx(Ve,{})})]}),e==="account"?t.jsxRuntimeExports.jsx(St,{onClick:i}):null]})},nd=({sortKey:e="totals",sortOrder:o="ascending",onSortOrderChanged:s,onSortCancel:i})=>{const r=()=>{s(Me("class",o,e),"class")},c=e==="class"?o:"ascending",l=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(Kn,{selectedForSort:e==="class",windowSize:l,children:[t.jsxRuntimeExports.jsxs($t,{onClick:r,children:[n.appLocale.getLocalizedStrings().vendors.opExByVendor.class,t.jsxRuntimeExports.jsx(Pe,{selectedForSort:e==="class",children:c==="ascending"?t.jsxRuntimeExports.jsx(Ne,{}):t.jsxRuntimeExports.jsx(Ve,{})})]}),e==="class"?t.jsxRuntimeExports.jsx(St,{onClick:i}):null]})},no=({firstMonthOfFY:e,timeframeTick:o,timeframe:s,dataAvailable:i,bookCloseDate:r})=>{const c=n.appLocale.getLocalizedStrings().reports,l=r!=null&&i!=null&&(o.balanceType==="default"||o.balanceType==="default_with_percent")?b.getTimeframeTickTag(s,e,o,r,i):void 0,d=l!=null?l==="under_review"?c.bookCloseTagUnderReview:c.bookCloseTagInProgress:void 0,x=Xn(l,s);return t.jsxRuntimeExports.jsx(eo,{children:r!=null&&i!=null&&l!=null&&d!=null&&x!=null?t.jsxRuntimeExports.jsx(Yn,{firstMonthOfFY:e,timeframeTick:o,timeframe:s,tagName:d,infoContent:x,tagType:l}):t.jsxRuntimeExports.jsx(Jn,{isClickable:!1,children:t.jsxRuntimeExports.jsx(Qn,{children:le(e,o,s)})})})},od=({firstMonthOfFY:e,timeframeTick:o,timeframe:s,sortKey:i="totals",sortOrder:r="ascending",dataAvailable:c,bookCloseDate:l,onSortOrderChanged:d})=>o.balanceType==="period_total"?t.jsxRuntimeExports.jsx(to,{sortKey:i,sortOrder:r,onSortOrderChanged:d}):t.jsxRuntimeExports.jsx(no,{firstMonthOfFY:e,timeframeTick:o,timeframe:s,dataAvailable:c,bookCloseDate:l}),sd=({firstMonthOfFY:e,timeframeTicks:o,timeframe:s,compareMode:i,sortKey:r="totals",sortOrder:c="ascending",dataAvailable:l,bookCloseDate:d,onCompareModeChanged:x,onSortOrderChanged:p})=>{const h=t.useTheme(),u=i==="compare_mode_amount"?`${n.appLocale.getLocalizedStrings().compareMode.changePrefix} ${o[0].currencySymbol}`:n.appLocale.getLocalizedStrings().compareMode.changePercent;return t.jsxRuntimeExports.jsx(Jl,{children:o.map((m,g)=>t.jsxRuntimeExports.jsxs(k.Fragment,{children:[m.balanceType==="this_period_vs_last_period"||m.balanceType==="this_period_vs_last_period_percent"?t.jsxRuntimeExports.jsx(Kl,{children:t.jsxRuntimeExports.jsx(Rt,{title:u,titleTextStyle:n.textStyles.standardRegular,titleTextAlignment:"flex-end",titleColor:h.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:j=>{j!=="off"&&(j==="compare_mode_amount"||j==="compare_mode_percent"?x?.(j):console.warn("Invalid compare mode option"))}})}):null,m.balanceType==="period_total"?t.jsxRuntimeExports.jsx(to,{sortKey:r,sortOrder:c,onSortOrderChanged:p}):null,m.balanceType==="default"?t.jsxRuntimeExports.jsx(Ql,{children:t.jsxRuntimeExports.jsx(no,{firstMonthOfFY:e,timeframeTick:m,timeframe:s,dataAvailable:l,bookCloseDate:d},g)}):null]},g))})};function id({backgroundColor:e,isSticky:o,height:s,isCompareModeOn:i,isAccountColumnShown:r,isClassColumnShown:c,sortKey:l,sortOrder:d,firstMonthOfFY:x,timeframe:p,timeframeTicks:h,compareMode:u,dataAvailable:m,bookCloseDate:g,onCompareModeChanged:j,onSortOrderChanged:f}){const y=n.useWindowSizeContext(),S=(C,_)=>{f?.(C,_)},v=()=>{f?.("descending","totals")};return t.jsxRuntimeExports.jsxs(Ul,{height:s,bgColor:e,children:[t.jsxRuntimeExports.jsx(ql,{bgColor:e,windowSize:y,isSticky:o,children:t.jsxRuntimeExports.jsx(Yl,{plHeight:s,windowSize:y,bgColor:e,children:t.jsxRuntimeExports.jsx(ed,{sortKey:l,sortOrder:d,onSortOrderChanged:S,onSortCancel:v})})}),r?t.jsxRuntimeExports.jsx(td,{sortKey:l,sortOrder:d,onSortOrderChanged:S,onSortCancel:v}):null,c?t.jsxRuntimeExports.jsx(nd,{sortKey:l,sortOrder:d,onSortOrderChanged:S,onSortCancel:v}):null,t.jsxRuntimeExports.jsx(Dl,{children:i===!0?t.jsxRuntimeExports.jsx(sd,{firstMonthOfFY:x,timeframe:p,sortKey:l,sortOrder:d,timeframeTicks:h,compareMode:u,dataAvailable:m,bookCloseDate:g,onCompareModeChanged:j,onSortOrderChanged:S}):h.map((C,_)=>t.jsxRuntimeExports.jsx(od,{firstMonthOfFY:x,timeframeTick:C,timeframe:p,sortKey:l,sortOrder:d,dataAvailable:m,bookCloseDate:g,onSortOrderChanged:S},_))})]})}const Me=(e,o,s)=>e===s?o==="ascending"?"descending":"ascending":"descending",rd=a.div`
|
|
2075
|
+
display: flex;
|
|
2076
|
+
flex: 1 1 auto;
|
|
2077
|
+
max-height: 1px;
|
|
2078
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
|
|
2079
|
+
`,ad=a.div`
|
|
2080
|
+
display: flex;
|
|
2081
|
+
flex: 1 1 auto;
|
|
2082
|
+
max-height: 1px;
|
|
2083
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
2084
|
+
`;function ct({kind:e,isScrolling:o}){switch(e){case"vendor_row_separator":return t.jsxRuntimeExports.jsx(rd,{isScrolling:o});case"end_row_separator":return t.jsxRuntimeExports.jsx(ad,{isScrolling:o})}}const cd=a.div`
|
|
2085
|
+
display: flex;
|
|
2086
|
+
flex: 1 1 auto;
|
|
2087
|
+
width: fit-content;
|
|
2088
|
+
min-width: 100%;
|
|
2089
|
+
flex-direction: column;
|
|
2090
|
+
height: ${e=>e.height}px;
|
|
2091
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2092
|
+
`,ld=a.div`
|
|
2093
|
+
user-select: none;
|
|
2094
|
+
display: flex;
|
|
2095
|
+
flex: 1 1 auto;
|
|
2096
|
+
flex-flow: row;
|
|
2097
|
+
justify-content: flex-start;
|
|
2098
|
+
align-items: center;
|
|
2099
|
+
cursor: default;
|
|
2100
|
+
`,dd=a.div`
|
|
2101
|
+
display: flex;
|
|
2102
|
+
flex: 1 0 auto;
|
|
2103
|
+
flex-direction: row;
|
|
2104
|
+
justify-content: flex-end;
|
|
2105
|
+
`,xd=a.div`
|
|
2106
|
+
display: flex;
|
|
2107
|
+
flex-direction: row;
|
|
2108
|
+
justify-content: flex-start;
|
|
2109
|
+
`,oo=a(n.StandardMedium)`
|
|
2110
|
+
user-select: none;
|
|
2111
|
+
min-width: ${E.balanceWidth};
|
|
2112
|
+
max-width: ${E.balanceWidth};
|
|
2113
|
+
text-align: right;
|
|
2114
|
+
margin-left: ${E.balanceLeftMargin};
|
|
2115
|
+
color: ${e=>e.theme.colors.primary};
|
|
2116
|
+
border: 1px solid transparent;
|
|
2117
|
+
`,ud=a(oo)`
|
|
2118
|
+
color: ${e=>e.theme.colors.hero};
|
|
2119
|
+
&:hover {
|
|
2120
|
+
color: inherit;
|
|
2121
|
+
}
|
|
2122
|
+
`,pd=a.div`
|
|
2123
|
+
display: flex;
|
|
2124
|
+
flex-direction: row;
|
|
2125
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2126
|
+
${({isSticky:e})=>e?B.css`
|
|
2127
|
+
position: -webkit-sticky;
|
|
2128
|
+
position: sticky;
|
|
2129
|
+
top: ${n.Space.sp0};
|
|
2130
|
+
left: ${n.Space.sp0};
|
|
2131
|
+
`:null}
|
|
2132
|
+
`,hd=a.div`
|
|
2133
|
+
display: flex;
|
|
2134
|
+
flex-direction: row;
|
|
2135
|
+
flex-shrink: 2;
|
|
2136
|
+
flex-grow: 1;
|
|
2137
|
+
align-items: center;
|
|
2138
|
+
width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
2139
|
+
max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
2140
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2141
|
+
`,Xt=a.div`
|
|
2142
|
+
width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2143
|
+
max-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2144
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2145
|
+
`,md=a(n.StandardMedium)`
|
|
2146
|
+
user-select: none;
|
|
2147
|
+
clear: both;
|
|
2148
|
+
display: inline-block;
|
|
2149
|
+
overflow: hidden;
|
|
2150
|
+
white-space: nowrap;
|
|
2151
|
+
text-overflow: ellipsis;
|
|
2152
|
+
text-align: left;
|
|
2153
|
+
color: ${e=>e.theme.colors.primary};
|
|
2154
|
+
`,gd=({type:e,balance:o,collapsed:s})=>{const i=s===!0?ud:oo;return t.jsxRuntimeExports.jsx(xd,{children:q(e)===!0?t.jsxRuntimeExports.jsx(i,{children:M(o)}):null})};function fd({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,title:c,totalBalances:l,isAccountColumnShown:d,isClassColumnShown:x,onClick:p,isScrolling:h}){const u=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(cd,{"data-testid":n.generateDataTestId("total-row-root-container",i),height:r,bgColor:o,windowSize:u,children:[t.jsxRuntimeExports.jsxs(ld,{"data-testid":n.generateDataTestId("total-row-container",i),onClick:()=>p?.(i),children:[t.jsxRuntimeExports.jsxs(pd,{bgColor:o,windowSize:u,isSticky:s,children:[t.jsxRuntimeExports.jsx(hd,{bgColor:o,windowSize:u,children:t.jsxRuntimeExports.jsx(md,{children:c})}),d?t.jsxRuntimeExports.jsx(Xt,{windowSize:u}):null,x?t.jsxRuntimeExports.jsx(Xt,{windowSize:u}):null]}),t.jsxRuntimeExports.jsx(dd,{children:l.map((m,g)=>t.jsxRuntimeExports.jsx(gd,{type:e,balance:m,collapsed:!1},g))})]}),t.jsxRuntimeExports.jsx(ct,{isScrolling:h,kind:"vendor_row_separator"})]})}const jd=a.div`
|
|
2155
|
+
display: flex;
|
|
2156
|
+
flex: 1 1 auto;
|
|
2157
|
+
width: fit-content;
|
|
2158
|
+
min-width: 100%;
|
|
2159
|
+
flex-direction: column;
|
|
2160
|
+
height: ${e=>e.height}px;
|
|
2161
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2162
|
+
`,wd=a.div`
|
|
2163
|
+
user-select: none;
|
|
2164
|
+
display: flex;
|
|
2165
|
+
flex: 1 1 auto;
|
|
2166
|
+
flex-flow: row;
|
|
2167
|
+
justify-content: flex-start;
|
|
2168
|
+
align-items: center;
|
|
2169
|
+
&:hover {
|
|
2170
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2171
|
+
}
|
|
2172
|
+
`,Rd=a.div`
|
|
2173
|
+
display: flex;
|
|
2174
|
+
flex: 1 0 auto;
|
|
2175
|
+
flex-direction: row;
|
|
2176
|
+
justify-content: flex-end;
|
|
2177
|
+
`,$d=a.div`
|
|
2178
|
+
display: flex;
|
|
2179
|
+
flex-direction: row;
|
|
2180
|
+
justify-content: flex-start;
|
|
2181
|
+
`,Sd=a(n.StandardRegular)`
|
|
2182
|
+
user-select: none;
|
|
2183
|
+
min-width: ${E.balanceWidth};
|
|
2184
|
+
max-width: ${E.balanceWidth};
|
|
2185
|
+
text-align: right;
|
|
2186
|
+
margin-left: ${E.balanceLeftMargin};
|
|
2187
|
+
border: 1px solid transparent;
|
|
2188
|
+
color: ${e=>e.theme.colors.hero};
|
|
2189
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2190
|
+
&:hover {
|
|
2191
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2192
|
+
}
|
|
2193
|
+
`,yd=a.div`
|
|
2194
|
+
display: flex;
|
|
2195
|
+
flex-direction: row;
|
|
2196
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2197
|
+
${({isSticky:e})=>e?B.css`
|
|
2198
|
+
position: -webkit-sticky;
|
|
2199
|
+
position: sticky;
|
|
2200
|
+
top: ${n.Space.sp0};
|
|
2201
|
+
left: ${n.Space.sp0};
|
|
2202
|
+
`:null}
|
|
2203
|
+
`,Cd=a.div`
|
|
2204
|
+
display: flex;
|
|
2205
|
+
flex-direction: row;
|
|
2206
|
+
flex-shrink: 2;
|
|
2207
|
+
flex-grow: 1;
|
|
2208
|
+
align-items: center;
|
|
2209
|
+
gap: ${n.Space.sp2};
|
|
2210
|
+
width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
2211
|
+
max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
|
|
2212
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2213
|
+
`,ue=a(n.StandardRegular)`
|
|
2214
|
+
user-select: none;
|
|
2215
|
+
clear: both;
|
|
2216
|
+
display: inline-block;
|
|
2217
|
+
overflow: hidden;
|
|
2218
|
+
white-space: nowrap;
|
|
2219
|
+
text-overflow: ellipsis;
|
|
2220
|
+
text-align: left;
|
|
2221
|
+
color: ${e=>e.theme.colors.hero};
|
|
2222
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2223
|
+
&:hover {
|
|
2224
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2225
|
+
}
|
|
2226
|
+
`,bd=a.div`
|
|
2227
|
+
display: flex;
|
|
2228
|
+
flex-direction: row;
|
|
2229
|
+
flex-shrink: 2;
|
|
2230
|
+
flex-grow: 1;
|
|
2231
|
+
align-items: center;
|
|
2232
|
+
width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2233
|
+
max-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2234
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2235
|
+
`,vd=a.div`
|
|
2236
|
+
display: flex;
|
|
2237
|
+
flex-direction: row;
|
|
2238
|
+
flex-shrink: 2;
|
|
2239
|
+
flex-grow: 1;
|
|
2240
|
+
align-items: center;
|
|
2241
|
+
width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2242
|
+
max-width: ${e=>E.categoryClassWidth.valuePx(e.windowSize)};
|
|
2243
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2244
|
+
`,_d=a.div`
|
|
2245
|
+
width: ${n.Space.sp4};
|
|
2246
|
+
height: ${n.Space.sp4};
|
|
2247
|
+
border-radius: 50%;
|
|
2248
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
2249
|
+
display: flex;
|
|
2250
|
+
justify-content: center;
|
|
2251
|
+
align-items: center;
|
|
2252
|
+
color: ${e=>e.theme.colors.hero};
|
|
2253
|
+
`,Ed=a(n.SvgVendors)`
|
|
2254
|
+
width: ${n.Space.sp3};
|
|
2255
|
+
height: ${n.Space.sp3};
|
|
2256
|
+
`,kd=a.div`
|
|
2257
|
+
display: flex;
|
|
2258
|
+
column-gap: ${n.Space.sp2};
|
|
2259
|
+
width: 100%;
|
|
2260
|
+
&:hover {
|
|
2261
|
+
.hyphen-text {
|
|
2262
|
+
display: none;
|
|
2263
|
+
}
|
|
2264
|
+
.not-specified-text {
|
|
2265
|
+
display: block;
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
`,Bd=a(n.StandardRegular)`
|
|
2269
|
+
color: ${e=>e.theme.colors.hero};
|
|
2270
|
+
`,Td=a(n.StandardRegular)`
|
|
2271
|
+
color: ${e=>e.theme.colors.hero};
|
|
2272
|
+
display: none;
|
|
2273
|
+
`,Id=({balance:e,vendor:o,onVendorNameAndBalanceClick:s})=>{const i=e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent",r=e?.type==="period_total",c=e?.type==="default_with_null_balance",l=i!==!0&&r===!1&&c===!1&&!b.isOpexByVendorIDNotSpecifiedVendor(o.id);return t.jsxRuntimeExports.jsx($d,{children:t.jsxRuntimeExports.jsx(Sd,{isClickable:l,onClick:()=>{l===!0&&s(o,e??void 0)},children:M(e)})})};function Ad({type:e,backgroundColor:o,isSticky:s,height:i,isScrolling:r,isLastNode:c,vendor:l,balances:d,accountBase:x,classBase:p,isAccountColumnShown:h,isClassColumnShown:u,onVendorNameAndBalanceClick:m}){const g=n.useWindowSizeContext(),j=n.useGlobalInfoContext(),f=j.loggedInUserRole!=null&&!b.hasInvestorBankerLevelAccess(j.loggedInUserRole),y=b.isOpexByVendorIDNotSpecifiedVendor(l.id),S=f===!0&&l!=null&&!y,v=S?"pointer":"default",C=l.name;return t.jsxRuntimeExports.jsxs(jd,{"data-testid":n.generateDataTestId("vendor-row-root-container",l.id),height:i,bgColor:o,windowSize:g,children:[t.jsxRuntimeExports.jsxs(wd,{"data-testid":n.generateDataTestId("vendor-row-container",l.id),style:{cursor:v},isClickable:S,children:[t.jsxRuntimeExports.jsx(yd,{"data-testid":n.generateDataTestId("vendor-row-sticky-container",l.id),isSticky:s,windowSize:g,bgColor:o,children:t.jsxRuntimeExports.jsxs(Cd,{"data-testid":n.generateDataTestId("vendor-row-name-container",l.id),windowSize:g,bgColor:o,children:[t.jsxRuntimeExports.jsxs(n.ControlledComponent,{controller:!y,children:[l.logo!=null?t.jsxRuntimeExports.jsx(n.EntityLogoAvatar,{photoUrl:l.logo.toString(),styles:{width:E.nameLogoWidth.valuePx(g),height:E.nameLogoHeight.valuePx(g)}}):t.jsxRuntimeExports.jsx(n.EntityAvatar,{name:C,size:n.Space.sp4}),t.jsxRuntimeExports.jsx(ue,{"data-testid":n.generateDataTestId("vendor-row-name",l.id),style:{cursor:v},isClickable:S,onClick:()=>{S===!0&&m(l)},children:C})]}),t.jsxRuntimeExports.jsx(n.ControlledComponent,{controller:y,children:t.jsxRuntimeExports.jsxs(kd,{children:[t.jsxRuntimeExports.jsx(_d,{children:t.jsxRuntimeExports.jsx(Ed,{})}),t.jsxRuntimeExports.jsx(Bd,{className:"hyphen-text",children:n.appLocale.getLocalizedStrings().common.strings.hyphen}),t.jsxRuntimeExports.jsx(Td,{className:"not-specified-text",children:C})]})})]})}),h?t.jsxRuntimeExports.jsx(bd,{windowSize:g,bgColor:o,children:x!=null?t.jsxRuntimeExports.jsx(ue,{"data-testid":n.generateDataTestId("vendor-row-account-name",l.id),title:x.accountName,isClickable:!1,children:x.accountName}):t.jsxRuntimeExports.jsx(ue,{isClickable:!1,"data-testid":n.generateDataTestId("vendor-row-account-name",l.id),children:n.appLocale.getLocalizedStrings().common.strings.hyphen})}):null,u?t.jsxRuntimeExports.jsx(vd,{windowSize:g,bgColor:o,children:p!=null?t.jsxRuntimeExports.jsx(ue,{"data-testid":n.generateDataTestId("vendor-row-class-name",l.id),title:p.className,isClickable:!1,children:p.className}):t.jsxRuntimeExports.jsx(ue,{"data-testid":n.generateDataTestId("vendor-row-class-name",l.id),isClickable:!1,children:n.appLocale.getLocalizedStrings().common.strings.hyphen})}):null,t.jsxRuntimeExports.jsx(Rd,{children:d.map((_,I)=>t.jsxRuntimeExports.jsx(Id,{type:e,balance:_,vendor:l,onVendorNameAndBalanceClick:m},I))})]}),t.jsxRuntimeExports.jsx(Wd,{isScrolling:r,isLastNode:c})]})}function Wd({isScrolling:e,isLastNode:o}){return o?t.jsxRuntimeExports.jsx(ct,{isScrolling:e,kind:"end_row_separator"}):t.jsxRuntimeExports.jsx(ct,{isScrolling:e,kind:"vendor_row_separator"})}const Ld=(e,o,s,i,r,c)=>{if(e.element.kind!=="timeframe_headers")return null;const l=fe(e.element.data,e.config.displayOrder),d=l.length>0?l[0].balanceTimeFrame:"month",x=l.map(p=>b.toTimeframeTick(p));return t.jsxRuntimeExports.jsx(id,{backgroundColor:r,isSticky:s,height:o,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:e.config.mode==="this_period_vs_period_before"&&x.length>1,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:d,timeframeTicks:x,sortKey:e.config.opexByVendorConfig?.sortKey,sortOrder:e.config.opexByVendorConfig?.sortOrder,dataAvailable:e.config.dataAvailable,bookCloseDate:e.config.bookCloseDate,compareMode:i,onCompareModeChanged:c,onSortOrderChanged:e.config.opexByVendorConfig?.onSortOrderChanged})},zd=(e,o,s,i,r,c,l)=>{const d=s.element.data,x=s.config.mode==="this_period_vs_period_before",p=x?s.element.numOfBalances+2:s.element.numOfBalances+1,h=An(d,s.config.displayOrder,p,x);return t.jsxRuntimeExports.jsx(fd,{type:o,backgroundColor:l,isSticky:r,treeNodeId:e,height:i,isScrolling:c,totalBalances:h.balances,title:s.element.title,isAccountColumnShown:s.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:s.config.opexByVendorConfig?.isClassColumnShown??!0})},Pd=(e,o,s,i,r,c,l)=>{if(o.element.kind!="vendor_row"||o.element.data==null)return null;const d=o.element.data,x=o.config.mode==="this_period_vs_period_before",p=An(d,o.config.displayOrder,o.element.numOfBalances,x);return t.jsxRuntimeExports.jsx(Ad,{type:e,backgroundColor:i,isSticky:r,height:s,isScrolling:c,vendor:d.vendor,accountBase:d.account,classBase:d.classBase,isLastNode:l,balances:p.balances,isAccountColumnShown:o.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:o.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:(h,u)=>{o.config.opexByVendorConfig?.onVendorNameAndBalanceClicked(h,u)}})},Vd=(e,o,s,i)=>{if(e.element.kind!=="loading_in_progress")return null;const c=fe(e.element.data,e.config.displayOrder).map(l=>b.toTimeframeTick(l));return t.jsxRuntimeExports.jsx(Al,{backgroundColor:s,isSticky:i,height:o,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:c})},Nd=(e,o,s,i)=>{if(e.element.kind!=="title_string_only")return null;const c=fe(e.element.data,e.config.displayOrder).map(l=>b.toTimeframeTick(l));return t.jsxRuntimeExports.jsx(Nl,{backgroundColor:s,isSticky:i,height:o,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:c})};function Ge(e,o,s){return Md(o,s,e)}const Md=(e,o,s)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.account.balancesInTimeframe,i.compactedAccountsSelector=r=>Jt(r.accounts,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>Jt(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r,i.compactedAccountGroupsSelector=r=>Gd(r,i.acGroupBalanceSelector,s,o),i};function Jt(e,o,s){switch(s){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>Hd((o(i)?.balances??[]).concat(o(i)?.additionalBalances??[]))||so((o(i)?.balances??[]).concat(o(i)?.additionalBalances??[])));case"filter_forecast_nil_balances":return e.filter(i=>Qt(o(i)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(i=>Qt(o(i)?.balances??[]))}}function Gd(e,o,s,i){switch(i){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>so(o(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Od(o(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>Fd(o(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(o(r)?.balances??[]).length>0)}}function so(e){let o=!1;if(e!=null){for(const s of e)if(s.balance.amount!==0){o=!0;break}}return o}function Hd(e){let o=!1;if(e!=null){for(const s of e)if(s.totalBalance!=null&&s.totalBalance.amount!==0){o=!0;break}}return o}function Od(e){let o=!1;if(e!=null){for(const s of e)if(s.forecast!=null&&s.forecast.amount!==0){o=!0;break}}return o}function Fd(e){let o=!1;if(e!=null){for(const s of e)if(s.forecast!=null&&s.forecast.amount!==0||s.balance!=null&&s.balance.amount!==0){o=!0;break}}return o}function Qt(e){let o=!1;if(e!=null){for(const s of e)if(s.totalForecast!=null&&s.totalForecast.amount!==0||s.totalBalance!=null&&s.totalBalance.amount!==0){o=!0;break}}return o}function io(e,o,s=-1,i=!0){const r=s!==-1;let c=[],l=-1;if(e==null||e.balances.length===0)return r===!0&&(c=Zd([],s)),{balances:c,thisPeriodIndex:l};let d=e.balances;return o==="ascending_date"?l=e.balances.length-1:(l=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:l}}function Zd(e,o){return e.length>0?e:t.fill(Array(o),null)}const Ud=a.div`
|
|
2274
|
+
display: flex;
|
|
2275
|
+
flex: 1 1 auto;
|
|
2276
|
+
width: fit-content;
|
|
2277
|
+
min-width: 100%;
|
|
2278
|
+
flex-direction: column;
|
|
2279
|
+
height: ${e=>e.height}px;
|
|
2280
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2281
|
+
`,Dd=a.div`
|
|
2282
|
+
user-select: none;
|
|
2283
|
+
display: flex;
|
|
2284
|
+
flex: 1 1 auto;
|
|
2285
|
+
flex-flow: row;
|
|
2286
|
+
justify-content: flex-start;
|
|
2287
|
+
align-items: center;
|
|
2288
|
+
&:hover {
|
|
2289
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2290
|
+
}
|
|
2291
|
+
`,qd=a.div`
|
|
2292
|
+
display: flex;
|
|
2293
|
+
flex: 1 0 auto;
|
|
2294
|
+
flex-direction: row;
|
|
2295
|
+
justify-content: flex-end;
|
|
2296
|
+
`,Yd=a.div`
|
|
2297
|
+
display: flex;
|
|
2298
|
+
flex-direction: row;
|
|
2299
|
+
justify-content: flex-start;
|
|
2300
|
+
`,ro=a(n.StandardRegular)`
|
|
2301
|
+
user-select: none;
|
|
2302
|
+
min-width: ${w.balanceWidth};
|
|
2303
|
+
max-width: ${w.balanceWidth};
|
|
2304
|
+
text-align: right;
|
|
2305
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2306
|
+
color: ${e=>e.theme.colors.primary};
|
|
2307
|
+
`,Xd=a(ro)`
|
|
2308
|
+
color: ${e=>e.theme.colors.hero};
|
|
2309
|
+
&:hover {
|
|
2310
|
+
color: inherit;
|
|
2311
|
+
}
|
|
2312
|
+
`,Jd=a.div`
|
|
2313
|
+
display: flex;
|
|
2314
|
+
flex-direction: row;
|
|
2315
|
+
flex-shrink: 2;
|
|
2316
|
+
flex-grow: 1;
|
|
2317
|
+
align-items: center;
|
|
2318
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2319
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2320
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2321
|
+
${({isSticky:e})=>e?B.css`
|
|
2322
|
+
position: -webkit-sticky;
|
|
2323
|
+
position: sticky;
|
|
2324
|
+
top: ${n.Space.sp0};
|
|
2325
|
+
left: ${n.Space.sp0};
|
|
2326
|
+
`:null}
|
|
2327
|
+
`,ao=a(n.StandardRegular)`
|
|
2328
|
+
user-select: none;
|
|
2329
|
+
clear: both;
|
|
2330
|
+
display: inline-block;
|
|
2331
|
+
overflow: hidden;
|
|
2332
|
+
white-space: nowrap;
|
|
2333
|
+
text-overflow: ellipsis;
|
|
2334
|
+
text-align: left;
|
|
2335
|
+
margin-left: ${n.Space.sp4};
|
|
2336
|
+
color: ${e=>e.theme.colors.primary};
|
|
2337
|
+
`,Qd=a(ao)`
|
|
2338
|
+
color: ${e=>e.theme.colors.hero};
|
|
2339
|
+
&:hover {
|
|
2340
|
+
color: inherit;
|
|
2341
|
+
}
|
|
2342
|
+
`,Kd=({type:e,balance:o,collapsed:s,isActualVsForecastOn:i,compareMode:r})=>{const c=s===!0?Xd:ro;return t.jsxRuntimeExports.jsxs(Yd,{children:[q(e)===!0||i?t.jsxRuntimeExports.jsx(c,{children:M(o)}):t.jsxRuntimeExports.jsx(c,{children:H(o)}),i?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(c,{children:H(o)}),t.jsxRuntimeExports.jsx(c,{children:r==="compare_mode_percent"?X(o):J(o)})]}):null]})};function ex({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,leftChevron:c,accountGroupName:l,accountGroupBalances:d,isActualVsForecastOn:x,compareMode:p,isScrolling:h,isOpen:u,isLeaf:m,isLastNode:g,onClick:j}){const f=t.useTheme(),y=n.useWindowSizeContext(),S=!m,v=S?"pointer":"default",C=c==="collapsed",_=c==="hidden",I=_===!0?n.sp[6]:n.sp[4],A=C===!0?Qd:ao,V=C===!0?n.SvgArrowRight:n.SvgArrowBottom,P=C===!0?f.colors.hero:f.colors.primary;return t.jsxRuntimeExports.jsxs(Ud,{height:r,bgColor:o,"data-testid":n.generateDataTestId("pandl-report-account-group-row-root-container",i),children:[t.jsxRuntimeExports.jsxs(Dd,{"data-testid":n.generateDataTestId("pandl-report-account-group-row-container",i),style:{cursor:v},isClickable:S,onClick:()=>j?.(i),children:[ee(e)===!0?t.jsxRuntimeExports.jsxs(Jd,{bgColor:o,isSticky:s,windowSize:y,children:[_===!1?t.jsxRuntimeExports.jsx(V,{color:P,style:{width:n.sp[3],height:n.sp[3]}}):null,t.jsxRuntimeExports.jsx(A,{style:{marginLeft:I},children:l})]}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(qd,{children:d.map((N,G)=>t.jsxRuntimeExports.jsx(Kd,{type:e,accountGroupName:l,balance:N,isActualVsForecastOn:x,compareMode:p,collapsed:C},G))}):null]}),t.jsxRuntimeExports.jsx(tx,{isScrolling:h,type:e,isLeaf:m,isLastNode:g,isOpen:u})]})}function tx({isScrolling:e,type:o,isLastNode:s,isOpen:i}){let r="ac_group_row_separator";return s&&!i?r="section_row_separator":i&&(r=ee(o)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:r})}const nx=a.div`
|
|
2343
|
+
display: flex;
|
|
2344
|
+
flex: 1 1 auto;
|
|
2345
|
+
width: fit-content;
|
|
2346
|
+
min-width: 100%;
|
|
2347
|
+
flex-direction: column;
|
|
2348
|
+
height: ${e=>e.height}px;
|
|
2349
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2350
|
+
`,ox=a.div`
|
|
2351
|
+
user-select: none;
|
|
2352
|
+
display: flex;
|
|
2353
|
+
flex: 1 1 auto;
|
|
2354
|
+
flex-flow: row;
|
|
2355
|
+
justify-content: flex-start;
|
|
2356
|
+
align-items: center;
|
|
2357
|
+
&:hover {
|
|
2358
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2359
|
+
}
|
|
2360
|
+
`,sx=a.div`
|
|
2361
|
+
display: flex;
|
|
2362
|
+
flex: 1 0 auto;
|
|
2363
|
+
flex-direction: row;
|
|
2364
|
+
justify-content: flex-end;
|
|
2365
|
+
`,ix=a.div`
|
|
2366
|
+
display: flex;
|
|
2367
|
+
flex-direction: row;
|
|
2368
|
+
justify-content: flex-start;
|
|
2369
|
+
`,co=a(n.StandardRegular)`
|
|
2370
|
+
user-select: none;
|
|
2371
|
+
min-width: ${w.balanceWidth};
|
|
2372
|
+
max-width: ${w.balanceWidth};
|
|
2373
|
+
text-align: right;
|
|
2374
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2375
|
+
color: ${e=>e.theme.colors.primary};
|
|
2376
|
+
`,rx=a(co)`
|
|
2377
|
+
color: ${e=>e.theme.colors.hero};
|
|
2378
|
+
&:hover {
|
|
2379
|
+
color: inherit;
|
|
2380
|
+
}
|
|
2381
|
+
`,ax=a.div`
|
|
2382
|
+
display: flex;
|
|
2383
|
+
flex-direction: row;
|
|
2384
|
+
flex-shrink: 2;
|
|
2385
|
+
flex-grow: 1;
|
|
2386
|
+
align-items: center;
|
|
2387
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2388
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2389
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2390
|
+
${({isSticky:e})=>e?B.css`
|
|
2391
|
+
position: -webkit-sticky;
|
|
2392
|
+
position: sticky;
|
|
2393
|
+
top: ${n.Space.sp0};
|
|
2394
|
+
left: ${n.Space.sp0};
|
|
2395
|
+
`:null}
|
|
2396
|
+
`,lo=a(n.StandardRegular)`
|
|
2397
|
+
user-select: none;
|
|
2398
|
+
clear: both;
|
|
2399
|
+
display: inline-block;
|
|
2400
|
+
overflow: hidden;
|
|
2401
|
+
white-space: nowrap;
|
|
2402
|
+
text-overflow: ellipsis;
|
|
2403
|
+
text-align: left;
|
|
2404
|
+
margin-left: ${n.Space.sp2};
|
|
2405
|
+
color: ${e=>e.theme.colors.primary};
|
|
2406
|
+
`,cx=a(lo)`
|
|
2407
|
+
color: ${e=>e.theme.colors.hero};
|
|
2408
|
+
&:hover {
|
|
2409
|
+
color: inherit;
|
|
2410
|
+
}
|
|
2411
|
+
`,lx=({type:e,balance:o,collapsed:s,isActualVsForecastOn:i,compareMode:r})=>{const c=s===!0?rx:co;return t.jsxRuntimeExports.jsxs(ix,{children:[q(e)===!0||i?t.jsxRuntimeExports.jsx(c,{children:M(o)}):t.jsxRuntimeExports.jsx(c,{children:H(o)}),i?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(c,{children:H(o)}),t.jsxRuntimeExports.jsx(c,{children:r==="compare_mode_percent"?X(o):J(o)})]}):null]})};function dx({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,leftChevron:c,accountGroupName:l,accountGroupBalances:d,isActualVsForecastOn:x,compareMode:p,isScrolling:h,isOpen:u,isLeaf:m,isLastNode:g,onClick:j}){const f=n.useWindowSizeContext(),y=t.useTheme(),S=!m,v=S?"pointer":"default",C=c==="collapsed",_=C===!0?cx:lo,[I,A]=k.useState(!1),V=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxRuntimeExports.jsxs(nx,{"data-testid":n.generateDataTestId("pandl-account-group-row-root-container",i),height:r,bgColor:o,children:[t.jsxRuntimeExports.jsxs(ox,{"data-testid":n.generateDataTestId("pandl-account-group-row-container",i),onMouseOver:()=>A(!0),onMouseLeave:()=>A(!1),style:{cursor:v},isClickable:S,onClick:()=>j?.(i),children:[ee(e)===!0?t.jsxRuntimeExports.jsxs(ax,{bgColor:o,isSticky:s,windowSize:f,children:[t.jsxRuntimeExports.jsx($.CircleWithLetter,{showCollapsedIcon:C,showIcon:I&&S,firstLetter:V,color:t.Color(y.colors.primary)}),t.jsxRuntimeExports.jsx(_,{children:l})]}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(sx,{children:d.map((P,N)=>t.jsxRuntimeExports.jsx(lx,{type:e,accountGroupName:l,balance:P,isActualVsForecastOn:x,compareMode:p,collapsed:C},N))}):null]}),t.jsxRuntimeExports.jsx(xx,{isScrolling:h,type:e,isLeaf:m,isLastNode:g,isOpen:u})]})}function xx({isScrolling:e,type:o,isLastNode:s,isOpen:i}){let r="ac_group_row_separator";return s&&!i?r="section_row_separator":i&&(r=ee(o)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:r})}const ux=a.div`
|
|
2412
|
+
display: flex;
|
|
2413
|
+
flex: 1 1 auto;
|
|
2414
|
+
width: fit-content;
|
|
2415
|
+
min-width: 100%;
|
|
2416
|
+
flex-direction: column;
|
|
2417
|
+
height: ${e=>e.height}px;
|
|
2418
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2419
|
+
`,px=a.div`
|
|
2420
|
+
user-select: none;
|
|
2421
|
+
display: flex;
|
|
2422
|
+
flex: 1 1 auto;
|
|
2423
|
+
flex-flow: row;
|
|
2424
|
+
justify-content: flex-start;
|
|
2425
|
+
align-items: center;
|
|
2426
|
+
`,hx=a.div`
|
|
2427
|
+
display: flex;
|
|
2428
|
+
flex: 1 0 auto;
|
|
2429
|
+
flex-direction: row;
|
|
2430
|
+
justify-content: flex-end;
|
|
2431
|
+
`,mx=a.div`
|
|
2432
|
+
display: flex;
|
|
2433
|
+
flex-direction: row;
|
|
2434
|
+
justify-content: flex-start;
|
|
2435
|
+
`,_e=a(n.StandardRegular)`
|
|
2436
|
+
user-select: none;
|
|
2437
|
+
min-width: ${w.balanceWidth};
|
|
2438
|
+
max-width: ${w.balanceWidth};
|
|
2439
|
+
text-align: right;
|
|
2440
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2441
|
+
color: ${e=>e.theme.colors.hero};
|
|
2442
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2443
|
+
&:hover {
|
|
2444
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2445
|
+
}
|
|
2446
|
+
`,gx=a.div`
|
|
2447
|
+
display: flex;
|
|
2448
|
+
flex-direction: row;
|
|
2449
|
+
flex-shrink: 2;
|
|
2450
|
+
flex-grow: 1;
|
|
2451
|
+
align-items: center;
|
|
2452
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2453
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2454
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2455
|
+
${({isSticky:e})=>e?B.css`
|
|
2456
|
+
position: -webkit-sticky;
|
|
2457
|
+
position: sticky;
|
|
2458
|
+
top: ${n.Space.sp0};
|
|
2459
|
+
left: ${n.Space.sp0};
|
|
2460
|
+
`:null}
|
|
2461
|
+
`,fx=a(n.StandardRegular)`
|
|
2462
|
+
user-select: none;
|
|
2463
|
+
clear: both;
|
|
2464
|
+
display: inline-block;
|
|
2465
|
+
overflow: hidden;
|
|
2466
|
+
white-space: nowrap;
|
|
2467
|
+
text-overflow: ellipsis;
|
|
2468
|
+
text-align: left;
|
|
2469
|
+
margin-left: ${n.Space.sp6};
|
|
2470
|
+
color: ${e=>e.theme.colors.hero};
|
|
2471
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2472
|
+
&:hover {
|
|
2473
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2474
|
+
}
|
|
2475
|
+
`,jx=({type:e,balance:o,isActualVsForecastOn:s,compareMode:i,account:r,onAccountBalanceClick:c})=>{const l=o?.type==="this_period_vs_last_period"||o?.type==="this_period_vs_last_period_percent",d=r!=null&&o!=null&&c!=null&&l!==!0;return t.jsxRuntimeExports.jsxs(mx,{"data-testid":n.generateDataTestId("account-row-balance-element",e),children:[q(e)===!0||s?t.jsxRuntimeExports.jsx(_e,{"data-testid":n.generateDataTestId("account-row-balance-actual",e),isClickable:d,onClick:()=>{d===!0&&r!=null&&o!=null&&c?.(r,o)},children:M(o)}):t.jsxRuntimeExports.jsx(_e,{"data-testid":n.generateDataTestId("account-row-balance-forecast",e),isClickable:!1,children:H(o)}),s?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(_e,{isClickable:!1,"data-testid":n.generateDataTestId("account-row-balance-forecast",e),children:H(o)}),t.jsxRuntimeExports.jsx(_e,{"data-testid":n.generateDataTestId("account-row-balance-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?X(o):J(o)})]}):null]})};function wx({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,accountBalances:c,isActualVsForecastOn:l,compareMode:d,isScrolling:x,isLeaf:p,isLastNode:h,account:u,onAccountBalanceClick:m}){const g=n.useWindowSizeContext(),{common:{strings:{hyphen:j}}}=n.appLocale.getLocalizedStrings(),f=u?.accountDescription?u.accountDescription:j,y=u?.accountName?u.accountName:f;return t.jsxRuntimeExports.jsxs(ux,{height:r,bgColor:o,"data-testid":n.generateDataTestId("account-row-root-container",i),children:[t.jsxRuntimeExports.jsxs(px,{"data-testid":n.generateDataTestId("account-row-container",i),children:[ee(e)===!0?t.jsxRuntimeExports.jsx(gx,{isSticky:s,windowSize:g,bgColor:o,children:t.jsxRuntimeExports.jsx(fx,{isClickable:!1,title:y,children:y})}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(hx,{children:c.map((S,v)=>t.jsxRuntimeExports.jsx(jx,{type:e,isActualVsForecastOn:l,compareMode:d,balance:S,account:u,onAccountBalanceClick:m==null?void 0:(C,_)=>{m(i,C,_)}},v))}):null]}),t.jsxRuntimeExports.jsx(Rx,{isScrolling:x,type:e,isLeaf:p,isLastNode:h})]})}function Rx({isScrolling:e,isLastNode:o,type:s}){const i=o?"ac_group_row_separator":ee(s)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:i})}const $x=a.div`
|
|
2476
|
+
display: flex;
|
|
2477
|
+
flex: 1 1 auto;
|
|
2478
|
+
width: fit-content;
|
|
2479
|
+
min-width: 100%;
|
|
2480
|
+
flex-direction: column;
|
|
2481
|
+
height: ${e=>e.height}px;
|
|
2482
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2483
|
+
`,Sx=a.div`
|
|
2484
|
+
user-select: none;
|
|
2485
|
+
display: flex;
|
|
2486
|
+
flex: 1 1 auto;
|
|
2487
|
+
flex-flow: row;
|
|
2488
|
+
justify-content: flex-start;
|
|
2489
|
+
align-items: center;
|
|
2490
|
+
`,yx=a.div`
|
|
2491
|
+
display: flex;
|
|
2492
|
+
flex: 1 0 auto;
|
|
2493
|
+
flex-direction: row;
|
|
2494
|
+
justify-content: flex-end;
|
|
2495
|
+
`,Cx=a.div`
|
|
2496
|
+
display: flex;
|
|
2497
|
+
flex-direction: row;
|
|
2498
|
+
justify-content: flex-start;
|
|
2499
|
+
`,Ee=a(n.StandardRegular)`
|
|
2500
|
+
user-select: none;
|
|
2501
|
+
max-width: ${w.balanceWidth};
|
|
2502
|
+
min-width: ${w.balanceWidth};
|
|
2503
|
+
text-align: right;
|
|
2504
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2505
|
+
`,bx=a.div`
|
|
2506
|
+
display: flex;
|
|
2507
|
+
flex-direction: row;
|
|
2508
|
+
flex-shrink: 2;
|
|
2509
|
+
flex-grow: 1;
|
|
2510
|
+
align-items: center;
|
|
2511
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2512
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2513
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2514
|
+
${({isSticky:e})=>e?B.css`
|
|
2515
|
+
position: -webkit-sticky;
|
|
2516
|
+
position: sticky;
|
|
2517
|
+
top: ${n.Space.sp0};
|
|
2518
|
+
left: ${n.Space.sp0};
|
|
2519
|
+
`:null}
|
|
2520
|
+
`,vx=a.div`
|
|
2521
|
+
display: flex;
|
|
2522
|
+
flex-grow: 8;
|
|
2523
|
+
`,_x=a(n.StandardRegular)`
|
|
2524
|
+
user-select: none;
|
|
2525
|
+
user-select: none;
|
|
2526
|
+
clear: both;
|
|
2527
|
+
display: inline-block;
|
|
2528
|
+
overflow: hidden;
|
|
2529
|
+
white-space: nowrap;
|
|
2530
|
+
text-overflow: ellipsis;
|
|
2531
|
+
text-align: left;
|
|
2532
|
+
margin-left: ${n.Space.sp2};
|
|
2533
|
+
`,Ex=a(n.ExtraSmallRegular)`
|
|
2534
|
+
display: flex;
|
|
2535
|
+
color: ${e=>e.theme.colors.primary};
|
|
2536
|
+
align-items: center;
|
|
2537
|
+
flex-direction: row;
|
|
2538
|
+
justify-content: flex-end;
|
|
2539
|
+
padding: 1px 6px;
|
|
2540
|
+
height: 20px;
|
|
2541
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
2542
|
+
border-radius: ${n.Space.sp1};
|
|
2543
|
+
margin: 0 ${n.Space.sp5} 0 ${n.Space.sp3};
|
|
2544
|
+
`,kx=({metadata:e,depth:o})=>o===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsxRuntimeExports.jsx(n.ClassLineTComponent,{}):t.jsxRuntimeExports.jsx(n.ClassLineLComponent,{}),Bx=({type:e,balance:o,color:s,isActualVsForecastOn:i,compareMode:r})=>t.jsxRuntimeExports.jsxs(Cx,{children:[q(e)===!0||i?t.jsxRuntimeExports.jsx(Ee,{style:{color:s},children:M(o)}):t.jsxRuntimeExports.jsx(Ee,{style:{color:s},children:H(o)}),i?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(Ee,{style:{color:s},children:H(o)}),t.jsxRuntimeExports.jsx(Ee,{style:{color:s},children:r==="compare_mode_percent"?X(o):J(o)})]}):null]});function Tx({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,className:c,classCode:l,sectionBalances:d,isActualVsForecastOn:x,compareMode:p,hasChildren:h,isScrolling:u,isOpen:m,isLeaf:g,metadata:j,showClassAccountNumber:f,onClick:y,depth:S}){const v=n.useWindowSizeContext(),C=t.useTheme(),_=!g,I=_?"pointer":"default",A=C.colors.primary,V=c.length>0?c.substr(0,1).toUpperCase():"",[P,N]=k.useState(!1),G=j.classAncestorMetadata??[];return t.jsxRuntimeExports.jsxs($x,{"data-testid":n.generateDataTestId("class-row-root-container",i),height:r,bgColor:o,children:[t.jsxRuntimeExports.jsxs(Sx,{"data-testid":n.generateDataTestId("class-row-container",i),style:{cursor:I},onClick:()=>y?.(i),onMouseOver:()=>N(!0),onMouseLeave:()=>N(!1),children:[ee(e)===!0?t.jsxRuntimeExports.jsxs(bx,{isSticky:s,windowSize:v,bgColor:o,children:[t.jsxRuntimeExports.jsx(ks,{name:c,ancestorMetadata:G,depth:S}),t.jsxRuntimeExports.jsx(kx,{metadata:G[S],depth:S}),t.jsxRuntimeExports.jsx($.CircleWithLetter,{color:t.Color(A),showCollapsedIcon:!m,showIcon:P&&_,firstLetter:V,showTreeLine:h}),t.jsxRuntimeExports.jsx(vx,{children:t.jsxRuntimeExports.jsx(_x,{style:{color:A},children:c})}),P===!0&&f===!0&&l!==void 0&&t.jsxRuntimeExports.jsx(Ex,{children:l})]}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(yx,{children:d.map((Y,F)=>t.jsxRuntimeExports.jsx(Bx,{type:e,sectionName:c,balance:Y,isActualVsForecastOn:x,compareMode:p,color:A},F))}):null]}),t.jsxRuntimeExports.jsx(Ix,{isScrolling:u,isLeaf:g,isOpen:m})]})}function Ix({isScrolling:e,isLeaf:o,isOpen:s}){return o||!s?t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:"section_row_separator"}):null}a.div`
|
|
2545
|
+
display: flex;
|
|
2546
|
+
flex: 1 1 auto;
|
|
2547
|
+
width: fit-content;
|
|
2548
|
+
min-width: 100%;
|
|
2549
|
+
flex-direction: column;
|
|
2550
|
+
height: ${e=>e.height}px;
|
|
2551
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2552
|
+
`;a.div`
|
|
2553
|
+
user-select: none;
|
|
2554
|
+
display: flex;
|
|
2555
|
+
flex: 1 1 auto;
|
|
2556
|
+
flex-flow: row;
|
|
2557
|
+
justify-content: flex-start;
|
|
2558
|
+
align-items: center;
|
|
2559
|
+
`;a.div`
|
|
2560
|
+
display: flex;
|
|
2561
|
+
flex: 1 0 auto;
|
|
2562
|
+
flex-direction: row;
|
|
2563
|
+
justify-content: flex-end;
|
|
2564
|
+
`;a.div`
|
|
2565
|
+
display: flex;
|
|
2566
|
+
flex-direction: row;
|
|
2567
|
+
justify-content: flex-start;
|
|
2568
|
+
`;a(n.StandardRegular)`
|
|
2569
|
+
user-select: none;
|
|
2570
|
+
max-width: ${w.balanceWidth};
|
|
2571
|
+
min-width: ${w.balanceWidth};
|
|
2572
|
+
text-align: right;
|
|
2573
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2574
|
+
`;a.div`
|
|
2575
|
+
display: flex;
|
|
2576
|
+
flex-direction: row;
|
|
2577
|
+
flex-shrink: 2;
|
|
2578
|
+
flex-grow: 1;
|
|
2579
|
+
align-items: center;
|
|
2580
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2581
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2582
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2583
|
+
${({isSticky:e})=>e?B.css`
|
|
2584
|
+
position: -webkit-sticky;
|
|
2585
|
+
position: sticky;
|
|
2586
|
+
top: ${n.Space.sp0};
|
|
2587
|
+
left: ${n.Space.sp0};
|
|
2588
|
+
`:null}
|
|
2589
|
+
`;a.div`
|
|
2590
|
+
display: flex;
|
|
2591
|
+
`;a(n.StandardRegular)`
|
|
2592
|
+
user-select: none;
|
|
2593
|
+
user-select: none;
|
|
2594
|
+
clear: both;
|
|
2595
|
+
display: inline-block;
|
|
2596
|
+
overflow: hidden;
|
|
2597
|
+
white-space: nowrap;
|
|
2598
|
+
text-overflow: ellipsis;
|
|
2599
|
+
text-align: left;
|
|
2600
|
+
margin-left: ${n.Space.sp2};
|
|
2601
|
+
`;const Ax=a.div`
|
|
2602
|
+
display: flex;
|
|
2603
|
+
flex: 1 1 auto;
|
|
2604
|
+
width: fit-content;
|
|
2605
|
+
min-width: 100%;
|
|
2606
|
+
flex-direction: column;
|
|
2607
|
+
height: ${e=>e.height}px;
|
|
2608
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2609
|
+
`,Wx=a.div`
|
|
2610
|
+
user-select: none;
|
|
2611
|
+
display: flex;
|
|
2612
|
+
flex: 1 1 auto;
|
|
2613
|
+
flex-flow: row;
|
|
2614
|
+
justify-content: flex-start;
|
|
2615
|
+
align-items: center;
|
|
2616
|
+
`,Lx=a.div`
|
|
2617
|
+
display: flex;
|
|
2618
|
+
flex: 1 0 auto;
|
|
2619
|
+
flex-direction: row;
|
|
2620
|
+
justify-content: flex-end;
|
|
2621
|
+
`,zx=a.div`
|
|
2622
|
+
display: flex;
|
|
2623
|
+
flex-direction: row;
|
|
2624
|
+
justify-content: flex-start;
|
|
2625
|
+
`,ke=a(n.StandardRegular)`
|
|
2626
|
+
user-select: none;
|
|
2627
|
+
max-width: ${w.balanceWidth};
|
|
2628
|
+
min-width: ${w.balanceWidth};
|
|
2629
|
+
text-align: right;
|
|
2630
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2631
|
+
`,Px=a.div`
|
|
2632
|
+
display: flex;
|
|
2633
|
+
flex-direction: row;
|
|
2634
|
+
flex-shrink: 2;
|
|
2635
|
+
flex-grow: 1;
|
|
2636
|
+
align-items: center;
|
|
2637
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2638
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2639
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2640
|
+
${({isSticky:e})=>e?B.css`
|
|
2641
|
+
position: -webkit-sticky;
|
|
2642
|
+
position: sticky;
|
|
2643
|
+
top: ${n.Space.sp0};
|
|
2644
|
+
left: ${n.Space.sp0};
|
|
2645
|
+
`:null}
|
|
2646
|
+
`,Vx=a(n.StandardRegular)`
|
|
2647
|
+
user-select: none;
|
|
2648
|
+
user-select: none;
|
|
2649
|
+
clear: both;
|
|
2650
|
+
display: inline-block;
|
|
2651
|
+
overflow: hidden;
|
|
2652
|
+
white-space: nowrap;
|
|
2653
|
+
text-overflow: ellipsis;
|
|
2654
|
+
text-align: left;
|
|
2655
|
+
margin-left: ${n.Space.sp2};
|
|
2656
|
+
`,Nx=({type:e,balance:o,color:s,isActualVsForecastOn:i,compareMode:r})=>t.jsxRuntimeExports.jsxs(zx,{children:[q(e)===!0||i?t.jsxRuntimeExports.jsx(ke,{style:{color:s},children:M(o)}):t.jsxRuntimeExports.jsx(ke,{style:{color:s},children:H(o)}),i?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(ke,{style:{color:s},children:H(o)}),t.jsxRuntimeExports.jsx(ke,{style:{color:s},children:r==="compare_mode_percent"?X(o):J(o)})]}):null]});function yt({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,sectionName:c,sectionBalances:l,isActualVsForecastOn:d,compareMode:x,sectionColor:p,isScrolling:h,isOpen:u,isLeaf:m,onClick:g}){const j=n.useWindowSizeContext(),f=!m,y=f?"pointer":"default",S=c.length>0?c.substring(0,1).toUpperCase():"",[v,C]=k.useState(!1);return t.jsxRuntimeExports.jsxs(Ax,{"data-testid":n.generateDataTestId("section-row",i),height:r,bgColor:o,children:[t.jsxRuntimeExports.jsxs(Wx,{"data-testid":n.generateDataTestId("section-row-container",i),style:{cursor:y},onClick:()=>g?.(i),onMouseOver:()=>C(!0),onMouseLeave:()=>C(!1),children:[ee(e)===!0?t.jsxRuntimeExports.jsxs(Px,{isSticky:s,windowSize:j,bgColor:o,children:[t.jsxRuntimeExports.jsx($.CircleWithLetter,{color:t.Color(p),showCollapsedIcon:!u,showIcon:v&&f,firstLetter:S}),t.jsxRuntimeExports.jsx(Vx,{style:{color:p},children:c})," "]}):null,ne(e)===!0?t.jsxRuntimeExports.jsx(Lx,{children:l.map((_,I)=>t.jsxRuntimeExports.jsx(Nx,{type:e,sectionName:c,balance:_,isActualVsForecastOn:d,compareMode:x,color:p},I))}):null]}),t.jsxRuntimeExports.jsx(Mx,{isScrolling:h,isLeaf:m,isOpen:u})]})}function Mx({isScrolling:e,isLeaf:o,isOpen:s}){return o||!s?t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:"section_row_separator"}):null}const Gx=a.div`
|
|
2657
|
+
display: flex;
|
|
2658
|
+
flex: 1 1 auto;
|
|
2659
|
+
width: fit-content;
|
|
2660
|
+
min-width: 100%;
|
|
2661
|
+
flex-direction: column;
|
|
2662
|
+
height: ${e=>e.height-1}px;
|
|
2663
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2664
|
+
`,Hx=a.div`
|
|
2665
|
+
user-select: none;
|
|
2666
|
+
display: flex;
|
|
2667
|
+
flex: 1 1 auto;
|
|
2668
|
+
flex-flow: row;
|
|
2669
|
+
justify-content: flex-start;
|
|
2670
|
+
align-items: center;
|
|
2671
|
+
`,Ox=a.div`
|
|
2672
|
+
display: flex;
|
|
2673
|
+
flex: 1 0 auto;
|
|
2674
|
+
flex-direction: row;
|
|
2675
|
+
justify-content: flex-end;
|
|
2676
|
+
`,Fx=a.div`
|
|
2677
|
+
display: flex;
|
|
2678
|
+
flex-direction: row;
|
|
2679
|
+
justify-content: flex-start;
|
|
2680
|
+
`,Be=a(n.StandardRegular)`
|
|
2681
|
+
user-select: none;
|
|
2682
|
+
min-width: ${w.balanceWidth};
|
|
2683
|
+
max-width: ${w.balanceWidth};
|
|
2684
|
+
text-align: right;
|
|
2685
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2686
|
+
color: ${e=>e.theme.colors.hero};
|
|
2687
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2688
|
+
&:hover {
|
|
2689
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2690
|
+
}
|
|
2691
|
+
`,Zx=a.div`
|
|
2692
|
+
display: flex;
|
|
2693
|
+
flex-direction: row;
|
|
2694
|
+
flex-shrink: 2;
|
|
2695
|
+
flex-grow: 1;
|
|
2696
|
+
align-items: center;
|
|
2697
|
+
height: ${e=>e.containerHeight-1}px; // Else bottom line doesnt show up
|
|
2698
|
+
// because the height of the svg is much larger
|
|
2699
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2700
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2701
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2702
|
+
color: ${e=>e.theme.colors.hero};
|
|
2703
|
+
|
|
2704
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2705
|
+
&:hover {
|
|
2706
|
+
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
2707
|
+
}
|
|
2708
|
+
${({isSticky:e})=>e?B.css`
|
|
2709
|
+
position: -webkit-sticky;
|
|
2710
|
+
position: sticky;
|
|
2711
|
+
top: ${n.Space.sp0};
|
|
2712
|
+
left: ${n.Space.sp0};
|
|
2713
|
+
`:null}
|
|
2714
|
+
`,Ux=a(n.StandardRegular)`
|
|
2715
|
+
user-select: none;
|
|
2716
|
+
clear: both;
|
|
2717
|
+
display: inline-block;
|
|
2718
|
+
text-align: left;
|
|
2719
|
+
`,Dx=({type:e,balance:o,isActualVsForecastOn:s,compareMode:i,account:r,showTotal:c,onAccountBalanceClick:l})=>{const d=o!=null?b.isCalculatedBalanceType(o?.type):!1,x=r!=null&&o!=null&&l!=null&&d!==!0,p=c===!0?tn(o):M(o),h=c===!0?Je(o):H(o),u=c===!0?nn(o):X(o),m=c===!0?on(o):J(o);return t.jsxRuntimeExports.jsxs(Fx,{"data-testid":n.generateDataTestId("account-row-balance-element",e),children:[q(e)===!0||s?t.jsxRuntimeExports.jsx(Be,{"data-testid":n.generateDataTestId("account-row-balance-actual",e),isClickable:x,onClick:g=>{g.stopPropagation(),x===!0&&r!=null&&o!=null&&l?.(r,o)},children:p}):t.jsxRuntimeExports.jsx(Be,{"data-testid":n.generateDataTestId("account-row-balance-forecast",e),isClickable:!1,children:h}),s?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(Be,{"data-testid":n.generateDataTestId("account-row-balance-forecast",e),isClickable:!1,children:h}),t.jsxRuntimeExports.jsx(Be,{"data-testid":n.generateDataTestId("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?u:m})]}):null]})};function qx({type:e,backgroundColor:o,isSticky:s,treeNodeId:i,height:r,classDepth:c,accountBalances:l,isActualVsForecastOn:d,compareMode:x,metadata:p,isScrolling:h,noMarginForAccount:u,isLeaf:m,isOpen:g,isLastNode:j,account:f,onAccountBalanceClick:y,onClick:S}){const v=n.useWindowSizeContext(),C=f!=null?f.id.length-1:0,_=f?.hasSiblings??!1,I=f!=null?f.children.length!==0:!1,A=p,{common:{strings:{empty:V}}}=n.appLocale.getLocalizedStrings(),P=f?.account.accountDescription?f.account.accountDescription:V,N=f?.account.accountName?f.account.accountName:P;return t.jsxRuntimeExports.jsxs(Gx,{"data-testid":n.generateDataTestId("sub-account-row",i),height:r,bgColor:o,children:[t.jsxRuntimeExports.jsxs(Hx,{"data-testid":n.generateDataTestId("sub-account-row-container",i),onClick:()=>S?.(i),children:[t.jsxRuntimeExports.jsx(Zx,{isClickable:I,isSticky:s,windowSize:v,bgColor:o,containerHeight:r,children:t.jsxRuntimeExports.jsx(Ux,{title:N,children:t.jsxRuntimeExports.jsx(ln,{displayName:N,depth:C,classDepth:c,isLastNode:j,hasChildren:I,hasSiblings:_,isLeaf:m,collapsed:!g,subAccountAnscestorMetadata:A.subAccountAncestorMetadata,classAnscestorMetadata:A.classAncestorMetadata??[],noMarginForAccount:u})})}),ne(e)===!0?t.jsxRuntimeExports.jsx(Ox,{children:l.map((G,Y)=>t.jsxRuntimeExports.jsx(Dx,{type:e,isActualVsForecastOn:d,compareMode:x,balance:G,account:f?.account,showTotal:!g,onAccountBalanceClick:y==null?void 0:(F,Q)=>{y(i,F,Q)}},Y))}):null]}),t.jsxRuntimeExports.jsx(Yx,{isScrolling:h,isLeaf:m,isOpen:g,depth:C,isSticky:s,classDepth:c,noMarginForAccount:u})]})}function Yx({isScrolling:e,depth:o,isOpen:s,isLeaf:i,isSticky:r,classDepth:c,noMarginForAccount:l}){return!s||i===!0?t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:o,isSticky:r,classDepth:c,noMarginForAccount:l}}):null}const Xx=[10,14,20,20,20],Jx=a.div`
|
|
2720
|
+
display: flex;
|
|
2721
|
+
flex: 1 1 auto;
|
|
2722
|
+
width: fit-content;
|
|
2723
|
+
min-width: 100%;
|
|
2724
|
+
flex-direction: column;
|
|
2725
|
+
height: ${e=>e.height-1}px;
|
|
2726
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2727
|
+
`,Qx=a.div`
|
|
2728
|
+
user-select: none;
|
|
2729
|
+
display: flex;
|
|
2730
|
+
flex: 1 1 auto;
|
|
2731
|
+
flex-flow: row;
|
|
2732
|
+
justify-content: flex-start;
|
|
2733
|
+
align-items: center;
|
|
2734
|
+
`,Kx=a.div`
|
|
2735
|
+
width: ${e=>sn.emptyLeftContainer.valuePx(e.windowSize)};
|
|
2736
|
+
height: ${n.Space.sp1};
|
|
2737
|
+
`,eu=a.div`
|
|
2738
|
+
display: flex;
|
|
2739
|
+
flex: 1 0 auto;
|
|
2740
|
+
flex-direction: row;
|
|
2741
|
+
justify-content: flex-end;
|
|
2742
|
+
`,tu=a.div`
|
|
2743
|
+
display: flex;
|
|
2744
|
+
flex-direction: row;
|
|
2745
|
+
justify-content: flex-start;
|
|
2746
|
+
`,Te=a(n.StandardRegular)`
|
|
2747
|
+
user-select: none;
|
|
2748
|
+
min-width: ${w.balanceWidth};
|
|
2749
|
+
max-width: ${w.balanceWidth};
|
|
2750
|
+
text-align: right;
|
|
2751
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2752
|
+
color: ${e=>e.theme.colors.primary};
|
|
2753
|
+
cursor: ${e=>e.isClickable?"pointer":"default"};
|
|
2754
|
+
`,nu=a.div`
|
|
2755
|
+
display: flex;
|
|
2756
|
+
flex-direction: row;
|
|
2757
|
+
flex-shrink: 2;
|
|
2758
|
+
flex-grow: 1;
|
|
2759
|
+
align-items: center;
|
|
2760
|
+
height: ${e=>e.containerHeight-1}px;
|
|
2761
|
+
width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2762
|
+
max-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2763
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2764
|
+
${({isSticky:e})=>e?B.css`
|
|
2765
|
+
position: -webkit-sticky;
|
|
2766
|
+
position: sticky;
|
|
2767
|
+
top: ${n.Space.sp0};
|
|
2768
|
+
left: ${n.Space.sp0};
|
|
2769
|
+
`:null}
|
|
2770
|
+
`,ou=a(n.StandardRegular)`
|
|
2771
|
+
user-select: none;
|
|
2772
|
+
clear: both;
|
|
2773
|
+
display: inline-block;
|
|
2774
|
+
overflow: hidden;
|
|
2775
|
+
white-space: nowrap;
|
|
2776
|
+
text-overflow: ellipsis;
|
|
2777
|
+
text-align: left;
|
|
2778
|
+
margin-left: ${e=>Xx[e.depth]}px;
|
|
2779
|
+
color: ${e=>e.theme.colors.primary};
|
|
2780
|
+
width: ${e=>w.titleWidth.value(e.windowSize)-e.depth*80}px;
|
|
2781
|
+
`,su=({type:e,balance:o,isActualVsForecastOn:s,compareMode:i})=>t.jsxRuntimeExports.jsxs(tu,{"data-testid":n.generateDataTestId("sub-account-row-balance-element",e),children:[q(e)===!0||s?t.jsxRuntimeExports.jsx(Te,{"data-testid":n.generateDataTestId("sub-account-row-balance-element-actual",e),isClickable:!1,children:tn(o)}):t.jsxRuntimeExports.jsx(Te,{"data-testid":n.generateDataTestId("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Je(o)}),s?t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[t.jsxRuntimeExports.jsx(Te,{"data-testid":n.generateDataTestId("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Je(o)}),t.jsxRuntimeExports.jsx(Te,{"data-testid":n.generateDataTestId("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?nn(o):on(o)})]}):null]});function iu({type:e,backgroundColor:o,isSticky:s,height:i,classDepth:r,accountName:c,accountBalances:l,account:d,noMarginForAccount:x,isActualVsForecastOn:p,compareMode:h,isScrolling:u,metadata:m}){const g=n.useWindowSizeContext(),j=n.appLocale.getLocalizedStrings().reports.sections,f=d!=null?d.id.length-1:0,y=m;return t.jsxRuntimeExports.jsxs(Jx,{height:i,bgColor:o,children:[t.jsxRuntimeExports.jsxs(Qx,{children:[t.jsxRuntimeExports.jsxs(nu,{isSticky:s,windowSize:g,bgColor:o,containerHeight:i,children:[r!=null?t.jsxRuntimeExports.jsx(an,{ancestorMetadata:y.classAncestorMetadata??[],depth:r,name:c}):x===!1?t.jsxRuntimeExports.jsx(Kx,{windowSize:g}):null,t.jsxRuntimeExports.jsx(cn,{ancestorMetadata:y.subAccountAncestorMetadata,depth:f,name:c}),t.jsxRuntimeExports.jsx(ou,{"data-testid":n.generateDataTestId("sub-account-row-name",e),isClickable:!1,title:c,depth:f,windowSize:g,children:j.totalPrefix+" "+c})]}),ne(e)===!0?t.jsxRuntimeExports.jsx(eu,{children:l.map((S,v)=>t.jsxRuntimeExports.jsx(su,{type:e,isActualVsForecastOn:p,compareMode:h,balance:S},v))}):null]}),t.jsxRuntimeExports.jsx(ru,{isScrolling:u,nestingLevel:f,isSticky:s,classDepth:r,noMarginForAccount:x})]})}function ru({isScrolling:e,nestingLevel:o,isSticky:s,classDepth:i,noMarginForAccount:r}){return t.jsxRuntimeExports.jsx(oe,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:o,isSticky:s,classDepth:i,noMarginForAccount:r}})}const au=a.div`
|
|
2782
|
+
user-select: none;
|
|
2783
|
+
display: flex;
|
|
2784
|
+
flex: 1 1 auto;
|
|
2785
|
+
width: fit-content;
|
|
2786
|
+
min-width: 100%;
|
|
2787
|
+
height: ${e=>e.height}px;
|
|
2788
|
+
flex-flow: row;
|
|
2789
|
+
justify-content: flex-start;
|
|
2790
|
+
align-items: center;
|
|
2791
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2792
|
+
`,cu=a.div`
|
|
2793
|
+
display: flex;
|
|
2794
|
+
flex: 1 0 auto;
|
|
2795
|
+
flex-direction: row;
|
|
2796
|
+
justify-content: flex-end;
|
|
2797
|
+
`,me=w.balanceWidthInPx+w.balanceLeftMarginInPx,xo=a.div`
|
|
2798
|
+
display: flex;
|
|
2799
|
+
max-height: 54px;
|
|
2800
|
+
min-height: 54px;
|
|
2801
|
+
min-width: ${e=>e.isActualVsForecastOn?3*(me-2)-w.balanceLeftMarginInPx:w.balanceWidthInPx}px;
|
|
2802
|
+
justify-content: center;
|
|
2803
|
+
align-items: center;
|
|
2804
|
+
background-color: ${e=>e.theme.colors.background};
|
|
2805
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
2806
|
+
border-radius: ${n.Space.sp2};
|
|
2807
|
+
margin-left: ${e=>e.isActualVsForecastOn?n.sp[0]:w.balanceLeftMarginInPx}px;
|
|
2808
|
+
color: ${e=>e.theme.colors.primary};
|
|
2809
|
+
`,uo=a(n.StandardRegular)`
|
|
2810
|
+
display: flex;
|
|
2811
|
+
user-select: none;
|
|
2812
|
+
flex-direction: row;
|
|
2813
|
+
justify-content: center;
|
|
2814
|
+
align-items: center;
|
|
2815
|
+
height: ${w.balanceHeight};
|
|
2816
|
+
max-width: ${w.balanceWidthInPx-2}px;
|
|
2817
|
+
width: 138px;
|
|
2818
|
+
text-align: center;
|
|
2819
|
+
`,lu=a.div`
|
|
2820
|
+
height: 100%;
|
|
2821
|
+
display: inline-block;
|
|
2822
|
+
flex-direction: row;
|
|
2823
|
+
align-items: center;
|
|
2824
|
+
min-width: ${e=>w.titleWidth.valuePx(e.windowSize)};
|
|
2825
|
+
color: ${e=>e.theme.colors.grey5};
|
|
2826
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2827
|
+
border: 1px solid ${e=>e.bgColor?.hex()};
|
|
2828
|
+
${({isSticky:e})=>e?B.css`
|
|
2829
|
+
position: -webkit-sticky;
|
|
2830
|
+
position: sticky;
|
|
2831
|
+
top: ${n.Space.sp0};
|
|
2832
|
+
left: ${n.Space.sp0};
|
|
2833
|
+
z-index: 20;
|
|
2834
|
+
`:null}
|
|
2835
|
+
`,du=a.div`
|
|
2836
|
+
display: flex;
|
|
2837
|
+
width: ${e=>e.isActualVsForecastOn?3*me:me}px;
|
|
2838
|
+
flex-direction: row;
|
|
2839
|
+
justify-content: flex-start;
|
|
2840
|
+
color: ${e=>e.theme.colors.champion};
|
|
2841
|
+
`,Xe=a(n.StandardRegular)`
|
|
2842
|
+
display: flex;
|
|
2843
|
+
justify-content: flex-end;
|
|
2844
|
+
align-items: center;
|
|
2845
|
+
height: ${w.balanceHeight};
|
|
2846
|
+
width: ${w.balanceWidth};
|
|
2847
|
+
min-width: ${w.balanceWidth};
|
|
2848
|
+
margin-left: ${w.balanceLeftMargin};
|
|
2849
|
+
margin-top: ${n.Space.sp3};
|
|
2850
|
+
`,xu=a.div`
|
|
2851
|
+
display: flex;
|
|
2852
|
+
max-height: 54px;
|
|
2853
|
+
min-height: 54px;
|
|
2854
|
+
justify-content: center;
|
|
2855
|
+
align-items: center;
|
|
2856
|
+
color: ${e=>e.theme.colors.champion};
|
|
2857
|
+
`,uu=a.div``,pu=a(n.StandardRegular)`
|
|
2858
|
+
display: flex;
|
|
2859
|
+
justify-content: center;
|
|
2860
|
+
align-items: center;
|
|
2861
|
+
max-height: 54px;
|
|
2862
|
+
min-height: 54px;
|
|
2863
|
+
background-color: ${e=>e.theme.colors.background};
|
|
2864
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
2865
|
+
border-radius: ${n.Space.sp2};
|
|
2866
|
+
margin-left: ${w.balanceLeftMarginInPx}px;
|
|
2867
|
+
color: ${e=>e.theme.colors.primary};
|
|
2868
|
+
width: ${w.balanceWidth};
|
|
2869
|
+
min-width: ${w.balanceWidth};
|
|
2870
|
+
`,hu=a.div`
|
|
2871
|
+
display: flex;
|
|
2872
|
+
width: ${e=>e.isActualVsForecastOn?3*me:me}px;
|
|
2873
|
+
flex-direction: column;
|
|
2874
|
+
align-items: flex-end;
|
|
2875
|
+
`,mu=a.div`
|
|
2876
|
+
max-height: 54px;
|
|
2877
|
+
min-height: 54px;
|
|
2878
|
+
`,po=({firstMonthOfFY:e,timeframeTick:o,timeframe:s,dataAvailable:i,bookCloseDate:r})=>{const c=n.appLocale.getLocalizedStrings().reports,l=r!=null&&i!=null&&(o.balanceType==="default"||o.balanceType==="default_with_percent")?b.getTimeframeTickTag(s,e,o,r,i):void 0,d=l!=null?l==="under_review"?c.bookCloseTagUnderReview:c.bookCloseTagInProgress:void 0,x=Xn(l,s);return t.jsxRuntimeExports.jsx(mu,{children:r!=null&&i!=null&&l!=null&&d!=null&&x!=null?t.jsxRuntimeExports.jsx(Yn,{firstMonthOfFY:e,timeframeTick:o,timeframe:s,tagName:d,infoContent:x,tagType:l}):t.jsxRuntimeExports.jsx(xo,{isActualVsForecastOn:!1,children:t.jsxRuntimeExports.jsx(uo,{children:le(e,o,s)})})})},gu=({firstMonthOfFY:e,timeframeTick:o,timeframe:s,isActualVsForecastOn:i,compareMode:r,dataAvailable:c,bookCloseDate:l,onCompareModeChanged:d})=>{const x=n.appLocale.getLocalizedStrings().reports.forecast,p=r==="compare_mode_amount"?`${n.appLocale.getLocalizedStrings().compareMode.changePrefix} ${o.currencySymbol}`:n.appLocale.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxRuntimeExports.jsxs(hu,{isActualVsForecastOn:i,children:[t.jsxRuntimeExports.jsx(xo,{isActualVsForecastOn:i,children:t.jsxRuntimeExports.jsx(uo,{children:le(e,o,s)})}),t.jsxRuntimeExports.jsxs(du,{isActualVsForecastOn:i,children:[t.jsxRuntimeExports.jsx(Xe,{children:x.actual}),t.jsxRuntimeExports.jsx(Xe,{children:x.forecast}),t.jsxRuntimeExports.jsx(Xe,{children:t.jsxRuntimeExports.jsx(Rt,{title:p,titleTextStyle:n.textStyles.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:h=>{h!=="off"?d?.(h):console.warn("Invalid compare mode option")}})})]})]}):t.jsxRuntimeExports.jsx(po,{firstMonthOfFY:e,timeframeTick:o,timeframe:s,dataAvailable:c,bookCloseDate:l})},fu=({firstMonthOfFY:e,timeframeTicks:o,timeframe:s,compareMode:i,dataAvailable:r,bookCloseDate:c,onCompareModeChanged:l})=>{const d=t.useTheme(),x=i==="compare_mode_amount"?`${n.appLocale.getLocalizedStrings().compareMode.changePrefix} ${o[0].currencySymbol}`:n.appLocale.getLocalizedStrings().compareMode.changePercent;return t.jsxRuntimeExports.jsx(xu,{children:o.map((p,h)=>t.jsxRuntimeExports.jsx(k.Fragment,{children:p.balanceType==="this_period_vs_last_period"||p.balanceType==="this_period_vs_last_period_percent"?t.jsxRuntimeExports.jsx(pu,{children:t.jsxRuntimeExports.jsx(Rt,{title:x,titleTextStyle:n.textStyles.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:u=>{u!=="off"&&(u==="compare_mode_amount"||u==="compare_mode_percent"?l?.(u):console.warn("Invalid compare mode option"))}})}):t.jsxRuntimeExports.jsx(uu,{children:t.jsxRuntimeExports.jsx(po,{firstMonthOfFY:e,timeframeTick:p,timeframe:s,dataAvailable:r,bookCloseDate:c},h)})},h))})};function ju({type:e,backgroundColor:o,isSticky:s,height:i,isActualVsForecastOn:r,isCompareModeOn:c,firstMonthOfFY:l,timeframe:d,timeframeTicks:x,compareMode:p,dataAvailable:h,bookCloseDate:u,onCompareModeChanged:m}){const g=n.useWindowSizeContext();return t.jsxRuntimeExports.jsxs(au,{height:i,bgColor:o,children:[ee(e)===!0?t.jsxRuntimeExports.jsx(lu,{isSticky:s,windowSize:g,bgColor:o,children:" . "}):null,t.jsxRuntimeExports.jsx(cu,{children:c===!0?t.jsxRuntimeExports.jsx(fu,{firstMonthOfFY:l,timeframe:d,timeframeTicks:x,compareMode:p,dataAvailable:h,bookCloseDate:u,onCompareModeChanged:m}):x.map((j,f)=>t.jsxRuntimeExports.jsx(gu,{firstMonthOfFY:l,timeframeTick:j,timeframe:d,isActualVsForecastOn:r,compareMode:p,dataAvailable:h,bookCloseDate:u,onCompareModeChanged:m},f))})]})}const He=(e,o,s,i,r,c,l,d,x,p,h)=>{if(s.element.kind!="ac_report"||s.element.data==null)return null;const u=s.element.data,m=b.isDashboardClassesViewReport(s.config.reportId)===!0||b.isPAndLClassesViewReport(s.config.reportId)===!0?Ke("no_filter",s.config.filterAccountsWithNilBalances):ge(s.element.sectionType,"no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),g=O(m.acBalanceSelector(u),s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(wx,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:p,accountBalances:g.balances,isScrolling:l,isLeaf:d,isLastNode:x,account:u,onAccountBalanceClick:h==null?void 0:(j,f,y)=>{h?.(j,f,y)}})},je=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="ac_subaccount"||s.element.data==null)return null;const m=s.element.data,g=Ge("no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),j=io(g.acBalanceSelector(m),s.config.displayOrder,s.element.numOfBalances),f=m.account.classesViewParentId?.parentClassId!=null?m.account.classesViewParentId?.parentClassId.length-1:void 0,y=s.config.reportId==="operating_expenses";return t.jsxRuntimeExports.jsx(qx,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",classDepth:f,compareMode:h,accountBalances:j.balances,isScrolling:l,isLeaf:d,isOpen:x,isLastNode:p,account:m,metadata:s.element.metadata,onClick:u,noMarginForAccount:y,onAccountBalanceClick:u==null?void 0:(S,v,C)=>{u?.(S,v,C)}})},Oe=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="ac_group_report"||s.element.data==null)return null;const m=s.element.data,g=ge(s.element.sectionType,"no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),j=O(g.acGroupBalanceSelector(m),s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(ex,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:m.accountGroupName,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,accountGroupBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},Ct=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="ac_group_subaccount"||s.element.data==null)return null;const m=s.element.data,g=Ge("no_filter",s.config.filterAccountsWithNilBalances,s.config.filterAccountGroupsWithNilBalances),j=O(g.acGroupBalanceSelector(m),s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(dx,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:m.accountGroupName,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,accountGroupBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},bt=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="section"||s.element.data==null)return null;const m=dt.getSectionColorForName(s.element.title),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(yt,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionName:s.element.title,sectionColor:m,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},Fe=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="section_with_ac_only"||s.element.data==null)return null;const m=dt.getSectionColorForName(s.element.title),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(yt,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionName:s.element.title,sectionColor:m,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},vt=(e,o,s,i,r,c,l,d,x,p,h,u)=>{if(s.element.kind!="calculated_section"||s.element.data==null)return null;const m=dt.getSectionColorForName(s.element.title),g=s.element.data,j=O(g,s.config.displayOrder,s.element.numOfBalances);return t.jsxRuntimeExports.jsx(yt,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,sectionName:s.element.title,sectionColor:m,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",compareMode:h,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,isLastNode:p,onClick:f=>{u?.(f)}})},we=(e,o,s,i,r,c,l,d,x)=>{if(o.element.kind!="ac_subentity_total")return null;const p=o.element.data,h=Ge("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances),u=p.account.classesViewParentId?.parentClassId!=null?p.account.classesViewParentId?.parentClassId.length-1:void 0,m=io(h.acBalanceSelector(p),o.config.displayOrder,o.element.numOfBalances),g=o.config.reportId==="operating_expenses"||o.config.reportId==="operating_expenses_by_classes";return t.jsxRuntimeExports.jsx(iu,{type:e,backgroundColor:i,isSticky:r,height:s,accountName:p.account.accountName,account:p,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:x,accountBalances:m.balances,isScrolling:c,noMarginForAccount:g,isLeaf:l,isLastNode:d,metadata:o.element.metadata,classDepth:u})},Re=(e,o,s,i,r,c,l,d)=>{if(s.element.kind!=="timeframe_headers"&&s.element.kind!=="timeframe_headers_with_forecast")return null;const x=fe(s.element.data,s.config.displayOrder),p=x.length>0?x[0].balanceTimeFrame:"month",h=x.map(u=>b.toTimeframeTick(u));return t.jsxRuntimeExports.jsx(ju,{treeNodeId:e,backgroundColor:r,isSticky:c,type:o,height:i,isActualVsForecastOn:s.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:s.config.mode==="this_period_vs_period_before"&&h.length>1,firstMonthOfFY:s.config.firstMonthOfFY,timeframe:p,timeframeTicks:h,compareMode:l,dataAvailable:s.config.dataAvailable,bookCloseDate:s.config.bookCloseDate,onCompareModeChanged:d})},ho=(e,o,s,i,r,c,l,d,x,p,h,u,m)=>{if(s.element.kind!="class"||s.element.data==null)return null;const g=s.element.data,j=O(g.childrenBalancesTotal,s.config.displayOrder,s.element.numOfBalances),f=h>1;return t.jsxRuntimeExports.jsx(Tx,{type:o,backgroundColor:r,isSticky:c,treeNodeId:e,height:i,className:s.element.title,classCode:s.element.data.class.accountingClassNumber,isActualVsForecastOn:s.config.mode==="actual_vs_forecast",depth:g.id.length-1,compareMode:u,sectionBalances:j.balances,isScrolling:l,isOpen:d,isLeaf:x,hasChildren:g.children.length>0,isLastNode:p,isSubClass:f,showClassAccountNumber:s.config.showClassAccountNumber,onClick:y=>{m?.(y)},metadata:s.element.metadata})},wu=(e,o,s)=>e.element.kind!=="loading_in_progress"?null:t.jsxRuntimeExports.jsx(Ln,{height:o,backgroundColor:s,title:e.element.title,numOfBalances:e.element.numOfBalances}),Ru=(e,o,s)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsxRuntimeExports.jsx(Pn,{height:o,backgroundColor:s,numOfBalances:e.element.numOfBalances}),Kt=e=>{const{height:o,data:{reportElementData:s,id:i,treeKind:r,isLeaf:c,isLastNode:l,nestingLevel:d,isFirstNode:x},isOpen:p,style:h,setOpen:u,isScrolling:m}=e,g=(y,S,v)=>{const C=c?p:!p;!c&&v==null&&(u(!p),e.onNodeCollapseToggled?.(y,!p)),e.onNodeClick?.(y,C,S,v)},j=e.treeNodePadding?.left,f=e.treeNodePadding?.right;return t.jsxRuntimeExports.jsx("div",{style:{...h,width:"auto",minWidth:"100%",paddingLeft:j,paddingRight:f},children:t.jsxRuntimeExports.jsx(mo,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:s,height:o,isSticky:e.isSticky,isScrolling:m??!1,isLeaf:c,isLastNode:l,isFirstNode:x,isOpen:p,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!c?g:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},mo=e=>e.treeKind==="name_only"?t.jsxRuntimeExports.jsx(vu,{...e}):b.isAgingReport(e.reportElementData.config.reportId)?t.jsxRuntimeExports.jsx(Eu,{...e}):b.isOpExByVendorReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(_u,{...e}):b.isPAndLClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx($u,{...e}):b.isPAndLReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(Su,{...e}):b.isDashboardClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(yu,{...e}):b.isDashboardReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(Cu,{...e}):b.isCashFlowOrBalanceSheetReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(bu,{...e}):b.isFluxAnalysisOpExReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(ku,{...e}):b.isAccountReconReport(e.reportElementData.config.reportId)===!0?t.jsxRuntimeExports.jsx(Bu,{...e}):null,$u=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,nestingLevel:h,compareMode:u,nodeClickHandler:m,onCompareModeChanged:g})=>{switch(s.element.kind){case"ac_report":return He(e,o,s,i,r,c,l,d,x,u,m);case"ac_group_report":return Oe(e,o,s,i,r,c,l,p,d,x,u,m);case"section":return bt(e,o,s,i,r,c,l,p,d,x,u,m);case"section_with_ac_only":return Fe(e,o,s,i,r,c,l,p,d,x,u,m);case"calculated_section":case"calculated_section_type1":return vt(e,o,s,i,r,c,l,p,d,x,u,m);case"title_string_only":return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return Re(e,o,s,i,r,c,u,g);case"class":return ho(e,o,s,i,r,c,l,p,d,x,h,u,m);case"ac_subaccount":return je(e,o,s,i,r,c,l,d,p,x,u,m);case"ac_subentity_total":return we(o,s,i,r,c,l,d,x,u);case"headers_loading_in_progress":return Ru(s,i,r);case"loading_in_progress":return wu(s,i,r);default:return null}},Su=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,compareMode:h,nodeClickHandler:u,onCompareModeChanged:m})=>{switch(s.element.kind){case"ac_report":return He(e,o,s,i,r,c,l,d,x,h,u);case"ac_group_report":return Oe(e,o,s,i,r,c,l,p,d,x,h,u);case"ac_subaccount":return je(e,o,s,i,r,c,l,d,p,x,h,u);case"ac_group_subaccount":return Ct(e,o,s,i,r,c,l,p,d,x,h,u);case"section":return bt(e,o,s,i,r,c,l,p,d,x,h,u);case"section_with_ac_only":return Fe(e,o,s,i,r,c,l,p,d,x,h,u);case"calculated_section":case"calculated_section_type1":return vt(e,o,s,i,r,c,l,p,d,x,h,u);case"title_string_only":return null;case"ac_subentity_total":return we(o,s,i,r,c,l,d,x,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return Re(e,o,s,i,r,c,h,m);default:return null}},yu=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,nestingLevel:h,compareMode:u,nodeClickHandler:m,onCompareModeChanged:g})=>{switch(s.element.kind){case"ac_report":return He(e,o,s,i,r,c,l,d,x,u,m);case"ac_group_report":return Oe(e,o,s,i,r,c,l,p,d,x,u,m);case"section":return Mn(e,o,s,i,r,c,l,p,d,x,u,m);case"section_with_ac_only":return Fe(e,o,s,i,r,c,l,p,d,x,u,m);case"calculated_section":case"calculated_section_type1":return Gn(e,o,s,i,r,c,l,p,d,x,u,m);case"title_string_only":return mt(e,o,s,i,r,c,l,p,d,x,u,m);case"ac_subentity_total":return we(o,s,i,r,c,l,d,x,u);case"timeframe_headers":case"timeframe_headers_with_forecast":return Re(e,o,s,i,r,c,u,g);case"class":return ho(e,o,s,i,r,c,l,p,d,x,h,u,m);case"ac_subaccount":return je(e,o,s,i,r,c,l,d,p,x,u,m);case"total":return Hn(e,o,s,i,r,c,u,d);case"headers_loading_in_progress":return fa(s,i,r);case"loading_in_progress":return ga(s,i,r);default:return null}},Cu=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,compareMode:h,nodeClickHandler:u,onCompareModeChanged:m})=>{switch(s.element.kind){case"ac_report":return pa(e,o,s,i,r,c,l,d,x,h,u);case"ac_group_report":return ha(e,o,s,i,r,c,l,p,d,x,h,u);case"ac_subaccount":return je(e,o,s,i,r,c,l,d,p,x,h,u);case"ac_group_subaccount":return Ct(e,o,s,i,r,c,l,p,d,x,h,u);case"section":return Mn(e,o,s,i,r,c,l,p,d,x,h,u);case"section_with_ac_only":return ma(e,o,s,i,r,c,l,p,d,x,h,u);case"calculated_section":case"calculated_section_type1":return Gn(e,o,s,i,r,c,l,p,d,x,h,u);case"title_string_only":return mt(e,o,s,i,r,c,l,p,d,x,h,u);case"total":return Hn(e,o,s,i,r,c,h,d);case"ac_subentity_total":return we(o,s,i,r,c,l,d,x,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return Re(e,o,s,i,r,c,h,m);default:return null}},bu=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,compareMode:h,nodeClickHandler:u,onCompareModeChanged:m})=>{switch(s.element.kind){case"ac_report":return He(e,o,s,i,r,c,l,d,x,h,u);case"ac_group_report":return Oe(e,o,s,i,r,c,l,p,d,x,h,u);case"section":return bt(e,o,s,i,r,c,l,p,d,x,h,u);case"section_with_ac_only":return Fe(e,o,s,i,r,c,l,p,d,x,h,u);case"calculated_section":return vt(e,o,s,i,r,c,l,p,d,x,h,u);case"calculated_section_type1":return or(e,s,i,r,c,l,x);case"title_string_only":return mt(e,o,s,i,r,c,l,p,d,x,h,u);case"ac_subentity_total":return we(o,s,i,r,c,l,d,x,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return Re(e,o,s,i,r,c,h,m);case"ac_subaccount":return je(e,o,s,i,r,c,l,d,p,x,h,u);case"ac_group_subaccount":return Ct(e,o,s,i,r,c,l,p,d,x,h,u);default:return null}},vu=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLeaf:d,isLastNode:x,isOpen:p,toggleCheckHandler:h})=>{switch(s.element.kind){case"checkbox_and_name_only":return vl(e,o,s,i,r,c,l,p,d,x,h);default:return null}},_u=({id:e,treeKind:o,reportElementData:s,height:i,backgroundColor:r,isSticky:c,isScrolling:l,isLastNode:d,compareMode:x,onCompareModeChanged:p})=>{switch(s.element.kind){case"loading_in_progress":case"spacer_row":return Vd(s,i,r,c);case"timeframe_headers":return Ld(s,i,c,x,r,p);case"total":return zd(e,o,s,i,c,l,r);case"vendor_row":return Pd(o,s,i,r,c,l,d);case"title_string_only":return Nd(s,i,r,c);default:return null}},Eu=({id:e,treeKind:o,reportElementData:s,height:i,isOpen:r,isSticky:c,isScrolling:l,isLastNode:d,backgroundColor:x,nodeClickHandler:p})=>{const{config:h}=s;switch(s.element.kind){case"spacer_row":return null;case"timeframe_headers":return gi(s,i,x,c,h.agingReportConfig?.sortKey,h.agingReportConfig?.sortOrder,h.agingReportConfig?.onSortOrderChanged);case"total":return wi(o,s,i,x,c);case"aging_report_row":return fi(e,s,i,r,c,d,l,x,h.agingReportConfig?.onEntityNameClick,p);case"ac_subentity_total":return ji(s,i,c,l,x);default:return null}},ku=({id:e,reportElementData:o,height:s,backgroundColor:i,isSticky:r,isScrolling:c,isLeaf:l,isLastNode:d,isFirstNode:x,isOpen:p,onFluxBalanceClick:h,nodeClickHandler:u,hoveredParentIdProps:m})=>{switch(o.element.kind){case"flux_vendor_account_class_row":return ul(e,o,i,r,c,l,d,m,h);case"flux_vendor_row":return pl(e,o,i,r,c,p,l,d,x,m,u);case"section":return hl(e,o,s,i,r,c,p,l,d,u);case"timeframe_headers":return ml(o,s,r);case"total":return gl(o,s);case"loading_in_progress":return fl(o);case"headers_loading_in_progress":return jl(o);default:return null}},Bu=({reportElementData:e,height:o,isSticky:s,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return fs(e,s);case"loading_in_progress":return gs();case"total":return js(e,o,s);case"section":return ms();case"title_string_only":return ws(e,o);case"ac_group_report":return Rs(e,o,i);default:return null}};function en(e,o,s,i){return{data:{defaultHeight:_t(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:i??Tu(e.reportElementData.config.reportId,e.reportElementData.element.kind,s,e.reportElementData.config.reportFormat),nestingLevel:s,treeKind:o,reportElementData:e.reportElementData},treeKind:o,nestingLevel:s,node:e}}function _t(e,o,s){return b.isPAndLReport(e)===!0?$s(o):b.isDashboardReport(e)===!0||b.isDashboardClassesViewReport(e)===!0?Er(o):b.isAgingReport(e)?As(o):b.isAccountReconReport(e)?$.getDefaultNodeHeight(o):b.isOpExByVendorReport(e)?_l(o):b.isFluxAnalysisOpExReport(e)?Zn(o,s):Pi(o)}function Tu(e,o,s,i){return b.isPAndLReport(e)?Ss(o,i,s):b.isDashboardReport(e)||b.isDashboardClassesViewReport(e)===!0?kr(o,i):b.isAgingReport(e)?Ws():b.isOpExByVendorReport(e)?El():b.isFluxAnalysisOpExReport(e)?Ea(o):b.isAccountReconReport(e)?$.isNodeOpenByDefault():Vi(o,i)}const Iu=a.div`
|
|
2879
|
+
top: 0;
|
|
2880
|
+
left: 0;
|
|
2881
|
+
position: sticky !important;
|
|
2882
|
+
position: -webkit-sticky !important;
|
|
2883
|
+
min-height: ${e=>e.heightValue}px;
|
|
2884
|
+
max-height: ${e=>e.heightValue}px;
|
|
2885
|
+
width: fit-content;
|
|
2886
|
+
min-width: 100%;
|
|
2887
|
+
z-index: 2;
|
|
2888
|
+
display: flex;
|
|
2889
|
+
flex-direction: column;
|
|
2890
|
+
align-items: center;
|
|
2891
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2892
|
+
box-sizing: border-box;
|
|
2893
|
+
`;function Au({height:e,backgroundColor:o,headers:s,treeKind:i,isSticky:r,compareMode:c,onCompareModeChanged:l}){return s.length===0?null:(s.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsxRuntimeExports.jsx(Iu,{heightValue:e,bgColor:o,"data-testid":n.generateDataTestId("sticky-header-report-tree"),children:s.map((d,x)=>t.jsxRuntimeExports.jsx(mo,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:_t(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:o,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:s.length-1===x,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:c,onCompareModeChanged:l},d.id))}))}const Wu=(e,o,s)=>function*(){for(let r=0;r<o.length;++r)yield en(o[r],e,0,s[o[r].id]??void 0);for(;;){const r=yield;for(let c=0;c<r.node.children.length;++c)yield en(r.node.children[c],e,r.nestingLevel+1,s[r.node.children[c].id]??void 0)}},go=k.createContext(void 0);function Lu({height:e,kind:o,rootNodes:s,compareMode:i,isSticky:r,backgroundColor:c,treeNodePadding:l,treeClassName:d,treeStyle:x,treeRef:p,treeOuterElementRef:h,infiniteLoadingProps:u,variableNodeHeightTree:m,onNodeClick:g,onCompareModeChanged:j,scrollPosition:f,onScroll:y,nodeOpenStatus:S,onNodeCollapseToggled:v,onTreeInnerElementHeightChanged:C,onToggleCheck:_,hoveredParentIdProps:I}){const A=k.useRef(null),V=k.useRef(null),P=n.usePrevious(m?.prevFetchState),N=n.usePrevious(m?.prevRefreshFetchState),[G,Y]=k.useState(0),F=h??V,Q=p??A,te=n.useWindowSizeContext(),[Z,K]=k.useState(void 0),[$e,Et]=k.useState(!1),[Se,kt]=k.useState(S),Bt=(T,U)=>{kt(Object.assign({},Se,{[T]:U})),v?.(T,U)},Tt=T=>{if(s.contentNodes.length>0)if(Object.keys(T).length>0){const U={};Object.keys(T).forEach(se=>{U[se]={open:T[se]}}),Q?.current?.recomputeTree(U)}else{const U=s.contentNodes[0].id;Q?.current?.recomputeTree({[U]:{open:!0}})}};k.useLayoutEffect(()=>{if((!t.isEqual(f,Z)||Z==null)&&F.current!=null){const T=f?.scrollLeft==null?te==="small"?0:F.current.scrollWidth:f?.scrollLeft;if(f!=null){const U={scrollTop:f.scrollTop,scrollLeft:T};K(U),T!==f?.scrollLeft&&y?.(U)}F.current.scroll({left:T,top:f?.scrollTop})}},[f]),k.useEffect(()=>{t.isEqual(S,Se)||(kt(S),Tt(S))},[S]),k.useEffect(()=>{const T=F.current,U=()=>{if(T!=null&&(Z==null||T.scrollLeft!==Z.scrollLeft||T.scrollTop!==Z.scrollTop)){const At={scrollLeft:T.scrollLeft,scrollTop:T.scrollTop};K(At),y?.(At)}},se=t.debounce(U,50);return T?.addEventListener("scroll",se),()=>{T?.removeEventListener("scroll",se)}},[F,Z,y]),k.useEffect(()=>{if(s.contentNodes.length>0){Tt(Se);const T=s.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";T!==$e&&Et(T)}},[$e,Et,s,Q,F]),k.useEffect(()=>{(m!=null&&P==="In-Progress"&&m.fetchState==="Completed"&&m.isSortApplied||m!=null&&N==="In-Progress"&&m.refreshFetchState==="Completed")&&(m.reducedFetchState==="Completed"&&m.setIsSortApplied(!1),Y(G+1))},[G,m?.fetchState,m?.isSortApplied,P,N,m]);const Ze=k.useRef(),[fo,jo]=k.useState(void 0),wo=()=>{const T=Ze.current;T!=null&&T.clientHeight>0&&T.clientHeight!=fo&&(jo(T.clientHeight),C?.(T.clientHeight))},It=k.useCallback(Wu(o,s.contentNodes,Se),[o,s]),Ro={rootNodes:s,treeNodePadding:l,backgroundColor:c,kind:o,isSticky:r,compareMode:i,onCompareModeChanged:j};return t.jsxRuntimeExports.jsx(go.Provider,{value:Ro,"data-testid":n.generateDataTestId("report-tree"),children:u==null?t.jsxRuntimeExports.jsx(t.VariableSizeTree,{className:d,style:x,ref:Q,innerRef:Ze,outerRef:F,innerElementType:lt,treeWalker:It,onItemsRendered:wo,height:e,width:"100%",children:T=>t.jsxRuntimeExports.jsx(Kt,{...T,isSticky:r.isStickyName,backgroundColor:c,treeNodePadding:l,onNodeClick:g,onNodeCollapseToggled:Bt,compareMode:i,onCompareModeChanged:j,onToggleCheck:_})}):t.jsxRuntimeExports.jsx(t.InfiniteLoader,{isItemLoaded:u.isItemLoaded,itemCount:u.itemCount+1,loadMoreItems:u.loadMoreItems,children:({onItemsRendered:T,ref:U})=>t.jsxRuntimeExports.jsx(t.VariableSizeTree,{className:d,style:x,ref:U,innerRef:Ze,outerRef:F,innerElementType:lt,treeWalker:It,onItemsRendered:T,height:e,width:"100%",children:se=>t.jsxRuntimeExports.jsx(Kt,{...se,isSticky:r.isStickyName,backgroundColor:c,treeNodePadding:l,onNodeClick:g,onNodeCollapseToggled:Bt,compareMode:i,onCompareModeChanged:j,onToggleCheck:_,hoveredParentIdProps:I})},G)})})}const lt=k.forwardRef((e,o)=>{const{children:s,style:i,...r}=e,{rootNodes:c,treeNodePadding:l,backgroundColor:d,kind:x,isSticky:p,compareMode:h,onCompareModeChanged:u}=k.useContext(go),m=c.headerNodes.reduce((y,S)=>y+_t(S.reportElementData.config.reportId,S.reportElementData.element.kind,S.isFirstNode),0),g=l?.left,j=l?.right,f=n.Space.sp8;return t.jsxRuntimeExports.jsxs("div",{ref:o,style:{...i,width:"auto",minWidth:"100%",paddingLeft:g,paddingRight:j,marginBottom:f},...r,children:[t.jsxRuntimeExports.jsx(Au,{height:m,backgroundColor:d,headers:c.headerNodes,treeKind:x,isSticky:p.isStickyHeader,compareMode:h,onCompareModeChanged:u}),s]})});lt.displayName="stickyInnerElementType";const zu=a.div`
|
|
2894
|
+
display: flex;
|
|
2895
|
+
flex: 1 0 auto;
|
|
2896
|
+
width: ${e=>e.width}px;
|
|
2897
|
+
height: ${e=>e.height}px;
|
|
2898
|
+
padding-left: ${e=>e.paddingLeft}px;
|
|
2899
|
+
background-color: ${e=>e.bgColor?.hex()};
|
|
2900
|
+
|
|
2901
|
+
& .content-scroll {
|
|
2902
|
+
overflow: auto;
|
|
2903
|
+
scrollbar-width: thin;
|
|
2904
|
+
scrollbar-color: transparent transparent;
|
|
2905
|
+
&::-webkit-scrollbar {
|
|
2906
|
+
width: ${n.Space.sp2};
|
|
2907
|
+
height: ${n.Space.sp2};
|
|
2908
|
+
background-color: transparent;
|
|
2909
|
+
}
|
|
2910
|
+
&::-webkit-scrollbar-thumb {
|
|
2911
|
+
background-color: transparent;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
&:hover {
|
|
2915
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
2916
|
+
&::-webkit-scrollbar {
|
|
2917
|
+
width: ${n.Space.sp2};
|
|
2918
|
+
height: ${n.Space.sp2};
|
|
2919
|
+
background-color: transparent;
|
|
2920
|
+
}
|
|
2921
|
+
&::-webkit-scrollbar-track {
|
|
2922
|
+
box-shadow: inset 0 0 2px ${n.Colors.scrollbarBoxShadow};
|
|
2923
|
+
-webkit-box-shadow: inset 0 0 2px ${n.Colors.scrollbarBoxShadow};
|
|
2924
|
+
background-color: transparent;
|
|
2925
|
+
}
|
|
2926
|
+
&::-webkit-scrollbar-thumb {
|
|
2927
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
2928
|
+
border-radius: 2px;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
`;function Pu({rootNodes:e,type:o,compareMode:s,isSticky:i,backgroundColor:r,treeNodePadding:c,onAccountClick:l,infiniteLoadingProps:d,variableNodeHeightTree:x,hoveredParentIdProps:p,onCompareModeChanged:h,scrollPosition:u,onScroll:m,nodeOpenStatus:g,onNodeCollapseToggled:j,onReportTableHeightChanged:f,onToggleCheck:y}){return t.jsxRuntimeExports.jsx(t.AutoSizer,{children:({height:S,width:v})=>t.jsxRuntimeExports.jsx(zu,{"data-testid":n.generateDataTestId("report-tree-container"),height:S,width:v,paddingLeft:c?.left??0,bgColor:r,children:t.jsxRuntimeExports.jsx(Lu,{"data-testid":n.generateDataTestId("report-tree"),treeClassName:"content-scroll",height:S,kind:o,rootNodes:e,compareMode:s,isSticky:i,backgroundColor:r,treeNodePadding:c!=null?{left:0,right:c?.right}:void 0,infiniteLoadingProps:d,variableNodeHeightTree:x,hoveredParentIdProps:p,onNodeClick:l==null?void 0:(C,_,I,A)=>{I!=null&&A!=null&&l(I,A)},onCompareModeChanged:h,scrollPosition:u,onScroll:m,nodeOpenStatus:g,onNodeCollapseToggled:j,onTreeInnerElementHeightChanged:f,onToggleCheck:y})})})}exports.CollapsableReportTable=Pu;exports.FLUX_MAX_SELECTION_LIMIT=Le;exports.balanceToAmountString=M;exports.getBalances=O;exports.getSelectorApplyingFilters=ge;exports.getSelectorApplyingFilters$1=Ge;exports.getTimeframeTickLabel=le;exports.isForecastBalanceKind=ae;exports.mapFluxBalancesByMonthToBalances=On;exports.uniqueID=$o;
|