@zeniai/web-cockpit-ui 1.15.6-qa → 1.15.7-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-DDuW5spI-ugZGssMG.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-BlxRToKD.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-S2IoqbBC.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cd1E5lWq.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-BTFVE0QR.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-ChNK56Ur.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-BvmrVWEy.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-Cin7qPiV.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-XOHkAEGk.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-AUnGqfQg.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-DjneR2md.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-B6lYTPsK.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-ns8GH0Pa.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-B1AT15np.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-C7eLkZEj.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-DBGFvosS.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-B_DOigwY.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-w-3jN6e4.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-dwO5wQN1.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-DYJrFGG4.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-wu_5dYsT.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-B_wXxPzU.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-DrmfvS7a.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-ngc-DjEe.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-CKIRXjIs.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-Dekq2mMN.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BLrI1gTW.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-D5oSvHQU.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-DG3fl-Wi.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-Fc3uHPEU.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-CI38yG68.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-Cqrd5ERh.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-ernLwEHq.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-CIP5xUta.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-DHrUrYJa.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-DaCyOKB5.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-CWXWGUYt.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-sZKr-j3R.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-CCLBzSRT.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-D7xI54mJ.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-Ch5w8ptc.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-DzW0AY2p.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-BqMNWAeW.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-ClvLyM4I.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-wBhbzCb7.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-BTs5yweV.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-CEwDJ7_M.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-LioQcDUg.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-C8ovHvyA.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-Cp9A0E8f.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-DOGRNriH.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-BHVb3TK3.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-p4ImlM0s.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-BkWlGttQ.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-Cfk-AEiv.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-Buoi-mX4.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-d_gsBVue.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-BFzihstG.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-C2pFSUm_.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-2bH6uNqV.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-DeDzkULA.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DAOP4NpT.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-CqWmWxBy.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Dv_WELpr.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-B7oqyaD4.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-C4-16sSD.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-UjYYlzHC.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DFydS2Od.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-D821vf9d.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-p0vkJLZ_.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-D2ZZ_G49.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-CpyOiqej.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-DY3asbo7.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-D2DNLpw5.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-BknUycVk.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-DYOqW74l.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-BfCQlTRV.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-aTk_GR-I.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-sHHDjXdg.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-Ch-0yiFY.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-CkWXHs8U.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-acLMYQDQ.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-HyU6V8sj.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-B0LpnqFx.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-CMR-yX-w.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-vgoL826T.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-HjmaMbpp.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-BXkFCNOu.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-iKhmwyP2.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-ByEm_T8f.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-J922kz3s.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-PqI-s75M.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-DnMJV9Nw.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-CmERm1Eo.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-Br1syqiZ.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-DgzOnglp.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-HdbdrtMY.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-CxYPe3s5.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-CoWxE6yB.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-CLK0bly7.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-cL15_Lku.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-ChTwBVFO.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-BCq79mPl.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-K_MvSiez.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-KN8xudqI.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-B3ip0p99.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-COWxA7Kg.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-2TKc5O3B.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-CDSljNn0.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-DOQ_EfJ4.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-C-pMgAcv.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-CYETDjQg.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-ChCuaJ93.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-1Yn1edNo.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-j5tYZL01.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-DG58qOyk.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DfcN59qq.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BHtxUnyV.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-B0qhoH5M.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-Cqy7lnQW.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-B2bOM6nq.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-DhUjeST3.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-BSKprzB6.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-Dbm7BDCm.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-DIYYgIi-.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-CSjDDqkF.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-Cgeq5dRL.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-BdEO97Xk.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-CuZ3Yom9.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-1AcJ6ae5.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-CrnYkF9C.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-DnZZ8KzJ.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-C6Sys-PQ.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-BqQRPoZI.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-LU1vJ-Dw.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-DMAPk7th.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-DCm6-KYB.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-CW-CYLuB.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-D-j8G4aE.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-kn3CmpPt.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-IUCrWYsQ.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-CkVCyXIl.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-B6vgPVOV.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BsVioyb_.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-2JAer4Dh.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-DNxGnCTD.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-DMs_PuTr.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-aox7OqvX.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-Cz_qYix0.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-BdYMo354.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-BNEaMqCr.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BZEfDhck.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-BFAmjkJH.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-DlchsqGp.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j--_uql9Y3.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-DnXsp_Yv.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-FILqo9Qu.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-D8sb71fE.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CdGJRA77.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-0XGXXyET.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-DKo_M1pl.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-Ds3S8ZrP.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-CIahkACa.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BXV4c0YJ.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CaqR_Fs7.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-vwClst_9.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-COy8LjzW.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-fG1bibDB.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-CpHpZW9N.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-CVRHLeuD.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-D6_iWrpG.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-CFdivUKB.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-BHQsFmmb.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-_FQjEKMH.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Dy2FFAHX.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BYD1Ec66.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DyCtYJXL.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ck4T6x8r.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-DMxZ-F2f.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-snZI7Ejp.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-gQkYKWh4.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-CdjgwxSA.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-CXEWvwRf.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-B_cddanf.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index--v5kH7eI.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-DVClH-hg.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-DKD_-8rq.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-DPQlys-3.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-8h6T4NE0.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-Bxr9xNOi.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-vQToN2qW.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BDbvQ5nZ.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-n0U7H3Pg.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-Hb_TE8am.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-D4TXMxQv.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-DSNCIi97.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-BP7HcSTu.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DkBDh8Z0.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-DoQr6jZT.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BoeZM2US.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-4R0im3o1.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-jo6oNEJ1.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-CiC6rduJ.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B-y5Gt68.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-CBCyKcms.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-BNbLH2xC.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-rrnBgQHD.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-Cptp4ROd.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-D2MARgat.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DI7_2uJq.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-COeXcH05.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-CM3T2Iks.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-Ce8CP8e3.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-4RCW-gma.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-sPCk5dFw.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-Y9SQffD9.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-Clmey8ds.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-u7kE13ru.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-B8DmSz9X.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-ClxHSaX5.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-Ms4tKiHb.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-BBZuvmiJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CLzw6d0Z.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-U96sx-zJ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DXMpG3E5.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-DG1x-GzH.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-DoSc2vhw.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-BUbRW235.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-C8DDegxT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-CMmFxHh7.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-Dp-VUwax.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-Bv9MRMFe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-CJBdK_v_.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-CRrVgpWZ.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DkdOoSHp.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-CLNkMXvt.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-DRk_Uldo.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DMUnjjcT.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-4xS9nSQN.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-AvgWK7pn.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-CSVDcI3W.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-DFGGgkNo.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-CTh4IsrB.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-Dgi1qAAg.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-lMLGP1wc.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-V1txeeOu.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-Bi5NNgyx.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-D7Y_EFQG.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-B9AtIVBH.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-BTnrLXkh.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-Bln1Phsj.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-CiauNbGU.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-BqJ29CNI.js +0 -1
- package/dist/assets/epic-DRq35BIa.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-DXX1rvvB.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-d7FgPe5u.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-ArPj_MwE.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-DvfSG3SI.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-4dn7cu8D.js +0 -1
package/dist/assets/{DownloadOverlay-DznbXeUZ-Cp9A0E8f.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,
|
|
1
|
+
import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F,c3 as dt,bM as Ue,d as B,b8 as qe,al as R,bP as ke,b as te,am as be,n as ae,e as We,bR as ct,c4 as xe,c5 as ge,A as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-l9FViNoO.js";import{a as h,S as $e}from"./sentry-DWELwT5u.js";import{n,k as Ke}from"./mui-cKt0zt2w.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-atBaoFS-.js";import{m as Dt}from"./analyticsHelper-BXN2EdPH-DXUFohOz.js";import{g as _t,x as kt}from"./ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js";import{t as Ct}from"./page-detail-CWX5S47F-hDrW8rOj.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./CollapsableReportTable-D1b80h2R-CMeyXG6i.js";import"./AccountRow-DlccmtgU-foUdbmvG.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]="bc7df714-6694-4799-8032-3129eb8ffe7e",e._sentryDebugIdIdentifier="sentry-dbid-bc7df714-6694-4799-8032-3129eb8ffe7e")}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=K(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};
|
|
@@ -17,7 +17,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
17
17
|
}
|
|
18
18
|
`,Pe=n.div`
|
|
19
19
|
display: flex;
|
|
20
|
-
`,Mt=n(
|
|
20
|
+
`,Mt=n(R)`
|
|
21
21
|
margin-left: ${s.sp3};
|
|
22
22
|
`,At=n(ut)`
|
|
23
23
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -30,11 +30,11 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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=We();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},
|
|
33
|
+
`,Tt=e=>{const{id:o,disabled:r=!1,checked:a=!1,label:i,showInfoIcon:l,tooltipText:p,style:m={},onClick:u}=e,c=We();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"],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"],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"],zt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe],Xe={month:Rt,quarter:Lt,year:zt},Ae=n.div`
|
|
34
34
|
padding-top: ${e=>e.space};
|
|
35
|
-
`,Nt=n(
|
|
35
|
+
`,Nt=n(R)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return K(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=Xe[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])},
|
|
37
|
+
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return K(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=Xe[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=X(K(l.endDate,g,1,"year"),O.MMMYYFormat,g);return r==="quarter"&&(x=`Q${X(K(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};
|
|
@@ -45,7 +45,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
45
45
|
position: relative;
|
|
46
46
|
`,Ht=n(be)`
|
|
47
47
|
color: ${e=>e.theme.colors.hero};
|
|
48
|
-
`,Ut=n(
|
|
48
|
+
`,Ut=n(R)`
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
margin-top: -2px;
|
|
51
51
|
`,qt=n($t)`
|
|
@@ -56,12 +56,12 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
56
56
|
:hover {
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
}
|
|
59
|
-
`,Wt=e=>{const{value:o,label:r,onClick:a}=e,i=We(),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(qt,{})]})},ve=$e.memo(Wt),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(
|
|
59
|
+
`,Wt=e=>{const{value:o,label:r,onClick:a}=e,i=We(),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(qt,{})]})},ve=$e.memo(Wt),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(Le,{children:l.starred}),t.jsxs(Re,{children:[t.jsx(ze,{children:l.bookCloseInfoStar}),a]})]}):null,r.length>0?t.jsxs(Ie,{children:[t.jsx(Le,{children:l.doubleStarred}),t.jsxs(Re,{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;
|
|
63
63
|
display: flex;
|
|
64
|
-
`,
|
|
64
|
+
`,Re=n.div``,Le=n(He)`
|
|
65
65
|
margin-right: 6px;
|
|
66
66
|
`,ze=n.span`
|
|
67
67
|
font-weight: ${yt.medium};
|
|
@@ -91,7 +91,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
91
91
|
`,Xt=n.div`
|
|
92
92
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
width: 100%;
|
|
94
|
-
`,Jt=(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}=Jt(e.firstMonthOfFY,e.dataAvailable,a,{startDate:P(c,M.YYYYformat),endDate:P(c,M.YYYYformat)}),
|
|
94
|
+
`,Jt=(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}=Jt(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:X(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(Kt,{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(Xt,{}),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,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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${X(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,7 +137,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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:X(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)`
|
|
@@ -156,11 +156,11 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
156
156
|
padding-top: ${e=>e.space};
|
|
157
157
|
`,Dr=n(qe)`
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
|
-
`,ce=n(
|
|
159
|
+
`,ce=n(R)`
|
|
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(K(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`
|
|
@@ -179,13 +179,13 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
179
179
|
padding: ${s.sp7} ${s.sp11};
|
|
180
180
|
`,Tr=n(xt)`
|
|
181
181
|
color: ${e=>e.theme.colors.primary};
|
|
182
|
-
`,Ir=n(
|
|
182
|
+
`,Ir=n(R)`
|
|
183
183
|
white-space: pre-line;
|
|
184
|
-
`,
|
|
184
|
+
`,Rr=n.div`
|
|
185
185
|
width: 1px;
|
|
186
186
|
height: ${s.sp7};
|
|
187
187
|
background: ${e=>e.theme.colors.grey2};
|
|
188
|
-
`,Ee=n.div``,
|
|
188
|
+
`,Ee=n.div``,Lr=e=>{const{onContinueWithPDFClick:o,onSwitchToExcelClick:r}=e,a=F.getLocalizedStrings().downloadReport.fileSwitchDialogue;return t.jsx(bt,{open:!0,children:t.jsxs(Ar,{children:[t.jsxs(Sr,{children:[t.jsx(xe,{width:s.sp10,height:s.sp10}),t.jsx(H,{left:s.sp6}),t.jsx(Rr,{}),t.jsx(H,{left:s.sp6}),t.jsx(ge,{width:s.sp10,height:s.sp10})]}),t.jsx(H,{top:s.sp6}),t.jsx(Tr,{children:a.pdfLimitation}),t.jsx(H,{top:s.sp3}),t.jsx(Ir,{children:a.excelNoLimitation}),t.jsx(H,{top:s.sp4}),t.jsxs(Mr,{children:[t.jsxs(Ee,{children:[t.jsx(ae,{label:a.switchToExcel,onClick:r,style:{width:"195px"}}),t.jsx(H,{top:s.sp1})]}),t.jsx(H,{left:s.sp4}),t.jsx(Ee,{children:t.jsx(ae,{variant:"primary",label:a.continueWithPDF,onClick:o,style:{width:"195px"}})})]})]})})},Je=h.memo(Lr),ne=F.getLocalizedStrings().downloadReport.footer,zr=n.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
justify-content: center;
|
|
191
191
|
background: ${e=>e.theme.colors.background};
|
|
@@ -225,9 +225,9 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
225
225
|
box-sizing: border-box;
|
|
226
226
|
align-items: center;
|
|
227
227
|
color: ${e=>e.isResetDisabled?e.theme.colors.primary:e.theme.colors.grey1};
|
|
228
|
-
`,Er=n(
|
|
228
|
+
`,Er=n(R)`
|
|
229
229
|
color: inherit;
|
|
230
|
-
`,Qr=n(
|
|
230
|
+
`,Qr=n(R)``,Hr=n.div`
|
|
231
231
|
display: flex;
|
|
232
232
|
flex: 1;
|
|
233
233
|
align-items: center;
|
|
@@ -247,7 +247,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
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:Wr}],Kr=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(qr,{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,{})]})})},Xr=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()},
|
|
250
|
+
`,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Kr=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(qr,{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,{})]})})},Xr=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(Kr,{...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(Je,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),u("pdf"),$()}}):""]})},Jr=h.memo(Xr),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};
|
|
@@ -276,7 +276,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
276
276
|
align-items: center;
|
|
277
277
|
position: relative;
|
|
278
278
|
width: 50%;
|
|
279
|
-
`,ss=n(
|
|
279
|
+
`,ss=n(R)``,os=n.div`
|
|
280
280
|
display: flex;
|
|
281
281
|
flex: 1;
|
|
282
282
|
align-items: center;
|
|
@@ -317,7 +317,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
317
317
|
color: inherit;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
`,bs=n(
|
|
320
|
+
`,bs=n(R)`
|
|
321
321
|
margin-left: ${s.sp3};
|
|
322
322
|
`,xs=n(be)`
|
|
323
323
|
margin-left: ${s.sp3};
|
|
@@ -328,7 +328,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
328
328
|
`,gs=n.div`
|
|
329
329
|
position: relative;
|
|
330
330
|
z-index: 2;
|
|
331
|
-
`,ys=n(
|
|
331
|
+
`,ys=n(R)`
|
|
332
332
|
color: ${e=>e.theme.colors.primary};
|
|
333
333
|
`,$s=n.div`
|
|
334
334
|
max-height: ${s.sp8};
|
|
@@ -344,13 +344,13 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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
|
-
`,vs=n(
|
|
347
|
+
`,vs=n(R)`
|
|
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:v,onNewViewSelection:w,onResetClick:f,isResetDisabled:
|
|
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 W(B[11],B[11],33),maxWidth:new W(550,550,425),containerPadding:new W(B[3],B[6]),rowItemPadding:new W(0,B[6]),footerHeight:new W(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,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F
|
|
|
363
363
|
border-color: ${e=>e.theme.colors.primary};
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`,
|
|
366
|
+
`,_s=Ke`
|
|
367
367
|
0% {
|
|
368
368
|
transform: translateY(100%)
|
|
369
369
|
}
|
|
370
370
|
100% {
|
|
371
371
|
transform: translateY(0)
|
|
372
372
|
}
|
|
373
|
-
`,
|
|
373
|
+
`,ks=Ke`
|
|
374
374
|
0% {
|
|
375
375
|
opacity: 0
|
|
376
376
|
}
|
|
@@ -402,7 +402,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L 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}),
|
|
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}),Rs=e=>{const o=Is(e);if(o!=null)return _t(e.statementEndPoint,e.authParams,o)},Ls=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),[J,et]=h.useState(e.defaultOptions.accountViewMode),[ee,tt]=h.useState(e.defaultOptions.classesToFilterOut),[q,Oe]=h.useState(e.defaultOptions.balancesFilter.orderBy),[Ye,De]=h.useState(!1),rt=()=>{const D=ie(r.firstMonthOfFY,O,Y),{startOfTimeframeFY:L,endOfTimeframeFY:S}=C(Y.endDate,r.firstMonthOfFY,O),z=P(new Date(S.year(),S.month(),S.date()).toISOString());p?.({endDate:z,startDate:L},D,!0)};h.useEffect(()=>{const D=async()=>{const L=f.endDate,{startOfTimeframeFY:S}=C(f.endDate,r.firstMonthOfFY,f.timeframe);await Rs({...e,statements:Pt.filter(z=>d.includes(z)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:f.timeframe,additionalBalances:Xe[f.timeframe].filter(z=>T.includes(z)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:J,classesToFilterOut:ee,balancesFilter:{thisPeriod:{startDate:S,endDate:L},orderBy:q,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,q,d,J,ee,r.firstMonthOfFY]),h.useEffect(()=>{v?y||$(D=>!D):w(D=>!D)},[T,q,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),L=oe(r.firstMonthOfFY,f.timeframe,f.endDate,D).dateRange;I(L),f.updatePeriod(L.startDate,L.endDate)},ot=D=>{D.stopPropagation(),o()},at=(D,L)=>{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"])),L!==void 0&&tt(L)},_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:J,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:q,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(q),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(J,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(Ls,{...e,onClose:()=>a(!1)}):null]})};export{to as DownloadOverlayButton,Ls as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,
|
|
1
|
+
import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d as t,aL as L,jW as k,jX as _,jY as D}from"./index-l9FViNoO.js";import{n as o}from"./mui-cKt0zt2w.js";import"./sentry-DWELwT5u.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./zeni-epic-state-atBaoFS-.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.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]="17119e67-67a6-4d5b-9c86-82df3ccd6d65",e._sentryDebugIdIdentifier="sentry-dbid-17119e67-67a6-4d5b-9c86-82df3ccd6d65")}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])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,C=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,f)=>i.jsxs(X,{children:[i.jsx(E,{children:v}),f<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{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=p.item2;return i.jsxs(x,{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=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(W,{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__",L("0,0",e.referrerAmount))})})]})},x=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{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
15
15
|
justify-content: flex-start;
|
|
16
16
|
`,$=o.div`
|
|
17
17
|
margin-left: ${e=>l.styledDivMarginLeft.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,B=o(k)`
|
|
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(_)`
|
|
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
|
+
`,W=o(D)`
|
|
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};
|
|
@@ -36,20 +36,20 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
margin-right: ${r.sp2};
|
|
39
|
-
`,
|
|
39
|
+
`,z=o(g)`
|
|
40
40
|
color: ${e=>e.theme.colors.primary};
|
|
41
41
|
${e=>`${j.title.style(e.windowSize)}`};
|
|
42
|
-
`,
|
|
42
|
+
`,S=o(g)`
|
|
43
43
|
color: ${e=>e.theme.colors.hero};
|
|
44
44
|
${e=>`${j.content.style(e.windowSize)}`};
|
|
45
|
-
`,
|
|
45
|
+
`,X=o.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: row;
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
|
-
`,
|
|
50
|
+
`,q=o.div`
|
|
51
51
|
margin-top: ${r.sp4};
|
|
52
|
-
`,
|
|
52
|
+
`,A=o.div`
|
|
53
53
|
top: ${r.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -58,9 +58,9 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
58
58
|
width: 2px;
|
|
59
59
|
background: ${e=>e.theme.colors.grey2};
|
|
60
60
|
z-index: -1;
|
|
61
|
-
`,
|
|
61
|
+
`,E=o.div`
|
|
62
62
|
padding-bottom: ${r.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:F}}}=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])},H={title:new c("standardRegular","largeRegular")},{referAndEarn:T}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(V,{windowSize:d,children:[i.jsx(O,{windowSize:d,children:i.jsxs(K,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(y,{enterDelay:600,title:F,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Y,{onClick:n})})}),i.jsx(G,{windowSize:d,children:T}),d!=="small"&&i.jsx(Q,{onClick:n})]})}),i.jsx(J,{windowSize:d,children:i.jsx(C,{rewardsPlan:e})})]})}const V=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -74,15 +74,15 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
74
74
|
justify-content: space-between;
|
|
75
75
|
height: 100%;
|
|
76
76
|
width: ${e=>e.windowSize==="small"?"100%":"76%"};
|
|
77
|
-
`,
|
|
77
|
+
`,G=o(g)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
|
-
${e=>`${
|
|
82
|
-
`,
|
|
81
|
+
${e=>`${H.title.style(e.windowSize)}`};
|
|
82
|
+
`,J=o.div`
|
|
83
83
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
84
84
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
85
|
-
`,
|
|
85
|
+
`,O=o.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: row;
|
|
88
88
|
justify-content: center;
|
|
@@ -92,7 +92,7 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
92
92
|
padding: ${e=>`${w.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
|
|
93
93
|
z-index: 2;
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,
|
|
95
|
+
`,Q=o(b)`
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
color: ${e=>e.theme.colors.hero};
|
|
98
98
|
width: ${r.sp4};
|
|
@@ -101,13 +101,13 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
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;
|
|
108
108
|
align-items: center;
|
|
109
109
|
margin-left: ${r.sp3};
|
|
110
|
-
`,
|
|
110
|
+
`,Y=o(P)`
|
|
111
111
|
height: ${r.sp4};
|
|
112
112
|
width: ${r.sp4};
|
|
113
113
|
cursor: pointer;
|
package/dist/assets/{EditPeoplePage-CTwY7ePr-BHVb3TK3.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ie,fP as ae,
|
|
1
|
+
import{q as ie,fP as ae,e as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as ge,cp as fe,gK as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as je,p as W,cW as Oe,d as u}from"./index-l9FViNoO.js";import{a as w}from"./sentry-DWELwT5u.js";import{n as l}from"./mui-cKt0zt2w.js";import{FB as Te,bg as _e}from"./zeni-epic-state-atBaoFS-.js";import{f as Pe}from"./AllUserItems-BmNtc-69-BsLa0Y8T.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js";import"./RoleWithToolTip-CSoHoT3u-vTwGI01K.js";import"./LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.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]="908c508a-98ed-4cc8-8aff-d68316dabda1",e._sentryDebugIdIdentifier="sentry-dbid-908c508a-98ed-4cc8-8aff-d68316dabda1")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Q="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:k,onCloseClick:O,onResetClick:T,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:X,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[Y,S]=w.useState(!1),[J,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:K(e.people,o,y,p,D,b,v),values:K(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{G()&&m()},()=>{G(),console.warn("Edit Profile form error")}),G=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>Te(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),X(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(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&&F==="removeUsers"&&(S(!1),T?.())},[_,F]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${Q}_form`,"data-testid":L("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}})]})},K=(e,o,y,j,p,k,O)=>{const T=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:T,selectedOption:T.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -15,7 +15,7 @@ import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
gap: 5px;
|
|
17
17
|
flex: 1;
|
|
18
|
-
`,De=l.div``,Be=l(
|
|
18
|
+
`,De=l.div``,Be=l(je)`
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
`,Ee=l.div`
|
|
21
21
|
display: flex;
|
|
@@ -39,7 +39,7 @@ import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as
|
|
|
39
39
|
width: ${n.sp9};
|
|
40
40
|
border-radius: 50% 50% 0 0;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey5};
|
|
42
|
-
`,Ne=l(
|
|
42
|
+
`,Ne=l(Oe)`
|
|
43
43
|
width: ${n.sp3};
|
|
44
44
|
height: ${n.sp3};
|
|
45
45
|
cursor: pointer;
|