@zeniai/web-cockpit-ui 1.14.88-qa → 1.14.89-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-BBq7KpbY-CZpHxE8o.js → ACHDetailsPage-BBq7KpbY-DmD51smT.js} +1 -1
- package/dist/assets/{AIPerformancePage-Djq6mgKa-BXA2rEQ3.js → AIPerformancePage-Djq6mgKa-C2iGvIUP.js} +11 -11
- package/dist/assets/{AccountInfoPage-CxWBk_t_-C2BQHsrc.js → AccountInfoPage-CxWBk_t_-BI9wbnyE.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-BHlSBq6C.js → AccountInfoPageContent-DO6aVqBW-6U18ww_h.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-XsgYaZ9s.js → AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-IJ1uxgeX.js → AccountReconDetailsDrawerPage-DEKzSPCP-DohPnhDC.js} +14 -14
- package/dist/assets/{AccountRow-Ck53DDbT-CKEPVSTV.js → AccountRow-Ck53DDbT-BeebPIea.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-DBGri4Ao.js → AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-CCW44Lbp.js → AddAddressForCardDrawer-e8qbO2Y5-CvQDLLw2.js} +1 -1
- package/dist/assets/{AddToWalletPage-DA6AmuaY-D_ysmfWw.js → AddToWalletPage-DA6AmuaY-e01eq7ol.js} +5 -5
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-yJ7Ku3Be.js → AgingReportsPage-B_Hhl_Is-4sV-u-EE.js} +5 -5
- package/dist/assets/{AllUserItems-BV22Ibpn-D42Co1mB.js → AllUserItems-BV22Ibpn-WegHhloq.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-BwJKl2yK.js → ApAgingDetailPage-DqV1vOVH-DDYGtIes.js} +1 -1
- package/dist/assets/{AppBasePage-LrgCcvIv-CEyT0Ays.js → AppBasePage-LrgCcvIv-CPbTcwwM.js} +4 -4
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-DQOHVYFR.js → AppDrawerContent-aZG5Qc_X-0oLi5_ah.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BEsS6TL7.js +47 -0
- package/dist/assets/{ArAgingChart-Am7LTkqG-GS7CQpoV.js → ArAgingChart-Am7LTkqG-CEoxIo8X.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-CT83CSJd.js → ArAgingDetailPage-BEKsyA9Q-DyjljPZX.js} +1 -1
- package/dist/assets/{AttachmentView-Bujbmx1d-DpzwMH5w.js → AttachmentView-Bujbmx1d-B9I0wNAl.js} +1 -1
- package/dist/assets/{BankAccountSection-C5rYUW3V-BgvhKGl7.js → BankAccountSection-C5rYUW3V-B24i3wVy.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DakysSbk-BRLKAJ0a.js → BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-CFbf0DLJ.js → BankConnectionsSettingsPage-BjZDNgZG-CWXR52fl.js} +7 -7
- package/dist/assets/{BillDetailPage-DYc_nZRU-vRHIz2Fv.js → BillDetailPage-DYc_nZRU-BRz45yqn.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-DfzEevsW.js → BillPayApprovalRuleDetailPage-ppU1Epmy-CKu9yeh6.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-CaoPaa4o.js → BillPayApprovalRulesPage-UblNi2mR-DDdlB9l6.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BK2J56U5-BLwpq2ym.js → BillPayPromoPage-BK2J56U5-BV_HtQh9.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-C2agN1u5.js → BillPaySetUpPage-Jic5E25q-B-iLCf2O.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CKZVChEm-CWf23wA3.js → BillingSettingsPage-CKZVChEm-D4ayDBSH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-C3uBULFR.js → BillsBulkReviewDrawerPage-C4Ra5e82-Ci4V1_TC.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-Bc55g4Kz.js → BoxItem-8PfNfaHq-CqIGaIYz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CLy_qcXB.js → BusinessVerificationPage-JGge-Iiw-DkN8E6Gl.js} +5 -5
- package/dist/assets/{CardNumberSubText-W81SQ4GF-OueRQ73F.js → CardNumberSubText-W81SQ4GF-D5AG2b-c.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-BioqpiiB.js → CashbackDetailPage-DnOcmx2i-DuXs2k0a.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-MbZAmWWA.js → ChargeCardDetailPage-DNVMsxzE-W83HRYcY.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-BMNMnKI1.js → ChargeCardListPage-Dgj-WWWI-C1jII8Vl.js} +14 -14
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-dd8_7oJW.js → ChargeCardListTable-uJZKWoh7-DGMj8Kk8.js} +16 -16
- package/dist/assets/{ChargeCardPromoPage-uqT96W3_-C4nna9JN.js → ChargeCardPromoPage-uqT96W3_-DGpf3zxD.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-KUujiV9J.js → ChargeCardSetupPage-BDbJU-vm-DZJfRa0I.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-CbTc5gcW.js → ChargeCardStatementsPage-DImRqpH1-BlCyBAS3.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-BZCRYtgW.js → CheckDepositDrawerPage-BVtOOPoa-CKWcHjV6.js} +6 -6
- package/dist/assets/{CollapsableReportTable-Crihcv_z-D0yVWEtn.js → CollapsableReportTable-Crihcv_z-B6sIoSI3.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-JM7EOPYb.js → CompanyOfficerDetailsSection-CNxtAkKM-D2joEvpM.js} +8 -8
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-BfQft15t.js → CompanyPassportCard-DMRQkRPb-BLaDLsxp.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-QtfQkOgs.js → CompanyPassportPage-D3XvbSF_-BPFOIUV0.js} +16 -16
- package/dist/assets/{CompleteProfile-BqjXO5ze-BVANkRD5.js → CompleteProfile-BqjXO5ze-fJjklbCs.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-pKVn1Zt5.js → ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-BsYkqMbG.js → CreateOrEditVendorPage-FrGRJxMy-lyDeY9QD.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-rvm5_a2M.js → CreditCardPaymentDrawerPage-BvifQpD3-CJD0XzyN.js} +6 -6
- package/dist/assets/{CurrencySelectField-ClOg6nnS-Cnr3YkBv.js → CurrencySelectField-ClOg6nnS-wUZ5kAZB.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DMbpslbv.js → CustomerOnboardingActivationPage-Du-zzeL2-DGgRqDAq.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-ly2XWpHL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-DZVW17dp.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-Dah0hLGQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-C8ENw_2g.js → CustomerOnboardingNoStepsPage-BsKoqUta-D3bS1mcO.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-0ltubWJk.js → CustomerOnboardingPage-DUMQKVfM-C7dz_0GY.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-Brs1Bm9U.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CiyIz1Ai.js} +5 -5
- package/dist/assets/{Dashboard-CdYlvep--C2xiBWGf.js → Dashboard-CdYlvep--B2Vkh5DQ.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-ZzS_4DbW.js → DashboardReportPage-c6q027Qp-B9wSLZAf.js} +16 -16
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-DO3K14XB.js → DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-DQfKwDtZ.js → DepositAccTransactionItem-D8kL8enp-J-22cTZM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BS-OReem-CrvBML8Q.js → DepositAccTransactionListPage-BS-OReem-Daf8x2X1.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-BZAEhYC3.js → DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-_3KxAqK4.js → DownloadOverlay-Dr4uLNpZ-PWDmhVak.js} +38 -38
- package/dist/assets/{DrawerPage-CbKBsc7w-7kpCQGH8.js → DrawerPage-CbKBsc7w-BANqCEyN.js} +1 -1
- package/dist/assets/{EditPeoplePage-BgsR09q8-YfoObQW1.js → EditPeoplePage-BgsR09q8-DQro3ypx.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-DvpBdlkg.js → EditReimbursementDetailPage-BTrwOX_s-Bpc20RR2.js} +25 -25
- package/dist/assets/{EntityDetailPage-Cvd4MG0F-ZDX--4dV.js → EntityDetailPage-Cvd4MG0F-Uu1ExrMV.js} +1 -1
- package/dist/assets/{EntitySummarySection-BIV9aAq2-DSoSDfHH.js → EntitySummarySection-BIV9aAq2-CUHksODf.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-OLmj-clQ.js → ExpenseAutomationOverviewPage-B5MtjO2p-B5sSDEu8.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-DSaMh9BZ.js → ExpenseAutomationPage-DW6Pxoah-DpT-FAIA.js} +62 -62
- package/dist/assets/{ExpressPayPage-DnpQuDmt-CuecqGBU.js → ExpressPayPage-DnpQuDmt-CY033VTz.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-BzM8qDQI.js → FeaturePreviewPage-BmwBZ7ZP-kerQig1g.js} +1 -1
- package/dist/assets/{FollowStepsSection-B2I9SddL-B9ISQuf-.js → FollowStepsSection-B2I9SddL-BxrnE678.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-bCzUhauh.js → GlobalReviewListPage-D3GCP5Xd-Bht9J0K_.js} +6 -6
- package/dist/assets/{InformationCardStack-mEhasBqu-MnmadQgE.js → InformationCardStack-mEhasBqu-BZ_Gox0K.js} +1 -1
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-w9iVNjOS.js → InsightsCardStack-Mj7QcQnH-CT4vpE1x.js} +1 -1
- package/dist/assets/{InsightsSection-B3xD0SZ9-CtB9l6g9.js → InsightsSection-B3xD0SZ9-CKtY4Hiz.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-CFVHIylV.js → IntegrationsSettingsPage-CsI_agJB-CclnkA74.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-DaN3QXGf.js → InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-CZa6BkZb.js → InternationalWireVerificationPage-DG9Enrpo-DEQAkYYx.js} +11 -11
- package/dist/assets/{InviteFormPage-DK6X9Zwi-57NKh16b.js → InviteFormPage-DK6X9Zwi-DR66hPVd.js} +1 -1
- package/dist/assets/{InvitePageListView-CwKbcKlM-DEEV83h1.js → InvitePageListView-CwKbcKlM-BOO2EOMw.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BqzJOjVI-bufXErI1.js → InvitePeoplePage-BqzJOjVI-hAq8wZOI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-zGBNoDhJ.js → InvoiceUploadSection-CokNNkKu-CL4OwcxH.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-2SCD9IjH.js → IssueChargeCardPage-CRtJDmrZ-CFmNSL2f.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-lh4MyI8q.js → LabeledAddressValue-BhwrrtZX-BVe1F8jA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-CVmcFCuL.js → LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-DiUrfDZv.js → LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-e_gzDVel.js → LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js} +1 -1
- package/dist/assets/{LabeledDocumentField-p3pI5qLu-BpHx3wM1.js → LabeledDocumentField-p3pI5qLu-I9C3lX6x.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-CDrN8oV2.js → LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js} +1 -1
- package/dist/assets/{LabeledText-Db46hFZY-ZpSE14Xk.js → LabeledText-Db46hFZY-CvrCjgF_.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CrNtOmbd.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-f0PElM5i.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-ByksgDAC.js → LabeledZeniRolesDropDownField-Docjgj8Y-C6xxx7IQ.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-BCB3zTz9.js → LinkJETransactionPage-BZSRaZqY-9NIG46T3.js} +6 -6
- package/dist/assets/{LockCardPage-KTyESoXL-Do9Bp07f.js → LockCardPage-KTyESoXL-C_hGUeR9.js} +12 -12
- package/dist/assets/{LowBalancePopup-B0BDCEui-GkcadyQj.js → LowBalancePopup-B0BDCEui-BMVW4mzF.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-C2ShsQ5E.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-B5PAHJHU.js → MagicLinkDomesticWireDetailsPage-CDB2igue-CMZ17cvq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-DJsJrwdj.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-DZt4WyHf.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-Br2ktzLe.js → MagicLinkSuccessPage-DNVe2qMu-BMSr-yiU.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-Di58AkiA.js → MagicLinkTitleSection-CWw516D8-CjWjg4GW.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CugAM90r-CKMbSrBC.js → MailingDetailsSection-CugAM90r-CMuXq6mA.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-BavKt1PZ.js → Menu-CGN2qO6T-CKP1jX2H.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-s0_zy8mz.js → MyBankConnectionsSettingsPage-CQUfVa0r-9xTXMtPS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-FPw-YJRK.js → MyPendingActivationChargeCardListPage-TOQWRGjp-DCcWmjzI.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-BSTkZT7y.js → MyProfileSettingsPage-lCG03Uoh-DnrGHNt2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DLLvivn4-B4wus8BB.js → NavBarWithPicker-DLLvivn4-6K-3U9T7.js} +1 -1
- package/dist/assets/{NavigationArrow-B4j2t8Qu-I1tY1ram.js → NavigationArrow-B4j2t8Qu-C8IxiTof.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-DUFU9pI4.js → NavigationDots-DyMqwpgy-DXf5bt3G.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-Bgk-R_8-.js → NewGlobalMerchantPage-Bx7iBsCP-DGrKqfpE.js} +1 -1
- package/dist/assets/{NoDataChart-Ce1_TZ5w-D3OEJqVU.js → NoDataChart-Ce1_TZ5w-BfNH_4T8.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-BocZJJ0_.js → NoDataTable-l2T5Hw3t-Bh_N31mD.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-DYqWaTYB.js → NotFoundPage-msdN-Eu6-BKPOdh9t.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DaKenjvb.js → NotificationSettingsPage-_ovcjr8E-Bj-DE2Dk.js} +15 -15
- package/dist/assets/{NotificationsListConfig-BJm7A9Mz-B1bUr4jp.js → NotificationsListConfig-BJm7A9Mz-Dg3_VsE9.js} +1 -1
- package/dist/assets/{NotificationsPage-Ddxb5kE0-DZUgUKAm.js → NotificationsPage-Ddxb5kE0-DzIBWdK5.js} +13 -13
- package/dist/assets/{OpExByVendorPage-BLAHey0l-Bvld9G1i.js → OpExByVendorPage-BLAHey0l-neBDRa7k.js} +4 -4
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-BZc1jNiE.js → OverlayContainerPage-CrZuT2Jj-DMNYxA7f.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--CxOY2hjk.js → PandLWithForecastPage-B7Z73Sq--BDluLKs7.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DPhW5Sbo.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-Cgju1Qqc.js} +1 -1
- package/dist/assets/{PeoplePage-BHRFiM0D-Dz2giOXs.js → PeoplePage-BHRFiM0D-FOmgjcav.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-oPFxud0a.js → ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js} +1 -1
- package/dist/assets/{PromoBaseCards-CI7UOpeY-DSvwfl16.js → PromoBaseCards-CI7UOpeY-DI52WXKx.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-CNNQde90.js → QBOConnectionDialog-D7MeKn1t-DelTIGIf.js} +4 -4
- package/dist/assets/{QBOSetupSection-DWhfA4Xv-DYYPH7Pl.js → QBOSetupSection-DWhfA4Xv-kSdJytyB.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-B0mAq5_-.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-Dc_LvsYr.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-DfQkh2sN.js → ReimbursementApprovalRulesPage-B5lca4qx-DAjvVIOI.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-BbuWUy3N.js → ReimbursementDetailPage-COIRwy7i-W0eUs7nE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-9396bQ9z.js → ReimbursementPromoPage-Bjm0UHcm-Crjakfj5.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-6GKMqjZm.js → ReimbursementSetUpPage-CMYR8CcH-B6Pjnu_N.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CHdDYICO.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Qu76KNt7.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-BUZQgyMC.js → ReloadCard-B2sJR97f-4aiyry-A.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-_IO343vS-DPhVSmcQ.js → ReportTableViewSelector-_IO343vS-DFegVWwX.js} +1 -1
- package/dist/assets/{ReportsPage-C-aQ1bdd-B_xkTwrl.js → ReportsPage-C-aQ1bdd-DQkYUdHM.js} +5 -5
- package/dist/assets/{RevenueChart-Bgq6My4J-Dt6XAZjz.js → RevenueChart-Bgq6My4J-Bd7qmjtO.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-COx9R71r-B7xkHaMk.js → ReviewDetailsPage-COx9R71r-BNEXmQ6j.js} +1 -1
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-L4td8Zqd.js → ReviewOverlay-CPU7RPiJ-LkDgAnlD.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-BjW_p5Ey.js → RoleWithToolTip-DSSGBzvw-1jeqwzcs.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-BIQ3dSHo.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-DIiqwEOV.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-BuuquQqY.js → ScheduleDetailsPage-B-fKJ7Ct-DSkiCN2O.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-CIlJaOtf.js → ScheduleSequenceTable-Dh_aT47H-BHM_c04w.js} +15 -15
- package/dist/assets/{ScreenRoutes-C6VP09xT.js → ScreenRoutes-DuXEW70Q.js} +48 -48
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-C-3Yhp84.js → SetUpAccountSection-DrMCC1IY-D33epaX0.js} +4 -4
- package/dist/assets/{SignIn-Ij6tlYI5-CCumTqCW.js → SignIn-Ij6tlYI5-DeE6t8Fq.js} +7 -7
- package/dist/assets/{SignInScreen-DJ4Bo1S_.js → SignInScreen-LCpnq8M3.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-AI676Urw-Bz122sOj.js → SpendManagementListViewPage-AI676Urw-DJru7ByR.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-rmjY-vmf.js → SpendManagementPerTabPage-D79c3Xqh-D8DfakVn.js} +1 -1
- package/dist/assets/{SpendManagementSection-BqWbsmBW-td2Sn0pd.js → SpendManagementSection-BqWbsmBW-BhpclPa8.js} +7 -7
- package/dist/assets/{StatementItem-Aal79YaO-XQmaXixd.js → StatementItem-Aal79YaO-3cBWg-5i.js} +1 -1
- package/dist/assets/{StatementsPage-BG_pNQzc-dvNXNLMV.js → StatementsPage-BG_pNQzc-C7UMTTVJ.js} +1 -1
- package/dist/assets/{StatusSwitcher-DYRXaLvx-DnQc7FsU.js → StatusSwitcher-DYRXaLvx-GT20DbHu.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-UKyrqTMF.js → SubTabSwitcher-C75XU1EG-BZOngUzL.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-DEAiBXSy.js → SummaryCard-DEnzgi31-BhOErS-o.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-B7bDEupg.js → TaskManagementPage-BacWm0wS-tQV5bDZ1.js} +12 -12
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-Bz_-4Vd_.js → TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-BbnNXYMm.js → TimeframeSwitcher-BVgI_VZw-Re-kZX07.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-PHeDWcYh.js → TimeframeSwitcherWithToggle-CPVSAvFa-Bg7OmG92.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-DLryJPJU.js → TopExCard-ImUx-vXr--haKJkNG.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-RpIGLliz.js → TopExDetailPage-Dg_8DQk8-4TF178rD.js} +2 -2
- package/dist/assets/{TransactionDetailPage-BzaDB50S-DF5gn3Ir.js → TransactionDetailPage-BzaDB50S-CJmLmWoQ.js} +31 -31
- package/dist/assets/{TransactionList-DMd3dgoK-CBav3Qka.js → TransactionList-DMd3dgoK-DFvlE42h.js} +5 -5
- package/dist/assets/{TransactionListBig-BxHqh8u6-BYNOxGT0.js → TransactionListBig-BxHqh8u6-eMcF_DZh.js} +1 -1
- package/dist/assets/{TransactionListPage-CN9fZznd-Cy5ZEf_j.js → TransactionListPage-CN9fZznd-DZJjs91-.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CykcquSh-DmB7J4Ve.js → TransactionVendorDetailPage-CykcquSh-UwSp0CrJ.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oV7ickRP-Bq_Xcqnx.js → TransferDrawerPage-oV7ickRP-yOers3_6.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-BzVtu32L.js → TreasuryOverviewPage-CECDKjNn-HTBJsJ5M.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-YS83Frko.js → TreasuryPromoPage-Bgt7uGAE-oIwaWu5X.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-QyWxshsI-CQPDqfyA.js → TreasuryStatementsPage-QyWxshsI-BxKUXQKE.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-CSvnMnxI.js → TreasuryTaxLetterPage-BLmfU0VD-CZkFVEWV.js} +1 -1
- package/dist/assets/{TrendChart-C_6ob-SX-D7KWuN6Y.js → TrendChart-C_6ob-SX-BWR7UfmP.js} +2 -2
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-KD4WKX16.js → TrendWithTransactions-lMD2sZ-C-B_BL8w82.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-01TUtrQ3.js → UncategorizedAccountsMappingPage-DEgz17_R-CooBTMrf.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-BOLWJuwD.js → UnitIntegrationPage-D9Pzxqju-CvrKT10L.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D_FvrAyp.js → UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--B3f5wBDW.js → Vendor2FAPopup-D-r0NVE--CwiNcgO0.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-OnrOc4ob.js → VendorACHDetailsPage-Dv6bTD6Y-13eGKSpU.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-n1Xsq3nw.js → VendorDetailPage-BhfawsBd-Caqe1lVz.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-CKSdgGUn.js → VendorDomesticWireDetailsPage-BjmlrfTQ-t6Qb8_Zl.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-DLw68imQ.js → VendorFiling1099EditablePage-glvi0GTU-Ctoy4jdk.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-UIFfUs4N.js → VendorFirstReviewPage-DUuUM8ZT-CU9frkxN.js} +23 -23
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-CCF4TMxK.js → VendorInternationalWireDetailsPage--Lb-TviQ-DUgeyPBL.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-D3kLFHcQ.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-CuCByIJB.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-CEeuSUbZ.js → VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js} +2 -2
- package/dist/assets/{VerifyDevice-DE3UbLEe--Pskj1Mq.js → VerifyDevice-DE3UbLEe-DJm7Kfur.js} +1 -1
- package/dist/assets/{VideoPlayer-Gw_PLr8F-BcXYYheO.js → VideoPlayer-Gw_PLr8F-BcD3Qyt1.js} +2 -2
- package/dist/assets/{VideoPopup-DPZYhLgy-DukYJkLb.js → VideoPopup-DPZYhLgy-CJt98Dbq.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-BXOU7iCW.js → WarningsDrawerPage-CZvToguS-Ba7pscqf.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-HKLobKLw.js → ZeniAccountDetailPage-CQhqngBz-CmRc3epW.js} +6 -6
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-D5cFrlFO.js → ZeniAccountListViewPage-CpX8vqYa-CrcimjI_.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DUllEiZw.js → ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-C3rU7vC2.js → ZeniAccountPromoPage-DA611IgH-CipxvQgU.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-D14nFBbc.js → ZeniAccountSetupPage-CJv2Fk1i-BEZSbbPm.js} +3 -3
- package/dist/assets/{ZeniCopyright-FFqiWypL-DffEEOor.js → ZeniCopyright-FFqiWypL-DiiU36pR.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BK28gg1V.js → ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js} +1 -1
- package/dist/assets/{analytics-CThNEnNw.js → analytics-XaDXTZcq.js} +1 -1
- package/dist/assets/{analyticsHelper-DZktPTuO.js → analyticsHelper-CPNXs_BN.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-DIUzCxU0.js → analyticsHelper-CczQLvkM-BG3MqU2b.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-BvppJ7T_.js → chartTypes-CwQl8aoN-DVag5uGx.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-C0I2HTNT.js → commonDimensions-B1u_MhON-D3_HfKhE.js} +1 -1
- package/dist/assets/{dash.all.min-BUPngCw6.js → dash.all.min-DBAY9LgI.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-Uo4bq2Po.js → detailCommon-nYxvvV_i-CatRpXM4.js} +1 -1
- package/dist/assets/{downloadPdf-yGlKpV2--C-eO59Y8.js → downloadPdf-yGlKpV2--PjZSq5HD.js} +1 -1
- package/dist/assets/{epic-Bko4IStj.js → epic-BLwHhkRJ.js} +2 -2
- package/dist/assets/{index-KtBRorGi.js → index-CEtuJXY3.js} +1 -1
- package/dist/assets/{index-BxXAQ-Kq.js → index-CdTBIE6I.js} +1 -1
- package/dist/assets/{index-DKkab5BS.js → index-Ci63exms.js} +6 -6
- package/dist/assets/{index-BV-YAw0P.js → index-DYDdrdFx.js} +1 -1
- package/dist/assets/{index-CwsnnJzI.js → index-DrmeEdvK.js} +1 -1
- package/dist/assets/{liveblocks-B3KbWbMM.js → liveblocks-CNYVvsag.js} +1 -1
- package/dist/assets/{lottie-CaGAfnTY.js → lottie-22bRan8M.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-xsS0oiYX.js → mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CG4Donkj.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-DvFYvzSg.js → mapSpacerToTreeNode-DOEVwUIo-DiQ0KiMB.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DwP6n0dB.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DvZ_ljbo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-C5viXNzP.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-u1VbFdjk.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DI0_1Fs5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js} +1 -1
- package/dist/assets/{react-C2wGlvWj.js → react-BUQtf2po.js} +2 -2
- package/dist/assets/{recharts-CXSQ4XPK.js → recharts-h5iNQbFd.js} +1 -1
- package/dist/assets/{sentry-DxvQlcJu.js → sentry-cYFeB6Pw.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-BoVabqyh.js → toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-BVDbQmqa.js → toChartData-C-dHC-Oz-CLJWjMkx.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-BH3cXou6.js → uploadAttachment-D3clfqPu-NbmOED_L.js} +15 -15
- package/dist/assets/{uploadReceipts-Bkf_PaOH-BF2MpIUs.js → uploadReceipts-Bkf_PaOH-DuaAGaHX.js} +1 -1
- package/dist/assets/{url-DuX7Wo4B.js → url-B-8T_WZb.js} +1 -1
- package/dist/assets/{url-y5lCWhwX.js → url-DPKHmOp_.js} +1 -1
- package/dist/assets/{utils-C70QTjQC.js → utils-fBOyu0sO.js} +1 -1
- package/dist/assets/{zeni-epic-state-xFtF3OLs.js → zeni-epic-state-BwKvATgd.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BhIGD0MP.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-KhP9qsWJ.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-B16BKcOV.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as D,a7 as M,av as U,d as W,F as V,V as e,bz as A,o as t,aK as
|
|
1
|
+
import{Q as D,a7 as M,av as U,d as W,F as V,V as e,bz as A,o as t,aK as y,bl as H,fs as I,ak as _,ae as N,p as l,b as k,ah as R,c as Z,E as J,ap as K,aZ as Q}from"./index-Ci63exms.js";import{a as n}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{Fy as X}from"./zeni-epic-state-BwKvATgd.js";import q from"./ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js";import{T as G}from"./ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),Ue=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=D(),x=M().analytics,f=U(),S=f.loggedInUser,a=f.currentTenant,[w,z]=n.useState(!1),{handleLogOutClick:P,onZeniLogoClick:T,handleCockpitClick:E}=L,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=B;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},F=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,X(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>F(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:S,currentTenant:a,onLogOutClick:P,onCockpitClick:E})}),e.jsx(I,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:z})]})})]})}),e.jsx(q,{showConfetti:$})]})},te=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -83,8 +83,8 @@ import{Q as D,a7 as M,av as U,d as W,F as V,V as e,bz as A,o as t,aK as k,bl as
|
|
|
83
83
|
display: flex;
|
|
84
84
|
align-items: center;
|
|
85
85
|
justify-content: center;
|
|
86
|
-
width: ${
|
|
87
|
-
height: ${
|
|
86
|
+
width: ${k.largeRegular.lineHeight};
|
|
87
|
+
height: ${k.largeRegular.lineHeight};
|
|
88
88
|
border-radius: 50%;
|
|
89
89
|
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
90
|
background-color: ${l.brandColorPearl};
|
|
@@ -166,14 +166,14 @@ import{Q as D,a7 as M,av as U,d as W,F as V,V as e,bz as A,o as t,aK as k,bl as
|
|
|
166
166
|
cursor: default;
|
|
167
167
|
`,we=i.div`
|
|
168
168
|
display: flex;
|
|
169
|
-
`,
|
|
169
|
+
`,ye=i(N)`
|
|
170
170
|
height: ${t.sp4};
|
|
171
171
|
width: 102px;
|
|
172
172
|
color: ${o=>o.theme.colors.primary};
|
|
173
173
|
cursor: pointer;
|
|
174
174
|
flex-shrink: 0;
|
|
175
175
|
margin-left: -${t.sp5};
|
|
176
|
-
`,
|
|
176
|
+
`,ke=i(Y)`
|
|
177
177
|
width: ${t.sp4};
|
|
178
178
|
min-width: ${t.sp4};
|
|
179
179
|
height: ${t.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as ge,V as e,aw as Pt,ax as Ut,ay as Ot,o as a,az as Tt,x as MA,aA as Ht,aB as se,aC as Yt,aD as Kt,aE as Nt,aF as Gt,aG as zt,aH as Wt,aI as P,F as I,Q as $,aJ as Y,aK as y,aL as H,aM as q,u as S,a8 as qt,aN as Te,_ as He,ab as Xt,aO as Vt,y as Z,aP as K,aQ as _,al as AA,aR as Ye,aS as J,aT as U,aU as HA,p as f,an as Zt,d as iA,aV as $t,aW as YA,aX as _t,aY as Ar,aZ as er,ag as F,a_ as SA,ap as KA,ak as RA,a$ as Ke,b0 as Ne,b1 as Ge,b2 as tr,b3 as NA,B as rr,M as or,b4 as ar,b5 as ze,b6 as ir,b7 as gr,b8 as GA,b9 as Cr,ba as nr,bb as sr,bc as Er,A as We,b as dr,bd as Br,s as Qr,be as qe,bf as Xe,am as lr,bg as Ir,ah as cr,as as Ve}from"./index-
|
|
1
|
+
import{av as ge,V as e,aw as Pt,ax as Ut,ay as Ot,o as a,az as Tt,x as MA,aA as Ht,aB as se,aC as Yt,aD as Kt,aE as Nt,aF as Gt,aG as zt,aH as Wt,aI as P,F as I,Q as $,aJ as Y,aK as y,aL as H,aM as q,u as S,a8 as qt,aN as Te,_ as He,ab as Xt,aO as Vt,y as Z,aP as K,aQ as _,al as AA,aR as Ye,aS as J,aT as U,aU as HA,p as f,an as Zt,d as iA,aV as $t,aW as YA,aX as _t,aY as Ar,aZ as er,ag as F,a_ as SA,ap as KA,ak as RA,a$ as Ke,b0 as Ne,b1 as Ge,b2 as tr,b3 as NA,B as rr,M as or,b4 as ar,b5 as ze,b6 as ir,b7 as gr,b8 as GA,b9 as Cr,ba as nr,bb as sr,bc as Er,A as We,b as dr,bd as Br,s as Qr,be as qe,bf as Xe,am as lr,bg as Ir,ah as cr,as as Ve}from"./index-Ci63exms.js";import{a as t,w as k,c as hr}from"./core-3dlyNYRL.js";import{n as g,d as pr,b as pA,k as R}from"./mui-bYXq4XMS.js";import{bh as mr,bj as Ze,Er as $e}from"./zeni-epic-state-BwKvATgd.js";import{v as ur}from"./DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js";import{L as xr,k as fr}from"./ArAgingChart-Am7LTkqG-CEoxIo8X.js";import{E as wr,T as Ce,I as _e}from"./ReloadCard-B2sJR97f-4aiyry-A.js";import{L as kr,O as LA,c as dA}from"./TopExCard-ImUx-vXr--haKJkNG.js";import{Y as Dr,X as yr,H as jr,G as vr,P as br}from"./RevenueChart-Bgq6My4J-Bd7qmjtO.js";import Mr from"./InsightsCardStack-Mj7QcQnH-CT4vpE1x.js";import{a as Sr}from"./AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js";import{c as X}from"./SummaryCard-DEnzgi31-BhOErS-o.js";import{t as Rr,o as Lr}from"./arrow-south-east-round-PEovUgvH-7DsZUZDF.js";import{N as aA}from"./NavigationArrow-B4j2t8Qu-C8IxiTof.js";import{k as zA}from"./NavigationDots-DyMqwpgy-DXf5bt3G.js";import Fr from"./CompanyPassportCard-DMRQkRPb-BLaDLsxp.js";import{C as Jr}from"./gift-box-Cmt9OgIZ-CvUdutGd.js";import Pr from"./InformationCardStack-mEhasBqu-BZ_Gox0K.js";import{p as At}from"./chartTypes-CwQl8aoN-DVag5uGx.js";import{h as Ur}from"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import{V as Or}from"./toChartData-C-dHC-Oz-CLJWjMkx.js";import{r as Tr,i as Hr}from"./graphic-no-data-net-burn-l-CzmycA0m-DcAe6xm4.js";import{N as Yr,J as Kr}from"./PromoBaseCards-CI7UOpeY-DI52WXKx.js";import{N as Nr,I as Gr}from"./VideoPlayer-Gw_PLr8F-BcD3Qyt1.js";import zr from"./ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js";import{A as Wr,a as qr,Y as Xr,X as Vr,R as Zr}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const $r=g(_)`
|
|
2
2
|
color: ${A=>A.theme.colors.champion};
|
|
3
3
|
`,Ee=g.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as
|
|
1
|
+
import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o as d,y as L,aA as J,bB as Ke,bC as et,ag as oe,u as j,b1 as tt,aS as st,bD as ot,_ as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-Ci63exms.js";import{a as y,w as K}from"./core-3dlyNYRL.js";import{n as u,k as Ne}from"./mui-bYXq4XMS.js";import{bh as mt,Et as ht,DV as ft,Eu as bt,Ev as xt,Ew as _t,Ex as wt,Ey as St,Ez as yt,EA as vt,EB as Ct}from"./zeni-epic-state-BwKvATgd.js";import{m as Y,l as se}from"./analyticsHelper-CczQLvkM-BG3MqU2b.js";import{h as $t,u as jt}from"./ReportTableViewSelector-_IO343vS-DFegVWwX.js";import{q as kt}from"./InsightsSection-B3xD0SZ9-CKtY4Hiz.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-nYxvvV_i-CatRpXM4.js";import{P as Pt,G as Nt,Y as _e,X as we,H as Se}from"./RevenueChart-Bgq6My4J-Bd7qmjtO.js";import{C as Lt}from"./NoDataChart-Ce1_TZ5w-BfNH_4T8.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as It}from"./TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js";import{b as Le}from"./TimeframeSwitcher-BVgI_VZw-Re-kZX07.js";import{I as Rt,R as F,x as Dt,l as ue,D as zt}from"./CollapsableReportTable-Crihcv_z-B6sIoSI3.js";import{S as Tt,M as At,g as Mt,C as te,L as Ie,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js";import{d as Et}from"./NoDataTable-l2T5Hw3t-Bh_N31mD.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./NavigationDots-DyMqwpgy-DXf5bt3G.js";import"./chartTypes-CwQl8aoN-DVag5uGx.js";import"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import"./toChartData-C-dHC-Oz-CLJWjMkx.js";import"./AccountRow-Ck53DDbT-BeebPIea.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.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"}),y.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"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.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"}),y.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"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.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;
|
|
@@ -21,12 +21,12 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
21
21
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
22
|
`;function Xt({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(qt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Qt=u.div`
|
|
23
23
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
-
`;function
|
|
24
|
+
`;function Jt({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(Qt,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const Kt=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((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(
|
|
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(Kt,{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};
|
|
@@ -36,7 +36,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
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((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(
|
|
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(Jt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Xt,{highlightedRangeReport:e});default:return null}},Q={wrapperPadding:new L(j[3],j[3],j[8]),chartHeight:new L(288,360)},ls=u.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex: 1 1 auto;
|
|
42
42
|
flex-direction: column;
|
|
@@ -94,7 +94,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
94
94
|
justify-content: flex-end;
|
|
95
95
|
width: 100%;
|
|
96
96
|
padding: ${d.sp3} ${d.sp4};
|
|
97
|
-
`,
|
|
97
|
+
`,Ee=u.div`
|
|
98
98
|
color: ${e=>e.theme.colors.hero};
|
|
99
99
|
width: ${d.sp3};
|
|
100
100
|
height: ${d.sp3};
|
|
@@ -167,7 +167,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
167
167
|
max-width: 330px;
|
|
168
168
|
margin: auto;
|
|
169
169
|
color: ${D.primaryDark};
|
|
170
|
-
`,
|
|
170
|
+
`,Fe=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
173
|
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
|
|
@@ -197,7 +197,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,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(Ss,{children:[s.jsx(ys,{}),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=ze[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(
|
|
200
|
+
`,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),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=ze[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{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})]})]})})]})},Ns=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=ze[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{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 Ls(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Ns,{...e})}const de="ZeniSwitch",T={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Is=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...T}}),Rs=u(Is)(({theme:e})=>({[`& .${T.switchBase}`]:{color:e.colors.grey2},[`& .${T.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${T.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${T.switchBase}.Mui-checked + .${T.track}`]:{backgroundColor:e.colors.grey1},[`& .${T.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${T.switchBase}.Mui-disabled + .${T.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ye=u.div``,Ds=u.div`
|
|
201
201
|
min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
|
|
202
202
|
&:hover {
|
|
203
203
|
.info-tooltip {
|
|
@@ -222,7 +222,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
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
|
-
`,Ms=u.div``,
|
|
225
|
+
`,Ms=u.div``,Es=u.div``,Fs=u(ut)`
|
|
226
226
|
display: flex;
|
|
227
227
|
color: ${D.alert};
|
|
228
228
|
`,Vs=u(gt)`
|
|
@@ -263,18 +263,18 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
263
263
|
top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
264
|
`,Zs=u(it)`
|
|
265
265
|
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function qs({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]=y.useState(l(t));return
|
|
266
|
+
`;function qs({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]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Ys,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Xs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Xs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(rt)`
|
|
267
267
|
height: ${d.sp3};
|
|
268
268
|
width: ${d.sp3};
|
|
269
269
|
`,m=u(ct)`
|
|
270
270
|
height: 12px;
|
|
271
271
|
width: 12px;
|
|
272
272
|
margin-left: 6px;
|
|
273
|
-
`,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,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(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(zs,{children:[s.jsxs(Ts,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Gs,{isValid:b.data.isValid}),s.jsx(
|
|
273
|
+
`,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,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(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(zs,{children:[s.jsxs(Ts,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Gs,{isValid:b.data.isValid}),s.jsx(Es,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.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,C)=>({...b,color:C.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:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(lt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Qs=u.div`
|
|
274
274
|
display: flex;
|
|
275
275
|
width: 100%;
|
|
276
276
|
flex-direction: column;
|
|
277
|
-
`,
|
|
277
|
+
`,Js=u.div`
|
|
278
278
|
display: flex;
|
|
279
279
|
width: 100%;
|
|
280
280
|
flex-direction: row;
|
|
@@ -285,7 +285,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
285
285
|
justify-content: center;
|
|
286
286
|
padding-left: ${e=>ve.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
287
|
padding-bottom: ${e=>ve.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
-
`,
|
|
288
|
+
`,Ks=u.div`
|
|
289
289
|
display: flex;
|
|
290
290
|
width: 100%;
|
|
291
291
|
flex-direction: row;
|
|
@@ -306,10 +306,10 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
306
306
|
`,Ye=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(Ye,{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(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{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(Qs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(
|
|
309
|
+
`,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{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(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{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(Qs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ks,{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(Js,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{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: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 S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),F=a.mode,I=a.selectedForecast;y.useEffect(()=>{F==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,F,S]),y.useEffect(()=>{F==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const W=(v,$,G)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};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(Y(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 $=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),Y(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,$)=>W("forecast_mode",!1,{id:v,index:$}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,C?null:s.jsx(It,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,$)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(v,$)=>{const G=Ot(c,v.fromEnd),q=Bt(c,$);Ce(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(G,q)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(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 $e({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=zt(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,S)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===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 A({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=A({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=$e({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=A({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=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(St(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(yt(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=A({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})):Ct(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=A({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,S)=>{o.push(Tt({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:S===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=A({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)=>At({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,S)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===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=A({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(Ie({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=A({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=So(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const So=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 L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},yo=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 S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const W=(v,$,G)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};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(Y(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 $=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),Y(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,$)=>W("forecast_mode",!1,{id:v,index:$}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,C?null:s.jsx(It,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,$)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(v,$)=>{const G=Ot(c,v.fromEnd),q=Bt(c,$);Ce(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(G,q)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(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:F("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=F("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 $e({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=zt(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,S)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===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 A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("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=A({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=$e({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??F("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=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("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=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(St(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(yt(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=A({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})):Ct(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=A({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=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(Tt({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:S===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=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("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)=>At({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,S)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===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=A({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(Ie({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=A({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=So(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const So=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 L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},yo=u.div`
|
|
313
313
|
width: 100%;
|
|
314
314
|
height: calc(100vh - 70px);
|
|
315
315
|
`,vo=u.div`
|
|
@@ -323,7 +323,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,o
|
|
|
323
323
|
position: absolute;
|
|
324
324
|
padding-top: ${d.sp3};
|
|
325
325
|
background-color: ${e=>e.theme.colors.grey4};
|
|
326
|
-
`,$o=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,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),Y(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[N],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,
|
|
326
|
+
`,$o=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,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),Y(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[N],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&m?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:$.bookCloseDate,firstMonthOfFY:$.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!J(H,$)||e.isPageFetchInProgress===!0){const N=jo($,O,I,e.isPageFetchInProgress);E($),M(N)}else{const N=wo(P,O,$,I);M(N)}},[W,C,$,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,N)=>{h(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{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",X={chartWidth:"100%",barCount:8,barWidth:new L(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=X.chartWidth,barCount:n=X.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||X.maxBarHeight)*l,width:X.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(No,{children:s.jsx(Ke,{speed:2,width:X.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};
|
|
@@ -368,4 +368,4 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Ke,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]=y.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:S,timeframe:b,selectedAdditionalBalances:C,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),
|
|
371
|
+
`,ba=e=>{const t=B(),a=Z(),[n,i]=y.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:S,timeframe:b,selectedAdditionalBalances:C,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),Y(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[h,k,o.filter,n,P,S,o,l,b,g,f,H,E,e.isZeniCOAUsed]);const I=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";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,C,z)},[t]);const $=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:q,scrollPosition:ae,...O}=e,N=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(Lo,{children:[s.jsx(qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Xe,{size:"Standard",start:!0})}):I?s.jsx(Gt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Io,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(zo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(To,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},zo=K.memo(cs,J),To=K.memo(ps,J),Ao=K.memo($o,J),Mo=K.memo(co,J);export{ba as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aW as m,V as a,b3 as p,o as u}from"./index-
|
|
1
|
+
import{aW as m,V as a,b3 as p,o as u}from"./index-Ci63exms.js";import{a as o}from"./core-3dlyNYRL.js";import{d as x,n as b}from"./mui-bYXq4XMS.js";const v=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:i=!1}){const s=x(),r=e||i,l=i?"DashboardNewYearShow":"DashboardChristmasSnow",[t,d]=m(l,r),[n,c]=o.useState(null);t!=null&&n==null&&!d&&c(t);const h=e&&s.mode==="light"?.7:.2;return(e||i)&&n!=null?a.jsx(f,{contextWiseOpacity:h,newYearAnimationEnabled:i,children:a.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:i?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),f=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aL as $,ht as u,Q as y,V as l,o as i,ak as d,al as c}from"./index-
|
|
1
|
+
import{aL as $,ht as u,Q as y,V as l,o as i,ak as d,al as c}from"./index-Ci63exms.js";import{n as t}from"./mui-bYXq4XMS.js";import{g as k}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as v}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";function J({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(P,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(V,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(W,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
4
4
|
align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as S,Q as z,hC as C,V as e,bz as D,F,b1 as Y,o as r,p as f,cq as E,
|
|
1
|
+
import{d as S,Q as z,hC as C,V as e,bz as D,F,b1 as Y,o as r,p as f,cq as E,dc as L,dd as B,d7 as I,de as R,y as V,ag as A,ak as N,u as g}from"./index-Ci63exms.js";import{a as b}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{bj as P}from"./zeni-epic-state-BwKvATgd.js";import{$ as Q}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as T}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";import{H as q}from"./DepositAccTransactionItem-D8kL8enp-J-22cTZM.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const n=F.getLocalizedStrings(),H={listItemMargin:new V(g[3],g[8])};function X(t){const d=L(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=B(d,o=>o.length>0);return I(m,o=>({date:o[0].transactionDate,transactions:R(o,h=>h.transactionDate,"desc")}))}const _=C(X),pt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=b.createRef(),p=b.useRef(null),l=_(t.transactions),k=t.depositAccountName,x=l.length===0,j=i=>x===!1?l[i].transactions.length*T.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(O,{children:P().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(q,{data:M,boxType:Q(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${k} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(Y,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
|
|
2
2
|
margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
|
|
3
3
|
`,G=a.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Y,a8 as U,F as B,cB as H,aA as Q,V as n,cm as _,cn as q,co as G,ab as J,aO as K,y as u,
|
|
1
|
+
import{Q as Y,a8 as U,F as B,cB as H,aA as Q,V as n,cm as _,cn as q,co as G,ab as J,aO as K,y as u,eR as X,o as Z,b7 as ee,u as a}from"./index-Ci63exms.js";import{a as N}from"./core-3dlyNYRL.js";import{n as h}from"./mui-bYXq4XMS.js";import{bi as T}from"./zeni-epic-state-BwKvATgd.js";import{e as ne}from"./BankAccountSection-C5rYUW3V-B24i3wVy.js";import{j as te}from"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import{T as ie}from"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},w="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",j=e=>`${e}_form`,Ae=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:A,isDisabled:y,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:z,onWireDetailsUpdated:L,onFetchBankName:P,onAddressClick:W,onBackClick:C}=e,l=Y(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[E,p]=N.useState(!1),t=B.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=B.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,F={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(f,m)=>{const d=m[k].bankRoutingNumber;L(m),f===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&P?.(d)};N.useEffect(()=>{const f=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>V(d,m))});return()=>{f.unsubscribe()}});const O=c.handleSubmit(f=>{b.fetchState!=="In-Progress"&&z("wire")}),S=!Q(A!=null?T(A):A,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[E===!0?n.jsx(_,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(q,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:j(w),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:k,isDisabled:y})}),n.jsx(ie,{sectionId:$,isDisabled:y,addressType:x,addressToEdit:r,onAddressClick:W})]})})]}),n.jsx(K,{formId:j(w),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:y!=null},showCancel:!g,cancelBtn:{label:I.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
|
|
2
2
|
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|