@zeniai/web-cockpit-ui 1.13.96-dev → 1.13.96-qa
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-C_NL9J0X-DQ3wv9Rt.js → ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js} +1 -1
- package/dist/assets/{AIPerformancePage-DyiOQxOC-Deykua_G.js → AIPerformancePage-CK4ZdUEb-fJZXFPPa.js} +21 -21
- package/dist/assets/{AccountInfoPage-xglon85A-yRVQMsLQ.js → AccountInfoPage-LiZYkJMA-D7v8XtXB.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js → AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js} +17 -17
- package/dist/assets/{AccountRow-CP7Tu1pO-VLQJgkE6.js → AccountRow--5DnpNqk-C6gOEeWO.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-1elvD1M0-GOX35w9m.js → AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js → AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js} +2 -2
- package/dist/assets/{AddToWalletPage-DsqplF5y-BOnzBTtb.js → AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js} +19 -19
- package/dist/assets/{AgingReportsPage-DClcRhxg-CS8rEKD_.js → AgingReportsPage-PrvYryW8-ClQ8Euxf.js} +6 -6
- package/dist/assets/{AllUserItems-BOwAIYTQ-ikKyJOZ6.js → AllUserItems-DlTukPhY-377gtzJq.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js → ApAgingDetailPage-BVciGQma-NVEgOPKU.js} +4 -4
- package/dist/assets/{AppBasePage-C7kCz0qg-gwqzuxWV.js → AppBasePage-uJGLWCbr-B_okH7tb.js} +2 -2
- package/dist/assets/{AppDrawerContent-B63CbHT7-CTgXtY-R.js → AppDrawerContent-SD57OqHe-DBC1ZQdx.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +47 -0
- package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +24 -0
- package/dist/assets/{ArAgingDetailPage-AiwyJUwp-CLdUA32y.js → ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js} +1 -1
- package/dist/assets/{AttachmentView-wIV1i6gf-__2UovKF.js → AttachmentView-C3xQE0te-BFkbocnS.js} +5 -5
- package/dist/assets/{BankAccountSection-cVBEl5IN-DpEdLEP3.js → BankAccountSection-Bi3uoDPa-DlE9WCjC.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js → BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js → BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js} +33 -33
- package/dist/assets/{BillDetailPage-C9NC9kTK-BYRIHiN2.js → BillDetailPage-BoxJCC9n-dUgWZp0T.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js → BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js → BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js} +6 -6
- package/dist/assets/{BillPayPromoPage-CWGX6uCi--607mHc3.js → BillPayPromoPage--BGTNJhm-DrmzLzpj.js} +4 -4
- package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +42 -0
- package/dist/assets/{BillingSettingsPage-Bx7lHgIy-CyArwb3F.js → BillingSettingsPage-DgbRhg-m-CRqpdOiy.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js → BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js} +1 -1
- package/dist/assets/{BoxItem-DX1sag1G-C0OcCbod.js → BoxItem-BHtgE0KL-BJPg4xAk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DXh-11f9-BWywYgcT.js → BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js} +14 -14
- package/dist/assets/{CardNumberSubText-iYF6MLsf-BnbFJt1d.js → CardNumberSubText-BHe1nqr7-BRmm9g1p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DVsCU69u-iWc1QiKl.js → CashbackDetailPage-C9RhIR0R-CyQle5Hi.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +1447 -0
- package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +355 -0
- package/dist/assets/{ChargeCardListTable-PTRaj9T6-GxUnY44G.js → ChargeCardListTable-C2nnAxo5-Bk77oToU.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +175 -0
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js → ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BvVm2SMq-B6pl3c2F.js → ChargeCardUtils-BxyMuU6--CHwiPaoq.js} +1 -1
- package/dist/assets/{ChaseOverlay-CI8lEzod-DNTlxx9v.js → ChaseOverlay-CRiYxWuZ-BZR-S0kG.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js → CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js} +16 -16
- package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +2860 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js → CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js} +35 -35
- package/dist/assets/{CompanyPassportCard-P0g_DRwA-XRQTRVQK.js → CompanyPassportCard-PXdmJC_B-SLgfN-m9.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js → CompanyPassportPage-MxIwsh3W-CUmwVoPG.js} +37 -37
- package/dist/assets/{CompleteProfile-DTSAIKgF-WX_HRfP5.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js} +4 -4
- package/dist/assets/{ConfettiBurst-CjONFCxD-BbasMJ1h.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js → CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js → CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js → CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js} +8 -8
- package/dist/assets/{CurrencySelectField-BRkdK9Tx-DZlSSgUd.js → CurrencySelectField-B3AvTbkp-CwUBnsMJ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js → CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js → CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js} +5 -5
- package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +778 -0
- package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js → DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js → DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js → DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js → DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js} +1 -1
- package/dist/assets/{DownloadOverlay-CVay7PEO-C-BIaHoh.js → DownloadOverlay-D1kGkMFo-DOkMNDuh.js} +12 -12
- package/dist/assets/{DrawerPage-BtsjUVWT-DKZ4-9Rc.js → DrawerPage-CQkJW5hg-DkryY6SR.js} +3 -3
- package/dist/assets/{EditPeoplePage-q8Se6bGZ-Cx2X58jF.js → EditPeoplePage-m2qls8hv-BZd-DWw-.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js → EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bux6DlIw-CDR-iDms.js → EntityDetailPage-CcJJwGo7-DCvr4KdD.js} +1 -1
- package/dist/assets/{EntitySummarySection-D8dz1hFt-Bakc19a1.js → EntitySummarySection-JxKHehL1-CtvARgSu.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js → ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-aNc126hN-DZa4KtXO.js → ExpenseAutomationPage-B0f86olm-wJehtW2E.js} +74 -74
- package/dist/assets/{ExpressPayPage-CWVGXvfN-Bzdld5fx.js → ExpressPayPage-B-at6uDS-BEaELiUG.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C0nvVXP--BF6s18r5.js → FeaturePreviewPage-gSb_rct_-C-KQutKv.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf0s1DGX-BFVvc78r.js → FollowStepsSection-eedORgku-FnBhDPYP.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js → GlobalReviewListPage-BfPwveCc-ftKEGRYk.js} +10 -10
- package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +28 -0
- package/dist/assets/{InformationCardStack-BALkGk48-BWmXScs3.js → InformationCardStack-DPaZz4XW-BZPDjtdj.js} +5 -5
- package/dist/assets/{InsightsCardStack-D52CCSVO-CezeuABJ.js → InsightsCardStack-sKUFRR0H-BiHLZWGW.js} +10 -10
- package/dist/assets/{InsightsSection-D_wtVtVg-5rPDOiJT.js → InsightsSection-Corx5iDh-fVbgdM2i.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js → IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js → InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js → InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js} +18 -18
- package/dist/assets/{InviteFormPage-C9fNxGsi-CRksfDku.js → InviteFormPage-BRb4jyp_-BuUalkW4.js} +19 -19
- package/dist/assets/{InvitePageListView-DSWZ2SPi-B4SFh7Xp.js → InvitePageListView-Bb_Q_xqJ-BhN72Smm.js} +49 -49
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js → InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js → IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DtmZ5htg-OjX3rrF7.js → LabeledAddressValue-D2vDF5sP-BZfqDHMl.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js → LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js → LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js → LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js → LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js → LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js} +5 -5
- package/dist/assets/{LabeledText-bruKdeAH-E98_Q-Ht.js → LabeledText-CqZ-udSP-CWd8HtpU.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js → LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-DjNutEvf-sKN4Are7.js → LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js} +10 -10
- package/dist/assets/{LowBalancePopup-CwcYMtuk-B-vSGd6a.js → LowBalancePopup-BLfeh0xm-C28uSa7K.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js → MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js → MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js → MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js → MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js → MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BycONjR9-Dhu_6L_d.js → MailingDetailsSection-CJhcwaGu-BAyX38PR.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js → MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js} +3 -3
- package/dist/assets/{Menu-B6Fh2Mf9-B_ofMkAs.js → Menu-D-Gk-Xfo-DBDtrJ_2.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js → MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js → MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js → MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js} +8 -8
- package/dist/assets/{NavBarWithPicker-D4jJGXZB-BJWr2BT1.js → NavBarWithPicker-CXyMHDUO-FwAGF1cV.js} +4 -4
- package/dist/assets/{NavigationArrow-DlUdvmV7-iugv9ZVE.js → NavigationArrow-Bv-PvnhZ-BqeVWU8r.js} +7 -10
- package/dist/assets/{NavigationDots-CFJt-T5J-B9PAzC5S.js → NavigationDots-DJkiFidH-5V7knboW.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DhYni-in-Diwu92Go.js → NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js} +8 -8
- package/dist/assets/{NoDataChart-CvGbQO4j-B5z4vqWb.js → NoDataChart-Bsj1HEPq-CTuuS1jm.js} +1 -1
- package/dist/assets/{NoDataTable-EKtYZwcL-XyHu2gAL.js → NoDataTable-6vR2vOMI-C3_Xw78i.js} +1 -1
- package/dist/assets/{NotFoundPage-D5SHSQLS-0U7pTJ8G.js → NotFoundPage-SRxATfaW-y-aOb1MC.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js → NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js} +33 -33
- package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +1 -0
- package/dist/assets/{NotificationsPage-bGvx2yV6-C4p8pfzZ.js → NotificationsPage-DMfBgh2w-1OVVoKkc.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BE_NnQzd-DQnxoqWx.js → OpExByVendorPage-DOkwCGkr-DKAYXBt6.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-D2VSw_RI.js → OverlayContainerPage-C0rUb6-5-BEYdjpiV.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-000kuR-BW5fUkac.js → PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js} +8 -8
- package/dist/assets/{PeoplePage-MwM0lFB9-B0wgHwI1.js → PeoplePage-PvOhX-gy-bUl8LV-N.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +207 -0
- package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +218 -0
- package/dist/assets/{ProductsCarousel-D2wC3sC--BKh2AE5P.js → ProductsCarousel-qzlVuyK5-BlxLSS9s.js} +9 -9
- package/dist/assets/{PromoBaseCards-Ddumul2a-BrEDd739.js → PromoBaseCards-26GOEn3a-DaZDnJ-z.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-DszSpNdI-DwqHmKSk.js → QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js} +7 -7
- package/dist/assets/{QBOSetupSection-BNF-BUu5-B_yCc7Df.js → QBOSetupSection-u1sJhV67-3guqHTYH.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js → ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-BAEddssC-DcJfByf4.js → ReimbursementDetailPage-ChyRg0eX-Claybyvt.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js → ReimbursementPromoPage-BWsOD49o-D82HFW_4.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js} +1 -1
- package/dist/assets/{ReloadCard-BA_JCHcV-DL7NGQyj.js → ReloadCard-CpauR6-c-3e4dg5U2.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +150 -0
- package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +120 -0
- package/dist/assets/{RevenueChart-D33p-PFq-CGRJwc_N.js → RevenueChart-JdtvK4L6-CpCUlh1v.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js → ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js} +15 -15
- package/dist/assets/{ReviewOverlay-BYJdokfW-C97jtxei.js → ReviewOverlay-BLxhto7d-Ote-FEid.js} +10 -10
- package/dist/assets/{RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js → RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js → ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js → ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js} +49 -49
- package/dist/assets/{ScreenRoutes-iE9-v0dJ.js → ScreenRoutes-C5pHLsYO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BEJy78G6-Do1X3vVo.js → SetUpAccountSection-CyyxtFvK-Bjoxqucl.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js → SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js} +16 -16
- package/dist/assets/{SignIn-BC8yop4g-CznicFTu.js → SignIn-Gw75P03k-B_X_KXq6.js} +17 -17
- package/dist/assets/{SignInScreen-k0dvslKE.js → SignInScreen-CU1N7put.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-aZljA388--EEskYb2.js → SpendManagementListViewPage-BccaMtyd-shshvd9r.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js → SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js} +33 -33
- package/dist/assets/{SpendManagementSection-DMw8NFvN-Cpy4Blf3.js → SpendManagementSection-CdH1r1Vw-C3epoUbW.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +206 -0
- package/dist/assets/{StatementItem-CKTGWEW_-d6SqxmfH.js → StatementItem-BW9HKaf9-CsEdfyzn.js} +3 -3
- package/dist/assets/{StatementsPage-CjR4AlPy-BQRlcz37.js → StatementsPage-CXawS1th-D6ifdlgD.js} +6 -6
- package/dist/assets/{StatusSwitcher-5CZzUYJE-qZVSFmES.js → StatusSwitcher-oC-AP25Z-D-8kVIuC.js} +5 -5
- package/dist/assets/{SubTabSwitcher-a38_U4dN-BfyQ4BdY.js → SubTabSwitcher-DXWQMf7B-D5NgssDf.js} +1 -1
- package/dist/assets/{SummaryCard-XbFHvHx9-CTqdwSSS.js → SummaryCard-C3zjN-kT-DVcdP-G4.js} +1 -1
- package/dist/assets/{TaskManagementPage-Oct77yO--igT2quo0.js → TaskManagementPage-BGDJNpe_-BGexoSAd.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js → TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js → TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +31 -0
- package/dist/assets/{TopExCard-CaR8tsug-DnQ2eFWB.js → TopExCard-BD9Ehuw_-BEZAD6RQ.js} +5 -5
- package/dist/assets/{TopExDetailPage-C4QeWe92-vjJ7ZG8N.js → TopExDetailPage-3HoXp_6D-C4AntCB3.js} +10 -10
- package/dist/assets/{TransactionDetailPage-BoxnNYXX-2QwooFWS.js → TransactionDetailPage-CbnGQ8bn-D1kf6rih.js} +26 -26
- package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +147 -0
- package/dist/assets/{TransactionListBig-B0FG0-BM-Br0wUjP3.js → TransactionListBig-5aenxEn4-DbuGNI6-.js} +18 -18
- package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js → TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BJVanLzC-BZZsX7dv.js → TransferDrawerPage-2P1mhp1M-DQ83dYHD.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js → TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-CblUabA3-CO5CaCN_.js → TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js} +14 -14
- package/dist/assets/{TreasurySetupPage-CuROk6il-7kJUNajN.js → TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DfB0yrzC-osurk-aq.js → TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js → TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js → TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js} +77 -77
- package/dist/assets/{TrendChart-D3_4i3qH-wYUerKRk.js → TrendChart-DRNocU0p-B5zGJHBv.js} +3 -3
- package/dist/assets/{TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js → TrendWithTransactions-CldwGpXX-C-miaXCt.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js → UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js → UnitIntegrationPage--cDHqgXs-CzBp1mNW.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js → UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-wnVnkHOg-DABVEKDS.js → Vendor2FAPopup-vdFWf98b-D5sSolYh.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js → VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js} +1 -1
- package/dist/assets/{VendorDetailPage-ClmL_1FB-Cz0Favu8.js → VendorDetailPage-BOeEd9pX-C40iOslI.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js → VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js → VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js → VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js → VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-fcURK7tv-BOScGj67.js → VendorsAccountsSection-BTRiZlIa-D2xftT7n.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js → WarningsDrawerPage-ZgfQEBme-BogIku8q.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js → ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js → ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js → ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js → ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js → ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js} +3 -3
- package/dist/assets/{ZeniCopyright-DoA2I5zj-CPBH_zf-.js → ZeniCopyright-BAbOOFg9-CEbrOROr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js → ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js} +1 -1
- package/dist/assets/{analyticsHelper-DPbbQVAO-ChPUlKK7.js → analyticsHelper-CkzpobMi-DnjY1jLw.js} +1 -1
- package/dist/assets/{analyticsHelper-BbcCIpO1.js → analyticsHelper-j8smtjIR.js} +1 -1
- package/dist/assets/{chartTypes-qpvW4LwC-4Ag0mdD1.js → chartTypes-JD2mR9iq-B-Dqgpc8.js} +1 -1
- package/dist/assets/{commonDimensions-DAvj4Il1-Chc9ZQai.js → commonDimensions-DRfDJ_wQ-DeEC_LLv.js} +1 -1
- package/dist/assets/{detailCommon-jP1ggD3g-CQiTz4E7.js → detailCommon-BbKkY_46-DwHUZLAg.js} +5 -5
- package/dist/assets/{downloadPdf-LAHtgcHF-B9uNpNRf.js → downloadPdf-D7ANJLK4-BVhr8pTH.js} +1 -1
- package/dist/assets/{index-DyBH5SZv.js → index-Dr7k10Ge.js} +3520 -3543
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +1 -0
- package/dist/assets/{play-icon-D3OSczih-8eMagn70.js → play-icon-BbWpG2oG-CGqef6-e.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DeWKaovX-C_3xC96w.js → toCOABalancesWithID-DOgHiMwn-C3l_klRD.js} +1 -1
- package/dist/assets/{toChartData-Dkp488IJ-Cg1gF7al.js → toChartData-CNfdaXyM-Cc0Cbk9b.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BibNNRS5-DCmyWsB-.js → treasuryColorHelper-JBMxqa9X-CRkfUPI_.js} +1 -1
- package/dist/assets/{uploadAttachment-BjJ8_wDA-22p019X4.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js} +25 -25
- package/dist/assets/{uploadReceipts-D80JLNY4-sjevKwVl.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +0 -47
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +0 -24
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +0 -42
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +0 -1447
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +0 -219
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +0 -36
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +0 -2932
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +0 -1
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +0 -1254
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +0 -370
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +0 -28
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +0 -12
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +0 -207
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +0 -140
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +0 -150
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +0 -121
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +0 -31
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +0 -147
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +0 -1
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
import{X as B,u as q,M as _,t as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,w as ae,n as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,e as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,f as gt,b4 as ht}from"./index-DyBH5SZv.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-DPbbQVAO-ChPUlKK7.js";import{c as mt,h as ft}from"./ReportTableViewSelector-D7B88kS6-BrGIUsj4.js";import{F as bt}from"./InsightsSection-D_wtVtVg-5rPDOiJT.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-jP1ggD3g-CQiTz4E7.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-D33p-PFq-CGRJwc_N.js";import{C as yt}from"./NoDataChart-CvGbQO4j-B5z4vqWb.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js";import{b as Ie}from"./TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js";import{d as Pt}from"./NoDataTable-EKtYZwcL-XyHu2gAL.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-CFJt-T5J-B9PAzC5S.js";import"./chartTypes-qpvW4LwC-4Ag0mdD1.js";import"./toCOABalancesWithID-DeWKaovX-C_3xC96w.js";import"./toChartData-Dkp488IJ-Cg1gF7al.js";import"./AccountRow-CP7Tu1pO-VLQJgkE6.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=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"})),Lt=u.div`
|
|
2
|
-
justify-content: center;
|
|
3
|
-
align-items: center;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: ${e=>`calc(100vh - ${tt.valuePx(e.windowSize)})`};
|
|
7
|
-
gap: ${d.sp6};
|
|
8
|
-
color: ${e=>e.theme.colors.grey2};
|
|
9
|
-
`,It=u.div`
|
|
10
|
-
width: ${d.sp12};
|
|
11
|
-
height: ${d.sp12};
|
|
12
|
-
flex-shrink: 0;
|
|
13
|
-
`,Rt=u(ae)`
|
|
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
|
-
`,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Lt,{windowSize:n,style:{...e},children:[s.jsx(It,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function zt(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Mt(e){const t=zt(e);if(t!=null)return mt(e.statementEndPoint,e.authParams,t)}const At=u.div`
|
|
21
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
-
`;function Ft({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(At,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Et=u.div`
|
|
23
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
-
`;function Vt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Et,{children:s.jsx(te,{balance:r,dateText:p,showInfotip:!1})})}const Wt=u.div`
|
|
25
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
|
-
`,Ht=u.div`
|
|
27
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
|
-
height: ${d.sp6};
|
|
29
|
-
`;function Yt({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(Ht,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(Wt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Gt=u.div`
|
|
30
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
|
-
`,Ut=u.div`
|
|
32
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
|
-
height: ${d.sp6};
|
|
34
|
-
`;function Zt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(Ut,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=ue(c,r);return s.jsx(Gt,{children:s.jsx(te,{balance:c,dateText:m,showInfotip:!1})})}const qt=u.div`
|
|
35
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
|
-
`,Xt=u.div`
|
|
37
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
|
-
height: ${d.sp6};
|
|
39
|
-
`;function Kt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(Xt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Jt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Kt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Ft,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new L(C[3],C[3],C[8]),chartHeight:new L(288,360)},Qt=u.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
flex: 1 1 auto;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
height: ${e=>J.chartHeight.valuePx(e.windowSize)};
|
|
44
|
-
`,es=u.div`
|
|
45
|
-
display: flex;
|
|
46
|
-
`,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Qt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={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"}},Me=Le`
|
|
47
|
-
0% {
|
|
48
|
-
transform: translateY(100%)
|
|
49
|
-
}
|
|
50
|
-
100% {
|
|
51
|
-
transform: translateY(0)
|
|
52
|
-
}
|
|
53
|
-
`,os=Le`
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 0
|
|
56
|
-
}
|
|
57
|
-
90% {
|
|
58
|
-
opacity: 0
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
opacity: 1
|
|
62
|
-
}
|
|
63
|
-
`,as=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: ${T.overlayDark};
|
|
74
|
-
`,ns=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: ${T.blackColor}E6;
|
|
86
|
-
`,Ae=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
|
-
`,Fe=u.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
justify-content: flex-end;
|
|
95
|
-
width: 100%;
|
|
96
|
-
padding: ${d.sp3} ${d.sp4};
|
|
97
|
-
`,Ee=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: ${os} 0.4s;
|
|
107
|
-
`,is=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: ${Me} 0.4s;
|
|
119
|
-
position: relative;
|
|
120
|
-
`,rs=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: ${Me} 0.4s;
|
|
130
|
-
position: relative;
|
|
131
|
-
`,cs=u.div`
|
|
132
|
-
position: absolute;
|
|
133
|
-
left: 0;
|
|
134
|
-
margin-top: 130px;
|
|
135
|
-
`,ls=u.div`
|
|
136
|
-
position: absolute;
|
|
137
|
-
left: 0;
|
|
138
|
-
margin-top: 500px;
|
|
139
|
-
`,ds=u.div`
|
|
140
|
-
position: absolute;
|
|
141
|
-
right: 30px;
|
|
142
|
-
margin-top: 200px;
|
|
143
|
-
`,ps=u.div`
|
|
144
|
-
width: 140px;
|
|
145
|
-
transform: rotate(-22.31deg);
|
|
146
|
-
`,us=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
|
-
`,gs=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
|
-
`,hs=u(Ne)`
|
|
162
|
-
max-width: 496px;
|
|
163
|
-
margin-top: ${d.sp7};
|
|
164
|
-
margin: auto;
|
|
165
|
-
color: ${e=>e.theme.colors.primary};
|
|
166
|
-
`,ms=u(Ne)`
|
|
167
|
-
max-width: 330px;
|
|
168
|
-
margin: auto;
|
|
169
|
-
color: ${T.primaryDark};
|
|
170
|
-
`,Ve=u.div``,We=u(ae)`
|
|
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"?T.heroDark:e.theme.colors.hero};
|
|
174
|
-
`,fs=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
|
-
`,bs=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"?T.heroDark:e.theme.colors.hero};
|
|
187
|
-
margin-top: 22px;
|
|
188
|
-
list-style-position: outside;
|
|
189
|
-
padding-left: ${d.sp3};
|
|
190
|
-
`,re=u(it)``,ce=u(nt)``,le=u.li``,xs=u.div`
|
|
191
|
-
overflow: hidden;
|
|
192
|
-
max-width: 712px;
|
|
193
|
-
display: flex;
|
|
194
|
-
`,_s=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
|
-
`,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",M={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...M}}),$s=u(vs)(({theme:e})=>({[`& .${M.switchBase}`]:{color:e.colors.grey2},[`& .${M.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${M.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${M.switchBase}.Mui-checked + .${M.track}`]:{backgroundColor:e.colors.grey1},[`& .${M.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${M.switchBase}.Mui-disabled + .${M.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ve=u.div``,js=u.div`
|
|
201
|
-
min-width: ${e=>Z.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
|
-
`,Cs=u.div`
|
|
211
|
-
display: flex;
|
|
212
|
-
flex-direction: column;
|
|
213
|
-
width: 315px;
|
|
214
|
-
white-space: normal;
|
|
215
|
-
`,ks=u(ut)`
|
|
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
|
-
`,Os=u(ae)`
|
|
222
|
-
display: flex;
|
|
223
|
-
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
224
|
-
margin-bottom: ${d.sp1};
|
|
225
|
-
`,Bs=u.div``,Ps=u.div``,Ns=u(gt)`
|
|
226
|
-
display: flex;
|
|
227
|
-
color: ${T.alert};
|
|
228
|
-
`,Ls=u(ht)`
|
|
229
|
-
color: ${T.alert};
|
|
230
|
-
width: ${d.sp4};
|
|
231
|
-
height: ${d.sp4};
|
|
232
|
-
margin-right: ${d.sp1};
|
|
233
|
-
`,Is=u.span`
|
|
234
|
-
overflow: hidden;
|
|
235
|
-
white-space: nowrap;
|
|
236
|
-
text-overflow: ellipsis;
|
|
237
|
-
max-width: ${e=>Z.forecastNameOuterWidth.valuePx(e.windowSize)};
|
|
238
|
-
text-align: right;
|
|
239
|
-
`,Rs=u.div`
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: row;
|
|
242
|
-
align-items: center;
|
|
243
|
-
justify-content: end;
|
|
244
|
-
`,Ds=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
|
-
`,Ts=u.div``,zs=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=>Z.tooltipWidth.valuePx(e.windowSize)};
|
|
263
|
-
top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
|
-
`,Ms=u(rt)`
|
|
265
|
-
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function As({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=y.useState(l(t));return ee.useEffect(()=>{m(l(t))},[t]),s.jsxs(js,{windowSize:r,children:[s.jsx(Ts,{children:s.jsx(zs,{className:"info-tooltip",windowSize:r,children:s.jsx(Ms,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Fs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Fs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=q(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
|
|
267
|
-
height: ${d.sp3};
|
|
268
|
-
width: ${d.sp3};
|
|
269
|
-
`,h=u(lt)`
|
|
270
|
-
height: 12px;
|
|
271
|
-
width: 12px;
|
|
272
|
-
margin-left: 6px;
|
|
273
|
-
`,f=({children:b,...$})=>s.jsx(ie.SingleValue,{...$,children:s.jsxs(Rs,{children:[s.jsx(Is,{windowSize:r,children:b}),s.jsx(h,{})]})}),x=b=>s.jsx(ie.DropdownIndicator,{...b,children:s.jsx(ve,{})}),w=b=>s.jsx(ve,{children:s.jsx(ie.Option,{...b,children:s.jsxs(Cs,{children:[s.jsxs(ks,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Os,{isValid:b.data.isValid,children:[s.jsx(Bs,{children:b.data.timeframeLabel}),s.jsx(Ds,{isValid:b.data.isValid}),s.jsx(Ps,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Ns,{children:[s.jsx(Ls,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:C[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:C[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:W})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?m:W===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?m:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(dt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},$e={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Es=u.div`
|
|
274
|
-
display: flex;
|
|
275
|
-
width: 100%;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
`,Vs=u.div`
|
|
278
|
-
display: flex;
|
|
279
|
-
width: 100%;
|
|
280
|
-
flex-direction: row;
|
|
281
|
-
`,Ge=u.div`
|
|
282
|
-
display: flex;
|
|
283
|
-
flex-direction: row;
|
|
284
|
-
flex: 1 1 auto;
|
|
285
|
-
justify-content: center;
|
|
286
|
-
padding-left: ${e=>$e.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
|
-
padding-bottom: ${e=>$e.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
-
`,Ws=u.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
width: 100%;
|
|
291
|
-
flex-direction: row;
|
|
292
|
-
align-items: center;
|
|
293
|
-
justify-content: center;
|
|
294
|
-
`,Hs=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
|
-
`,Ys=u.div`
|
|
302
|
-
display: flex;
|
|
303
|
-
flex-direction: row;
|
|
304
|
-
align-items: center;
|
|
305
|
-
margin-right: ${d.sp5};
|
|
306
|
-
`,Ue=u(ae)`
|
|
307
|
-
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
-
`,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(As,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Gs=e=>{const t=B();return s.jsxs(Es,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Gs,{...e}):s.jsx(Us,{...e})}const qs=u.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
-
`,Xs=u.div``,Ks=u.div``,Js=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let 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 $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Ks,{children:s.jsxs(Xs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,j)=>H("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const G=xt(c,v.fromEnd),X=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(G,X)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Qs({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Ct(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Qs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({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 io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=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[]}},ke={contentPaddingLeft:new L(C[0],C[0],C[0]),contentPaddingRight:new L(C[3],C[3],C[8])},uo=u.div`
|
|
313
|
-
width: 100%;
|
|
314
|
-
height: calc(100vh - 70px);
|
|
315
|
-
`,go=u.div`
|
|
316
|
-
display: flex;
|
|
317
|
-
position: sticky;
|
|
318
|
-
justify-content: center;
|
|
319
|
-
padding-top: ${d.sp6};
|
|
320
|
-
padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
321
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
322
|
-
`,ho=u.div`
|
|
323
|
-
position: absolute;
|
|
324
|
-
padding-top: ${d.sp3};
|
|
325
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
326
|
-
`,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),U(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[N],x?.numberOfPeriods??k)},[P,F]=y.useState(void 0),[Y,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&h?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!Q(Y,j)||e.isPageFetchInProgress===!0){const N=fo(j,O,I,e.isPageFetchInProgress);E(j),F(N)}else{const N=lo(P,O,j,I);F(N)}},[H,$,j,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,N)=>{m(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.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})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",K={chartWidth:"100%",barCount:8,barWidth:new L(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=K.chartWidth,barCount:n=K.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??J.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||K.maxBarHeight)*l,width:K.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:K.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-${h}-${g.height}`))})})},_o=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
|
-
`,wo=u.div`
|
|
335
|
-
display: flex;
|
|
336
|
-
align-items: flex-end;
|
|
337
|
-
justify-content: space-between;
|
|
338
|
-
width: 100%;
|
|
339
|
-
height: 100%;
|
|
340
|
-
`,So=u.div`
|
|
341
|
-
flex: 1;
|
|
342
|
-
height: 100%;
|
|
343
|
-
display: flex;
|
|
344
|
-
align-items: flex-end;
|
|
345
|
-
justify-content: center;
|
|
346
|
-
`,yo=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
|
-
`,vo=u.div`
|
|
354
|
-
position: relative;
|
|
355
|
-
box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
357
|
-
padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
358
|
-
padding-right: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
|
|
359
|
-
`,$o=u.div`
|
|
360
|
-
display: flex;
|
|
361
|
-
justify-content: center;
|
|
362
|
-
padding: ${d.sp6} ${d.sp0};
|
|
363
|
-
`,jo=u.div`
|
|
364
|
-
display: flex;
|
|
365
|
-
flex-direction: column;
|
|
366
|
-
justify-content: center;
|
|
367
|
-
align-items: center;
|
|
368
|
-
height: 100vh;
|
|
369
|
-
margin-top: ${d.sp8};
|
|
370
|
-
`,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,F=Oe(),Y=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await Mt({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:[],...m,reportType:Y||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:X,scrollPosition:ne,...O}=e,N=s.jsx(Qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage"}),H?s.jsx(jo,{children:s.jsx(Ke,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Nt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(Co,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Jt,Q),ko=ee.memo(ts,Q),Oo=ee.memo(mo,Q),Bo=ee.memo(Js,Q);export{na as default};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import{X as $,j as o,Y as w,M as n,o as t,C as j,eA as S,ao as v,a6 as y}from"./index-DyBH5SZv.js";import{b as d,n as r}from"./vendor-CnQcJ2Lu.js";import{x as z}from"./MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js";const C={helpButtonBottom:new j(138,96,96)};function L({isFooterRendered:e,meetingUrl:h,analytics:u,productType:s,setShowPopup:i}){const m=$(),[l,x]=d.useState(!1),[g,p]=d.useState(!1),a=()=>{x(f=>!f)};return o.jsxs(o.Fragment,{children:[g===!0?o.jsx(z,{onCancelClick:()=>{p(!1),i?.(!1)},meetingUrl:h}):null,o.jsxs(H,{"data-testid":w("help-button",s),isFooterRendered:e,windowSize:m,onMouseEnter:a,onMouseLeave:a,onClick:()=>{s!=null&&u?.trackNeedHelp(s),p(!0),i?.(!0)},children:[o.jsx(B,{}),o.jsx(M,{helpTextHover:l,children:l?o.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,o.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):o.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const H=r.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
right: ${t.sp4};
|
|
4
|
-
bottom: ${e=>e.isFooterRendered?C.helpButtonBottom.valuePx(e.windowSize):t.sp4};
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background: ${e=>e.theme.colors.primary};
|
|
9
|
-
padding: ${t.sp2} ${t.sp3} ${t.sp2} ${t.sp2};
|
|
10
|
-
border-radius: 20px;
|
|
11
|
-
cursor: default;
|
|
12
|
-
`,M=r.div`
|
|
13
|
-
width: ${e=>e.helpTextHover===!0?"265px":"75px"};
|
|
14
|
-
transition: width 0.3s;
|
|
15
|
-
padding-left: ${t.sp1};
|
|
16
|
-
`,c=r(v)`
|
|
17
|
-
color: ${e=>e.theme.colors.grey5};
|
|
18
|
-
overflow-x: hidden;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
`,b=r(y)`
|
|
21
|
-
color: ${e=>e.theme.colors.grey5};
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
`,B=r(S)`
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
width: ${t.sp3};
|
|
26
|
-
height: ${t.sp3};
|
|
27
|
-
color: ${e=>e.theme.colors.grey5};
|
|
28
|
-
`;export{L as F};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{X as J,fj as ee,u as te,a as le,j as d,M as ne,n as g,gb as oe,Y as se,F as ie,a3 as re,o as ae,C as E,fm as Z,fn as A,fo as F,b_ as q,l as N,c0 as de}from"./index-DyBH5SZv.js";import{b as P,n as W}from"./vendor-CnQcJ2Lu.js";import{x as ce}from"./AllUserItems-BOwAIYTQ-ikKyJOZ6.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js";import"./RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js";import"./LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js";const w={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},V="editPeoplePage",$="userItems",p=ne.getLocalizedStrings().peoplePage,Se=({peopleDetails:e,managersList:s,classList:R,controllersList:z,mode:n,isZeniTenant:O,onPeopleLocalDataUpdated:S,onCloseClick:T,onSaveClick:i,isReimbursementDisabled:_,isZeniAccountsDisabled:o,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=J(),[X,K]=P.useState(-1),[B,L]=P.useState(""),D=P.useRef(null),I=P.useMemo(()=>ee(_,o,k,b,x,U,j),[_,o,k,b,x,U,j]),Q=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,n,I,s,R,b,x),values:M(e.people,n,I,s,R,b,x)}),Y=r.handleSubmit(()=>{G()?i():console.warn("Invite People form error")}),G=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(n==="zeni_only")a?.selectedOptions==null&&(r.setError(`${$}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${$}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${$}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${$}.${C}.manager`,{type:"required"}),l=!1)}}),l},H=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(n==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(y=>N.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=N.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),S(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&H(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?L(n==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):L(""))};return c==="small"?L(n==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&L(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[n,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(oe,{title:B,backgroundColor:Q.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:n==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${V}_form`,onSubmit:Y,children:d.jsx(ce,{control:r.control,sectionId:$,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:K,mode:n,isZeniTenant:O,classList:R,managersList:s,controllersList:z,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:I,isEdit:!1})})})]}),d.jsx(re,{formId:`${V}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:w.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:w.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:ae.sp4}})]})},M=(e,s,R,z,n,O,S)=>{const T=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:q.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?F(e[0].role):void 0,allRootRole:A(O,S)},productsByUserRole:Z(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[$]:e.length>0?e.map((i,_)=>({userIndex:_,email:i.email,role:s==="zeni_only"?{allOptions:q.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?F(i.role):void 0,allRootRole:A(O,S)},productsByUserRole:Z(i.role,R)}:void 0,department:{allOptions:n.map(o=>({label:o.fullyQualifiedAccountingClassName??"",value:o.classId,hoverText:o.accountingClassNumber})),selectedOption:n.map(o=>({label:o.fullyQualifiedAccountingClassName??"",value:o.classId,hoverText:o.accountingClassNumber})).find(o=>o.value===i.departmentId)},manager:{allUsers:z,selectedUser:i.managerId}})):T}},Te=(e,s)=>`${e}.${s}`,ue=W.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
|
|
6
|
-
padding-left: ${e=>`${w.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${w.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
`,me=W(de)`
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{Se as default,Te as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{v as e,n as a}from"./index-DyBH5SZv.js";const r=a[5],n=59,o=a[5],i=e.standardRegular.lineHeightValue,l=1,s=1e3;export{i as A,o as E,l as I,s as L,n as a,r as t};
|