@zeniai/web-cockpit-ui 1.15.48-dev → 1.15.49-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-CXIFSMnN-Coq6wI87.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-C-O0nWEk.js → AIPerformancePage-DgrMh-mY-Bylt20RS.js} +104 -104
- package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-yixZKJJd.js → AccountInfoPageContent-DeptuP1q-CsYE_k70.js} +20 -20
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-BghUJRSx.js → AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js → AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js} +19 -19
- package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js → AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-DPPfaq4h.js → AddToWalletPage-BlExjuu4-B196FBl9.js} +18 -18
- package/dist/assets/{AgingReportsPage-vAvkUfOS-eLupiUU4.js → AgingReportsPage-D9UyMHCS-CUKIok_T.js} +7 -7
- package/dist/assets/{AllUserItems-qrYg6Gdx-CexfoJXZ.js → AllUserItems-DGGAZCTH-DA8Osx0t.js} +11 -11
- package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-Bq2ai-ng.js → AppBasePage-ANWa38-v-Dui1Sxci.js} +8 -8
- package/dist/assets/{AppDrawerContent-ATbZG_cu-C_LUaX21.js → AppDrawerContent-UhQJdUmA-CkRUhLQ3.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-CBzkLPD8.js → ArAgingChart-CuFQTCRF-BBoOHiTE.js} +6 -6
- package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +46 -0
- package/dist/assets/{AttachmentView-BrQRChzc-gMo83IaQ.js → AttachmentView-D6K3YHdZ-Bap3B_dh.js} +6 -6
- package/dist/assets/{BankAccountSection-hcKEMs80-C67in8I4.js → BankAccountSection-B51-Hpnt-BDzmY8Fy.js} +6 -6
- package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js → BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js} +30 -30
- package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js → BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js → BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js} +19 -19
- package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BT3nFT0U.js → BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js} +9 -9
- package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +1 -0
- package/dist/assets/{BoxItem-CACRFWG2-ByiTZQgF.js → BoxItem-C-VST523-DMPXmLe8.js} +1 -1
- package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +138 -0
- package/dist/assets/{CardNumberSubText-C-oVdziK-Cq3VPImW.js → CardNumberSubText-BUvXykSn-DR27wA6E.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-ewrE6dWH.js → CashbackDetailPage-BhHWEtnP-BIMVCNfp.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js → ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js} +20 -20
- package/dist/assets/{ChargeCardListPage-tdUKyHdz--1Qr1SRx.js → ChargeCardListPage-D5H9U0h8-DeNsZOzv.js} +16 -16
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BeCD5LdA.js → ChargeCardListTable-Byme0rAu-ych_Qx-x.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js → ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js → ChargeCardPromoPage-VSqN0247-7AKJMP0k.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js → ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js → ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js → CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js → CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js → CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CHaKk74P-B2_ZiFli.js → CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js} +12 -12
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-BSWnHzV_.js → CompanyPassportPage-DoOtHRwj-7bnAHUeu.js} +20 -20
- package/dist/assets/{CompleteProfile-ChaWsK6t-BWU7y1Ur.js → CompleteProfile-DsEoizlG-DOegmHNH.js} +2 -2
- package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js → ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js → CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js → CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js} +15 -15
- package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js → CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js → CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js → CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js → CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js → CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js} +8 -8
- package/dist/assets/{Dashboard-Csggwob0-BEFQIWvp.js → Dashboard-BcjA6DTL-B8wtUrMY.js} +66 -66
- package/dist/assets/{DashboardReportPage-DFIdi_I0-CkaE8ALl.js → DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js → DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js → DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js → DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-BVIQGklQ.js → DownloadOverlay-CfWDWIbC-DcGZOT8A.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-BOp9n67_.js → DrawerPage-CfIhiBhn-A5CC3xdl.js} +11 -11
- package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +865 -0
- package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-Do-s3IXr.js → EntitySummarySection-Bie5ZOV3-BZu2b-HP.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js → ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-B1eI11Un.js → ExpressPayPage-C6Jb6WrN-BeqBD08K.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js → FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js} +3 -3
- package/dist/assets/{FollowStepsSection-GaWu1kt9-BRvlMtUk.js → FollowStepsSection-BlgHPyvL-BhwHykaB.js} +44 -44
- package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-C-FgUaQe.js → InformationCardStack-BkuCjydF-ClSDOapP.js} +6 -6
- package/dist/assets/{InsightsCardStack-BlXkyuyz-DfwZenu8.js → InsightsCardStack-BFrwV0PC-CZ45PRa1.js} +10 -10
- package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js → InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-CWNB58up.js → InviteFormPage-D8zySzlG-B662YNtS.js} +21 -21
- package/dist/assets/{InvitePageListView-B88FW48q-DLYg-1DF.js → InvitePageListView-DUng4fOl-Bw5RtSsX.js} +63 -63
- package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +12 -0
- package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js → IssueChargeCardPage-Vzj9appY-09K43VT7.js} +18 -18
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-DLETXjJP.js → LabeledAddressValue-inaQliHs-Dg9xTHiz.js} +2 -2
- package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js → LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js → LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js → LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js} +8 -8
- package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js → LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js} +7 -7
- package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js → LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js → LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js → LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js} +16 -16
- package/dist/assets/{LockCardPage-CHv1xi2J-CdU6oKR8.js → LockCardPage-CPUbpfrv-3LEgf1Eq.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cb55PGLc-D5jF-boV.js → LowBalancePopup-Cg-JRo7A-zj6pzOkP.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js → MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js} +5 -5
- package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js → MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +85 -0
- package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-CpYsSVtE.js → NavigationArrow-CqK2Gxhj-JoTM067o.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-C4MvpAYN.js → NavigationDots-C7DGhAsk-BigsWf2H.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-MrP90led.js → NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js} +40 -40
- package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-B4Won1bo.js → NoDataTable-B355xDAT-DcAZ4j4d.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-BbSR46rN.js → NotFoundPage-Bfp9Pyxw-DVJn2b4k.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-BApCLVwG.js → NotificationSettingsPage-1OEolmCL-DbOSpAhH.js} +20 -20
- package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +1 -0
- package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +685 -0
- package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js → OverlayContainerPage-D4QU0p4o-CR2TYg0o.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js → PandLWithForecastPage-ChIPvp4R-qyv7RUis.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js → PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js} +13 -13
- package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +727 -0
- package/dist/assets/{Preview-D0sjWWj-.js → Preview-qBYtkSAF.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-CeYUIWta.js → ProductsCarousel-eVPl5t0I-BGcfqmV6.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-Bd7EQvVS.js → PromoBaseCards-HrcAWM4W-BKT0vHPP.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-SmKPuRPN.js → QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js} +6 -6
- package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js → ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js → ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js → ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js → ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +1 -0
- package/dist/assets/{ReloadCard-vAhL7B8U-t1zAQv25.js → ReloadCard-DrAfrMOy-Dp01MRiJ.js} +8 -8
- package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +150 -0
- package/dist/assets/{ReportsPage-DKM0gVzR-Bx9Ahq8r.js → ReportsPage-E9MU25NS-BG-K0aaI.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-CJFUFXPf.js → RevenueChart-CzVs6lFB-CetzZFOl.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js → ReviewDetailsPage-DR0MCIgO-DeTv48zq.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-Cm7uPP59.js → ReviewOverlay-jDgQyzfL-CrHwzWa9.js} +24 -24
- package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js → ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js → ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +324 -0
- package/dist/assets/{ScreenRoutes-B2hsHPEr.js → ScreenRoutes-CyJpBFvr.js} +48 -48
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-7U497n--.js → SetUpAccountSection-Bq2qSGml-DouG9J1c.js} +7 -7
- package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +491 -0
- package/dist/assets/SignInScreen-Crh_lnSg.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js → SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js} +114 -114
- package/dist/assets/{SpendManagementSection-D8rBpC-y-FHAIQmms.js → SpendManagementSection-DJfAJzAL-ig4GL1ZT.js} +22 -22
- package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +31 -0
- package/dist/assets/{StatementsPage-DiY2BOcu-APBz42WN.js → StatementsPage-BgYeg1T4-C88dmgbV.js} +5 -5
- package/dist/assets/{StatusSwitcher-B9MARTyR-P7RIwFRO.js → StatusSwitcher-C4MmXvmy-xYxIiuBt.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3rtSwro-DGcZkDgz.js → SubTabSwitcher-UW2b0f3g-Dn63h3aS.js} +2 -2
- package/dist/assets/{SummaryCard-CShVbqhj-D8ckNEht.js → SummaryCard-BLqrfWMN-BoOQqfaJ.js} +1 -1
- package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js → TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js} +4 -4
- package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-Dg0iyuar.js → TopExCard-BKUm1fVu-CdS4qfxw.js} +6 -6
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-z65VL4y3.js → TopExDetailPage-BpaKGiXB-_eDwMn8-.js} +18 -18
- package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +195 -0
- package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +903 -0
- package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +153 -0
- package/dist/assets/{TransactionListBig-DWQXH4ID-BXeSpaXE.js → TransactionListBig-C1i2HOEm-BoHPxhV4.js} +18 -18
- package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js → TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js} +15 -15
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-BDrE92fY.js → TransferDrawerPage-enFS8KsH-pWKe3GIV.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js → TreasuryOverviewPage-BT--Br6F-DZD_F62z.js} +36 -36
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js → TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js} +27 -27
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js → TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js → TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js} +3 -3
- package/dist/assets/{TrendChart-C6B61CAm-DSOogQNb.js → TrendChart-CWaL1-sD-jHXMg1Jt.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js → TrendWithTransactions-ULrBa2b0-DV504Izy.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js → UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js → UnitIntegrationPage-KbEwifey-DfbiDH3c.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +38 -0
- package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-PDTA30fp.js → VendorDetailPage-BwbESVFq-BHZW_2ez.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js → VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js → VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-DmS6BFzF.js → VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js} +4 -4
- package/dist/assets/{VerifyDevice-Cxc9CVMi-Brvk1hge.js → VerifyDevice-BRCRNTf1-Dw4vKeVk.js} +11 -11
- package/dist/assets/{VideoPlayer-9UkKMhGy-QE0dUH77.js → VideoPlayer-BgWCDJp3-CbPNc--2.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-CZD9BvVe.js → VideoPopup-ckAw3yZZ-CPBR9ffY.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-BplyTtEg.js → WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js → ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-i09iw6my.js → ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js → ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js → ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js} +22 -22
- package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +36 -0
- package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js → ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-Cs3ZFbTn.js → add-to-wallet-DgdBD8_G-DgloNLoG.js} +1 -1
- package/dist/assets/{analytics-hCfYtzJT.js → analytics-BxsZVqMD.js} +30 -30
- package/dist/assets/{analyticsHelper-DKGNBdrX.js → analyticsHelper-BROaWFlP.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-Du0DTPF_.js → analyticsHelper-YXL3oVeL-st_q3oRE.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CzrrwgSg.js → arrow-south-east-round-PEovUgvH-Cgw5LgRs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B_xw5P5j.js → auto-transfer-rule-mbafm5D3-DEP8Cseu.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-BMc10nJG.js → chartTypes-BPQ65VEE-6yZpeJsO.js} +1 -1
- package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-DqsczfuL.js → commonTypes-WZYufpaN-dYh7B5Qi.js} +1 -1
- package/dist/assets/{constants-y09M8DFT.js → constants-cBgt-jnp.js} +1 -1
- package/dist/assets/{core-Ce1HnmCU.js → core-CCdM5htn.js} +1 -1
- package/dist/assets/{dash.all.min-BLN3VaU-.js → dash.all.min-BhdX5A-b.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-CC3Vv-5k.js → detailCommon-cqZF9ZV8-CcqFhiCw.js} +6 -6
- package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +1 -0
- package/dist/assets/{empty-BjLibp41.js → empty-21UCvCWa.js} +1 -1
- package/dist/assets/{empty-CHvpDZ25.js → empty-Ci7PTPdn.js} +1 -1
- package/dist/assets/epic-DjY7Y3Uv.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-tPfmdYN9.js → gift-box-Cmt9OgIZ-fL_gav59.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DgWqYmly.js → graphic-no-data-l-DU4J8fDt-CsPk6hIb.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js → graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CvblpTUh.js → handshake-BPg58FML-CJV_gJfO.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-D6TxHUGT.js → helper-GwFcgf4f-QTj7P4Bk.js} +3 -3
- package/dist/assets/{index-Dwr9jsgf.js → index-8HE4yJ5t.js} +1 -1
- package/dist/assets/{index-DV0-LoHG.js → index-BsaB-Va2.js} +1 -1
- package/dist/assets/{index-BWlQ-rZN.js → index-C96UtQPZ.js} +1 -1
- package/dist/assets/{index-CbBDw148.js → index-Cq3X29cS.js} +4594 -4589
- package/dist/assets/{index-DXatjVel.js → index-D2yPgh5G.js} +1 -1
- package/dist/assets/{index-BMSo18eq.js → index-DBail5F5.js} +1 -1
- package/dist/assets/{index-CnMDhZ-z.js → index-DQtDqiLj.js} +1 -1
- package/dist/assets/{lexical-Dk2CPrxk.js → lexical-BfjdJw9p.js} +1 -1
- package/dist/assets/{liveblocks-ivZsDCw2.js → liveblocks-hPir54fv.js} +1 -1
- package/dist/assets/{lottie-solWV_WO.js → lottie-B9oE3WTk.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js → mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +1 -0
- package/dist/assets/{mui-BLUOobNq.js → mui-DzE-7sTl.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-mLiSYxOb.js → page-detail-CWX5S47F-CU2PSbaV.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-BwLFYKqj.js → radio-default-CiSgisfh-Bxc-V1Pu.js} +1 -1
- package/dist/assets/{react-gwEklu5z.js → react-BZ8J0jw1.js} +2 -2
- package/dist/assets/{react-DiVyX7it.js → react-BldneNt8.js} +1 -1
- package/dist/assets/{react-DwW_czRA.js → react-CCRxUGC8.js} +3 -3
- package/dist/assets/{react-nPRE2jd8.js → react-CI8KeqtZ.js} +1 -1
- package/dist/assets/{react-BR1Eke5i.js → react-CrnvOta1.js} +1 -1
- package/dist/assets/{react-ChJntTSM.js → react-DukPPAPu.js} +1 -1
- package/dist/assets/{react-BZ0TRoDf.js → react-IwpftXW_.js} +1 -1
- package/dist/assets/{react-OybbRboE.js → react-iFe9VXnX.js} +1 -1
- package/dist/assets/{recharts-J8hRG6fl.js → recharts-CiLmNGsl.js} +1 -1
- package/dist/assets/{sentry-ClS5bwGc.js → sentry-DQ_HstYV.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DyyzcGvz.js → shield-DOlUxcFf-B21f1_cN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +1 -0
- package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BojPE85u.js → uploadAttachment-htF-2xC2-BK-WmHcD.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +1 -0
- package/dist/assets/{url-VN-yF4_H.js → url-D8jqtRfm.js} +1 -1
- package/dist/assets/{url-ckMdLfnk.js → url-vYaM0QEj.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BBsdk_o7.js → useLongPress-GCK2COYQ-BEGNcNvC.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DYPeqq64.js → usp-line-BBd1wKwW-R5RCG5WU.js} +1 -1
- package/dist/assets/{utils-DG8PAOHO.js → utils-wDk5ojg7.js} +1 -1
- package/dist/assets/{zeni-epic-state-W0HMFHDj.js → zeni-epic-state-B4gyGBI3.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-Bfz777OP.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +0 -18
- package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +0 -47
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +0 -46
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +0 -51
- package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +0 -266
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +0 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +0 -138
- package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +0 -865
- package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +0 -140
- package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +0 -45
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +0 -41
- package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +0 -31
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +0 -1
- package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +0 -685
- package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +0 -1
- package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +0 -150
- package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +0 -22
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +0 -324
- package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +0 -491
- package/dist/assets/SignInScreen-DeJvfsin.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +0 -134
- package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +0 -31
- package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +0 -195
- package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +0 -903
- package/dist/assets/TransactionList-80KjM8Kg-CGTGojKw.js +0 -153
- package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +0 -35
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js +0 -36
- package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +0 -1
- package/dist/assets/epic-CIKGU6HT.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +0 -1
package/dist/assets/{DownloadOverlay-4f9deyJS-BVIQGklQ.js → DownloadOverlay-CfWDWIbC-DcGZOT8A.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,c5 as it,o as s,J as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b as F,c7 as dt,bQ as Ue,u as B,bb as We,an as L,bT as ke,w as te,ao as be,a as ae,y as qe,bV as ct,c8 as xe,c9 as ge,L as Ge,ca as Ze,bO as pt,bc as mt,aq as ye,cb as Z,cc as ft,cd as ht,bM as ut,bU as bt,as as xt,ce as gt,c1 as yt,av as $t}from"./index-Cq3X29cS.js";import{a as h,P as $e}from"./sentry-DQ_HstYV.js";import{n,k as Je}from"./mui-DzE-7sTl.js";import{FR as me,FS as C,FT as J,bL as P,FU as K,FV as we,FW as U,bh as wt,FX as k,FY as Ft,FZ as vt,F_ as jt,F$ as Ot,G0 as Yt}from"./zeni-epic-state-B4gyGBI3.js";import{m as Dt}from"./analyticsHelper-YXL3oVeL-st_q3oRE.js";import{g as _t,x as kt}from"./ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js";import{t as Ct}from"./page-detail-CWX5S47F-CU2PSbaV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js";import"./AccountRow-C7_pSX9U-C_uj4ob-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6bbcf90-94a8-4420-8813-b54d11992520",e._sentryDebugIdIdentifier="sentry-dbid-b6bbcf90-94a8-4420-8813-b54d11992520")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
|
|
2
2
|
padding: ${s.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.borderColor.default};
|
|
4
4
|
border-radius: ${s.sp1};
|
|
@@ -30,11 +30,11 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
30
30
|
`,Me=n(ht)`
|
|
31
31
|
width: ${s.sp4};
|
|
32
32
|
height: ${s.sp4};
|
|
33
|
-
`,Tt=e=>{const{id:o,disabled:r=!1,checked:a=!1,label:i,showInfoIcon:l,tooltipText:p,style:m={},onClick:u}=e,c=
|
|
33
|
+
`,Tt=e=>{const{id:o,disabled:r=!1,checked:a=!1,label:i,showInfoIcon:l,tooltipText:p,style:m={},onClick:u}=e,c=qe();let y=a?Se:Me;c.mode==="dark"&&(y=a?Se:Me);let $=a?c.colors.primary:c.colors.hero;r&&($=c.colors.grey2);const v=()=>{r||u(o,a)};let w={default:c.colors.background,hover:c.colors.background},f={default:c.colors.hero,hover:c.colors.primary},_={default:c.colors.grey2,hover:c.colors.primary};return a?(w={default:c.colors.grey5,hover:c.colors.grey5},f={default:c.colors.primary,hover:c.colors.primary},_={default:c.colors.primary,hover:c.colors.primary}):r&&(w={default:c.colors.grey4,hover:c.colors.grey4},f={default:c.colors.grey2,hover:c.colors.grey2},_={default:c.colors.grey3,hover:c.colors.grey3}),t.jsxs(St,{backgroundColor:w,textColor:f,borderColor:_,onClick:v,disabled:r,checked:a,style:{...m},children:[t.jsxs(Pe,{children:[t.jsx(y,{color:a?$:"none"}),i!=null?t.jsx(Mt,{children:i}):null]}),l===!0?t.jsx(Pe,{style:{marginLeft:s.sp3},children:t.jsx(ct,{enterDelay:600,title:p,children:t.jsx(At,{width:s.sp3,height:s.sp3})})}):""]})},It=$e.memo(Tt),Fe=["year_to_date_total","free_range_total","year_to_date_last_year_total","rolling_12_months","rolling_12_months_average"],Lt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],Rt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],zt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe],Ke={month:Lt,quarter:Rt,year:zt},Ae=n.div`
|
|
34
34
|
padding-top: ${e=>e.space};
|
|
35
35
|
`,Nt=n(L)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return J(o,e,1,"year").isBefore(i)&&a.push("same_period_last_year","this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","year_to_date_last_year_total"),a},Vt=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,disabledAdditionalColumns:a,selectedAdditionalColumns:i,dateRange:l,calendarPeriod:p,dataAvailable:m,selectedFileType:u,onAdditionalColumnsSelectionChanged:c}=e,y=Bt(o,l.endDate,m);h.useEffect(()=>{const d=i.filter(g=>!y.includes(g));i.length!==d.length&&c(d)},[y,i,c]);const $=p.numberOfPeriods+i.length<A[u],
|
|
37
|
+
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return J(o,e,1,"year").isBefore(i)&&a.push("same_period_last_year","this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","year_to_date_last_year_total"),a},Vt=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,disabledAdditionalColumns:a,selectedAdditionalColumns:i,dateRange:l,calendarPeriod:p,dataAvailable:m,selectedFileType:u,onAdditionalColumnsSelectionChanged:c}=e,y=Bt(o,l.endDate,m);h.useEffect(()=>{const d=i.filter(g=>!y.includes(g));i.length!==d.length&&c(d)},[y,i,c]);const $=p.numberOfPeriods+i.length<A[u],v=F.getLocalizedStrings().downloadReport.additionalColumns[r],w=Ke[r],f=(d,g)=>{if(g){const O=i.indexOf(d),x=[...i];x.splice(O,1),p.maxNumberOfPeriods=A[u]-x.length,c(x)}else p.maxNumberOfPeriods=A[u]-(i.length+1),c([...i,d])},_=(d,g)=>{const{dateFormat:{visual:O}}=F.getLocalizedStrings();let x=K(J(l.endDate,g,1,"year"),O.MMMYYFormat,g);return r==="quarter"&&(x=`Q${K(J(l.endDate,g,1,"year"),O.QYYformat,g)}`),v[d].replace("-same_period_last_year-",x)};return t.jsxs(h.Fragment,{children:[t.jsx(Nt,{children:F.getLocalizedStrings().downloadReport.addColumns}),t.jsx(Ae,{space:s.sp3}),w.map(d=>t.jsxs(h.Fragment,{children:[t.jsx(It,{checked:i.includes(d),label:_(d,o),disabled:a?.includes(d)===!0||y.includes(d)||!$&&!i.includes(d),id:d,onClick:(g,O)=>f(g,O),showInfoIcon:y.includes(d)&&$,tooltipText:F.getLocalizedStrings().downloadReport.dataNotAvailable}),t.jsx(Ae,{space:s.sp3})]},d))]})},Et=h.memo(Vt),Te=n.div``,Qt=n.div`
|
|
38
38
|
padding: ${s.sp2} ${s.sp3};
|
|
39
39
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
40
40
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -48,7 +48,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
48
48
|
`,Ut=n(L)`
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
margin-top: -2px;
|
|
51
|
-
`,
|
|
51
|
+
`,Wt=n($t)`
|
|
52
52
|
color: ${e=>e.theme.colors.hero};
|
|
53
53
|
width: 12px;
|
|
54
54
|
height: 12px;
|
|
@@ -56,7 +56,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
56
56
|
:hover {
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,qt=e=>{const{value:o,label:r,onClick:a}=e,i=qe(),l=F.getLocalizedStrings().reports;return t.jsxs(Qt,{onClick:a,children:[t.jsxs(Te,{style:{display:"flex",alignItems:"center"},children:[t.jsx(gt,{color:i.colors.primary,style:{width:s.sp4,height:s.sp4}}),t.jsxs(Te,{style:{paddingLeft:s.sp3},children:[t.jsx(Ht,{style:{color:i.colors.hero},children:r}),t.jsxs(Ut,{style:{color:i.colors.primary},children:[o,e.timeframeTickTag!=null&&(e.timeframeTickTag==="under_review"?l.starred:l.doubleStarred)]})]})]}),t.jsx(Wt,{})]})},ve=$e.memo(qt),je=e=>{const{starredPeriod:o,doubleStarredPeriod:r,bookCloseUnderReviewInfo:a,bookCloseIncompleteInfo:i}=e,l=F.getLocalizedStrings().reports;return t.jsxs(t.Fragment,{children:[o.length>0?t.jsxs(Ie,{children:[t.jsx(Re,{children:l.starred}),t.jsxs(Le,{children:[t.jsx(ze,{children:l.bookCloseInfoStar}),a]})]}):null,r.length>0?t.jsxs(Ie,{children:[t.jsx(Re,{children:l.doubleStarred}),t.jsxs(Le,{children:[t.jsx(ze,{children:l.bookCloseIncompleteInfoStar}),i]})]}):null]})},Ie=n(be)`
|
|
60
60
|
background: ${e=>e.theme.colors.grey4};
|
|
61
61
|
color: ${e=>e.theme.colors.primary};
|
|
62
62
|
padding: ${s.sp2} 27px;
|
|
@@ -91,7 +91,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
91
91
|
`,Kt=n.div`
|
|
92
92
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
width: 100%;
|
|
94
|
-
`,Xt=(e,o,r,a)=>{const i=E(e,"month",o).filter(l=>!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:de.filter(l=>{const p=a.startDate.format(M.YYYYformat);return!P(`${l} ${p}`,M.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},er=(e,o,r,a)=>{const i=U(r);return a!=null?de.filter(l=>o.includes(l)===!1&&P(`${l} ${e}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(r.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${e}`,M.MMMYYYYFormat))===!1:!0)):[]},tr=(e,o,r,a)=>{const i=U(e);return a!=null?de.filter(l=>r.includes(l)===!1&&P(`${l} ${o}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(e.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${o}`,M.MMMYYYYFormat))===!0:!1)):[]},{reports:Be,dateFormat:{analytics:re,visual:M}}=F.getLocalizedStrings(),rr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,[l,p]=h.useState(!1),[m,u]=h.useState(o.startDate.format(re.MMMFormat)),[c,y]=h.useState(o.startDate.format(re.YYYYFormat)),$=x=>{u(x),i("month",{startDate:P(`${x} ${c}`,re.MMMYYYYFormat).startOf("month"),endDate:P(`${x} ${c}`,re.MMMYYYYFormat).endOf("month")}),p(!1)},
|
|
94
|
+
`,Xt=(e,o,r,a)=>{const i=E(e,"month",o).filter(l=>!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:de.filter(l=>{const p=a.startDate.format(M.YYYYformat);return!P(`${l} ${p}`,M.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},er=(e,o,r,a)=>{const i=U(r);return a!=null?de.filter(l=>o.includes(l)===!1&&P(`${l} ${e}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(r.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${e}`,M.MMMYYYYFormat))===!1:!0)):[]},tr=(e,o,r,a)=>{const i=U(e);return a!=null?de.filter(l=>r.includes(l)===!1&&P(`${l} ${o}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(e.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${o}`,M.MMMYYYYFormat))===!0:!1)):[]},{reports:Be,dateFormat:{analytics:re,visual:M}}=F.getLocalizedStrings(),rr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,[l,p]=h.useState(!1),[m,u]=h.useState(o.startDate.format(re.MMMFormat)),[c,y]=h.useState(o.startDate.format(re.YYYYFormat)),$=x=>{u(x),i("month",{startDate:P(`${x} ${c}`,re.MMMYYYYFormat).startOf("month"),endDate:P(`${x} ${c}`,re.MMMYYYYFormat).endOf("month")}),p(!1)},v=x=>{p(x),u(o.startDate.format(M.MMMformat)),y(o.startDate.format(M.YYYYformat))},{disabledMonths:w,disabledYears:f}=Xt(e.firstMonthOfFY,e.dataAvailable,a,{startDate:P(c,M.YYYYformat),endDate:P(c,M.YYYYformat)}),_=E(e.firstMonthOfFY,"month",e.dataAvailable),d=er(c,w,a,e.bookCloseDate),g=tr(a,c,w,e.bookCloseDate),O=e.bookCloseDate!=null?we("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(ye,{onClickAway:()=>v(!1),children:t.jsxs(Gt,{children:[t.jsx(ve,{value:K(o.startDate,M.MMMYYFormat,e.firstMonthOfFY),onClick:()=>v(!l),label:r,timeframeTickTag:O}),l?t.jsx(h.Fragment,{children:t.jsxs(Zt,{children:[t.jsxs(Jt,{children:[_.map(x=>t.jsx(Z,{id:x,text:x,disabled:f.includes(x),onClick:j=>{y(j),u("")},checked:x===c},x)),t.jsx(Ne,{space:s.sp3}),t.jsx(Kt,{}),t.jsx(Ne,{space:s.sp3}),de.map(x=>t.jsx(Z,{id:x,text:x,disabled:w.includes(x),onClick:j=>$(j),checked:x===m,starred:d.includes(x)&&!w.includes(x),doubleStarred:g.includes(x)&&!w.includes(x)},x))]}),t.jsx(je,{starredPeriod:d,doubleStarredPeriod:g,bookCloseIncompleteInfo:Be.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Be.bookCloseUnderReviewInfoMonth})]})}):""]})})},sr=h.memo(rr),or=n.div`
|
|
95
95
|
position: relative;
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
`,ar=n.div`
|
|
@@ -117,7 +117,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
117
117
|
`,nr=n.div`
|
|
118
118
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
119
119
|
width: 100%;
|
|
120
|
-
`,lr=(e,o,r,a)=>{const i=E(e,"quarter",o).filter(l=>{if(e===1)return!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=
|
|
120
|
+
`,lr=(e,o,r,a)=>{const i=E(e,"quarter",o).filter(l=>{if(e===1)return!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=k(r.startDate,e),{fyYear:m}=k(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=m)}});return{disabledQuarters:le.filter(l=>{const p=parseInt(l),m=k(r.startDate,e),u=k(r.endDate,e);return a===m.fyYear&&p<m.fyQuarter||a===u.fyYear&&p>u.fyQuarter?!0:a<m.fyYear||a>u.fyYear}),disabledYears:i}},dr=(e,o,r,a,i)=>{const l=U(a);if(i!=null){const p=k(i,o),m=k(a.endDate,o);return le.filter(u=>{const c=parseInt(u);return e.includes(u)===!1&&(l!==!0||m.fyQuarter!==c)&&(r===p.fyYear&&c>=p.fyQuarter&&vt(c,o)!==i.month()+1||r>p.fyYear)})}else return[]},cr=(e,o,r,a,i)=>{const l=U(a);if(i!=null){const p=k(i,e),m=k(a.endDate,e);return le.filter(u=>{const c=parseInt(u);return r.includes(u)===!1&&(l!==!0||m.fyQuarter===c)&&o===p.fyYear&&c>=p.fyQuarter||o>p.fyYear})}else return[]},pr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=k(o.startDate,e.firstMonthOfFY),[m,u]=h.useState(!1),[c,y]=h.useState(`${l}`),[$,v]=h.useState(`${p}`),{reports:w,dateFormat:f}=F.getLocalizedStrings(),_=b=>{y(b),i("quarter",jt(e.firstMonthOfFY,Ot(parseInt(b)),parseInt($))),u(!1)},d=b=>{u(b);const{fyQuarter:Y,fyYear:I}=k(o.startDate,e.firstMonthOfFY);y(`${Y}`),v(`${I}`)},{disabledQuarters:g,disabledYears:O}=lr(e.firstMonthOfFY,e.dataAvailable,a,parseInt($)),x=E(e.firstMonthOfFY,"quarter",e.dataAvailable),j=dr(g,e.firstMonthOfFY,parseInt($),a,e.bookCloseDate),Q=cr(e.firstMonthOfFY,parseInt($),g,a,e.bookCloseDate),T=e.bookCloseDate!=null?we("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(ye,{onClickAway:()=>d(!1),children:t.jsxs(or,{children:[t.jsx(ve,{value:`Q${K(o.startDate,f.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>d(!m),label:r,timeframeTickTag:T}),m?t.jsxs(ar,{children:[t.jsxs(ir,{children:[x.map(b=>t.jsx(Z,{id:b,text:b,disabled:O.includes(b),onClick:Y=>{v(Y),y("")},checked:b===$},b)),t.jsx(Ve,{space:s.sp3}),t.jsx(nr,{}),t.jsx(Ve,{space:s.sp3}),le.map(b=>t.jsx(Z,{id:b,text:`Q${b}`,disabled:g.includes(b),onClick:Y=>_(Y),checked:b===c,starred:j.includes(b)&&!g.includes(b),doubleStarred:Q.includes(b)&&!g.includes(b)},b))]}),t.jsx(je,{starredPeriod:j,doubleStarredPeriod:Q,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},mr=h.memo(pr),fr=n.div`
|
|
121
121
|
position: relative;
|
|
122
122
|
cursor: pointer;
|
|
123
123
|
`,hr=n.div`
|
|
@@ -137,13 +137,13 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
137
137
|
flex-wrap: wrap;
|
|
138
138
|
background: ${e=>e.theme.colors.grey5};
|
|
139
139
|
width: 100%;
|
|
140
|
-
`,br=(e,o,r)=>E(e,"year",o).filter(a=>{if(e===1)return!P(`${a}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=
|
|
140
|
+
`,br=(e,o,r)=>E(e,"year",o).filter(a=>{if(e===1)return!P(`${a}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=k(r.startDate,e),{fyYear:l}=k(r.endDate,e);return parseInt(a)<i||parseInt(a)>l}}),xr=(e,o,r,a)=>{const i=U(r);if(a!=null){const l=k(a,e),p=k(r.endDate,e);return E(e,"year",o).filter(m=>{const u=parseInt(m);return(i===!0?p.fyYear!==u:!0)&&parseInt(m)>=l.fyYear&&Yt(e)!==a.month()+1})}else return[]},gr=(e,o,r,a)=>{const i=U(r);if(a!=null){const l=k(a,e),p=k(r.endDate,e);return E(e,"year",o).filter(m=>{const u=parseInt(m);return(i===!0?p.fyYear===u:!0)&&parseInt(m)>=l.fyYear})}else return[]},yr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,[l,p]=h.useState(!1),{reports:m,dateFormat:u}=F.getLocalizedStrings(),c=br(e.firstMonthOfFY,e.dataAvailable,a),y=E(e.firstMonthOfFY,"year",e.dataAvailable),$=k(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,v=xr(e.firstMonthOfFY,e.dataAvailable,a,e.bookCloseDate),w=gr(e.firstMonthOfFY,e.dataAvailable,a,e.bookCloseDate),f=e.bookCloseDate!=null?we("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,_=u.analytics.YYYYFormat;return t.jsx(ye,{onClickAway:()=>p(!1),children:t.jsxs(fr,{children:[t.jsx(ve,{value:K(o.startDate,_,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:f}),l?t.jsxs(hr,{children:[t.jsx(ur,{children:y.map(d=>t.jsx(Z,{id:d,text:d,disabled:c.includes(d),onClick:g=>{i("year",Ft(e.firstMonthOfFY,parseInt(g))),p(!1)},checked:parseInt(d)===$,starred:v.includes(d)&&!c.includes(d),doubleStarred:w.includes(d)&&!c.includes(d)},d))}),t.jsx(je,{starredPeriod:v,doubleStarredPeriod:w,bookCloseIncompleteInfo:m.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:m.bookCloseUnderReviewInfoYear})]}):""]})})},$r=h.memo(yr),wr=n.div`
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
`,Fr=n(mt)`
|
|
144
144
|
margin-left: ${s.sp2};
|
|
145
145
|
color: ${e=>e.theme.colors.hero};
|
|
146
|
-
`,
|
|
146
|
+
`,vr=n.div`
|
|
147
147
|
border-radius: 18px;
|
|
148
148
|
padding: 0 5.5px;
|
|
149
149
|
height: 18px;
|
|
@@ -152,15 +152,15 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
152
152
|
align-items: center;
|
|
153
153
|
color: ${e=>e.theme.colors.grey5};
|
|
154
154
|
background: ${e=>e.showSuccessBadge?ue.success:e.theme.colors.primary};
|
|
155
|
-
`,
|
|
155
|
+
`,jr=n(pt)``,Or=e=>{const{numberOfPeriods:o,numberOfAdditionalColumns:r,selectedFileType:a}=e;return t.jsxs(wr,{children:[t.jsx(vr,{showSuccessBadge:A[a]===o+r,children:t.jsx(jr,{children:o+r})}),t.jsx(Fr,{children:F.getLocalizedStrings().downloadReport.maxPeriodSelectionAllowed[a]})]})},Yr=$e.memo(Or),N=n.div`
|
|
156
156
|
padding-top: ${e=>e.space};
|
|
157
|
-
`,Dr=n(
|
|
157
|
+
`,Dr=n(We)`
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
159
|
`,ce=n(L)`
|
|
160
160
|
color: ${e=>e.theme.colors.primary};
|
|
161
|
-
`,
|
|
161
|
+
`,_r=n.div`
|
|
162
162
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
163
|
-
`,
|
|
163
|
+
`,kr=(e,o,r)=>{const{endOfTimeframeFY:a}=C(o.startDate,e,r),{startOfTimeframeFY:i}=C(o.endDate,e,r),l={startDate:o.startDate,endDate:a},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},Cr=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:a,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:m,defaultOptions:u,selectedFileType:c,bookCloseDate:y,onDateRangeChange:$,onSelectedTimeframeChange:v,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:f}=e,_=b=>F.getLocalizedStrings().timeframe[b],d=b=>F.getLocalizedStrings().downloadReport.orderBy[b],g=F.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:O,toDateRange:x}=kr(o,l,r),j=b=>{const Y=ie(o,b,m,u.balancesFilter.numberOfPeriods);i.timeframe=b,i.maxNumberOfPeriods=A[c]-u.additionalBalances.length,i.updatePeriod(J(m.endDate,o,Y-1,b),m.endDate),$(i.value.dateRange),v(i.value.timeframe),f(u.additionalBalances)},Q=h.useCallback((b,Y,I)=>{I==="to"?i.updateEndDate(Y.endDate):i.updateStartDate(Y.startDate),$(i.value.dateRange)},[i,$]),T=()=>{let b=sr;return r==="quarter"?b=mr:r==="year"&&(b=$r),t.jsxs(h.Fragment,{children:[t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(Y,I)=>Q(Y,I,"from"),dataAvailable:m,selectedPeriod:O,label:"From",validPeriod:{startDate:m.startDate,endDate:m.endDate},bookCloseDate:y}),t.jsx(N,{space:s.sp3}),t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(Y,I)=>Q(Y,I,"to"),dataAvailable:m,selectedPeriod:x,label:"To",validPeriod:i.getValidCalendarPeriod(),bookCloseDate:y})]})};return t.jsxs(h.Fragment,{children:[t.jsx(Dr,{children:g.title}),t.jsx(N,{space:s.sp2}),t.jsx(Yr,{numberOfPeriods:i.numberOfPeriods,numberOfAdditionalColumns:a,selectedFileType:c}),t.jsx(N,{space:s.sp5}),t.jsx(ce,{children:g.displayOrderBy}),t.jsx(N,{space:s.sp2}),t.jsx(ke,{pickerValues:["ascending_date","descending_date"],valueToLabel:d,selectedValue:p,onPickerSelectionChanged:b=>w(b),optionTextStyle:te.standardRegular,titleTextStyle:te.standardRegular,outlined:!0}),t.jsx(N,{space:s.sp5}),t.jsx(_r,{}),t.jsx(N,{space:s.sp4}),t.jsx(ce,{children:"Period"}),t.jsx(N,{space:s.sp2}),t.jsx(ke,{pickerValues:["month","quarter","year"],valueToLabel:_,selectedValue:r,onPickerSelectionChanged:b=>j(b),titleTextStyle:te.standardRegular,optionTextStyle:te.standardRegular,outlined:!0}),t.jsx(N,{space:s.sp4}),t.jsx(ce,{children:g.periodRange}),t.jsx(N,{space:s.sp2}),T()]})},Pr=h.memo(Cr),H=n.div`
|
|
164
164
|
padding-top: ${e=>e.top??0};
|
|
165
165
|
padding-left: ${e=>e.left??0};
|
|
166
166
|
`,Sr=n.div`
|
|
@@ -237,17 +237,17 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
237
237
|
display: flex;
|
|
238
238
|
justify-content: space-between;
|
|
239
239
|
gap: ${s.sp3};
|
|
240
|
-
`,
|
|
240
|
+
`,Wr=n.div`
|
|
241
241
|
position: absolute;
|
|
242
242
|
top: calc(50% - ${e=>e.offset});
|
|
243
243
|
left: calc(50% - ${e=>e.offset});
|
|
244
|
-
`,
|
|
244
|
+
`,qr=n(ge)`
|
|
245
245
|
width: ${s.sp4};
|
|
246
246
|
height: ${s.sp4};
|
|
247
247
|
`,Gr=n(xe)`
|
|
248
248
|
width: ${s.sp4};
|
|
249
249
|
height: ${s.sp4};
|
|
250
|
-
`,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:
|
|
250
|
+
`,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:qr}],Jr=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Br,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(Wr,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Qr,{children:o}),t.jsx(l,{})]})})},Kr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i,onResetClick:l,isResetDisabled:p}=e,{calendarPeriod:m,onNewFileTypeSelection:u,numberOfAdditionalColumns:c,selectedFileType:y,resetToDefaultOption:$}=i,[v,w]=h.useState(!1),f=d=>{d.stopPropagation(),o()},_=d=>{d==="pdf"&&m.numberOfPeriods+c>A.pdf?w(!0):(m.maxNumberOfPeriods=A[d]-c,u(d))};return t.jsxs(zr,{onClick:d=>d.stopPropagation(),children:[t.jsxs(Vr,{isResetDisabled:p,onClick:l,children:[t.jsx(Ue,{width:s.sp4,height:s.sp4}),t.jsx(Er,{children:ne.resetLabel})]}),t.jsxs(Hr,{children:[t.jsx(Ur,{children:Zr.map(d=>t.jsx(Jr,{...d,onClick:()=>{a||_(d.id)},checked:y===d.id,isLoading:r},d.id))}),t.jsx(Nr,{space:s.sp0,style:{display:"flex",alignItems:"center",height:B[7]},children:ne.orLabel}),t.jsx(ae,{variant:"primary",label:F.getLocalizedStrings().downloadReport.viewReport,onClick:f,style:{width:"160px"}})]}),v?t.jsx(Xe,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),u("pdf"),$()}}):""]})},Xr=h.memo(Kr),fe=F.getLocalizedStrings().downloadReport.footer,es=n.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
justify-content: center;
|
|
253
253
|
background: ${e=>e.theme.colors.background};
|
|
@@ -297,7 +297,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
297
297
|
`,ls=n(xe)`
|
|
298
298
|
width: ${s.sp4};
|
|
299
299
|
height: ${s.sp4};
|
|
300
|
-
`,ds=[{id:"excel",label:fe.downloadExcel,Icon:ls},{id:"pdf",label:fe.downloadPdf,Icon:ns}],cs=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(rs,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(is,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(ss,{children:o}),t.jsx(l,{})]})})},ps=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:m,selectedFileType:u,resetToDefaultOption:c}=i,[y,$]=h.useState(!1),
|
|
300
|
+
`,ds=[{id:"excel",label:fe.downloadExcel,Icon:ls},{id:"pdf",label:fe.downloadPdf,Icon:ns}],cs=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(rs,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(is,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(ss,{children:o}),t.jsx(l,{})]})})},ps=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:m,selectedFileType:u,resetToDefaultOption:c}=i,[y,$]=h.useState(!1),v=f=>{f.stopPropagation(),o()},w=f=>{f==="pdf"&&l.numberOfPeriods+m>A.pdf?$(!0):(l.maxNumberOfPeriods=A[f]-m,p(f))};return t.jsxs(es,{onClick:f=>f.stopPropagation(),children:[t.jsxs(os,{children:[t.jsx(as,{children:ds.map(f=>t.jsx(cs,{...f,onClick:()=>{a||w(f.id)},checked:u===f.id,isLoading:r},f.id))}),t.jsx(ts,{space:s.sp0,style:{display:"flex",alignItems:"center",height:s.sp4},children:fe.orLabel}),t.jsx(ae,{variant:"primary",label:F.getLocalizedStrings().downloadReport.viewReport,onClick:v,style:{width:"100%"}})]}),y?t.jsx(Xe,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),c()}}):""]})},ms=h.memo(ps),fs=e=>he()==="small"?t.jsx(ms,{...e}):t.jsx(Xr,{...e}),hs=e=>h.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),us=n.div`
|
|
301
301
|
padding: ${s.sp3};
|
|
302
302
|
border: 1px solid
|
|
303
303
|
${e=>e.disabled?e.theme.colors.grey3:e.checked?e.theme.colors.primary:e.theme.colors.grey2};
|
|
@@ -323,7 +323,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
323
323
|
margin-left: ${s.sp3};
|
|
324
324
|
`,G=n.div`
|
|
325
325
|
padding-top: ${e=>e.space};
|
|
326
|
-
`,Qe=n(
|
|
326
|
+
`,Qe=n(We)`
|
|
327
327
|
color: ${e=>e.theme.colors.primary};
|
|
328
328
|
`,gs=n.div`
|
|
329
329
|
position: relative;
|
|
@@ -344,13 +344,13 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
344
344
|
box-sizing: border-box;
|
|
345
345
|
align-items: center;
|
|
346
346
|
color: ${e=>e.isResetDisabled?e.theme.colors.primary:e.theme.colors.grey1};
|
|
347
|
-
`,
|
|
347
|
+
`,vs=n(L)`
|
|
348
348
|
color: inherit;
|
|
349
|
-
`,
|
|
349
|
+
`,js=n.div`
|
|
350
350
|
display: flex;
|
|
351
351
|
align-items: center;
|
|
352
352
|
justify-content: space-between;
|
|
353
|
-
`,Os=e=>{const{label:o,id:r,subLabel:a,onClick:i,checked:l,Icon:p,disabled:m}=e;return t.jsxs(us,{checked:l,disabled:m,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:B[7],height:B[7]}),t.jsxs("div",{children:[t.jsx(bs,{children:o}),t.jsx(xs,{children:a})]})]})},Ys=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:a,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:m,classesFetchState:u,showClassAccountNumber:c,showAccountGroups:y,onOpenAccountViewMode:$,onNewFormatSelection:
|
|
353
|
+
`,Os=e=>{const{label:o,id:r,subLabel:a,onClick:i,checked:l,Icon:p,disabled:m}=e;return t.jsxs(us,{checked:l,disabled:m,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:B[7],height:B[7]}),t.jsxs("div",{children:[t.jsx(bs,{children:o}),t.jsx(xs,{children:a})]})]})},Ys=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:a,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:m,classesFetchState:u,showClassAccountNumber:c,showAccountGroups:y,onOpenAccountViewMode:$,onNewFormatSelection:v,onNewViewSelection:w,onResetClick:f,isResetDisabled:_}=e,d=F.getLocalizedStrings().downloadReport.reportFormats,g=he(),O=[{id:d.summary.id,label:d.summary.label,subLabel:d.summary.subLabel,Icon:dt},{id:d.detailed.id,label:d.detailed.label,subLabel:l==="account_group"?y===!0?d.detailed.subLabelAccountGroups:d.detailed.subLabelAccounts:d.detailed.subLabelClasses,Icon:Ct},{id:d.moreDetailed.id,label:d.moreDetailed.label,subLabel:l==="account_group"?y===!0?d.moreDetailed.subLabelAccountGroups:d.moreDetailed.subLabelAccounts:d.moreDetailed.subLabelClasses,Icon:hs}],x=()=>t.jsx(h.Fragment,{children:t.jsx(kt,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:u,selectedView:l,showAccountGroups:y,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:m,showClassAccountNumber:c,onOpenAccountViewMode:$})});return t.jsxs(h.Fragment,{children:[g==="small"?t.jsxs(js,{children:[t.jsx(Qe,{children:F.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(Fs,{isResetDisabled:_,onClick:f,children:[t.jsx(Ue,{width:s.sp4,height:s.sp4}),t.jsx(vs,{children:d.resetLabel})]})]}):t.jsx(Qe,{children:F.getLocalizedStrings().downloadReport.reportFormat}),t.jsx(G,{space:s.sp4}),t.jsxs(gs,{children:[t.jsx(ys,{children:"View by"}),t.jsx(G,{space:s.sp2}),t.jsx($s,{children:x()})]}),t.jsx(G,{space:s.sp5}),t.jsx(ws,{}),t.jsx(G,{space:s.sp5}),O.map(j=>t.jsxs(h.Fragment,{children:[t.jsx(Os,{...j,onClick:()=>{i.includes(j.id)||v(j.id)},checked:a===j.id,disabled:i.includes(j.id)}),t.jsx(G,{space:s.sp4})]},j.id))]})},V={width:new q(B[11],B[11],33),maxWidth:new q(550,550,425),containerPadding:new q(B[3],B[6]),rowItemPadding:new q(0,B[6]),footerHeight:new q(211,133)},Ds=n.div`
|
|
354
354
|
position: relative;
|
|
355
355
|
display: flex;
|
|
356
356
|
width: ${s.sp4};
|
|
@@ -363,14 +363,14 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
363
363
|
border-color: ${e=>e.theme.colors.primary};
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`,
|
|
366
|
+
`,_s=Je`
|
|
367
367
|
0% {
|
|
368
368
|
transform: translateY(100%)
|
|
369
369
|
}
|
|
370
370
|
100% {
|
|
371
371
|
transform: translateY(0)
|
|
372
372
|
}
|
|
373
|
-
`,
|
|
373
|
+
`,ks=Je`
|
|
374
374
|
0% {
|
|
375
375
|
opacity: 0
|
|
376
376
|
}
|
|
@@ -402,7 +402,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
402
402
|
&:hover {
|
|
403
403
|
color: ${ue.primaryDark};
|
|
404
404
|
}
|
|
405
|
-
animation: ${
|
|
405
|
+
animation: ${ks} 0.4s;
|
|
406
406
|
`,Ms=n.div`
|
|
407
407
|
display: flex;
|
|
408
408
|
flex-wrap: wrap;
|
|
@@ -414,7 +414,7 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
414
414
|
padding: ${e=>`${V.containerPadding.valuePx(e.windowSize)} ${V.containerPadding.valuePx(e.windowSize)} ${s.sp0} ${V.containerPadding.valuePx(e.windowSize)} `};
|
|
415
415
|
background: ${e=>e.theme.colors.grey4};
|
|
416
416
|
border-radius: ${s.sp2} ${s.sp2} ${s.sp0} ${s.sp0};
|
|
417
|
-
animation: ${
|
|
417
|
+
animation: ${_s} 0.4s;
|
|
418
418
|
`,pe=n.div`
|
|
419
419
|
padding: ${e=>`${s.sp0} ${V.rowItemPadding.valuePx(e.windowSize)}`};
|
|
420
420
|
width: ${e=>V.width.value(e.windowSize)}%;
|
|
@@ -436,4 +436,4 @@ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,x as lt,F
|
|
|
436
436
|
justify-content: center;
|
|
437
437
|
color: ${e=>e.theme.colors.hero};
|
|
438
438
|
cursor: pointer;
|
|
439
|
-
`,Is=e=>({localeId:F.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Ls=e=>{const o=Is(e);if(o!=null)return
|
|
439
|
+
`,Is=e=>({localeId:F.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Ls=e=>{const o=Is(e);if(o!=null)return _t(e.statementEndPoint,e.authParams,o)},Rs=e=>{const{onClose:o,defaultOptions:r,dataAvailable:a,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u}=e,c=he();nt();const[y,$]=h.useState(!1),[v,w]=h.useState(!1),[f,_]=h.useState(new Ce(r.firstMonthOfFY,r.timeframe,a,r.balancesFilter.numberOfPeriods,A.excel,r.balancesFilter.thisPeriod.endDate)),[d,g]=h.useState(r.statements),[O,x]=h.useState(r.timeframe),[j,Q]=h.useState("excel"),[T,b]=h.useState(r.additionalBalances),[Y,I]=h.useState(oe(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[X,et]=h.useState(e.defaultOptions.accountViewMode),[ee,tt]=h.useState(e.defaultOptions.classesToFilterOut),[W,Oe]=h.useState(e.defaultOptions.balancesFilter.orderBy),[Ye,De]=h.useState(!1),rt=()=>{const D=ie(r.firstMonthOfFY,O,Y),{startOfTimeframeFY:R,endOfTimeframeFY:S}=C(Y.endDate,r.firstMonthOfFY,O),z=P(new Date(S.year(),S.month(),S.date()).toISOString());p?.({endDate:z,startDate:R},D,!0)};h.useEffect(()=>{const D=async()=>{const R=f.endDate,{startOfTimeframeFY:S}=C(f.endDate,r.firstMonthOfFY,f.timeframe);await Ls({...e,statements:Pt.filter(z=>d.includes(z)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:f.timeframe,additionalBalances:Ke[f.timeframe].filter(z=>T.includes(z)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:X,classesToFilterOut:ee,balancesFilter:{thisPeriod:{startDate:S,endDate:R},orderBy:W,numberOfPeriods:f.numberOfPeriods},dataAvailable:a,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};Ye&&e.downloadState!=="In-Progress"&&(De(!1),e.updateDownloadStateHandler("In-Progress"),D(),i?.trackDownload(e.referrer,Dt(f.timeframe),j,!1))},[i,f.endDate,f.numberOfPeriods,f.timeframe,Ye,e,a,T,j,e.reportFormatProps.selectedFormat,W,d,X,ee,r.firstMonthOfFY]),h.useEffect(()=>{v?y||$(D=>!D):w(D=>!D)},[T,W,Y,e.reportFormatProps.selectedFormat]);const st=()=>{b(r.additionalBalances),f.maxNumberOfPeriods=A.pdf-r.additionalBalances.length;const D=ie(r.firstMonthOfFY,f.timeframe,a,r.balancesFilter.numberOfPeriods),R=oe(r.firstMonthOfFY,f.timeframe,f.endDate,D).dateRange;I(R),f.updatePeriod(R.startDate,R.endDate)},ot=D=>{D.stopPropagation(),o()},at=(D,R)=>{et(D),e.showAccountGroups===!1&&D==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):D==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),D==="classes"?d.includes("profit_and_loss")&&(g(S=>S.filter(z=>z!=="profit_and_loss")),g(S=>[...S,"profit_and_loss_by_classes"])):d.includes("profit_and_loss_by_classes")&&(g(S=>S.filter(z=>z!=="profit_and_loss_by_classes")),g(S=>[...S,"profit_and_loss"])),R!==void 0&&tt(R)},_e=()=>{_(new Ce(r.firstMonthOfFY,r.timeframe,a,r.balancesFilter.numberOfPeriods,A.excel,r.balancesFilter.thisPeriod.endDate)),b(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),Oe("ascending_date"),g(r.statements),x(r.timeframe),I(oe(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(Cs,{children:[t.jsx(Ps,{role:"presentation",onClick:D=>ot(D),windowSize:c,children:t.jsx(Ss,{})}),t.jsxs(Ms,{windowSize:c,children:[t.jsxs(pe,{windowSize:c,children:[t.jsx(Ys,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:X,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:ee,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:at,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:_e,isResetDisabled:y}),t.jsx(As,{}),c==="small"||c==="medium-compact"?t.jsx(se,{space:s.sp5}):t.jsx(se,{space:s.sp8})]}),t.jsxs(pe,{windowSize:c,children:[t.jsx(Pr,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:f,numberOfAdditionalColumns:T.length,selectedOrderBy:W,dataAvailable:a,dateRange:Y,defaultOptions:r,selectedTimeframe:O,bookCloseDate:r.bookCloseDate,onDateRangeChange:I,onSelectedTimeframeChange:x,onNewOrderBySelection:Oe,selectedFileType:j,onAdditionalColumnsSelectionChanged:b}),t.jsx(se,{space:s.sp5})]}),t.jsxs(pe,{windowSize:c,children:[t.jsx(Et,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:O,dateRange:Y,calendarPeriod:f,selectedAdditionalColumns:T,onAdditionalColumnsSelectionChanged:b,dataAvailable:a,selectedFileType:j}),t.jsx(se,{space:s.sp8})]})]}),t.jsx(fs,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(W),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(X,ee),m?.(T,f.numberOfPeriods,!0),u?.(O,!1,!0),rt(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:d.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:f,numberOfAdditionalColumns:T.length,onNewFileTypeSelection:D=>{Q(D),De(!0)},resetToDefaultOption:st},onResetClick:_e,isResetDisabled:y})]})},to=e=>{const{defaultOptions:o}=e,[r,a]=h.useState(!1),i=o.additionalBalances;return t.jsxs(Ds,{onClick:()=>{a(!0)},children:[t.jsx(it,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:s.sp4,height:s.sp4}}),r?null:t.jsx(Ts,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(Rs,{...e,onClose:()=>a(!1)}):null]})};export{to as DownloadOverlayButton,Rs as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as a,V as i,
|
|
1
|
+
import{J as a,V as i,bV as y,o as r,x as s,b as h,c4 as P,c,M as g,d as b,u as t,aQ as k,k9 as L,ka as D,kb as C}from"./index-Cq3X29cS.js";import{n as o}from"./mui-DzE-7sTl.js";import"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="21707785-cf91-446a-931d-96bca18abc7a",e._sentryDebugIdIdentifier="sentry-dbid-21707785-cf91-446a-931d-96bca18abc7a")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((j,f)=>i.jsxs(A,{children:[i.jsx(J,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(V,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
|
|
2
2
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
3
3
|
border-radius: ${r.sp2};
|
|
4
4
|
box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -15,15 +15,15 @@ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,H as c,a as g,x as b,u
|
|
|
15
15
|
justify-content: flex-start;
|
|
16
16
|
`,$=o.div`
|
|
17
17
|
margin-left: ${e=>l.styledDivMarginLeft.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,B=o(L)`
|
|
19
19
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
20
20
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
21
21
|
color: ${e=>e.theme.colors.graphColor12Dark};
|
|
22
|
-
`,
|
|
22
|
+
`,N=o(D)`
|
|
23
23
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
24
24
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
25
25
|
color: ${e=>e.theme.colors.graphColor06Dark};
|
|
26
|
-
`,
|
|
26
|
+
`,V=o(C)`
|
|
27
27
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
28
28
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
29
29
|
color: ${e=>e.theme.colors.success};
|
|
@@ -49,7 +49,7 @@ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,H as c,a as g,x as b,u
|
|
|
49
49
|
z-index: 1;
|
|
50
50
|
`,E=o.div`
|
|
51
51
|
margin-top: ${r.sp4};
|
|
52
|
-
`,
|
|
52
|
+
`,H=o.div`
|
|
53
53
|
top: ${r.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -60,7 +60,7 @@ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,H as c,a as g,x as b,u
|
|
|
60
60
|
z-index: -1;
|
|
61
61
|
`,J=o.div`
|
|
62
62
|
padding-bottom: ${r.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:O}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},T={title:new c("standardRegular","largeRegular")},{referAndEarn:W}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(X,{windowSize:d,children:[i.jsx(G,{windowSize:d,children:i.jsxs(Q,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(y,{enterDelay:600,title:O,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Y,{onClick:n})})}),i.jsx(q,{windowSize:d,children:W}),d!=="small"&&i.jsx(K,{onClick:n})]})}),i.jsx(F,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const X=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -68,18 +68,18 @@ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,H as c,a as g,x as b,u
|
|
|
68
68
|
width: 100%;
|
|
69
69
|
height: 100vh;
|
|
70
70
|
position: relative;
|
|
71
|
-
`,
|
|
71
|
+
`,Q=o.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: space-between;
|
|
75
75
|
height: 100%;
|
|
76
76
|
width: ${e=>e.windowSize==="small"?"100%":"76%"};
|
|
77
|
-
`,
|
|
77
|
+
`,q=o(g)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
|
-
${e=>`${
|
|
82
|
-
`,
|
|
81
|
+
${e=>`${T.title.style(e.windowSize)}`};
|
|
82
|
+
`,F=o.div`
|
|
83
83
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
84
84
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
85
85
|
`,G=o.div`
|
|
@@ -101,7 +101,7 @@ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,H as c,a as g,x as b,u
|
|
|
101
101
|
&:hover {
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,U=o.div`
|
|
105
105
|
height: ${r.sp4};
|
|
106
106
|
width: ${r.sp4};
|
|
107
107
|
display: flex;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import{J as ie,fY as ae,y as de,aa as ce,aS as pe,V as s,cs as ue,ar as me,ct as ge,cu as fe,gY as he,cy as ye,o as n,bV as be,ac as U,ae as ve,aT as xe,x as j,b as $e,cE as we,f$ as Re,g0 as Ce,g1 as Ie,bb as ke,p as Y,d1 as Oe,u}from"./index-Cq3X29cS.js";import{a as w}from"./sentry-DQ_HstYV.js";import{n as l}from"./mui-DzE-7sTl.js";import{Gs as Pe,bg as _e}from"./zeni-epic-state-B4gyGBI3.js";import{f as je}from"./AllUserItems-DGGAZCTH-DA8Osx0t.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js";import"./RoleWithToolTip-zLU58xb1-CSAiI1iT.js";import"./LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4dccddf4-a1a4-422e-b853-8ca5bbcc3b4d",e._sentryDebugIdIdentifier="sentry-dbid-4dccddf4-a1a4-422e-b853-8ca5bbcc3b4d")}catch{}})();const I={containerPaddingTop:new j(u[3],u[3]),containerPaddingLeft:new j(u[3],u[6],u[6]),containerPaddingRight:new j(u[3],u[6],u[8]),buttonWidth:new j(85,85)},F="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,ts=({peopleDetails:e,managersList:r,classList:y,controllersList:k,mode:c,isZeniTenant:T,onCloseClick:O,onResetClick:P,onSaveClick:m,onDeleteUser:G,onPeopleLocalDataUpdated:M,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Q,S]=w.useState(!1),[X,H]=w.useState(-1),ee=c==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,se=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=de(),i=ce({mode:"onBlur",reValidateMode:"onChange",defaultValues:W(e.people,r,y,c,D,b,v),values:W(e.people,r,y,c,D,b,v)}),te=i.handleSubmit(()=>{J()&&m()},()=>{J(),console.warn("Edit Profile form error")}),J=()=>{const g=i.getValues();let o=!0;return g.userItems.forEach((f,x)=>{const{role:L,department:a,nonZeniRole:h,manager:p}=f;if(c==="zeni_only"){const t=L.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),o=!1)}else{const t=h?.userRole.selectedRole;(t!=null&&h!=null?h.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),t!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&t!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),o=!1)}}),o},ne=async(g,o)=>{const f=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(L!=null){if(c==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const p=a.nonZeniRole?.userRole.selectedRole;let t=[];p==="admin"||p==="investor_or_banker"?t.push(p):t=p!=null?(a.nonZeniRole?.productsByUserRole[p]??[]).map(E=>Pe(E.selectedOption?.value)).filter(E=>E!=null):[],p==="employee"&&t.length===0&&t.push("reimbursements_user");const $=_e(t);h={email:a.email,role:t,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((o,{name:f})=>{f!=null&&o!=null&&ne(f,o)});return()=>{g.unsubscribe()}});const re=()=>{S(!0)},oe={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),G?.(e.person)},onCancelClick:()=>{S(!1)}},K=pe(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&K==="removeUsers"&&(S(!1),P?.())},[_,K]),s.jsxs(s.Fragment,{children:[Q===!0?s.jsx(ue,{titleComponent:s.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:s.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:oe,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?s.jsxs(s.Fragment,{children:[s.jsx(Be,{}),s.jsx(Ue,{children:s.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),s.jsxs(Te,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[s.jsxs(Ee,{children:[s.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),s.jsxs(Se,{children:[s.jsx(De,{children:e.person?.user?.firstName?s.jsxs(Le,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:re,children:s.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:s.jsx(Ne,{windowsize:C})})})]})]}),s.jsx(ve,{...i,children:s.jsx("form",{id:`${F}_form`,onSubmit:te,children:s.jsx(je,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:c,isZeniTenant:T,classList:y,managersList:r,controllersList:k,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),s.jsx(xe,{formId:`${F}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},W=(e,r,y,k,c,T,O)=>{const P=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:k==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:k!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,O)},productsByUserRole:Re(e[0]?.role,c)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},ns=(e,r)=>`${e}.${r}`,Te=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
+
padding-left: ${e=>`${I.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
6
|
+
padding-right: ${e=>`${I.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
7
|
+
overflow-x: hidden;
|
|
8
|
+
height: 100%;
|
|
9
|
+
padding-top: ${e=>`${I.containerPaddingTop.valuePx(e.windowSize)}`};
|
|
10
|
+
gap: ${n.sp2};
|
|
11
|
+
`,Se=l.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 5px;
|
|
17
|
+
flex: 1;
|
|
18
|
+
`,De=l.div``,Le=l(ke)`
|
|
19
|
+
color: ${e=>e.theme.colors.primary};
|
|
20
|
+
`,Ee=l.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: ${n.sp2};
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin: ${n.sp0} ${n.sp1};
|
|
25
|
+
`,Ue=l.div`
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: -26px;
|
|
28
|
+
`,ze=l.img`
|
|
29
|
+
height: 60px;
|
|
30
|
+
width: 60px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
color: ${e=>e.theme.colors.hero};
|
|
33
|
+
`,Be=l.div`
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 1%;
|
|
36
|
+
left: 50%;
|
|
37
|
+
transform: translate(-50%, -50%);
|
|
38
|
+
height: 62px;
|
|
39
|
+
width: ${n.sp9};
|
|
40
|
+
border-radius: 50% 50% 0 0;
|
|
41
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
42
|
+
`,Ne=l(Oe)`
|
|
43
|
+
width: ${n.sp3};
|
|
44
|
+
height: ${n.sp3};
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
color: ${e=>e.windowsize==="small"?Y.important:e.theme.colors.hero};
|
|
47
|
+
&:hover {
|
|
48
|
+
color: ${Y.important};
|
|
49
|
+
}
|
|
50
|
+
`,Ze=l.div`
|
|
51
|
+
width: ${n.sp3};
|
|
52
|
+
height: ${n.sp3};
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
position: relative;
|
|
55
|
+
`;export{ts as default,ns as uniqueName};
|