@zeniai/web-cockpit-ui 1.14.72-dev-betaSK01 → 1.14.73-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-BZFkcCOG-WfBPHoUX.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-CinUSJg2.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +124 -124
- package/dist/assets/AccountInfoPage-B0uMPZhx-BIQF2gH2.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-10kK72ec.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js +239 -0
- package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
- package/dist/assets/AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +22 -22
- package/dist/assets/AgingReportsPage-Dmgvzu2b-DiSOGn-n.js +79 -0
- package/dist/assets/AllUserItems-BBC-qn-o-D2MAzw4F.js +192 -0
- package/dist/assets/ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-BAK8zLlg.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +5 -5
- package/dist/assets/AppDrawerContent-DKHWPZQW-CEAxNC9t.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js +47 -0
- package/dist/assets/ArAgingChart-CuHk_U2p-D7juYPVe.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DsM43aN0.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CmBLlIS1.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js +425 -0
- package/dist/assets/BillDetailPage-BBQJpRTI-D0MlJ03G.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +7 -7
- package/dist/assets/BillPayPromoPage-CPGYF3vl-DVnbNH0W.js +84 -0
- package/dist/assets/BillPaySetUpPage-CeciDq-c-NzaXshML.js +42 -0
- package/dist/assets/BillingSettingsPage-DknUlTgB-CcR7ugmH.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-CYZK_lth.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +4 -4
- package/dist/assets/BusinessVerificationPage-CWioKmMC--fpYbOGK.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-D70_vfvB.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-D2AlurqK.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +214 -214
- package/dist/assets/ChargeCardListPage-BTH_OAht-CJvC6mTi.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-CcT6S7FA.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +54 -54
- package/dist/assets/ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js +222 -0
- package/dist/assets/ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +4 -4
- package/dist/assets/ChargeCardUtils-Cx6ntaue-CziTslau.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-BQqHx8M-.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +20 -20
- package/dist/assets/CollapsableReportTable-rEGCWPrN-DiziLVLU.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-BhEJq4YF.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
- package/dist/assets/CompanyPassportPage-DQPGAnFq-DsQ6naIu.js +574 -0
- package/dist/assets/CompleteProfile-DJBScNev-5kVXmwEh.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-S4QyIwiq.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-nZHVWMo0.js → CurrencySelectField-yIymL1et-BBkhU934.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +2 -2
- package/dist/assets/CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-C5iZr7Dc.js → Dashboard-hADP7IBB-Bk1vjezx.js} +262 -262
- package/dist/assets/DashboardReportPage-BwTchCvy-O2bBIky3.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js +21 -0
- package/dist/assets/DownloadOverlay-mXe-oklf-DPD6fOSt.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-1UMYAHb7.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +13 -13
- package/dist/assets/EditPeoplePage-DnE5ud-m-STxMbpu_.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
- package/dist/assets/EntityDetailPage-CSR_wxIn-C3ytfDma.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-DQbEIQFx.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
- package/dist/assets/ExpressPayPage-C9rqylRE-fd6R9yCg.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-DJXN60Ac.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-yjJ5FRCa.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +7 -7
- package/dist/assets/GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js +291 -0
- package/dist/assets/HelpButton-38HaKgFL-BugYIsvp.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-BX2LTL8l.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
- package/dist/assets/InsightsCardStack-BI7iTuQ_-DQl2fOce.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-Hi0aN8hq.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +27 -27
- package/dist/assets/{InviteFormPage-CrtH0cSG-eVIYbN0r.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D5qrm4ww.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +164 -164
- package/dist/assets/InvitePeoplePage-CIafIgkR-BdmOchmq.js +12 -0
- package/dist/assets/InvoiceUploadSection-cXNOY5jR-DGuQgS61.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-BMG4Ljit.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-CpxXKm9c.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
- package/dist/assets/LabeledAddressValueField-6MpVMde--DXTq8JS8.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +7 -7
- package/dist/assets/LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-CPDVK04g.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +34 -34
- package/dist/assets/LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-BFAZ4k7o.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +66 -66
- package/dist/assets/LowBalancePopup-BoFHsW5A-B3QtlbXZ.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-_UrE81Sw.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +4 -4
- package/dist/assets/{Menu-B6iTf2H7-Cu2Vb11u.js → Menu-CV1BBSGW-DKOqAYYS.js} +2 -2
- package/dist/assets/MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js +6 -0
- package/dist/assets/MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-i4ObGPrS.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-DolsLofY.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-Cjr25BX_.js → NavigationDots-DarWlthl-CEtLiSj-.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-3CnLxisw.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-VTHrTfOq.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-DUgTbMe0.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-BVRECpS0.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-C0kfEx8A.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
- package/dist/assets/NotificationsPage-CtIcIo4T-DuWbZv_Q.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-PZB-G7xm.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-CSsJiY_P.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +2 -2
- package/dist/assets/PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-BR69e4ui.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +95 -95
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-BZAutCbg.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +35 -35
- package/dist/assets/{ProductsCarousel-CR7_rk0K-CKMGS-I4.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +10 -10
- package/dist/assets/{PromoBaseCards-BAPolzxE-DjUVr5kX.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-DCdAj667.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CX61tnWs.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
- package/dist/assets/ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-_RGkkZLm.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-D0sA8766.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +29 -29
- package/dist/assets/ReportsPage-GTIPR29D-BtSUMj6k.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-BigDcfmP.js → RevenueChart-C099OBIz-BCjETeYD.js} +29 -29
- package/dist/assets/ReviewDetailsPage-Dj29qJWr-znzq99Zm.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-Aab2M4el.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +13 -13
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-aZbK93Nq-BFB854u3.js +37 -0
- package/dist/assets/ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js +324 -0
- package/dist/assets/ScreenRoutes-m-9CX7nW.js +206 -0
- package/dist/assets/SetUpAccountSection-B_VtQMHv-v5HWkW-2.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +15 -15
- package/dist/assets/{SignIn-BlISBvt5-BSeULTEW.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +28 -28
- package/dist/assets/SignInScreen-82F821nF.js +1 -0
- package/dist/assets/SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js +754 -0
- package/dist/assets/SpendManagementSection-v3VQ4WLv-BgJcZL_k.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-DWQxeT2X.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
- package/dist/assets/StatementsPage-BuWUMrMJ-ClESyfR5.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-c-jcIGD9.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-BIZF-iNv.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-CGu-GHYa.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
- package/dist/assets/TaskManagementPage-N2Egdy4r-qGkYEZ7q.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-BsP_HKjG.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +12 -12
- package/dist/assets/TransactionDetailPage-cTLfJiHb-1yZP6Zin.js +912 -0
- package/dist/assets/TransactionList-SkjGKFn_-BwaaUL7x.js +147 -0
- package/dist/assets/TransactionListBig-B4CiUxir-C15l10qy.js +284 -0
- package/dist/assets/{TransactionListPage-D4GJ6i3l-yaso0Nlb.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-CANT8JC_.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CkWefV3r.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-DuoYqIOy.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR--8vN-IgR.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js +576 -0
- package/dist/assets/TrendChart-CWR5JV7S-Bu3AQa_8.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-DUVZm_U-.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js +38 -0
- package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-DqnJleBx.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
- package/dist/assets/VendorDetailPage-BTBlddyH-Bc_YJfHo.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
- package/dist/assets/VerifyDevice-pndtId1R-C8OsQHlo.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-CcmvFcG0.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-BZRShVLd.js → VideoPopup-DwltINTO-0GPyihNZ.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-DjtbTVnp.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +3 -3
- package/dist/assets/{analyticsHelper-L-FpsGLH.js → analyticsHelper-CS2u9ax9.js} +1 -1
- package/dist/assets/analyticsHelper-D8CGsPLU-DJI9oEaD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-CF3jsUNb.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-C9uaBJ8J.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-5xMc7u9M.js → detailCommon-COLWOJB--3sJPi-qA.js} +8 -8
- package/dist/assets/downloadPdf-DmVZhHLH-D1xNlFUJ.js +1 -0
- package/dist/assets/{index-kF4u7Flm.js → index-MAXVX6UR.js} +2202 -2025
- package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
- package/dist/assets/redux-CEhZD0hA.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-Dj01dEre.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
- package/dist/assets/toChartData-BIN4xqGz-BcU_F8Ix.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-5-aGYtqD.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-DL6B1oGY.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +23 -23
- package/dist/assets/{uploadReceipts-Dp1dvCjf-BQPyxtgi.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -9
- package/dist/assets/AccountInfoPage-D-E_-WpE-DJyb7x4k.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +0 -239
- package/dist/assets/AccountRow-Be3LIHO--BjLJB43L.js +0 -298
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +0 -46
- package/dist/assets/AppDrawerContent-BZODvVvi-DQ-V9QL0.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +0 -37
- package/dist/assets/ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js +0 -324
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +0 -378
- package/dist/assets/SignInScreen-BN2xWnU-.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +0 -147
- package/dist/assets/TransactionListBig-u4SJBZTE-BlGBIBoN.js +0 -284
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js +0 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +0 -14
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +0 -1
- package/dist/assets/redux-D-TY61DZ.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +0 -1
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import{q as F,c0 as M,co as U,x as W,O as _,j as e,dD as A,o as t,cF as k,dm as I,li as V,cd as H,c7 as R,h as l,C as y,ca as N,s as J,_ as Z,ci as q,cV as G}from"./index-kF4u7Flm.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst--HIHB7Os-S4QyIwiq.js";import{D as Q}from"./HelpButton-BNMy-6ce-CVlMGZqS.js";import{T as X}from"./ProductsCarousel-CR7_rk0K-CKMGS-I4.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-BxV_UIXP-BXGtVHle.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=_.getLocalizedStrings(),Ue=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),x=M().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=D;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]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,V(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(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),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(X,{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(I,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:b})]})},te=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100%;
|
|
6
|
-
overflow: visible;
|
|
7
|
-
`,ie=i.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
flex: 1;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
min-height: 100vh;
|
|
15
|
-
background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${o.windowSize==="small"?"m":"w"}-${o.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
16
|
-
background-color: ${o=>o.theme.colors.grey4};
|
|
17
|
-
background-size: inherit;
|
|
18
|
-
background-attachment: fixed;
|
|
19
|
-
background-position: ${o=>o.windowSize==="small"?"center center":"right center"};
|
|
20
|
-
background-repeat: no-repeat;
|
|
21
|
-
|
|
22
|
-
${o=>o.theme.breakpoints.down("lg")} {
|
|
23
|
-
background-size: cover;
|
|
24
|
-
}
|
|
25
|
-
`,oe=i.div`
|
|
26
|
-
position: fixed;
|
|
27
|
-
width: 100%;
|
|
28
|
-
top: ${t.sp0};
|
|
29
|
-
left: 0;
|
|
30
|
-
right: 0;
|
|
31
|
-
height: 62px;
|
|
32
|
-
padding: 0 ${t.sp2};
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
z-index: 3;
|
|
37
|
-
`,re=i.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
position: relative;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
width: 100%;
|
|
44
|
-
margin: 86px 0 0 0;
|
|
45
|
-
`,ne=i.div`
|
|
46
|
-
position: relative;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
width: fit-content;
|
|
51
|
-
border-radius: 50px;
|
|
52
|
-
margin-bottom: ${t.sp7};
|
|
53
|
-
cursor: default;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
content: "";
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: 0;
|
|
60
|
-
right: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
background-color: ${l.brandColorJadeLight};
|
|
64
|
-
opacity: 0.5;
|
|
65
|
-
z-index: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
> * {
|
|
69
|
-
position: relative;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
}
|
|
72
|
-
`,se=i.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
`,C=i.div`
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: flex-start;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
`,ae=i.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
width: ${y.largeRegular.lineHeight};
|
|
87
|
-
height: ${y.largeRegular.lineHeight};
|
|
88
|
-
border-radius: 50%;
|
|
89
|
-
outline: 1px solid ${l.brandColorJadeDark};
|
|
90
|
-
background-color: ${l.brandColorPearl};
|
|
91
|
-
`,le=i(N)`
|
|
92
|
-
width: ${t.sp3};
|
|
93
|
-
height: ${t.sp3};
|
|
94
|
-
color: ${l.brandColorSapphire};
|
|
95
|
-
`,j=i(J)`
|
|
96
|
-
color: ${l.brandColorSapphire};
|
|
97
|
-
text-align: center;
|
|
98
|
-
margin-left: ${t.sp2};
|
|
99
|
-
`,de=i.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
width: 100%;
|
|
104
|
-
margin-bottom: ${t.sp4};
|
|
105
|
-
cursor: default;
|
|
106
|
-
`,ce=i(Z)`
|
|
107
|
-
color: ${o=>o.theme.colors.primary};
|
|
108
|
-
text-align: center;
|
|
109
|
-
margin-left: ${t.sp2};
|
|
110
|
-
margin-right: ${t.sp2};
|
|
111
|
-
`,pe=i.div`
|
|
112
|
-
width: 1328px;
|
|
113
|
-
height: 512px;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
overflow: visible;
|
|
118
|
-
margin-bottom: ${t.sp4};
|
|
119
|
-
`,he=i.a`
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
text-decoration: none;
|
|
124
|
-
width: 100%;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
color: ${l.brandColorSapphire};
|
|
127
|
-
&:hover {
|
|
128
|
-
.discover-class {
|
|
129
|
-
color: ${o=>o.theme.colors.primary};
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
`,ge=i(q)`
|
|
133
|
-
color: inherit;
|
|
134
|
-
text-align: center;
|
|
135
|
-
`,me=i(G)`
|
|
136
|
-
width: ${t.sp3};
|
|
137
|
-
height: ${t.sp3};
|
|
138
|
-
color: inherit;
|
|
139
|
-
margin-left: 6px;
|
|
140
|
-
margin-top: ${t.sp1};
|
|
141
|
-
`,ue=i.div`
|
|
142
|
-
width: 100%;
|
|
143
|
-
padding: 10px ${t.sp3};
|
|
144
|
-
position: sticky;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
left: 0;
|
|
147
|
-
right: 0;
|
|
148
|
-
z-index: 3;
|
|
149
|
-
display: flex;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
align-items: center;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
`,xe=i.div`
|
|
154
|
-
display: flex;
|
|
155
|
-
position: relative;
|
|
156
|
-
justify-content: space-between;
|
|
157
|
-
width: 100%;
|
|
158
|
-
align-items: center;
|
|
159
|
-
`,fe=i.div`
|
|
160
|
-
display: flex;
|
|
161
|
-
left: ${t.sp4};
|
|
162
|
-
bottom: ${t.sp3};
|
|
163
|
-
position: fixed;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
align-items: center;
|
|
166
|
-
cursor: default;
|
|
167
|
-
`,we=i.div`
|
|
168
|
-
display: flex;
|
|
169
|
-
`,ke=i(R)`
|
|
170
|
-
height: ${t.sp4};
|
|
171
|
-
width: 102px;
|
|
172
|
-
color: ${o=>o.theme.colors.primary};
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
flex-shrink: 0;
|
|
175
|
-
margin-left: -${t.sp5};
|
|
176
|
-
`,ye=i(Y)`
|
|
177
|
-
width: ${t.sp4};
|
|
178
|
-
min-width: ${t.sp4};
|
|
179
|
-
height: ${t.sp4};
|
|
180
|
-
`,Ce=i.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: row;
|
|
183
|
-
align-items: center;
|
|
184
|
-
width: fit-content;
|
|
185
|
-
white-space: nowrap;
|
|
186
|
-
cursor: pointer;
|
|
187
|
-
color: ${o=>o.theme.colors.hero};
|
|
188
|
-
&:hover {
|
|
189
|
-
.btnText {
|
|
190
|
-
color: ${o=>o.theme.colors.primary};
|
|
191
|
-
}
|
|
192
|
-
svg {
|
|
193
|
-
color: ${o=>o.theme.colors.primary};
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
margin-right: ${t.sp2};
|
|
197
|
-
`,je=i(H)`
|
|
198
|
-
margin-left: ${t.sp2};
|
|
199
|
-
`,$e=i.div`
|
|
200
|
-
width: 200px;
|
|
201
|
-
height: ${t.sp4};
|
|
202
|
-
`;export{Ue as CustomerOnboardingProductSuitePage,Ue as default};
|
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
import{q as B,x as Z,O as _,co as Oe,cp as qe,dF as Je,j as s,dD as Ke,Y as Qe,aE as Xe,dG as et,o as d,y as I,cu as Q,dH as tt,dI as st,c9 as oe,u as j,aA as ot,cZ as nt,cO as at,dJ as it,A as ke,n as Be,h as D,dK as rt,dL as ct,dM as lt,dN as dt,ci as Pe,cN as pt,d3 as ut,cf as gt,dO as mt,cm as ht,dP as ft,dQ as ae,dR as bt,cl as xt,ce as _t,dS as wt}from"./index-kF4u7Flm.js";import{b as y,w as X,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as Y,l as se}from"./analyticsHelper-or1KkBWk-CU2Z2CeD.js";import{h as St,u as yt}from"./ReportTableViewSelector-Ci-WKrCO-D0sA8766.js";import{q as Ct}from"./InsightsSection-JIKb9lz3-Hi0aN8hq.js";import{N as xe,U as vt,k as $t,H as ee,K as pe}from"./detailCommon-CRAGrqoO-5xMc7u9M.js";import{N as jt,G as Ot,H as _e,Y as we,P as Se}from"./RevenueChart-CXMBT3cr-BigDcfmP.js";import{C as kt}from"./NoDataChart-5E72SElf-3CnLxisw.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as Bt}from"./TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js";import{b as Ie}from"./TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js";import{I as Pt,R as F,x as Lt,l as ue,D as It}from"./CollapsableReportTable-7iAngywY-BhPujiYA.js";import{S as Nt,M as Rt,g as Dt,L as te,D as Ne,T as Re,I as De}from"./mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js";import{d as Tt}from"./NoDataTable-BwHbkm3l-VTHrTfOq.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js";import{d as he}from"./mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-BxPgEW_p-Cjr25BX_.js";import"./chartTypes-DCvOVjlS-CF3jsUNb.js";import"./toCOABalancesWithID-B3yVGPrV-Dj01dEre.js";import"./toChartData-DEW0iT7T-DaQT4Adc.js";import"./AccountRow-Be3LIHO--BjLJB43L.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const At=["cogs","expenses","income"],zt=e=>At.find(t=>e===t)!=null,Et=["grossBurn","netBurnOrIncome"],Mt=e=>Et.find(t=>e===t)!=null,Ft=["cogs","income"],Vt=e=>Ft.find(t=>e===t)!=null,Wt=["grossMargin"],Ht=e=>Wt.find(t=>e===t)!=null,Ut=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"})),Yt=u.div`
|
|
2
|
-
justify-content: center;
|
|
3
|
-
align-items: center;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: ${e=>`calc(100vh - ${st.valuePx(e.windowSize)})`};
|
|
7
|
-
gap: ${d.sp6};
|
|
8
|
-
color: ${e=>e.theme.colors.grey2};
|
|
9
|
-
`,Gt=u.div`
|
|
10
|
-
width: ${d.sp12};
|
|
11
|
-
height: ${d.sp12};
|
|
12
|
-
flex-shrink: 0;
|
|
13
|
-
`,Zt=u(oe)`
|
|
14
|
-
color: ${e=>e.theme.colors.hero};
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
margin-top: ${d.sp3};
|
|
20
|
-
`,qt=({style:e,emptyContentText:t,EmptyContentImage:n})=>{const a=B();return s.jsxs(Yt,{windowSize:a,style:{...e},children:[s.jsx(Gt,{children:s.jsx(n,{})}),s.jsx(Zt,{children:t})]})};function Jt(e){const{reportId:t}=e.report,n=e.filter.balancesRange.orderBy;let a,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(n==="ascending_date"&&(r=g.balances.length-1),a=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}}return a!=null&&(i={startDate:a.startDate,endDate:a.endDate}),i}function Kt(e){const{isCompareModeOn:t,filter:n,coaBalancesRange:a,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=n.balancesRange.thisPeriod;c==null&&(c=Jt({report:i,filter:n}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:n.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?n.balancesRange.numberOfPeriods:a.numberOfPeriods,orderBy:a.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Qt(e){const t=Kt(e);if(t!=null)return St(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
|
|
21
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
-
`;function es({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:n}=e,a=n.balances;if(t==null||t===0||a.length===0)return null;const i=a.reduce((l,c)=>l+c.balance.amount,0),r=a[a.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const ts=u.div`
|
|
23
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
-
`;function ss({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:n,cashPosition:a}=e,i=a.balances;if(n==null||n===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(ts,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const os=u.div`
|
|
25
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
|
-
`,ns=u.div`
|
|
27
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
|
-
height: ${d.sp6};
|
|
29
|
-
`;function as({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:n}=t,{availableNumberOfPeriods:a,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(a==null||a===0||r.length===0)return s.jsx(ns,{});const p=n.includes("this_period_vs_last_period")||n.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(os,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const is=u.div`
|
|
30
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
|
-
`,rs=u.div`
|
|
32
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
|
-
height: ${d.sp6};
|
|
34
|
-
`;function cs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:n}=e,{selectedAdditionalBalances:a}=t,i=e.sections.expenses.balances??[];if(n==null||n===0||i.length===0)return s.jsx(rs,{});const r=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),p=i.reduce((g,m)=>g+m.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},h=pe(c,r);return s.jsx(is,{children:s.jsx(ee,{balance:c,dateText:h,showInfotip:!1})})}const ls=u.div`
|
|
35
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
|
-
`,ds=u.div`
|
|
37
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
|
-
height: ${d.sp6};
|
|
39
|
-
`;function ps({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:n,sections:a}=e,{selectedAdditionalBalances:i}=t,r=a.income.balances;if(n==null||n===0||r.length===0)return s.jsx(ds,{});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(ls,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const us=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(ps,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(cs,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(ss,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(es,{highlightedRangeReport:e});default:return null}},K={wrapperPadding:new I(j[3],j[3],j[8]),chartHeight:new I(288,360)},gs=u.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
flex: 1 1 auto;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
height: ${e=>K.chartHeight.valuePx(e.windowSize)};
|
|
44
|
-
`,ms=u.div`
|
|
45
|
-
display: flex;
|
|
46
|
-
`,hs=e=>{const t=B(),{selectedRangeReport:n,selectedClassesViewRangeReport:a,uiState:i,onCOABalancesRangeChanged:r}=e,p=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=a!==void 0&&a.uiState.accountViewMode==="classes"?a:n;return p?s.jsx(ms,{children:s.jsx(kt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(gs,{windowSize:t,children:s.jsx(nt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{fs(n.firstMonthOfFY,l,n.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(Ot,{selectedRangeReport:n,...x});case"cash_in_cash_out":return s.jsx(jt,{selectedRangeReport:n,...x});default:return null}}})})},fs=(e,t,n,a,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(n),Y(a),"bar",se(e,a,i)),r?.trackDateRangeFilterChange(R(n),"bar",p,void 0,se(e,a,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ae=Le`
|
|
47
|
-
0% {
|
|
48
|
-
transform: translateY(100%)
|
|
49
|
-
}
|
|
50
|
-
100% {
|
|
51
|
-
transform: translateY(0)
|
|
52
|
-
}
|
|
53
|
-
`,bs=Le`
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 0
|
|
56
|
-
}
|
|
57
|
-
90% {
|
|
58
|
-
opacity: 0
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
opacity: 1
|
|
62
|
-
}
|
|
63
|
-
`,xs=u.div`
|
|
64
|
-
position: fixed;
|
|
65
|
-
top: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
width: 100%;
|
|
68
|
-
z-index: 10;
|
|
69
|
-
height: 100%;
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: center;
|
|
73
|
-
background: ${D.overlayDark};
|
|
74
|
-
`,_s=u.div`
|
|
75
|
-
position: fixed;
|
|
76
|
-
top: 0;
|
|
77
|
-
left: 0;
|
|
78
|
-
width: 100%;
|
|
79
|
-
z-index: 10;
|
|
80
|
-
height: 100%;
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
align-items: center;
|
|
84
|
-
overflow: auto;
|
|
85
|
-
background: ${D.blackColor}E6;
|
|
86
|
-
`,ze=u.div`
|
|
87
|
-
padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
|
|
88
|
-
margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
|
|
89
|
-
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
|
|
90
|
-
height: 544px;
|
|
91
|
-
text-align: center;
|
|
92
|
-
`,Ee=u.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
justify-content: flex-end;
|
|
95
|
-
width: 100%;
|
|
96
|
-
padding: ${d.sp3} ${d.sp4};
|
|
97
|
-
`,Me=u.div`
|
|
98
|
-
color: ${e=>e.theme.colors.hero};
|
|
99
|
-
width: ${d.sp3};
|
|
100
|
-
height: ${d.sp3};
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
line-height: ${d.sp0};
|
|
103
|
-
&:hover {
|
|
104
|
-
color: ${e=>e.theme.colors.primary};
|
|
105
|
-
}
|
|
106
|
-
animation: ${bs} 0.4s;
|
|
107
|
-
`,ws=u.div`
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
justify-content: space-between;
|
|
111
|
-
flex-wrap: wrap;
|
|
112
|
-
align-items: center;
|
|
113
|
-
text-align: center;
|
|
114
|
-
height: 640px;
|
|
115
|
-
width: 700px;
|
|
116
|
-
background: ${e=>e.theme.colors.grey5};
|
|
117
|
-
border-radius: ${d.sp2};
|
|
118
|
-
animation: ${Ae} 0.4s;
|
|
119
|
-
position: relative;
|
|
120
|
-
`,Ss=u.div`
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: column;
|
|
123
|
-
justify-content: space-between;
|
|
124
|
-
flex-wrap: wrap;
|
|
125
|
-
align-items: center;
|
|
126
|
-
text-align: center;
|
|
127
|
-
height: 640px;
|
|
128
|
-
width: 100%;
|
|
129
|
-
animation: ${Ae} 0.4s;
|
|
130
|
-
position: relative;
|
|
131
|
-
`,ys=u.div`
|
|
132
|
-
position: absolute;
|
|
133
|
-
left: 0;
|
|
134
|
-
margin-top: 130px;
|
|
135
|
-
`,Cs=u.div`
|
|
136
|
-
position: absolute;
|
|
137
|
-
left: 0;
|
|
138
|
-
margin-top: 500px;
|
|
139
|
-
`,vs=u.div`
|
|
140
|
-
position: absolute;
|
|
141
|
-
right: 30px;
|
|
142
|
-
margin-top: 200px;
|
|
143
|
-
`,$s=u.div`
|
|
144
|
-
width: 140px;
|
|
145
|
-
transform: rotate(-22.31deg);
|
|
146
|
-
`,js=u.div`
|
|
147
|
-
position: absolute;
|
|
148
|
-
width: 130px;
|
|
149
|
-
height: ${d.sp0};
|
|
150
|
-
margin-top: ${d.sp2};
|
|
151
|
-
border: none;
|
|
152
|
-
border-top: 3px dotted ${e=>e.theme.colors.grey3};
|
|
153
|
-
float: left;
|
|
154
|
-
`,Os=u.div`
|
|
155
|
-
width: 0;
|
|
156
|
-
height: 0;
|
|
157
|
-
border-top: 10px solid transparent;
|
|
158
|
-
border-bottom: 10px solid transparent;
|
|
159
|
-
border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
|
|
160
|
-
float: right;
|
|
161
|
-
`,ks=u(Pe)`
|
|
162
|
-
max-width: 496px;
|
|
163
|
-
margin-top: ${d.sp7};
|
|
164
|
-
margin: auto;
|
|
165
|
-
color: ${e=>e.theme.colors.primary};
|
|
166
|
-
`,Bs=u(Pe)`
|
|
167
|
-
max-width: 330px;
|
|
168
|
-
margin: auto;
|
|
169
|
-
color: ${D.primaryDark};
|
|
170
|
-
`,Fe=u.div``,Ve=u(oe)`
|
|
171
|
-
margin: ${d.sp3} auto;
|
|
172
|
-
max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
|
|
173
|
-
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
|
|
174
|
-
`,Ps=u.div`
|
|
175
|
-
display: flex;
|
|
176
|
-
flex-direction: column;
|
|
177
|
-
align-items: center;
|
|
178
|
-
justify-content: center;
|
|
179
|
-
margin-top: 22px;
|
|
180
|
-
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp3:d.sp4};
|
|
181
|
-
`,Ls=u.ul`
|
|
182
|
-
display: flex;
|
|
183
|
-
flex-direction: column;
|
|
184
|
-
text-align: left;
|
|
185
|
-
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
|
|
186
|
-
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
|
|
187
|
-
margin-top: 22px;
|
|
188
|
-
list-style-position: outside;
|
|
189
|
-
padding-left: ${d.sp3};
|
|
190
|
-
`,ie=u(ut)``,re=u(pt)``,ce=u.li``,Is=u.div`
|
|
191
|
-
overflow: hidden;
|
|
192
|
-
max-width: 712px;
|
|
193
|
-
display: flex;
|
|
194
|
-
`,Ns=u.div`
|
|
195
|
-
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp4:d.sp0};
|
|
196
|
-
background: ${e=>e.theme.colors.grey3};
|
|
197
|
-
border-radius: 12px;
|
|
198
|
-
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
199
|
-
padding: ${d.sp2};
|
|
200
|
-
`,le=()=>s.jsxs($s,{children:[s.jsx(js,{}),s.jsx(Os,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(Ps,{windowSize:t,children:[s.jsx(Is,{windowSize:t,children:s.jsx(Ns,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(Ls,{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})]})]})]})},Rs=e=>{const{onClose:t,reportId:n,meetingUrl:a}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(a.toString(),"_blank")},l=Te[n][r.mode];return s.jsxs(_s,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(ke,{style:{width:"18px",height:"18px"}})})}),s.jsx(Ss,{onClick:c=>c.stopPropagation(),children:s.jsxs(ze,{windowSize:i,children:[s.jsx(Bs,{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})]})]})})]})},Ds=e=>{const{onClose:t,reportId:n,meetingUrl:a}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(a.toString(),"_blank")},l=Te[n][r.mode];return s.jsxs(xs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(ke,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ws,{onClick:c=>c.stopPropagation(),children:[s.jsxs(ze,{windowSize:i,children:[s.jsx(ks,{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(ys,{children:s.jsx(le,{})}),s.jsx(Cs,{children:s.jsx(le,{})}),s.jsx(vs,{children:s.jsx(le,{})})]})]})};function Ts(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Rs,{...e}):s.jsx(Ds,{...e})}const de="ZeniSwitch",A={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},As=({className:e,...t})=>s.jsx(bt,{...t,className:e,classes:{...A}}),zs=u(As)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(zs,{...e}),G={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},ye=u.div``,Es=u.div`
|
|
201
|
-
min-width: ${e=>G.forecastNameInnerWidth.valuePx(e.windowSize)};
|
|
202
|
-
&:hover {
|
|
203
|
-
.info-tooltip {
|
|
204
|
-
display: flex;
|
|
205
|
-
flex-direction: row;
|
|
206
|
-
justify-content: center;
|
|
207
|
-
align-items: center;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
`,Ms=u.div`
|
|
211
|
-
display: flex;
|
|
212
|
-
flex-direction: column;
|
|
213
|
-
width: 315px;
|
|
214
|
-
white-space: normal;
|
|
215
|
-
`,Fs=u(xt)`
|
|
216
|
-
display: flex;
|
|
217
|
-
justify-content: space-between;
|
|
218
|
-
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
219
|
-
margin-bottom: ${d.sp1};
|
|
220
|
-
align-items: center;
|
|
221
|
-
`,Vs=u(oe)`
|
|
222
|
-
display: flex;
|
|
223
|
-
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
224
|
-
margin-bottom: ${d.sp1};
|
|
225
|
-
`,Ws=u.div``,Hs=u.div``,Us=u(_t)`
|
|
226
|
-
display: flex;
|
|
227
|
-
color: ${D.alert};
|
|
228
|
-
`,Ys=u(wt)`
|
|
229
|
-
color: ${D.alert};
|
|
230
|
-
width: ${d.sp4};
|
|
231
|
-
height: ${d.sp4};
|
|
232
|
-
margin-right: ${d.sp1};
|
|
233
|
-
`,Gs=u.span`
|
|
234
|
-
overflow: hidden;
|
|
235
|
-
white-space: nowrap;
|
|
236
|
-
text-overflow: ellipsis;
|
|
237
|
-
max-width: ${e=>G.forecastNameOuterWidth.valuePx(e.windowSize)};
|
|
238
|
-
text-align: right;
|
|
239
|
-
`,Zs=u.div`
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: row;
|
|
242
|
-
align-items: center;
|
|
243
|
-
justify-content: end;
|
|
244
|
-
`,qs=u.div`
|
|
245
|
-
background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
246
|
-
border-radius: 3px;
|
|
247
|
-
border-width: 1px;
|
|
248
|
-
border-style: solid;
|
|
249
|
-
width: 3px;
|
|
250
|
-
height: 3px;
|
|
251
|
-
align-self: center;
|
|
252
|
-
margin-left: ${d.sp2};
|
|
253
|
-
margin-right: ${d.sp2};
|
|
254
|
-
`,Js=u.div``,Ks=u.div`
|
|
255
|
-
display: none;
|
|
256
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
257
|
-
position: absolute;
|
|
258
|
-
padding: 2px 5px;
|
|
259
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
|
-
border-radius: ${d.sp1};
|
|
261
|
-
z-index: 1;
|
|
262
|
-
width: ${e=>G.tooltipWidth.valuePx(e.windowSize)};
|
|
263
|
-
top: ${e=>G.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
|
-
`,Qs=u(gt)`
|
|
265
|
-
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function Xs({selectedForecastIndex:e,forecasts:t,isDisabled:n,isForecastValid:a,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:a(m)})),[c,h]=y.useState(l(t));return X.useEffect(()=>{h(l(t))},[t]),s.jsxs(Es,{windowSize:r,children:[s.jsx(Js,{children:s.jsx(Ks,{className:"info-tooltip",windowSize:r,children:s.jsx(Qs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(eo,{selectedForecast:c[e],forecastOptions:c,isDisabled:n,onForecastSelectionChanged:i})]})}const eo=({selectedForecast:e,forecastOptions:t,isDisabled:n,onForecastSelectionChanged:a})=>{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(mt)`
|
|
267
|
-
height: ${d.sp3};
|
|
268
|
-
width: ${d.sp3};
|
|
269
|
-
`,m=u(ht)`
|
|
270
|
-
height: 12px;
|
|
271
|
-
width: 12px;
|
|
272
|
-
margin-left: 6px;
|
|
273
|
-
`,f=({children:b,...v})=>s.jsx(ae.SingleValue,{...v,children:s.jsxs(Zs,{children:[s.jsx(Gs,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ae.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ae.Option,{...b,children:s.jsxs(Ms,{children:[s.jsxs(Fs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Vs,{isValid:b.data.isValid,children:[s.jsx(Ws,{children:b.data.timeframeLabel}),s.jsx(qs,{isValid:b.data.isValid}),s.jsx(Hs,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Us,{children:[s.jsx(Ys,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,v)=>({...b,border:0,backgroundColor:c,color:v.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:G.containerMaxWidth.valuePx(r),minWidth:G.containerMaxWidth.valuePx(r)}),singleValue:(b,v)=>({...b,color:v.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:v,isSelected:O,isFocused:V})=>({...b,color:O?i.colors.champion:i.colors.hero,backgroundColor:O===!0?h:V===!0&&v!==!0?i.colors.background:l,cursor:v===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:v===!1?O===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ft,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const v=b;o(v),a(v.forecastId,v.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:n})},Ce={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},to=u.div`
|
|
274
|
-
display: flex;
|
|
275
|
-
width: 100%;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
`,so=u.div`
|
|
278
|
-
display: flex;
|
|
279
|
-
width: 100%;
|
|
280
|
-
flex-direction: row;
|
|
281
|
-
`,Ue=u.div`
|
|
282
|
-
display: flex;
|
|
283
|
-
flex-direction: row;
|
|
284
|
-
flex: 1 1 auto;
|
|
285
|
-
justify-content: center;
|
|
286
|
-
padding-left: ${e=>Ce.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
|
-
padding-bottom: ${e=>Ce.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
-
`,oo=u.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
width: 100%;
|
|
291
|
-
flex-direction: row;
|
|
292
|
-
align-items: center;
|
|
293
|
-
justify-content: center;
|
|
294
|
-
`,no=u.div`
|
|
295
|
-
display: flex;
|
|
296
|
-
flex-direction: row;
|
|
297
|
-
align-items: center;
|
|
298
|
-
justify-self: flex-end;
|
|
299
|
-
justify-content: flex-end;
|
|
300
|
-
min-width: 315px;
|
|
301
|
-
`,ao=u.div`
|
|
302
|
-
display: flex;
|
|
303
|
-
flex-direction: row;
|
|
304
|
-
align-items: center;
|
|
305
|
-
margin-right: ${d.sp5};
|
|
306
|
-
`,Ye=u(oe)`
|
|
307
|
-
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
-
`,Ge=({label:e,isOn:t,isToggleDisabled:n,onValueChanged:a})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{isOn:t,isDisabled:n===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:n===!0,disableRipple:n===!0,onChange:i=>{a(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:n,forecasts:a,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(ao,{children:[e===!0&&a!=null&&a.length!==0?s.jsx(Xs,{selectedForecastIndex:n??0,forecasts:a,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 io=e=>{const t=B();return s.jsxs(to,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(oo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ge,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},ro=e=>{const t=B();return s.jsxs(so,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(no,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ge,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function co(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(io,{...e}):s.jsx(ro,{...e})}const lo=u.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
-
`,po=u.div``,uo=u.div``,go=e=>{const{selectedRangeReport:t,uiState:n,analytics:a,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=n,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=n.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 v=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,O=v||t.availableNumberOfPeriods===1,V=C=>!!C.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),H=ot("https://meetings.hubspot.com/svitlana-grankovska"),M=n.mode,N=n.selectedForecast;y.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,S]),y.useEffect(()=>{M==="forecast_mode"&&N!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[N.index].name)},[N]);const W=(C,$,U)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",C==="forecast_mode"),e.onForecastToggle?.(C,U)};return s.jsx(uo,{children:s.jsxs(po,{children:[s.jsx(lo,{children:s.jsx(co,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:C=>{e.analytics?.trackTimeframeSwitch(Y(C),R(t.reportId)),r?.(C),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:O?!1:x,isToggleDisabled:O,onValueChanged:C=>{const $=C===!0||n.mode==="forecast_mode"?3:1;a?.trackCompareMode(C,R(t.reportId),Y(g)),o(C,C?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:n.mode==="forecast_mode",isToggleDisabled:O,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(C,$)=>W("forecast_mode",!1,{id:C,index:$}),onForecastToggleChanged:C=>{W(C===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ts,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const C=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],C)}}):null,v?null:s.jsx(Bt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(C,$)=>{ve(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(C,$)=>{const U=vt(c,C.fromEnd),q=$t(c,$);ve(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(U,q)}})]})})},ve=(e,t,n,a,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(n),Y(a),"range filter",se(e,a,i)),r?.trackDateRangeFilterChange(R(n),"range filter",t,se(e,a,i))};function fe({account:e,sectionType:t,numOfBalances:n,title:a,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:a,sectionType:t,data:e,numOfBalances:n},config:r}}}function mo({acGroup:e,sectionType:t,numOfBalances:n,title:a,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:a,sectionType:t,data:e,numOfBalances:n},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:n,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function $e({section:e,sectionType:t,numOfBalances:n,title:a,isLastNode:i,config:r}){const p=F("section",[],a),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:n},config:r}},l=It(e,r.displayOrder,n,!1),c=ho(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)=>mo({acGroup:w,sectionType:t,numOfBalances:n,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:n,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function ho(e){let t=!1;if(e!=null){for(const n of e)if(n!=null&&n.balance.amount!==0){t=!0;break}}return t}function z({balances:e,config:t,nodeId:n}){let a="timeframe_headers";return t.mode==="actual_vs_forecast"&&(a="timeframe_headers_with_forecast"),{children:[],id:n??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a,title:"",data:e,numOfBalances:e.length},config:t}}}function fo(e,t,n=!0){const a=_.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=z({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:a.sections.cashIn,isLastNode:!0,config:t}),l=$e({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:a.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:a.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:n?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:n,numOfBalances:a,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:a},config:n}}}function bo(e,t,n=!0){const a=_.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=z({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],a.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:n?[o]:[],contentNodes:[o,l,...h]}}function xo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});n&&(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=z({balances:h,config:t});o.push(g),n&&(l=[g]),e.idsInOrder.forEach(m=>{if(zt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ne({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(Mt(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 _o(e,t,n=!0){const a=_.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=z({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{lt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):dt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:a.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:o}}function wo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,n&&(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=z({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),n&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(Nt({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 So(e,t,n=!0){const a=_.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=z({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],a.sections.expenses),h=Lt("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)=>Rt({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)=>Dt({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:n?[p]:[],contentNodes:g}}function yo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,n&&(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=z({balances:h,config:t});o.push(g),n&&(l=[g]),e.idsInOrder.forEach(m=>{if(Vt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ne({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(Ht(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 Co(e,t,n=!0){const a=_.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=z({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{rt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):ct(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:o}}function vo(e,t,n,a=!0){Object.assign(e.config,t);const i=$o(n),r=z({balances:i,config:t});return{config:t,headerNodes:a?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const $o=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 I(j[0],j[0],j[0]),contentPaddingRight:new I(j[3],j[3],j[8])},jo=u.div`
|
|
313
|
-
width: 100%;
|
|
314
|
-
height: calc(100vh - 70px);
|
|
315
|
-
`,Oo=u.div`
|
|
316
|
-
display: flex;
|
|
317
|
-
position: sticky;
|
|
318
|
-
justify-content: center;
|
|
319
|
-
padding-top: ${d.sp6};
|
|
320
|
-
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
321
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
322
|
-
`,ko=u.div`
|
|
323
|
-
position: absolute;
|
|
324
|
-
padding-top: ${d.sp3};
|
|
325
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
326
|
-
`,Bo=e=>{const t=B(),n=Z(),{selectedRangeReport:a,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=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,b=a.availableNumberOfPeriods!=null&&a.availableNumberOfPeriods<2,v=r.mode==="compare_mode"&&!b,O=v||r.mode==="forecast_mode"?3:1,V=k=>{e.analytics?.trackCompareFilterChange(k==="compare_mode_percent"?"percentage":"amount",R(a.reportId),Y(r.timeframe),"dropdown");const L=k==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(v,[L],x?.numberOfPeriods??O)},[P,E]=y.useState(void 0),[H,M]=y.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",C=Lo(r.selectedAdditionalBalances),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:a,U=w==="forecast_mode"?"actual_vs_forecast":v===!0?"this_period_vs_period_before":"none",q=a.reportId==="net_burn_or_income"||a.reportId==="operating_expenses"||a.reportId==="revenue",ne=(k,L)=>{k!==i?.uiState.accountViewMode&&g?.(k),L&&m?.(L)};return y.useEffect(()=>{const k={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:U,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:it(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!Q(H,$)||e.isPageFetchInProgress===!0){const L=Po($,k,N,e.isPageFetchInProgress);M($),E(L)}else{const L=vo(P,k,$,N);E(L)}},[W,v,$,e.isPageFetchInProgress]),s.jsx(Oo,{windowSize:t,children:S?s.jsx(Tt,{}):P!=null?s.jsxs(jo,{children:[s.jsx(Pt,{backgroundColor:new at(n.colors.grey4),rootNodes:P,type:W,compareMode:C,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(k,L)=>{h(k,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(ko,{children:s.jsx(yt,{reportId:a.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,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})},Po=(e,t,n=!0,a=!1)=>{switch(e.reportId){case"net_burn_or_income":return _o(e,t,n);case"net_burn_or_income_by_classes":return xo(e,t,n,a);case"revenue":return Co(e,t,n);case"revenue_by_classes":return yo(e,t,n,a);case"cash_position":return bo(e,t,n);case"cash_in_cash_out":return fo(e,t,n);case"operating_expenses":return So(e,t,n);case"operating_expenses_by_classes":return wo(e,t,n,a);default:return}},Lo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new I(j[6],j[8],j[10]),maxBarHeight:1},Io=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:n=J.chartWidth,barCount:a=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??K.chartHeight.value(o),c=l-j[5],h=[...Array(a)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(No,{style:{...e,width:n,height:l,backgroundColor:r},children:s.jsx(Ro,{children:h.map((g,m)=>s.jsx(Do,{children:s.jsx(tt,{speed:2,width:J.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}`))})})},No=u.div`
|
|
327
|
-
width: 100%;
|
|
328
|
-
height: 100%;
|
|
329
|
-
border-radius: ${d.sp2};
|
|
330
|
-
padding: ${d.sp4};
|
|
331
|
-
background-color: ${e=>e.backgroundColor};
|
|
332
|
-
display: flex;
|
|
333
|
-
flex-direction: column;
|
|
334
|
-
`,Ro=u.div`
|
|
335
|
-
display: flex;
|
|
336
|
-
align-items: flex-end;
|
|
337
|
-
justify-content: space-between;
|
|
338
|
-
width: 100%;
|
|
339
|
-
height: 100%;
|
|
340
|
-
`,Do=u.div`
|
|
341
|
-
flex: 1;
|
|
342
|
-
height: 100%;
|
|
343
|
-
display: flex;
|
|
344
|
-
align-items: flex-end;
|
|
345
|
-
justify-content: center;
|
|
346
|
-
`,To=u.div`
|
|
347
|
-
display: flex;
|
|
348
|
-
flex: 1 1 auto;
|
|
349
|
-
min-height: 100%;
|
|
350
|
-
flex-direction: column;
|
|
351
|
-
width: 100%;
|
|
352
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
353
|
-
`,Ao=u.div`
|
|
354
|
-
position: relative;
|
|
355
|
-
box-shadow: ${e=>`2px 0px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
357
|
-
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
358
|
-
padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
359
|
-
z-index: 1;
|
|
360
|
-
`,zo=u.div`
|
|
361
|
-
display: flex;
|
|
362
|
-
justify-content: center;
|
|
363
|
-
padding: ${d.sp6} ${d.sp0};
|
|
364
|
-
`,Eo=u.div`
|
|
365
|
-
display: flex;
|
|
366
|
-
flex-direction: column;
|
|
367
|
-
justify-content: center;
|
|
368
|
-
align-items: center;
|
|
369
|
-
height: 100vh;
|
|
370
|
-
margin-top: ${d.sp8};
|
|
371
|
-
`,wn=e=>{const t=B(),n=Z(),[a,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:v,downloadState:O}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=Oe(),H=E.loggedInUserRole!=null&&!qe(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function T(){await Qt({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||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),Y(b),"excel",P),f("Completed")}a&&O!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,O,o.filter,a,P,S,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const N=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",C=Je([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,v,T)},[t]);const $=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Xe.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:U,autoCompleteActions:q,scrollPosition:ne,...k}=e,L=s.jsx(et,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:N,isDownloading:O==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(O==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(To,{children:[s.jsx(Ke,{title:p.reportTitle,backgroundColor:n.colors.grey5,onBackClick:m,rightSideComponent:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Eo,{children:s.jsx(Qe,{size:"Standard",start:!0})}):N?s.jsx(qt,{style:{background:n.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ut}):s.jsxs(s.Fragment,{children:[s.jsxs(Ao,{windowSize:t,children:[s.jsx(Wo,{...k}),s.jsx(Mo,{highlightedRangeReport:o,uiState:c}),C?s.jsx(Io,{}):s.jsx(Fo,{...k}),s.jsx(zo,{children:s.jsx(Ct,{insights:w})})]}),s.jsx(Vo,{scrollPosition:ne,isPageFetchInProgress:C,...k})]})]})},Mo=X.memo(us,Q),Fo=X.memo(hs,Q),Vo=X.memo(Bo,Q),Wo=X.memo(go,Q);export{wn as default};
|