@zeniai/web-cockpit-ui 1.13.97-prod → 1.13.98-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-Cwc2nmvY-Yb3TlvKZ.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-CK4ZdUEb-Cw0WnkfY.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
- package/dist/assets/{AccountInfoPage-LiZYkJMA-yHSK7Rnh.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-CCVpHHOa.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
- package/dist/assets/{AccountRow--5DnpNqk-BQr3z4DI.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-BSmZm-Zn.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-CyM0vwpI.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
- package/dist/assets/{AddToWalletPage-7sC3Q2Pb-Cpm0UfHl.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
- package/dist/assets/{AgingReportsPage-PrvYryW8-I7-sb1Ih.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
- package/dist/assets/{AllUserItems-DlTukPhY-C2edQD_z.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-BVciGQma-DJWsvipb.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-uJGLWCbr-CYWyINGb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-SD57OqHe-nBHsW7E9.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-CoFL0N3--DCm6OrE4.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-C3xQE0te-n3iWUkqT.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
- package/dist/assets/{BankAccountSection-Bi3uoDPa-Nc2grfOO.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-CDocL8j_.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
- package/dist/assets/{BillDetailPage-BoxJCC9n-BWeG9Hik.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-BErwhK5C.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CRXar6D8.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage--BGTNJhm-DMPJae3j.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-DgbRhg-m-BQXo-PFB.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-CrVXvVTH.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-BHtgE0KL-CQh3YeAW.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CpfsllRZ-DZ4wSxlf.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
- package/dist/assets/{CardNumberSubText-BHe1nqr7-Dw94kPrk.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C9RhIR0R-d9koKX6M.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
- package/dist/assets/{ChargeCardListTable-C2nnAxo5-FqHclXlq.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-DBBQtECo.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BxyMuU6--CGk-PpFv.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-CRiYxWuZ-sWGKU7hV.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-Bs8VUuYh.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-DdoiVC4M.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
- package/dist/assets/{CompanyPassportCard-PXdmJC_B-C7N0q60V.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
- package/dist/assets/{CompanyPassportPage-MxIwsh3W-D5tCZGyF.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
- package/dist/assets/{CompleteProfile-Bd9xEPVl-Bur2yC4e.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-CMpZ2feY-B5XfbLvf.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bi7M3NeT.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-D9NRI7sf.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-buXhPCBw.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
- package/dist/assets/{CurrencySelectField-B3AvTbkp-CHV4_MaB.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-xoDiasdm.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-CLmmsiWl.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-R3sD-qJw.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-BJjoIZ4H.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-D9abTy3K.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-COTpxjXV.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-Dil7L-H3.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-D3092p-g.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-CvdkcKGu.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-D1kGkMFo-CFSdk_Qd.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
- package/dist/assets/{DrawerPage-CQkJW5hg-9b3zFuwk.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
- package/dist/assets/{EditPeoplePage-m2qls8hv-Di3CS432.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-CK3QXm0O.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
- package/dist/assets/{EntityDetailPage-CcJJwGo7-uoqYszcb.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-JxKHehL1-BXmouJnf.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-DqMsPFLZ.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-B0f86olm-CQRdBFLI.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
- package/dist/assets/{ExpressPayPage-B-at6uDS-Dtq_3eKZ.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-gSb_rct_-Cez0USO5.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
- package/dist/assets/{FollowStepsSection-eedORgku-CZFixVjB.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-BfPwveCc-Be7k0L3l.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
- package/dist/assets/{InformationCardStack-DPaZz4XW-Ou8UbOck.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
- package/dist/assets/{InsightsCardStack-sKUFRR0H-C5AsA-_0.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
- package/dist/assets/{InsightsSection-Corx5iDh-dTSwI2kJ.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-Chu6LuMb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-CscnxDNt.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-BjBnngF4.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
- package/dist/assets/{InviteFormPage-BRb4jyp_-CmdYR0dv.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
- package/dist/assets/{InvitePageListView-Bb_Q_xqJ-NilyMKAO.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CgEhMUSB.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-BIFpAcrl-Bu31m03I.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
- package/dist/assets/{LabeledAddressValue-D2vDF5sP-4KAQPk_1.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-BUwVc2dn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-CLUSQpF_.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Cdd8oj5z-KMtJCE5K.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-D5DtNkbM.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-CqZ-udSP-Cp_rhVhc.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-VJ76Kxzi.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-DvOwsX2r.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-C5V1HfGb-D06-uv9I.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
- package/dist/assets/{LowBalancePopup-BLfeh0xm-DhP5gG4H.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-86DaWsop.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-CVm_wN9K.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-DPVwqhye.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-BtgwLSxA.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CJhcwaGu-CmX5rK11.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cz9lxz_J.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
- package/dist/assets/{Menu-D-Gk-Xfo-BdR2WSLk.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-hdH4Wtg6.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-Dvtp1o1A.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BwWW-nAl.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
- package/dist/assets/{NavBarWithPicker-CXyMHDUO-Bs94YYmI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
- package/dist/assets/{NavigationArrow-Bv-PvnhZ-vMsiaM3Z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
- package/dist/assets/{NavigationDots-DJkiFidH-CvAq_Xy1.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-GJEZOLOL.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
- package/dist/assets/{NoDataChart-Bsj1HEPq-CJfsMw19.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-6vR2vOMI-B5-4Kmpd.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-SRxATfaW-qkQ6HjRZ.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Bko3CBmW-BHyL3Q9x.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
- package/dist/assets/{NotificationsPage-DMfBgh2w-DdakMy7H.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
- package/dist/assets/{OpExByVendorPage-DOkwCGkr-B0f2S69-.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BTIdWBzf.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-CPKRdyVw.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-CL6ak5nD.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
- package/dist/assets/{PeoplePage-PvOhX-gy-Ba-if4o6.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-qzlVuyK5-Br7ptzfB.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
- package/dist/assets/{PromoBaseCards-26GOEn3a-DXSGBLy_.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-OI8VK0Zg.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
- package/dist/assets/{QBOSetupSection-u1sJhV67-D6SlbwYt.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-D2eeHzsf.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-CiGGKTdH.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-uLcb5a84.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-BWsOD49o-DBNhMU2z.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-D49XUJqE.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-CpauR6-c-DZ_kV9B0.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
- package/dist/assets/{RevenueChart-JdtvK4L6-p_ox0aCR.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-N2PuuAU3.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
- package/dist/assets/{ReviewOverlay-BLxhto7d-wwPpp1Rv.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
- package/dist/assets/{RoleWithToolTip-BRSx6yqP-CARA1Fps.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-CmBm9qTm.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CMunoow5-CjQGMvSk.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-BsTcRunu.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
- package/dist/assets/{ScreenRoutes-BUfnw6rn.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CyyxtFvK-CV60qDRz.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-xlnUNQOd.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
- package/dist/assets/{SignIn-Gw75P03k-DZzhd4eu.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
- package/dist/assets/{SignInScreen-Dq6qYwZm.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BccaMtyd-Df6Rk5hP.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-D9wGY7Sp.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
- package/dist/assets/{SpendManagementSection-CdH1r1Vw-CNPLQDmq.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/{StatementItem-BW9HKaf9-DHH3_eMn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
- package/dist/assets/{StatementsPage-CXawS1th-D3YQNnde.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
- package/dist/assets/{StatusSwitcher-oC-AP25Z-BIEyDhm7.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DXWQMf7B-COcvC76z.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-C3zjN-kT-Cfx6YIVD.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-BGDJNpe_-Bv3LANWK.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-BJfy3akS-DFCAXXsq.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-Cdz5qhRc.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
- package/dist/assets/{TopExCard-BD9Ehuw_-Btk-YgZT.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
- package/dist/assets/{TopExDetailPage-3HoXp_6D-DmBiYGdL.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CbnGQ8bn-Cg1J4diW.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-5aenxEn4-CWYWbXxG.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-D7Pu6Fa2.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
- package/dist/assets/{TransferDrawerPage-2P1mhp1M-B7oxuimL.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-D3Q7MJ4U.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-CGC4zL_g.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
- package/dist/assets/{TreasurySetupPage-B7va2-fJ-CNDcrt8c.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-2-eidQa0.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-D--iiF7F.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-qCMNFj2v.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
- package/dist/assets/{TrendChart-DRNocU0p-CnURe1Lr.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CldwGpXX-_Vy0tAR0.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-BdEwYcSE.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
- package/dist/assets/{UnitIntegrationPage--cDHqgXs-Dx-BvNNy.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-1p5rwy9h.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-vdFWf98b-D32U3pYN.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-D7ImMabh-BOoEsNma.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-BOeEd9pX-B0fSv2j-.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-BF9k2J97.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-C1xhL1S7.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-CXJaoIKB.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-Bp14Fqws.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-Dgo0AgQr.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BTRiZlIa-9pqLXKCO.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-ZgfQEBme-Bz-_RQEG.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-CnbEn37D.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-Dk1rVmVe.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-9p5pX7Wv.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-CAtlT9pF.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-CjiQIVC-.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
- package/dist/assets/{ZeniCopyright-BAbOOFg9-Ba3Hfqst.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-DIRmcL5V.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-CwpIhk9-.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-CkzpobMi-D_btd99n.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-JD2mR9iq-CV6xq_QP.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-DRfDJ_wQ-CneCHG2f.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-BbKkY_46-Z5qIUAEr.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
- package/dist/assets/{downloadPdf-D7ANJLK4-JxxYzwZh.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-sK9Ftyw4.js → index-DyBH5SZv.js} +3543 -3520
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-DwAiwvFw.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
- package/dist/assets/{play-icon-BbWpG2oG-B5eavh5o.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CNfdaXyM-DfRj5vR3.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-JBMxqa9X-CUh3yvXJ.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BGZjtYkJ-C2nAJwG2.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
- package/dist/assets/{uploadReceipts-Buvz7DfG-DhG_60YS.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-BiMT6aOy.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-QKrc0pyW.js +0 -47
- package/dist/assets/ArAgingChart-GL4vkypx-DFuyLVYD.js +0 -24
- package/dist/assets/BillPaySetUpPage-_s4R537_-DZWDn61D.js +0 -42
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-27IRQfLT.js +0 -1447
- package/dist/assets/ChargeCardListPage-BnzdzSXW-BVsaSOA5.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Fnig2Ypz.js +0 -175
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-FapyQkm6.js +0 -36
- package/dist/assets/CollapsableReportTable-BGT77T9W-CUBrV0Bt.js +0 -2860
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-TgCXFZSY.js +0 -1
- package/dist/assets/Dashboard-CA9685lJ-tQYLqsRv.js +0 -778
- package/dist/assets/DashboardReportPage-DQoFWd5C-D2SWkLyX.js +0 -349
- package/dist/assets/HelpButton-DvD6UJq--DH6Lkii6.js +0 -28
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-gH3ZdBUQ.js +0 -12
- package/dist/assets/NotificationsListConfig-ChVd_Bek-B5rqV-0u.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-uMKipSgE.js +0 -207
- package/dist/assets/PortfolioDetails-BEa4kwk8-CZhLy7bU.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CjFJx_39.js +0 -140
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-BSunAQvT.js +0 -150
- package/dist/assets/ReportsPage-D4mI3T0w-WDX-OUzA.js +0 -120
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-B5W1wa7s.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-Crad0c1r.js +0 -31
- package/dist/assets/TransactionList-BBjiP2Nf-u9SYmiJO.js +0 -147
- package/dist/assets/TransactionListPage-BeVkiwkg-CZaGi9mq.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-ymVVgqde.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-C1yi1TTP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-C3cOfAea.js +0 -1
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
import{X as O,u as J,M as f,V as Ce,l as D,j as s,aW as Ge,e as Ue,B as Ze,aY as qe,o as d,C as R,D as K,aZ as Je,v as oe,q as N,ao as Ke,ab as Xe,a_ as Qe,a6 as je,K as $e,g as T,Z as ke,aa as et,av as tt,n as st,a$ as ot,b0 as at,b1 as nt,b2 as ne,b3 as it,b4 as rt,m as ct,b5 as lt}from"./index-sK9Ftyw4.js";import{b as _,f as X,n as u,k as Oe}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-CkzpobMi-D_btd99n.js";import{c as dt,h as pt}from"./ReportTableViewSelector-D6DHFt_R-BSunAQvT.js";import{F as ut}from"./InsightsSection-Corx5iDh-dTSwI2kJ.js";import{N as he,k as mt,q as gt,H as Q,G as pe}from"./detailCommon-BbKkY_46-Z5qIUAEr.js";import{N as ht,G as ft,H as fe,Y as be,P as xe}from"./RevenueChart-JdtvK4L6-p_ox0aCR.js";import{C as bt}from"./NoDataChart-Bsj1HEPq-CJfsMw19.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-BJfy3akS-DFCAXXsq.js";import{b as Be}from"./TimeframeSwitcher-M9tK6u0Y-Cdz5qhRc.js";import{a as _t,r as V,b as wt,i as ue,D as St}from"./CollapsableReportTable-BGT77T9W-CUBrV0Bt.js";import{S as yt,M as vt,g as Ct,L as ee,D as Pe,T as Le,I as Ne}from"./mapSectionWithAcOnlyToTreeNode-caUW45t5-DwAiwvFw.js";import{d as jt}from"./NoDataTable-6vR2vOMI-B5-4Kmpd.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-DJkiFidH-CvAq_Xy1.js";import"./chartTypes-JD2mR9iq-CV6xq_QP.js";import"./toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js";import"./toChartData-CNfdaXyM-DfRj5vR3.js";import"./AccountRow--5DnpNqk-BQr3z4DI.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.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"}),_.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"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.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"}),_.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"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.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"})),kt=u.div`
|
|
2
|
-
justify-content: center;
|
|
3
|
-
align-items: center;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: ${e=>`calc(100vh - ${Je.valuePx(e.windowSize)})`};
|
|
7
|
-
gap: ${d.sp6};
|
|
8
|
-
color: ${e=>e.theme.colors.grey2};
|
|
9
|
-
`,Ot=u.div`
|
|
10
|
-
width: ${d.sp12};
|
|
11
|
-
height: ${d.sp12};
|
|
12
|
-
flex-shrink: 0;
|
|
13
|
-
`,Bt=u(oe)`
|
|
14
|
-
color: ${e=>e.theme.colors.hero};
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
margin-top: ${d.sp3};
|
|
20
|
-
`,Pt=({style:e,emptyContentText:t,EmptyContentImage:o})=>{const n=O();return s.jsxs(kt,{windowSize:n,style:{...e},children:[s.jsx(Ot,{children:s.jsx(o,{})}),s.jsx(Bt,{children:t})]})};function Lt(e){const{reportId:t}=e.report,o=e.filter.balancesRange.orderBy;let n,a,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:i,cashOut:c}=p,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:i}=p;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:i,income:c}=p.sections,l=i?.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:i,income:c,cogs:l}=p.sections,g=c.balances.length>0?c:l,m=i.balances.length>0?i:g;m.balances.length>0&&(o==="ascending_date"&&(r=m.balances.length-1),n=m.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"revenue":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}}return n!=null&&(a={startDate:n.startDate,endDate:n.endDate}),a}function Nt(e){const{isCompareModeOn:t,filter:o,coaBalancesRange:n,report:a,currentTenantCompanyName:r,reportView:p,classesToFilterOut:i}=e,{reportId:c}=a;let l=o.balancesRange.thisPeriod;l==null&&(l=Lt({report:a,filter:o}));const g=[];if(t?(g.push("this_period_vs_last_period_percent"),g.push("this_period_vs_last_period")):!t&&c!=="cash_position"&&g.push("free_range_total"),a.reportId!=="cash_position"&&g.push("year_to_date_total"),l!=null)return{localeId:f.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[c],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:o.timeframe,additionalBalances:g,format:e.reportType,balancesFilter:{thisPeriod:l,numberOfPeriods:t?o.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:i,isZeniCOAUsed:e.isZeniCOAUsed}}function Rt(e){const t=Nt(e);if(t!=null)return dt(e.statementEndPoint,e.authParams,t)}const It=u.div`
|
|
21
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
-
`;function Tt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:o}=e,n=o.balances;if(t==null||t===0||n.length===0)return null;const a=n.reduce((c,l)=>c+l.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:a}},i=f.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(It,{children:s.jsx(Q,{balance:p,dateText:i,showInfotip:!1})})}const Dt=u.div`
|
|
23
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
-
`;function zt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=f.getLocalizedStrings(),{availableNumberOfPeriods:o,cashPosition:n}=e,a=n.balances;if(o==null||o===0||a.length===0)return null;const r=a[a.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Dt,{children:s.jsx(Q,{balance:r,dateText:p,showInfotip:!1})})}const Mt=u.div`
|
|
25
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
|
-
`,At=u.div`
|
|
27
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
|
-
height: ${d.sp6};
|
|
29
|
-
`;function Ft({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:o}=t,{availableNumberOfPeriods:n,calculatedSections:a}=e,r=a.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(At,{});const p=o.includes("this_period_vs_last_period")||o.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=pe(g,p);return s.jsx(Mt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Et=u.div`
|
|
30
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
|
-
`,Vt=u.div`
|
|
32
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
|
-
height: ${d.sp6};
|
|
34
|
-
`;function Wt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o}=e,{selectedAdditionalBalances:n}=t,a=e.sections.expenses.balances??[];if(o==null||o===0||a.length===0)return s.jsx(Vt,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=a.reduce((m,b)=>m+b.balance.amount,0),i=a[a.length-1],c=a[0],l={...i,balance:{...i.balance,amount:p},startDate:c.startDate},g=pe(l,r);return s.jsx(Et,{children:s.jsx(Q,{balance:l,dateText:g,showInfotip:!1})})}const Yt=u.div`
|
|
35
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
|
-
`,Ht=u.div`
|
|
37
|
-
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
|
-
height: ${d.sp6};
|
|
39
|
-
`;function Gt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o,sections:n}=e,{selectedAdditionalBalances:a}=t,r=n.income.balances;if(o==null||o===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"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=pe(g,p);return s.jsx(Yt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Ut=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Ft,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Gt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Wt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(zt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Tt,{highlightedRangeReport:e});default:return null}},se={wrapperPadding:new R(N[3],N[3],N[8]),chartHeight:new R(288,360)},Zt=u.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
flex: 1 1 auto;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
height: ${e=>se.chartHeight.valuePx(e.windowSize)};
|
|
44
|
-
`,qt=u.div`
|
|
45
|
-
display: flex;
|
|
46
|
-
`,Jt=e=>{const t=O(),{selectedRangeReport:o,selectedClassesViewRangeReport:n,uiState:a,onCOABalancesRangeChanged:r}=e,p=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0,{selectedCOABalancesRange:i,selectedAdditionalBalances:c,highlightedCOABalancesRange:l,timeframe:g}=a,m=n!==void 0&&n.uiState.accountViewMode==="classes"?n:o;return p?s.jsx(qt,{children:s.jsx(bt,{title:f.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Zt,{windowSize:t,children:s.jsx(Ke,{children:({height:b,width:w})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(v,S,h)=>{Kt(o.firstMonthOfFY,c,o.reportId,S,v,e.analytics),r(i,h)},highlightedRange:l,isDetailPage:!0,timeframe:g,width:w,height:b};switch(m.reportId){case"net_burn_or_income":return s.jsx(xe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(xe,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(be,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(be,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(fe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(fe,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(ft,{selectedRangeReport:o,...x});case"cash_in_cash_out":return s.jsx(ht,{selectedRangeReport:o,...x});default:return null}}})})},Kt=(e,t,o,n,a,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(I(o),U(n),"bar",te(e,n,a)),r?.trackDateRangeFilterChange(I(o),"bar",p,void 0,te(e,n,a))},Re={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"}},Ie=Oe`
|
|
47
|
-
0% {
|
|
48
|
-
transform: translateY(100%)
|
|
49
|
-
}
|
|
50
|
-
100% {
|
|
51
|
-
transform: translateY(0)
|
|
52
|
-
}
|
|
53
|
-
`,Xt=Oe`
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 0
|
|
56
|
-
}
|
|
57
|
-
90% {
|
|
58
|
-
opacity: 0
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
opacity: 1
|
|
62
|
-
}
|
|
63
|
-
`,Qt=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
|
-
`,es=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
|
-
`,Te=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
|
-
`,De=u.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
justify-content: flex-end;
|
|
95
|
-
width: 100%;
|
|
96
|
-
padding: ${d.sp3} ${d.sp4};
|
|
97
|
-
`,ze=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: ${Xt} 0.4s;
|
|
107
|
-
`,ts=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: ${Ie} 0.4s;
|
|
119
|
-
position: relative;
|
|
120
|
-
`,ss=u.div`
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: column;
|
|
123
|
-
justify-content: space-between;
|
|
124
|
-
flex-wrap: wrap;
|
|
125
|
-
align-items: center;
|
|
126
|
-
text-align: center;
|
|
127
|
-
height: 640px;
|
|
128
|
-
width: 100%;
|
|
129
|
-
animation: ${Ie} 0.4s;
|
|
130
|
-
position: relative;
|
|
131
|
-
`,os=u.div`
|
|
132
|
-
position: absolute;
|
|
133
|
-
left: 0;
|
|
134
|
-
margin-top: 130px;
|
|
135
|
-
`,as=u.div`
|
|
136
|
-
position: absolute;
|
|
137
|
-
left: 0;
|
|
138
|
-
margin-top: 500px;
|
|
139
|
-
`,ns=u.div`
|
|
140
|
-
position: absolute;
|
|
141
|
-
right: 30px;
|
|
142
|
-
margin-top: 200px;
|
|
143
|
-
`,is=u.div`
|
|
144
|
-
width: 140px;
|
|
145
|
-
transform: rotate(-22.31deg);
|
|
146
|
-
`,rs=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
|
-
`,cs=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
|
-
`,ls=u(ke)`
|
|
162
|
-
max-width: 496px;
|
|
163
|
-
margin-top: ${d.sp7};
|
|
164
|
-
margin: auto;
|
|
165
|
-
color: ${e=>e.theme.colors.primary};
|
|
166
|
-
`,ds=u(ke)`
|
|
167
|
-
max-width: 330px;
|
|
168
|
-
margin: auto;
|
|
169
|
-
color: ${T.primaryDark};
|
|
170
|
-
`,Me=u.div``,Ae=u(oe)`
|
|
171
|
-
margin: ${d.sp3} auto;
|
|
172
|
-
max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
|
|
173
|
-
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
|
|
174
|
-
`,ps=u.div`
|
|
175
|
-
display: flex;
|
|
176
|
-
flex-direction: column;
|
|
177
|
-
align-items: center;
|
|
178
|
-
justify-content: center;
|
|
179
|
-
margin-top: 22px;
|
|
180
|
-
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp3:d.sp4};
|
|
181
|
-
`,us=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
|
-
`,ie=u(tt)``,re=u(et)``,ce=u.li``,ms=u.div`
|
|
191
|
-
overflow: hidden;
|
|
192
|
-
max-width: 712px;
|
|
193
|
-
display: flex;
|
|
194
|
-
`,gs=u.div`
|
|
195
|
-
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp4:d.sp0};
|
|
196
|
-
background: ${e=>e.theme.colors.grey3};
|
|
197
|
-
border-radius: 12px;
|
|
198
|
-
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
199
|
-
padding: ${d.sp2};
|
|
200
|
-
`,le=()=>s.jsxs(is,{children:[s.jsx(rs,{}),s.jsx(cs,{})]}),Fe=({imgSrc:e})=>{const t=O();return s.jsxs(ps,{windowSize:t,children:[s.jsx(ms,{windowSize:t,children:s.jsx(gs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(us,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},hs=e=>{const{onClose:t,reportId:o,meetingUrl:n}=e,a=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(n.toString(),"_blank")},c=Re[o][r.mode];return s.jsxs(es,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(ze,{children:s.jsx(je,{style:{width:"18px",height:"18px"}})})}),s.jsx(ss,{onClick:l=>l.stopPropagation(),children:s.jsxs(Te,{windowSize:a,children:[s.jsx(ds,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Fe,{imgSrc:c}),s.jsxs(Me,{children:[s.jsx($e,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(Ae,{windowSize:a,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},fs=e=>{const{onClose:t,reportId:o,meetingUrl:n}=e,a=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(n.toString(),"_blank")},c=Re[o][r.mode];return s.jsxs(Qt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(ze,{children:s.jsx(je,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ts,{onClick:l=>l.stopPropagation(),children:[s.jsxs(Te,{windowSize:a,children:[s.jsx(ls,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Fe,{imgSrc:c}),s.jsxs(Me,{children:[s.jsx($e,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i}),s.jsx(Ae,{windowSize:a,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(os,{children:s.jsx(le,{})}),s.jsx(as,{children:s.jsx(le,{})}),s.jsx(ns,{children:s.jsx(le,{})})]})]})};function bs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(hs,{...e}):s.jsx(fs,{...e})}const de="ZeniSwitch",M={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},xs=({className:e,...t})=>s.jsx(it,{...t,className:e,classes:{...M}}),_s=u(xs)(({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}})),Ee=e=>s.jsx(_s,{...e}),Z={containerMaxWidth:new R(124,154),forecastNameInnerWidth:new R(75,105),forecastNameOuterWidth:new R(90,120),tooltipTopPosition:new R(51,51),tooltipWidth:new R(180,150)},_e=u.div``,ws=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
|
-
`,Ss=u.div`
|
|
211
|
-
display: flex;
|
|
212
|
-
flex-direction: column;
|
|
213
|
-
width: 315px;
|
|
214
|
-
white-space: normal;
|
|
215
|
-
`,ys=u(rt)`
|
|
216
|
-
display: flex;
|
|
217
|
-
justify-content: space-between;
|
|
218
|
-
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
219
|
-
margin-bottom: ${d.sp1};
|
|
220
|
-
align-items: center;
|
|
221
|
-
`,vs=u(oe)`
|
|
222
|
-
display: flex;
|
|
223
|
-
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
224
|
-
margin-bottom: ${d.sp1};
|
|
225
|
-
`,Cs=u.div``,js=u.div``,$s=u(ct)`
|
|
226
|
-
display: flex;
|
|
227
|
-
color: ${T.alert};
|
|
228
|
-
`,ks=u(lt)`
|
|
229
|
-
color: ${T.alert};
|
|
230
|
-
width: ${d.sp4};
|
|
231
|
-
height: ${d.sp4};
|
|
232
|
-
margin-right: ${d.sp1};
|
|
233
|
-
`,Os=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
|
-
`,Bs=u.div`
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: row;
|
|
242
|
-
align-items: center;
|
|
243
|
-
justify-content: end;
|
|
244
|
-
`,Ps=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
|
-
`,Ls=u.div``,Ns=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
|
-
`,Rs=u(st)`
|
|
265
|
-
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function Is({selectedForecastIndex:e,forecasts:t,isDisabled:o,isForecastValid:n,onForecastSelectionChanged:a}){const r=O(),{dateFormat:{visual:p}}=f.getLocalizedStrings(),i=m=>`${m.startDate.format(p.MMMYYYYFormat)} - ${m.endDate.format(p.MMMYYYYFormat)}`,c=m=>m.map((b,w)=>({label:b.name,value:w,forecastId:b.id,timeframeLabel:i(b.forecastPeriod),isValid:n(b)})),[l,g]=_.useState(c(t));return X.useEffect(()=>{g(c(t))},[t]),s.jsxs(ws,{windowSize:r,children:[s.jsx(Ls,{children:s.jsx(Ns,{className:"info-tooltip",windowSize:r,children:s.jsx(Rs,{children:l[e]!=null?l[e].label:""})})}),s.jsx(Ts,{selectedForecast:l[e],forecastOptions:l,isDisabled:o,onForecastSelectionChanged:a})]})}const Ts=({selectedForecast:e,forecastOptions:t,isDisabled:o,onForecastSelectionChanged:n})=>{const a=J(),r=O(),[p,i]=_.useState(e),c=a.colors.grey5,l=a.colors.grey5,g=a.colors.grey3;_.useEffect(()=>{i(e)},[e]);const m=u(ot)`
|
|
267
|
-
height: ${d.sp3};
|
|
268
|
-
width: ${d.sp3};
|
|
269
|
-
`,b=u(at)`
|
|
270
|
-
height: 12px;
|
|
271
|
-
width: 12px;
|
|
272
|
-
margin-left: 6px;
|
|
273
|
-
`,w=({children:h,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Bs,{children:[s.jsx(Os,{windowSize:r,children:h}),s.jsx(b,{})]})}),x=h=>s.jsx(ne.DropdownIndicator,{...h,children:s.jsx(_e,{})}),v=h=>s.jsx(_e,{children:s.jsx(ne.Option,{...h,children:s.jsxs(Ss,{children:[s.jsxs(ys,{isValid:h.data.isValid,children:[h.label,h.isSelected?s.jsx(m,{}):null]}),s.jsxs(vs,{isValid:h.data.isValid,children:[s.jsx(Cs,{children:h.data.timeframeLabel}),s.jsx(Ps,{isValid:h.data.isValid}),s.jsx(js,{children:f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),h.data.isValid===!1?s.jsxs($s,{children:[s.jsx(ks,{}),f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(h,C)=>({...h,border:0,backgroundColor:l,color:C.selectProps.menuIsOpen===!0?a.colors.primary:a.colors.hero,boxShadow:l,":active":{backgroundColor:l},":hover":{color:a.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:h=>({...h,backgroundColor:l,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(h,C)=>({...h,color:C.selectProps.menuIsOpen===!0?a.colors.primary:a.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:a.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:h=>({...h,backgroundColor:c,borderRadius:N[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${a.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:h=>({...h,borderRadius:N[1],maxWidth:"350px"}),option:(h,{isDisabled:C,isSelected:$,isFocused:W})=>({...h,color:$?a.colors.champion:a.colors.hero,backgroundColor:$===!0?g:W===!0&&C!==!0?a.colors.background:c,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?$===!0?g:a.colors.background:c,color:a.colors.primary},borderBottom:"1px solid "+a.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(nt,{options:t,components:{SingleValue:w,DropdownIndicator:x,Option:v},styles:S,defaultValue:p,onChange:h=>{const C=h;i(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:h=>h.isValid===!1,theme:h=>({...h,colors:{...h.colors,primary:c}}),isDisabled:o})},we={timeframePaddingLeft:new R(0,0,245),timeframePaddingBottom:new R(8,8,0)},Ds=u.div`
|
|
274
|
-
display: flex;
|
|
275
|
-
width: 100%;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
`,zs=u.div`
|
|
278
|
-
display: flex;
|
|
279
|
-
width: 100%;
|
|
280
|
-
flex-direction: row;
|
|
281
|
-
`,Ve=u.div`
|
|
282
|
-
display: flex;
|
|
283
|
-
flex-direction: row;
|
|
284
|
-
flex: 1 1 auto;
|
|
285
|
-
justify-content: center;
|
|
286
|
-
padding-left: ${e=>we.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
|
-
padding-bottom: ${e=>we.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
-
`,Ms=u.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
width: 100%;
|
|
291
|
-
flex-direction: row;
|
|
292
|
-
align-items: center;
|
|
293
|
-
justify-content: center;
|
|
294
|
-
`,As=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
|
-
`,Fs=u.div`
|
|
302
|
-
display: flex;
|
|
303
|
-
flex-direction: row;
|
|
304
|
-
align-items: center;
|
|
305
|
-
margin-right: ${d.sp5};
|
|
306
|
-
`,We=u(oe)`
|
|
307
|
-
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
-
`,Ye=({label:e,isOn:t,isToggleDisabled:o,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(We,{isOn:t,isDisabled:o===!0,children:e}),s.jsx(Ee,{checked:t,edge:"end",disabled:o===!0,disableRipple:o===!0,onChange:a=>{n(a.target.checked)}})]});function He({isOn:e,isDisabled:t,selectedForecastIndex:o,forecasts:n,isForecastValid:a,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Fs,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Is,{selectedForecastIndex:o??0,forecasts:n,isForecastValid:a,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(We,{isOn:e,isDisabled:t===!0,children:f.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ee,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:i=>{r(i.target.checked)}})]})}const Es=e=>{const t=O();return s.jsxs(Ds,{children:[s.jsx(Ve,{windowSize:t,children:s.jsx(Be,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ms,{children:[e.forecastListWithToggle!=null&&s.jsx(He,{...e.forecastListWithToggle}),s.jsx(Ye,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})},Vs=e=>{const t=O();return s.jsxs(zs,{children:[s.jsx(Ve,{windowSize:t,children:s.jsx(Be,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(As,{children:[e.forecastListWithToggle!=null&&s.jsx(He,{...e.forecastListWithToggle}),s.jsx(Ye,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})};function Ws(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(Es,{...e}):s.jsx(Vs,{...e})}const Ys=u.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
-
`,Hs=u.div``,Gs=u.div``,Us=e=>{const{selectedRangeReport:t,uiState:o,analytics:n,onThisPeriodChanged:a,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:i}=e,c=Ce(),{allTimeframeTicks:l}=t,{selectedCOABalancesRange:g,timeframe:m}=o,b=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],w=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=o.mode==="compare_mode"&&!w,v=c.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,h;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,$=C||t.availableNumberOfPeriods===1,W=y=>!!y.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[B,F]=_.useState(!1),H=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=o.mode,L=o.selectedForecast;_.useEffect(()=>{E==="forecast_mode"&&h==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[h,E,S]),_.useEffect(()=>{E==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(I(t.reportId),S[L.index].name)},[L]);const Y=(y,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(I(t.reportId),"",y==="forecast_mode"),e.onForecastToggle?.(y,G)};return s.jsx(Gs,{children:s.jsxs(Hs,{children:[s.jsx(Ys,{children:s.jsx(Ws,{timeframe:{allowedTimeframes:b,selectedTimeframe:m,onTimeframeSelectionChanged:y=>{e.analytics?.trackTimeframeSwitch(U(y),I(t.reportId)),r?.(y),e.uiState.mode==="compare_mode"&&!x&&i(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:f.getLocalizedStrings().compareSwitchLabel,isOn:$?!1:x,isToggleDisabled:$,onValueChanged:y=>{const j=y===!0||o.mode==="forecast_mode"?3:1;n?.trackCompareMode(y,I(t.reportId),U(m)),i(y,y?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:v===!0?{isOn:o.mode==="forecast_mode",isToggleDisabled:$,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(y,j)=>Y("forecast_mode",!1,{id:y,index:j}),onForecastToggleChanged:y=>{Y(y===!0?"forecast_mode":"off",!0)}}:void 0})}),B==!0?s.jsx(bs,{meetingUrl:H,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const y=1;document.body.style.overflow="auto",i(x,x?["this_period_vs_last_period_percent"]:[],y)}}):null,C?null:s.jsx(xt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:m,timeframeTicks:l,selection:{selectedTicks:he(l,g),highlightedOfSelectedTicks:he(l,g)},onClick:(y,j)=>{Se(t.firstMonthOfFY,x,t.reportId,m,j,e.analytics),a(j)},onSelectionChanged:(y,j)=>{const G=mt(l,y.fromEnd),q=gt(l,j);Se(t.firstMonthOfFY,x,t.reportId,m,q.thisPeriod,e.analytics),p(G,q)}})]})})},Se=(e,t,o,n,a,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(I(o),U(n),"range filter",te(e,n,a)),r?.trackDateRangeFilterChange(I(o),"range filter",t,te(e,n,a))};function me({account:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:a,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:o},config:r}}}function Zs({acGroup:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r,parentNodeIDs:p}){const i=V("ac_group_report",p,e.accountGroupId),c={children:[],id:i,isLastNode:a,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:o},config:r}},l=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return c.children=l.map((g,m)=>me({account:g,sectionType:t,numOfBalances:o,title:g.accountDescription,config:r,isLastNode:m===l.length-1,parentNodeIDs:[...p,i]})),c}function ye({section:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r}){const p=V("section",[],n),i={children:[],id:p,isLastNode:a,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:o},config:r}},c=St(e,r.displayOrder,o,!1),l=qs(c.balances),g=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),m=g.compactedAccountsSelectorVariant(e.accountsOrdered),b=g.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(l===!0&&(b.length>0||e.accountsOrdered.length>0)){const w=b.map((v,S)=>Zs({acGroup:v,sectionType:t,numOfBalances:o,title:v.accountGroupName,isLastNode:S===b.length-1,config:r,parentNodeIDs:[p]})),x=m.map((v,S)=>me({account:v,sectionType:t,numOfBalances:o,title:v.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));i.children.push(...w),i.children.push(...x)}return i}function qs(e){let t=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:o}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:o??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function Js(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=ye({section:e.cashIn,sectionType:"cash_in",numOfBalances:a,title:n.sections.cashIn,isLastNode:!0,config:t}),c=ye({section:e.cashOut,sectionType:"cash_out",numOfBalances:a,title:n.sections.cashOut,isLastNode:!0,config:t}),l=ee({calculatedSection:e.netCashFlow,numOfBalances:a,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:o?[p]:[],contentNodes:[p,i,c,l]}}function ge({title:e,balances:t,config:o,numOfBalances:n,nodeId:a}){return{children:[],id:a??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:o}}}function Ks(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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,i=A({balances:r,config:t}),c=ge({title:f.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:a}),l=V("section",[],n.sections.netCashFlow),g=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((m,b)=>me({account:m,sectionType:"cash_position",numOfBalances:a,title:m.accountDescription,isLastNode:b===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[l]}));return{config:t,headerNodes:o?[i]:[],contentNodes:[i,c,...g]}}function Xs(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeClassesViewSectionID(c)===!0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:c==="netBurnOrIncome"?e.reportTitle:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Qs(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeReportViewSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Le({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):i.push(Ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:c==="netBurnOrIncome"?e.reportTitle:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function eo(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=e.sections.expenses,c=ge({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:a}),l=[];l.push(p),l.push(c);const g=V("section",[],n.sections.expenses);return e.sections.expenses.classes.forEach((m,b)=>{l.push(yt({classNode:m,sectionType:"expenses",numOfBalances:a,title:m.class.className,isLastNode:m.isLeafClass,config:t,parentNodeIDs:[g],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:m.id.length-1,hasSibling:!1,hasChildren:m.children.length>0,isLastNode:b===e.sections.expenses.classes.length-1,name:m.class.className}]}}))}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}function to(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=e.sections.expenses,c=ge({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:a}),l=V("section",[],n.sections.expenses),g=wt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),m=[];m.push(p),m.push(c);const b=g.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(b.length!=0){const w=b.map((x,v)=>vt({acGroup:x,sectionType:"expenses",numOfBalances:a,title:x.accountGroupName,isLastNode:v===b.length-1,config:t,parentNodeIDs:[l]}));m.push(...w)}else if(e.sections.expenses.accounts?.length!==0){const w=g.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=w.map((v,S)=>Ct({account:v,sectionType:"expenses",numOfBalances:a,title:v.account.accountName,isLastNode:S===w.length-1,config:t,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:v.children.length>0,isLastNode:S===w.length-1}]}}));m.push(...x)}return{config:t,headerNodes:o?[p]:[],contentNodes:m}}function so(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueClassesViewSectionID(c)===!0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isRevenueClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:n.sections.grossMargin,isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function oo(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Le({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):i.push(Ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function ao(e,t,o,n=!0){Object.assign(e.config,t);const a=no(o),r=A({balances:a,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const no=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[]}},ve={contentPaddingLeft:new R(N[0],N[0],N[0]),contentPaddingRight:new R(N[3],N[3],N[8])},io=u.div`
|
|
313
|
-
width: 100%;
|
|
314
|
-
height: calc(100vh - 70px);
|
|
315
|
-
`,ro=u.div`
|
|
316
|
-
display: flex;
|
|
317
|
-
position: sticky;
|
|
318
|
-
justify-content: center;
|
|
319
|
-
padding-top: ${d.sp6};
|
|
320
|
-
padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
321
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
322
|
-
`,co=u.div`
|
|
323
|
-
position: absolute;
|
|
324
|
-
margin-top: ${d.sp3};
|
|
325
|
-
`,lo=e=>{const t=O(),o=J(),{selectedRangeReport:n,selectedClassesViewRangeReport:a,uiState:r,scrollPosition:p,isZeniUser:i,onTableScroll:c,onElementCollapseStateChanged:l,onAccountBalanceClick:g,onUpdateAccountViewMode:m,onUpdateClassesToFilterOut:b,onOpenAccountViewMode:w}=e,{highlightedCOABalancesRange:x,mode:v}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,h=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!h,$=C||r.mode==="forecast_mode"?3:1,W=k=>{e.analytics?.trackCompareFilterChange(k==="compare_mode_percent"?"percentage":"amount",I(n.reportId),U(r.timeframe),"dropdown");const P=k==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[P],x?.numberOfPeriods??$)},[B,F]=_.useState(void 0),[H,E]=_.useState(void 0),L=!(t==="small"||t==="medium-compact"),Y=v==="forecast_mode"?"name+balances_forecast":"name+balances_actual",y=uo(r.selectedAdditionalBalances),j=a!==void 0&&a.uiState.accountViewMode==="classes"?a:n,G=v==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(k,P)=>{k!==a?.uiState.accountViewMode&&m?.(k),P&&b?.(P)};return _.useEffect(()=>{const k={reportId:v==="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:v==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:Qe(),showClassAccountNumber:i,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(B==null||!K(H,j)){const P=po(j,k,L);E(j),F(P)}else{const P=ao(B,k,j,L);F(P)}},[Y,C,j]),s.jsx(ro,{windowSize:t,children:S?s.jsx(jt,{}):B!=null?s.jsxs(io,{children:[s.jsx(_t,{backgroundColor:new Xe(o.colors.grey4),rootNodes:B,type:Y,compareMode:y,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ve.contentPaddingLeft.value(t),right:ve.contentPaddingRight.value(t)},onAccountClick:g==null?void 0:(k,P)=>{g(k,P)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:c,onNodeCollapseToggled:l}),q===!0&&a!==void 0?s.jsx(co,{children:s.jsx(pt,{reportId:n.reportId,nodes:a.classHierarchy,classesListFetchState:a.fetchState,selectedView:a.uiState.accountViewMode,showClassAccountNumber:i,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:a.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:a.firstMonthOfFY,onOpenAccountViewMode:w,onResyncReports:e.onResyncReports,reportsResyncFetchState:e.reportsResyncFetchState,lastRefreshSuccessTime:a?.status?.lastRefreshSuccessTime})}):null]}):null})},po=(e,t,o=!0)=>{switch(e.reportId){case"net_burn_or_income":return Qs(e,t,o);case"net_burn_or_income_by_classes":return Xs(e,t,o);case"revenue":return oo(e,t,o);case"revenue_by_classes":return so(e,t,o);case"cash_position":return Ks(e,t,o);case"cash_in_cash_out":return Js(e,t,o);case"operating_expenses":return to(e,t,o);case"operating_expenses_by_classes":return eo(e,t,o);default:return}},uo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",mo=u.div`
|
|
326
|
-
display: flex;
|
|
327
|
-
flex: 1 1 auto;
|
|
328
|
-
min-height: 100%;
|
|
329
|
-
flex-direction: column;
|
|
330
|
-
width: 100%;
|
|
331
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
332
|
-
`,go=u.div`
|
|
333
|
-
position: relative;
|
|
334
|
-
box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
335
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
336
|
-
padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
337
|
-
padding-right: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
338
|
-
`,ho=u.div`
|
|
339
|
-
display: flex;
|
|
340
|
-
justify-content: center;
|
|
341
|
-
padding: ${d.sp6} ${d.sp0};
|
|
342
|
-
`,fo=u.div`
|
|
343
|
-
display: flex;
|
|
344
|
-
flex-direction: column;
|
|
345
|
-
justify-content: center;
|
|
346
|
-
align-items: center;
|
|
347
|
-
height: 100vh;
|
|
348
|
-
margin-top: ${d.sp8};
|
|
349
|
-
`,Zo=e=>{const t=O(),o=J(),[n,a]=_.useState(!1),r=f.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:i,selectedClassesViewRangeReport:c,uiState:l,downloadParams:g,analytics:m,onBackClick:b,updateDownloadStateHandler:w,onAdditionalBalanceSelectionChanged:x}=e,{insights:v}=i,{selectedCOABalancesRange:S,timeframe:h,selectedAdditionalBalances:C,downloadState:$}=l,W=i.availableNumberOfPeriods!=null&&i.availableNumberOfPeriods<2,B=l.mode==="compare_mode"&&!W,F=Ce(),H=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";_.useEffect(()=>{async function z(){await Rt({report:c!==void 0&&c.uiState.accountViewMode==="classes"?c:i,filter:i.filter,coaBalancesRange:S,isCompareModeOn:B,reportView:c!==void 0?c.uiState.accountViewMode:"account_group",classesToFilterOut:c!==void 0?c.uiState.classesToFilterOut:[],...g,reportType:H||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),m?.trackDownload(I(i.reportId),U(h),"excel",B),w("Completed")}n&&$!=="In-Progress"&&(a(!1),w("In-Progress"),z())},[g,$,i.filter,n,B,S,i,c,h,m,w,H,E,e.isZeniCOAUsed]);const L=i.availableNumberOfPeriods==null||i.availableNumberOfPeriods===0||i.allTimeframeTicks.length===0,Y=i.fetchState==="In-Progress"||i.fetchState==="Not-Started",y=(e.reportsResyncFetchState==="In-Progress"||c?.fetchState==="In-Progress")&&c?.uiState.accountViewMode==="classes";_.useEffect(()=>{const z=B||l.mode==="forecast_mode"?3:1;x(B,C,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ze.Event.search,I(i.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:q,scrollPosition:ae,...k}=e,P=s.jsx(qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:$==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if($==="In-Progress"){console.log("Download is already in progress!");return}else a(!0)}}}});return s.jsxs(mo,{children:[s.jsx(Ge,{title:p.reportTitle,backgroundColor:o.colors.grey5,onBackClick:b,rightSideComponent:P,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage"}),Y||y?s.jsx(fo,{children:s.jsx(Ue,{size:"Standard",start:!0})}):L?s.jsx(Pt,{style:{background:o.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:$t}):s.jsxs(s.Fragment,{children:[s.jsxs(go,{windowSize:t,children:[s.jsx(wo,{...k}),s.jsx(bo,{highlightedRangeReport:i,uiState:l}),s.jsx(xo,{...k}),s.jsx(ho,{children:s.jsx(ut,{insights:v})})]}),s.jsx(_o,{scrollPosition:ae,...k})]})]})},bo=X.memo(Ut,K),xo=X.memo(Jt,K),_o=X.memo(lo,K),wo=X.memo(Us,K);export{Zo as default};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import{X as $,j as t,Y as w,M as n,o,C as j,eC as v,av as S,aa as y}from"./index-sK9Ftyw4.js";import{b as d,n as r}from"./vendor-CnQcJ2Lu.js";import{x as C}from"./MeetingCalenderPopup-DKBH6wSs-Cz9lxz_J.js";const z={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 t.jsxs(t.Fragment,{children:[g===!0?t.jsx(C,{onCancelClick:()=>{p(!1),i?.(!1)},meetingUrl:h}):null,t.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:[t.jsx(B,{}),t.jsx(M,{helpTextHover:l,children:l?t.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,t.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):t.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const H=r.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
right: ${o.sp4};
|
|
4
|
-
bottom: ${e=>e.isFooterRendered?z.helpButtonBottom.valuePx(e.windowSize):o.sp4};
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background: ${e=>e.theme.colors.primary};
|
|
9
|
-
padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.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: ${o.sp1};
|
|
16
|
-
`,c=r(S)`
|
|
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(v)`
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
width: ${o.sp3};
|
|
26
|
-
height: ${o.sp3};
|
|
27
|
-
color: ${e=>e.theme.colors.grey5};
|
|
28
|
-
`;export{L as F};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{X as H,fl as ee,u as te,a as le,j as d,M as oe,q as g,gd as ne,Y as se,F as ie,a7 as re,o as ae,C as E,fo as Z,fp as q,fq as A,b_ as N,l as V,c0 as de}from"./index-sK9Ftyw4.js";import{b as P,n as W}from"./vendor-CnQcJ2Lu.js";import{x as ce}from"./AllUserItems-DlTukPhY-C2edQD_z.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-DTmijO10-VJ76Kxzi.js";import"./RoleWithToolTip-BRSx6yqP-CARA1Fps.js";import"./LabeledZeniRolesDropDownField-DSIWuFix-DvOwsX2r.js";const L={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},F="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,Se=({peopleDetails:e,managersList:s,classList:R,controllersList:z,mode:o,isZeniTenant:_,onPeopleLocalDataUpdated:S,onCloseClick:T,onSaveClick:i,isReimbursementDisabled:$,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=H(),[X,J]=P.useState(-1),[B,w]=P.useState(""),D=P.useRef(null),I=P.useMemo(()=>ee($,n,k,b,x,U,j),[$,n,k,b,x,U,j]),K=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,I,s,R,b,x),values:M(e.people,o,I,s,R,b,x)}),Q=r.handleSubmit(()=>{Y()?i():console.warn("Invite People form error")}),Y=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${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(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},G=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="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=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.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&&G(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):w(""))};return c==="small"?w(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&w(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:K.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:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${F}_form`,onSubmit:Q,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:J,mode:o,isZeniTenant:_,classList:R,managersList:s,controllersList:z,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:I,isEdit:!1})})})]}),d.jsx(re,{formId:`${F}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:L.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:L.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:ae.sp4}})]})},M=(e,s,R,z,o,_,S)=>{const T=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:q(_,S)},productsByUserRole:Z(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,$)=>({userIndex:$,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:q(_,S)},productsByUserRole:Z(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.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=>`${L.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${L.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{r as e,q as a}from"./index-sK9Ftyw4.js";const t=a[5],o=59,s=a[5],i=e.standardRegular.lineHeightValue,l=1,n=1e3;export{i as A,s as E,l as I,n as L,o as a,t};
|