@zeniai/web-components 3.16.60 → 3.16.62
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-C-9lCqqW.js +160 -0
- package/dist/ACHDetailsPage-DnVd7Eay.cjs +21 -0
- package/dist/AIPerformancePage-TnVo5d4_.cjs +530 -0
- package/dist/AIPerformancePage-vopUk-sm.js +1333 -0
- package/dist/AccountInfoPage-BoiEtkBV.js +78 -0
- package/dist/AccountInfoPage-CJPDgKxx.cjs +18 -0
- package/dist/AccountInfoPageContent-CyKi6fDU.js +428 -0
- package/dist/AccountInfoPageContent-DHVhgMZE.cjs +149 -0
- package/dist/AccountLockedInfoModal-Cl6crVhS.cjs +59 -0
- package/dist/AccountLockedInfoModal-DjzNaVw2.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-AYT2lHqd.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-DV628Flt.js +686 -0
- package/dist/AccountRow-CF9x0QVE.cjs +298 -0
- package/dist/AccountRow-CafahcQY.js +1012 -0
- package/dist/AccountsPromoCardStack-Bs6yxMnr.js +664 -0
- package/dist/AccountsPromoCardStack-C_Q-ivg6.cjs +207 -0
- package/dist/AddAddressForCardDrawer-B7fL_nEc.js +82 -0
- package/dist/AddAddressForCardDrawer-C63_i4mP.cjs +6 -0
- package/dist/AddToWalletPage-BCBhxYSC.cjs +344 -0
- package/dist/AddToWalletPage-DLe1_ETG.js +643 -0
- package/dist/AgingReportsPage-Cpp773TW.js +827 -0
- package/dist/AgingReportsPage-Dn04u3Xp.cjs +79 -0
- package/dist/AllUserItems-Dg2OEz9f.js +979 -0
- package/dist/AllUserItems-uQedK4L3.cjs +192 -0
- package/dist/ApAgingDetailPage-CDumx9Zd.cjs +46 -0
- package/dist/ApAgingDetailPage-CO0c7Xm1.js +239 -0
- package/dist/AppBasePage-3wUoqkOe.js +120 -0
- package/dist/AppBasePage-CWOORFDp.cjs +71 -0
- package/dist/AppDrawerContent-BGWU6vMN.cjs +91 -0
- package/dist/AppDrawerContent-BbVVXLE5.js +375 -0
- package/dist/ApprovalRulesSettingsPage-Cy7BS-P1.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-Dvzajqq9.js +146 -0
- package/dist/ArAgingChart-BF5zbFOz.js +529 -0
- package/dist/ArAgingChart-DEERLlEJ.cjs +24 -0
- package/dist/ArAgingDetailPage-BSv7ZWv6.cjs +46 -0
- package/dist/ArAgingDetailPage-elX4AB_Q.js +243 -0
- package/dist/AttachmentView-DAH6VOL0.js +260 -0
- package/dist/AttachmentView-w_e7Ws5o.cjs +101 -0
- package/dist/BankAccountSection-Bh-CfAf7.js +398 -0
- package/dist/BankAccountSection-CucQsZYj.cjs +79 -0
- package/dist/BankAccountWarningSection-BFjIim-1.js +110 -0
- package/dist/BankAccountWarningSection-IUY_DL00.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-CR4ZucAS.js +1695 -0
- package/dist/BankConnectionsSettingsPage-DNADmAGS.cjs +425 -0
- package/dist/BillDetailPage--FSsg5NH.js +1798 -0
- package/dist/BillDetailPage-2NUwmdEC.cjs +266 -0
- package/dist/BillPayApprovalRuleDetailPage-BG6S0m72.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-CdlJJeXt.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-CShT61TW.js +415 -0
- package/dist/BillPayApprovalRulesPage-Dg3Rr7Kj.cjs +235 -0
- package/dist/BillPayPromoPage-Bb04MH5m.js +293 -0
- package/dist/BillPayPromoPage-NEYZh8xt.cjs +84 -0
- package/dist/BillPaySetUpPage-BplPWdIR.cjs +42 -0
- package/dist/BillPaySetUpPage-BwPpGB2_.js +412 -0
- package/dist/BillingSettingsPage-DampUPsh.js +336 -0
- package/dist/BillingSettingsPage-J3zOievo.cjs +44 -0
- package/dist/BillsBulkReviewDrawerPage-CxGjhuja.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-DMxJ9_6F.js +216 -0
- package/dist/BoxItem-Czi5lRbi.cjs +53 -0
- package/dist/BoxItem-ZoabduyR.js +118 -0
- package/dist/BusinessVerificationPage-5sz9R_YL.cjs +138 -0
- package/dist/BusinessVerificationPage-Cy-I7Q7F.js +717 -0
- package/dist/BusyIndication-D6_mRIAC.js +19 -0
- package/dist/BusyIndication-DPV8XAvu.cjs +9 -0
- package/dist/CardNumberSubText-BWWuoEWF.cjs +21 -0
- package/dist/CardNumberSubText-CuU7P3VO.js +59 -0
- package/dist/CashbackDetailPage-C-cMAKNV.cjs +285 -0
- package/dist/CashbackDetailPage-Dk93lbEV.js +824 -0
- package/dist/ChargeCardDetailPage-B48Zk9Kq.cjs +1462 -0
- package/dist/ChargeCardDetailPage-BcgU-Clb.js +5454 -0
- package/dist/ChargeCardListPage-BFbrfYaG.cjs +406 -0
- package/dist/ChargeCardListPage-DQGN6A-D.js +1775 -0
- package/dist/ChargeCardListTable-B7zyCmeX.js +2872 -0
- package/dist/ChargeCardListTable-T4iX1Tfm.cjs +711 -0
- package/dist/ChargeCardPromoPage-BvC2eKI1.js +806 -0
- package/dist/ChargeCardPromoPage-O_Re45OX.cjs +222 -0
- package/dist/ChargeCardSetupPage-BJkVD8l6.cjs +36 -0
- package/dist/ChargeCardSetupPage-D7dVLvR8.js +362 -0
- package/dist/ChargeCardStatementsPage-BWxNr8CC.js +243 -0
- package/dist/ChargeCardStatementsPage-CXTMmg_4.cjs +60 -0
- package/dist/ChargeCardUtils-Cr9k03LA.js +102 -0
- package/dist/ChargeCardUtils-Ov9F5LsX.cjs +1 -0
- package/dist/ChaseOverlay-CqZ2zJXE.js +402 -0
- package/dist/ChaseOverlay-e3_00HMd.cjs +170 -0
- package/dist/CheckDepositDrawerPage-B7fYwhKA.cjs +206 -0
- package/dist/CheckDepositDrawerPage-Q-RKr2WG.js +726 -0
- package/dist/CollapsableReportTable-BEEd8gul.js +11758 -0
- package/dist/CollapsableReportTable-mL-dznc8.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-D_ZYTUPf.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-DdBrEANl.cjs +260 -0
- package/dist/CompanyPassportCard-CANMjHsI.cjs +42 -0
- package/dist/CompanyPassportCard-DbhZC8lI.js +146 -0
- package/dist/CompanyPassportPage-Ba3LWDBM.js +2160 -0
- package/dist/CompanyPassportPage-Dq9849HS.cjs +574 -0
- package/dist/CompleteProfile-B0Vnbxds.js +301 -0
- package/dist/CompleteProfile-Bb9FvZjN.cjs +52 -0
- package/dist/ConfettiBurst-De9phCjB.js +37 -0
- package/dist/ConfettiBurst-sxOldG6G.cjs +1 -0
- package/dist/CreateOrEditVendorPage-BCiWsbzg.cjs +281 -0
- package/dist/CreateOrEditVendorPage-BRTMjFXI.js +755 -0
- package/dist/CreditCardPaymentDrawerPage-B-Rbf7l8.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-B1KxfW3d.js +1171 -0
- package/dist/CreditCardPaymentPlgSection-DYRCf7kh.cjs +78 -0
- package/dist/CreditCardPaymentPlgSection-IKQ-0vQH.js +196 -0
- package/dist/CurrencySelectField-B6HzpElF.cjs +139 -0
- package/dist/CurrencySelectField-CHD1naji.js +348 -0
- package/dist/CustomerOnboardingActivationPage-2JfOdhpV.cjs +88 -0
- package/dist/CustomerOnboardingActivationPage-C5JYKxPm.js +143 -0
- package/dist/CustomerOnboardingContainerPage-DWMbkMTF.cjs +1 -0
- package/dist/CustomerOnboardingContainerPage-lqwDLm87.js +7 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-CBGTagb-.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-gPXwf_y2.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-BA4QAQYA.js +425 -0
- package/dist/CustomerOnboardingNoStepsPage-nPhgAVAj.cjs +66 -0
- package/dist/CustomerOnboardingPage-CPwE18k8.js +1060 -0
- package/dist/CustomerOnboardingPage-f5AF6QkU.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-BorVlMTR.cjs +202 -0
- package/dist/CustomerOnboardingProductSuitePage-YHIGCDD_.js +349 -0
- package/dist/Dashboard-BBgP5215.js +5531 -0
- package/dist/Dashboard-DUtJlDvw.cjs +1551 -0
- package/dist/DashboardReportPage-3L62p-gf.cjs +371 -0
- package/dist/DashboardReportPage-dckR6SVo.js +2536 -0
- package/dist/DashboardSidebarBackgroundAnimation-CVKN87_G.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-D0mFpVQv.js +50 -0
- package/dist/DepositAccTransactionItem-BYCAlXOT.js +112 -0
- package/dist/DepositAccTransactionItem-Cvteoe8q.cjs +76 -0
- package/dist/DepositAccTransactionListPage-BohUzJyX.js +152 -0
- package/dist/DepositAccTransactionListPage-D519EuIQ.cjs +66 -0
- package/dist/DomesticWireDetailsPage-BIMP-ZxC.js +189 -0
- package/dist/DomesticWireDetailsPage-C75DkuA6.cjs +21 -0
- package/dist/DownloadOverlay-BW2sHWnI.cjs +439 -0
- package/dist/DownloadOverlay-DjGXIF-M.js +2148 -0
- package/dist/DrawerPage-5iCj6Vwn.js +208 -0
- package/dist/DrawerPage-BCOZdOMF.cjs +118 -0
- package/dist/EditPeoplePage-BqhTY8TB.js +392 -0
- package/dist/EditPeoplePage-a7hLRVqk.cjs +55 -0
- package/dist/EditReimbursementDetailPage-C4PlU8hN.cjs +865 -0
- package/dist/EditReimbursementDetailPage-CaiAJJIc.js +4554 -0
- package/dist/EmptySearchResults-CNaq3i9W.cjs +46 -0
- package/dist/EmptySearchResults-CSRlQyc6.js +70 -0
- package/dist/EntityDetailPage-B-8XMTRs.js +82 -0
- package/dist/EntityDetailPage-rK9DjKQp.cjs +18 -0
- package/dist/EntitySummarySection-B7SiO7T5.cjs +149 -0
- package/dist/EntitySummarySection-DCOKVQLI.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-BSNP3q1w.cjs +281 -0
- package/dist/ExpenseAutomationOverviewPage-HdmybCPA.js +806 -0
- package/dist/ExpenseAutomationPage-Bi5TNKZJ.cjs +1650 -0
- package/dist/ExpenseAutomationPage-nGlzSYZh.js +11538 -0
- package/dist/ExpressPayPage-Bo9l7DQV.js +1136 -0
- package/dist/ExpressPayPage-DBLi40WR.cjs +168 -0
- package/dist/FeaturePreviewPage-CeTAjlev.cjs +11 -0
- package/dist/FeaturePreviewPage-fxIfeMyr.js +114 -0
- package/dist/FollowStepsSection-CyMYqfUu.cjs +390 -0
- package/dist/FollowStepsSection-DKsuAlLl.js +1313 -0
- package/dist/GlobalReviewListPage-Bji-cCyU.cjs +291 -0
- package/dist/GlobalReviewListPage-tiwljfpQ.js +1674 -0
- package/dist/HelpButton-Bl0T8Rk8.js +81 -0
- package/dist/HelpButton-CymblKSh.cjs +28 -0
- package/dist/InformationCardStack-BnY38t3p.js +219 -0
- package/dist/InformationCardStack-JkvXla_f.cjs +31 -0
- package/dist/InsightsCardStack-BVmJNy4L.cjs +79 -0
- package/dist/InsightsCardStack-C4qCVcPL.js +305 -0
- package/dist/InsightsSection-CkEdFZ39.js +97 -0
- package/dist/InsightsSection-Cpycqz7d.cjs +27 -0
- package/dist/IntegrationsSettingsPage-mT16cNqe.cjs +57 -0
- package/dist/IntegrationsSettingsPage-pXLFt0UE.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-B6x0IBSv.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-DBnkANUM.js +753 -0
- package/dist/InternationalWireVerificationPage-BKcr2M4q.cjs +292 -0
- package/dist/InternationalWireVerificationPage-BOLWakTx.js +877 -0
- package/dist/InviteFormPage-CwIYPc30.js +873 -0
- package/dist/InviteFormPage-D0ElbmWT.cjs +312 -0
- package/dist/InvitePageListView-BrnKOTVj.js +1764 -0
- package/dist/InvitePageListView-C1pLt4Sn.cjs +739 -0
- package/dist/InvitePeoplePage-B5nenDvz.js +286 -0
- package/dist/InvitePeoplePage-NCL1zBCr.cjs +12 -0
- package/dist/InvoiceUploadSection-BKAuFMJT.js +465 -0
- package/dist/InvoiceUploadSection-DN7q-rqi.cjs +140 -0
- package/dist/IssueChargeCardPage-B-0NvTc8.cjs +532 -0
- package/dist/IssueChargeCardPage-B45JXMSP.js +2875 -0
- package/dist/LabeledAddressValue-CDHjVOdZ.cjs +49 -0
- package/dist/LabeledAddressValue-CuxeVD_v.js +115 -0
- package/dist/LabeledAddressValueField-BZys_X3G.cjs +45 -0
- package/dist/LabeledAddressValueField-DhA8igmy.js +130 -0
- package/dist/LabeledControlledCheckBoxField-Dfo4OS6G.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-t_fv48wd.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-Dggu7Ahk.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-DnLIH-xI.cjs +204 -0
- package/dist/LabeledDocumentField-BI_Im4HN.js +147 -0
- package/dist/LabeledDocumentField-DT3bKqzv.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-DRo-tVHe.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-ddvni9eD.js +163 -0
- package/dist/LabeledEmailInputField-DCxYYccK.cjs +182 -0
- package/dist/LabeledEmailInputField-SM6qcq7K.js +425 -0
- package/dist/LabeledItemWithButton-B31gXf6p.cjs +21 -0
- package/dist/LabeledItemWithButton-qqO8Nw8T.js +74 -0
- package/dist/LabeledNameField-BpJCrGub.js +293 -0
- package/dist/LabeledNameField-jMupzRfj.cjs +141 -0
- package/dist/LabeledSingleSelectField-BFXFDzrc.cjs +136 -0
- package/dist/LabeledSingleSelectField-DpW0-2rO.js +372 -0
- package/dist/LabeledSingleSelectWithoutClearableField-CaGwVt0N.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-DWI0ZKsu.js +103 -0
- package/dist/LabeledText-BA8vBv46.cjs +42 -0
- package/dist/LabeledText-BQZhjCIt.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DypbgC6B.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-or3X-JJ5.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-B7AU3Ehg.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-Cxe2qEcj.js +975 -0
- package/dist/LinkJETransactionPage-gNIS_j9L.js +406 -0
- package/dist/LinkJETransactionPage-vWuMslMO.cjs +98 -0
- package/dist/LockCardPage-8Tg_WovM.js +2033 -0
- package/dist/LockCardPage-CB-6vJKW.cjs +623 -0
- package/dist/LowBalancePopup-Bu9rI9rO.js +219 -0
- package/dist/LowBalancePopup-DTvI6TTU.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-L7b1SZsp.js +39 -0
- package/dist/MagicLinkACHDetailsPage-QcJs6l3_.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-CIZTNiEQ.js +44 -0
- package/dist/MagicLinkDomesticWireDetailsPage-D_0dbHoj.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-Bs5uKSdE.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-D7tLi23S.cjs +1 -0
- package/dist/MagicLinkSuccessPage-BnoVRs3y.cjs +31 -0
- package/dist/MagicLinkSuccessPage-CVYB4Mz_.js +59 -0
- package/dist/MagicLinkTitleSection-1gK_FSjp.js +40 -0
- package/dist/MagicLinkTitleSection-DILqUk1Z.cjs +17 -0
- package/dist/MailingDetailsSection-DXmFrlxQ.js +74 -0
- package/dist/MailingDetailsSection-DZY6Lr1f.cjs +21 -0
- package/dist/MatchingOperatorDropdown-B0wew80W.cjs +130 -0
- package/dist/MatchingOperatorDropdown-DLkltTuH.js +572 -0
- package/dist/MeetingCalenderPopup-Bpfljv8b.js +60 -0
- package/dist/MeetingCalenderPopup-CL_04hNJ.cjs +26 -0
- package/dist/Menu-Ckjlgxfz.js +110 -0
- package/dist/Menu-DpeOGVzu.cjs +17 -0
- package/dist/MoreMenuButton-BWhjjpQX.js +569 -0
- package/dist/MoreMenuButton-yEz6qE-7.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-Bavd2E_R.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-oEjQTQKa.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-CZvLA_x0.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-DneFKJOM.js +168 -0
- package/dist/MyProfileSettingsPage-CQxyNc2K.js +641 -0
- package/dist/MyProfileSettingsPage-DOnOP6Fn.cjs +85 -0
- package/dist/NavBarWithPicker-b1Ry0LcJ.cjs +30 -0
- package/dist/NavBarWithPicker-yALKpDve.js +106 -0
- package/dist/NavigationArrow-BBf69NNn.js +88 -0
- package/dist/NavigationArrow-td3s9aey.cjs +47 -0
- package/dist/NavigationDots-BnRmCfjH.cjs +15 -0
- package/dist/NavigationDots-qdwqzTNz.js +44 -0
- package/dist/NewGlobalMerchantPage-BquXNpa_.js +543 -0
- package/dist/NewGlobalMerchantPage-DOY4EbUq.cjs +160 -0
- package/dist/NoDataChart-DQDXjeEq.cjs +26 -0
- package/dist/NoDataChart-PyI10pVK.js +58 -0
- package/dist/NoDataTable-CKr1AmU2.js +27 -0
- package/dist/NoDataTable-CZb3JxCs.cjs +8 -0
- package/dist/NotFoundPage-CWfvQynG.js +71 -0
- package/dist/NotFoundPage-CjvAiMvX.cjs +46 -0
- package/dist/NotificationSettingsPage-BsAoOpJB.cjs +163 -0
- package/dist/NotificationSettingsPage-D3MQRaab.js +541 -0
- package/dist/NotificationsListConfig-D-Yi0v5J.js +10 -0
- package/dist/NotificationsListConfig-iR4WBGBv.cjs +1 -0
- package/dist/NotificationsPage-haHPdziA.js +2664 -0
- package/dist/NotificationsPage-x1mkqptU.cjs +685 -0
- package/dist/OpExByVendorPage-CSk-s1g4.cjs +100 -0
- package/dist/OpExByVendorPage-DdrWdz4A.js +1057 -0
- package/dist/PandLWithForecastPage-CJVsuWO-.js +563 -0
- package/dist/PandLWithForecastPage-CPrUlfc2.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-CPjmdCS_.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-Dhf7k0i6.js +623 -0
- package/dist/PeoplePage-B-0YRyqf.cjs +675 -0
- package/dist/PeoplePage-CjMKK_p5.js +1994 -0
- package/dist/PortfolioAllocationFormPage-B703xdH5.js +440 -0
- package/dist/PortfolioAllocationFormPage-Dwqv_f4_.cjs +207 -0
- package/dist/PortfolioDetails-Cce9ZOTg.js +653 -0
- package/dist/PortfolioDetails-k4aTYeJm.cjs +218 -0
- package/dist/ProductsCarousel-D4VJoY68.js +309 -0
- package/dist/ProductsCarousel-D501k_7N.cjs +142 -0
- package/dist/PromoBaseCards-Crge1Bhp.cjs +218 -0
- package/dist/PromoBaseCards-HcKM0HZJ.js +356 -0
- package/dist/QBOConnectionDialog-BaLYQCpC.js +115 -0
- package/dist/QBOConnectionDialog-D_Y4oadJ.cjs +51 -0
- package/dist/QBOSetupSection-B1NsGpoC.js +167 -0
- package/dist/QBOSetupSection-Beriv0A4.cjs +79 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BnWVcZXQ.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-CtJCidNR.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-BLsKYdvu.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-mIEKKa-3.cjs +237 -0
- package/dist/ReimbursementDetailPage-BEvY4iYD.js +1514 -0
- package/dist/ReimbursementDetailPage-RR8A36p6.cjs +314 -0
- package/dist/ReimbursementPromoPage-DahzbI0l.cjs +84 -0
- package/dist/ReimbursementPromoPage-Gruzc_UF.js +364 -0
- package/dist/ReimbursementSetUpPage-B-5PxS6t.cjs +140 -0
- package/dist/ReimbursementSetUpPage-CQd0VIeh.js +666 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-CvkffD7W.cjs +1 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-uECqMXo9.js +204 -0
- package/dist/ReloadCard-BXrItm8e.js +137 -0
- package/dist/ReloadCard-Carg1Hd5.cjs +26 -0
- package/dist/ReloadContainer-BFCrVqoC.cjs +596 -0
- package/dist/ReloadContainer-Dj_fEXOZ.js +2144 -0
- package/dist/ReportTableViewSelector-CeBX1elK.cjs +150 -0
- package/dist/ReportTableViewSelector-knfHrTuI.js +679 -0
- package/dist/ReportsPage-BI15J4EZ.js +1315 -0
- package/dist/ReportsPage-Bmsrzre8.cjs +121 -0
- package/dist/RevenueChart-BGYr7RBB.cjs +280 -0
- package/dist/RevenueChart-Bji6Tv6G.js +2239 -0
- package/dist/ReviewDetailsPage-DCaH1n_l.cjs +290 -0
- package/dist/ReviewDetailsPage-DrzQ4ENw.js +1073 -0
- package/dist/ReviewOverlay-BK-syMuT.cjs +152 -0
- package/dist/ReviewOverlay-DMHFNNf2.js +299 -0
- package/dist/RoleWithToolTip-Dmuau7vH.js +72 -0
- package/dist/RoleWithToolTip-jhDzsbr6.cjs +22 -0
- package/dist/ScheduleDetailsFixedAssetsPage-C_1nAJN5.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-lYImZhVu.cjs +37 -0
- package/dist/ScheduleDetailsPage-CV25qYMU.js +726 -0
- package/dist/ScheduleDetailsPage-nxXhZsQo.cjs +37 -0
- package/dist/ScheduleSequenceTable-CDatfki9.js +1261 -0
- package/dist/ScheduleSequenceTable-DUa_WPOA.cjs +324 -0
- package/dist/SetUpAccountSection-BLvSltZH.cjs +378 -0
- package/dist/SetUpAccountSection-CvZOMovh.js +1470 -0
- package/dist/SetUpDefaultSection-Cg5dr2eG.js +537 -0
- package/dist/SetUpDefaultSection-g1__NvbM.cjs +187 -0
- package/dist/SignIn-BKGt-vvx.cjs +448 -0
- package/dist/SignIn-OcJw-Qgb.js +1075 -0
- package/dist/SpendManagementListViewPage-BaaQtlDE.cjs +122 -0
- package/dist/SpendManagementListViewPage-C5L3COt3.js +627 -0
- package/dist/SpendManagementPerTabPage-C-m3Pu9E.js +2735 -0
- package/dist/SpendManagementPerTabPage-CNU5UPKw.cjs +754 -0
- package/dist/SpendManagementSection-BTuQaIby.cjs +230 -0
- package/dist/SpendManagementSection-DbcI3fgW.js +1043 -0
- package/dist/SpendMgmtSetupAccountSection-C29VqFLY.js +875 -0
- package/dist/SpendMgmtSetupAccountSection-rjU3IHsl.cjs +206 -0
- package/dist/StatementItem-D1P9LBCM.js +81 -0
- package/dist/StatementItem-DkHq5PEq.cjs +31 -0
- package/dist/StatementsPage-C7QXMAHK.cjs +58 -0
- package/dist/StatementsPage-CCzNaQB6.js +130 -0
- package/dist/StatusSwitcher-BmiLtOq6.cjs +120 -0
- package/dist/StatusSwitcher-qxJhBNN7.js +319 -0
- package/dist/SubTabSwitcher-1IDsxL2c.js +113 -0
- package/dist/SubTabSwitcher-Cxo2lGwr.cjs +58 -0
- package/dist/SuccessAnimation-BDsTqJA2.cjs +13 -0
- package/dist/SuccessAnimation-DW9rc_rO.js +52 -0
- package/dist/SummaryCard-ByK_YNLx.js +25 -0
- package/dist/SummaryCard-qh-bFtHv.cjs +1 -0
- package/dist/TaskDetailPage-BNXmQteM.cjs +775 -0
- package/dist/TaskDetailPage-DLXiuXiW.js +2533 -0
- package/dist/TaskListRow-BWvp8aB7.cjs +556 -0
- package/dist/TaskListRow-BYeg3unX.js +1950 -0
- package/dist/TaskManagementPage-B6Bu_Kzx.cjs +508 -0
- package/dist/TaskManagementPage-Dmfqj8GQ.js +1935 -0
- package/dist/TimeRangeSwitcher-BH2Msajq.js +265 -0
- package/dist/TimeRangeSwitcher-D4FMNcW8.cjs +64 -0
- package/dist/TimeframeSwitcher-CRgJ1Y7l.cjs +31 -0
- package/dist/TimeframeSwitcher-DnuVNN6n.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-D-A_NOYB.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-D9vM9qm5.js +157 -0
- package/dist/TopExCard-8cl4hZRS.cjs +38 -0
- package/dist/TopExCard-BkkjoGDt.js +568 -0
- package/dist/TopExDetailPage-koBQxCjd.js +318 -0
- package/dist/TopExDetailPage-pw8F8Aqs.cjs +132 -0
- package/dist/TransactionDetailPage-Cyxb7MCw.cjs +912 -0
- package/dist/TransactionDetailPage-DT2Q26tZ.js +5238 -0
- package/dist/TransactionList-Bw6xtghe.cjs +147 -0
- package/dist/TransactionList-qqLep1Gv.js +558 -0
- package/dist/TransactionListBig-CMHawnDi.cjs +284 -0
- package/dist/TransactionListBig-CpplsMOX.js +658 -0
- package/dist/TransactionListPage-CjXyP2kM.js +144 -0
- package/dist/TransactionListPage-D1urnV9s.cjs +35 -0
- package/dist/TransactionVendorDetailPage-DpC4i9p4.cjs +80 -0
- package/dist/TransactionVendorDetailPage-v2t1WBXV.js +425 -0
- package/dist/TransferDrawerPage-3UanBSQQ.cjs +362 -0
- package/dist/TransferDrawerPage-pRQF4bEY.js +1435 -0
- package/dist/TreasuryOverviewPage-CGbRq1Bs.cjs +708 -0
- package/dist/TreasuryOverviewPage-CmxphIXy.js +1890 -0
- package/dist/TreasuryPromoPage-BddwU5lJ.cjs +505 -0
- package/dist/TreasuryPromoPage-C0hs9jxM.js +1123 -0
- package/dist/TreasurySetupPage-BUUPvRFl.cjs +144 -0
- package/dist/TreasurySetupPage-URURLfoo.js +683 -0
- package/dist/TreasuryStatementsPage-BEXTD-qz.js +131 -0
- package/dist/TreasuryStatementsPage-EUByWZ0l.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-7vmGNqLc.js +131 -0
- package/dist/TreasuryTaxLetterPage-BkHxLXOx.cjs +58 -0
- package/dist/TreasuryTransferOrReviewPage-D6O5x2TX.cjs +576 -0
- package/dist/TreasuryTransferOrReviewPage-DbRN36fu.js +1938 -0
- package/dist/TrendChart-BRtCIidU.cjs +16 -0
- package/dist/TrendChart-Q_yFFWLB.js +333 -0
- package/dist/TrendWithTransactions-MskXF7Cq.cjs +116 -0
- package/dist/TrendWithTransactions-ShBYkWKh.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-BVIxWXYb.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-DAG5ghLx.js +1160 -0
- package/dist/UnitIntegrationPage-DW1_-ncK.cjs +67 -0
- package/dist/UnitIntegrationPage-DsKecJH-.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-CY1eW0xV.js +211 -0
- package/dist/UploadAdditionalDocumentOverlay-CinRLuMQ.cjs +38 -0
- package/dist/Vendor2FAPopup-CPbleeWP.js +69 -0
- package/dist/Vendor2FAPopup-u_-7DdYu.cjs +1 -0
- package/dist/VendorACHDetailsPage-B7EESZkX.cjs +1 -0
- package/dist/VendorACHDetailsPage-CdKPQuk3.js +43 -0
- package/dist/VendorDetailPage-CRMRKw-p.js +1236 -0
- package/dist/VendorDetailPage-tdsF2Rjs.cjs +257 -0
- package/dist/VendorDomesticWireDetailsPage-CO7G8yAr.cjs +1 -0
- package/dist/VendorDomesticWireDetailsPage-DTjNiud8.js +53 -0
- package/dist/VendorFiling1099EditablePage-CtkwDmXz.js +842 -0
- package/dist/VendorFiling1099EditablePage-n4Pzie8H.cjs +175 -0
- package/dist/VendorFirstReviewPage-BrGxyks7.cjs +730 -0
- package/dist/VendorFirstReviewPage-CqE6CqBk.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-Cz3BUuvA.js +968 -0
- package/dist/VendorInternationalWireDetailsPage-D_zgNWP-.cjs +152 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-Cu-Ut4Hk.cjs +1 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-Ddrw-OnI.js +52 -0
- package/dist/VendorsAccountsSection-Bv5Qvt8e.cjs +68 -0
- package/dist/VendorsAccountsSection-CNpG14mT.js +279 -0
- package/dist/VerifyDevice-BxtyZ03u.js +298 -0
- package/dist/VerifyDevice-CDdEDO-K.cjs +112 -0
- package/dist/VideoPlayer-BFAX5r2_.js +169 -0
- package/dist/VideoPlayer-BfgdGrLM.cjs +77 -0
- package/dist/VideoPopup-CNeuBqcC.cjs +31 -0
- package/dist/VideoPopup-CRlsQupd.js +60 -0
- package/dist/WarningsDrawerPage-CIcHcTd8.cjs +92 -0
- package/dist/WarningsDrawerPage-Ca43ypfV.js +228 -0
- package/dist/ZeniAccountDetailPage-DJrU9DrP.cjs +300 -0
- package/dist/ZeniAccountDetailPage-Dibsi3An.js +907 -0
- package/dist/ZeniAccountListViewPage-C11-V_g7.cjs +441 -0
- package/dist/ZeniAccountListViewPage-hDR3sxAt.js +1078 -0
- package/dist/ZeniAccountNavBarPieces--w9ddY2E.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-U7P-Kgc_.js +89 -0
- package/dist/ZeniAccountPromoPage-DGjZyuh3.cjs +184 -0
- package/dist/ZeniAccountPromoPage-Dk5zAlOC.js +523 -0
- package/dist/ZeniAccountSetupPage-C-JI3S5y.cjs +36 -0
- package/dist/ZeniAccountSetupPage-D9Gxnb_z.js +312 -0
- package/dist/ZeniAvatar-CrAoJ9o5.js +34 -0
- package/dist/ZeniAvatar-D8hiNnz9.cjs +13 -0
- package/dist/ZeniCopyright-DSg7PagE.js +9 -0
- package/dist/ZeniCopyright-DmV1MvtW.cjs +1 -0
- package/dist/ZeniDatePicker-CxR1b8aD.js +386 -0
- package/dist/ZeniDatePicker-DRhu1Gvb.cjs +187 -0
- package/dist/ZeniTransferAmountSlider-BRp61W8C.js +215 -0
- package/dist/ZeniTransferAmountSlider-BT8wFK_7.cjs +63 -0
- package/dist/analyticsHelper-BGI8oWT_.js +65 -0
- package/dist/analyticsHelper-CnvFGRDd.cjs +1 -0
- package/dist/calculateSize-A1iXFPxC.cjs +1 -0
- package/dist/calculateSize-B3PhAowe.js +22 -0
- package/dist/chartTypes-C-eCKCRJ.js +47 -0
- package/dist/chartTypes-CkLj1COE.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-DFxg6rgB.js +22 -0
- package/dist/common-gzDXxE4X.cjs +1 -0
- package/dist/commonDimensions-BQ31MjFy.js +13 -0
- package/dist/commonDimensions-DNH5zsni.cjs +1 -0
- package/dist/detailCommon-DkSXNQeu.js +124 -0
- package/dist/detailCommon-DwxzpKFl.cjs +38 -0
- package/dist/downloadPdf-BK04bsYy.cjs +1 -0
- package/dist/downloadPdf-Hv9QLXvS.js +32 -0
- package/dist/index-CGiOrCyX.cjs +19266 -0
- package/dist/index-DosfnUdx.js +86027 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-BoTNn1CK.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-DUKnhj8-.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-B9mJ3VTt.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-VpJqG-LU.js +388 -0
- package/dist/mapSpacerToTreeNode-C2icYZxR.js +25 -0
- package/dist/mapSpacerToTreeNode-DS6jFZsY.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-Bbut8SfB.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CRxc1HNU.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CWdMS7Ir.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-DmK1etkf.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Bx_hyPwE.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DT42-IKN.js +32 -0
- package/dist/sectionColor-BBrT1PIG.cjs +1 -0
- package/dist/sectionColor-DRa9I2sb.js +32 -0
- package/dist/toCOABalancesWithID-DLcb2cMa.cjs +1 -0
- package/dist/toCOABalancesWithID-WXo_eDff.js +8 -0
- package/dist/toChartData-BEECKB5u.cjs +1 -0
- package/dist/toChartData-xRnoOagF.js +76 -0
- package/dist/treasuryColorHelper-BQ5HIVfr.js +60 -0
- package/dist/treasuryColorHelper-Dofz3Ks2.cjs +1 -0
- package/dist/uploadAttachment-C3ZI9TjK.cjs +286 -0
- package/dist/uploadAttachment-cV1wS0GS.js +952 -0
- package/dist/zeniDatePicker.helpers-CbtOx05R.js +14 -0
- package/dist/zeniDatePicker.helpers-qKd6KBZO.cjs +1 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-B40ur5bp.js +0 -160
- package/dist/ACHDetailsPage-slC3SG1l.cjs +0 -21
- package/dist/AIPerformancePage-3KzgwQEg.js +0 -1333
- package/dist/AIPerformancePage-CJHUUg1E.cjs +0 -530
- package/dist/AccountInfoPage-X2ls4uM4.cjs +0 -18
- package/dist/AccountInfoPage-vLCfulj4.js +0 -78
- package/dist/AccountInfoPageContent-C0kb83_4.js +0 -428
- package/dist/AccountInfoPageContent-C4sNnmMa.cjs +0 -149
- package/dist/AccountLockedInfoModal-DXzdDtpD.cjs +0 -59
- package/dist/AccountLockedInfoModal-DqWq-DtD.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-AyMD3eZS.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-C1-aZ2IL.js +0 -686
- package/dist/AccountRow-C9q6i3az.js +0 -1012
- package/dist/AccountRow-CgM-yjum.cjs +0 -298
- package/dist/AccountsPromoCardStack-8UaNZBvT.cjs +0 -207
- package/dist/AccountsPromoCardStack-CcKxTC_P.js +0 -664
- package/dist/AddAddressForCardDrawer-CgFUm8yP.js +0 -82
- package/dist/AddAddressForCardDrawer-xWpblixM.cjs +0 -6
- package/dist/AddToWalletPage-BahKWmJQ.cjs +0 -344
- package/dist/AddToWalletPage-CcGENV5h.js +0 -643
- package/dist/AgingReportsPage-B24eKpNK.js +0 -827
- package/dist/AgingReportsPage-DfhUPkh3.cjs +0 -79
- package/dist/AllUserItems-BL5rMBzR.cjs +0 -192
- package/dist/AllUserItems-D_8QwwoX.js +0 -979
- package/dist/ApAgingDetailPage-CkjF2eck.js +0 -239
- package/dist/ApAgingDetailPage-XUtMU1h2.cjs +0 -46
- package/dist/AppBasePage-BKLe2VqM.js +0 -120
- package/dist/AppBasePage-DPYhviRQ.cjs +0 -71
- package/dist/AppDrawerContent-amGpNlZr.js +0 -375
- package/dist/AppDrawerContent-cpH6GgL9.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-D42YDnFU.js +0 -146
- package/dist/ApprovalRulesSettingsPage-DZA3rpBE.cjs +0 -47
- package/dist/ArAgingChart-BGqPm3ZV.cjs +0 -24
- package/dist/ArAgingChart-qZaIsWtq.js +0 -529
- package/dist/ArAgingDetailPage-CHCdWveg.js +0 -243
- package/dist/ArAgingDetailPage-Cpc-9ZEN.cjs +0 -46
- package/dist/AttachmentView-DSidYtef.cjs +0 -101
- package/dist/AttachmentView-DZCtCZK_.js +0 -260
- package/dist/BankAccountSection-BroWfNc_.js +0 -398
- package/dist/BankAccountSection-CqbEZs_U.cjs +0 -79
- package/dist/BankAccountWarningSection-7qd9K3wZ.cjs +0 -51
- package/dist/BankAccountWarningSection-lNbSkw5-.js +0 -110
- package/dist/BankConnectionsSettingsPage-BG5FAR53.js +0 -1695
- package/dist/BankConnectionsSettingsPage-DhbCr7LR.cjs +0 -425
- package/dist/BillDetailPage-BNlsd0AF.js +0 -1798
- package/dist/BillDetailPage-CW7L2hkE.cjs +0 -266
- package/dist/BillPayApprovalRuleDetailPage-Br6UCYrF.js +0 -247
- package/dist/BillPayApprovalRuleDetailPage-DXq6HBGP.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-C3-TxQXL.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-DL0aveSN.js +0 -415
- package/dist/BillPayPromoPage-DLMTqP9B.js +0 -293
- package/dist/BillPayPromoPage-Xrslodjk.cjs +0 -84
- package/dist/BillPaySetUpPage-7Z5WhvCj.js +0 -412
- package/dist/BillPaySetUpPage-Fam5Vjf2.cjs +0 -42
- package/dist/BillingSettingsPage-CVzJEJob.cjs +0 -44
- package/dist/BillingSettingsPage-HsRQLM6k.js +0 -336
- package/dist/BillsBulkReviewDrawerPage-CZEdLC67.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-D362k00N.cjs +0 -1
- package/dist/BoxItem-BDTZMXWR.cjs +0 -53
- package/dist/BoxItem-CvQS_sLm.js +0 -118
- package/dist/BusinessVerificationPage-BQ3ZYVyp.js +0 -717
- package/dist/BusinessVerificationPage-BxW-PcV6.cjs +0 -138
- package/dist/BusyIndication-F34GsaAZ.cjs +0 -9
- package/dist/BusyIndication-fzAaw4ql.js +0 -19
- package/dist/CardNumberSubText-6E-0gzJh.cjs +0 -21
- package/dist/CardNumberSubText-DVfY641B.js +0 -59
- package/dist/CashbackDetailPage-Bq-wjfJM.js +0 -824
- package/dist/CashbackDetailPage-DL2ea3KA.cjs +0 -285
- package/dist/ChargeCardDetailPage-BBksBgc_.js +0 -5454
- package/dist/ChargeCardDetailPage-BCn12JnD.cjs +0 -1462
- package/dist/ChargeCardListPage-BBctb-m_.cjs +0 -406
- package/dist/ChargeCardListPage-D8LM_cZf.js +0 -1775
- package/dist/ChargeCardListTable-Cstar82M.js +0 -2872
- package/dist/ChargeCardListTable-De8WyMAy.cjs +0 -711
- package/dist/ChargeCardPromoPage-CAtYG87g.cjs +0 -222
- package/dist/ChargeCardPromoPage-DMAUyVe7.js +0 -806
- package/dist/ChargeCardSetupPage-Cce54OD8.cjs +0 -36
- package/dist/ChargeCardSetupPage-xuPp_o4-.js +0 -362
- package/dist/ChargeCardStatementsPage-BKdhkcaY.cjs +0 -60
- package/dist/ChargeCardStatementsPage-BtEC80N4.js +0 -243
- package/dist/ChargeCardUtils-CHhHodZN.js +0 -102
- package/dist/ChargeCardUtils-CR4z5zZ0.cjs +0 -1
- package/dist/ChaseOverlay-DiMgplub.cjs +0 -170
- package/dist/ChaseOverlay-laPjyJU7.js +0 -402
- package/dist/CheckDepositDrawerPage-Cg3R57ad.js +0 -726
- package/dist/CheckDepositDrawerPage-M3fUaxlO.cjs +0 -206
- package/dist/CollapsableReportTable-BTquJgcd.js +0 -11758
- package/dist/CollapsableReportTable-BeMvdaj0.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-BpiZ5rDk.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-w_zxUAub.cjs +0 -260
- package/dist/CompanyPassportCard-BV9mPVRb.js +0 -146
- package/dist/CompanyPassportCard-DIqnawwH.cjs +0 -42
- package/dist/CompanyPassportPage-BlUDh46x.cjs +0 -574
- package/dist/CompanyPassportPage-D5tRbHXG.js +0 -2160
- package/dist/CompleteProfile-CARUXqXR.js +0 -301
- package/dist/CompleteProfile-lpTCAVMk.cjs +0 -52
- package/dist/ConfettiBurst-BLy0sV0G.cjs +0 -1
- package/dist/ConfettiBurst-CPnRASxV.js +0 -37
- package/dist/CreateOrEditVendorPage-Bn5wd7xH.cjs +0 -281
- package/dist/CreateOrEditVendorPage-BnMzZWIJ.js +0 -755
- package/dist/CreditCardPaymentDrawerPage-ZGFxbf6p.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-mRKc5Hep.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-BU5zPAOV.cjs +0 -78
- package/dist/CreditCardPaymentPlgSection-CfIXTZi1.js +0 -196
- package/dist/CurrencySelectField-B3jz4DTk.cjs +0 -139
- package/dist/CurrencySelectField-D5qstOV_.js +0 -348
- package/dist/CustomerOnboardingActivationPage-EoS5UWcr.js +0 -143
- package/dist/CustomerOnboardingActivationPage-pAg_Ujs_.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-BgruhilB.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-Bzjew7MV.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-BbVXPIrw.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-CATcejsu.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-DhXSZZDt.js +0 -425
- package/dist/CustomerOnboardingNoStepsPage-NXlFiXna.cjs +0 -66
- package/dist/CustomerOnboardingPage-Dw4jho3E.js +0 -1060
- package/dist/CustomerOnboardingPage-elIrV__e.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-BrcfWdR_.js +0 -349
- package/dist/CustomerOnboardingProductSuitePage-CU2RCF7-.cjs +0 -202
- package/dist/Dashboard-Cn9j-eYd.cjs +0 -1551
- package/dist/Dashboard-Dncu8Llu.js +0 -5531
- package/dist/DashboardReportPage-C7kiJiz2.cjs +0 -371
- package/dist/DashboardReportPage-Cd2aI286.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-Bsd2tllR.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-fb8ZuHwM.cjs +0 -12
- package/dist/DepositAccTransactionItem-BCvM718U.js +0 -112
- package/dist/DepositAccTransactionItem-U6NB4_ln.cjs +0 -76
- package/dist/DepositAccTransactionListPage-B8ub_KVm.cjs +0 -66
- package/dist/DepositAccTransactionListPage-BV0C4uw5.js +0 -152
- package/dist/DomesticWireDetailsPage-C7YCWnpX.js +0 -189
- package/dist/DomesticWireDetailsPage-DHR_b76A.cjs +0 -21
- package/dist/DownloadOverlay-BOh4T7fi.cjs +0 -439
- package/dist/DownloadOverlay-XFeHlPT1.js +0 -2148
- package/dist/DrawerPage-B5swtpnW.js +0 -208
- package/dist/DrawerPage-BivTHqST.cjs +0 -118
- package/dist/EditPeoplePage-Cf2v4b3-.cjs +0 -55
- package/dist/EditPeoplePage-gSBB6VWT.js +0 -392
- package/dist/EditReimbursementDetailPage-CdGB5qvN.cjs +0 -865
- package/dist/EditReimbursementDetailPage-wgieh-cS.js +0 -4554
- package/dist/EmptySearchResults-CGVNS3rB.js +0 -70
- package/dist/EmptySearchResults-D95-Rm3B.cjs +0 -46
- package/dist/EntityDetailPage-CIASytAF.cjs +0 -18
- package/dist/EntityDetailPage-wDSbBdas.js +0 -82
- package/dist/EntitySummarySection-BNjAa50A.cjs +0 -149
- package/dist/EntitySummarySection-DUkLpeab.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-8Kor6jbw.js +0 -806
- package/dist/ExpenseAutomationOverviewPage-DzGHHVXG.cjs +0 -281
- package/dist/ExpenseAutomationPage-B4Ot0TGa.cjs +0 -1650
- package/dist/ExpenseAutomationPage-BrMLIa8l.js +0 -11530
- package/dist/ExpressPayPage-BaxhRfYU.cjs +0 -168
- package/dist/ExpressPayPage-mNQZwQjW.js +0 -1136
- package/dist/FeaturePreviewPage-CDz3jazp.cjs +0 -11
- package/dist/FeaturePreviewPage-DBHT9uKl.js +0 -114
- package/dist/FollowStepsSection-C4WfO55o.cjs +0 -390
- package/dist/FollowStepsSection-CSUuXn2f.js +0 -1313
- package/dist/GlobalReviewListPage-Dd_3t2oq.cjs +0 -291
- package/dist/GlobalReviewListPage-p0vz_C5a.js +0 -1674
- package/dist/HelpButton-B2amus4B.js +0 -81
- package/dist/HelpButton-fwuro_wF.cjs +0 -28
- package/dist/InformationCardStack-BJ727KaL.js +0 -219
- package/dist/InformationCardStack-BoECWCAM.cjs +0 -31
- package/dist/InsightsCardStack-DY6RY7Qe.js +0 -305
- package/dist/InsightsCardStack-DjwQTvTS.cjs +0 -79
- package/dist/InsightsSection-D-8tYkse.js +0 -97
- package/dist/InsightsSection-D5FCkw9x.cjs +0 -27
- package/dist/IntegrationsSettingsPage-1rJOamsZ.js +0 -137
- package/dist/IntegrationsSettingsPage-NWbrFv-C.cjs +0 -57
- package/dist/InternationalWireSwiftDetailsPage-DCgD0yd5.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-Ri6TSG6P.js +0 -753
- package/dist/InternationalWireVerificationPage-CjriI8l-.js +0 -877
- package/dist/InternationalWireVerificationPage-DYxL52qf.cjs +0 -292
- package/dist/InviteFormPage-BY76duGE.js +0 -873
- package/dist/InviteFormPage-CmlBCIsf.cjs +0 -312
- package/dist/InvitePageListView-AAJf0dR1.js +0 -1764
- package/dist/InvitePageListView-J1PtMvPz.cjs +0 -739
- package/dist/InvitePeoplePage-CyMnjfEI.js +0 -286
- package/dist/InvitePeoplePage-cgGRCtkE.cjs +0 -12
- package/dist/InvoiceUploadSection-Bgbj5Y0p.cjs +0 -140
- package/dist/InvoiceUploadSection-DNao9DwT.js +0 -465
- package/dist/IssueChargeCardPage-Bjy6NLc8.js +0 -2875
- package/dist/IssueChargeCardPage-C-ovFhUn.cjs +0 -532
- package/dist/LabeledAddressValue-B2k1GZHx.js +0 -115
- package/dist/LabeledAddressValue-DB3VnKbD.cjs +0 -49
- package/dist/LabeledAddressValueField-C6oH2tzZ.js +0 -130
- package/dist/LabeledAddressValueField-Dx5RDRBi.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-D3legl2B.js +0 -73
- package/dist/LabeledControlledCheckBoxField-DF1otQdm.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-BVxws_IH.js +0 -515
- package/dist/LabeledCreatableSingleSelectField-Cf70e8aw.cjs +0 -204
- package/dist/LabeledDocumentField-CHBkOxpw.cjs +0 -41
- package/dist/LabeledDocumentField-DwPfHt2N.js +0 -147
- package/dist/LabeledDropDownFormattedTextField-BFT3G777.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-bn7kWVz9.cjs +0 -59
- package/dist/LabeledEmailInputField-BObcaokn.js +0 -425
- package/dist/LabeledEmailInputField-qdZBlnCM.cjs +0 -182
- package/dist/LabeledItemWithButton-Cew2xFtG.js +0 -74
- package/dist/LabeledItemWithButton-M9KZJ9O1.cjs +0 -21
- package/dist/LabeledNameField-0BHn47wL.js +0 -293
- package/dist/LabeledNameField-D1y4s093.cjs +0 -141
- package/dist/LabeledSingleSelectField-CwpPBzlW.js +0 -372
- package/dist/LabeledSingleSelectField-DK7ot0M1.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-CSctkBc8.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-DxIhSv2P.js +0 -103
- package/dist/LabeledText-C1VSt70N.cjs +0 -42
- package/dist/LabeledText-nWCZBDTc.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-72JkVPu4.cjs +0 -229
- package/dist/LabeledUserSingleSelectWithSubtitlesField-B5USvGOt.js +0 -572
- package/dist/LabeledZeniRolesDropDownField-CFKa2QEv.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-DPRa60qL.cjs +0 -297
- package/dist/LinkJETransactionPage-BHUfW4fL.cjs +0 -98
- package/dist/LinkJETransactionPage-C1nuQ_6i.js +0 -406
- package/dist/LockCardPage-Dxs62uEQ.cjs +0 -623
- package/dist/LockCardPage-s_PD9AzH.js +0 -2033
- package/dist/LowBalancePopup-C3XwZy2N.js +0 -219
- package/dist/LowBalancePopup-CBVfVhSz.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-BUGFirhH.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-CAcRKnmW.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-BYmO4Xr9.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-JvSpg6ik.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-Bcy_lc8a.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-BfVzS_Di.js +0 -43
- package/dist/MagicLinkSuccessPage-CAnSgQhj.js +0 -59
- package/dist/MagicLinkSuccessPage-DYau0G-0.cjs +0 -31
- package/dist/MagicLinkTitleSection-BQehj8bQ.cjs +0 -17
- package/dist/MagicLinkTitleSection-cO3EG-gp.js +0 -40
- package/dist/MailingDetailsSection-DQMMCWg9.cjs +0 -21
- package/dist/MailingDetailsSection-DgN7ACVL.js +0 -74
- package/dist/MatchingOperatorDropdown-CsSRTpso.cjs +0 -130
- package/dist/MatchingOperatorDropdown-DPRDpAUO.js +0 -572
- package/dist/MeetingCalenderPopup-86CwfGPA.cjs +0 -26
- package/dist/MeetingCalenderPopup-C1bMV1I3.js +0 -60
- package/dist/Menu-BCaq3E25.cjs +0 -17
- package/dist/Menu-C-o9HER2.js +0 -110
- package/dist/MoreMenuButton-D5DG_Ul4.cjs +0 -167
- package/dist/MoreMenuButton-D8kkFLqP.js +0 -569
- package/dist/MyBankConnectionsSettingsPage-Ba9N0IfF.cjs +0 -110
- package/dist/MyBankConnectionsSettingsPage-DiJHbt8A.js +0 -297
- package/dist/MyPendingActivationChargeCardListPage-CAH07oE4.js +0 -168
- package/dist/MyPendingActivationChargeCardListPage-Ch0IjHfk.cjs +0 -6
- package/dist/MyProfileSettingsPage-CWWb3u86.js +0 -641
- package/dist/MyProfileSettingsPage-E2C7O0L2.cjs +0 -85
- package/dist/NavBarWithPicker-BswkyMmW.js +0 -106
- package/dist/NavBarWithPicker-CFYOxqty.cjs +0 -30
- package/dist/NavigationArrow-cWkaAVwE.js +0 -88
- package/dist/NavigationArrow-xxW0Ywmh.cjs +0 -47
- package/dist/NavigationDots-DDGYTuFE.js +0 -44
- package/dist/NavigationDots-Dm-kFUZG.cjs +0 -15
- package/dist/NewGlobalMerchantPage-DMjp_PNq.cjs +0 -160
- package/dist/NewGlobalMerchantPage-VAYeGHLy.js +0 -543
- package/dist/NoDataChart-DDy4djDo.cjs +0 -26
- package/dist/NoDataChart-DOvXvjb9.js +0 -58
- package/dist/NoDataTable-CqNEtMrc.cjs +0 -8
- package/dist/NoDataTable-DRlkLFHY.js +0 -27
- package/dist/NotFoundPage-BUQyPFn7.js +0 -71
- package/dist/NotFoundPage-CBzdEVOB.cjs +0 -46
- package/dist/NotificationSettingsPage-B1KXf_X_.js +0 -541
- package/dist/NotificationSettingsPage-C7jzcxJS.cjs +0 -163
- package/dist/NotificationsListConfig-BoGND2x4.js +0 -10
- package/dist/NotificationsListConfig-qtdLQrFC.cjs +0 -1
- package/dist/NotificationsPage-CsXXgLel.js +0 -2664
- package/dist/NotificationsPage-J5pYkCAC.cjs +0 -685
- package/dist/OpExByVendorPage-BnJYy01U.js +0 -1057
- package/dist/OpExByVendorPage-DD0vg3o2.cjs +0 -100
- package/dist/PandLWithForecastPage-BfG56Sc7.cjs +0 -107
- package/dist/PandLWithForecastPage-o-jbKy2e.js +0 -563
- package/dist/PaymentAccountSetupBillingAddressSection-B-EEPvGv.cjs +0 -106
- package/dist/PaymentAccountSetupBillingAddressSection-De5SXBpI.js +0 -623
- package/dist/PeoplePage-BIVaRb-w.cjs +0 -675
- package/dist/PeoplePage-DQ6Hff1k.js +0 -1994
- package/dist/PortfolioAllocationFormPage-B0C0S3dz.cjs +0 -207
- package/dist/PortfolioAllocationFormPage-V0wgI9Ce.js +0 -440
- package/dist/PortfolioDetails-CD5ZpbUI.js +0 -653
- package/dist/PortfolioDetails-ChGlWudQ.cjs +0 -218
- package/dist/ProductsCarousel-BgdNpUfv.cjs +0 -142
- package/dist/ProductsCarousel-V_jWJEER.js +0 -309
- package/dist/PromoBaseCards-BAFdMFqw.js +0 -356
- package/dist/PromoBaseCards-CV_zO8m4.cjs +0 -218
- package/dist/QBOConnectionDialog-BEKUhqxp.cjs +0 -51
- package/dist/QBOConnectionDialog-DKpO649n.js +0 -115
- package/dist/QBOSetupSection-D0ZCB5UD.js +0 -167
- package/dist/QBOSetupSection-DhcRobkb.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-DNt15Ut8.js +0 -247
- package/dist/ReimbursementApprovalRuleDetailPage-tyWzs5Nv.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-Brx7wunO.js +0 -410
- package/dist/ReimbursementApprovalRulesPage-QKZ704qj.cjs +0 -237
- package/dist/ReimbursementDetailPage-CkuUPIdw.cjs +0 -314
- package/dist/ReimbursementDetailPage-DX_Fn31o.js +0 -1514
- package/dist/ReimbursementPromoPage-CkEv6rCJ.js +0 -364
- package/dist/ReimbursementPromoPage-CrixHApY.cjs +0 -84
- package/dist/ReimbursementSetUpPage-CFO-blEl.js +0 -666
- package/dist/ReimbursementSetUpPage-w4z9aPHU.cjs +0 -140
- package/dist/ReimbursementsBulkReviewDrawerPage-B-IcycaW.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-C1GSyjvX.cjs +0 -1
- package/dist/ReloadCard-DrU5ZC4a.js +0 -137
- package/dist/ReloadCard-SKcABvfi.cjs +0 -26
- package/dist/ReloadContainer-1KKBNsoG.cjs +0 -596
- package/dist/ReloadContainer-mtiuu6tO.js +0 -2144
- package/dist/ReportTableViewSelector-DQaeuChu.cjs +0 -150
- package/dist/ReportTableViewSelector-oB74PECo.js +0 -679
- package/dist/ReportsPage-D0Psj2SZ.js +0 -1315
- package/dist/ReportsPage-S-u5mb0H.cjs +0 -121
- package/dist/RevenueChart-2p_OWEox.cjs +0 -280
- package/dist/RevenueChart-Bnc2RxbY.js +0 -2239
- package/dist/ReviewDetailsPage-Ch8cob8D.cjs +0 -290
- package/dist/ReviewDetailsPage-E4-dpZ3_.js +0 -1073
- package/dist/ReviewOverlay-C9hLAPaS.js +0 -299
- package/dist/ReviewOverlay-C_MRAheE.cjs +0 -152
- package/dist/RoleWithToolTip-BdIHsErU.js +0 -72
- package/dist/RoleWithToolTip-X5jbx5Q6.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-BWR3hTXt.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-DCrTdK6_.js +0 -806
- package/dist/ScheduleDetailsPage-BNVBIY34.js +0 -726
- package/dist/ScheduleDetailsPage-BcsFDckA.cjs +0 -37
- package/dist/ScheduleSequenceTable-D9iYQPyc.cjs +0 -324
- package/dist/ScheduleSequenceTable-DeLVkslS.js +0 -1261
- package/dist/SetUpAccountSection-LyyITwNN.cjs +0 -378
- package/dist/SetUpAccountSection-XaB8Huky.js +0 -1470
- package/dist/SetUpDefaultSection-CVZw7XE8.cjs +0 -187
- package/dist/SetUpDefaultSection-Dko6eOr-.js +0 -537
- package/dist/SignIn-BKZ0UqXu.js +0 -1075
- package/dist/SignIn-NeIM_LAG.cjs +0 -448
- package/dist/SpendManagementListViewPage-CEIg22nL.cjs +0 -122
- package/dist/SpendManagementListViewPage-Crlns-YT.js +0 -627
- package/dist/SpendManagementPerTabPage-BDb2m6gk.cjs +0 -754
- package/dist/SpendManagementPerTabPage-YjfDDwP4.js +0 -2735
- package/dist/SpendManagementSection-BWPAjrhC.cjs +0 -230
- package/dist/SpendManagementSection-D8lfWWWV.js +0 -1043
- package/dist/SpendMgmtSetupAccountSection-C-AH6W6b.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-C7WofOL3.js +0 -875
- package/dist/StatementItem-BkKFO7XB.cjs +0 -31
- package/dist/StatementItem-CpZ-MDHo.js +0 -81
- package/dist/StatementsPage-BbO8PdHq.js +0 -130
- package/dist/StatementsPage-DqT0i0bz.cjs +0 -58
- package/dist/StatusSwitcher-BIDTN_cB.cjs +0 -120
- package/dist/StatusSwitcher-DW-Q6MLD.js +0 -319
- package/dist/SubTabSwitcher-BgmKYyVl.js +0 -113
- package/dist/SubTabSwitcher-C9lFl9ui.cjs +0 -58
- package/dist/SuccessAnimation-CgGfigTs.js +0 -52
- package/dist/SuccessAnimation-CpP-Rx3-.cjs +0 -13
- package/dist/SummaryCard-BtqkbRv7.cjs +0 -1
- package/dist/SummaryCard-V7fE0ql0.js +0 -25
- package/dist/TaskDetailPage-BRxGTlMS.cjs +0 -775
- package/dist/TaskDetailPage-Cr5Kfccz.js +0 -2533
- package/dist/TaskListRow-D3u8se-B.js +0 -1950
- package/dist/TaskListRow-Wt18ZvGi.cjs +0 -556
- package/dist/TaskManagementPage-B_P0S-ct.cjs +0 -508
- package/dist/TaskManagementPage-D8UAfCaw.js +0 -1935
- package/dist/TimeRangeSwitcher-BRY0oixp.js +0 -265
- package/dist/TimeRangeSwitcher-XVsEGdvr.cjs +0 -64
- package/dist/TimeframeSwitcher-DIg8e-x0.js +0 -103
- package/dist/TimeframeSwitcher-Dzq21Mzt.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-BUuMBxE7.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-utawMrzT.js +0 -157
- package/dist/TopExCard-C2AE49xP.js +0 -568
- package/dist/TopExCard-C8-b4jD6.cjs +0 -38
- package/dist/TopExDetailPage-DLvMeWV7.cjs +0 -132
- package/dist/TopExDetailPage-rA6jQ_FN.js +0 -318
- package/dist/TransactionDetailPage-Bzlb9URD.cjs +0 -912
- package/dist/TransactionDetailPage-r-DU5f0M.js +0 -5238
- package/dist/TransactionList-CvKnrhmW.cjs +0 -147
- package/dist/TransactionList-N7P-LryH.js +0 -558
- package/dist/TransactionListBig-DRZgVqe4.cjs +0 -284
- package/dist/TransactionListBig-cTDebILS.js +0 -658
- package/dist/TransactionListPage-CniRC8-o.cjs +0 -35
- package/dist/TransactionListPage-DWfOgmyP.js +0 -144
- package/dist/TransactionVendorDetailPage-CdtIfJoD.cjs +0 -80
- package/dist/TransactionVendorDetailPage-X0hlTlLK.js +0 -425
- package/dist/TransferDrawerPage-BGdlNOXt.js +0 -1435
- package/dist/TransferDrawerPage-BefalmFx.cjs +0 -362
- package/dist/TreasuryOverviewPage-BzOjjhiV.cjs +0 -708
- package/dist/TreasuryOverviewPage-DLqZCVMi.js +0 -1890
- package/dist/TreasuryPromoPage-BYumR6Ez.cjs +0 -505
- package/dist/TreasuryPromoPage-DbzfXlgw.js +0 -1123
- package/dist/TreasurySetupPage-D9GxfZ9F.js +0 -683
- package/dist/TreasurySetupPage-DmnnjjT8.cjs +0 -144
- package/dist/TreasuryStatementsPage-D7iAaOrh.cjs +0 -58
- package/dist/TreasuryStatementsPage-DLi_sZPF.js +0 -131
- package/dist/TreasuryTaxLetterPage-CHF_1yyt.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-DT9qtjBD.js +0 -131
- package/dist/TreasuryTransferOrReviewPage-Bwmdvxcf.js +0 -1938
- package/dist/TreasuryTransferOrReviewPage-DxvqjGmn.cjs +0 -576
- package/dist/TrendChart-Dvq0z-fc.cjs +0 -16
- package/dist/TrendChart-PEPDz5Rb.js +0 -333
- package/dist/TrendWithTransactions-C4FC3QhC.cjs +0 -116
- package/dist/TrendWithTransactions-D0kwx2QH.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-B_m-aQN1.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-C9QlCW0t.cjs +0 -244
- package/dist/UnitIntegrationPage-Ck_hArHa.cjs +0 -67
- package/dist/UnitIntegrationPage-D_I3woOf.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-BzWXbm7_.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-D9GxyscU.cjs +0 -38
- package/dist/Vendor2FAPopup-BJ8WzGDz.cjs +0 -1
- package/dist/Vendor2FAPopup-ZhMUe2XG.js +0 -69
- package/dist/VendorACHDetailsPage-BxSB3e3f.js +0 -43
- package/dist/VendorACHDetailsPage-Da155CkL.cjs +0 -1
- package/dist/VendorDetailPage-BzaUJzrU.cjs +0 -257
- package/dist/VendorDetailPage-Cil4QKpo.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-BdVFGliE.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-t9rrf_8I.js +0 -53
- package/dist/VendorFiling1099EditablePage-CVvvZInI.js +0 -842
- package/dist/VendorFiling1099EditablePage-D3YcFFEC.cjs +0 -175
- package/dist/VendorFirstReviewPage-CEhcXzDq.js +0 -2748
- package/dist/VendorFirstReviewPage-CuZDSz42.cjs +0 -730
- package/dist/VendorInternationalWireDetailsPage-BuII-Mam.js +0 -968
- package/dist/VendorInternationalWireDetailsPage-Bxdivu_N.cjs +0 -152
- package/dist/VendorInternationalWireSwiftDetailsPage-CcVcyWBe.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-D-ULwjba.cjs +0 -1
- package/dist/VendorsAccountsSection-DH0mosVk.js +0 -279
- package/dist/VendorsAccountsSection-JJ7INNFp.cjs +0 -68
- package/dist/VerifyDevice-BWzESmW-.js +0 -298
- package/dist/VerifyDevice-By0J-A5V.cjs +0 -112
- package/dist/VideoPlayer-DPXISthv.js +0 -169
- package/dist/VideoPlayer-l7WV_zA6.cjs +0 -77
- package/dist/VideoPopup-B2pu7j6O.js +0 -60
- package/dist/VideoPopup-DyVmx7lI.cjs +0 -31
- package/dist/WarningsDrawerPage-BkNpC4gM.cjs +0 -92
- package/dist/WarningsDrawerPage-DQjc5yVp.js +0 -228
- package/dist/ZeniAccountDetailPage-CI2TQILk.js +0 -907
- package/dist/ZeniAccountDetailPage-anw7ilWu.cjs +0 -300
- package/dist/ZeniAccountListViewPage-DjhscUyw.js +0 -1078
- package/dist/ZeniAccountListViewPage-DwlBxNW3.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-BMOxM3Ul.js +0 -89
- package/dist/ZeniAccountNavBarPieces-CHXFj8Sp.cjs +0 -14
- package/dist/ZeniAccountPromoPage-C9IA9FZT.cjs +0 -184
- package/dist/ZeniAccountPromoPage-CoegRWXG.js +0 -523
- package/dist/ZeniAccountSetupPage-TEdXzRi5.cjs +0 -36
- package/dist/ZeniAccountSetupPage-l8SdQK7w.js +0 -312
- package/dist/ZeniAvatar-BsA2i034.cjs +0 -13
- package/dist/ZeniAvatar-C8ccTXSg.js +0 -34
- package/dist/ZeniCopyright-BBGwVM0V.cjs +0 -1
- package/dist/ZeniCopyright-CrpLjMla.js +0 -9
- package/dist/ZeniDatePicker-DUdpVUiS.cjs +0 -187
- package/dist/ZeniDatePicker-r1WgfjR2.js +0 -386
- package/dist/ZeniTransferAmountSlider-1S7ZjlRv.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-oZNLHFd5.js +0 -215
- package/dist/analyticsHelper-Bj4dUNwV.cjs +0 -1
- package/dist/analyticsHelper-ColsUhUK.js +0 -65
- package/dist/calculateSize-CJxTLU1J.cjs +0 -1
- package/dist/calculateSize-CbEo6HIx.js +0 -22
- package/dist/chartTypes-BFE_S1PL.js +0 -47
- package/dist/chartTypes-Di58ic68.cjs +0 -1
- package/dist/common-B0Sy9szh.js +0 -22
- package/dist/common-BmeQ6_03.cjs +0 -1
- package/dist/commonDimensions--KTFi27R.cjs +0 -1
- package/dist/commonDimensions-Dq7P0AE6.js +0 -13
- package/dist/detailCommon-B7M5Es83.cjs +0 -38
- package/dist/detailCommon-DSe7Tzn3.js +0 -124
- package/dist/downloadPdf-B3N7uPqX.cjs +0 -1
- package/dist/downloadPdf-D3hiuG-R.js +0 -32
- package/dist/index-BPKgPg77.js +0 -86026
- package/dist/index-DUVvaTyk.cjs +0 -19266
- package/dist/mapLoadingInProgressToTreeNode-COnUyXAf.js +0 -25
- package/dist/mapLoadingInProgressToTreeNode-NqqP-2CF.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-Bslx97fE.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-CDE8V8lh.js +0 -388
- package/dist/mapSpacerToTreeNode-B-h83fvb.cjs +0 -1
- package/dist/mapSpacerToTreeNode-Ljk42Rtu.js +0 -25
- package/dist/mapTimeframeBalancesToTreeNode-B64chWyJ.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-Cv95aY-B.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-DdoLYZFp.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-Dk2vjVl7.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-D1JrFixo.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DFgAA2si.js +0 -32
- package/dist/sectionColor-0vhwHYm-.js +0 -32
- package/dist/sectionColor-maEppRrA.cjs +0 -1
- package/dist/toCOABalancesWithID-BG5GWytP.cjs +0 -1
- package/dist/toCOABalancesWithID-BK1XA0gz.js +0 -8
- package/dist/toChartData-ChJl7rkY.cjs +0 -1
- package/dist/toChartData-D7n7RyVD.js +0 -76
- package/dist/treasuryColorHelper-BlyiRCLJ.cjs +0 -1
- package/dist/treasuryColorHelper-tTPJnd8d.js +0 -60
- package/dist/uploadAttachment-By_eR78P.js +0 -952
- package/dist/uploadAttachment-Dr5Q-j9p.cjs +0 -286
- package/dist/zeniDatePicker.helpers-B-BUZhSl.cjs +0 -1
- package/dist/zeniDatePicker.helpers-C_KpyDi7.js +0 -14
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./vendor-.pnpm-CT-Z_-kn.cjs"),C=require("react"),R=require("@emotion/styled"),y=require("@zeniai/client-analytics"),_=require("@zeniai/client-epic-state"),s=require("./index-CGiOrCyX.cjs"),F=require("./analyticsHelper-CnvFGRDd.cjs"),te=require("./ReportTableViewSelector-CeBX1elK.cjs"),$=require("./TimeRangeSwitcher-D4FMNcW8.cjs"),se=require("./TimeframeSwitcherWithToggle-D-A_NOYB.cjs"),ne=require("./DownloadOverlay-BW2sHWnI.cjs"),A=require("./CollapsableReportTable-mL-dznc8.cjs"),w=require("./mapSectionWithAcOnlyToTreeNode-B9mJ3VTt.cjs"),W=require("./mapTimeframeBalancesToTreeNode-CWdMS7Ir.cjs"),q=require("./mapTimeframeHeaderLoadingInProgressToTreeNode-Bx_hyPwE.cjs"),ae=require("./mapLoadingInProgressToTreeNode-DUKnhj8-.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 e=require("./vendor-.pnpm-CT-Z_-kn.cjs"),I=require("react"),C=require("@emotion/styled"),o=require("./index-CGiOrCyX.cjs"),a=require("./chartTypes-CkLj1COE.cjs"),B=require("./toCOABalancesWithID-DLcb2cMa.cjs"),z=require("./toChartData-BEECKB5u.cjs"),A={legendLabelMarginLeft:new o.ResponsiveSized(2,2),legendLabelMarginRight:new o.ResponsiveSized(o.sp[3],o.sp[4])},dt=C.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,ht=C.div`
|
|
4
|
+
margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 1px;
|
|
7
|
+
background-color: ${o.Colors.neutralGrey3Dark};
|
|
8
|
+
`,gt=C.div`
|
|
9
|
+
flex: display;
|
|
10
|
+
opacity: 0.85;
|
|
11
|
+
width: 220px;
|
|
12
|
+
border-radius: ${o.Space.sp1};
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: ${o.Space.sp3};
|
|
15
|
+
background-color: ${t=>t.theme.colors.black};
|
|
16
|
+
`,Ct=C(o.StandardRegular)`
|
|
17
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
18
|
+
text-align: left;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
`,ft=C(o.StandardRegular)`
|
|
23
|
+
background-color: ${t=>t.color};
|
|
24
|
+
height: 12px;
|
|
25
|
+
width: 12px;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
margin-right: ${o.Space.sp2};
|
|
28
|
+
`,yt=C(o.StandardRegular)`
|
|
29
|
+
text-align: left;
|
|
30
|
+
`,jt=C(o.StandardRegular)`
|
|
31
|
+
text-align: right;
|
|
32
|
+
`,St=({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:o.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(n)],value:m,color:p})}}),s},G=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(Ct,{color:r.color,children:[e.jsxRuntimeExports.jsxs(yt,{children:[e.jsxRuntimeExports.jsx(ft,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(jt,{children:`${a.currencyFormatter(r.value)}`})]},r.barName+s)),Et=t=>{const r=St({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(dt,{children:e.jsxRuntimeExports.jsxs(gt,{children:[G(r.slice(0,r.length-1)),r.length?e.jsxRuntimeExports.jsx(ht,{}):null,G(r.slice(-1))]})})},$t=I.memo(Et),Rt=(t,r,s,l,n)=>{let c=[],p=[],m=[];s!=null&&s.balances.length>0&&(c=B.sectionToCOABalancesWithID("cash_in","actual",s)),l!=null&&l.balances.length>0&&(p=B.sectionToCOABalancesWithID("cash_out","actual",l)),n!=null&&n.balances.length>0&&(m=B.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?z.toChartData(t,r,h,d):void 0},P=[a.getChartValueKey("cash_in","actual"),a.getChartValueKey("cash_out","actual"),a.getChartValueKey("net_cash_flow","actual")],Kt=C.div`
|
|
33
|
+
width: ${t=>t.width}px;
|
|
34
|
+
height: ${t=>t.height}px;
|
|
35
|
+
|
|
36
|
+
.recharts-legend-item {
|
|
37
|
+
margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
38
|
+
:last-of-type {
|
|
39
|
+
margin-right: ${o.Space.sp0} !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`,vt=C(o.ExtraSmallRegularSp)`
|
|
43
|
+
margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
44
|
+
color: ${t=>t.theme.colors.primary};
|
|
45
|
+
`;function Tt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=e.useTheme(),i=I.useRef(!1);I.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=Rt(t.firstMonthOfFY,P,t.cashIn,t.cashOut,t.netCashFlow),f=()=>{const K=[];return P.forEach((R,y)=>{const v=p===!0&&!i.current;K.push(e.jsxRuntimeExports.jsx(e.Bar,{name:R,animationDuration:v?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:e.jsxRuntimeExports.jsx(bt,{chartData:d,timeframe:r,showBarHoverBackground:c,barElements:f(),customToolTipContent:({active:K,payload:R})=>e.jsxRuntimeExports.jsx($t,{active:K,payload:R}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const bt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.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,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};i?.(d[S],r,T)},v=u?(c-60)/a.maxXAxisItems.cash_in_cash_out*(a.maxXAxisItems.cash_in_cash_out-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(Kt,{"data-testid":o.generateDataTestId("dashboard-cash-in-cash-out-timeframe",r),width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.BarChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,f)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{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?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},formatter:S=>e.jsxRuntimeExports.jsx(vt,{windowSize:g,children:o.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(S)]})}):null]})})})},kt=C.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
`,Bt=C.div`
|
|
48
|
+
flex: display;
|
|
49
|
+
opacity: 0.85;
|
|
50
|
+
border-radius: ${o.Space.sp1};
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
padding: ${o.Space.sp3};
|
|
53
|
+
background-color: ${t=>t.theme.colors.black};
|
|
54
|
+
`,Ot=C(o.StandardRegular)`
|
|
55
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
56
|
+
text-align: left;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
`,It=({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:o.appLocale.getLocalizedStrings().reportTitleById.cash_position,value:m,color:p})}}),s},_t=t=>{const r=It(t);return r.length===0?null:e.jsxRuntimeExports.jsx(kt,{children:e.jsxRuntimeExports.jsx(Bt,{children:r.map((s,l)=>e.jsxRuntimeExports.jsx(Ot,{color:s.color,children:`${s.barName}: ${a.currencyFormatter(s.value)}`},s.barName+l))})})},wt=I.memo(_t),Ft=(t,r,s)=>{let l=[];s!=null&&s.balances.length>0&&(l=B.balancesSliceToCOABalancesWithKey("cash_position","actual",s));const n=a.getChartValueKey("cash_position","actual"),c={};return c[n]=l,l.length>0?z.toChartData(t,r,n,c):void 0},At=C.div`
|
|
61
|
+
width: ${t=>t.width}px;
|
|
62
|
+
height: ${t=>t.height}px;
|
|
63
|
+
`,X=[a.getChartValueKey("cash_position","actual")];function Dt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=e.useTheme(),i=I.useRef(!1);I.useEffect(()=>{i.current=!0},[]);const g=Ft(t.firstMonthOfFY,X,t.cashPosition),h=()=>{const d=[];return X.forEach(f=>{const K=p===!0&&!i.current;d.push(e.jsxRuntimeExports.jsx(e.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:e.jsxRuntimeExports.jsx(Lt,{chartData:g,timeframe:r,showBarHoverBackground:c,barElements:h(),customToolTipContent:({active:d,payload:f})=>e.jsxRuntimeExports.jsx(wt,{active:d,payload:f}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const Lt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useTheme(),h=t.timeseries,d=a.getCurrencySymbol(t),f=h.map(v=>v.label),K=m!==!1,R=v=>{if(!u||v?.activePayload==null||v?.activePayload.length===0)return;const $=v.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=v.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const k=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=k[1]===void 0?f.length-1:f.indexOf(k[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 e.jsxRuntimeExports.jsx(At,{width:c,height:p,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:v,width:$})=>e.jsxRuntimeExports.jsxs(e.BarChart,{width:$,height:v,data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?o.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>o.amountValueToString("0,0.[00]a",E,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{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]})})})},zt=C.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
`,Mt=C.div`
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
`,Nt=C.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
background-color: ${t=>t.theme.colors.black};
|
|
71
|
+
opacity: 0.85;
|
|
72
|
+
border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
|
|
73
|
+
color: ${t=>t.theme.colors.grey1};
|
|
74
|
+
padding: ${o.Space.sp3};
|
|
75
|
+
`,M=C.div`
|
|
76
|
+
flex: 1;
|
|
77
|
+
text-align: right;
|
|
78
|
+
`,Vt=C.div`
|
|
79
|
+
width: 132px;
|
|
80
|
+
`,ct=C.div`
|
|
81
|
+
margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 1px;
|
|
84
|
+
background-color: ${o.Colors.neutralGrey3Dark};
|
|
85
|
+
`,Gt=C.div`
|
|
86
|
+
flex: display;
|
|
87
|
+
opacity: 0.85;
|
|
88
|
+
width: 200px;
|
|
89
|
+
border-radius: ${o.Space.sp1};
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
padding: ${o.Space.sp3};
|
|
92
|
+
background-color: ${t=>t.theme.colors.black};
|
|
93
|
+
`,Pt=C.div`
|
|
94
|
+
flex: display;
|
|
95
|
+
opacity: 0.85;
|
|
96
|
+
width: 500px;
|
|
97
|
+
border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
padding: ${o.Space.sp3};
|
|
100
|
+
background-color: ${t=>t.theme.colors.black};
|
|
101
|
+
`,lt=C(o.StandardRegular)`
|
|
102
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
103
|
+
text-align: left;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: space-between;
|
|
106
|
+
${t=>t.showPercent?"flex-start":"center"};
|
|
107
|
+
`,it=C(o.StandardRegular)`
|
|
108
|
+
background-color: ${t=>t.color};
|
|
109
|
+
height: 12px;
|
|
110
|
+
width: 12px;
|
|
111
|
+
display: inline-block;
|
|
112
|
+
margin-right: ${o.Space.sp2};
|
|
113
|
+
`,Xt=C(o.StandardRegular)`
|
|
114
|
+
text-align: left;
|
|
115
|
+
`,Ht=C(o.StandardRegular)`
|
|
116
|
+
text-align: left;
|
|
117
|
+
width: 120px;
|
|
118
|
+
`,Yt=C.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
text-align: right;
|
|
122
|
+
`,H=C(o.StandardRegularSp)`
|
|
123
|
+
text-align: right;
|
|
124
|
+
`,w=C(o.StandardRegularSp)`
|
|
125
|
+
text-align: right;
|
|
126
|
+
flex: 1;
|
|
127
|
+
color: ${t=>t.isChange!=null&&t.isChange===!0?o.Colors.important:null};
|
|
128
|
+
`,Y=C(o.StandardRegularSp)`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
`,q=C(w)``,qt=(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}},Wt=({active:t,payload:r,mode:s})=>{const l=[],n={barName:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:o.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?qt(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:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(d)],actual:R,forecast:y,color:K});break;case g:{const v=R!=null&&R.amount>=0?o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;l.push({barName:v,actual:R,color:K,percent:f.record[d]?.percentValue,forecast:y});break}case m:default:l.push({barName:o.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},W=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(lt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(Xt,{children:[e.jsxRuntimeExports.jsx(it,{color:r.barName===o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsxs(Yt,{children:[e.jsxRuntimeExports.jsx(H,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?e.jsxRuntimeExports.jsx(H,{children:o.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),J=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(lt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(Ht,{children:[e.jsxRuntimeExports.jsx(it,{color:r.barName===o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(w,{children:e.jsxRuntimeExports.jsxs(Y,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",e.jsxRuntimeExports.jsx(q,{children:r.percent!=null?o.percentValueToString("0,0.0%",r.percent):null})]})}),e.jsxRuntimeExports.jsx(w,{children:e.jsxRuntimeExports.jsxs(Y,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",e.jsxRuntimeExports.jsx(q,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?o.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?e.jsxRuntimeExports.jsx(w,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):e.jsxRuntimeExports.jsx(w,{children:"-"}),r.forecast!=null?e.jsxRuntimeExports.jsx(w,{isChange:!0,children:o.percentValueToString("0,0.0%",r.forecast.percent)}):e.jsxRuntimeExports.jsx(w,{children:"-"})]},r.barName+s)),Jt=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Ut=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(Mt,{children:[e.jsxRuntimeExports.jsxs(Nt,{children:[e.jsxRuntimeExports.jsx(Vt,{}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(M,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Jt(t)]}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(Pt,{children:[J(t.slice(0,t.length-2)),t.length?e.jsxRuntimeExports.jsx(ct,{}):null,J(t.slice(-2))]})]}),Qt=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(zt,{children:e.jsxRuntimeExports.jsxs(Gt,{children:[W(t.slice(0,t.length-2)),t.length?e.jsxRuntimeExports.jsx(ct,{}):null,W(t.slice(-2))]})}),Zt=t=>{const r=Wt({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(Ut,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(Qt,{barLabelsWithValues:r})})},te=I.memo(Zt),U=(t,r,s,l,n,c,p)=>{let m=[],u=[],i=[],g=[];l!=null&&l.balances.length>0&&(m=B.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(u=B.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(i=B.balancesSliceToCOABalancesWithKey("expenses","actual",c)),p!=null&&p.balances.length>0&&(g=B.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,ee(l,n,c,p)),R!=null?z.toChartData(t,r,R,y):void 0},ee=(t,r,s,l)=>{let n=[],c=[],p=[],m=[];t!=null&&t.balances.length>0&&(n=B.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(c=B.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(p=B.balancesSliceToCOABalancesWithKey("expenses","forecast",s)),l!=null&&l.balances.length>0&&(m=B.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},oe=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("expenses","actual"),a.getChartValueKey("net_burn_or_income","actual")],re=[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")],ne=C.div`
|
|
132
|
+
width: ${t=>t.width}px;
|
|
133
|
+
height: ${t=>t.height}px;
|
|
134
|
+
|
|
135
|
+
.recharts-legend-item {
|
|
136
|
+
margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
137
|
+
:last-of-type {
|
|
138
|
+
margin-right: ${o.Space.sp0} !important;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
`,se=C(o.ExtraSmallRegularSp)`
|
|
142
|
+
margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
143
|
+
color: ${t=>t.theme.colors.primary};
|
|
144
|
+
`;function ae({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=e.useTheme(),g=I.useRef(!1);I.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"?re:oe,R=(x,j=i.colors.graphColor04)=>x<f.length?f[x]:j,y=(t.reportId==="net_burn_or_income",U(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.sections.expenses,t.calculatedSections.netBurnOrIncome)),v=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:4,stroke:b,strokeWidth:2,fill:O})},$=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:5,stroke:O,strokeWidth:2,fill:b})},E=(x,j)=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[x].amount:void 0)?.amount},dot:e.jsxRuntimeExports.jsx(v,{}),strokeWidth:1.5,stroke:R(j),strokeDasharray:"3 3",activeDot:e.jsxRuntimeExports.jsx($,{})},x),S=(x,j,T)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:T?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:b=>{const O=b.record;return(O[x]!=null&&O[x].amount!=null?O[x].amount:void 0)?.amount??0},fill:R(j)},x),k=()=>{const x=[];return K.forEach((j,T)=>{const b=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,T)):x.push(S(j,T,b))}),x};return y==null?null:e.jsxRuntimeExports.jsx(ce,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:k(),customToolTipContent:({active:x,payload:j})=>e.jsxRuntimeExports.jsx(te,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const ce=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.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,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,T)},v=u?(c-60)/a.maxXAxisItems.net_burn_or_income*(a.maxXAxisItems.net_burn_or_income-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(ne,{width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{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?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},iconSize:o.sp[3],formatter:S=>e.jsxRuntimeExports.jsx(se,{windowSize:g,children:S.endsWith("_forecast")===!0?o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[S]:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(S)]})}):null]})})})},le=C.div`
|
|
145
|
+
display: flex;
|
|
146
|
+
`,ie=C.div`
|
|
147
|
+
flex: display;
|
|
148
|
+
opacity: 0.85;
|
|
149
|
+
border-radius: ${o.Space.sp1};
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
padding: ${o.Space.sp3};
|
|
152
|
+
background-color: ${t=>t.theme.colors.black};
|
|
153
|
+
`,Q=C(o.StandardRegular)`
|
|
154
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
155
|
+
text-align: left;
|
|
156
|
+
`,N=C.div`
|
|
157
|
+
flex: 1;
|
|
158
|
+
text-align: right;
|
|
159
|
+
`,ue=C.div`
|
|
160
|
+
width: 162px;
|
|
161
|
+
`,ut=C.div`
|
|
162
|
+
margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
|
|
163
|
+
width: 100%;
|
|
164
|
+
height: 1px;
|
|
165
|
+
background-color: ${o.Colors.neutralGrey3Dark};
|
|
166
|
+
`,pe=C(o.StandardRegular)`
|
|
167
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
168
|
+
text-align: left;
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: space-between;
|
|
171
|
+
`,xe=C.div`
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
`,me=C.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
background-color: ${t=>t.theme.colors.black};
|
|
177
|
+
opacity: 0.85;
|
|
178
|
+
border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
|
|
179
|
+
color: ${t=>t.theme.colors.grey1};
|
|
180
|
+
padding: ${o.Space.sp3};
|
|
181
|
+
`,de=C.div`
|
|
182
|
+
flex: display;
|
|
183
|
+
opacity: 0.85;
|
|
184
|
+
width: 500px;
|
|
185
|
+
border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
padding: ${o.Space.sp3};
|
|
188
|
+
background-color: ${t=>t.theme.colors.black};
|
|
189
|
+
`,he=C(o.StandardRegular)`
|
|
190
|
+
text-align: left;
|
|
191
|
+
width: 162px;
|
|
192
|
+
`,D=C(o.StandardRegularSp)`
|
|
193
|
+
text-align: right;
|
|
194
|
+
flex: 1;
|
|
195
|
+
`,ge=({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?Ce(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:o.appLocale.getLocalizedStrings().chartCard.total,actual:i,forecast:R,color:o.Colors.neutralGrey1Light})}}}return l},Ce=(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}},Z=t=>e.jsxRuntimeExports.jsxs(pe,{color:t.color,children:[e.jsxRuntimeExports.jsx(he,{children:`${t.barName}:`}),e.jsxRuntimeExports.jsx(D,{children:t.actual!=null?`${a.currencyFormatter(t.actual)}`:"-"}),e.jsxRuntimeExports.jsx(D,{children:t.forecast!=null?`${a.currencyFormatter(t.forecast.value)}`:"-"}),t.forecast!=null?e.jsxRuntimeExports.jsx(D,{isChange:!0,children:`${a.currencyFormatter(t.forecast.change)}`}):e.jsxRuntimeExports.jsx(D,{children:"-"}),t.forecast!=null?e.jsxRuntimeExports.jsx(D,{isChange:!0,children:o.percentValueToString("0,0.0%",t.forecast.percent)}):e.jsxRuntimeExports.jsx(D,{children:"-"})]}),fe=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},ye=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(le,{children:e.jsxRuntimeExports.jsxs(ie,{children:[e.jsxRuntimeExports.jsx(Q,{color:t[0].color,children:`${t[0].barName}: ${a.currencyFormatter(t[0].actual)}`}),e.jsxRuntimeExports.jsx(ut,{}),e.jsxRuntimeExports.jsx(Q,{children:`${o.appLocale.getLocalizedStrings().chartCard.total}: ${a.currencyFormatter(t[1].actual)}`})]})}),je=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(xe,{children:[e.jsxRuntimeExports.jsxs(me,{children:[e.jsxRuntimeExports.jsx(ue,{}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(N,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",fe(t)]}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(de,{children:[Z(t[0]),e.jsxRuntimeExports.jsx(ut,{}),Z(t[1])]})]}),Se=t=>{const r=ge({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(je,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(ye,{barLabelsWithValues:r})})},Ee=I.memo(Se),$e=(t,r)=>{const s=[],l={};let n;return r!=null&&r.classes.length!=0&&r.classes.forEach(c=>{const p=B.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?z.toChartData(t,s,n,l):void 0},tt=[o.Colors.graphColor34,o.Colors.graphColor05,o.Colors.graphColor08,o.Colors.graphColor11,o.Colors.graphColor13,o.Colors.graphColor19,o.Colors.graphColor29,o.Colors.graphColor28,o.Colors.graphColor20,o.Colors.graphColor21,o.Colors.graphColor22,o.Colors.graphColor14,o.Colors.graphColor35,o.Colors.graphColor31,o.Colors.graphColor33,o.Colors.graphColor32,o.Colors.graphColor36,o.Colors.graphColor02,o.Colors.graphColor06,o.Colors.graphColor04,o.Colors.graphColor10,o.Colors.graphColor12,o.Colors.graphColor15,o.Colors.graphColor18,o.Colors.graphColor17,o.Colors.graphColor07,o.Colors.graphColor34Dark,o.Colors.graphColor05Dark,o.Colors.graphColor08Dark,o.Colors.graphColor11Dark,o.Colors.graphColor13Dark,o.Colors.graphColor19Dark,o.Colors.graphColor29Dark,o.Colors.graphColor28Dark,o.Colors.graphColor20Dark,o.Colors.graphColor21Dark,o.Colors.graphColor22Dark,o.Colors.graphColor14Dark,o.Colors.graphColor35Dark,o.Colors.graphColor31Dark,o.Colors.graphColor33Dark,o.Colors.graphColor32Dark,o.Colors.graphColor36Dark,o.Colors.graphColor02Dark,o.Colors.graphColor06Dark,o.Colors.graphColor04Dark,o.Colors.graphColor10Dark,o.Colors.graphColor12Dark,o.Colors.graphColor15Dark,o.Colors.graphColor18Dark,o.Colors.graphColor17Dark,o.Colors.graphColor07Dark];class F{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=o.Colors.graphColor34,this._barColors=tt.slice(),this._barColorsKeyWise=new Map}static#t=new F;getBarColor(r){const s=F.instance();return s._barColorsKeyWise.has(r)||(s._barColors.length===0&&(s._barColors=tt.slice()),s._barColorsKeyWise.set(r,s._barColors.shift()??s._defaultColor)),s._barColorsKeyWise.get(r)}shouldUpdate(r){const s=F.instance(),l=Array.from(s._barColorsKeyWise.keys()).sort();return!e.isEqual(l,r)}static init(){return this.#t=new F,this.#t}static instance(){return this.#t}}const Re=F.instance(),Ke=(t,r,s)=>{const l=[],n={};let c,p=!1;if(s!=null&&s.accountGroups.length!=0?s.accountGroups.forEach(m=>{const u=B.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=B.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=o.appLocale.getLocalizedStrings().chartCard.total,u=B.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,ve(l,s)),c!=null?z.toChartData(t,l,c,n,p):void 0},ve=(t,r)=>{const s={};let l;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(n=>{const c=B.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=B.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=o.appLocale.getLocalizedStrings().chartCard.total,c=B.balancesSliceToCOABalancesWithKey(n,"forecast",r);if(c.length!==0){const p=a.getChartValueKey(n,"forecast");s[p]=c,l=p,t.push(p)}}return s},Te=C.div`
|
|
196
|
+
width: ${t=>t.width}px;
|
|
197
|
+
height: ${t=>t.height}px;
|
|
198
|
+
`,be=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:4,stroke:l,strokeWidth:2,fill:n})},ke=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:5,stroke:n,strokeWidth:2,fill:l})};function Be({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=I.useRef(!1),[g,h]=I.useState(Re),[d,f]=I.useState(void 0),K=e.useTheme(),R=I.useRef([]);I.useEffect(()=>{i.current=!0},[]),I.useEffect(()=>{g.shouldUpdate(R.current)===!0&&h(F.init())},[]),I.useEffect(()=>{let E=[];if(t.reportId==="operating_expenses"){const S=t.sections.expenses;S.accountGroups.length===0&&S.accounts.length===0?E.push(o.appLocale.getLocalizedStrings().chartCard.total):S.accountGroups.length!=0?E=S.accountGroups.map(k=>k.accountGroupName).sort():E=S.accounts.map(k=>k.account).map(k=>k.accountName).sort()}else E=t.sections.expenses.classes.map(S=>S.class.className).sort();R.current=E},[t,g]);const y=I.useMemo(()=>t.reportId==="operating_expenses"?Ke(t.firstMonthOfFY,m,t.sections.expenses):$e(t.firstMonthOfFY,t.sections.expenses),[t,m]),v=I.useCallback(()=>{const E=x=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:e.jsxRuntimeExports.jsx(be,{}),activeDot:e.jsxRuntimeExports.jsx(ke,{}),dataKey:j=>{const T=j.record;let b,O;for(O in T)if(O.endsWith("_forecast")){const _=T[O].amount;_!=null&&(b==null?b={..._}:b.amount+=_.amount)}return b?.amount},stroke:K.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[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),k=[];return y?.orderedKeys.forEach(x=>{const j=!i.current;x.endsWith("_forecast")?k.push(E(x)):k.push(S(x,j))}),k},[y]),$=({active:E,payload:S})=>S?.find(x=>x.name===d)!=null&&d!=null&&E===!0?e.jsxRuntimeExports.jsx(Ee,{active:E,payload:S,mode:m,barName:d}):null;return y==null?null:e.jsxRuntimeExports.jsx(Oe,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:v(),customToolTipContent:e.jsxRuntimeExports.jsx($,{}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const Oe=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useTheme(),h=a.getCurrencySymbol(t),d=t.timeseries,f=d.map(v=>v.label),K=m!==!1,R=v=>{if(!u||v?.activePayload==null||v?.activePayload.length===0)return;const $=v.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=v.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const k=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=k[1]===void 0?f.length-1:f.indexOf(k[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 e.jsxRuntimeExports.jsx(Te,{width:c,height:p,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:v,width:$})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{width:$,height:v,stackOffset:"sign",data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?o.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>o.amountValueToString("0,0.[00]a",E,h)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{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]})})})},Ie=C.div`
|
|
199
|
+
display: flex;
|
|
200
|
+
`,_e=C.div`
|
|
201
|
+
display: flex;
|
|
202
|
+
flex-direction: column;
|
|
203
|
+
`,we=C.div`
|
|
204
|
+
display: flex;
|
|
205
|
+
background-color: ${t=>t.theme.colors.black};
|
|
206
|
+
opacity: 0.85;
|
|
207
|
+
border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
|
|
208
|
+
color: ${t=>t.theme.colors.grey1};
|
|
209
|
+
padding: ${o.Space.sp3};
|
|
210
|
+
`,V=C.div`
|
|
211
|
+
flex: 1;
|
|
212
|
+
text-align: right;
|
|
213
|
+
`,Fe=C.div`
|
|
214
|
+
width: 132px;
|
|
215
|
+
`,Ae=C.div`
|
|
216
|
+
flex: display;
|
|
217
|
+
opacity: 0.85;
|
|
218
|
+
width: 500px;
|
|
219
|
+
border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
padding: ${o.Space.sp3};
|
|
222
|
+
background-color: ${t=>t.theme.colors.black};
|
|
223
|
+
`,De=C(o.StandardRegular)`
|
|
224
|
+
text-align: left;
|
|
225
|
+
width: 120px;
|
|
226
|
+
`,pt=C.div`
|
|
227
|
+
margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
|
|
228
|
+
width: 100%;
|
|
229
|
+
height: 1px;
|
|
230
|
+
background-color: ${o.Colors.neutralGrey3Dark};
|
|
231
|
+
`,Le=C.div`
|
|
232
|
+
flex: display;
|
|
233
|
+
opacity: 0.85;
|
|
234
|
+
width: 210px;
|
|
235
|
+
border-radius: ${o.Space.sp1};
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
padding: ${o.Space.sp3};
|
|
238
|
+
background-color: ${t=>t.theme.colors.black};
|
|
239
|
+
`,xt=C(o.StandardRegular)`
|
|
240
|
+
color: ${t=>t.color??o.Colors.neutralGrey2Light};
|
|
241
|
+
text-align: left;
|
|
242
|
+
display: flex;
|
|
243
|
+
justify-content: space-between;
|
|
244
|
+
${t=>t.showPercent?"flex-start":"center"};
|
|
245
|
+
`,mt=C(o.StandardRegular)`
|
|
246
|
+
background-color: ${t=>t.color};
|
|
247
|
+
height: 12px;
|
|
248
|
+
width: 12px;
|
|
249
|
+
display: inline-block;
|
|
250
|
+
margin-right: ${o.Space.sp2};
|
|
251
|
+
`,ze=C(o.StandardRegular)`
|
|
252
|
+
text-align: left;
|
|
253
|
+
`,Me=C.div`
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-direction: column;
|
|
256
|
+
text-align: right;
|
|
257
|
+
`,et=C(o.StandardRegularSp)`
|
|
258
|
+
text-align: right;
|
|
259
|
+
`,L=C(o.StandardRegularSp)`
|
|
260
|
+
text-align: right;
|
|
261
|
+
flex: 1;
|
|
262
|
+
color: ${t=>t.isChange!=null&&t.isChange===!0?o.Colors.important:null};
|
|
263
|
+
`,ot=C(o.StandardRegularSp)`
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
`,rt=C(o.StandardRegularSp)``,Ne=(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}},Ve=({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?Ne(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:o.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:o.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(u)],actual:h,color:g,forecast:d});break}}}),l},nt=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(xt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(ze,{children:[e.jsxRuntimeExports.jsx(mt,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsxs(Me,{children:[e.jsxRuntimeExports.jsx(et,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?e.jsxRuntimeExports.jsx(et,{children:o.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),st=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(xt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(De,{children:[e.jsxRuntimeExports.jsx(mt,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(L,{children:e.jsxRuntimeExports.jsxs(ot,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",e.jsxRuntimeExports.jsx(rt,{children:r.percent!=null?o.percentValueToString("0,0.0%",r.percent):null})]})}),e.jsxRuntimeExports.jsx(L,{children:e.jsxRuntimeExports.jsxs(ot,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",e.jsxRuntimeExports.jsx(rt,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?o.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?e.jsxRuntimeExports.jsx(L,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):e.jsxRuntimeExports.jsx(L,{children:"-"}),r.forecast!=null?e.jsxRuntimeExports.jsx(L,{isChange:!0,children:o.percentValueToString("0,0.0%",r.forecast.percent)}):e.jsxRuntimeExports.jsx(L,{children:"-"})]},r.barName+s)),Ge=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Pe=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(_e,{children:[e.jsxRuntimeExports.jsxs(we,{children:[e.jsxRuntimeExports.jsx(Fe,{}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(V,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Ge(t)]}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(Ae,{children:[st(t.slice(0,t.length-1)),t.length?e.jsxRuntimeExports.jsx(pt,{}):null,st(t.slice(-1))]})]}),Xe=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(Ie,{children:e.jsxRuntimeExports.jsxs(Le,{children:[nt(t.slice(0,t.length-1)),t.length?e.jsxRuntimeExports.jsx(pt,{}):null,nt(t.slice(-1))]})}),He=t=>{const r=Ve({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(Pe,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(Xe,{barLabelsWithValues:r})})},Ye=I.memo(He),at=(t,r,s,l,n,c)=>{let p=[],m=[],u=[];l!=null&&l.balances.length>0&&(p=B.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(m=B.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(u=B.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,qe(l,n,c)),d!=null?z.toChartData(t,r,d,f):void 0},qe=(t,r,s)=>{let l=[],n=[],c=[];t!=null&&t.balances.length>0&&(l=B.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(n=B.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(c=B.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},We=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("gross_margin","actual")],Je=[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")],Ue=C.div`
|
|
267
|
+
width: ${t=>t.width}px;
|
|
268
|
+
height: ${t=>t.height}px;
|
|
269
|
+
|
|
270
|
+
.recharts-legend-item {
|
|
271
|
+
margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
|
|
272
|
+
:last-of-type {
|
|
273
|
+
margin-right: ${o.Space.sp0} !important;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
`,Qe=C(o.ExtraSmallRegularSp)`
|
|
277
|
+
margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
|
|
278
|
+
margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)};
|
|
279
|
+
color: ${t=>t.theme.colors.primary};
|
|
280
|
+
`;function Ze({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=e.useTheme(),g=I.useRef(!1);I.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"?Je:We,R=(x,j=i.colors.graphColor28)=>x<f.length?f[x]:j,y=t.reportId==="revenue"?at(t.firstMonthOfFY,K,m,t.sections?.income,t.sections?.cogs,t.calculatedSections?.grossMargin):at(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.calculatedSections.grossMargin),v=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:4,stroke:b,strokeWidth:2,fill:O})},$=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:5,stroke:O,strokeWidth:2,fill:b})},E=(x,j)=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:e.jsxRuntimeExports.jsx(v,{}),activeDot:e.jsxRuntimeExports.jsx($,{}),dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[x].amount:void 0)?.amount},stroke:R(j),strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j,T)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:T?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:b=>{const O=b.record;return(O[x]!=null&&O[x].amount!=null?O[x].amount:void 0)?.amount??0},fill:R(j)},x),k=()=>{const x=[];return K.forEach((j,T)=>{const b=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,T)):x.push(S(j,T,b))}),x};return y==null?null:e.jsxRuntimeExports.jsx(to,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:k(),customToolTipContent:({active:x,payload:j})=>e.jsxRuntimeExports.jsx(Ye,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const to=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.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,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,T)},v=u?(c-60)/a.maxXAxisItems.revenue*(a.maxXAxisItems.revenue-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(Ue,{width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{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?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},iconSize:o.sp[3],formatter:S=>e.jsxRuntimeExports.jsx(Qe,{windowSize:g,children:S.endsWith("_forecast")===!0?o.appLocale.getLocalizedStrings().chartCard.revenue[S]:o.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(S)]})}):null]})})})};exports.CashInCashOutChart=Tt;exports.CashPositionChart=Dt;exports.NetBurnOrIncomeChart=ae;exports.OpExChart=Be;exports.RevenueChart=Ze;
|