@zeniai/web-components 3.17.21 → 3.17.23
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--3bIj7tB.js +160 -0
- package/dist/ACHDetailsPage-Bce0TC1N.cjs +21 -0
- package/dist/AIPerformancePage-DBCeKLy6.js +1345 -0
- package/dist/AIPerformancePage-RxXbNii5.cjs +539 -0
- package/dist/AccountInfoPage-CITo61GF.js +78 -0
- package/dist/AccountInfoPage-CjcpDIts.cjs +18 -0
- package/dist/AccountInfoPageContent-BuAQ1QNF.cjs +149 -0
- package/dist/AccountInfoPageContent-Zb49sPy6.js +428 -0
- package/dist/AccountLockedInfoModal-BcokXO2D.js +125 -0
- package/dist/AccountLockedInfoModal-CPcKPURW.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-BWydimgX.js +689 -0
- package/dist/AccountReconDetailsDrawerPage-DNgDgCEB.cjs +239 -0
- package/dist/AccountRow-XnGMYfcj.js +1014 -0
- package/dist/AccountRow-nK2TP1Jo.cjs +298 -0
- package/dist/AccountsPromoCardStack-BQeRFxKs.js +664 -0
- package/dist/AccountsPromoCardStack-C-2Oo7U7.cjs +207 -0
- package/dist/AddAddressForCardDrawer-DOXNDswm.js +82 -0
- package/dist/AddAddressForCardDrawer-SWZ_OnFs.cjs +6 -0
- package/dist/AddToWalletPage-D4yEGRLZ.js +642 -0
- package/dist/AddToWalletPage-DOz2i6cP.cjs +344 -0
- package/dist/AgingReportsPage-Bos6Ptg1.js +827 -0
- package/dist/AgingReportsPage-DDkCdYCu.cjs +79 -0
- package/dist/AllUserItems-BRfNKMVH.cjs +192 -0
- package/dist/AllUserItems-JjQPLLSr.js +979 -0
- package/dist/ApAgingDetailPage-CIncp989.cjs +46 -0
- package/dist/ApAgingDetailPage-Y4VWhY78.js +239 -0
- package/dist/AppBasePage-CaAadL3t.js +120 -0
- package/dist/AppBasePage-DPQDCCzC.cjs +71 -0
- package/dist/AppDrawerContent-BKsLlcGq.js +379 -0
- package/dist/AppDrawerContent-CdwSGedy.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-sHR8nTbf.js +145 -0
- package/dist/ApprovalRulesSettingsPage-z_F5YetQ.cjs +47 -0
- package/dist/ArAgingChart-Cn2M7EaL.js +530 -0
- package/dist/ArAgingChart-CqdTKOE9.cjs +24 -0
- package/dist/ArAgingDetailPage-D0EoLxTi.cjs +46 -0
- package/dist/ArAgingDetailPage-vdpIT5_o.js +243 -0
- package/dist/AttachmentView-3kijM164.cjs +101 -0
- package/dist/AttachmentView-QyMOK54a.js +260 -0
- package/dist/BankAccountSection-BexfgJ02.js +398 -0
- package/dist/BankAccountSection-CH8OR3h5.cjs +79 -0
- package/dist/BankAccountWarningSection-BJvHJfev.cjs +51 -0
- package/dist/BankAccountWarningSection-MLEqvFgR.js +110 -0
- package/dist/BankConnectionsSettingsPage-BMbU5Z--.cjs +425 -0
- package/dist/BankConnectionsSettingsPage-DP9KRNaJ.js +1694 -0
- package/dist/BillDetailPage-Deb8YIkz.cjs +266 -0
- package/dist/BillDetailPage-jNE4rg05.js +1806 -0
- package/dist/BillPayApprovalRuleDetailPage-C8hROA4_.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-DHSf15hu.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-BQywFC8e.js +415 -0
- package/dist/BillPayApprovalRulesPage-CzRiiw66.cjs +235 -0
- package/dist/BillPayPromoPage-CPQ4ri2R.cjs +84 -0
- package/dist/BillPayPromoPage-D2OmNki0.js +292 -0
- package/dist/BillPaySetUpPage-C81gx8-a.js +408 -0
- package/dist/BillPaySetUpPage-F3nh2awP.cjs +42 -0
- package/dist/BillingSettingsPage-CIUisdZK.js +336 -0
- package/dist/BillingSettingsPage-DMe3FNxR.cjs +44 -0
- package/dist/BillsBulkReviewDrawerPage-BJeYCx15.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-DqjW9AqP.js +216 -0
- package/dist/BoxItem-CbmwnjCE.cjs +53 -0
- package/dist/BoxItem-YBSbdQ7d.js +118 -0
- package/dist/BusinessVerificationPage-BEO5me4h.cjs +138 -0
- package/dist/BusinessVerificationPage-DeJbdegJ.js +716 -0
- package/dist/BusyIndication-DUFh82u9.js +19 -0
- package/dist/BusyIndication-DkIEcW1w.cjs +9 -0
- package/dist/CardNumberSubText-BEZuAkE3.cjs +21 -0
- package/dist/CardNumberSubText-Bq9G3f38.js +59 -0
- package/dist/CashbackDetailPage-C-0eaJVF.js +825 -0
- package/dist/CashbackDetailPage-Up8yF5B_.cjs +285 -0
- package/dist/ChargeCardDetailPage-CBB5up99.js +5454 -0
- package/dist/ChargeCardDetailPage-CEqACdcZ.cjs +1462 -0
- package/dist/ChargeCardListPage-52TDMfjH.js +1797 -0
- package/dist/ChargeCardListPage-CeIbhe7k.cjs +412 -0
- package/dist/ChargeCardListTable-BdHKiQtr.js +2901 -0
- package/dist/ChargeCardListTable-DpO64IZ4.cjs +711 -0
- package/dist/ChargeCardPromoPage-C9nxDmUf.cjs +222 -0
- package/dist/ChargeCardPromoPage-D43dBHNx.js +816 -0
- package/dist/ChargeCardSetupPage-BPZ4aQF0.cjs +36 -0
- package/dist/ChargeCardSetupPage-CgzI8qMq.js +359 -0
- package/dist/ChargeCardStatementsPage-C1PYOcuH.js +243 -0
- package/dist/ChargeCardStatementsPage-CF-wIXAP.cjs +60 -0
- package/dist/CheckDepositDrawerPage-CrYCkxKl.js +726 -0
- package/dist/CheckDepositDrawerPage-tJCZo-VF.cjs +206 -0
- package/dist/CollapsableReportTable-BBjbBYt6.cjs +2844 -0
- package/dist/CollapsableReportTable-CvXUxopt.js +11659 -0
- package/dist/CompanyOfficerDetailsSection-Cqgf3-No.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-DYAECWJz.js +1633 -0
- package/dist/CompanyPassportCard-B3RtMm8i.cjs +42 -0
- package/dist/CompanyPassportCard-CLoIl-hE.js +146 -0
- package/dist/CompanyPassportPage-B3opPlfY.js +2160 -0
- package/dist/CompanyPassportPage-CAp8vHg0.cjs +574 -0
- package/dist/CompleteProfile-DKCP0ZOq.js +301 -0
- package/dist/CompleteProfile-Djxvr2K2.cjs +52 -0
- package/dist/ConfettiBurst-Ccs36Y8q.js +37 -0
- package/dist/ConfettiBurst-DX8r4F-Y.cjs +1 -0
- package/dist/CreateOrEditVendorPage-CC5jroI_.js +763 -0
- package/dist/CreateOrEditVendorPage-KpjnvQyi.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-B-RUm4Qi.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-BNSfaY2k.js +1170 -0
- package/dist/CurrencySelectField-CfFOlEnM.js +348 -0
- package/dist/CurrencySelectField-D9kR4Bma.cjs +139 -0
- package/dist/CustomerOnboardingActivationPage-BBDxCWY3.cjs +88 -0
- package/dist/CustomerOnboardingActivationPage-Cac_xdpd.js +143 -0
- package/dist/CustomerOnboardingContainerPage-ChGck4aO.cjs +1 -0
- package/dist/CustomerOnboardingContainerPage-DOZu4r0V.js +7 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-Cktian-X.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-ClgIgMZN.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-B24EXWdY.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-BVW1Hd-G.js +424 -0
- package/dist/CustomerOnboardingPage-CSTODxiL.js +1094 -0
- package/dist/CustomerOnboardingPage-LuDHAObc.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-CkR-ZGsW.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-dcjDfxm3.js +348 -0
- package/dist/Dashboard-426loF64.cjs +1551 -0
- package/dist/Dashboard-DHwjF8AD.js +5540 -0
- package/dist/DashboardReportPage-BbFqvGcc.js +2536 -0
- package/dist/DashboardReportPage-C2w537eK.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-Aepv0x8n.js +53 -0
- package/dist/DashboardSidebarBackgroundAnimation-Dbkx-PfF.cjs +12 -0
- package/dist/DepositAccTransactionItem-B6bYU73-.js +112 -0
- package/dist/DepositAccTransactionItem-BGxDmObf.cjs +76 -0
- package/dist/DepositAccTransactionListPage-DGpCUumX.cjs +66 -0
- package/dist/DepositAccTransactionListPage-DdCwnDuw.js +152 -0
- package/dist/DomesticWireDetailsPage-BVD0yAyx.cjs +21 -0
- package/dist/DomesticWireDetailsPage-DXlw9Ok-.js +189 -0
- package/dist/DownloadOverlay-CHRNfhJB.cjs +439 -0
- package/dist/DownloadOverlay-KKP34aVT.js +2148 -0
- package/dist/DrawerPage-DHx5jAsN.cjs +118 -0
- package/dist/DrawerPage-DXGL0DM7.js +208 -0
- package/dist/EditPeoplePage-CgrsD_MU.cjs +55 -0
- package/dist/EditPeoplePage-DWmJ1PpR.js +392 -0
- package/dist/EditReimbursementDetailPage-B_5V1IzS.js +4531 -0
- package/dist/EditReimbursementDetailPage-z_gbJlZD.cjs +865 -0
- package/dist/EmptySearchResults-ClG4E3Nt.cjs +46 -0
- package/dist/EmptySearchResults-D-MV1x2t.js +70 -0
- package/dist/EntityDetailPage-BUzV8V9O.js +82 -0
- package/dist/EntityDetailPage-Enf177GI.cjs +18 -0
- package/dist/EntitySummarySection-Bc_-AfM5.cjs +149 -0
- package/dist/EntitySummarySection-CdjupOWB.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-BSND0MgK.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-Bx47Uuzu.js +807 -0
- package/dist/ExpenseAutomationPage-DESucP2r.cjs +1650 -0
- package/dist/ExpenseAutomationPage-aVCW740N.js +11611 -0
- package/dist/ExpressPayPage-Dh-RrgjK.cjs +168 -0
- package/dist/ExpressPayPage-xIDJP3--.js +1136 -0
- package/dist/FeaturePreviewPage-BeGkbhpj.js +114 -0
- package/dist/FeaturePreviewPage-CGOTvsUo.cjs +11 -0
- package/dist/FollowStepsSection-9Bp032CO.js +1313 -0
- package/dist/FollowStepsSection-B8vmGCW8.cjs +390 -0
- package/dist/GlobalReviewListPage-BKgbn5KU.js +1674 -0
- package/dist/GlobalReviewListPage-IBr7c1Uh.cjs +291 -0
- package/dist/InformationCardStack-1UnpvdMc.cjs +31 -0
- package/dist/InformationCardStack-DR09Frl5.js +219 -0
- package/dist/InsightsCardStack-Bs9n7ddB.js +305 -0
- package/dist/InsightsCardStack-DXz1DL6e.cjs +79 -0
- package/dist/InsightsSection-Bt4Z2mKl.js +97 -0
- package/dist/InsightsSection-QvsKfrbp.cjs +27 -0
- package/dist/IntegrationsSettingsPage-Ce3RYvgj.js +136 -0
- package/dist/IntegrationsSettingsPage-DyjrIlJW.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-DMIIxu_R.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-Dl6FL0Lc.js +753 -0
- package/dist/InternationalWireVerificationPage-DmS-4mgP.cjs +292 -0
- package/dist/InternationalWireVerificationPage-MYSltOya.js +877 -0
- package/dist/InviteFormPage-C0ezbQfC.js +873 -0
- package/dist/InviteFormPage-XeaqAK4Z.cjs +312 -0
- package/dist/InvitePageListView-CAQS3fL-.cjs +739 -0
- package/dist/InvitePageListView-SMhlCNKA.js +1764 -0
- package/dist/InvitePeoplePage-DcZNTwsL.cjs +12 -0
- package/dist/InvitePeoplePage-Dna0gg0J.js +286 -0
- package/dist/InvoiceUploadSection-B23zDloo.cjs +140 -0
- package/dist/InvoiceUploadSection-QGU5U32X.js +467 -0
- package/dist/IssueChargeCardPage-D5ruhnk6.cjs +532 -0
- package/dist/IssueChargeCardPage-jai5Nd4c.js +2880 -0
- package/dist/LabeledAddressValue-DWfCIr2D.cjs +49 -0
- package/dist/LabeledAddressValue-cvWoRExB.js +115 -0
- package/dist/LabeledAddressValueField-BewnvHGP.js +130 -0
- package/dist/LabeledAddressValueField-Disquh-x.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-DFKeD5HK.js +73 -0
- package/dist/LabeledControlledCheckBoxField-HNw1HCS0.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-CUsm7YIk.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-nc8iZ1C1.js +515 -0
- package/dist/LabeledDocumentField-DmRNRSkb.js +147 -0
- package/dist/LabeledDocumentField-V1UuS3Na.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-BNh0KiD4.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-BP1jmZf7.js +163 -0
- package/dist/LabeledEmailInputField-DWn0Tg14.js +425 -0
- package/dist/LabeledEmailInputField-DrunL5p6.cjs +182 -0
- package/dist/LabeledItemWithButton-7lDKaa_R.cjs +21 -0
- package/dist/LabeledItemWithButton-S79vyWRT.js +74 -0
- package/dist/LabeledNameField-Cf90Gkaz.cjs +141 -0
- package/dist/LabeledNameField-CuPRtF_-.js +293 -0
- package/dist/LabeledSingleSelectField-6y1Sdk2h.cjs +136 -0
- package/dist/LabeledSingleSelectField-Db0ktCAw.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-B_QO_Yrq.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-BsDrphVm.js +103 -0
- package/dist/LabeledText-CIupsEGL.js +103 -0
- package/dist/LabeledText-D3WJZbsa.cjs +42 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-BZy1ETKQ.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-ABd0wUiz.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-CDmiz3py.js +975 -0
- package/dist/LinkJETransactionPage-BtUXXguK.js +406 -0
- package/dist/LinkJETransactionPage-DSjo2Gc0.cjs +98 -0
- package/dist/LockCardPage-Da4a_ZYR.cjs +623 -0
- package/dist/LockCardPage-TzEwLGD1.js +2032 -0
- package/dist/LowBalancePopup-BWD6Kz-D.js +219 -0
- package/dist/LowBalancePopup-H3Q6EYKy.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-CZQ8tUTD.js +39 -0
- package/dist/MagicLinkACHDetailsPage-DWvl3e63.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DHZY9sKi.js +44 -0
- package/dist/MagicLinkDomesticWireDetailsPage-g-qdkCY1.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-BJtMjz1M.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CUescH9F.cjs +1 -0
- package/dist/MagicLinkSuccessPage-BSbYAHOp.cjs +31 -0
- package/dist/MagicLinkSuccessPage-DQAUDzEV.js +59 -0
- package/dist/MagicLinkTitleSection-Bo7pxruh.cjs +17 -0
- package/dist/MagicLinkTitleSection-JcGSlbn4.js +40 -0
- package/dist/MailingDetailsSection-Ch5XvR8o.js +74 -0
- package/dist/MailingDetailsSection-Cwl6XFEa.cjs +21 -0
- package/dist/MatchingOperatorDropdown-DEeY65sC.cjs +130 -0
- package/dist/MatchingOperatorDropdown-kvwWenae.js +572 -0
- package/dist/Menu-B05IRjpP.js +110 -0
- package/dist/Menu-CqOC_6hs.cjs +17 -0
- package/dist/MoreMenuButton-Dba5DmG_.js +569 -0
- package/dist/MoreMenuButton-rMek8g8J.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-D2a7LgLg.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-f_dGftqG.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-OGVuTLGI.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-pDexjhqy.js +168 -0
- package/dist/MyProfileSettingsPage-CRkrD2Bn.js +641 -0
- package/dist/MyProfileSettingsPage-S3lrFX27.cjs +85 -0
- package/dist/NavBarWithPicker-9HjZDzt5.js +106 -0
- package/dist/NavBarWithPicker-Beox1BwB.cjs +30 -0
- package/dist/NavigationArrow-CXv40kSe.cjs +47 -0
- package/dist/NavigationArrow-CgBj8o4H.js +88 -0
- package/dist/NavigationDots-BcSXYcwF.js +44 -0
- package/dist/NavigationDots-KfJ3zjIn.cjs +15 -0
- package/dist/NewGlobalMerchantPage-B5iZoIiT.cjs +160 -0
- package/dist/NewGlobalMerchantPage-Dv9JrWDT.js +543 -0
- package/dist/NoDataChart-BLWfXz_e.cjs +26 -0
- package/dist/NoDataChart-tkUQHi-b.js +58 -0
- package/dist/NoDataTable-DHZ1gQeV.js +27 -0
- package/dist/NoDataTable-Dz3bj56a.cjs +8 -0
- package/dist/NotFoundPage-BDej-j1f.cjs +46 -0
- package/dist/NotFoundPage-D59UVi8i.js +71 -0
- package/dist/NotificationSettingsPage-ikoqu84y.cjs +163 -0
- package/dist/NotificationSettingsPage-xVOogGxf.js +541 -0
- package/dist/NotificationsListConfig-CkDLXlK_.js +10 -0
- package/dist/NotificationsListConfig-CxMJSEmQ.cjs +1 -0
- package/dist/NotificationsPage-C8zx5kJx.js +2664 -0
- package/dist/NotificationsPage-DMfa7VDo.cjs +685 -0
- package/dist/OpExByVendorPage-BaUEnLMo.js +1058 -0
- package/dist/OpExByVendorPage-BdpVv8gq.cjs +100 -0
- package/dist/PandLWithForecastPage-BKWEOfwP.js +563 -0
- package/dist/PandLWithForecastPage-DzolTXCG.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-Ddm0Q_3J.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-O7JNvhiO.cjs +106 -0
- package/dist/PeoplePage-ChBsx1YC.js +1994 -0
- package/dist/PeoplePage-D0qelj9j.cjs +675 -0
- package/dist/ProductsCarousel-1Tx4kMJ2.cjs +142 -0
- package/dist/ProductsCarousel-CaOQupY4.js +309 -0
- package/dist/PromoBaseCards-DGw2llWe.cjs +218 -0
- package/dist/PromoBaseCards-DeJ4J5Lp.js +356 -0
- package/dist/QBOConnectionDialog--nz5v12t.js +115 -0
- package/dist/QBOConnectionDialog-9z7aJPzg.cjs +51 -0
- package/dist/QBOSetupSection-ChsVG7EE.cjs +79 -0
- package/dist/QBOSetupSection-DQTH1dAT.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BottOscg.js +245 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DBp69s4w.cjs +24 -0
- package/dist/ReimbursementApprovalRulesPage-B46nrYDg.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-B6kefRZS.cjs +237 -0
- package/dist/ReimbursementDetailPage-BlTxw4XU.cjs +314 -0
- package/dist/ReimbursementDetailPage-DvSn2LUG.js +1514 -0
- package/dist/ReimbursementPromoPage-BKVJu-vF.cjs +84 -0
- package/dist/ReimbursementPromoPage-DRItpn0n.js +363 -0
- package/dist/ReimbursementSetUpPage-CRnE1XYI.js +663 -0
- package/dist/ReimbursementSetUpPage-CVaKsThs.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-C6Cn3AOg.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-DOwy3NGF.cjs +1 -0
- package/dist/ReloadCard-CRQf0INS.js +137 -0
- package/dist/ReloadCard-Dsb5u2mF.cjs +26 -0
- package/dist/ReloadContainer-BcEyMevj.cjs +596 -0
- package/dist/ReloadContainer-CnmKmBnz.js +2165 -0
- package/dist/ReportTableViewSelector-Dj9qmDS0.js +689 -0
- package/dist/ReportTableViewSelector-xnQz9oHr.cjs +150 -0
- package/dist/ReportsPage-BJmkDtu3.js +1315 -0
- package/dist/ReportsPage-CIqvhanu.cjs +121 -0
- package/dist/RevenueChart-5p0s70eI.cjs +280 -0
- package/dist/RevenueChart-LvTct9qg.js +2240 -0
- package/dist/ReviewDetailsPage-CDWKsdgl.js +1073 -0
- package/dist/ReviewDetailsPage-CeW_Jxtg.cjs +290 -0
- package/dist/ReviewOverlay-Bh8LAnRM.js +299 -0
- package/dist/ReviewOverlay-Bn1XigaX.cjs +152 -0
- package/dist/RoleWithToolTip-39CAkuTr.cjs +22 -0
- package/dist/RoleWithToolTip-BHHwWcYs.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-C4uqfklp.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-C_nki9xG.js +806 -0
- package/dist/ScheduleDetailsPage-BXmAqbuh.js +726 -0
- package/dist/ScheduleDetailsPage-DW6Xby4L.cjs +37 -0
- package/dist/ScheduleSequenceTable-BePVgFIB.js +1261 -0
- package/dist/ScheduleSequenceTable-BqaHBkIG.cjs +324 -0
- package/dist/SetUpAccountSection-B1mXaFmw.js +1469 -0
- package/dist/SetUpAccountSection-TlhLhXaX.cjs +378 -0
- package/dist/SignIn-B8qL3jmy.js +1155 -0
- package/dist/SignIn-Bf8uW5CJ.cjs +463 -0
- package/dist/SpendManagementListViewPage-C6VUQ-o3.cjs +122 -0
- package/dist/SpendManagementListViewPage-D-XwxN9o.js +627 -0
- package/dist/SpendManagementPerTabPage-CF7D2umh.js +2735 -0
- package/dist/SpendManagementPerTabPage-bG-JipO4.cjs +754 -0
- package/dist/SpendManagementSection-Bv3yedhF.cjs +230 -0
- package/dist/SpendManagementSection-CIqYxYxX.js +1043 -0
- package/dist/StatementItem-Cj9_LMwP.js +81 -0
- package/dist/StatementItem-CvjVP6Uq.cjs +31 -0
- package/dist/StatementsPage-CB8LocUZ.js +130 -0
- package/dist/StatementsPage-CBIPI7YL.cjs +58 -0
- package/dist/StatusSwitcher-DetjWSRH.js +319 -0
- package/dist/StatusSwitcher-Ds193fem.cjs +120 -0
- package/dist/SubTabSwitcher-DNqrmpKa.js +113 -0
- package/dist/SubTabSwitcher-DcGzBkwr.cjs +58 -0
- package/dist/SuccessAnimation-BzcI83xe.js +52 -0
- package/dist/SuccessAnimation-DGo0Foa2.cjs +13 -0
- package/dist/SummaryCard-CxlxmBvk.js +25 -0
- package/dist/SummaryCard-p3gFZGdx.cjs +1 -0
- package/dist/TaskDetailPage-CRslLIgr.cjs +775 -0
- package/dist/TaskDetailPage-D6ewkNSJ.js +2533 -0
- package/dist/TaskListRow-BXrd2F6w.js +1950 -0
- package/dist/TaskListRow-WD55HpR-.cjs +556 -0
- package/dist/TaskManagementPage-CstL9d4o.cjs +508 -0
- package/dist/TaskManagementPage-zHTW1LJ-.js +1935 -0
- package/dist/TimeRangeSwitcher-8D64-X4u.js +265 -0
- package/dist/TimeRangeSwitcher-B1MPWNMD.cjs +64 -0
- package/dist/TimeframeSwitcher-CaFL4oi3.cjs +31 -0
- package/dist/TimeframeSwitcher-YicRGCkf.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-DMxvQb-y.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-mP6ezXyM.js +157 -0
- package/dist/TopExCard-B-1e7Gnk.cjs +38 -0
- package/dist/TopExCard-BDEoKFUO.js +569 -0
- package/dist/TopExDetailPage-BvWYA7hs.cjs +132 -0
- package/dist/TopExDetailPage-CLUf9sHg.js +318 -0
- package/dist/TransactionDetailPage-C-GKDIp2.js +5238 -0
- package/dist/TransactionDetailPage-CiIi12tG.cjs +912 -0
- package/dist/TransactionList-BqQVYWs_.js +558 -0
- package/dist/TransactionList-dknNaGx0.cjs +147 -0
- package/dist/TransactionListBig-CDgdq8hU.js +658 -0
- package/dist/TransactionListBig-D0LvyruV.cjs +284 -0
- package/dist/TransactionListPage-B2o3KOsl.cjs +35 -0
- package/dist/TransactionListPage-CyGTX1pW.js +145 -0
- package/dist/TransactionVendorDetailPage-BRBorba3.cjs +80 -0
- package/dist/TransactionVendorDetailPage-NKocfHyN.js +425 -0
- package/dist/TransferDrawerPage-U1FSnzFd.cjs +362 -0
- package/dist/TransferDrawerPage-qNh4Fww2.js +1436 -0
- package/dist/TreasuryOverviewPage-03OXZ-Ps.cjs +708 -0
- package/dist/TreasuryOverviewPage-D1RQYkoX.js +1890 -0
- package/dist/TreasuryPromoPage-CNBft56x.cjs +505 -0
- package/dist/TreasuryPromoPage-najiDjYG.js +1123 -0
- package/dist/TreasuryStatementsPage-CFg5xGC9.cjs +58 -0
- package/dist/TreasuryStatementsPage-CRR-Df5x.js +131 -0
- package/dist/TreasuryTaxLetterPage-BkWZNx22.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-vKXs7eCx.js +131 -0
- package/dist/TrendChart-CIxdW5-b.cjs +16 -0
- package/dist/TrendChart-DtubLSsW.js +334 -0
- package/dist/TrendWithTransactions-CvQVkAqY.cjs +116 -0
- package/dist/TrendWithTransactions-DB5hmoGk.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-2nbyrnpd.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-ldBfy4n9.js +1159 -0
- package/dist/UnitIntegrationPage-CbxnbqHj.cjs +67 -0
- package/dist/UnitIntegrationPage-DPHlAm3E.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BCAqhxrA.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-C2kqDNTp.js +211 -0
- package/dist/Vendor2FAPopup-B9Q254BN.cjs +1 -0
- package/dist/Vendor2FAPopup-_DrX-sZ2.js +69 -0
- package/dist/VendorACHDetailsPage-B4s5hBOx.cjs +1 -0
- package/dist/VendorACHDetailsPage-ims8AKLH.js +43 -0
- package/dist/VendorDetailPage-BCgLMBtD.cjs +257 -0
- package/dist/VendorDetailPage-dh7UBGAL.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-C_28sDKW.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-qgj8HCp9.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-C3J61ItT.cjs +175 -0
- package/dist/VendorFiling1099EditablePage-CGEA0mkh.js +842 -0
- package/dist/VendorFirstReviewPage-BGktoc9W.js +2748 -0
- package/dist/VendorFirstReviewPage-CbTyafFR.cjs +730 -0
- package/dist/VendorInternationalWireDetailsPage-DctGPZvD.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-DidLa6Yx.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-COJQiCwd.cjs +1 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-YqE835gy.js +52 -0
- package/dist/VendorsAccountsSection-BgQNd86u.cjs +68 -0
- package/dist/VendorsAccountsSection-BtjrsclQ.js +279 -0
- package/dist/VerifyDevice-CsE2s3wk.cjs +112 -0
- package/dist/VerifyDevice-DkibYc6v.js +298 -0
- package/dist/VideoPlayer-C8VeeJIx.js +170 -0
- package/dist/VideoPlayer-TVyStE_3.cjs +77 -0
- package/dist/VideoPopup-Cmj6Eud9.cjs +31 -0
- package/dist/VideoPopup-aA7dkXbZ.js +60 -0
- package/dist/WarningsDrawerPage-CA0EogPY.js +228 -0
- package/dist/WarningsDrawerPage-NT0D3iht.cjs +92 -0
- package/dist/ZeniAccountDetailPage-B9ScVnS-.cjs +300 -0
- package/dist/ZeniAccountDetailPage-Z7ZXcJ98.js +908 -0
- package/dist/ZeniAccountListViewPage-CllLl65J.js +1078 -0
- package/dist/ZeniAccountListViewPage-CuXehTPl.cjs +441 -0
- package/dist/ZeniAccountNavBarPieces-CHXbVcQE.js +89 -0
- package/dist/ZeniAccountNavBarPieces-wO57l94P.cjs +14 -0
- package/dist/ZeniAccountPromoPage-DAtyHUfj.js +522 -0
- package/dist/ZeniAccountPromoPage-DHMtS3CY.cjs +184 -0
- package/dist/ZeniAccountSetupPage-Bli3kD0s.cjs +36 -0
- package/dist/ZeniAccountSetupPage-Cy6_fMVK.js +309 -0
- package/dist/ZeniAvatar-DZT77Xks.js +34 -0
- package/dist/ZeniAvatar-DaRPOzH9.cjs +13 -0
- package/dist/ZeniCopyright-Cot4wlyu.cjs +1 -0
- package/dist/ZeniCopyright-D5JfDH77.js +9 -0
- package/dist/ZeniDatePicker-ClsW5nLm.cjs +187 -0
- package/dist/ZeniDatePicker-CqXa9j-j.js +386 -0
- package/dist/ZeniTransferAmountSlider-B_ANWWSd.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-Bk2gg7DY.js +215 -0
- package/dist/analyticsHelper-Cnk2OUU2.js +65 -0
- package/dist/analyticsHelper-DSyZ24qg.cjs +1 -0
- package/dist/appLocale.d.ts +0 -3
- package/dist/calculateSize-BgFPkt6t.js +22 -0
- package/dist/calculateSize-DBfTLaXt.cjs +1 -0
- package/dist/chartTypes-C1faDGpZ.cjs +1 -0
- package/dist/chartTypes-CMIndIax.js +47 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-B3YyKemv.js +22 -0
- package/dist/common-L7NG1H7q.cjs +1 -0
- package/dist/commonDimensions-B9zl7ERo.cjs +1 -0
- package/dist/commonDimensions-DSS8XDHZ.js +13 -0
- package/dist/components/spendManagement/billPay/billPaySetUp/BillPayApprovalRuleDetailPage.d.ts +1 -3
- package/dist/components/spendManagement/common/SpendManagementListViewPage.d.ts +0 -2
- package/dist/components/spendManagement/common/SpendManagementPerTabPage.d.ts +1 -3
- package/dist/components/spendManagement/reimbursement/reimbursementSetUp/ReimbursementApprovalRuleDetailPage.d.ts +1 -3
- package/dist/detailCommon-BPAEuNPW.cjs +38 -0
- package/dist/detailCommon-DWd4agOz.js +124 -0
- package/dist/downloadPdf-BC2OCPV9.cjs +1 -0
- package/dist/downloadPdf-BCoq8NLc.js +32 -0
- package/dist/index-DOFSm78O.js +92488 -0
- package/dist/index-DU9PIUCs.cjs +21200 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-D0TPaOhx.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-Dgkep7PZ.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-DF-WWO6U.js +387 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-nHEwDaGU.cjs +1 -0
- package/dist/mapSpacerToTreeNode-CumKhTYV.js +25 -0
- package/dist/mapSpacerToTreeNode-DwetLL1H.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-B7u3Tzxc.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-BNmiGIda.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-BttFKWAb.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CBfPdKyR.js +24 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N.js +32 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Det6NGLN.cjs +1 -0
- package/dist/sectionColor-C8lfESC9.cjs +1 -0
- package/dist/sectionColor-DDIYYuUy.js +32 -0
- package/dist/strings/strings-en-in.d.ts +0 -3
- package/dist/strings/strings.d.ts +0 -3
- package/dist/toCOABalancesWithID-ChK2hvqQ.cjs +1 -0
- package/dist/toCOABalancesWithID-v28KjzUb.js +8 -0
- package/dist/toChartData-BBqD25rt.cjs +1 -0
- package/dist/toChartData-DuH-6FTe.js +76 -0
- package/dist/uploadAttachment-BaKlFAi4.cjs +286 -0
- package/dist/uploadAttachment-BkoEZkOd.js +952 -0
- package/dist/zeniDatePicker.helpers-D5akBdmK.cjs +1 -0
- package/dist/zeniDatePicker.helpers-DABdb60F.js +14 -0
- package/package.json +3 -3
- package/dist/ACHDetailsPage-4G5AueeR.cjs +0 -21
- package/dist/ACHDetailsPage-Cmt4zlsa.js +0 -160
- package/dist/AIPerformancePage-Bll3cTy1.js +0 -1345
- package/dist/AIPerformancePage-JuKaRJck.cjs +0 -539
- package/dist/AccountInfoPage-CiC1GDbb.cjs +0 -18
- package/dist/AccountInfoPage-D2IedGAy.js +0 -78
- package/dist/AccountInfoPageContent-9wbA8niq.js +0 -428
- package/dist/AccountInfoPageContent-CF0KOcYU.cjs +0 -149
- package/dist/AccountLockedInfoModal-CK60IPfe.cjs +0 -59
- package/dist/AccountLockedInfoModal-CLvVkdLW.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-BEiwLjZA.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-BXa1TZA0.js +0 -689
- package/dist/AccountRow-Ba39SxP8.js +0 -1014
- package/dist/AccountRow-BmYbzIab.cjs +0 -298
- package/dist/AccountsPromoCardStack-C_rR_7RS.cjs +0 -207
- package/dist/AccountsPromoCardStack-W5TW8HPU.js +0 -664
- package/dist/AddAddressForCardDrawer-G5JA0Uie.cjs +0 -6
- package/dist/AddAddressForCardDrawer-nEnaGKnm.js +0 -82
- package/dist/AddToWalletPage-Boz-pUz_.cjs +0 -344
- package/dist/AddToWalletPage-CQYHG0Yj.js +0 -642
- package/dist/AgingReportsPage-BWCU11pF.js +0 -827
- package/dist/AgingReportsPage-DU7JtmYz.cjs +0 -79
- package/dist/AllUserItems-DPxoQeZA.js +0 -979
- package/dist/AllUserItems-e1VuopdL.cjs +0 -192
- package/dist/ApAgingDetailPage-0Ci4cm_9.cjs +0 -46
- package/dist/ApAgingDetailPage-cslGsO08.js +0 -239
- package/dist/AppBasePage-BZINcjPW.js +0 -120
- package/dist/AppBasePage-DI326KEN.cjs +0 -71
- package/dist/AppDrawerContent-BfuH8oer.cjs +0 -91
- package/dist/AppDrawerContent-V7jCH_90.js +0 -379
- package/dist/ApprovalRulesSettingsPage-BC6CLesU.js +0 -145
- package/dist/ApprovalRulesSettingsPage-BtTq4UeR.cjs +0 -47
- package/dist/ArAgingChart-C7VtW0AI.js +0 -530
- package/dist/ArAgingChart-DioJaDwg.cjs +0 -24
- package/dist/ArAgingDetailPage-Bttq4jQR.js +0 -243
- package/dist/ArAgingDetailPage-DO7oXGeM.cjs +0 -46
- package/dist/AttachmentView-BijZrB02.js +0 -260
- package/dist/AttachmentView-CaiRKUXy.cjs +0 -101
- package/dist/BankAccountSection-1SjE76NF.cjs +0 -79
- package/dist/BankAccountSection-De0m3zrf.js +0 -398
- package/dist/BankAccountWarningSection-DoqOr9h0.js +0 -110
- package/dist/BankAccountWarningSection-kFqqc3Nm.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-BaySatUW.js +0 -1694
- package/dist/BankConnectionsSettingsPage-D6vNTQqL.cjs +0 -425
- package/dist/BillDetailPage-93QYmaWt.cjs +0 -266
- package/dist/BillDetailPage-Bg_3myu0.js +0 -1806
- package/dist/BillPayApprovalRuleDetailPage-B7z1PKq6.js +0 -266
- package/dist/BillPayApprovalRuleDetailPage-CoDKuT_4.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-Cj55NkSk.js +0 -431
- package/dist/BillPayApprovalRulesPage-CorELL0d.cjs +0 -241
- package/dist/BillPayPromoPage-BVCDIcbV.cjs +0 -84
- package/dist/BillPayPromoPage-SUtLQemf.js +0 -292
- package/dist/BillPaySetUpPage-BbIjaE2K.js +0 -408
- package/dist/BillPaySetUpPage-CIUY2NF0.cjs +0 -42
- package/dist/BillingSettingsPage-Bmd6ET1I.js +0 -336
- package/dist/BillingSettingsPage-CXmhg8d9.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-CX_Fooay.cjs +0 -1
- package/dist/BillsBulkReviewDrawerPage-CYSMvAbC.js +0 -216
- package/dist/BoxItem-B8HVRhgE.js +0 -118
- package/dist/BoxItem-CEdABkJm.cjs +0 -53
- package/dist/BusinessVerificationPage-Cn1b1hk4.js +0 -716
- package/dist/BusinessVerificationPage-Cv2UQMzh.cjs +0 -138
- package/dist/BusyIndication-CTmvo4UZ.js +0 -19
- package/dist/BusyIndication-DL5CWLrq.cjs +0 -9
- package/dist/CardNumberSubText-BVr8Cjry.cjs +0 -21
- package/dist/CardNumberSubText-BcJnpRxI.js +0 -59
- package/dist/CashbackDetailPage-BkIotpWn.js +0 -825
- package/dist/CashbackDetailPage-BvydKbiS.cjs +0 -285
- package/dist/ChargeCardDetailPage-CNh-E8Km.cjs +0 -1462
- package/dist/ChargeCardDetailPage-kKKhppzB.js +0 -5454
- package/dist/ChargeCardListPage-BhZHWr8B.cjs +0 -412
- package/dist/ChargeCardListPage-CP778-GK.js +0 -1797
- package/dist/ChargeCardListTable-BYJK_km9.cjs +0 -711
- package/dist/ChargeCardListTable-DBryLHST.js +0 -2901
- package/dist/ChargeCardPromoPage-CIxfXW8D.cjs +0 -222
- package/dist/ChargeCardPromoPage-D_eQ_vXf.js +0 -816
- package/dist/ChargeCardSetupPage-CIsXuQLC.cjs +0 -36
- package/dist/ChargeCardSetupPage-m8dUXi38.js +0 -359
- package/dist/ChargeCardStatementsPage-CbJ9oMVy.cjs +0 -60
- package/dist/ChargeCardStatementsPage-Dq5NpUXk.js +0 -243
- package/dist/CheckDepositDrawerPage-BJQ2GSoP.js +0 -726
- package/dist/CheckDepositDrawerPage-BWz2rFRT.cjs +0 -206
- package/dist/CollapsableReportTable-BxQJQZEx.cjs +0 -2844
- package/dist/CollapsableReportTable-l16Ixpgb.js +0 -11659
- package/dist/CompanyOfficerDetailsSection-DS1wacac.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-mKcrRkb5.js +0 -1633
- package/dist/CompanyPassportCard-CQyqBIVG.cjs +0 -42
- package/dist/CompanyPassportCard-DUwjb7jY.js +0 -146
- package/dist/CompanyPassportPage-BGQeP7W-.cjs +0 -574
- package/dist/CompanyPassportPage-mQ_Le1I1.js +0 -2160
- package/dist/CompleteProfile-CesiGAex.js +0 -301
- package/dist/CompleteProfile-xiIbhbIL.cjs +0 -52
- package/dist/ConfettiBurst-BlWHkVVb.cjs +0 -1
- package/dist/ConfettiBurst-CXF_94LB.js +0 -37
- package/dist/CreateOrEditVendorPage-BMVOhEEP.js +0 -763
- package/dist/CreateOrEditVendorPage-rVjtvet2.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-Cl4vJBjO.js +0 -1170
- package/dist/CreditCardPaymentDrawerPage-fM6w6DqV.cjs +0 -224
- package/dist/CurrencySelectField-BWUbePcm.cjs +0 -139
- package/dist/CurrencySelectField-CvnrYpdi.js +0 -348
- package/dist/CustomerOnboardingActivationPage-CmengYgm.js +0 -143
- package/dist/CustomerOnboardingActivationPage-D5IKX8yB.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-CBiHoKP2.js +0 -7
- package/dist/CustomerOnboardingContainerPage-CovoLrdD.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-CpmJxUrg.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-hF2fjE7f.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-B-pbVz1_.js +0 -424
- package/dist/CustomerOnboardingNoStepsPage-BRCEPJbn.cjs +0 -66
- package/dist/CustomerOnboardingPage-CUj-SOSh.js +0 -1094
- package/dist/CustomerOnboardingPage-Qdq-t3lz.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-CPQhZXUi.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-DLJg9lqc.js +0 -348
- package/dist/Dashboard-DMbBx0hS.cjs +0 -1551
- package/dist/Dashboard-DUBT_4AU.js +0 -5540
- package/dist/DashboardReportPage-BdhgvhcP.cjs +0 -371
- package/dist/DashboardReportPage-cTPn6w4q.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation--y1-phUW.js +0 -53
- package/dist/DashboardSidebarBackgroundAnimation-DkP14VUD.cjs +0 -12
- package/dist/DepositAccTransactionItem-BJ6rNbQF.js +0 -112
- package/dist/DepositAccTransactionItem-Cl7q89so.cjs +0 -76
- package/dist/DepositAccTransactionListPage-BXu7yVC4.js +0 -152
- package/dist/DepositAccTransactionListPage-vr9x4odC.cjs +0 -66
- package/dist/DomesticWireDetailsPage-BKcFYzEL.cjs +0 -21
- package/dist/DomesticWireDetailsPage-D5wDMrfR.js +0 -189
- package/dist/DownloadOverlay-BF8Uzj65.js +0 -2148
- package/dist/DownloadOverlay-C1uIhZAC.cjs +0 -439
- package/dist/DrawerPage-4QqiD5ag.js +0 -208
- package/dist/DrawerPage-Cfgqiz9D.cjs +0 -118
- package/dist/EditPeoplePage-BFROUzlu.js +0 -392
- package/dist/EditPeoplePage-Cembzm0f.cjs +0 -55
- package/dist/EditReimbursementDetailPage-BvjH1_r_.cjs +0 -865
- package/dist/EditReimbursementDetailPage-Bz32u6U5.js +0 -4531
- package/dist/EmptySearchResults-Bh_4Fht6.js +0 -70
- package/dist/EmptySearchResults-D9fr1bV1.cjs +0 -46
- package/dist/EntityDetailPage-BnG_PBK5.js +0 -82
- package/dist/EntityDetailPage-_-pjctqN.cjs +0 -18
- package/dist/EntitySummarySection-0nKZeBKn.js +0 -530
- package/dist/EntitySummarySection-TZOsPla5.cjs +0 -149
- package/dist/ExpenseAutomationOverviewPage-DPvrQWPe.cjs +0 -281
- package/dist/ExpenseAutomationOverviewPage-Dvyn5ovf.js +0 -807
- package/dist/ExpenseAutomationPage-BRwhGdn3.cjs +0 -1650
- package/dist/ExpenseAutomationPage-DPmIOATd.js +0 -11611
- package/dist/ExpressPayPage-DGTh3qGM.js +0 -1136
- package/dist/ExpressPayPage-DzuK6CWD.cjs +0 -168
- package/dist/FeaturePreviewPage-BmQ5SC4k.cjs +0 -11
- package/dist/FeaturePreviewPage-CHUVkqak.js +0 -114
- package/dist/FollowStepsSection-BRfHOuX0.cjs +0 -390
- package/dist/FollowStepsSection-C_pWSlPc.js +0 -1313
- package/dist/GlobalReviewListPage-BjPOnObQ.js +0 -1674
- package/dist/GlobalReviewListPage-yw9l3K7A.cjs +0 -291
- package/dist/InformationCardStack-CfIpFWza.cjs +0 -31
- package/dist/InformationCardStack-DvFu-gjh.js +0 -219
- package/dist/InsightsCardStack-CR3wSnhE.js +0 -305
- package/dist/InsightsCardStack-DFeMeFZP.cjs +0 -79
- package/dist/InsightsSection-DCFjudcA.js +0 -97
- package/dist/InsightsSection-s5bo_xRV.cjs +0 -27
- package/dist/IntegrationsSettingsPage-CaAc_qpI.cjs +0 -57
- package/dist/IntegrationsSettingsPage-DpPc99qg.js +0 -136
- package/dist/InternationalWireSwiftDetailsPage-CsviwtpT.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-xXEk6Ubv.js +0 -753
- package/dist/InternationalWireVerificationPage-CsWcUp1F.cjs +0 -292
- package/dist/InternationalWireVerificationPage-uh0GqYQA.js +0 -877
- package/dist/InviteFormPage-5xqk5ISe.js +0 -873
- package/dist/InviteFormPage-DTVpPWOW.cjs +0 -312
- package/dist/InvitePageListView-BYoc0mHR.cjs +0 -739
- package/dist/InvitePageListView-CpmTnQLj.js +0 -1764
- package/dist/InvitePeoplePage-BeCWfFpI.js +0 -286
- package/dist/InvitePeoplePage-VZ8MBinQ.cjs +0 -12
- package/dist/InvoiceUploadSection-BvaKEakI.js +0 -467
- package/dist/InvoiceUploadSection-C56CvacM.cjs +0 -140
- package/dist/IssueChargeCardPage-Bomvo_PH.js +0 -2880
- package/dist/IssueChargeCardPage-C7_f7EjR.cjs +0 -532
- package/dist/LabeledAddressValue-DKttKyNI.cjs +0 -49
- package/dist/LabeledAddressValue-b4zlBP-g.js +0 -115
- package/dist/LabeledAddressValueField-CybDRf0b.cjs +0 -45
- package/dist/LabeledAddressValueField-DpcuqwLy.js +0 -130
- package/dist/LabeledControlledCheckBoxField-BTjbeJMZ.js +0 -73
- package/dist/LabeledControlledCheckBoxField-CQa1juao.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-B0XoaAq-.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-D_oWjB4_.js +0 -515
- package/dist/LabeledDocumentField-DtKwf3Lm.cjs +0 -41
- package/dist/LabeledDocumentField-dtnakMLl.js +0 -147
- package/dist/LabeledDropDownFormattedTextField-D6FUyBtt.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-DDtxGo1u.js +0 -163
- package/dist/LabeledEmailInputField-B6CdyajT.cjs +0 -182
- package/dist/LabeledEmailInputField-DfZy1MY4.js +0 -425
- package/dist/LabeledItemWithButton-DDvXi4QJ.js +0 -74
- package/dist/LabeledItemWithButton-ZsEhgNhK.cjs +0 -21
- package/dist/LabeledNameField-BORJx1ed.cjs +0 -141
- package/dist/LabeledNameField-CQqPuyXI.js +0 -293
- package/dist/LabeledSingleSelectField-CP2r3NNl.cjs +0 -136
- package/dist/LabeledSingleSelectField-DOlbuAge.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-BwXEEDrP.js +0 -103
- package/dist/LabeledSingleSelectWithoutClearableField-DquZ1QXL.cjs +0 -38
- package/dist/LabeledText-7aAiBqDd.cjs +0 -42
- package/dist/LabeledText-CUs3VIof.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DA6ImmKR.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-DYkmOsOP.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-DbiVoCkq.cjs +0 -297
- package/dist/LinkJETransactionPage-DbP6jfzn.js +0 -406
- package/dist/LinkJETransactionPage-RLiwZMx4.cjs +0 -98
- package/dist/LockCardPage-BCSEoOmw.cjs +0 -623
- package/dist/LockCardPage-CWEZyzEM.js +0 -2032
- package/dist/LowBalancePopup-BQ9JPBTS.js +0 -219
- package/dist/LowBalancePopup-C4CElGiJ.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-CKoTuvNz.js +0 -39
- package/dist/MagicLinkACHDetailsPage-ZA8spoZJ.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-B3PN2UpN.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-Di5hHI_D.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-B2izwKNk.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-BLV-9IKI.cjs +0 -1
- package/dist/MagicLinkSuccessPage-DU1RM5NI.js +0 -59
- package/dist/MagicLinkSuccessPage-aQlLp32d.cjs +0 -31
- package/dist/MagicLinkTitleSection-DgTUSREv.cjs +0 -17
- package/dist/MagicLinkTitleSection-RWEjrx8m.js +0 -40
- package/dist/MailingDetailsSection-0vuWd-m4.cjs +0 -21
- package/dist/MailingDetailsSection-BT3SGHhD.js +0 -74
- package/dist/MatchingOperatorDropdown-C3bWOjPr.js +0 -572
- package/dist/MatchingOperatorDropdown-DDbtW6MG.cjs +0 -130
- package/dist/Menu-BTZYMOTT.js +0 -110
- package/dist/Menu-D924Ljr5.cjs +0 -17
- package/dist/MoreMenuButton-DWqPtZ8y.js +0 -569
- package/dist/MoreMenuButton-pNssZMPD.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-DufaL9n8.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-OogUoyO4.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-BXbZsa1L.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-DwCUyRec.js +0 -168
- package/dist/MyProfileSettingsPage-C5PrKFFr.cjs +0 -85
- package/dist/MyProfileSettingsPage-geduKqxy.js +0 -641
- package/dist/NavBarWithPicker-C-eWJeGp.cjs +0 -30
- package/dist/NavBarWithPicker-edkm8kW-.js +0 -106
- package/dist/NavigationArrow-DAOz2wst.js +0 -88
- package/dist/NavigationArrow-DOPiMkzn.cjs +0 -47
- package/dist/NavigationDots-D_zt8Rvb.cjs +0 -15
- package/dist/NavigationDots-Dm8SYcdL.js +0 -44
- package/dist/NewGlobalMerchantPage-B2MX7qs5.cjs +0 -160
- package/dist/NewGlobalMerchantPage-enaZFSVb.js +0 -543
- package/dist/NoDataChart-BIcLmdso.js +0 -58
- package/dist/NoDataChart-CjdUhgIp.cjs +0 -26
- package/dist/NoDataTable-C9ywvwy4.js +0 -27
- package/dist/NoDataTable-R_mS7ejV.cjs +0 -8
- package/dist/NotFoundPage-B0Pfc4vD.js +0 -71
- package/dist/NotFoundPage-CvQrE07v.cjs +0 -46
- package/dist/NotificationSettingsPage-D3aXGsgI.cjs +0 -163
- package/dist/NotificationSettingsPage-Di4KhoPI.js +0 -541
- package/dist/NotificationsListConfig-BSOkTwTG.cjs +0 -1
- package/dist/NotificationsListConfig-CHb7phwi.js +0 -10
- package/dist/NotificationsPage-0PE7RpNV.cjs +0 -685
- package/dist/NotificationsPage-B4KMZZ0V.js +0 -2664
- package/dist/OpExByVendorPage-CAxLWg7x.js +0 -1058
- package/dist/OpExByVendorPage-CW-s97oa.cjs +0 -100
- package/dist/PandLWithForecastPage-DO5vpx09.cjs +0 -107
- package/dist/PandLWithForecastPage-Dx56-ypM.js +0 -563
- package/dist/PaymentAccountSetupBillingAddressSection-C8QwChEK.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-DsxoQMn0.cjs +0 -106
- package/dist/PeoplePage-CjD6uKA-.js +0 -1994
- package/dist/PeoplePage-DfZTMKmZ.cjs +0 -675
- package/dist/ProductsCarousel-ClNF6H-E.cjs +0 -142
- package/dist/ProductsCarousel-DzOaqLVq.js +0 -309
- package/dist/PromoBaseCards-B1h9AEH0.js +0 -356
- package/dist/PromoBaseCards-BZxsd9fl.cjs +0 -218
- package/dist/QBOConnectionDialog-Bv6unk3C.js +0 -115
- package/dist/QBOConnectionDialog-CvwA5y3e.cjs +0 -51
- package/dist/QBOSetupSection-BTjj7g98.js +0 -167
- package/dist/QBOSetupSection-DwSVJsN8.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-CHXo51lU.js +0 -272
- package/dist/ReimbursementApprovalRuleDetailPage-hWOY0nNl.cjs +0 -32
- package/dist/ReimbursementApprovalRulesPage-CRiApLhl.cjs +0 -243
- package/dist/ReimbursementApprovalRulesPage-D7utb8vM.js +0 -429
- package/dist/ReimbursementDetailPage-BqQqDMal.cjs +0 -314
- package/dist/ReimbursementDetailPage-DnXsG55s.js +0 -1514
- package/dist/ReimbursementPromoPage-Di39wgvD.js +0 -363
- package/dist/ReimbursementPromoPage-DkGXXfQK.cjs +0 -84
- package/dist/ReimbursementSetUpPage-C4yBU8js.cjs +0 -140
- package/dist/ReimbursementSetUpPage-CT5bs4wM.js +0 -663
- package/dist/ReimbursementsBulkReviewDrawerPage-B6xHnkfG.cjs +0 -1
- package/dist/ReimbursementsBulkReviewDrawerPage-BcB8hTar.js +0 -204
- package/dist/ReloadCard-BGPtXAV7.js +0 -137
- package/dist/ReloadCard-CrbTx35f.cjs +0 -26
- package/dist/ReloadContainer-Bd2cPHSx.js +0 -2165
- package/dist/ReloadContainer-CTJQp3uP.cjs +0 -596
- package/dist/ReportTableViewSelector-CWGT1eI9.cjs +0 -150
- package/dist/ReportTableViewSelector-gEKTiiSk.js +0 -689
- package/dist/ReportsPage-Ctvnzlk1.js +0 -1315
- package/dist/ReportsPage-DbRXTyZl.cjs +0 -121
- package/dist/RevenueChart-D1PfVLk0.js +0 -2240
- package/dist/RevenueChart-DtSonslc.cjs +0 -280
- package/dist/ReviewDetailsPage-C0VzgK6p.cjs +0 -290
- package/dist/ReviewDetailsPage-Ynw6pln-.js +0 -1073
- package/dist/ReviewOverlay-DQZwNpFY.js +0 -299
- package/dist/ReviewOverlay-uMtzLx7T.cjs +0 -152
- package/dist/RoleWithToolTip-CBFiFSIA.cjs +0 -22
- package/dist/RoleWithToolTip-DbQ4ezrP.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-BnoQjuKR.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-DlqQBt-s.js +0 -806
- package/dist/ScheduleDetailsPage-CrVetPy7.js +0 -726
- package/dist/ScheduleDetailsPage-DMhR6WY8.cjs +0 -37
- package/dist/ScheduleSequenceTable-B7pQ00z8.js +0 -1261
- package/dist/ScheduleSequenceTable-BpB7kB3D.cjs +0 -324
- package/dist/SetUpAccountSection-BAsI7p1f.js +0 -1469
- package/dist/SetUpAccountSection-C5XFtsJo.cjs +0 -378
- package/dist/SignIn-CE6gxhI3.js +0 -1155
- package/dist/SignIn-Cgrm_yBK.cjs +0 -463
- package/dist/SpendManagementListViewPage-CURCimXb.js +0 -631
- package/dist/SpendManagementListViewPage-CxhgqorT.cjs +0 -122
- package/dist/SpendManagementPerTabPage-CPx7gk_U.cjs +0 -785
- package/dist/SpendManagementPerTabPage-RY3B-92H.js +0 -2903
- package/dist/SpendManagementSection-CWM0T7UN.cjs +0 -230
- package/dist/SpendManagementSection-rHLuZG8_.js +0 -1043
- package/dist/StatementItem-CKcPWIIL.cjs +0 -31
- package/dist/StatementItem-DcPGZchp.js +0 -81
- package/dist/StatementsPage-5oimgNHp.js +0 -130
- package/dist/StatementsPage-qouUYveC.cjs +0 -58
- package/dist/StatusSwitcher-CLCkXs_4.js +0 -319
- package/dist/StatusSwitcher-D-x0M0jj.cjs +0 -120
- package/dist/SubTabSwitcher-CP7IcGYn.cjs +0 -58
- package/dist/SubTabSwitcher-DDR7LrDO.js +0 -113
- package/dist/SuccessAnimation-CgsLQi6U.js +0 -52
- package/dist/SuccessAnimation-D-nVJUl_.cjs +0 -13
- package/dist/SummaryCard-C69boEn6.cjs +0 -1
- package/dist/SummaryCard-Cg5UVud3.js +0 -25
- package/dist/TaskDetailPage-BLMIawKz.js +0 -2533
- package/dist/TaskDetailPage-DA-2nhNN.cjs +0 -775
- package/dist/TaskListRow-DzquPmR3.js +0 -1950
- package/dist/TaskListRow-mdfjts7f.cjs +0 -556
- package/dist/TaskManagementPage-6_zt2ePp.js +0 -1935
- package/dist/TaskManagementPage-CtlHnhJr.cjs +0 -508
- package/dist/TimeRangeSwitcher-BTx3d66N.js +0 -265
- package/dist/TimeRangeSwitcher-DnsPnBth.cjs +0 -64
- package/dist/TimeframeSwitcher-B8zEOYX2.cjs +0 -31
- package/dist/TimeframeSwitcher-BkGiMDhd.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-DwPThgNP.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-M554ai9V.js +0 -157
- package/dist/TopExCard-BfUpoVDc.cjs +0 -38
- package/dist/TopExCard-ym2uAvUy.js +0 -569
- package/dist/TopExDetailPage-DOm4r74T.cjs +0 -132
- package/dist/TopExDetailPage-DU1Qj5ea.js +0 -318
- package/dist/TransactionDetailPage-BHyBhrM7.js +0 -5238
- package/dist/TransactionDetailPage-D8cVoc_d.cjs +0 -912
- package/dist/TransactionList-7Xtg0yqC.cjs +0 -147
- package/dist/TransactionList-CIbSavhJ.js +0 -558
- package/dist/TransactionListBig-BvOQWRiS.cjs +0 -284
- package/dist/TransactionListBig-kC4b3DAu.js +0 -658
- package/dist/TransactionListPage-Bom_27Dm.cjs +0 -35
- package/dist/TransactionListPage-Ci98GcF7.js +0 -145
- package/dist/TransactionVendorDetailPage-BxysOLmF.cjs +0 -80
- package/dist/TransactionVendorDetailPage-DI4kq_vO.js +0 -425
- package/dist/TransferDrawerPage-B342yNDJ.js +0 -1436
- package/dist/TransferDrawerPage-Bg0_MPBG.cjs +0 -362
- package/dist/TreasuryOverviewPage-BOYqoeY6.cjs +0 -708
- package/dist/TreasuryOverviewPage-cvOuWLTK.js +0 -1890
- package/dist/TreasuryPromoPage-B5290iIa.cjs +0 -505
- package/dist/TreasuryPromoPage-DyseS2l1.js +0 -1123
- package/dist/TreasuryStatementsPage-rXMNPd2f.js +0 -131
- package/dist/TreasuryStatementsPage-tPtRI33D.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DJC84JFh.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DjV36uFi.js +0 -131
- package/dist/TrendChart--yie2Xkp.js +0 -334
- package/dist/TrendChart-Cbo9vAuc.cjs +0 -16
- package/dist/TrendWithTransactions-CZa7SKU2.cjs +0 -116
- package/dist/TrendWithTransactions-DVLdmgtU.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-CRypWMwQ.js +0 -1159
- package/dist/UncategorizedAccountsMappingPage-D5WgljNE.cjs +0 -244
- package/dist/UnitIntegrationPage-DNXDYg1D.cjs +0 -67
- package/dist/UnitIntegrationPage-DU6Luklp.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-Dbruz0pV.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-jNiTn6qG.js +0 -211
- package/dist/Vendor2FAPopup-BNA3GtkO.js +0 -69
- package/dist/Vendor2FAPopup-KdcYSLV8.cjs +0 -1
- package/dist/VendorACHDetailsPage-B9UpKcN3.js +0 -43
- package/dist/VendorACHDetailsPage-CbFsTaJO.cjs +0 -1
- package/dist/VendorDetailPage-B6s7kOX-.js +0 -1236
- package/dist/VendorDetailPage-Cjvvee3o.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-BPM5s77G.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-CVJAmjuC.js +0 -53
- package/dist/VendorFiling1099EditablePage-Bilq86RI.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-DiVBfWTv.js +0 -842
- package/dist/VendorFirstReviewPage-BKvc0iHB.cjs +0 -730
- package/dist/VendorFirstReviewPage-CuM6lK63.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-CcTippeu.js +0 -968
- package/dist/VendorInternationalWireDetailsPage-HcZoYrP4.cjs +0 -152
- package/dist/VendorInternationalWireSwiftDetailsPage-8u1L-aEg.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-wF90WJVX.cjs +0 -1
- package/dist/VendorsAccountsSection-DVtXxAEa.cjs +0 -68
- package/dist/VendorsAccountsSection-zeM6PeT4.js +0 -279
- package/dist/VerifyDevice-DjNAEvZI.cjs +0 -112
- package/dist/VerifyDevice-iKowLq-3.js +0 -298
- package/dist/VideoPlayer-CN28Ho6V.js +0 -170
- package/dist/VideoPlayer-Z0SKKc4w.cjs +0 -77
- package/dist/VideoPopup-CR5Rskhh.cjs +0 -31
- package/dist/VideoPopup-CfYmxIk4.js +0 -60
- package/dist/WarningsDrawerPage-C4jqovLJ.js +0 -228
- package/dist/WarningsDrawerPage-CLE6C1xf.cjs +0 -92
- package/dist/ZeniAccountDetailPage-JSSIireR.cjs +0 -300
- package/dist/ZeniAccountDetailPage-M045ginI.js +0 -908
- package/dist/ZeniAccountListViewPage-C-eOjorO.js +0 -1078
- package/dist/ZeniAccountListViewPage-CmGZCBax.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-Ch2y1_8D.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-Dz9ssqU1.js +0 -89
- package/dist/ZeniAccountPromoPage-Bf-aR4Jp.cjs +0 -184
- package/dist/ZeniAccountPromoPage-BxzNy8wF.js +0 -522
- package/dist/ZeniAccountSetupPage-B7Pd68Ht.cjs +0 -36
- package/dist/ZeniAccountSetupPage-zWKttj2U.js +0 -309
- package/dist/ZeniAvatar-MeGVROjx.cjs +0 -13
- package/dist/ZeniAvatar-erYD0adm.js +0 -34
- package/dist/ZeniCopyright-2oeOVh0P.js +0 -9
- package/dist/ZeniCopyright-BHYOHHPP.cjs +0 -1
- package/dist/ZeniDatePicker-B3ZngSlp.cjs +0 -187
- package/dist/ZeniDatePicker-CljUKvBt.js +0 -386
- package/dist/ZeniTransferAmountSlider-BADEO33A.js +0 -215
- package/dist/ZeniTransferAmountSlider-DjqUfUE9.cjs +0 -63
- package/dist/analyticsHelper-C2XPB_2A.js +0 -65
- package/dist/analyticsHelper-CCIoPf6j.cjs +0 -1
- package/dist/calculateSize-BQZFglxl.cjs +0 -1
- package/dist/calculateSize-CCtKb55Z.js +0 -22
- package/dist/chartTypes-BzIxSlZ2.cjs +0 -1
- package/dist/chartTypes-PZyiFZrr.js +0 -47
- package/dist/common-CRo7C-DS.cjs +0 -1
- package/dist/common-yvbaD5yY.js +0 -22
- package/dist/commonDimensions-B9Mebelo.cjs +0 -1
- package/dist/commonDimensions-C_y3LIE8.js +0 -13
- package/dist/components/spendManagement/common/SpendManagementListLoading.d.ts +0 -6
- package/dist/components/spendManagement/common/SpendManagementListRowLoader.d.ts +0 -14
- package/dist/detailCommon-BvF0QQIJ.cjs +0 -38
- package/dist/detailCommon-PTd6DPpO.js +0 -124
- package/dist/downloadPdf-BdoS2D6l.js +0 -32
- package/dist/downloadPdf-CM-Pj1H1.cjs +0 -1
- package/dist/index-OMYmSL-3.cjs +0 -21200
- package/dist/index-mRSIAtAd.js +0 -92494
- package/dist/mapLoadingInProgressToTreeNode-BtgZZLTz.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-CUy8c_Sm.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-C6gW1Rqr.js +0 -387
- package/dist/mapSectionWithAcOnlyToTreeNode-bvOuep5I.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BHP0qFXH.cjs +0 -1
- package/dist/mapSpacerToTreeNode-DqR98mLo.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-BIGZRHHI.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-BO0m3RjH.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-BooGIyls.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-IcIZZEHn.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BHiAdY5a.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW.js +0 -32
- package/dist/sectionColor-BTM7KFjv.js +0 -32
- package/dist/sectionColor-DXf0EOsf.cjs +0 -1
- package/dist/toCOABalancesWithID-C9cyyec2.cjs +0 -1
- package/dist/toCOABalancesWithID-CPbzhUua.js +0 -8
- package/dist/toChartData-BUhYY9IR.js +0 -76
- package/dist/toChartData-WNYwX5GW.cjs +0 -1
- package/dist/uploadAttachment-D-Lomshq.js +0 -952
- package/dist/uploadAttachment-DBqcV7ye.cjs +0 -286
- package/dist/zeniDatePicker.helpers-7ACvzNEC.cjs +0 -1
- package/dist/zeniDatePicker.helpers-ll7kzkLp.js +0 -14
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./vendor-.pnpm-DLVCFIC_.cjs"),C=require("react"),R=require("@emotion/styled"),y=require("@zeniai/client-analytics"),_=require("@zeniai/client-epic-state"),s=require("./index-DU9PIUCs.cjs"),F=require("./analyticsHelper-DSyZ24qg.cjs"),te=require("./ReportTableViewSelector-xnQz9oHr.cjs"),$=require("./TimeRangeSwitcher-B1MPWNMD.cjs"),se=require("./TimeframeSwitcherWithToggle-DMxvQb-y.cjs"),ne=require("./DownloadOverlay-CHRNfhJB.cjs"),A=require("./CollapsableReportTable-BBjbBYt6.cjs"),w=require("./mapSectionWithAcOnlyToTreeNode-nHEwDaGU.cjs"),W=require("./mapTimeframeBalancesToTreeNode-BNmiGIda.cjs"),q=require("./mapTimeframeHeaderLoadingInProgressToTreeNode-Det6NGLN.cjs"),ae=require("./mapLoadingInProgressToTreeNode-D0TPaOhx.cjs");function U({section:e,sectionId:t,numOfBalances:n,config:i}){return A.getSelectorApplyingFilters$1("no_filter",i.filterAccountsWithNilBalances,i.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(u=>oe({accountGroup:u,sectionType:t,numOfBalances:n,title:u.accountGroupName,isLastNode:!0,config:i}))}function oe({accountGroup:e,sectionType:t,numOfBalances:n,title:i,isLastNode:a,config:d}){const u=A.uniqueID("section",[],i+t),m={children:[],id:u,isLastNode:a,reportElementData:{element:{kind:"section",title:i,sectionType:t,data:e,numOfBalances:n},config:d}},f=A.getSelectorApplyingFilters$1("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),x=f.map((g,o)=>w.mapSubAccountToTreeNode({account:g,sectionType:t,numOfBalances:n,title:g.account.accountName,config:d,isLastNode:o===f.length-1,parentNodeIDs:[u],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:g.children.length>0,isLastNode:o===f.length-1}]}}));return m.children.push(...x),m}function Y({sectionWithAcOnly:e,sectionType:t,numOfBalances:n,config:i}){return e.accounts.map((d,u)=>w.mapSubAccountToTreeNode({account:d,sectionType:t,numOfBalances:n,title:d.account.accountName,config:i,isLastNode:u===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:d.children.length>0,isLastNode:u===e.accounts.length-1}]}}))}function Z({balances:e,config:t,nodeId:n}){return{children:[],id:n??A.uniqueID("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function ie(e,t,n,i=!0){Object.assign(e.config,t);const a=K(n),d=W.mapTimeframeBalancesToTreeNode({balances:a,config:t});return{config:t,headerNodes:i?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const K=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let n=[];return Object.keys(t.sections).forEach(i=>{t.sections[i].balances.length>0&&(n=[...t.sections[i].balances,...t.sections[i].additionalBalances])}),n}default:return[]}};function ce(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports.sections,a=s.appLocale.getLocalizedStrings().reports.balanceSheet,d=K(e),u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=Z({balances:d,config:t}),l=[];return l.push(m),Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const x=A.uniqueID("title_string_only",[],f),g={children:[],id:x,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};l.push(g),e.rootSectionsWithSubSectionIds[f].forEach(o=>{if(_.isBalanceSheetReportViewSectionID(o)===!0)if(e.sections[o].accountGroups.length>0)if(o==="equity"){const h=U({sectionId:o,section:e.sections[o],numOfBalances:u,config:t});l.push(...h)}else l.push(w.mapAccountViewSectionToTreeNode({section:e.sections[o],sectionType:o,numOfBalances:u,title:a[o],isLastNode:!0,config:t}));else if(o==="equity"){const h=Y({sectionWithAcOnly:e.sections[o],sectionType:o,numOfBalances:u,config:t});l.push(...h)}else{const h=e.sections[o];l.push(w.mapAccountViewSectionWithSubAccountsOnlyToTreeNode({sectionWithAcOnly:h,sectionType:o,numOfBalances:u,title:a[o],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(o)===!0&&l.push(w.mapCalculatedSectionToTreeNode({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t}))})}),{config:t,headerNodes:n?[m]:[],contentNodes:l}}function le({calculatedSection:e,numOfBalances:t,title:n,isLastNode:i,config:a}){return{children:[],id:A.uniqueID("calculated_section_type1",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section_type1",title:n,data:e,numOfBalances:t},config:a}}}function re(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports.sections,a=s.appLocale.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=Z({balances:d,config:t}),l=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const x=A.uniqueID("title_string_only",[],f),g={children:[],id:x,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};l.push(g),e.rootSectionsWithSubSectionIds[f].forEach(o=>{if(_.isCashFlowReportViewSectionID(o)===!0)if(e.sections[o].accountGroups.length>0){const h=U({sectionId:o,section:e.sections[o],numOfBalances:u,config:t});l.push(...h)}else{const h=Y({sectionWithAcOnly:e.sections[o],sectionType:o,numOfBalances:u,config:t});l.push(...h)}else _.isCashFlowReportViewCalculatedSectionType1ID(o)===!0?l.push(le({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(o)===!0&&l.push(w.mapCalculatedSectionToTreeNode({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t}))})}),{config:t,headerNodes:n?[m]:[],contentNodes:[m,...l]}}function de(e,t,n=!0,i=!1){const a=s.appLocale.getLocalizedStrings().reports,d=s.appLocale.getLocalizedStrings().common;let u=[];const m=[];let l=[];if(i===!0){const f=q.mapTimeframeHeaderLoadingInProgressToTreeNode({title:d.loading,balances:[],config:t});f.reportElementData.element.numOfBalances=6,n&&(l=[f]),m.push(f),[...Array(8)].forEach((x,g)=>{const o=g%4;let r=q.rowTitles[o];const h=ae.mapLoadingInProgressToTreeNode({title:`${g}+${r}`,balances:u,config:t});h.reportElementData.element.numOfBalances=6,m.push(h)})}else{const f=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],x=W.mapTimeframeBalancesToTreeNode({balances:f,config:t}),g=t.mode!=null&&t.mode==="this_period_vs_period_before"&&f.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;m.push(x),n&&(l=[x]),e.idsInOrder.forEach(o=>{if(_.isPandLReportViewSectionID(o)===!0){const r=e.sections[o];r!=null&&m.push(w.mapClassViewSectionToTreeNode({section:r,sectionType:o,numOfBalances:g,title:a.sections[o],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(o)===!0){const r=e.calculatedSections[o];r!=null&&m.push(w.mapCalculatedSectionToTreeNode({calculatedSection:r,numOfBalances:g,title:a.sections[o],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:m}}function ue(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports,a=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&a.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,u=W.mapTimeframeBalancesToTreeNode({balances:a,config:t}),m=[];return m.push(u),e.idsInOrder.forEach(l=>{if(_.isPandLReportViewSectionID(l)===!0&&(e.sections[l].accountGroups.length>0?m.push(w.mapAccountViewSectionToTreeNode({section:e.sections[l],sectionType:l,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t})):m.push(w.mapAccountViewSectionWithSubAccountsOnlyToTreeNode({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(l)===!0){const f=e.calculatedSections[l];f!=null&&m.push(w.mapCalculatedSectionToTreeNode({calculatedSection:f,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t}))}}),{config:t,headerNodes:n?[u]:[],contentNodes:m}}const H={contentPaddingLeft:new s.ResponsiveSized(s.sp[0],s.sp[0],s.sp[0]),contentPaddingRight:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8])},me=R.div`
|
|
2
|
+
height: ${e=>e.height}px;
|
|
3
|
+
width: 99.9%;
|
|
4
|
+
margin-top: ${s.Space.sp2};
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
+
`;function he({report:e,displayOrder:t,reportFormat:n,analytics:i,isZeniUser:a,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:u,onTableScroll:m,onElementCollapseStateChanged:l,isCompareModeOn:f,isPageFetchInProgress:x=!1}){const g=s.useWindowSizeContext(),o=c.useTheme(),[r,h]=C.useState(void 0),[N,v]=C.useState(void 0),B=!(g==="small"||g==="medium-compact"),V="name+balances_actual",M=f===!0?"this_period_vs_period_before":"none",L=()=>{let S=[];switch(e.reportId){case"profit_and_loss":{const p=e;S=(p.sections.expenses.balances.length>0?p.sections.expenses:p.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const p=e,O=(p.sections.expenses?.balances?.length??0)>0?p.sections.expenses:null,D=(p.sections.income?.balances?.length??0)>0?p.sections.income:null,z=O??D;z?.additionalBalances!=null&&(S=z.additionalBalances.map(ee=>_.toTimeframeTick(ee)));break}case"cash_flow":{S=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(O=>_.toTimeframeTick(O));break}case"balance_sheet":{S=e.sections.equity.additionalBalances.map(O=>_.toTimeframeTick(O));break}}return S.length>0&&S.find(p=>p.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};C.useEffect(()=>{const S={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:n,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:s.getShowNegativeAmountInParenthesisDefaultValue(),showClassAccountNumber:a};if(r==null||!c.isEqual(N,e)||x===!0){const p=fe(e,S,B,x);v(e),h(p)}else{const p=ie(r,S,e,B);h(p)}},[f,e,x]);const[T,P]=C.useState(5),k=S=>{const p=S+135;P(p)},X=S=>S?.trackPageLoaded(ge(e));return r!=null?c.jsxRuntimeExports.jsxs(c.jsxRuntimeExports.Fragment,{children:[c.jsxRuntimeExports.jsx(s.AnalyticsOnLoad,{analytics:i,onLoad:X}),c.jsxRuntimeExports.jsx(me,{height:T,children:c.jsxRuntimeExports.jsx(A.CollapsableReportTable,{backgroundColor:new c.Color(o.colors.grey4),rootNodes:r,type:V,compareMode:L(),isSticky:{isStickyHeader:B,isStickyName:B},treeNodePadding:{left:H.contentPaddingLeft.value(g),right:H.contentPaddingRight.value(g)},onAccountClick:u==null?void 0:(S,p)=>{u(S,p)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:S=>d?.(S==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(S,p)=>l?.(e.reportId,S,p),onReportTableHeightChanged:k,onScroll:S=>m?.(e.reportId,S)})})]}):null}const fe=(e,t,n=!0,i=!1)=>{switch(e.reportId){case"profit_and_loss":return ue(e,t,n);case"profit_and_loss_by_classes":return de(e,t,n,i);case"cash_flow":return re(e,t,n);case"balance_sheet":return ce(e,t,n);default:return}},ge=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return y.Event.profitAndLoss;case"cash_flow":return y.Event.cashFlow;case"balance_sheet":return y.Event.balanceSheet;default:return y.Event.reports}},pe=R.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 100%;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Se=R.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
`,_e=R(s.SmallMedium)`
|
|
17
|
+
padding: 12px;
|
|
18
|
+
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
19
|
+
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
20
|
+
margin: ${e=>e.spaceAround?`0 ${s.Space.sp4}`:0};
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
&:hover {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
`,Re=R.div`
|
|
28
|
+
height: 2px;
|
|
29
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
30
|
+
border-radius: 1px;
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
transition: left 0.35s;
|
|
35
|
+
&.profit_and_loss {
|
|
36
|
+
width: 106px;
|
|
37
|
+
left: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.profit_and_loss_by_classes {
|
|
41
|
+
width: 106px;
|
|
42
|
+
left: 0;
|
|
43
|
+
}
|
|
44
|
+
&.balance_sheet {
|
|
45
|
+
width: 114px;
|
|
46
|
+
left: 30%;
|
|
47
|
+
}
|
|
48
|
+
&.cash_flow {
|
|
49
|
+
width: 160px;
|
|
50
|
+
left: 63%;
|
|
51
|
+
}
|
|
52
|
+
`;function xe({reportId:e,isSelected:t,onClick:n}){const i=a=>{switch(a){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return s.appLocale.getLocalizedStrings().reportTitleById[a];default:return console.warn("Unsupported report"),""}};return c.jsxRuntimeExports.jsx(_e,{"data-testid":s.generateDataTestId("reportSwitcher",e),onClick:()=>{t===!1&&n(e)},isSelected:t,spaceAround:e==="balance_sheet",children:i(e)})}function be({reportIds:e,selectedReport:t,onReportSelectionChanged:n}){const i=a=>{n?.(a)};return c.jsxRuntimeExports.jsx(pe,{"data-testid":s.generateDataTestId("report-switcher-container"),children:c.jsxRuntimeExports.jsx(Se,{"data-testid":s.generateDataTestId("report-switcher-content"),children:e.map(a=>a!=="profit_and_loss_by_classes"&&c.jsxRuntimeExports.jsxs("div",{children:[c.jsxRuntimeExports.jsx(xe,{reportId:a,isSelected:t===a,onClick:i}),c.jsxRuntimeExports.jsx(Re,{className:`Slider ${t}`})]},`reportSegment-${a}`))})})}const j={contentContainerLeftRightMargin:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8]),contentRightPadding:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8]),tickSkelectionContainerWidth:new s.ResponsiveSized(343,600,905,1240)},we=new s.ResponsiveSized(4,4),Te=new s.ResponsiveSized(4,4),Ce={selectedNumberOfPeriods:(e,t)=>e?Te.value(t):we.value(t)},ye=R.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex: 1 1 auto;
|
|
55
|
+
min-height: 100%;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
+
`,Ae=R.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
flex: 1 1 auto;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
height: calc(100vh - ${s.Space.sp10});
|
|
63
|
+
margin: ${e=>`${s.Space.sp2} ${s.Space.sp0} ${s.Space.sp0} ${j.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
64
|
+
`,Ne=R.div`
|
|
65
|
+
display: flex;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
align-items: center;
|
|
71
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
72
|
+
`,ve=R.div`
|
|
73
|
+
position: absolute;
|
|
74
|
+
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
75
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
76
|
+
`,Le=R.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: calc(100% - 60px);
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
align-items: center;
|
|
83
|
+
`,Be=R.div`
|
|
84
|
+
height: 96px;
|
|
85
|
+
width: 96px;
|
|
86
|
+
background: ${e=>e.theme.colors.background};
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
& svg {
|
|
90
|
+
margin: ${s.Space.sp5};
|
|
91
|
+
color: ${e=>e.theme.colors.grey1};
|
|
92
|
+
}
|
|
93
|
+
&:hover {
|
|
94
|
+
& svg {
|
|
95
|
+
color: ${e=>e.theme.colors.primary};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`,Oe=R(s.SmallRegularSp)`
|
|
99
|
+
margin-top: ${s.Space.sp3};
|
|
100
|
+
color: ${e=>e.theme.colors.hero};
|
|
101
|
+
`,J=({style:e,isLoading:t})=>t?c.jsxRuntimeExports.jsx(Ne,{style:e,children:c.jsxRuntimeExports.jsx(s.ActivityIndicator,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},I=({selectedReport:e,isCompareModeOn:t,windowSize:n})=>{const i=e.availableNumberOfPeriods;let a=Ce.selectedNumberOfPeriods(t,n);return i!=null&&(a=Math.min(a,i)),a};function Ee(e){const t=s.useWindowSizeContext(),n=c.useTheme(),{onUpdateAccountViewMode:i,onUpdateClassesToFilterOut:a,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:u,isCompareMode:m,selectedReportAndTimeframeFetchState:l,onClickMenuIcon:f}=e,x=(L,T)=>{L!==g?.accountViewMode&&i?.(L),T&&a?.(T)};C.useEffect(()=>{if(e.fetchState==="Completed"){const T=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(T,e.isCompareMode,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const g=ke(e),o=s.appLocale.getLocalizedStrings().reports.common,r=s.useGlobalInfoContext(),h=r!=null&&_.hasInvestorBankerLevelAccess(r.loggedInUserRole)?"detailed":"more_detailed",N=r!=null&&_.hasInvestorBankerLevelAccess(r.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&g?.accountViewMode==="account_group"&&N.push("detailed");const[v,B]=C.useState(N.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:v,disabledFormatForRole:N,roleBasedClassesSelectedFormat:h,setSelectedFormat:B};if(l.fetchState==="Error"||e.fetchState==="Error")return c.jsxRuntimeExports.jsxs(Le,{"data-testid":s.generateDataTestId("report-page-error-reload-page"),children:[c.jsxRuntimeExports.jsx(Be,{"data-testid":s.generateDataTestId("report-page-error-reload-icon"),onClick:e.onReloadReport,children:c.jsxRuntimeExports.jsx(s.SvgReload,{})}),c.jsxRuntimeExports.jsx(Oe,{children:o.failed})]});const M=e.fetchState;if(l.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return c.jsxRuntimeExports.jsx(J,{isLoading:!0});{const L=c.jsxRuntimeExports.jsx(s.DownloadButton,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:g!=null&&e.dataAvailable!=null?c.jsxRuntimeExports.jsx(ne.DownloadOverlayButton,{defaultOptions:g,analytics:e.analytics,referrer:E(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:x,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(T,P,k)=>{d(m,T,P,k)},onTimeframeSelectionChanged:(T,P,k)=>{u?.(T,P,k)}}):c.jsxRuntimeExports.jsx(c.jsxRuntimeExports.Fragment,{})}}});return c.jsxRuntimeExports.jsxs(ye,{children:[c.jsxRuntimeExports.jsx(s.NavBar,{title:s.appLocale.getLocalizedStrings().reports.title,backgroundColor:n.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:f,rightSideComponent:L,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),c.jsxRuntimeExports.jsx(je,{...e})]})}}function je(e){const t=s.useWindowSizeContext(),n=c.useTheme(),i=C.useRef(null),{selectedReportAndTimeframeFetchState:a}=e,d=["month","quarter","year"],u=(r,h)=>{e.analytics?.trackCompareFilterChange(r==="this_period_vs_last_period_percent"?"percentage":"amount",E(e.selectedReport),F.toTimeframeFilter(e.selectedTimeframe),h);const N=Array.from(new Set(r==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(v=>v!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(v=>v!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,N,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},m=(r,h)=>{r!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(r),h&&e.onUpdateClassesToFilterOut?.(h)},l=b(e),f=i.current?.clientWidth??j.tickSkelectionContainerWidth.value(t),g=_.reduceAllFetchState([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",o=a.fetchState==="In-Progress";return c.jsxRuntimeExports.jsxs(Ae,{windowSize:t,"data-testid":s.generateDataTestId("reports-page-content-container"),children:[c.jsxRuntimeExports.jsx(Ve,{windowSize:t,ref:i,children:c.jsxRuntimeExports.jsx(se.TimeframeSwitcherWithToggle,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:r=>{e.analytics?.trackTimeframeSwitch(F.toTimeframeFilter(r),E(e.selectedReport)),e.onTimeframeSelectionChanged?.(r,!0)}},toggle:{label:s.appLocale.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:r=>{e.analytics?.trackCompareMode(r,E(e.selectedReport),F.toTimeframeFilter(e.selectedTimeframe));const h=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(r,h.additionalBalances,h.balancesRange.numberOfPeriods)}}})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?c.jsxRuntimeExports.jsx($e,{windowSize:t,children:c.jsxRuntimeExports.jsx(Ie,{children:c.jsxRuntimeExports.jsx(s.RectangularContentLoader,{width:f,height:$.TICK_HEIGHT-s.sp[2],backgroundColor:n.colors.grey3,style:{borderRadius:s.Space.sp2}})})}):c.jsxRuntimeExports.jsx(De,{windowSize:t,children:c.jsxRuntimeExports.jsx($.TimeRangeSwitcher,{firstMonthOfFY:l.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:G(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:G(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(r,h)=>{e.analytics?.trackDateRangeFilterChange(E(e.selectedReport),"range filter",e.isCompareMode,F.toTimeframeLabel(l.firstMonthOfFY,e.selectedTimeframe,h)),e.onThisPeriodChanged?.(h,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:r=>{const h=Pe(e.allTimeframeTicks,r.fromEnd);e.analytics?.trackDateRangeFilterChange(E(e.selectedReport),"range filter",e.isCompareMode,F.toTimeframeLabel(l.firstMonthOfFY,e.selectedTimeframe,h.thisPeriod)),e.onCOABalancesRangeChanged?.(h)}})}),c.jsxRuntimeExports.jsx(We,{windowSize:t,children:c.jsxRuntimeExports.jsx(be,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:r=>{e.analytics?.trackPageLoaded(Fe(r)),r==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(r)}})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?c.jsxRuntimeExports.jsx(J,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:o}):c.jsxRuntimeExports.jsxs(c.jsxRuntimeExports.Fragment,{children:[c.jsxRuntimeExports.jsx(Q,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:u,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),_.isPAndLReport(e.selectedReport)?c.jsxRuntimeExports.jsx(ve,{windowSize:t,children:c.jsxRuntimeExports.jsx(te.ReportTableViewSelector,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:m,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const G=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;return t.thisPeriod!=null&&(n=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(n+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},Pe=(e,t)=>{const n=e.length-1-t.offsetFromEnd;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}};function ke(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const u=e.displayOrder,m=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(m!=null&&m.balances.length>0){const l=u==="ascending_date"?m.balances.length-1:0;t=m.balances[l]}}const n=b(e).firstMonthOfFY,i=b(e).bookCloseDate,a=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:s.appLocale.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:n,bookCloseDate:i,dataAvailable:a,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const E=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},Fe=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return y.Event.profitAndLoss;case"cash_flow":return y.Event.cashFlow;case"balance_sheet":return y.Event.balanceSheet;default:return y.Event.reports}},Q=C.memo(he,(e,t)=>Me(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));Q.displayName="Reports table";const Me=(e,t,n)=>n.reduce((a,d)=>a===!0&&c.isEqual(e[`${d}`],t[`${d}`]),!0),Ve=R.div`
|
|
102
|
+
padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
|
|
103
|
+
`,De=R.div`
|
|
104
|
+
margin-top: ${s.Space.sp3};
|
|
105
|
+
padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
|
|
106
|
+
`,$e=R.div`
|
|
107
|
+
margin-top: ${s.Space.sp3};
|
|
108
|
+
padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
|
|
109
|
+
`,Ie=R.div`
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: row;
|
|
112
|
+
justify-content: flex-start;
|
|
113
|
+
min-height: ${$.TICK_HEIGHT}px;
|
|
114
|
+
box-sizing: content-box;
|
|
115
|
+
width: 100%;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
`,We=R.div`
|
|
119
|
+
margin-top: ${s.Space.sp4};
|
|
120
|
+
padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
|
|
121
|
+
`;exports.default=Ee;
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use strict";const o=require("./vendor-.pnpm-DLVCFIC_.cjs"),_=require("react"),C=require("@emotion/styled"),v=require("recharts"),e=require("./index-DU9PIUCs.cjs"),a=require("./chartTypes-C1faDGpZ.cjs"),O=require("./toCOABalancesWithID-ChK2hvqQ.cjs"),M=require("./toChartData-BBqD25rt.cjs"),D={legendLabelMarginLeft:new e.ResponsiveSized(2,2),legendLabelMarginRight:new e.ResponsiveSized(e.sp[3],e.sp[4])},ht=C.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,gt=C.div`
|
|
4
|
+
margin: ${e.Space.sp2} ${e.Space.sp0} ${e.Space.sp2} ${e.Space.sp0};
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 1px;
|
|
7
|
+
background-color: ${e.Colors.neutralGrey3Dark};
|
|
8
|
+
`,Ct=C.div`
|
|
9
|
+
flex: display;
|
|
10
|
+
opacity: 0.85;
|
|
11
|
+
width: 220px;
|
|
12
|
+
border-radius: ${e.Space.sp1};
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: ${e.Space.sp3};
|
|
15
|
+
background-color: ${t=>t.theme.colors.black};
|
|
16
|
+
`,ft=C(e.StandardRegular)`
|
|
17
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
18
|
+
text-align: left;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
`,yt=C(e.StandardRegular)`
|
|
23
|
+
background-color: ${t=>t.color};
|
|
24
|
+
height: 12px;
|
|
25
|
+
width: 12px;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
margin-right: ${e.Space.sp2};
|
|
28
|
+
`,jt=C(e.StandardRegular)`
|
|
29
|
+
text-align: left;
|
|
30
|
+
`,St=C(e.StandardRegular)`
|
|
31
|
+
text-align: right;
|
|
32
|
+
`,Et=({active:t,payload:r})=>{const s=[];return r?.forEach(l=>{const n=l.name;if(t===!0){const c=l.payload,p=l.color,m=n!=null&&c.record[n]!=null?c.record[n].amount:void 0;s.push({barName:e.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(n)],value:m,color:p})}}),s},P=t=>t.map((r,s)=>o.jsxRuntimeExports.jsxs(ft,{color:r.color,children:[o.jsxRuntimeExports.jsxs(jt,{children:[o.jsxRuntimeExports.jsx(yt,{color:r.color}),`${r.barName}:`]}),o.jsxRuntimeExports.jsx(St,{children:`${a.currencyFormatter(r.value)}`})]},r.barName+s)),$t=t=>{const r=Et({...t});return r.length===0?null:o.jsxRuntimeExports.jsx(ht,{children:o.jsxRuntimeExports.jsxs(Ct,{children:[P(r.slice(0,r.length-1)),r.length?o.jsxRuntimeExports.jsx(gt,{}):null,P(r.slice(-1))]})})},Rt=_.memo($t),Kt=(t,r,s,l,n)=>{let c=[],p=[],m=[];s!=null&&s.balances.length>0&&(c=O.sectionToCOABalancesWithID("cash_in","actual",s)),l!=null&&l.balances.length>0&&(p=O.sectionToCOABalancesWithID("cash_out","actual",l)),n!=null&&n.balances.length>0&&(m=O.calculatedSectionToCOABalancesWithKey("net_cash_flow","actual",n));const u=a.getChartValueKey("cash_in","actual"),i=a.getChartValueKey("cash_out","actual"),g=a.getChartValueKey("net_cash_flow","actual"),h=c.length>0?u:p.length>0?i:void 0,d={};return d[u]=c,d[i]=p,d[g]=m,h!=null?M.toChartData(t,r,h,d):void 0},X=[a.getChartValueKey("cash_in","actual"),a.getChartValueKey("cash_out","actual"),a.getChartValueKey("net_cash_flow","actual")],vt=C.div`
|
|
33
|
+
width: ${t=>t.width}px;
|
|
34
|
+
height: ${t=>t.height}px;
|
|
35
|
+
|
|
36
|
+
.recharts-legend-item {
|
|
37
|
+
margin-right: ${t=>D.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
38
|
+
:last-of-type {
|
|
39
|
+
margin-right: ${e.Space.sp0} !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`,Tt=C(e.ExtraSmallRegularSp)`
|
|
43
|
+
margin-left: ${t=>D.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
44
|
+
color: ${t=>t.theme.colors.primary};
|
|
45
|
+
`;function bt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=o.useTheme(),i=_.useRef(!1);_.useEffect(()=>{i.current=!0},[]);const g=[u.colors.graphColor33,u.colors.graphColor36,u.colors.graphColor35],h=(K,R=u.colors.graphColor08)=>K<g.length?g[K]:R,d=Kt(t.firstMonthOfFY,X,t.cashIn,t.cashOut,t.netCashFlow),f=()=>{const K=[];return X.forEach((R,y)=>{const T=p===!0&&!i.current;K.push(o.jsxRuntimeExports.jsx(v.Bar,{name:R,animationDuration:T?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const E=$.record;return(E[R]!=null&&E[R].amount!=null?E[R].amount:void 0)?.amount??0},fill:h(y)},R))}),K};return d==null?null:o.jsxRuntimeExports.jsx(kt,{chartData:d,timeframe:r,showBarHoverBackground:c,barElements:f(),customToolTipContent:({active:K,payload:R})=>o.jsxRuntimeExports.jsx(Rt,{active:K,payload:R}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const kt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useWindowSizeContext(),h=o.useTheme(),d=t.timeseries,f=a.getCurrencySymbol(t),K=d.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,B=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(B,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),b={...n,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};i?.(d[S],r,b)},T=u?(c-60)/a.maxXAxisItems.cash_in_cash_out*(a.maxXAxisItems.cash_in_cash_out-t.recordByTimeseries.length):20;return o.jsxRuntimeExports.jsx(vt,{"data-testid":e.generateDataTestId("dashboard-cash-in-cash-out-timeframe",r),width:c,height:p,windowSize:g,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:$,width:E})=>o.jsxRuntimeExports.jsxs(v.BarChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?e.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:T,left:0,bottom:e.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[o.jsxRuntimeExports.jsx(v.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),o.jsxRuntimeExports.jsx(v.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject}}),o.jsxRuntimeExports.jsx(v.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>e.amountValueToString("0,0.[00]a",S,f)}),o.jsxRuntimeExports.jsx(v.Tooltip,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?o.jsxRuntimeExports.jsx(v.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:e.Space.sp0},formatter:S=>o.jsxRuntimeExports.jsx(Tt,{windowSize:g,children:e.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(S)]})}):null]})})})},Bt=C.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
`,Ot=C.div`
|
|
48
|
+
flex: display;
|
|
49
|
+
opacity: 0.85;
|
|
50
|
+
border-radius: ${e.Space.sp1};
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
padding: ${e.Space.sp3};
|
|
53
|
+
background-color: ${t=>t.theme.colors.black};
|
|
54
|
+
`,It=C(e.StandardRegular)`
|
|
55
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
56
|
+
text-align: left;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
`,_t=({active:t,payload:r})=>{const s=[];return r?.forEach(l=>{const n=l.name;if(t===!0){const c=l.payload,p=l.color,m=n!=null&&c.record[n]!=null?c.record[n].amount:void 0;s.push({barName:e.appLocale.getLocalizedStrings().reportTitleById.cash_position,value:m,color:p})}}),s},wt=t=>{const r=_t(t);return r.length===0?null:o.jsxRuntimeExports.jsx(Bt,{children:o.jsxRuntimeExports.jsx(Ot,{children:r.map((s,l)=>o.jsxRuntimeExports.jsx(It,{color:s.color,children:`${s.barName}: ${a.currencyFormatter(s.value)}`},s.barName+l))})})},Ft=_.memo(wt),At=(t,r,s)=>{let l=[];s!=null&&s.balances.length>0&&(l=O.balancesSliceToCOABalancesWithKey("cash_position","actual",s));const n=a.getChartValueKey("cash_position","actual"),c={};return c[n]=l,l.length>0?M.toChartData(t,r,n,c):void 0},Dt=C.div`
|
|
61
|
+
width: ${t=>t.width}px;
|
|
62
|
+
height: ${t=>t.height}px;
|
|
63
|
+
`,H=[a.getChartValueKey("cash_position","actual")];function Lt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=o.useTheme(),i=_.useRef(!1);_.useEffect(()=>{i.current=!0},[]);const g=At(t.firstMonthOfFY,H,t.cashPosition),h=()=>{const d=[];return H.forEach(f=>{const K=p===!0&&!i.current;d.push(o.jsxRuntimeExports.jsx(v.Bar,{name:f,animationDuration:K?500:void 0,style:{cursor:"pointer"},dataKey:R=>{const y=R.record;return(y[f]!=null&&y[f].amount!=null?y[f].amount:void 0)?.amount??0},fill:u.colors.graphColor17},f))}),d};return g==null?null:o.jsxRuntimeExports.jsx(zt,{chartData:g,timeframe:r,showBarHoverBackground:c,barElements:h(),customToolTipContent:({active:d,payload:f})=>o.jsxRuntimeExports.jsx(Ft,{active:d,payload:f}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const zt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useTheme(),h=t.timeseries,d=a.getCurrencySymbol(t),f=h.map(T=>T.label),K=m!==!1,R=T=>{if(!u||T?.activePayload==null||T?.activePayload.length===0)return;const $=T.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=T.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const B=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=B[1]===void 0?f.length-1:f.indexOf(B[1]),j={...n,thisPeriod:{startDate:h[x].startDate,endDate:h[x].endDate}};i?.(h[E],r,j)},y=u?(c-60)/a.maxXAxisItems.cash_position*(a.maxXAxisItems.cash_position-t.recordByTimeseries.length):20;return o.jsxRuntimeExports.jsx(Dt,{width:c,height:p,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:T,width:$})=>o.jsxRuntimeExports.jsxs(v.BarChart,{width:$,height:T,data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?e.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[o.jsxRuntimeExports.jsx(v.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),o.jsxRuntimeExports.jsx(v.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...e.textStyles.extraSmallRegular.cssObject}}),o.jsxRuntimeExports.jsx(v.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...e.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>e.amountValueToString("0,0.[00]a",E,d)}),o.jsxRuntimeExports.jsx(v.Tooltip,{wrapperStyle:{zIndex:2},cursor:K?{stroke:g.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:g.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})},Mt=C.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
`,Nt=C.div`
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
`,Vt=C.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
background-color: ${t=>t.theme.colors.black};
|
|
71
|
+
opacity: 0.85;
|
|
72
|
+
border-radius: ${e.Space.sp1} ${e.Space.sp1} ${e.Space.sp0} ${e.Space.sp0};
|
|
73
|
+
color: ${t=>t.theme.colors.grey1};
|
|
74
|
+
padding: ${e.Space.sp3};
|
|
75
|
+
`,N=C.div`
|
|
76
|
+
flex: 1;
|
|
77
|
+
text-align: right;
|
|
78
|
+
`,Gt=C.div`
|
|
79
|
+
width: 132px;
|
|
80
|
+
`,lt=C.div`
|
|
81
|
+
margin: ${e.Space.sp2} ${e.Space.sp0} ${e.Space.sp2} ${e.Space.sp0};
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 1px;
|
|
84
|
+
background-color: ${e.Colors.neutralGrey3Dark};
|
|
85
|
+
`,Pt=C.div`
|
|
86
|
+
flex: display;
|
|
87
|
+
opacity: 0.85;
|
|
88
|
+
width: 200px;
|
|
89
|
+
border-radius: ${e.Space.sp1};
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
padding: ${e.Space.sp3};
|
|
92
|
+
background-color: ${t=>t.theme.colors.black};
|
|
93
|
+
`,Xt=C.div`
|
|
94
|
+
flex: display;
|
|
95
|
+
opacity: 0.85;
|
|
96
|
+
width: 500px;
|
|
97
|
+
border-radius: ${e.Space.sp0} ${e.Space.sp0} ${e.Space.sp1} ${e.Space.sp1};
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
padding: ${e.Space.sp3};
|
|
100
|
+
background-color: ${t=>t.theme.colors.black};
|
|
101
|
+
`,it=C(e.StandardRegular)`
|
|
102
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
103
|
+
text-align: left;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: space-between;
|
|
106
|
+
${t=>t.showPercent?"flex-start":"center"};
|
|
107
|
+
`,ut=C(e.StandardRegular)`
|
|
108
|
+
background-color: ${t=>t.color};
|
|
109
|
+
height: 12px;
|
|
110
|
+
width: 12px;
|
|
111
|
+
display: inline-block;
|
|
112
|
+
margin-right: ${e.Space.sp2};
|
|
113
|
+
`,Ht=C(e.StandardRegular)`
|
|
114
|
+
text-align: left;
|
|
115
|
+
`,Yt=C(e.StandardRegular)`
|
|
116
|
+
text-align: left;
|
|
117
|
+
width: 120px;
|
|
118
|
+
`,qt=C.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
text-align: right;
|
|
122
|
+
`,Y=C(e.StandardRegularSp)`
|
|
123
|
+
text-align: right;
|
|
124
|
+
`,F=C(e.StandardRegularSp)`
|
|
125
|
+
text-align: right;
|
|
126
|
+
flex: 1;
|
|
127
|
+
color: ${t=>t.isChange!=null&&t.isChange===!0?e.Colors.important:null};
|
|
128
|
+
`,q=C(e.StandardRegularSp)`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
`,W=C(F)``,Wt=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c=Math.floor((l.amount-n.amount)*100/100),p={...l,amount:c},m=n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:p,percent:m,forecastPercent:r.record[s].percentValue}},Jt=({active:t,payload:r,mode:s})=>{const l=[],n={barName:e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:e.Colors.neutralGrey2Dark,forecast:void 0};let c={amount:0,currencyCode:"",currencySymbol:""},p={amount:0,currencyCode:"",currencySymbol:""};const m=a.getChartValueKey("income","actual"),u=a.getChartValueKey("cogs","actual"),i=a.getChartValueKey("expenses","actual"),g=a.getChartValueKey("net_burn_or_income","actual");return r?.forEach(h=>{const d=h.name;if(t===!0){const f=h.payload,K=h.color,R=d!=null&&f.record[d]!=null?f.record[d].amount:void 0;let y;if(d.includes("forecast")!==!0)switch(s==="forecast_mode"&&(y=f.record[d]!=null?Wt(d,f):void 0),d){case u:case i:R!=null&&(c.currencyCode===""?c={...R}:c.amount=c.amount+R.amount),y!=null&&(p.currencyCode===""?p={...y.value}:p.amount=p.amount+y.value.amount),l.push({barName:e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(d)],actual:R,forecast:y,color:K});break;case g:{const T=R!=null&&R.amount>=0?e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;l.push({barName:T,actual:R,color:K,percent:f.record[d]?.percentValue,forecast:y});break}case m:default:l.push({barName:e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(d)],actual:R,color:K,forecast:y})}}}),n.actual=c,n.forecast=p!=null&&c!=null?{value:p,change:{...c,amount:Math.floor((c.amount-p.amount)*100/100)},percent:p.amount!==0?Math.floor((c.amount-p.amount)/p.amount*100)/100:0}:void 0,t===!0&&l.splice(l.length-1,0,n),l},J=t=>t.map((r,s)=>o.jsxRuntimeExports.jsxs(it,{color:r.color,showPercent:r.percent!=null,children:[o.jsxRuntimeExports.jsxs(Ht,{children:[o.jsxRuntimeExports.jsx(ut,{color:r.barName===e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),o.jsxRuntimeExports.jsxs(qt,{children:[o.jsxRuntimeExports.jsx(Y,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?o.jsxRuntimeExports.jsx(Y,{children:e.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),U=t=>t.map((r,s)=>o.jsxRuntimeExports.jsxs(it,{color:r.color,showPercent:r.percent!=null,children:[o.jsxRuntimeExports.jsxs(Yt,{children:[o.jsxRuntimeExports.jsx(ut,{color:r.barName===e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),o.jsxRuntimeExports.jsx(F,{children:o.jsxRuntimeExports.jsxs(q,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",o.jsxRuntimeExports.jsx(W,{children:r.percent!=null?e.percentValueToString("0,0.0%",r.percent):null})]})}),o.jsxRuntimeExports.jsx(F,{children:o.jsxRuntimeExports.jsxs(q,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",o.jsxRuntimeExports.jsx(W,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?e.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?o.jsxRuntimeExports.jsx(F,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):o.jsxRuntimeExports.jsx(F,{children:"-"}),r.forecast!=null?o.jsxRuntimeExports.jsx(F,{isChange:!0,children:e.percentValueToString("0,0.0%",r.forecast.percent)}):o.jsxRuntimeExports.jsx(F,{children:"-"})]},r.barName+s)),Ut=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Qt=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsxs(Nt,{children:[o.jsxRuntimeExports.jsxs(Vt,{children:[o.jsxRuntimeExports.jsx(Gt,{}),o.jsxRuntimeExports.jsx(N,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),o.jsxRuntimeExports.jsx(N,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),o.jsxRuntimeExports.jsxs(N,{children:[e.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Ut(t)]}),o.jsxRuntimeExports.jsx(N,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),o.jsxRuntimeExports.jsxs(Xt,{children:[U(t.slice(0,t.length-2)),t.length?o.jsxRuntimeExports.jsx(lt,{}):null,U(t.slice(-2))]})]}),Zt=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsx(Mt,{children:o.jsxRuntimeExports.jsxs(Pt,{children:[J(t.slice(0,t.length-2)),t.length?o.jsxRuntimeExports.jsx(lt,{}):null,J(t.slice(-2))]})}),te=t=>{const r=Jt({...t});return r.length===0?null:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?o.jsxRuntimeExports.jsx(Qt,{barLabelsWithValues:r}):o.jsxRuntimeExports.jsx(Zt,{barLabelsWithValues:r})})},ee=_.memo(te),Q=(t,r,s,l,n,c,p)=>{let m=[],u=[],i=[],g=[];l!=null&&l.balances.length>0&&(m=O.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(u=O.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(i=O.balancesSliceToCOABalancesWithKey("expenses","actual",c)),p!=null&&p.balances.length>0&&(g=O.calculatedSectionToCOABalancesWithKey("net_burn_or_income","actual",p));const h=a.getChartValueKey("income","actual"),d=a.getChartValueKey("cogs","actual"),f=a.getChartValueKey("expenses","actual"),K=a.getChartValueKey("net_burn_or_income","actual"),R=m.length>0?h:u.length>0?d:i.length>0?f:void 0,y={};return y[h]=m,y[d]=u,y[f]=i,y[K]=g,s==="forecast_mode"&&Object.assign(y,oe(l,n,c,p)),R!=null?M.toChartData(t,r,R,y):void 0},oe=(t,r,s,l)=>{let n=[],c=[],p=[],m=[];t!=null&&t.balances.length>0&&(n=O.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(c=O.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(p=O.balancesSliceToCOABalancesWithKey("expenses","forecast",s)),l!=null&&l.balances.length>0&&(m=O.calculatedSectionToCOABalancesWithKey("net_burn_or_income","forecast",l));const u=a.getChartValueKey("income","forecast"),i=a.getChartValueKey("cogs","forecast"),g=a.getChartValueKey("expenses","forecast"),h=a.getChartValueKey("net_burn_or_income","forecast"),d={};return d[u]=n,d[i]=c,d[g]=p,d[h]=m,d},re=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("expenses","actual"),a.getChartValueKey("net_burn_or_income","actual")],ne=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("expenses","actual"),a.getChartValueKey("net_burn_or_income","actual"),a.getChartValueKey("income","forecast"),a.getChartValueKey("cogs","forecast"),a.getChartValueKey("expenses","forecast"),a.getChartValueKey("net_burn_or_income","forecast")],se=C.div`
|
|
132
|
+
width: ${t=>t.width}px;
|
|
133
|
+
height: ${t=>t.height}px;
|
|
134
|
+
|
|
135
|
+
.recharts-legend-item {
|
|
136
|
+
margin-right: ${t=>D.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
137
|
+
:last-of-type {
|
|
138
|
+
margin-right: ${e.Space.sp0} !important;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
`,ae=C(e.ExtraSmallRegularSp)`
|
|
142
|
+
margin-left: ${t=>D.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
143
|
+
color: ${t=>t.theme.colors.primary};
|
|
144
|
+
`;function ce({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=o.useTheme(),g=_.useRef(!1);_.useEffect(()=>{g.current=!0},[]);const h=[i.colors.graphColor36,i.colors.graphColor06,i.colors.graphColor31,i.colors.graphColor12],d=[i.colors.graphColor04,i.colors.graphColor10,i.colors.graphColor32,i.colors.graphColor13,i.colors.graphColor04Dark,i.colors.graphColor10Dark,i.colors.graphColor32Dark,i.colors.graphColor13Dark],f=m==="forecast_mode"?d:h,K=m==="forecast_mode"?ne:re,R=(x,j=i.colors.graphColor04)=>x<f.length?f[x]:j,y=(t.reportId==="net_burn_or_income",Q(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.sections.expenses,t.calculatedSections.netBurnOrIncome)),T=x=>{const{cx:j,cy:b,fill:k,stroke:I,value:w}=x;return w==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:j,cy:b,r:4,stroke:k,strokeWidth:2,fill:I})},$=x=>{const{cx:j,cy:b,fill:k,stroke:I,value:w}=x;return w==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:j,cy:b,r:5,stroke:I,strokeWidth:2,fill:k})},E=(x,j)=>o.jsxRuntimeExports.jsx(v.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:b=>{const k=b.record;return(k[x]!=null&&k[x].amount!=null?k[x].amount:void 0)?.amount},dot:o.jsxRuntimeExports.jsx(T,{}),strokeWidth:1.5,stroke:R(j),strokeDasharray:"3 3",activeDot:o.jsxRuntimeExports.jsx($,{})},x),S=(x,j,b)=>o.jsxRuntimeExports.jsx(v.Bar,{name:x,animationDuration:b?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:k=>{const I=k.record;return(I[x]!=null&&I[x].amount!=null?I[x].amount:void 0)?.amount??0},fill:R(j)},x),B=()=>{const x=[];return K.forEach((j,b)=>{const k=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,b)):x.push(S(j,b,k))}),x};return y==null?null:o.jsxRuntimeExports.jsx(le,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:B(),customToolTipContent:({active:x,payload:j})=>o.jsxRuntimeExports.jsx(ee,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const le=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useWindowSizeContext(),h=o.useTheme(),d=a.getCurrencySymbol(t),f=t.timeseries,K=f.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,B=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(B,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),b={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,b)},T=u?(c-60)/a.maxXAxisItems.net_burn_or_income*(a.maxXAxisItems.net_burn_or_income-t.recordByTimeseries.length):20;return o.jsxRuntimeExports.jsx(se,{width:c,height:p,windowSize:g,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:$,width:E})=>o.jsxRuntimeExports.jsxs(v.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?e.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:T,left:0,bottom:e.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[o.jsxRuntimeExports.jsx(v.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),o.jsxRuntimeExports.jsx(v.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject}}),o.jsxRuntimeExports.jsx(v.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>e.amountValueToString("0,0.[00]a",S,d)}),o.jsxRuntimeExports.jsx(v.Tooltip,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeWidth:(E-60)/a.maxXAxisItems.net_burn_or_income,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?o.jsxRuntimeExports.jsx(v.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:e.Space.sp0},iconSize:e.sp[3],formatter:S=>o.jsxRuntimeExports.jsx(ae,{windowSize:g,children:S.endsWith("_forecast")===!0?e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[S]:e.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(S)]})}):null]})})})},ie=C.div`
|
|
145
|
+
display: flex;
|
|
146
|
+
`,ue=C.div`
|
|
147
|
+
flex: display;
|
|
148
|
+
opacity: 0.85;
|
|
149
|
+
border-radius: ${e.Space.sp1};
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
padding: ${e.Space.sp3};
|
|
152
|
+
background-color: ${t=>t.theme.colors.black};
|
|
153
|
+
`,Z=C(e.StandardRegular)`
|
|
154
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
155
|
+
text-align: left;
|
|
156
|
+
`,V=C.div`
|
|
157
|
+
flex: 1;
|
|
158
|
+
text-align: right;
|
|
159
|
+
`,pe=C.div`
|
|
160
|
+
width: 162px;
|
|
161
|
+
`,pt=C.div`
|
|
162
|
+
margin: ${e.Space.sp2} ${e.Space.sp0} ${e.Space.sp2} ${e.Space.sp0};
|
|
163
|
+
width: 100%;
|
|
164
|
+
height: 1px;
|
|
165
|
+
background-color: ${e.Colors.neutralGrey3Dark};
|
|
166
|
+
`,xe=C(e.StandardRegular)`
|
|
167
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
168
|
+
text-align: left;
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: space-between;
|
|
171
|
+
`,me=C.div`
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
`,de=C.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
background-color: ${t=>t.theme.colors.black};
|
|
177
|
+
opacity: 0.85;
|
|
178
|
+
border-radius: ${e.Space.sp1} ${e.Space.sp1} ${e.Space.sp0} ${e.Space.sp0};
|
|
179
|
+
color: ${t=>t.theme.colors.grey1};
|
|
180
|
+
padding: ${e.Space.sp3};
|
|
181
|
+
`,he=C.div`
|
|
182
|
+
flex: display;
|
|
183
|
+
opacity: 0.85;
|
|
184
|
+
width: 500px;
|
|
185
|
+
border-radius: ${e.Space.sp0} ${e.Space.sp0} ${e.Space.sp1} ${e.Space.sp1};
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
padding: ${e.Space.sp3};
|
|
188
|
+
background-color: ${t=>t.theme.colors.black};
|
|
189
|
+
`,ge=C(e.StandardRegular)`
|
|
190
|
+
text-align: left;
|
|
191
|
+
width: 162px;
|
|
192
|
+
`,L=C(e.StandardRegularSp)`
|
|
193
|
+
text-align: right;
|
|
194
|
+
flex: 1;
|
|
195
|
+
`,Ce=({active:t,payload:r,barName:s})=>{const l=[];if(r!=null&&t===!0){const n=r.filter(u=>u.name==s)[0],c=n.payload,p=n.color,m=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;if(!s?.endsWith("_forecast")){let u;if(s.includes("forecast")!==!0){u=c.record[s]!=null?fe(s,c):void 0;const i={amount:0,currencyCode:"",currencySymbol:""},g={amount:0,currencyCode:"",currencySymbol:""};let h;for(h in c.record){const y=c.record[h].amount;h.endsWith("_actual")?(i.amount+=c.record[h].amount?.amount??0,i.currencyCode=y!=null?y.currencyCode:i.currencyCode,i.currencySymbol=y!=null?y.currencySymbol:i.currencySymbol):h.endsWith("_forecast")&&(g.amount+=c.record[h].amount?.amount??0,g.currencyCode=y!=null?y.currencyCode:g.currencyCode,g.currencySymbol=y!=null?y.currencySymbol:g.currencySymbol)}const d=Math.floor((i?.amount-g?.amount)*100/100),f={...i,amount:d},K=g.amount!==0?Math.floor((i.amount-g.amount)/g.amount*100)/100:0,R={value:g,change:f,percent:K};l.push({barName:a.getIDFromChartValueKey(s),actual:m,forecast:u,color:p}),l.push({barName:e.appLocale.getLocalizedStrings().chartCard.total,actual:i,forecast:R,color:e.Colors.neutralGrey1Light})}}}return l},fe=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c={...l,amount:n!=null?Math.floor((l.amount-n.amount)*100/100):l.amount},p=n!=null&&n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:c,percent:p}},tt=t=>o.jsxRuntimeExports.jsxs(xe,{color:t.color,children:[o.jsxRuntimeExports.jsx(ge,{children:`${t.barName}:`}),o.jsxRuntimeExports.jsx(L,{children:t.actual!=null?`${a.currencyFormatter(t.actual)}`:"-"}),o.jsxRuntimeExports.jsx(L,{children:t.forecast!=null?`${a.currencyFormatter(t.forecast.value)}`:"-"}),t.forecast!=null?o.jsxRuntimeExports.jsx(L,{isChange:!0,children:`${a.currencyFormatter(t.forecast.change)}`}):o.jsxRuntimeExports.jsx(L,{children:"-"}),t.forecast!=null?o.jsxRuntimeExports.jsx(L,{isChange:!0,children:e.percentValueToString("0,0.0%",t.forecast.percent)}):o.jsxRuntimeExports.jsx(L,{children:"-"})]}),ye=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},je=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsx(ie,{children:o.jsxRuntimeExports.jsxs(ue,{children:[o.jsxRuntimeExports.jsx(Z,{color:t[0].color,children:`${t[0].barName}: ${a.currencyFormatter(t[0].actual)}`}),o.jsxRuntimeExports.jsx(pt,{}),o.jsxRuntimeExports.jsx(Z,{children:`${e.appLocale.getLocalizedStrings().chartCard.total}: ${a.currencyFormatter(t[1].actual)}`})]})}),Se=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsxs(me,{children:[o.jsxRuntimeExports.jsxs(de,{children:[o.jsxRuntimeExports.jsx(pe,{}),o.jsxRuntimeExports.jsx(V,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),o.jsxRuntimeExports.jsx(V,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),o.jsxRuntimeExports.jsxs(V,{children:[e.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",ye(t)]}),o.jsxRuntimeExports.jsx(V,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),o.jsxRuntimeExports.jsxs(he,{children:[tt(t[0]),o.jsxRuntimeExports.jsx(pt,{}),tt(t[1])]})]}),Ee=t=>{const r=Ce({...t});return r.length===0?null:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?o.jsxRuntimeExports.jsx(Se,{barLabelsWithValues:r}):o.jsxRuntimeExports.jsx(je,{barLabelsWithValues:r})})},$e=_.memo(Ee),Re=(t,r)=>{const s=[],l={};let n;return r!=null&&r.classes.length!=0&&r.classes.forEach(c=>{const p=O.balancesSliceToCOABalancesWithKey(c.class.className,"actual",c.childrenBalancesTotal),m=a.getChartValueKey(c.class.className,"actual");l[m]=p,s.push(m),n==null&&p.length>0&&(n=a.getChartValueKey(c.class.className,"actual"))}),n!=null?M.toChartData(t,s,n,l):void 0},et=[e.Colors.graphColor34,e.Colors.graphColor05,e.Colors.graphColor08,e.Colors.graphColor11,e.Colors.graphColor13,e.Colors.graphColor19,e.Colors.graphColor29,e.Colors.graphColor28,e.Colors.graphColor20,e.Colors.graphColor21,e.Colors.graphColor22,e.Colors.graphColor14,e.Colors.graphColor35,e.Colors.graphColor31,e.Colors.graphColor33,e.Colors.graphColor32,e.Colors.graphColor36,e.Colors.graphColor02,e.Colors.graphColor06,e.Colors.graphColor04,e.Colors.graphColor10,e.Colors.graphColor12,e.Colors.graphColor15,e.Colors.graphColor18,e.Colors.graphColor17,e.Colors.graphColor07,e.Colors.graphColor34Dark,e.Colors.graphColor05Dark,e.Colors.graphColor08Dark,e.Colors.graphColor11Dark,e.Colors.graphColor13Dark,e.Colors.graphColor19Dark,e.Colors.graphColor29Dark,e.Colors.graphColor28Dark,e.Colors.graphColor20Dark,e.Colors.graphColor21Dark,e.Colors.graphColor22Dark,e.Colors.graphColor14Dark,e.Colors.graphColor35Dark,e.Colors.graphColor31Dark,e.Colors.graphColor33Dark,e.Colors.graphColor32Dark,e.Colors.graphColor36Dark,e.Colors.graphColor02Dark,e.Colors.graphColor06Dark,e.Colors.graphColor04Dark,e.Colors.graphColor10Dark,e.Colors.graphColor12Dark,e.Colors.graphColor15Dark,e.Colors.graphColor18Dark,e.Colors.graphColor17Dark,e.Colors.graphColor07Dark];class A{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=e.Colors.graphColor34,this._barColors=et.slice(),this._barColorsKeyWise=new Map}static#t=new A;getBarColor(r){const s=A.instance();return s._barColorsKeyWise.has(r)||(s._barColors.length===0&&(s._barColors=et.slice()),s._barColorsKeyWise.set(r,s._barColors.shift()??s._defaultColor)),s._barColorsKeyWise.get(r)}shouldUpdate(r){const s=A.instance(),l=Array.from(s._barColorsKeyWise.keys()).sort();return!o.isEqual(l,r)}static init(){return this.#t=new A,this.#t}static instance(){return this.#t}}const Ke=A.instance(),ve=(t,r,s)=>{const l=[],n={};let c,p=!1;if(s!=null&&s.accountGroups.length!=0?s.accountGroups.forEach(m=>{const u=O.balancesSliceToCOABalancesWithKey(m.accountGroupName,"actual",m),i=a.getChartValueKey(m.accountGroupName,"actual");n[i]=u,l.push(i),c==null&&u.length>0&&(c=a.getChartValueKey(m.accountGroupName,"actual"))}):s!=null&&s.accounts.length!=0&&(p=!0,s.accounts.forEach(m=>{const u=O.balancesSliceToCOABalancesWithKey(m.account.accountName,"actual",m.account.balancesInTimeframe),i=a.getChartValueKey(m.account.accountName,"actual");n[i]=u,l.push(i),c==null&&u.length>0&&(c=a.getChartValueKey(m.account.accountName,"actual"))})),s!=null&&s.accountGroups.length===0&&s.accounts.length===0){const m=e.appLocale.getLocalizedStrings().chartCard.total,u=O.balancesSliceToCOABalancesWithKey(m,"actual",s);if(u.length!==0){const i=a.getChartValueKey(m,"actual");n[i]=u,c=i,l.push(i)}}return r==="forecast_mode"&&Object.assign(n,Te(l,s)),c!=null?M.toChartData(t,l,c,n,p):void 0},Te=(t,r)=>{const s={};let l;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(n=>{const c=O.balancesSliceToCOABalancesWithKey(n.accountGroupName,"forecast",n),p=a.getChartValueKey(n.accountGroupName,"forecast");s[p]=c,t.push(p),l==null&&c.length>0&&(l=a.getChartValueKey(n.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(n=>{const c=O.balancesSliceToCOABalancesWithKey(n.account.accountName,"forecast",n.account.balancesInTimeframe),p=a.getChartValueKey(n.account.accountName,"forecast");s[p]=c,t.push(p),l==null&&c.length>0&&(l=a.getChartValueKey(n.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const n=e.appLocale.getLocalizedStrings().chartCard.total,c=O.balancesSliceToCOABalancesWithKey(n,"forecast",r);if(c.length!==0){const p=a.getChartValueKey(n,"forecast");s[p]=c,l=p,t.push(p)}}return s},be=C.div`
|
|
196
|
+
width: ${t=>t.width}px;
|
|
197
|
+
height: ${t=>t.height}px;
|
|
198
|
+
`,ke=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:4,stroke:l,strokeWidth:2,fill:n})},Be=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:5,stroke:n,strokeWidth:2,fill:l})};function Oe({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=_.useRef(!1),[g,h]=_.useState(Ke),[d,f]=_.useState(void 0),K=o.useTheme(),R=_.useRef([]);_.useEffect(()=>{i.current=!0},[]),_.useEffect(()=>{g.shouldUpdate(R.current)===!0&&h(A.init())},[]),_.useEffect(()=>{let E=[];if(t.reportId==="operating_expenses"){const S=t.sections.expenses;S.accountGroups.length===0&&S.accounts.length===0?E.push(e.appLocale.getLocalizedStrings().chartCard.total):S.accountGroups.length!=0?E=S.accountGroups.map(B=>B.accountGroupName).sort():E=S.accounts.map(B=>B.account).map(B=>B.accountName).sort()}else E=t.sections.expenses.classes.map(S=>S.class.className).sort();R.current=E},[t,g]);const y=_.useMemo(()=>t.reportId==="operating_expenses"?ve(t.firstMonthOfFY,m,t.sections.expenses):Re(t.firstMonthOfFY,t.sections.expenses),[t,m]),T=_.useCallback(()=>{const E=x=>o.jsxRuntimeExports.jsx(v.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:o.jsxRuntimeExports.jsx(ke,{}),activeDot:o.jsxRuntimeExports.jsx(Be,{}),dataKey:j=>{const b=j.record;let k,I;for(I in b)if(I.endsWith("_forecast")){const w=b[I].amount;w!=null&&(k==null?k={...w}:k.amount+=w.amount)}return k?.amount},stroke:K.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j)=>o.jsxRuntimeExports.jsx(v.Bar,{name:x,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:b=>{const k=b.record;return(k[x]!=null&&k[x].amount!=null?k[x].amount:void 0)?.amount??0},stackId:"a",fill:g.getBarColor(a.getIDFromChartValueKey(x)),onMouseEnter:()=>{d!==x&&f(x)},onMouseLeave:()=>{d!=null&&f(void 0)}},x),B=[];return y?.orderedKeys.forEach(x=>{const j=!i.current;x.endsWith("_forecast")?B.push(E(x)):B.push(S(x,j))}),B},[y]),$=({active:E,payload:S})=>S?.find(x=>x.name===d)!=null&&d!=null&&E===!0?o.jsxRuntimeExports.jsx($e,{active:E,payload:S,mode:m,barName:d}):null;return y==null?null:o.jsxRuntimeExports.jsx(Ie,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:T(),customToolTipContent:o.jsxRuntimeExports.jsx($,{}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const Ie=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useTheme(),h=a.getCurrencySymbol(t),d=t.timeseries,f=d.map(T=>T.label),K=m!==!1,R=T=>{if(!u||T?.activePayload==null||T?.activePayload.length===0)return;const $=T.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=T.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const B=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=B[1]===void 0?f.length-1:f.indexOf(B[1]),j={...n,thisPeriod:{startDate:d[x].startDate,endDate:d[x].endDate}};i?.(d[E],r,j)},y=u?(c-60)/a.maxXAxisItems.operating_expenses*(a.maxXAxisItems.operating_expenses-t.recordByTimeseries.length):20;return o.jsxRuntimeExports.jsx(be,{width:c,height:p,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:T,width:$})=>o.jsxRuntimeExports.jsxs(v.ComposedChart,{width:$,height:T,stackOffset:"sign",data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?e.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[o.jsxRuntimeExports.jsx(v.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),o.jsxRuntimeExports.jsx(v.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...e.textStyles.extraSmallRegular.cssObject}}),o.jsxRuntimeExports.jsx(v.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...e.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>e.amountValueToString("0,0.[00]a",E,h)}),o.jsxRuntimeExports.jsx(v.Tooltip,{wrapperStyle:{zIndex:2},cursor:K?{stroke:g.colors.background,strokeWidth:($-60)/a.maxXAxisItems.operating_expenses,fill:g.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})},_e=C.div`
|
|
199
|
+
display: flex;
|
|
200
|
+
`,we=C.div`
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-direction: column;
|
|
203
|
+
`,Fe=C.div`
|
|
204
|
+
display: flex;
|
|
205
|
+
background-color: ${t=>t.theme.colors.black};
|
|
206
|
+
opacity: 0.85;
|
|
207
|
+
border-radius: ${e.Space.sp1} ${e.Space.sp1} ${e.Space.sp0} ${e.Space.sp0};
|
|
208
|
+
color: ${t=>t.theme.colors.grey1};
|
|
209
|
+
padding: ${e.Space.sp3};
|
|
210
|
+
`,G=C.div`
|
|
211
|
+
flex: 1;
|
|
212
|
+
text-align: right;
|
|
213
|
+
`,Ae=C.div`
|
|
214
|
+
width: 132px;
|
|
215
|
+
`,De=C.div`
|
|
216
|
+
flex: display;
|
|
217
|
+
opacity: 0.85;
|
|
218
|
+
width: 500px;
|
|
219
|
+
border-radius: ${e.Space.sp0} ${e.Space.sp0} ${e.Space.sp1} ${e.Space.sp1};
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
padding: ${e.Space.sp3};
|
|
222
|
+
background-color: ${t=>t.theme.colors.black};
|
|
223
|
+
`,Le=C(e.StandardRegular)`
|
|
224
|
+
text-align: left;
|
|
225
|
+
width: 120px;
|
|
226
|
+
`,xt=C.div`
|
|
227
|
+
margin: ${e.Space.sp2} ${e.Space.sp0} ${e.Space.sp2} ${e.Space.sp0};
|
|
228
|
+
width: 100%;
|
|
229
|
+
height: 1px;
|
|
230
|
+
background-color: ${e.Colors.neutralGrey3Dark};
|
|
231
|
+
`,ze=C.div`
|
|
232
|
+
flex: display;
|
|
233
|
+
opacity: 0.85;
|
|
234
|
+
width: 210px;
|
|
235
|
+
border-radius: ${e.Space.sp1};
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
padding: ${e.Space.sp3};
|
|
238
|
+
background-color: ${t=>t.theme.colors.black};
|
|
239
|
+
`,mt=C(e.StandardRegular)`
|
|
240
|
+
color: ${t=>t.color??e.Colors.neutralGrey2Light};
|
|
241
|
+
text-align: left;
|
|
242
|
+
display: flex;
|
|
243
|
+
justify-content: space-between;
|
|
244
|
+
${t=>t.showPercent?"flex-start":"center"};
|
|
245
|
+
`,dt=C(e.StandardRegular)`
|
|
246
|
+
background-color: ${t=>t.color};
|
|
247
|
+
height: 12px;
|
|
248
|
+
width: 12px;
|
|
249
|
+
display: inline-block;
|
|
250
|
+
margin-right: ${e.Space.sp2};
|
|
251
|
+
`,Me=C(e.StandardRegular)`
|
|
252
|
+
text-align: left;
|
|
253
|
+
`,Ne=C.div`
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-direction: column;
|
|
256
|
+
text-align: right;
|
|
257
|
+
`,ot=C(e.StandardRegularSp)`
|
|
258
|
+
text-align: right;
|
|
259
|
+
`,z=C(e.StandardRegularSp)`
|
|
260
|
+
text-align: right;
|
|
261
|
+
flex: 1;
|
|
262
|
+
color: ${t=>t.isChange!=null&&t.isChange===!0?e.Colors.important:null};
|
|
263
|
+
`,rt=C(e.StandardRegularSp)`
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
`,nt=C(e.StandardRegularSp)``,Ve=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c={...l,amount:Math.floor((l.amount-n.amount)*100/100)},p=n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:c,percent:p,forecastPercent:r.record[s].percentValue}},Ge=({active:t,payload:r,mode:s})=>{const l=[];let n={amount:0,currencyCode:""},c={amount:0,currencyCode:""};const p=a.getChartValueKey("gross_margin","actual");return r?.forEach(m=>{const u=m.name;if(t===!0){const i=m.payload,g=m.color,h=u!=null&&i.record[u]!=null?i.record[u].amount:void 0;let d;if(u.includes("forecast")!==!0)switch(s==="forecast_mode"&&(d=i.record[u]!=null?Ve(u,i):void 0),u){case p:h!=null&&(n.currencyCode===""?n={...h}:n.amount=n.amount+h.amount),d!=null&&(c.currencyCode===""?c={...d.value}:c.amount=c.amount+d.value.amount),l.push({barName:e.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(u)],actual:h,forecast:d,percent:i.record[u]!=null?i.record[u].percentValue??0:0,color:g});break;default:l.push({barName:e.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(u)],actual:h,color:g,forecast:d});break}}}),l},st=t=>t.map((r,s)=>o.jsxRuntimeExports.jsxs(mt,{color:r.color,showPercent:r.percent!=null,children:[o.jsxRuntimeExports.jsxs(Me,{children:[o.jsxRuntimeExports.jsx(dt,{color:r.color}),`${r.barName}:`]}),o.jsxRuntimeExports.jsxs(Ne,{children:[o.jsxRuntimeExports.jsx(ot,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?o.jsxRuntimeExports.jsx(ot,{children:e.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),at=t=>t.map((r,s)=>o.jsxRuntimeExports.jsxs(mt,{color:r.color,showPercent:r.percent!=null,children:[o.jsxRuntimeExports.jsxs(Le,{children:[o.jsxRuntimeExports.jsx(dt,{color:r.color}),`${r.barName}:`]}),o.jsxRuntimeExports.jsx(z,{children:o.jsxRuntimeExports.jsxs(rt,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",o.jsxRuntimeExports.jsx(nt,{children:r.percent!=null?e.percentValueToString("0,0.0%",r.percent):null})]})}),o.jsxRuntimeExports.jsx(z,{children:o.jsxRuntimeExports.jsxs(rt,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",o.jsxRuntimeExports.jsx(nt,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?e.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?o.jsxRuntimeExports.jsx(z,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):o.jsxRuntimeExports.jsx(z,{children:"-"}),r.forecast!=null?o.jsxRuntimeExports.jsx(z,{isChange:!0,children:e.percentValueToString("0,0.0%",r.forecast.percent)}):o.jsxRuntimeExports.jsx(z,{children:"-"})]},r.barName+s)),Pe=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Xe=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsxs(we,{children:[o.jsxRuntimeExports.jsxs(Fe,{children:[o.jsxRuntimeExports.jsx(Ae,{}),o.jsxRuntimeExports.jsx(G,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),o.jsxRuntimeExports.jsx(G,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),o.jsxRuntimeExports.jsxs(G,{children:[e.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Pe(t)]}),o.jsxRuntimeExports.jsx(G,{children:e.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),o.jsxRuntimeExports.jsxs(De,{children:[at(t.slice(0,t.length-1)),t.length?o.jsxRuntimeExports.jsx(xt,{}):null,at(t.slice(-1))]})]}),He=({barLabelsWithValues:t})=>o.jsxRuntimeExports.jsx(_e,{children:o.jsxRuntimeExports.jsxs(ze,{children:[st(t.slice(0,t.length-1)),t.length?o.jsxRuntimeExports.jsx(xt,{}):null,st(t.slice(-1))]})}),Ye=t=>{const r=Ge({...t});return r.length===0?null:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?o.jsxRuntimeExports.jsx(Xe,{barLabelsWithValues:r}):o.jsxRuntimeExports.jsx(He,{barLabelsWithValues:r})})},qe=_.memo(Ye),ct=(t,r,s,l,n,c)=>{let p=[],m=[],u=[];l!=null&&l.balances.length>0&&(p=O.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(m=O.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(u=O.calculatedSectionToCOABalancesWithKey("gross_margin","actual",c));const i=a.getChartValueKey("income","actual"),g=a.getChartValueKey("cogs","actual"),h=a.getChartValueKey("gross_margin","actual"),d=p.length>0?i:m.length>0?g:h,f={};return f[i]=p,f[g]=m,f[h]=u,s==="forecast_mode"&&Object.assign(f,We(l,n,c)),d!=null?M.toChartData(t,r,d,f):void 0},We=(t,r,s)=>{let l=[],n=[],c=[];t!=null&&t.balances.length>0&&(l=O.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(n=O.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(c=O.calculatedSectionToCOABalancesWithKey("gross_margin","forecast",s));const p=a.getChartValueKey("income","forecast"),m=a.getChartValueKey("cogs","forecast"),u=a.getChartValueKey("gross_margin","forecast"),i={};return i[p]=l,i[m]=n,i[u]=c,i},Je=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("gross_margin","actual")],Ue=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("gross_margin","actual"),a.getChartValueKey("income","forecast"),a.getChartValueKey("cogs","forecast"),a.getChartValueKey("gross_margin","forecast")],Qe=C.div`
|
|
267
|
+
width: ${t=>t.width}px;
|
|
268
|
+
height: ${t=>t.height}px;
|
|
269
|
+
|
|
270
|
+
.recharts-legend-item {
|
|
271
|
+
margin-right: ${t=>D.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
272
|
+
:last-of-type {
|
|
273
|
+
margin-right: ${e.Space.sp0} !important;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
`,Ze=C(e.ExtraSmallRegularSp)`
|
|
277
|
+
margin-left: ${t=>D.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
278
|
+
margin-right: ${t=>D.legendLabelMarginRight.valuePx(t.windowSize)};
|
|
279
|
+
color: ${t=>t.theme.colors.primary};
|
|
280
|
+
`;function to({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=o.useTheme(),g=_.useRef(!1);_.useEffect(()=>{g.current=!0},[]);const h=[i.colors.graphColor26,i.colors.graphColor17,i.colors.graphColor12],d=[i.colors.graphColor28,i.colors.graphColor17,i.colors.graphColor10,i.colors.graphColor28Dark,i.colors.graphColor17Dark,i.colors.graphColor10Dark],f=m==="forecast_mode"?d:h,K=m==="forecast_mode"?Ue:Je,R=(x,j=i.colors.graphColor28)=>x<f.length?f[x]:j,y=t.reportId==="revenue"?ct(t.firstMonthOfFY,K,m,t.sections?.income,t.sections?.cogs,t.calculatedSections?.grossMargin):ct(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.calculatedSections.grossMargin),T=x=>{const{cx:j,cy:b,fill:k,stroke:I,value:w}=x;return w==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:j,cy:b,r:4,stroke:k,strokeWidth:2,fill:I})},$=x=>{const{cx:j,cy:b,fill:k,stroke:I,value:w}=x;return w==null?o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{}):o.jsxRuntimeExports.jsx("circle",{cx:j,cy:b,r:5,stroke:I,strokeWidth:2,fill:k})},E=(x,j)=>o.jsxRuntimeExports.jsx(v.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:o.jsxRuntimeExports.jsx(T,{}),activeDot:o.jsxRuntimeExports.jsx($,{}),dataKey:b=>{const k=b.record;return(k[x]!=null&&k[x].amount!=null?k[x].amount:void 0)?.amount},stroke:R(j),strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j,b)=>o.jsxRuntimeExports.jsx(v.Bar,{name:x,animationDuration:b?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:k=>{const I=k.record;return(I[x]!=null&&I[x].amount!=null?I[x].amount:void 0)?.amount??0},fill:R(j)},x),B=()=>{const x=[];return K.forEach((j,b)=>{const k=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,b)):x.push(S(j,b,k))}),x};return y==null?null:o.jsxRuntimeExports.jsx(eo,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:B(),customToolTipContent:({active:x,payload:j})=>o.jsxRuntimeExports.jsx(qe,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const eo=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useWindowSizeContext(),h=o.useTheme(),d=a.getCurrencySymbol(t),f=t.timeseries,K=f.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,B=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(B,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),b={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,b)},T=u?(c-60)/a.maxXAxisItems.revenue*(a.maxXAxisItems.revenue-t.recordByTimeseries.length):20;return o.jsxRuntimeExports.jsx(Qe,{width:c,height:p,windowSize:g,children:o.jsxRuntimeExports.jsx(o.AutoSizer,{children:({height:$,width:E})=>o.jsxRuntimeExports.jsxs(v.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?e.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:T,left:0,bottom:e.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[o.jsxRuntimeExports.jsx(v.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),o.jsxRuntimeExports.jsx(v.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject}}),o.jsxRuntimeExports.jsx(v.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...e.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>e.amountValueToString("0,0.[00]a",S,d)}),o.jsxRuntimeExports.jsx(v.Tooltip,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeWidth:(E-60)/a.maxXAxisItems.revenue,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?o.jsxRuntimeExports.jsx(v.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:e.Space.sp0},iconSize:e.sp[3],formatter:S=>o.jsxRuntimeExports.jsx(Ze,{windowSize:g,children:S.endsWith("_forecast")===!0?e.appLocale.getLocalizedStrings().chartCard.revenue[S]:e.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(S)]})}):null]})})})};exports.CashInCashOutChart=bt;exports.CashPositionChart=Lt;exports.NetBurnOrIncomeChart=ce;exports.OpExChart=Oe;exports.RevenueChart=to;
|