@zeniai/web-components 3.17.11 → 3.17.13
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-BMCiAhGz.cjs +21 -0
- package/dist/ACHDetailsPage-CByi57Q5.js +160 -0
- package/dist/AIPerformancePage-CE5BYdlX.cjs +539 -0
- package/dist/AIPerformancePage-ry0hjELD.js +1345 -0
- package/dist/AccountInfoPage-Cf8ZJzo5.cjs +18 -0
- package/dist/AccountInfoPage-zQgMnh95.js +78 -0
- package/dist/AccountInfoPageContent-aaUmTWDr.cjs +149 -0
- package/dist/AccountInfoPageContent-pRb1LcGi.js +428 -0
- package/dist/AccountLockedInfoModal-CRR2zhAZ.cjs +59 -0
- package/dist/AccountLockedInfoModal-DMEylQw5.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-D-25pebd.js +689 -0
- package/dist/AccountReconDetailsDrawerPage-n3KDI41Z.cjs +239 -0
- package/dist/AccountRow-DCD0MyZ6.js +1014 -0
- package/dist/AccountRow-DLstgPZb.cjs +298 -0
- package/dist/AccountsPromoCardStack-B6qL2GJ_.cjs +207 -0
- package/dist/AccountsPromoCardStack-osxrkuh9.js +664 -0
- package/dist/AddAddressForCardDrawer-3RxXbMTV.cjs +6 -0
- package/dist/AddAddressForCardDrawer-DstuEOIn.js +82 -0
- package/dist/AddToWalletPage-CoxiJR3i.cjs +344 -0
- package/dist/AddToWalletPage-CrAKLVd9.js +642 -0
- package/dist/AgingReportsPage-C6akEg61.cjs +79 -0
- package/dist/AgingReportsPage-DxVe_QZI.js +827 -0
- package/dist/AllUserItems-3BZK8Urx.cjs +192 -0
- package/dist/AllUserItems-Cg-YE5n4.js +979 -0
- package/dist/ApAgingDetailPage-Dgt1tZwU.cjs +46 -0
- package/dist/ApAgingDetailPage-Feo7sQ0a.js +239 -0
- package/dist/AppBasePage-CFT7seFc.cjs +71 -0
- package/dist/AppBasePage-D8hdcZV1.js +120 -0
- package/dist/AppDrawerContent-7q7SaMxE.js +379 -0
- package/dist/AppDrawerContent-D2J9pvur.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-BMw7HSTI.js +145 -0
- package/dist/ApprovalRulesSettingsPage-DE5n3-t0.cjs +47 -0
- package/dist/ArAgingChart-C1-Rk-9b.js +530 -0
- package/dist/ArAgingChart-DMdckAwY.cjs +24 -0
- package/dist/ArAgingDetailPage-BdYYz4n6.cjs +46 -0
- package/dist/ArAgingDetailPage-CXTx9Fux.js +243 -0
- package/dist/AttachmentView-BREBbRQz.cjs +101 -0
- package/dist/AttachmentView-Dn1CsvSj.js +260 -0
- package/dist/BankAccountSection-CQBaBRSi.cjs +79 -0
- package/dist/BankAccountSection-jDObGbZV.js +398 -0
- package/dist/BankAccountWarningSection-CQFFQ8k8.cjs +51 -0
- package/dist/BankAccountWarningSection-DZnSYf5d.js +110 -0
- package/dist/BankConnectionsSettingsPage-CCGBdT4F.js +1694 -0
- package/dist/BankConnectionsSettingsPage-vydiFsL4.cjs +425 -0
- package/dist/BillDetailPage-B90oMTaH.js +1806 -0
- package/dist/BillDetailPage-Cf3eGRAG.cjs +266 -0
- package/dist/BillPayApprovalRuleDetailPage-CHB86_7Q.js +266 -0
- package/dist/BillPayApprovalRuleDetailPage-DG9dIKAv.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-CZdgOb17.js +431 -0
- package/dist/BillPayApprovalRulesPage-DumICH5r.cjs +241 -0
- package/dist/BillPayPromoPage-CD7Ti7-T.cjs +84 -0
- package/dist/BillPayPromoPage-HNmTLeE4.js +292 -0
- package/dist/BillPaySetUpPage-CfdCpwik.js +408 -0
- package/dist/BillPaySetUpPage-JwbSm-QW.cjs +42 -0
- package/dist/BillingSettingsPage-BBLFTdgD.cjs +44 -0
- package/dist/BillingSettingsPage-DxWP9VgS.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-4YMo2Pk-.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-B-K1-ttf.js +216 -0
- package/dist/BoxItem-CMkN0K5i.cjs +53 -0
- package/dist/BoxItem-CmRtyGqS.js +118 -0
- package/dist/BusinessVerificationPage-CHT1b2-C.js +716 -0
- package/dist/BusinessVerificationPage-LE5VXPDG.cjs +138 -0
- package/dist/BusyIndication-BQ1RUFXK.js +19 -0
- package/dist/BusyIndication-Cy1fvnFr.cjs +9 -0
- package/dist/CardNumberSubText-DgWkVI3c.js +59 -0
- package/dist/CardNumberSubText-vXXUzsgC.cjs +21 -0
- package/dist/CashbackDetailPage-B6Nwz_Ah.js +825 -0
- package/dist/CashbackDetailPage-BFzCVwNJ.cjs +285 -0
- package/dist/ChargeCardDetailPage-BkEFRwuQ.cjs +1462 -0
- package/dist/ChargeCardDetailPage-D3hwVGve.js +5454 -0
- package/dist/ChargeCardListPage-Byu8tMt1.js +1797 -0
- package/dist/ChargeCardListPage-DnQWgKo_.cjs +412 -0
- package/dist/ChargeCardListTable-Bc-cbQ9b.cjs +711 -0
- package/dist/ChargeCardListTable-BiqncxiQ.js +2901 -0
- package/dist/ChargeCardPromoPage-DFVPzInz.js +816 -0
- package/dist/ChargeCardPromoPage-DoRv6kxp.cjs +222 -0
- package/dist/ChargeCardSetupPage-ByzSaB_x.cjs +36 -0
- package/dist/ChargeCardSetupPage-DNO9ZRA6.js +359 -0
- package/dist/ChargeCardStatementsPage-2sOWfGAG.cjs +60 -0
- package/dist/ChargeCardStatementsPage-DWfLah-2.js +243 -0
- package/dist/CheckDepositDrawerPage-BxRJF_Ma.js +726 -0
- package/dist/CheckDepositDrawerPage-DuPm3JUF.cjs +206 -0
- package/dist/CollapsableReportTable-DU10-vFD.js +11659 -0
- package/dist/CollapsableReportTable-lPEr8wkM.cjs +2844 -0
- package/dist/CompanyOfficerDetailsSection-vT2o63_D.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-ypxA7mNz.cjs +260 -0
- package/dist/CompanyPassportCard-2Hw4rrEO.js +146 -0
- package/dist/CompanyPassportCard-77Dcvmfb.cjs +42 -0
- package/dist/CompanyPassportPage-C-bFufpm.cjs +574 -0
- package/dist/CompanyPassportPage-DQ0KeDZT.js +2160 -0
- package/dist/CompleteProfile-BHUMu-kp.cjs +52 -0
- package/dist/CompleteProfile-vRkLJHYG.js +301 -0
- package/dist/ConfettiBurst-B7kW3kb7.js +37 -0
- package/dist/ConfettiBurst-DubRthuM.cjs +1 -0
- package/dist/CreateOrEditVendorPage-D214SpX3.cjs +281 -0
- package/dist/CreateOrEditVendorPage-Dv3Lbqf6.js +763 -0
- package/dist/CreditCardPaymentDrawerPage-BmqcDq9w.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-DBNe_pvC.js +1170 -0
- package/dist/CurrencySelectField-C0drW4wc.js +348 -0
- package/dist/CurrencySelectField-YTNh0XtF.cjs +139 -0
- package/dist/CustomerOnboardingActivationPage-BVdmy4u5.cjs +88 -0
- package/dist/CustomerOnboardingActivationPage-Ca6RnRVm.js +143 -0
- package/dist/CustomerOnboardingContainerPage-BERqym5I.js +7 -0
- package/dist/CustomerOnboardingContainerPage-CVU7lvrW.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-DVKSaBbJ.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-EQE95Ix6.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-B4YpH-hF.js +424 -0
- package/dist/CustomerOnboardingNoStepsPage-BEvSLS_Q.cjs +66 -0
- package/dist/CustomerOnboardingPage-Chn3mpAw.js +1094 -0
- package/dist/CustomerOnboardingPage-bTt-5Hc1.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-COBZs4LJ.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-D9ChPQPM.js +348 -0
- package/dist/Dashboard-BjxZu972.js +5540 -0
- package/dist/Dashboard-D5-2404q.cjs +1551 -0
- package/dist/DashboardReportPage-B0Q50V4d.cjs +371 -0
- package/dist/DashboardReportPage-CPVV8Q_1.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-DF13tDCd.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-U6Xue56x.js +53 -0
- package/dist/DepositAccTransactionItem-5g6v5ggY.cjs +76 -0
- package/dist/DepositAccTransactionItem-ST1tyQRz.js +112 -0
- package/dist/DepositAccTransactionListPage-BIEOM4CL.js +152 -0
- package/dist/DepositAccTransactionListPage-CSHmP_O2.cjs +66 -0
- package/dist/DomesticWireDetailsPage-BJAVNT6a.js +189 -0
- package/dist/DomesticWireDetailsPage-DmsK34NZ.cjs +21 -0
- package/dist/DownloadOverlay-BoA1FXr4.cjs +439 -0
- package/dist/DownloadOverlay-DwqICREj.js +2148 -0
- package/dist/DrawerPage-BfiiKFPT.js +208 -0
- package/dist/DrawerPage-M5H6FY6H.cjs +118 -0
- package/dist/EditPeoplePage-D9hliAkn.js +392 -0
- package/dist/EditPeoplePage-DdDuUjXn.cjs +55 -0
- package/dist/EditReimbursementDetailPage-B94RpVqw.js +4531 -0
- package/dist/EditReimbursementDetailPage-BuPwxxiw.cjs +865 -0
- package/dist/EmptySearchResults-B6roTyi8.cjs +46 -0
- package/dist/EmptySearchResults-PfJ2vci6.js +70 -0
- package/dist/EntityDetailPage-Bt2HLy2Y.js +82 -0
- package/dist/EntityDetailPage-Dfei91y1.cjs +18 -0
- package/dist/EntitySummarySection-BshLSV3d.js +530 -0
- package/dist/EntitySummarySection-C2DgwOMD.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-CGdtvqc-.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-CH7ike3o.js +807 -0
- package/dist/ExpenseAutomationPage-C4ctOI5K.cjs +1650 -0
- package/dist/ExpenseAutomationPage-Cyvupl2Q.js +11574 -0
- package/dist/ExpressPayPage-DAsPSYA9.js +1136 -0
- package/dist/ExpressPayPage-DPVQ8D08.cjs +168 -0
- package/dist/FeaturePreviewPage-CujqMaaE.cjs +11 -0
- package/dist/FeaturePreviewPage-gLNuS6x5.js +114 -0
- package/dist/FollowStepsSection-Ddg6p5Kx.js +1313 -0
- package/dist/FollowStepsSection-NhD0S5W9.cjs +390 -0
- package/dist/GlobalReviewListPage-CyiWUUH9.js +1674 -0
- package/dist/GlobalReviewListPage-npN4PcuZ.cjs +291 -0
- package/dist/InformationCardStack-2iEw61Sk.cjs +31 -0
- package/dist/InformationCardStack-gAciq-3f.js +219 -0
- package/dist/InsightsCardStack-BJWQ6UKg.js +305 -0
- package/dist/InsightsCardStack-DSldid-g.cjs +79 -0
- package/dist/InsightsSection-DM7Xw-Yo.js +97 -0
- package/dist/InsightsSection-o1emjKqM.cjs +27 -0
- package/dist/IntegrationsSettingsPage-B_NYFoUM.js +136 -0
- package/dist/IntegrationsSettingsPage-BoJfWWDw.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-Du2Lqltb.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-ke8t50C6.cjs +171 -0
- package/dist/InternationalWireVerificationPage-C90nNkXB.js +877 -0
- package/dist/InternationalWireVerificationPage-DtZ5JQkG.cjs +292 -0
- package/dist/InviteFormPage-7GCRpCn-.js +873 -0
- package/dist/InviteFormPage-DoMIp6AL.cjs +312 -0
- package/dist/InvitePageListView-Lz19GJoR.cjs +739 -0
- package/dist/InvitePageListView-ar4a9HM_.js +1764 -0
- package/dist/InvitePeoplePage-GH8Rf1BZ.js +286 -0
- package/dist/InvitePeoplePage-sOx6zlWv.cjs +12 -0
- package/dist/InvoiceUploadSection-BDloqlKN.js +465 -0
- package/dist/InvoiceUploadSection-RxN-ir7Z.cjs +140 -0
- package/dist/IssueChargeCardPage-BXekJ3Jy.cjs +532 -0
- package/dist/IssueChargeCardPage-CQC9yLj4.js +2880 -0
- package/dist/LabeledAddressValue-Bc6cWfRV.cjs +49 -0
- package/dist/LabeledAddressValue-BdlRLp4C.js +115 -0
- package/dist/LabeledAddressValueField-CpsWrGX1.cjs +45 -0
- package/dist/LabeledAddressValueField-g2f6ZvLi.js +130 -0
- package/dist/LabeledControlledCheckBoxField-8gAIEeir.js +73 -0
- package/dist/LabeledControlledCheckBoxField-DT7umuCT.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-D4FxE0De.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-DVPNxLoC.js +515 -0
- package/dist/LabeledDocumentField-BT1Bo2vv.js +147 -0
- package/dist/LabeledDocumentField-DgoZslGF.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-BswfpuX6.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-CEsKgKGE.cjs +59 -0
- package/dist/LabeledEmailInputField-BJhALRop.cjs +182 -0
- package/dist/LabeledEmailInputField-Rrz--7K_.js +425 -0
- package/dist/LabeledItemWithButton-Z_DXMVrt.cjs +21 -0
- package/dist/LabeledItemWithButton-b-mrkFXX.js +74 -0
- package/dist/LabeledNameField-CYf3we3d.cjs +141 -0
- package/dist/LabeledNameField-D-BxQNTp.js +293 -0
- package/dist/LabeledSingleSelectField-DvAzjF3m.js +372 -0
- package/dist/LabeledSingleSelectField-SrVuZIBu.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-BU0aqn4x.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-a6sbTvmX.cjs +38 -0
- package/dist/LabeledText-CfRez48P.cjs +42 -0
- package/dist/LabeledText-ChhsvWnI.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-2M0Vs6r4.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Buc_B3Tk.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-fd7MvxWX.js +975 -0
- package/dist/LabeledZeniRolesDropDownField-olTOx9wd.cjs +297 -0
- package/dist/LinkJETransactionPage-XhdNBfEy.js +406 -0
- package/dist/LinkJETransactionPage-u-YN31uB.cjs +98 -0
- package/dist/LockCardPage-CoWd9MOg.cjs +623 -0
- package/dist/LockCardPage-DAXjLL9c.js +2032 -0
- package/dist/LowBalancePopup-BJJWarbA.js +219 -0
- package/dist/LowBalancePopup-CMjfYsXk.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-BWUkUIkO.js +39 -0
- package/dist/MagicLinkACHDetailsPage-DepitYwk.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BDHfZex5.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BiRxs84u.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-BNm5zeJc.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CFVvpDGh.cjs +1 -0
- package/dist/MagicLinkSuccessPage-BA2WgKDr.js +59 -0
- package/dist/MagicLinkSuccessPage-chwwK3zL.cjs +31 -0
- package/dist/MagicLinkTitleSection-D4lH9t6-.cjs +17 -0
- package/dist/MagicLinkTitleSection-DM9zVrNg.js +40 -0
- package/dist/MailingDetailsSection-C2HRAZpS.js +74 -0
- package/dist/MailingDetailsSection-GNkTZDy1.cjs +21 -0
- package/dist/MatchingOperatorDropdown-BY4PFYXL.js +572 -0
- package/dist/MatchingOperatorDropdown-mVdVuCrv.cjs +130 -0
- package/dist/Menu-DqJhGPkn.js +110 -0
- package/dist/Menu-hcPT262a.cjs +17 -0
- package/dist/MoreMenuButton-BWx1G0Oz.cjs +167 -0
- package/dist/MoreMenuButton-C6j7MQFz.js +569 -0
- package/dist/MyBankConnectionsSettingsPage-BA7U9k4C.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-FFimH5ke.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-C7t3Bh2g.js +168 -0
- package/dist/MyPendingActivationChargeCardListPage-D3AWWe9P.cjs +6 -0
- package/dist/MyProfileSettingsPage-CLaEVkv4.cjs +85 -0
- package/dist/MyProfileSettingsPage-DmRBNBlX.js +641 -0
- package/dist/NavBarWithPicker-BlFAcIeS.cjs +30 -0
- package/dist/NavBarWithPicker-FzkOPXeN.js +106 -0
- package/dist/NavigationArrow-C7a24R4p.js +88 -0
- package/dist/NavigationArrow-Dw08bRjQ.cjs +47 -0
- package/dist/NavigationDots-0UUKuNR-.js +44 -0
- package/dist/NavigationDots-h9e3FQt_.cjs +15 -0
- package/dist/NewGlobalMerchantPage-B51gP8FA.js +543 -0
- package/dist/NewGlobalMerchantPage-JWNa_-YM.cjs +160 -0
- package/dist/NoDataChart-B-YDF4mm.cjs +26 -0
- package/dist/NoDataChart-lAtsJ-An.js +58 -0
- package/dist/NoDataTable-BGoJCfod.js +27 -0
- package/dist/NoDataTable-Dsv6Ly64.cjs +8 -0
- package/dist/NotFoundPage-C3ZwHM9y.cjs +46 -0
- package/dist/NotFoundPage-Nq5cV5Hp.js +71 -0
- package/dist/NotificationSettingsPage-B4_Wn4gP.js +541 -0
- package/dist/NotificationSettingsPage-D7nFz4M1.cjs +163 -0
- package/dist/NotificationsListConfig-6hJ3ZCSf.cjs +1 -0
- package/dist/NotificationsListConfig-bhUuCmM8.js +10 -0
- package/dist/NotificationsPage--6pneMCG.cjs +685 -0
- package/dist/NotificationsPage-C19M5M7h.js +2664 -0
- package/dist/OpExByVendorPage-BKHIK9lF.js +1058 -0
- package/dist/OpExByVendorPage-Xj4jkh8-.cjs +100 -0
- package/dist/PandLWithForecastPage-B8DRlw6A.js +563 -0
- package/dist/PandLWithForecastPage-DGCGHdfZ.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-C7l9h-0I.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-Dx8FLvGO.cjs +106 -0
- package/dist/PeoplePage-4Dxy4Cca.cjs +675 -0
- package/dist/PeoplePage-DhgUNPnM.js +1994 -0
- package/dist/ProductsCarousel-BOWW_32o.js +309 -0
- package/dist/ProductsCarousel-yj_IkSq0.cjs +142 -0
- package/dist/PromoBaseCards-B4Ygz-44.cjs +218 -0
- package/dist/PromoBaseCards-CrpeTAwl.js +356 -0
- package/dist/QBOConnectionDialog-BSNpGDTm.cjs +51 -0
- package/dist/QBOConnectionDialog-BmJqUNhA.js +115 -0
- package/dist/QBOSetupSection-BkzLaK7_.cjs +79 -0
- package/dist/QBOSetupSection-DZE1Ioks.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BE9OKhWj.cjs +32 -0
- package/dist/ReimbursementApprovalRuleDetailPage-D7gKrP67.js +272 -0
- package/dist/ReimbursementApprovalRulesPage-UkrIUesQ.cjs +243 -0
- package/dist/ReimbursementApprovalRulesPage-pYPWDO_X.js +429 -0
- package/dist/ReimbursementDetailPage-CjKD7XZ9.js +1514 -0
- package/dist/ReimbursementDetailPage-DAvtObiu.cjs +314 -0
- package/dist/ReimbursementPromoPage-BTyVsPuw.js +363 -0
- package/dist/ReimbursementPromoPage-QZztN57C.cjs +84 -0
- package/dist/ReimbursementSetUpPage-CKZV57X8.js +663 -0
- package/dist/ReimbursementSetUpPage-kFYbr7_Y.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-CulWw-NK.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-Drjj7A_p.cjs +1 -0
- package/dist/ReloadCard-Bs0F7E-s.cjs +26 -0
- package/dist/ReloadCard-CEww2zGd.js +137 -0
- package/dist/ReloadContainer-Bht8YlJK.cjs +596 -0
- package/dist/ReloadContainer-CZxNwB7v.js +2165 -0
- package/dist/ReportTableViewSelector-C5unY4HQ.cjs +150 -0
- package/dist/ReportTableViewSelector-CeJ7_6oq.js +689 -0
- package/dist/ReportsPage-Bp5VflOz.js +1315 -0
- package/dist/ReportsPage-DbIlR57c.cjs +121 -0
- package/dist/RevenueChart-8OHNxS13.cjs +280 -0
- package/dist/RevenueChart-Ck7xIFXp.js +2240 -0
- package/dist/ReviewDetailsPage-CCflNQD0.js +1073 -0
- package/dist/ReviewDetailsPage-qwHJ5ARf.cjs +290 -0
- package/dist/ReviewOverlay-Co3w2rcQ.js +299 -0
- package/dist/ReviewOverlay-DaVwr1Gz.cjs +152 -0
- package/dist/RoleWithToolTip-D8BUcP3E.cjs +22 -0
- package/dist/RoleWithToolTip-nYtIksEt.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-BeTTnq9N.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-Cuq5twgj.js +806 -0
- package/dist/ScheduleDetailsPage-BbW8meM4.cjs +37 -0
- package/dist/ScheduleDetailsPage-DX9zYaVQ.js +726 -0
- package/dist/ScheduleSequenceTable-ChE8L61z.js +1261 -0
- package/dist/ScheduleSequenceTable-RwQ8_7J8.cjs +324 -0
- package/dist/SetUpAccountSection-BTQTSbjJ.cjs +378 -0
- package/dist/SetUpAccountSection-C4PDqgfD.js +1469 -0
- package/dist/SignIn-BbI1CQWR.js +1075 -0
- package/dist/SignIn-DrxXCtOi.cjs +448 -0
- package/dist/SpendManagementListViewPage-CcekxOPy.cjs +122 -0
- package/dist/SpendManagementListViewPage-D5kajT7q.js +631 -0
- package/dist/SpendManagementPerTabPage-BrAKrM5I.cjs +785 -0
- package/dist/SpendManagementPerTabPage-C4ypbF14.js +2903 -0
- package/dist/SpendManagementSection-C0Jpjxsj.js +1043 -0
- package/dist/SpendManagementSection-DIw2ywKi.cjs +230 -0
- package/dist/StatementItem-B2nTeGVO.cjs +31 -0
- package/dist/StatementItem-Soorajct.js +81 -0
- package/dist/StatementsPage-C_1NHRWX.js +130 -0
- package/dist/StatementsPage-MnzqIkqc.cjs +58 -0
- package/dist/StatusSwitcher-CvuV96vm.js +319 -0
- package/dist/StatusSwitcher-LEek4tWe.cjs +120 -0
- package/dist/SubTabSwitcher-BAcMPOsI.cjs +58 -0
- package/dist/SubTabSwitcher-M8ZdE1TZ.js +113 -0
- package/dist/SuccessAnimation-BoQb2NyH.js +52 -0
- package/dist/SuccessAnimation-EZ-zEc6O.cjs +13 -0
- package/dist/SummaryCard-Bi4EqlyP.cjs +1 -0
- package/dist/SummaryCard-xEQZJyvm.js +25 -0
- package/dist/TaskDetailPage-4XdTNTUv.cjs +775 -0
- package/dist/TaskDetailPage-mOAt0LxZ.js +2533 -0
- package/dist/TaskListRow-CQA8IDp7.js +1950 -0
- package/dist/TaskListRow-naplmCGm.cjs +556 -0
- package/dist/TaskManagementPage-CseyPymZ.cjs +508 -0
- package/dist/TaskManagementPage-D78gLZhW.js +1935 -0
- package/dist/TimeRangeSwitcher-C12ioRV7.js +265 -0
- package/dist/TimeRangeSwitcher-uajFz8Z9.cjs +64 -0
- package/dist/TimeframeSwitcher-Cjp4aTaD.cjs +31 -0
- package/dist/TimeframeSwitcher-DGi35XA7.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-CsE-u9F1.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-D9Rlxyna.js +157 -0
- package/dist/TopExCard-BZUYFU7p.cjs +38 -0
- package/dist/TopExCard-BcqJUOg5.js +569 -0
- package/dist/TopExDetailPage-1ZDpWYcp.js +318 -0
- package/dist/TopExDetailPage-B6-_KoU_.cjs +132 -0
- package/dist/TransactionDetailPage-9waCdcav.cjs +912 -0
- package/dist/TransactionDetailPage-tWotbRgy.js +5238 -0
- package/dist/TransactionList-BRyCcvtr.cjs +147 -0
- package/dist/TransactionList-CngS3844.js +558 -0
- package/dist/TransactionListBig-DWxL4VrR.cjs +284 -0
- package/dist/TransactionListBig-qP5M63aT.js +658 -0
- package/dist/TransactionListPage-CUx3Li9r.cjs +35 -0
- package/dist/TransactionListPage-CeszQyQn.js +145 -0
- package/dist/TransactionVendorDetailPage-CFNFzqg-.cjs +80 -0
- package/dist/TransactionVendorDetailPage-Ds6iG1ep.js +425 -0
- package/dist/TransferDrawerPage-CtMXMits.cjs +362 -0
- package/dist/TransferDrawerPage-USpO-cau.js +1436 -0
- package/dist/TreasuryOverviewPage-D-jCQNwB.js +1890 -0
- package/dist/TreasuryOverviewPage-EvaOTn8u.cjs +708 -0
- package/dist/TreasuryPromoPage-BBBqtVsJ.cjs +505 -0
- package/dist/TreasuryPromoPage-P1vA-Cs3.js +1123 -0
- package/dist/TreasuryStatementsPage-CQ0wyLUi.js +131 -0
- package/dist/TreasuryStatementsPage-Dn8i4cw3.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-DuE3_UNp.js +131 -0
- package/dist/TreasuryTaxLetterPage-J0Sj1lYi.cjs +58 -0
- package/dist/TrendChart-CEkG1r9J.js +334 -0
- package/dist/TrendChart-Dp-FC8UC.cjs +16 -0
- package/dist/TrendWithTransactions-ZcVpgIio.cjs +116 -0
- package/dist/TrendWithTransactions-o-SgISuF.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-BGhsz6FU.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-Yb3X0Et6.js +1159 -0
- package/dist/UnitIntegrationPage-BNMNWTuK.cjs +67 -0
- package/dist/UnitIntegrationPage-WGAZC8Ux.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BrpGOTrQ.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-C3J8FbEr.js +211 -0
- package/dist/Vendor2FAPopup-CAJua6Mz.js +69 -0
- package/dist/Vendor2FAPopup-DvruTKsI.cjs +1 -0
- package/dist/VendorACHDetailsPage-CbmEmu4y.cjs +1 -0
- package/dist/VendorACHDetailsPage-XLpoZc7_.js +43 -0
- package/dist/VendorDetailPage-B9Hmka9L.cjs +257 -0
- package/dist/VendorDetailPage-Cz0Qa-bw.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-71CMoK9A.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-CVgJ9__E.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-C1OlnOKu.cjs +175 -0
- package/dist/VendorFiling1099EditablePage-NdM6FPwm.js +842 -0
- package/dist/VendorFirstReviewPage-DmpVKhDD.cjs +730 -0
- package/dist/VendorFirstReviewPage-UuLknnk_.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-DFeX4pRV.js +968 -0
- package/dist/VendorInternationalWireDetailsPage-uk7GKz_R.cjs +152 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-D0Imh4Iu.cjs +1 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-k24h1BW8.js +52 -0
- package/dist/VendorsAccountsSection-B5_96Y5j.cjs +68 -0
- package/dist/VendorsAccountsSection-DybKbzpt.js +279 -0
- package/dist/VerifyDevice-B9wHGa_k.cjs +112 -0
- package/dist/VerifyDevice-CrrybY8A.js +298 -0
- package/dist/VideoPlayer-BabsiRMs.js +170 -0
- package/dist/VideoPlayer-eSm8ZqZV.cjs +77 -0
- package/dist/VideoPopup-BSWGKWH0.cjs +31 -0
- package/dist/VideoPopup-BZmGeqEK.js +60 -0
- package/dist/WarningsDrawerPage-Cy0h8zG6.js +228 -0
- package/dist/WarningsDrawerPage-DZb5QZv6.cjs +92 -0
- package/dist/ZeniAccountDetailPage-CmiJbE1G.js +908 -0
- package/dist/ZeniAccountDetailPage-DbgjOU1v.cjs +300 -0
- package/dist/ZeniAccountListViewPage-D0KheygJ.cjs +441 -0
- package/dist/ZeniAccountListViewPage-Jy24wwsC.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-BMRJeW0W.js +89 -0
- package/dist/ZeniAccountNavBarPieces-CIaSIWPw.cjs +14 -0
- package/dist/ZeniAccountPromoPage-81gIRW7L.cjs +184 -0
- package/dist/ZeniAccountPromoPage-B6jHUrn_.js +522 -0
- package/dist/ZeniAccountSetupPage-BqfeW-KX.js +309 -0
- package/dist/ZeniAccountSetupPage-DS_UdZRp.cjs +36 -0
- package/dist/ZeniAvatar-BQGsbjK_.js +34 -0
- package/dist/ZeniAvatar-CUSf83yC.cjs +13 -0
- package/dist/ZeniCopyright-D5_LJWm0.js +9 -0
- package/dist/ZeniCopyright-DsTKesSd.cjs +1 -0
- package/dist/ZeniDatePicker-BiaJvvfo.js +386 -0
- package/dist/ZeniDatePicker-tLHZRSL7.cjs +187 -0
- package/dist/ZeniTransferAmountSlider-BJsbeUkK.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-CrBCGTAi.js +215 -0
- package/dist/analyticsHelper-GmwZC-SB.cjs +1 -0
- package/dist/analyticsHelper-nBSzQVxH.js +65 -0
- package/dist/calculateSize-CRdp2VjU.cjs +1 -0
- package/dist/calculateSize-DicE0geg.js +22 -0
- package/dist/chartTypes-DzuJ8uk1.js +47 -0
- package/dist/chartTypes-UK8wi_qI.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-DJuz18NV.cjs +1 -0
- package/dist/common-DcwGfR3i.js +22 -0
- package/dist/commonDimensions-CPvy9LrV.js +13 -0
- package/dist/commonDimensions-UZR2O_qt.cjs +1 -0
- package/dist/detailCommon-BR4ivW9B.cjs +38 -0
- package/dist/detailCommon-E-xmCg20.js +124 -0
- package/dist/downloadPdf-CK-zo73R.js +32 -0
- package/dist/downloadPdf-COlojpQv.cjs +1 -0
- package/dist/index-BveTtfdM.js +92396 -0
- package/dist/index-DoK40ULp.cjs +21200 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-C4ur-Gcy.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-D0AmJyOB.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-RJbhXFbs.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-YaToL6Ey.js +387 -0
- package/dist/mapSpacerToTreeNode-BT7mMTTl.js +25 -0
- package/dist/mapSpacerToTreeNode-dwhu-guD.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-8McNlHrL.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-BH4krWLo.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CMIgJHDY.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-LeRPDRkr.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BYPxcE0M.js +32 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-MoAI6gpD.cjs +1 -0
- package/dist/sectionColor-B53gLieU.js +32 -0
- package/dist/sectionColor-Djwn9ij5.cjs +1 -0
- package/dist/toCOABalancesWithID-GRd-CoI1.cjs +1 -0
- package/dist/toCOABalancesWithID-xohduZJ-.js +8 -0
- package/dist/toChartData-DGq4MN4s.cjs +1 -0
- package/dist/toChartData-Ds6iyF-R.js +76 -0
- package/dist/uploadAttachment-CIfPiYiz.cjs +286 -0
- package/dist/uploadAttachment-GDtqH9Dl.js +952 -0
- package/dist/zeniDatePicker.helpers-BeY6oMR5.js +14 -0
- package/dist/zeniDatePicker.helpers-DJnuPejG.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-DPHNGRWN.js +0 -160
- package/dist/ACHDetailsPage-DvoalcpV.cjs +0 -21
- package/dist/AIPerformancePage-D86kWRjH.cjs +0 -539
- package/dist/AIPerformancePage-foqtM9RB.js +0 -1345
- package/dist/AccountInfoPage-D1nB7v-a.js +0 -78
- package/dist/AccountInfoPage-Du4VWT3b.cjs +0 -18
- package/dist/AccountInfoPageContent-C3JzFjou.js +0 -428
- package/dist/AccountInfoPageContent-DXabU5gd.cjs +0 -149
- package/dist/AccountLockedInfoModal-B_7XMDb9.cjs +0 -59
- package/dist/AccountLockedInfoModal-DsJet71p.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-B4cHIFJ6.js +0 -689
- package/dist/AccountReconDetailsDrawerPage-DkO-gbwa.cjs +0 -239
- package/dist/AccountRow-BEdu7Y3m.cjs +0 -298
- package/dist/AccountRow-BpMNeyry.js +0 -1014
- package/dist/AccountsPromoCardStack-CxB6Ccq7.cjs +0 -207
- package/dist/AccountsPromoCardStack-Jy7-TDkJ.js +0 -664
- package/dist/AddAddressForCardDrawer-CqPG_jsb.cjs +0 -6
- package/dist/AddAddressForCardDrawer-YnE0ynTZ.js +0 -82
- package/dist/AddToWalletPage-Ck9RhQyG.js +0 -642
- package/dist/AddToWalletPage-DHv9WxkQ.cjs +0 -344
- package/dist/AgingReportsPage-BHhlq3Ol.js +0 -827
- package/dist/AgingReportsPage-C01tm6kT.cjs +0 -79
- package/dist/AllUserItems-DrRYONVt.js +0 -979
- package/dist/AllUserItems-Wz6jHeh_.cjs +0 -192
- package/dist/ApAgingDetailPage-DVaNqI__.js +0 -239
- package/dist/ApAgingDetailPage-Dw-7OHEL.cjs +0 -46
- package/dist/AppBasePage-CmqrpUFq.cjs +0 -71
- package/dist/AppBasePage-DMZy02aO.js +0 -120
- package/dist/AppDrawerContent-BFbIRSzk.js +0 -379
- package/dist/AppDrawerContent-DYV9Mqu-.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-DjpcvPni.js +0 -145
- package/dist/ApprovalRulesSettingsPage-gg6Dk2Xw.cjs +0 -47
- package/dist/ArAgingChart-B3JAnMpC.js +0 -530
- package/dist/ArAgingChart-BP9U0-R4.cjs +0 -24
- package/dist/ArAgingDetailPage-B-A64Mby.js +0 -243
- package/dist/ArAgingDetailPage-BcDS7glr.cjs +0 -46
- package/dist/AttachmentView-BfpRX8Xp.cjs +0 -101
- package/dist/AttachmentView-BqYYFAv8.js +0 -260
- package/dist/BankAccountSection-BSzrUAdG.cjs +0 -79
- package/dist/BankAccountSection-CiOqypR8.js +0 -398
- package/dist/BankAccountWarningSection-Cb3hU6RF.cjs +0 -51
- package/dist/BankAccountWarningSection-Dp_In88x.js +0 -110
- package/dist/BankConnectionsSettingsPage-DXxTx_pP.js +0 -1694
- package/dist/BankConnectionsSettingsPage-ubqxR306.cjs +0 -425
- package/dist/BillDetailPage-DQnrZRqb.js +0 -1806
- package/dist/BillDetailPage-DXAe4tMj.cjs +0 -266
- package/dist/BillPayApprovalRuleDetailPage-psHN9SJH.js +0 -266
- package/dist/BillPayApprovalRuleDetailPage-vhDzNcH2.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-GkHEKRUD.cjs +0 -241
- package/dist/BillPayApprovalRulesPage-jx6cTLyo.js +0 -431
- package/dist/BillPayPromoPage-9cQLvcuL.cjs +0 -84
- package/dist/BillPayPromoPage-HYaz3pv-.js +0 -292
- package/dist/BillPaySetUpPage-8SkaMMur.js +0 -408
- package/dist/BillPaySetUpPage-C2rnOROB.cjs +0 -42
- package/dist/BillingSettingsPage-CkmuVLsx.js +0 -336
- package/dist/BillingSettingsPage-DSkAPj7c.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-BQOBRo7j.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-a7UoBEAq.cjs +0 -1
- package/dist/BoxItem-CCf1-6tC.js +0 -118
- package/dist/BoxItem-MlPt7nik.cjs +0 -53
- package/dist/BusinessVerificationPage-BMZp1Cut.cjs +0 -138
- package/dist/BusinessVerificationPage-Cky5XJqT.js +0 -716
- package/dist/BusyIndication-B0K5Y479.cjs +0 -9
- package/dist/BusyIndication-C2D5oxVK.js +0 -19
- package/dist/CardNumberSubText-DVigJv89.js +0 -59
- package/dist/CardNumberSubText-DZeGdwDQ.cjs +0 -21
- package/dist/CashbackDetailPage-CkQ2juRv.cjs +0 -285
- package/dist/CashbackDetailPage-OVF4iZER.js +0 -825
- package/dist/ChargeCardDetailPage-DLoiUUOT.cjs +0 -1462
- package/dist/ChargeCardDetailPage-VdWQpTXx.js +0 -5454
- package/dist/ChargeCardListPage-kmJJdZFW.js +0 -1797
- package/dist/ChargeCardListPage-yg6Bw1NS.cjs +0 -412
- package/dist/ChargeCardListTable-Be-iLtB0.js +0 -2901
- package/dist/ChargeCardListTable-hCEUHWH2.cjs +0 -711
- package/dist/ChargeCardPromoPage-B8X4kOzx.cjs +0 -222
- package/dist/ChargeCardPromoPage-BQSLImJ1.js +0 -816
- package/dist/ChargeCardSetupPage-Bo7TU8ec.js +0 -359
- package/dist/ChargeCardSetupPage-q8OJoATO.cjs +0 -36
- package/dist/ChargeCardStatementsPage-BOJ-ToPC.js +0 -243
- package/dist/ChargeCardStatementsPage-CXmhZLp_.cjs +0 -60
- package/dist/CheckDepositDrawerPage-JikH0tF-.js +0 -726
- package/dist/CheckDepositDrawerPage-X4-sooUp.cjs +0 -206
- package/dist/CollapsableReportTable-S85bAlOg.js +0 -11659
- package/dist/CollapsableReportTable-wwbXZsCC.cjs +0 -2844
- package/dist/CompanyOfficerDetailsSection-B_aQqm_1.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-C0sPVTmx.js +0 -1633
- package/dist/CompanyPassportCard-DEVf66MC.cjs +0 -42
- package/dist/CompanyPassportCard-DMc-GYLK.js +0 -146
- package/dist/CompanyPassportPage-BBrgffbm.cjs +0 -574
- package/dist/CompanyPassportPage-CkJLoEsG.js +0 -2160
- package/dist/CompleteProfile--k2wJ7I2.cjs +0 -52
- package/dist/CompleteProfile-3SEW4USL.js +0 -301
- package/dist/ConfettiBurst-C0z_kWoI.js +0 -37
- package/dist/ConfettiBurst-CK-H29oq.cjs +0 -1
- package/dist/CreateOrEditVendorPage-ChvAJHZX.cjs +0 -281
- package/dist/CreateOrEditVendorPage-Ct_LywI6.js +0 -763
- package/dist/CreditCardPaymentDrawerPage-BCe4MImd.cjs +0 -224
- package/dist/CreditCardPaymentDrawerPage-DrrWW5C9.js +0 -1170
- package/dist/CurrencySelectField-CtKBM1oo.js +0 -348
- package/dist/CurrencySelectField-gWyh1bHU.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-faCH8j-2.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-oP-etI6u.js +0 -143
- package/dist/CustomerOnboardingContainerPage-CllXmgQF.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-DGjN62XH.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-B_ZVeN8o.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-CYl8itwj.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-BgaeCsw0.js +0 -424
- package/dist/CustomerOnboardingNoStepsPage-CYQEco1C.cjs +0 -66
- package/dist/CustomerOnboardingPage-CBzlVI5A.cjs +0 -107
- package/dist/CustomerOnboardingPage-Fwm_bqiQ.js +0 -1094
- package/dist/CustomerOnboardingProductSuitePage-BjvA4Agy.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-BkNBWgdK.js +0 -348
- package/dist/Dashboard-FosBpqrE.cjs +0 -1551
- package/dist/Dashboard-oeQwbuZt.js +0 -5540
- package/dist/DashboardReportPage-CKARvG0A.cjs +0 -371
- package/dist/DashboardReportPage-D_UckbFk.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-C8QaJc66.cjs +0 -12
- package/dist/DashboardSidebarBackgroundAnimation-ZzbdZk0f.js +0 -53
- package/dist/DepositAccTransactionItem-D0zZug-Z.js +0 -112
- package/dist/DepositAccTransactionItem-Dj5RUwjQ.cjs +0 -76
- package/dist/DepositAccTransactionListPage-DPOPM7c3.js +0 -152
- package/dist/DepositAccTransactionListPage-DvAQkwxn.cjs +0 -66
- package/dist/DomesticWireDetailsPage-BdToAhVY.cjs +0 -21
- package/dist/DomesticWireDetailsPage-CaCgr3y_.js +0 -189
- package/dist/DownloadOverlay-BWO-AD-K.js +0 -2148
- package/dist/DownloadOverlay-BwJ3jG2D.cjs +0 -439
- package/dist/DrawerPage-BhXIy8tL.cjs +0 -118
- package/dist/DrawerPage-Dg295nso.js +0 -208
- package/dist/EditPeoplePage-B9MfPecG.cjs +0 -55
- package/dist/EditPeoplePage-DIiNy9pY.js +0 -392
- package/dist/EditReimbursementDetailPage-CyJB4Kau.js +0 -4531
- package/dist/EditReimbursementDetailPage-DkI5ahjp.cjs +0 -865
- package/dist/EmptySearchResults-DVTg0GNY.cjs +0 -46
- package/dist/EmptySearchResults-QYZBv8UN.js +0 -70
- package/dist/EntityDetailPage-32h3s3_P.cjs +0 -18
- package/dist/EntityDetailPage-CwZmujCa.js +0 -82
- package/dist/EntitySummarySection-CeLu0Xox.cjs +0 -149
- package/dist/EntitySummarySection-DRBsVejB.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-BqEiQ-0U.cjs +0 -281
- package/dist/ExpenseAutomationOverviewPage-gBk2_Npd.js +0 -807
- package/dist/ExpenseAutomationPage-D-zIhetR.js +0 -11574
- package/dist/ExpenseAutomationPage-hahz1LWF.cjs +0 -1650
- package/dist/ExpressPayPage-Bxq14poB.js +0 -1136
- package/dist/ExpressPayPage-DWXLwTWA.cjs +0 -168
- package/dist/FeaturePreviewPage-Cv7pujJJ.js +0 -114
- package/dist/FeaturePreviewPage-wjwEjG0S.cjs +0 -11
- package/dist/FollowStepsSection-BGY1dbXE.cjs +0 -390
- package/dist/FollowStepsSection-ByZ5gQPJ.js +0 -1313
- package/dist/GlobalReviewListPage-D6RcLkeA.js +0 -1674
- package/dist/GlobalReviewListPage-DcTnjDNG.cjs +0 -291
- package/dist/InformationCardStack-B3Rj4-h6.js +0 -219
- package/dist/InformationCardStack-Jp9gAMcA.cjs +0 -31
- package/dist/InsightsCardStack-B_EnoMks.cjs +0 -79
- package/dist/InsightsCardStack-DW93NLs8.js +0 -305
- package/dist/InsightsSection-BBxOCZzE.js +0 -97
- package/dist/InsightsSection-Dl_6qbYN.cjs +0 -27
- package/dist/IntegrationsSettingsPage-CZK2UOrW.cjs +0 -57
- package/dist/IntegrationsSettingsPage-DfKO5lU6.js +0 -136
- package/dist/InternationalWireSwiftDetailsPage-Dqxb3H_9.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-e6lSVXNh.js +0 -753
- package/dist/InternationalWireVerificationPage-DVfyO8NI.cjs +0 -292
- package/dist/InternationalWireVerificationPage-NZSeIPIA.js +0 -877
- package/dist/InviteFormPage-Ci1coc37.cjs +0 -312
- package/dist/InviteFormPage-JYz1LItZ.js +0 -873
- package/dist/InvitePageListView-BmM1KVtr.cjs +0 -739
- package/dist/InvitePageListView-CB62tNZl.js +0 -1764
- package/dist/InvitePeoplePage-CbqkZXs2.js +0 -286
- package/dist/InvitePeoplePage-DotS0G3B.cjs +0 -12
- package/dist/InvoiceUploadSection-CmsK8Dfy.cjs +0 -140
- package/dist/InvoiceUploadSection-D25AYm4j.js +0 -465
- package/dist/IssueChargeCardPage-9FiM6QZg.js +0 -2880
- package/dist/IssueChargeCardPage-YQjqcJ5n.cjs +0 -532
- package/dist/LabeledAddressValue-BXYBj696.cjs +0 -49
- package/dist/LabeledAddressValue-CCvzRbo6.js +0 -115
- package/dist/LabeledAddressValueField-BsEjj9fs.cjs +0 -45
- package/dist/LabeledAddressValueField-DpXoEdTX.js +0 -130
- package/dist/LabeledControlledCheckBoxField-Cieyqash.js +0 -73
- package/dist/LabeledControlledCheckBoxField-DWuwRAK2.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-CoEjZv2N.js +0 -515
- package/dist/LabeledCreatableSingleSelectField-Cym1w-9M.cjs +0 -204
- package/dist/LabeledDocumentField-BgPLhKOI.cjs +0 -41
- package/dist/LabeledDocumentField-D_ZU7p2Y.js +0 -147
- package/dist/LabeledDropDownFormattedTextField-CgtOaqIQ.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-XmXAggRw.js +0 -163
- package/dist/LabeledEmailInputField-BfTXhAQU.cjs +0 -182
- package/dist/LabeledEmailInputField-DVG9FdE8.js +0 -425
- package/dist/LabeledItemWithButton-Brm1Z2bR.js +0 -74
- package/dist/LabeledItemWithButton-Dal4Tg3K.cjs +0 -21
- package/dist/LabeledNameField-BBZQE52J.js +0 -293
- package/dist/LabeledNameField-Cp0fPqUB.cjs +0 -141
- package/dist/LabeledSingleSelectField-Bhixn_X3.js +0 -372
- package/dist/LabeledSingleSelectField-DyGvPkLP.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-BT8_tXtN.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-Be2AU_9W.js +0 -103
- package/dist/LabeledText-Dd0zgRY0.js +0 -103
- package/dist/LabeledText-DnA0JOaX.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CfpnROQ6.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-cyvQaWi6.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-Bp_2iisl.cjs +0 -297
- package/dist/LabeledZeniRolesDropDownField-zjmnFDV3.js +0 -975
- package/dist/LinkJETransactionPage-BTrz4Sm_.cjs +0 -98
- package/dist/LinkJETransactionPage-r8NiXpWf.js +0 -406
- package/dist/LockCardPage-Bd1MQ1xs.js +0 -2032
- package/dist/LockCardPage-ByocX7ii.cjs +0 -623
- package/dist/LowBalancePopup-Hh8l-iSG.js +0 -219
- package/dist/LowBalancePopup-m90NzGx5.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-CHNT0RV4.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-hD1Do7OK.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-Bla5hFqZ.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-ieyXwj8P.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-6KL33zoj.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-QImKEvc8.js +0 -43
- package/dist/MagicLinkSuccessPage-BMezxlIv.js +0 -59
- package/dist/MagicLinkSuccessPage-DLYsMjBi.cjs +0 -31
- package/dist/MagicLinkTitleSection-D-uAyOMx.cjs +0 -17
- package/dist/MagicLinkTitleSection-bdkLJJZo.js +0 -40
- package/dist/MailingDetailsSection-Bd__GpWb.js +0 -74
- package/dist/MailingDetailsSection-YowgNwXh.cjs +0 -21
- package/dist/MatchingOperatorDropdown-BeBe-UPg.cjs +0 -130
- package/dist/MatchingOperatorDropdown-DqjZK8xv.js +0 -572
- package/dist/Menu-B8NUorjZ.js +0 -110
- package/dist/Menu-DRFYWIdH.cjs +0 -17
- package/dist/MoreMenuButton-DaHNfDx_.cjs +0 -167
- package/dist/MoreMenuButton-dEG9i6cc.js +0 -569
- package/dist/MyBankConnectionsSettingsPage-D2jsAasG.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-DankYdnw.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-CpTLH2rp.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-X9TnCiXL.js +0 -168
- package/dist/MyProfileSettingsPage-CFI8vDUp.js +0 -641
- package/dist/MyProfileSettingsPage-DoMtuQnm.cjs +0 -85
- package/dist/NavBarWithPicker-7rVBfAea.js +0 -106
- package/dist/NavBarWithPicker-BVBmv7Qm.cjs +0 -30
- package/dist/NavigationArrow-DafQIwxw.cjs +0 -47
- package/dist/NavigationArrow-DiPY8UOp.js +0 -88
- package/dist/NavigationDots-Bok3moGf.cjs +0 -15
- package/dist/NavigationDots-BwSQaBgv.js +0 -44
- package/dist/NewGlobalMerchantPage-C-THSKTD.cjs +0 -160
- package/dist/NewGlobalMerchantPage-oe97EdCc.js +0 -543
- package/dist/NoDataChart-AX9bWjYk.js +0 -58
- package/dist/NoDataChart-DO2yobww.cjs +0 -26
- package/dist/NoDataTable-Crocuyzl.cjs +0 -8
- package/dist/NoDataTable-DmGAfTkq.js +0 -27
- package/dist/NotFoundPage-B4vduMqa.js +0 -71
- package/dist/NotFoundPage-BoskQRy7.cjs +0 -46
- package/dist/NotificationSettingsPage-CSkZyxVk.js +0 -541
- package/dist/NotificationSettingsPage-xhFVnemu.cjs +0 -163
- package/dist/NotificationsListConfig-Bkg63pdM.js +0 -10
- package/dist/NotificationsListConfig-DBIZ2MeL.cjs +0 -1
- package/dist/NotificationsPage-CCWi23SJ.cjs +0 -685
- package/dist/NotificationsPage-DEz6jS4g.js +0 -2664
- package/dist/OpExByVendorPage-CrkgClwQ.js +0 -1058
- package/dist/OpExByVendorPage-DvkTeLKG.cjs +0 -100
- package/dist/PandLWithForecastPage-52buAlyH.js +0 -563
- package/dist/PandLWithForecastPage-CTXF8-iq.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-B4IAgMEq.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-C4gaQJkp.cjs +0 -106
- package/dist/PeoplePage-D9QrUhtO.cjs +0 -675
- package/dist/PeoplePage-NYimOlgo.js +0 -1994
- package/dist/ProductsCarousel-CrITaNdq.cjs +0 -142
- package/dist/ProductsCarousel-Mg_93o4R.js +0 -309
- package/dist/PromoBaseCards-DDUWOE0k.cjs +0 -218
- package/dist/PromoBaseCards-e_zwofXp.js +0 -356
- package/dist/QBOConnectionDialog-D50pOAqi.js +0 -115
- package/dist/QBOConnectionDialog-DlgueBQl.cjs +0 -51
- package/dist/QBOSetupSection-DA0Puprm.js +0 -167
- package/dist/QBOSetupSection-_9T9xy-o.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-D48XDam0.js +0 -266
- package/dist/ReimbursementApprovalRuleDetailPage-DRtJ8fl4.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-C5YIdRK-.js +0 -429
- package/dist/ReimbursementApprovalRulesPage-_p-hs1wA.cjs +0 -243
- package/dist/ReimbursementDetailPage-C3U_JByV.js +0 -1514
- package/dist/ReimbursementDetailPage-zHZ9Bdy6.cjs +0 -314
- package/dist/ReimbursementPromoPage-Bag7v040.cjs +0 -84
- package/dist/ReimbursementPromoPage-Ct0AOa7Z.js +0 -363
- package/dist/ReimbursementSetUpPage-CbPadn59.js +0 -663
- package/dist/ReimbursementSetUpPage-Cd6Msx-5.cjs +0 -140
- package/dist/ReimbursementsBulkReviewDrawerPage-BkARPwZz.cjs +0 -1
- package/dist/ReimbursementsBulkReviewDrawerPage-CiCxJKVq.js +0 -204
- package/dist/ReloadCard-D7nx6-S2.cjs +0 -26
- package/dist/ReloadCard-DpiD7wYr.js +0 -137
- package/dist/ReloadContainer-DKx9SNYG.cjs +0 -596
- package/dist/ReloadContainer-DypUqHwj.js +0 -2165
- package/dist/ReportTableViewSelector-CFNaWKP9.cjs +0 -150
- package/dist/ReportTableViewSelector-CR3prDaC.js +0 -689
- package/dist/ReportsPage-B1Yg4Zkg.js +0 -1315
- package/dist/ReportsPage-CDL6Oh1N.cjs +0 -121
- package/dist/RevenueChart-DRRhNebK.js +0 -2240
- package/dist/RevenueChart-FZ7-1ItN.cjs +0 -280
- package/dist/ReviewDetailsPage-BgnRuYfy.js +0 -1073
- package/dist/ReviewDetailsPage-DYkWt-MO.cjs +0 -290
- package/dist/ReviewOverlay-BCshp3Fn.cjs +0 -152
- package/dist/ReviewOverlay-Dvdhvei6.js +0 -299
- package/dist/RoleWithToolTip-Cjko2bpx.cjs +0 -22
- package/dist/RoleWithToolTip-yTh3Wprs.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-B-EVziA9.js +0 -806
- package/dist/ScheduleDetailsFixedAssetsPage-D5Mg7kV1.cjs +0 -37
- package/dist/ScheduleDetailsPage-B10LNvmJ.js +0 -726
- package/dist/ScheduleDetailsPage-CmclZZW7.cjs +0 -37
- package/dist/ScheduleSequenceTable-BKxfvWWV.js +0 -1261
- package/dist/ScheduleSequenceTable-DNnK43rF.cjs +0 -324
- package/dist/SetUpAccountSection-BAc4bxiZ.js +0 -1469
- package/dist/SetUpAccountSection-RshW3i2-.cjs +0 -378
- package/dist/SignIn-C9Ql0m5F.cjs +0 -448
- package/dist/SignIn-CZW-PsBJ.js +0 -1075
- package/dist/SpendManagementListViewPage-BckOd4bc.js +0 -631
- package/dist/SpendManagementListViewPage-CLTSTTak.cjs +0 -122
- package/dist/SpendManagementPerTabPage-5ZQNhm1X.cjs +0 -785
- package/dist/SpendManagementPerTabPage-G0c104wj.js +0 -2903
- package/dist/SpendManagementSection-DXkWoU86.js +0 -1043
- package/dist/SpendManagementSection-FeCRPt-A.cjs +0 -230
- package/dist/StatementItem-BrjQocml.cjs +0 -31
- package/dist/StatementItem-Dmz-iApm.js +0 -81
- package/dist/StatementsPage-Bg3T-jCP.js +0 -130
- package/dist/StatementsPage-CE1hfITa.cjs +0 -58
- package/dist/StatusSwitcher-Bkr7VlQY.js +0 -319
- package/dist/StatusSwitcher-qg_34pvf.cjs +0 -120
- package/dist/SubTabSwitcher-DUM9nf5D.cjs +0 -58
- package/dist/SubTabSwitcher-DwHwcglZ.js +0 -113
- package/dist/SuccessAnimation-BPKV2PGM.js +0 -52
- package/dist/SuccessAnimation-CofaqDrT.cjs +0 -13
- package/dist/SummaryCard-EyMlmCQ4.cjs +0 -1
- package/dist/SummaryCard-OO-s6hpj.js +0 -25
- package/dist/TaskDetailPage-CgYOUAzC.js +0 -2533
- package/dist/TaskDetailPage-Du0_tKm4.cjs +0 -775
- package/dist/TaskListRow-BJObZ6HW.cjs +0 -556
- package/dist/TaskListRow-Bjxpcxun.js +0 -1950
- package/dist/TaskManagementPage-9DUOylqU.js +0 -1935
- package/dist/TaskManagementPage-LNhNouFe.cjs +0 -508
- package/dist/TimeRangeSwitcher-532OWBj7.js +0 -265
- package/dist/TimeRangeSwitcher-DcRcyZTw.cjs +0 -64
- package/dist/TimeframeSwitcher-Bc_4caYG.cjs +0 -31
- package/dist/TimeframeSwitcher-CtGQ7VeW.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-D1VWzCIp.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-T2S4REG_.js +0 -157
- package/dist/TopExCard-D7Gkz0Mh.cjs +0 -38
- package/dist/TopExCard-DcG9m74V.js +0 -569
- package/dist/TopExDetailPage-53nMyOrq.js +0 -318
- package/dist/TopExDetailPage-Cfe-HhtC.cjs +0 -132
- package/dist/TransactionDetailPage-CU2mV40p.cjs +0 -912
- package/dist/TransactionDetailPage-vWMzX5bH.js +0 -5238
- package/dist/TransactionList-BeWumzVz.cjs +0 -147
- package/dist/TransactionList-hhbGp7j7.js +0 -558
- package/dist/TransactionListBig-CBFIKe6K.js +0 -658
- package/dist/TransactionListBig-ffjZqspH.cjs +0 -284
- package/dist/TransactionListPage-Deul--T6.cjs +0 -35
- package/dist/TransactionListPage-PFO8PbpZ.js +0 -145
- package/dist/TransactionVendorDetailPage-BjvdTO1U.cjs +0 -80
- package/dist/TransactionVendorDetailPage-roeJ3hTY.js +0 -425
- package/dist/TransferDrawerPage-CY2kkCXx.cjs +0 -362
- package/dist/TransferDrawerPage-DI9jmXSm.js +0 -1436
- package/dist/TreasuryOverviewPage-BwU1sr2p.cjs +0 -708
- package/dist/TreasuryOverviewPage-D0PbmkZ4.js +0 -1890
- package/dist/TreasuryPromoPage-7y6281ue.js +0 -1123
- package/dist/TreasuryPromoPage-uxdlcQZc.cjs +0 -505
- package/dist/TreasuryStatementsPage-BhYy8bCT.cjs +0 -58
- package/dist/TreasuryStatementsPage-CfJTy6gj.js +0 -131
- package/dist/TreasuryTaxLetterPage-C5-q3UZx.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-a45cEA73.js +0 -131
- package/dist/TrendChart-DXhw7xFQ.cjs +0 -16
- package/dist/TrendChart-DYPRy6hS.js +0 -334
- package/dist/TrendWithTransactions-BY0buATO.cjs +0 -116
- package/dist/TrendWithTransactions-Bg0n3IIl.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-BFAs-h2Q.cjs +0 -244
- package/dist/UncategorizedAccountsMappingPage-DxTnRPKf.js +0 -1159
- package/dist/UnitIntegrationPage-CQ50tC5V.js +0 -405
- package/dist/UnitIntegrationPage-D9Kk4nTh.cjs +0 -67
- package/dist/UploadAdditionalDocumentOverlay-BR5C6Nia.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-zoL2LaNl.js +0 -211
- package/dist/Vendor2FAPopup-DgPhELgJ.cjs +0 -1
- package/dist/Vendor2FAPopup-UwRAwXsO.js +0 -69
- package/dist/VendorACHDetailsPage-AgNoFlJH.js +0 -43
- package/dist/VendorACHDetailsPage-BX8CvCVV.cjs +0 -1
- package/dist/VendorDetailPage-DySHlLzh.js +0 -1236
- package/dist/VendorDetailPage-GLe0f4dF.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-BLC05Oqi.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-DX3EwZ1f.js +0 -53
- package/dist/VendorFiling1099EditablePage-COOlIX7y.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-DJ3N9y1r.js +0 -842
- package/dist/VendorFirstReviewPage-CZPfGWGQ.js +0 -2748
- package/dist/VendorFirstReviewPage-DmGso9EW.cjs +0 -730
- package/dist/VendorInternationalWireDetailsPage-B9BYDVx3.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-ugEH2A1u.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-BnS5j_vq.cjs +0 -1
- package/dist/VendorInternationalWireSwiftDetailsPage-CgX6QyTA.js +0 -52
- package/dist/VendorsAccountsSection-C8e2en0N.cjs +0 -68
- package/dist/VendorsAccountsSection-CEaiVG-p.js +0 -279
- package/dist/VerifyDevice-08fS33Ag.cjs +0 -112
- package/dist/VerifyDevice-oPiJhwIK.js +0 -298
- package/dist/VideoPlayer--DhNDrtV.js +0 -170
- package/dist/VideoPlayer-A8qvyU9P.cjs +0 -77
- package/dist/VideoPopup-BReJGnNc.cjs +0 -31
- package/dist/VideoPopup-nZkP33Ei.js +0 -60
- package/dist/WarningsDrawerPage-CuaOovyi.js +0 -228
- package/dist/WarningsDrawerPage-FiefuhIo.cjs +0 -92
- package/dist/ZeniAccountDetailPage-DWiJlA-o.js +0 -908
- package/dist/ZeniAccountDetailPage-DvkAeBCZ.cjs +0 -300
- package/dist/ZeniAccountListViewPage-B5RR6AAV.cjs +0 -441
- package/dist/ZeniAccountListViewPage-DkVf7IpF.js +0 -1078
- package/dist/ZeniAccountNavBarPieces-C04V5nCq.js +0 -89
- package/dist/ZeniAccountNavBarPieces-D0-DhN46.cjs +0 -14
- package/dist/ZeniAccountPromoPage-Cm2jLKP4.js +0 -522
- package/dist/ZeniAccountPromoPage-DAkpCOaQ.cjs +0 -184
- package/dist/ZeniAccountSetupPage-Dz5lP3Jp.js +0 -309
- package/dist/ZeniAccountSetupPage-OErA21it.cjs +0 -36
- package/dist/ZeniAvatar-Blj3HQ0x.cjs +0 -13
- package/dist/ZeniAvatar-aIWQFSpT.js +0 -34
- package/dist/ZeniCopyright-CUNc6I5U.cjs +0 -1
- package/dist/ZeniCopyright-vkhzvY-k.js +0 -9
- package/dist/ZeniDatePicker-BBbqhtNv.cjs +0 -187
- package/dist/ZeniDatePicker-BiAooXS8.js +0 -386
- package/dist/ZeniTransferAmountSlider-Cr148eUK.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-DlzkKm5u.js +0 -215
- package/dist/analyticsHelper-BjtLWKj7.js +0 -65
- package/dist/analyticsHelper-Ch-zyO2u.cjs +0 -1
- package/dist/calculateSize-Cls8po7q.js +0 -22
- package/dist/calculateSize-DtGzkDF_.cjs +0 -1
- package/dist/chartTypes--0dLMttW.cjs +0 -1
- package/dist/chartTypes-C_417wpP.js +0 -47
- package/dist/common-CycI1vNh.js +0 -22
- package/dist/common-DOxfjvjx.cjs +0 -1
- package/dist/commonDimensions-CMivADyP.cjs +0 -1
- package/dist/commonDimensions-DwRaF7hv.js +0 -13
- package/dist/detailCommon-CF_rhJ6R.cjs +0 -38
- package/dist/detailCommon-c3z2lrCP.js +0 -124
- package/dist/downloadPdf-BcRLq8Mi.js +0 -32
- package/dist/downloadPdf-D33Ir3cs.cjs +0 -1
- package/dist/index-B3k6KNNf.cjs +0 -21201
- package/dist/index-Dg4HzhKR.js +0 -92387
- package/dist/mapLoadingInProgressToTreeNode-BR6HHyre.js +0 -25
- package/dist/mapLoadingInProgressToTreeNode-DnBG1sEU.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-BgKbpMFH.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-h37u1wts.js +0 -387
- package/dist/mapSpacerToTreeNode-BtShdvwi.js +0 -25
- package/dist/mapSpacerToTreeNode-CxL2xws0.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-BgDjddfE.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-CZNPmdgC.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-DlkyTC6G.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-_Z9RDOnQ.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-1Azgbh4-.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-_mhBSnNf.js +0 -32
- package/dist/sectionColor-0QHjvEhs.cjs +0 -1
- package/dist/sectionColor-Da5MKxAh.js +0 -32
- package/dist/toCOABalancesWithID-CbXqXljc.js +0 -8
- package/dist/toCOABalancesWithID-CiStjxSe.cjs +0 -1
- package/dist/toChartData-BI2fAZPw.cjs +0 -1
- package/dist/toChartData-ClKlDEyD.js +0 -76
- package/dist/uploadAttachment-Br0k_EXD.cjs +0 -286
- package/dist/uploadAttachment-DRkjQTLE.js +0 -952
- package/dist/zeniDatePicker.helpers-B3f9CYn7.js +0 -14
- package/dist/zeniDatePicker.helpers-CzPdEFCc.cjs +0 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./vendor-.pnpm-D0ILHvHB.cjs"),C=require("react"),R=require("@emotion/styled"),y=require("@zeniai/client-analytics"),_=require("@zeniai/client-epic-state"),s=require("./index-DoK40ULp.cjs"),F=require("./analyticsHelper-GmwZC-SB.cjs"),te=require("./ReportTableViewSelector-C5unY4HQ.cjs"),$=require("./TimeRangeSwitcher-uajFz8Z9.cjs"),se=require("./TimeframeSwitcherWithToggle-CsE-u9F1.cjs"),ne=require("./DownloadOverlay-BoA1FXr4.cjs"),A=require("./CollapsableReportTable-lPEr8wkM.cjs"),w=require("./mapSectionWithAcOnlyToTreeNode-RJbhXFbs.cjs"),W=require("./mapTimeframeBalancesToTreeNode-CMIgJHDY.cjs"),q=require("./mapTimeframeHeaderLoadingInProgressToTreeNode-MoAI6gpD.cjs"),ae=require("./mapLoadingInProgressToTreeNode-C4ur-Gcy.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-D0ILHvHB.cjs"),_=require("react"),C=require("@emotion/styled"),v=require("recharts"),e=require("./index-DoK40ULp.cjs"),a=require("./chartTypes-UK8wi_qI.cjs"),O=require("./toCOABalancesWithID-GRd-CoI1.cjs"),M=require("./toChartData-DGq4MN4s.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;
|