@zeniai/web-cockpit-ui 1.15.66-dev → 1.15.67-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-fOu5grd7-_I6UtkXF.js +21 -0
- package/dist/assets/{AIPerformancePage-CFErwUsE-C9puPCCO.js → AIPerformancePage-Da3gFo8A-Z4ui8_vI.js} +33 -33
- package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CKpeDot5-DIGFDBxC.js → AccountInfoPageContent-DqErO8FH-BbWzsS4C.js} +23 -23
- package/dist/assets/{AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js → AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js → AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js} +54 -54
- package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js → AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +6 -0
- package/dist/assets/{AddToWalletPage-CsOmzC7v-DDekkTcs.js → AddToWalletPage-zJy9QCjx-C9dnTqSq.js} +21 -21
- package/dist/assets/{AgingReportsPage-D9I9afnB-Pr6LqJHU.js → AgingReportsPage-wAvQb1d8-CHVcAAAX.js} +8 -8
- package/dist/assets/{AllUserItems-Dq7NcP-o-BNPnQC3d.js → AllUserItems-DEv_CXOA-DrRFxVFx.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +46 -0
- package/dist/assets/AppBasePage-DMlomvFS-DqF43oJC.js +71 -0
- package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +47 -0
- package/dist/assets/{ArAgingChart-Tcu0Lja_-Dcd3iM-I.js → ArAgingChart-m-Xp3HAW-BYykckhE.js} +5 -5
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +46 -0
- package/dist/assets/{AttachmentView-CiYfninr-76W0iAd5.js → AttachmentView-DB_V1qT1-BAHgn941.js} +7 -7
- package/dist/assets/{BankAccountSection-EZtscP2z-BUefIH5V.js → BankAccountSection-BabhrBM7-CsYno7bw.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-DCfyIUlu-CKci9TET.js → BankAccountWarningSection-yT2UAd12-AQuYXXrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js → BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js} +32 -32
- package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js → BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js → BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js} +15 -15
- package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +84 -0
- package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-CWUn729m.js → BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js} +4 -4
- package/dist/assets/{BillingSettingsPage-CYsvBrFV-DtV08_g9.js → BillingSettingsPage-CQ117tT9-3H-s6tQ2.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js → BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js} +1 -1
- package/dist/assets/{BoxItem-B06DK4G--Bupc4dyY.js → BoxItem-DRwx0M5a-BMNzRCBU.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js → BusinessVerificationPage-1h0z3N9u-B1KNa18N.js} +10 -10
- package/dist/assets/CardNumberSubText-DqtLT1w5-DwPe5Ik5.js +21 -0
- package/dist/assets/{CashbackDetailPage-5eysaHGf-O2irFEC3.js → CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js → ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js} +1 -1
- package/dist/assets/{ChargeCardListPage-C-RTGkKK-DLkixTq5.js → ChargeCardListPage-DhLUsUhd-CLRkrqGa.js} +24 -24
- package/dist/assets/{ChargeCardListTable-B-bNbtZQ--LQKl6Xj.js → ChargeCardListTable-DE72YU_i-BYCOUa2e.js} +60 -60
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js → ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js} +38 -38
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js → ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js → ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js → CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js} +17 -17
- package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js → CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js} +21 -21
- package/dist/assets/{CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js → CompanyPassportCard-B9ymV6Az-COMAf0pP.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BtAopyLq-BcF__FaA.js → CompanyPassportPage-BQ68t7oK-BMTwLfpK.js} +32 -32
- package/dist/assets/{CompleteProfile-CsbsHQ0p-Da1z9Z7H.js → CompleteProfile-C5n9b8gQ-hT3HEiCg.js} +4 -4
- package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-hv51KpGg-CXln6N2t.js → ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js → CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js → CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js} +22 -22
- package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js → CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Dm2Si769-D58-iBoA.js → CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js → CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js} +8 -8
- package/dist/assets/{Dashboard-DReG_aaf-DwSOFg0b.js → Dashboard-bX3cWkmP-BbU8pr2A.js} +33 -33
- package/dist/assets/{DashboardReportPage-BXSlwsR7-CQ7UXe-C.js → DashboardReportPage-DuZ4d4CE-DK-gMM8o.js} +39 -39
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +12 -0
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +439 -0
- package/dist/assets/{DrawerPage-DQ3Xuekx-B9p3dBku.js → DrawerPage-CaG-xx5d-EitebnoL.js} +12 -12
- package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +18 -0
- package/dist/assets/{EntitySummarySection-vsEMiXYh-CDZa-Mc3.js → EntitySummarySection-LEA5m6mN-BORCaqtF.js} +17 -17
- package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js → ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +1703 -0
- package/dist/assets/{ExpressPayPage-BH7oCW_F-ls2gqEkj.js → ExpressPayPage-C-nqret2-DlkmEIam.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DSv61BhF-D3bUAc_I.js → FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js} +2 -2
- package/dist/assets/{FollowStepsSection-Bgy9MpO4-DjmY6ECY.js → FollowStepsSection-0eFMS0c5-B5EQvoc9.js} +7 -7
- package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +291 -0
- package/dist/assets/{InformationCardStack-rx0fypl3-PVL5sP4g.js → InformationCardStack-C7XJCUlh-CiHVF9R1.js} +4 -4
- package/dist/assets/{InsightsCardStack-uJWMkIZL-BMcef6eP.js → InsightsCardStack-fBAbQwhK-BkpAEowk.js} +9 -9
- package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js → IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-DZ12UKs3.js → InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +65 -0
- package/dist/assets/{InviteFormPage-dsMpScvq-CwRYtYza.js → InviteFormPage-E2igwKEh-BCSU2LM1.js} +18 -18
- package/dist/assets/{InvitePageListView-e7vGSbFa-DcUjhdI-.js → InvitePageListView-Cuq9dlgu-CDBeR_PP.js} +46 -46
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js → IssueChargeCardPage-CK6fnO24-BKSJZVY1.js} +31 -31
- package/dist/assets/{LabeledAddressValue-3l0Bv00--CRsMpkI1.js → LabeledAddressValue-Ma1WURjK-BbziAecd.js} +2 -2
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js → LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js → LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js} +7 -7
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +59 -0
- package/dist/assets/{LabeledText-DGZ7hxY4-DsEkDfJy.js → LabeledText-DvzVOku6-qtDKT9OR.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js → LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js} +27 -27
- package/dist/assets/{LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js → LinkJETransactionPage-WufhDGDQ-CQSugFmY.js} +12 -12
- package/dist/assets/{LockCardPage-DyEQBJYx-Cp9KP7Ha.js → LockCardPage-BBIVLYVD-DGVUoots.js} +61 -61
- package/dist/assets/LowBalancePopup-ScEqPY9J-zI-i6Isi.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js → MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js} +5 -5
- package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js → MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js +6 -0
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +85 -0
- package/dist/assets/{NavBarWithPicker-CbjFNysh-fM8X8YaY.js → NavBarWithPicker-zmvBmWS1-DG_L70Us.js} +5 -5
- package/dist/assets/{NavigationArrow-Dpc7u6y4-BiRqyGkx.js → NavigationArrow-D26UG3p--Bc_WE-hA.js} +7 -7
- package/dist/assets/{NavigationDots-DCpslVnm-DccClgwI.js → NavigationDots-Bv4tBDN3-3qW0LzNq.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js → NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js} +37 -37
- package/dist/assets/{NoDataChart-9-bhq204-Mk2SpDph.js → NoDataChart-CgT19fV7-DcCaLcsZ.js} +2 -2
- package/dist/assets/{NoDataTable-C6Q2Anpz-DUKNluuK.js → NoDataTable-CPjJmo4s-rcoXWqQH.js} +1 -1
- package/dist/assets/{NotFoundPage-4mPhXD5--D8Xe2RH2.js → NotFoundPage-CP2i3FTm-zCn5IOVY.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BTxCoB_b-EQULZcKC.js → NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js} +31 -31
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +100 -0
- package/dist/assets/{OverlayContainerPage-CkUYOhlh-BnCo9_OT.js → OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js} +15 -15
- package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +675 -0
- package/dist/assets/{Preview-Cc9vKqgF.js → Preview-P62UcEJK.js} +1 -1
- package/dist/assets/{ProductsCarousel-C9JoJQeH-x81n9I1l.js → ProductsCarousel-7R3cvGiS-Bu_PFFN9.js} +8 -8
- package/dist/assets/{PromoBaseCards-mFk7SsOr-qtCHMf8v.js → PromoBaseCards-DdCMZIc7-DR_4jktz.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js → QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js} +5 -5
- package/dist/assets/{QBOSetupSection-C_fqHza_-DgpfNI-0.js → QBOSetupSection-CzBfIVqR-DJuM0C4n.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js → ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js} +9 -9
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js → ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js → ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +1 -0
- package/dist/assets/{ReloadCard-D5cvzWxe-B3IyXnq9.js → ReloadCard-DKGn1uxF-DmSJJ42p.js} +6 -6
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +121 -0
- package/dist/assets/{RevenueChart-DtQu0KAn-D8weCECA.js → RevenueChart-SvdhwBcE-BkckN20x.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-vui4TqeA-D-XziIJQ.js → ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js} +23 -23
- package/dist/assets/{ReviewOverlay-CUnL7H-a-17YpOTAb.js → ReviewOverlay-BoM41t8W-3p-Qz-jJ.js} +25 -25
- package/dist/assets/RoleWithToolTip-C8x5yXaK-DMsCF0JH.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +37 -0
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +324 -0
- package/dist/assets/{ScreenRoutes-VDuiXW2A.js → ScreenRoutes-EnKgc_BI.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DYRWWXcL-CqyVY0zk.js → SetUpAccountSection-sfIB1h4i-DtGgsFok.js} +13 -13
- package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +491 -0
- package/dist/assets/SignInScreen-COk_kO8l.js +1 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +754 -0
- package/dist/assets/{SpendManagementSection-DKZNTYXT-Y5i2WptS.js → SpendManagementSection-dT-N4bSQ-C4Kh22QW.js} +20 -20
- package/dist/assets/{StatementItem-Dyt5Q0eR-ge2odajX.js → StatementItem-g5tfNBjV-BibsnlRn.js} +4 -4
- package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +58 -0
- package/dist/assets/{StatusSwitcher-BfQ9VbBH-B-KO1Buq.js → StatusSwitcher-CaoFw0cf-zIzs68OS.js} +5 -5
- package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +58 -0
- package/dist/assets/{SummaryCard-D61xzK3a-D5OwtVH7.js → SummaryCard-B9wqNSwM-D3nnkdoj.js} +1 -1
- package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +508 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +31 -0
- package/dist/assets/{TopExCard-D2PRxvFc-jwp5OjNB.js → TopExCard-BUjnGDUB-Btojk3ah.js} +6 -6
- package/dist/assets/{TopExDetailPage-C0uHdU7N-D9KWDen5.js → TopExDetailPage-CNDkfc3u-B6N4DKA1.js} +15 -15
- package/dist/assets/{TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js → TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js} +17 -17
- package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +903 -0
- package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +153 -0
- package/dist/assets/{TransactionListBig-BrDWayQS-DsH6Jycs.js → TransactionListBig-Bx_Rm9ho-DHw-0VWf.js} +20 -20
- package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js → TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DfFm-1-3-DcsnoXjo.js → TransferDrawerPage-BayVa6po-TPzD0GjA.js} +36 -36
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +708 -0
- package/dist/assets/{TreasuryPromoPage-Dyip3H10-BFjPECcI.js → TreasuryPromoPage-BCjz1EKX-B0iczXcI.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +58 -0
- package/dist/assets/{TrendChart-fFlHCvNx--8jxSfa_.js → TrendChart-JTOG0a7B-Bjcs41DB.js} +5 -5
- package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js → UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-gVgsk2ji-COCsJfhk.js → UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js} +7 -7
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js → Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js → VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js} +14 -14
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +1 -0
- package/dist/assets/{VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js → VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js} +2 -2
- package/dist/assets/{VerifyDevice-DeHW4GAi-BrrxSvi2.js → VerifyDevice-B6B_nk3v-FhJvFMiC.js} +9 -9
- package/dist/assets/{VideoPlayer-DxIfGrPu-DG9_29pb.js → VideoPlayer-BRAgZThr-CdNKLBM0.js} +2 -2
- package/dist/assets/{VideoPopup-CUP7ctgS-CnQZCBbO.js → VideoPopup-C_SkBI9U-BmOF4TeE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage--s6b380L-BvzCi6Jk.js → WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js} +10 -10
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js → ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js} +23 -23
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +36 -0
- package/dist/assets/{ZeniCopyright-DDGvdmLF-447g6hlp.js → ZeniCopyright-BlLvlGZV-FpsBBUu8.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-DPnsENMy.js → ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-Tvhq1Gb8.js → add-to-wallet-DgdBD8_G-CiWKe3pw.js} +1 -1
- package/dist/assets/{analytics-BSh5cBTM.js → analytics-Dmyyfi9O.js} +1 -1
- package/dist/assets/{analyticsHelper-D9xdJK4b-DdFbzSx8.js → analyticsHelper-CYr5V2MV-D-hMRpr3.js} +1 -1
- package/dist/assets/{analyticsHelper-DOE_CVQ_.js → analyticsHelper-fNnGbi4W.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D9NhRqZJ.js → arrow-south-east-round-PEovUgvH-odM3_tAX.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bd8ltJD0.js → auto-transfer-rule-mbafm5D3-YYpYw6PW.js} +1 -1
- package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +1 -0
- package/dist/assets/{commonTypes-BAJPaPYg-ZRT2EIAq.js → commonTypes-DsWS6Ccc-cGR0O9Jz.js} +1 -1
- package/dist/assets/{constants-Ca2l-eSK.js → constants-CL2zzW6O.js} +1 -1
- package/dist/assets/{core-BBKQkJb7.js → core-CuilwggZ.js} +2 -2
- package/dist/assets/{dash.all.min-DzQe-Q97.js → dash.all.min-BQNcgKZW.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +38 -0
- package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +1 -0
- package/dist/assets/{empty-CvQ9mfdA.js → empty-Br0K9kol.js} +1 -1
- package/dist/assets/{empty-BAhHXN-J.js → empty-CEDPaJOT.js} +1 -1
- package/dist/assets/epic-C2KVDXXW.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DeI78FXp.js → gift-box-Cmt9OgIZ-Ka06cghW.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js → graphic-no-data-l-DU4J8fDt-6m6GIu0k.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js → graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CAcdkk5J.js → handshake-BPg58FML-Sg0ioDB8.js} +1 -1
- package/dist/assets/{helper-z5-P4a-y-BjC38EFp.js → helper-BMiMbXMj-RteEmtlv.js} +5 -5
- package/dist/assets/{index-Co5CHcL-.js → index-BdeZI4Mn.js} +1 -1
- package/dist/assets/{index-C2tYLV1-.js → index-ChqRS7At.js} +1 -1
- package/dist/assets/{index-CbQy18LL.js → index-Cwdqq_eD.js} +1 -1
- package/dist/assets/{index-Di0PzFTw.js → index-D3ZUUMU-.js} +1 -1
- package/dist/assets/{index-D1n9iNXR.js → index-Dvsx2dcd.js} +1 -1
- package/dist/assets/{index-DmJDLobC.js → index-DyBrELD_.js} +5042 -5056
- package/dist/assets/{index-BSFE83ps.js → index-HP0uFTr8.js} +1 -1
- package/dist/assets/{lexical-CC2d_kE2.js → lexical-BV3aGUzT.js} +1 -1
- package/dist/assets/{liveblocks-D1Gf9COF.js → liveblocks-VMOu1QaQ.js} +15 -15
- package/dist/assets/{lottie-B-DVrXwa.js → lottie-DcZDexOB.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js} +1 -1
- package/dist/assets/{mui-Bgk_7_3h.js → mui-D3hEqMLm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DpTi0lr5.js → page-detail-CWX5S47F-D-m40EVy.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-Dt6ezU-k.js → radio-default-CiSgisfh-eAbgY-Yj.js} +1 -1
- package/dist/assets/{react-Cz3x_Ojh.js → react-C1gXLOT-.js} +2 -2
- package/dist/assets/{react-vKhkI9QX.js → react-CEbGSPpW.js} +1 -1
- package/dist/assets/{react-8rwwNA9S.js → react-CMq4HMxB.js} +1 -1
- package/dist/assets/{react-Dfxv8P4v.js → react-CTpij_Bh.js} +1 -1
- package/dist/assets/{react-DwGR9wjl.js → react-CqeqecYS.js} +1 -1
- package/dist/assets/{react-0s0M_CAb.js → react-DI8vxsp0.js} +1 -1
- package/dist/assets/{react-TtlD7S5U.js → react-Drm5UQxC.js} +3 -3
- package/dist/assets/{react-93CibPtS.js → react-Y6e5YCHa.js} +1 -1
- package/dist/assets/{recharts-DQ94kkTy.js → recharts-Bs6FfRQK.js} +36 -36
- package/dist/assets/{sentry-L3H0lnBS.js → sentry-BV4jcjA3.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BeXfYuLC.js → shield-DOlUxcFf-FCvOtDWd.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-DCXAm4rQ.js +1 -0
- package/dist/assets/{uploadAttachment-DJA30WSD-Ce-ZEqY3.js → uploadAttachment-BlLqRIXe-B5ch9itw.js} +32 -32
- package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +1 -0
- package/dist/assets/{url-CVUNFFPg.js → url-BkyzSFLl.js} +1 -1
- package/dist/assets/{url-3bnwMjsG.js → url-MntlJyPp.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-rqfVb6ME.js → useLongPress-GCK2COYQ-Dwfp0CDv.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-J8zgXRmN.js → usp-line-BBd1wKwW-Ccl_yhhe.js} +1 -1
- package/dist/assets/{utils-WSIc2RtD.js → utils-AGDkxX5e.js} +1 -1
- package/dist/assets/{zeni-epic-state-B9Z2lD6g.js → zeni-epic-state-wSe7lDM8.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BShpKoIj-CW1imKMz.js +0 -21
- package/dist/assets/AccountInfoPage-B8upbXj9-Dtz8WQyO.js +0 -18
- package/dist/assets/AccountRow-BrW_eEjE-DlgTvuFF.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-4wUmSook.js +0 -6
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js +0 -46
- package/dist/assets/AppBasePage-B5sDynhi-CUXe21st.js +0 -71
- package/dist/assets/AppDrawerContent-D9Q8ir0T-CV--mref.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js +0 -47
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js +0 -38
- package/dist/assets/BillDetailPage-pt1k5AQf-BjT4Ihsm.js +0 -266
- package/dist/assets/BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js +0 -84
- package/dist/assets/CardNumberSubText-CcH9jUoZ-mqNKBu9B.js +0 -21
- package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js +0 -222
- package/dist/assets/CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js +0 -2982
- package/dist/assets/ConfettiBurst-duD341Gp-CRM9LgmA.js +0 -1
- package/dist/assets/CurrencySelectField-B8EoF2aF-GOW4qR7m.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js +0 -12
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-DnjTEbYw.js +0 -21
- package/dist/assets/DownloadOverlay-BpRKCn-0-CHKRQCgV.js +0 -439
- package/dist/assets/EditPeoplePage-8DalSMWH-Ckh9exV5.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js +0 -865
- package/dist/assets/EntityDetailPage-fmWuxHTZ-DJDbCj57.js +0 -18
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-isL_Jc14.js +0 -3015
- package/dist/assets/GlobalReviewListPage-VRq_gimm-BJViyoax.js +0 -291
- package/dist/assets/InsightsSection-ByFf2oGn-v8_DJRM0.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js +0 -65
- package/dist/assets/InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js +0 -12
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-CW2z21hh.js +0 -140
- package/dist/assets/LabeledAddressValueField-F9kvUR_r--rBMYRFp.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-BL02IYWO.js +0 -16
- package/dist/assets/LabeledDocumentField-rriEcsdr-DuJ2zUxk.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DoVSg3nZ-k-dWGYUh.js +0 -59
- package/dist/assets/LowBalancePopup-C2vHKMNF-bdPNLfbg.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js +0 -31
- package/dist/assets/MailingDetailsSection-9_XLl4bT-aum9pUe4.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js +0 -85
- package/dist/assets/NotificationsListConfig-CylnViXd-BsFR_NcM.js +0 -1
- package/dist/assets/NotificationsPage-D41h0mS6-Bb6S9Jk3.js +0 -685
- package/dist/assets/OpExByVendorPage-BV_uJSCh-DSWgiZdt.js +0 -100
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js +0 -123
- package/dist/assets/PeoplePage-DcGqWtAP-DkPagYKu.js +0 -727
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js +0 -1
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js +0 -151
- package/dist/assets/ReportsPage-CRAVAUTO-Cw7xKvAS.js +0 -269
- package/dist/assets/RoleWithToolTip-x2rnvWn9-Decoe-vI.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js +0 -37
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js +0 -37
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-CzCZ3H3Q.js +0 -326
- package/dist/assets/SignIn-CUJkZb3S-BQ5cYlKz.js +0 -491
- package/dist/assets/SignInScreen-BxnvlP3D.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BieufnDb-DsSgx26K.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-_fIZmx1n.js +0 -754
- package/dist/assets/StatementsPage-CbtnJM5y-D7odQb22.js +0 -58
- package/dist/assets/SubTabSwitcher-CzGiuhk3-BJdsqPl7.js +0 -58
- package/dist/assets/TaskManagementPage-ucVAdv7x-DzPLVMfi.js +0 -508
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js +0 -64
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-B2pTF6KS.js +0 -53
- package/dist/assets/TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js +0 -921
- package/dist/assets/TransactionList-f6yB-byH-BeXigMDL.js +0 -157
- package/dist/assets/TransactionListPage-C-Z62y2d-BZTkx2mc.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js +0 -725
- package/dist/assets/TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js +0 -58
- package/dist/assets/TrendWithTransactions-It4KDov3-uJUU6y8f.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-S0ohEV34.js +0 -38
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js +0 -1
- package/dist/assets/VendorDetailPage-jci1LqX3-BiOnbd3f.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CafakxA1-DLht7hvz.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-fqy5uhYF.js +0 -33
- package/dist/assets/ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js +0 -36
- package/dist/assets/chartTypes-Dq3hUz_T-CZIhQYGg.js +0 -1
- package/dist/assets/commonDimensions-CGHIQ2To-ChTwXt2F.js +0 -1
- package/dist/assets/downloadPdf-BI2Y41h2-CJxUrMkc.js +0 -1
- package/dist/assets/epic-DPl_yeEQ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-V5HoG67-.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-DDDj-Taw.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BeWHMcNi.js +0 -3
- package/dist/assets/toCOABalancesWithID-P7keEtAg-CKsrAJNb.js +0 -1
- package/dist/assets/toChartData-BUf5HHim-DU5WiVJh.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js +0 -1
- package/dist/assets/uploadReceipts-CqDftTRt-DXWV7iem.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as B,d as Z,O as _,ax as ke,V as s,bE as Xe,T as qe,w as Je,bF as Ke,o as d,y as N,aF as K,bG as Qe,bH as et,aj as oe,u as j,b5 as tt,aX as st,x as Oe,i as Be,p as D,ar as Pe,aW as ot,bc as at,ao as nt,bI as it,au as rt,bJ as ct,bK as ne,bL as lt,at as dt,an as pt,bM as ut,bN as gt}from"./index-DyBrELD_.js";import{a as S,P as Q}from"./sentry-BV4jcjA3.js";import{n as u,k as Ie}from"./mui-D3hEqMLm.js";import{bg as mt,FC as ht,EY as ft,FD as bt,FE as xt,FF as _t,FG as wt,FH as yt,FI as St,FJ as vt,FK as $t}from"./zeni-epic-state-wSe7lDM8.js";import{m as G,l as se}from"./analyticsHelper-CYr5V2MV-D-hMRpr3.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js";import{F as kt}from"./InsightsSection-De9zu_me-Bh9zGZF1.js";import{k as Ot,q as Bt,N as xe,H as ee,G as pe}from"./detailCommon-CrcyqWtZ-D8Fb1SL4.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-SvdhwBcE-BkckN20x.js";import{C as Nt}from"./NoDataChart-CgT19fV7-DcCaLcsZ.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js";import{b as Ne}from"./TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js";import{I as Rt,R as E,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js";import{S as zt,M as Ft,g as At,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js";import{d as Mt}from"./NoDataTable-CPjJmo4s-rcoXWqQH.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./NavigationDots-Bv4tBDN3-3qW0LzNq.js";import"./chartTypes-40RenddT-DZcmdGKn.js";import"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import"./toChartData-C6s-eBzE-DCXAm4rQ.js";import"./AccountRow-CpftykFx-bzN_3qh3.js";import"./graphic-no-data-l-DU4J8fDt-6m6GIu0k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="14c237ad-dec8-4031-aafd-44c1e98205d3",e._sentryDebugIdIdentifier="sentry-dbid-14c237ad-dec8-4031-aafd-44c1e98205d3")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
|
|
2
2
|
justify-content: center;
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: flex;
|
|
@@ -17,33 +17,33 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
17
17
|
justify-content: center;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin-top: ${d.sp3};
|
|
20
|
-
`,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,
|
|
20
|
+
`,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Gt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return Ct(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
|
|
21
21
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
-
`;function
|
|
22
|
+
`;function qt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Jt=u.div`
|
|
23
23
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
-
`;function
|
|
24
|
+
`;function Kt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Jt,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const Qt=u.div`
|
|
25
25
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
26
|
`,es=u.div`
|
|
27
27
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
28
|
height: ${d.sp6};
|
|
29
|
-
`;function ts({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(es,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((
|
|
29
|
+
`;function ts({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(es,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(Qt,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const ss=u.div`
|
|
30
30
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
31
|
`,os=u.div`
|
|
32
32
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
33
|
height: ${d.sp6};
|
|
34
|
-
`;function as({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(os,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,
|
|
34
|
+
`;function as({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(os,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,m)=>g+m.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},h=pe(c,r);return s.jsx(ss,{children:s.jsx(ee,{balance:c,dateText:h,showInfotip:!1})})}const ns=u.div`
|
|
35
35
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
36
|
`,is=u.div`
|
|
37
37
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
38
|
height: ${d.sp6};
|
|
39
|
-
`;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((
|
|
39
|
+
`;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N(j[3],j[3],j[8]),chartHeight:new N(288,360)},ls=u.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex: 1 1 auto;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
height: ${e=>
|
|
43
|
+
height: ${e=>J.chartHeight.valuePx(e.windowSize)};
|
|
44
44
|
`,ds=u.div`
|
|
45
45
|
display: flex;
|
|
46
|
-
`,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:
|
|
46
|
+
`,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,y,b)=>{us(a.firstMonthOfFY,l,a.reportId,y,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(It,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Ie`
|
|
47
47
|
0% {
|
|
48
48
|
transform: translateY(100%)
|
|
49
49
|
}
|
|
@@ -60,7 +60,7 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
60
60
|
100% {
|
|
61
61
|
opacity: 1
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,ms=u.div`
|
|
64
64
|
position: fixed;
|
|
65
65
|
top: 0;
|
|
66
66
|
left: 0;
|
|
@@ -70,8 +70,8 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
align-items: center;
|
|
73
|
-
background: ${
|
|
74
|
-
`,
|
|
73
|
+
background: ${D.overlayDark};
|
|
74
|
+
`,hs=u.div`
|
|
75
75
|
position: fixed;
|
|
76
76
|
top: 0;
|
|
77
77
|
left: 0;
|
|
@@ -82,19 +82,19 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
82
82
|
flex-direction: column;
|
|
83
83
|
align-items: center;
|
|
84
84
|
overflow: auto;
|
|
85
|
-
background: ${
|
|
86
|
-
`,
|
|
85
|
+
background: ${D.blackColor}E6;
|
|
86
|
+
`,Fe=u.div`
|
|
87
87
|
padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
|
|
88
88
|
margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
|
|
89
89
|
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
|
|
90
90
|
height: 544px;
|
|
91
91
|
text-align: center;
|
|
92
|
-
`,
|
|
92
|
+
`,Ae=u.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
justify-content: flex-end;
|
|
95
95
|
width: 100%;
|
|
96
96
|
padding: ${d.sp3} ${d.sp4};
|
|
97
|
-
`,
|
|
97
|
+
`,Me=u.div`
|
|
98
98
|
color: ${e=>e.theme.colors.hero};
|
|
99
99
|
width: ${d.sp3};
|
|
100
100
|
height: ${d.sp3};
|
|
@@ -163,15 +163,15 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
163
163
|
margin-top: ${d.sp7};
|
|
164
164
|
margin: auto;
|
|
165
165
|
color: ${e=>e.theme.colors.primary};
|
|
166
|
-
`,
|
|
166
|
+
`,Cs=u(Pe)`
|
|
167
167
|
max-width: 330px;
|
|
168
168
|
margin: auto;
|
|
169
|
-
color: ${
|
|
169
|
+
color: ${D.primaryDark};
|
|
170
170
|
`,Ee=u.div``,Ve=u(oe)`
|
|
171
171
|
margin: ${d.sp3} auto;
|
|
172
172
|
max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
|
|
173
|
-
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?
|
|
174
|
-
`,
|
|
173
|
+
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
|
|
174
|
+
`,js=u.div`
|
|
175
175
|
display: flex;
|
|
176
176
|
flex-direction: column;
|
|
177
177
|
align-items: center;
|
|
@@ -183,7 +183,7 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
183
183
|
flex-direction: column;
|
|
184
184
|
text-align: left;
|
|
185
185
|
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
|
|
186
|
-
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?
|
|
186
|
+
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
|
|
187
187
|
margin-top: 22px;
|
|
188
188
|
list-style-position: outside;
|
|
189
189
|
padding-left: ${d.sp3};
|
|
@@ -197,7 +197,7 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
197
197
|
border-radius: 12px;
|
|
198
198
|
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
199
199
|
padding: ${d.sp2};
|
|
200
|
-
`,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(
|
|
200
|
+
`,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(js,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ae,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Fe,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ae,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Fe,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},Se=u.div``,Ds=u.div`
|
|
201
201
|
min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
|
|
202
202
|
&:hover {
|
|
203
203
|
.info-tooltip {
|
|
@@ -218,15 +218,15 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
218
218
|
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
219
219
|
margin-bottom: ${d.sp1};
|
|
220
220
|
align-items: center;
|
|
221
|
-
`,
|
|
221
|
+
`,Fs=u(oe)`
|
|
222
222
|
display: flex;
|
|
223
223
|
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
224
224
|
margin-bottom: ${d.sp1};
|
|
225
|
-
`,
|
|
225
|
+
`,As=u.div``,Ms=u.div``,Es=u(pt)`
|
|
226
226
|
display: flex;
|
|
227
|
-
color: ${
|
|
227
|
+
color: ${D.alert};
|
|
228
228
|
`,Vs=u(ut)`
|
|
229
|
-
color: ${
|
|
229
|
+
color: ${D.alert};
|
|
230
230
|
width: ${d.sp4};
|
|
231
231
|
height: ${d.sp4};
|
|
232
232
|
margin-right: ${d.sp1};
|
|
@@ -263,18 +263,18 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
263
263
|
top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
264
|
`,Zs=u(nt)`
|
|
265
265
|
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function Xs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((
|
|
266
|
+
`;function Xs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=S.useState(l(t));return Q.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(qs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const qs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=S.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;S.useEffect(()=>{o(e)},[e]);const g=u(it)`
|
|
267
267
|
height: ${d.sp3};
|
|
268
268
|
width: ${d.sp3};
|
|
269
|
-
`,
|
|
269
|
+
`,m=u(rt)`
|
|
270
270
|
height: 12px;
|
|
271
271
|
width: 12px;
|
|
272
272
|
margin-left: 6px;
|
|
273
|
-
`,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(
|
|
273
|
+
`,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Fs,{isValid:b.data.isValid,children:[s.jsx(As,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Ms,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Es,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Js=u.div`
|
|
274
274
|
display: flex;
|
|
275
275
|
width: 100%;
|
|
276
276
|
flex-direction: column;
|
|
277
|
-
`,
|
|
277
|
+
`,Ks=u.div`
|
|
278
278
|
display: flex;
|
|
279
279
|
width: 100%;
|
|
280
280
|
flex-direction: row;
|
|
@@ -306,10 +306,10 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
306
306
|
`,Ge=u(oe)`
|
|
307
307
|
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
308
|
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
-
`,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Xs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(
|
|
309
|
+
`,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Xs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Qs,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Ks,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
|
|
310
310
|
display: flex;
|
|
311
311
|
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
-
`,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),A=a.mode,N=a.selectedForecast;S.useEffect(()=>{A==="forecast_mode"&&b==="Completed"&&y?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,A,y]),S.useEffect(()=>{A==="forecast_mode"&&N!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(D(t.reportId),y[N.index].name)},[N]);const W=(v,j,Y)=>{j===!0&&e.analytics?.trackForecastVsActualMode(D(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),D(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,D(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,j)=>W("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Ot,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,m),highlightedOfSelectedTicks:xe(c,m)},onClick:(v,j)=>{$e(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=Bt(c,v.fromEnd),X=Pt(c,j);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},$e=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(D(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(D(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=E("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>fe({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function je({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=E("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),m=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),o=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=M({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=E("section",[],n.sections.netCashFlow),m=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function ho(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(yt(h)===!0){const f=e.sections[h];f!=null&&o.push(Ne({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(St(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function mo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):$t(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=E("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=E("section",[],n.sections.expenses),m=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Mt({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>Ft({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(bt(h)===!0){const f=e.sections[h];f!=null&&o.push(Ne({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(xt(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},Ce={contentPaddingLeft:new L(C[0],C[0],C[0]),contentPaddingRight:new L(C[3],C[3],C[8])},So=u.div`
|
|
312
|
+
`,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,A]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;S.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&y?.length===0&&(A(!0),document.body.style.overflow="hidden")},[b,M,y]),S.useEffect(()=>{M==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);const W=(v,C,Y)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,C)=>W("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{A(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,C)=>{$e(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const Y=Ot(c,v.fromEnd),X=Bt(c,C);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},$e=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=E("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=E("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function F({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=F({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=F({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=E("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=F({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):$t(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=F({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=E("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=F({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=E("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>Ft({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>At({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=F({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=F({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},je={contentPaddingLeft:new N(j[0],j[0],j[0]),contentPaddingRight:new N(j[3],j[3],j[8])},So=u.div`
|
|
313
313
|
width: 100%;
|
|
314
314
|
height: calc(100vh - 70px);
|
|
315
315
|
`,vo=u.div`
|
|
@@ -317,13 +317,13 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
317
317
|
position: sticky;
|
|
318
318
|
justify-content: center;
|
|
319
319
|
padding-top: ${d.sp6};
|
|
320
|
-
padding-left: ${e=>
|
|
320
|
+
padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
321
321
|
background-color: ${e=>e.theme.colors.grey4};
|
|
322
322
|
`,$o=u.div`
|
|
323
323
|
position: absolute;
|
|
324
324
|
padding-top: ${d.sp3};
|
|
325
325
|
background-color: ${e=>e.theme.colors.grey4};
|
|
326
|
-
`,
|
|
326
|
+
`,Co=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,A]=S.useState(void 0),[H,M]=S.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:C.bookCloseDate,firstMonthOfFY:C.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!K(H,C)||e.isPageFetchInProgress===!0){const I=jo(C,O,L,e.isPageFetchInProgress);M(C),A(I)}else{const I=wo(P,O,C,L);A(I)}},[W,$,C,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Mt,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx($o,{children:s.jsx(jt,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},jo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",q={chartWidth:"100%",barCount:8,barWidth:new N(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=q.chartWidth,barCount:n=q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||q.maxBarHeight)*l,width:q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:q.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
|
|
327
327
|
width: 100%;
|
|
328
328
|
height: 100%;
|
|
329
329
|
border-radius: ${d.sp2};
|
|
@@ -343,19 +343,19 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
343
343
|
display: flex;
|
|
344
344
|
align-items: flex-end;
|
|
345
345
|
justify-content: center;
|
|
346
|
-
`,
|
|
346
|
+
`,No=u.div`
|
|
347
347
|
display: flex;
|
|
348
348
|
flex: 1 1 auto;
|
|
349
349
|
min-height: 100%;
|
|
350
350
|
flex-direction: column;
|
|
351
351
|
width: 100%;
|
|
352
352
|
background-color: ${e=>e.theme.colors.grey4};
|
|
353
|
-
`,
|
|
353
|
+
`,Lo=u.div`
|
|
354
354
|
position: relative;
|
|
355
355
|
box-shadow: ${e=>`2px 0px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
356
|
background-color: ${e=>e.theme.colors.grey5};
|
|
357
|
-
padding-left: ${e=>
|
|
358
|
-
padding-right: ${e=>
|
|
357
|
+
padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
358
|
+
padding-right: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
359
359
|
z-index: 1;
|
|
360
360
|
`,Ro=u.div`
|
|
361
361
|
display: flex;
|
|
@@ -368,4 +368,4 @@ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o
|
|
|
368
368
|
align-items: center;
|
|
369
369
|
height: 100vh;
|
|
370
370
|
margin-top: ${d.sp8};
|
|
371
|
-
`,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:
|
|
371
|
+
`,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:y,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,A=ke(),H=A.loggedInUserRole!=null&&!mt(A.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,$,T)},[t]);const C=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(qe,{size:"Standard",start:!0})}):L?s.jsx(Yt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Et}):s.jsxs(s.Fragment,{children:[s.jsxs(Lo,{windowSize:t,children:[s.jsx(Ao,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Fo,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,K),zo=Q.memo(ps,K),Fo=Q.memo(Co,K),Ao=Q.memo(co,K);export{ba as default};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{aw as u,V as o,b7 as c,o as p}from"./index-DyBrELD_.js";import{a as s}from"./sentry-BV4jcjA3.js";import{a as h,n as m}from"./mui-D3hEqMLm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f51373bb-5124-4d87-9bb3-2a9dd305feaa",e._sentryDebugIdIdentifier="sentry-dbid-f51373bb-5124-4d87-9bb3-2a9dd305feaa")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,b]=s.useState(null);a!=null&&t==null&&!l&&b(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(c,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: inherit;
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: ${p.sp0};
|
|
8
|
+
z-index: 0;
|
|
9
|
+
height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
|
|
10
|
+
opacity: ${e=>e.contextWiseOpacity};
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
`;export{D as v};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-DyBrELD_.js";import{n as t}from"./mui-D3hEqMLm.js";import{g as k}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{o as v}from"./commonDimensions-BMnB1-xU-QqtoTCOP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9df92a59-46dc-4561-ad80-299aeba7963b",e._sentryDebugIdIdentifier="sentry-dbid-9df92a59-46dc-4561-ad80-299aeba7963b")}catch{}})();function J({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(C,{windowSize:o}),l.jsx(P,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
4
|
+
align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
5
|
+
`,z=t.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: end;
|
|
8
|
+
`,S=t(w)`
|
|
9
|
+
-webkit-box-orient: vertical;
|
|
10
|
+
-webkit-line-clamp: 1;
|
|
11
|
+
margin-left: ${i.sp3};
|
|
12
|
+
padding: 1px 6px;
|
|
13
|
+
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
14
|
+
border-radius: ${i.sp1};
|
|
15
|
+
color: ${e=>e.theme.colors.grey1};
|
|
16
|
+
`,D=t.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: ${i.sp3} ${i.sp4};
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
width: 100%;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
`,I=t.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: center;
|
|
27
|
+
flex: 1;
|
|
28
|
+
`,T=t.img`
|
|
29
|
+
display: flex;
|
|
30
|
+
width: ${i.sp4};
|
|
31
|
+
height: ${i.sp4};
|
|
32
|
+
`,N=t(c)`
|
|
33
|
+
display: -webkit-box;
|
|
34
|
+
-webkit-box-orient: vertical;
|
|
35
|
+
-webkit-line-clamp: 1;
|
|
36
|
+
max-height: ${i.sp11};
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
word-break: break-word;
|
|
39
|
+
text-align: left;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
`,_=t.div`
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
text-align: left;
|
|
45
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
46
|
+
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
47
|
+
margin-left: ${i.sp3};
|
|
48
|
+
max-height: ${i.sp11};
|
|
49
|
+
word-break: break-word;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
`,E=t.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
55
|
+
align-items: center;
|
|
56
|
+
`,P=t(w)`
|
|
57
|
+
color: ${e=>e.color};
|
|
58
|
+
-webkit-box-orient: vertical;
|
|
59
|
+
-webkit-line-clamp: 1;
|
|
60
|
+
display: -webkit-box;
|
|
61
|
+
`,C=t.div`
|
|
62
|
+
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
63
|
+
width: ${i.sp1};
|
|
64
|
+
height: ${i.sp1};
|
|
65
|
+
border-radius: 50%;
|
|
66
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
67
|
+
margin-left: ${i.sp2};
|
|
68
|
+
margin-right: ${i.sp2};
|
|
69
|
+
`,V=t(c)`
|
|
70
|
+
display: -webkit-box;
|
|
71
|
+
-webkit-box-orient: vertical;
|
|
72
|
+
-webkit-line-clamp: 1;
|
|
73
|
+
margin-left: ${i.sp3};
|
|
74
|
+
text-align: right;
|
|
75
|
+
width: ${e=>v.amountWidth.valuePx(e.windowSize)};
|
|
76
|
+
`;export{J as H};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import{d as M,J as S,V as t,bE as I,b5 as E,hN as Y,o,O as z,p as u,cv as C,dh as F,di as _,dc as L,dj as T,y as B,aj as N,am as R,u as x}from"./index-DyBrELD_.js";import{a as g}from"./sentry-BV4jcjA3.js";import{n as a}from"./mui-D3hEqMLm.js";import{bh as V}from"./zeni-epic-state-wSe7lDM8.js";import{$ as A}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{o as J}from"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import{H as P}from"./DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="56d88c3c-24f6-4cd0-9647-c651b8edacfa",e._sentryDebugIdIdentifier="sentry-dbid-56d88c3c-24f6-4cd0-9647-c651b8edacfa")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(x[3],x[8])};function O(e){const i=F(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),c=_(i,r=>r.length>0);return L(c,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pe=({transactionListView:e,onBackClick:i})=>{const c=M(),r=S(),m=g.createRef(),p=g.useRef(null),d=X(e.transactions),j=e.depositAccountName,f=d.length===0,k=n=>f===!1?d[n].transactions.length*J.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=d[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(q,{children:t.jsx(y,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${j} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:c.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(E,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:d.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
|
|
2
|
+
margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
+
`,q=a.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
height: 100%;
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: flex-end;
|
|
10
|
+
`,G=a.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding-bottom: ${o.sp7};
|
|
16
|
+
`,K=a(R)`
|
|
17
|
+
display: flex;
|
|
18
|
+
color: ${e=>e.theme.colors.grey2};
|
|
19
|
+
`,Q=a(N)`
|
|
20
|
+
display: flex;
|
|
21
|
+
height: 21px;
|
|
22
|
+
margin-bottom: ${o.sp2};
|
|
23
|
+
margin-top: ${o.sp3};
|
|
24
|
+
color: ${e=>e.theme.colors.grey1};
|
|
25
|
+
`,$=a.div`
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
`,U=a.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex: 1 1 auto;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
35
|
+
border-radius: ${o.sp2};
|
|
36
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
+
`,Z=a(C)`
|
|
38
|
+
scrollbar-width: thin;
|
|
39
|
+
scrollbar-color: transparent transparent;
|
|
40
|
+
&::-webkit-scrollbar {
|
|
41
|
+
width: ${o.sp2};
|
|
42
|
+
height: ${o.sp0};
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
&::-webkit-scrollbar-track {
|
|
46
|
+
box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
|
|
47
|
+
-webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
&::-webkit-scrollbar-thumb {
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
56
|
+
&::-webkit-scrollbar {
|
|
57
|
+
width: ${o.sp2};
|
|
58
|
+
height: ${o.sp0};
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
}
|
|
61
|
+
&::-webkit-scrollbar-thumb {
|
|
62
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
63
|
+
border-radius: 2px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`;export{pe as default};
|