@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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-D2Xav-UW-DmDhM3Ya.js +21 -0
- package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
- package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
- package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
- package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
- package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
- package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
- package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
- package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
- package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
- package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
- package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
- package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
- package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
- package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
- package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
- package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
- package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
- package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
- package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
- package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
- package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
- package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
- package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
- package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
- package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
- package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
- package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
- package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
- package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
- package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
- package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
- package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
- package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
- package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
- package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
- package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
- package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
- package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
- package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
- package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
- package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
- package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
- package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
- package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
- package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
- package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
- package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
- package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
- package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
- package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
- package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
- package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
- package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
- package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
- package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
- package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
- package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
- package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
- package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
- package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
- package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
- package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
- package/dist/assets/SignInScreen-efHROixG.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
- package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
- package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
- package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
- package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
- package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
- package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
- package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
- package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
- package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
- package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
- package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
- package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
- package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
- package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
- package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
- package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
- package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
- package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
- package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
- package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
- package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
- package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
- package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
- package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
- package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
- package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
- package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
- package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
- package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
- package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
- package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
- package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
- package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
- package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
- package/dist/assets/epic-DzSc1k1-.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
- package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
- package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
- package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
- package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
- package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
- package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
- package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
- package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
- package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
- package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
- package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
- package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
- package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
- package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
- package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
- package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
- package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
- package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
- package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
- package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
- package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
- package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
- package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
- package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
- package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
- package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
- package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
- package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
- package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
- package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
- package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
- package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
- package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
- package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
- package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
- package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
- package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
- package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
- package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
- package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
- package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
- package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
- package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
- package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
- package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
- package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
- package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
- package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
- package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
- package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
- package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
- package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
- package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
- package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
- package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
- package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
- package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
- package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
- package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
- package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
- package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
- package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
- package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
- package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
- package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
- package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
- package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
- package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
- package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
- package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
- package/dist/assets/epic-CJba3GMN.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
- package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
- package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,c5 as it,o as s,
|
|
1
|
+
import{V as t,c5 as it,o as s,J as he,c6 as nt,ao as He,p as ue,y as q,x as lt,F,c7 as dt,bQ as Ue,u as B,bb as We,am as R,bT as _e,b as te,an as be,i as ae,d as qe,bV as ct,c8 as xe,c9 as ge,T as Ge,ca as Ze,bO as pt,bc as mt,ap as ye,cb as Z,cc as ft,cd as ht,bM as ut,bU as bt,ar as xt,ce as gt,c1 as yt,au as $t}from"./index-ByXRm0Fj.js";import{a as h,P as $e}from"./sentry-BfjekFHA.js";import{n,k as Je}from"./mui-BtuxyOQU.js";import{F8 as me,F9 as C,Fa as J,bL as P,Fb as K,Fc as we,Fd as U,bh as wt,Fe as _,Ff as Ft,Fg as jt,Fh as vt,Fi as Ot,Fj as Yt}from"./zeni-epic-state-x1SruN8b.js";import{m as Dt}from"./analyticsHelper-CT5zOInj-BgC6kfqx.js";import{g as kt,x as _t}from"./ReportTableViewSelector-Y97ney3W-BsXF5NSn.js";import{t as Ct}from"./page-detail-CWX5S47F-B7ep9GDp.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js";import"./AccountRow-BiEYR4Y1-CmfzC2gE.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]="aa91c18b-981c-47e3-8035-bd27a537ade1",e._sentryDebugIdIdentifier="sentry-dbid-aa91c18b-981c-47e3-8035-bd27a537ade1")}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}=_(l,e);const{fyYear:u}=_(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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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=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
|
|
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 j=()=>{r||u(o,a)};let w={default:c.colors.background,hover:c.colors.background},f={default:c.colors.hero,hover:c.colors.primary},k={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},k={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},k={default:c.colors.grey3,hover:c.colors.grey3}),t.jsxs(St,{backgroundColor:w,textColor:f,borderColor:k,onClick:j,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],Ke={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
|
|
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],j=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])},k=(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)}`),j[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:k(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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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
|
`,Wt=n($t)`
|
|
@@ -56,12 +56,12 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
56
56
|
:hover {
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
}
|
|
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,{})]})},
|
|
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,{})]})},je=$e.memo(qt),ve=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};
|
|
@@ -78,7 +78,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
78
78
|
background: ${e=>e.theme.colors.grey5};
|
|
79
79
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
80
80
|
width: 100%;
|
|
81
|
-
`,
|
|
81
|
+
`,Jt=n.div`
|
|
82
82
|
padding: ${s.sp3};
|
|
83
83
|
border-top: none;
|
|
84
84
|
display: flex;
|
|
@@ -88,10 +88,10 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
88
88
|
`,Ne=n.div`
|
|
89
89
|
padding-top: ${e=>e.space};
|
|
90
90
|
width: 100%;
|
|
91
|
-
`,
|
|
91
|
+
`,Kt=n.div`
|
|
92
92
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
width: 100%;
|
|
94
|
-
`,
|
|
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)},j=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)}),k=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:()=>j(!1),children:t.jsxs(Gt,{children:[t.jsx(je,{value:K(o.startDate,M.MMMYYFormat,e.firstMonthOfFY),onClick:()=>j(!l),label:r,timeframeTickTag:O}),l?t.jsx(h.Fragment,{children:t.jsxs(Zt,{children:[t.jsxs(Jt,{children:[k.map(x=>t.jsx(Z,{id:x,text:x,disabled:f.includes(x),onClick:v=>{y(v),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:v=>$(v),checked:x===m,starred:d.includes(x)&&!w.includes(x),doubleStarred:g.includes(x)&&!w.includes(x)},x))]}),t.jsx(ve,{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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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}=_(r.startDate,e),{fyYear:m}=_(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=m)}});return{disabledQuarters:le.filter(l=>{const p=parseInt(l),m=_(r.startDate,e),u=_(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=_(i,o),m=_(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&&jt(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=_(i,e),m=_(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}=_(o.startDate,e.firstMonthOfFY),[m,u]=h.useState(!1),[c,y]=h.useState(`${l}`),[$,j]=h.useState(`${p}`),{reports:w,dateFormat:f}=F.getLocalizedStrings(),k=b=>{y(b),i("quarter",vt(e.firstMonthOfFY,Ot(parseInt(b)),parseInt($))),u(!1)},d=b=>{u(b);const{fyQuarter:Y,fyYear:I}=_(o.startDate,e.firstMonthOfFY);y(`${Y}`),j(`${I}`)},{disabledQuarters:g,disabledYears:O}=lr(e.firstMonthOfFY,e.dataAvailable,a,parseInt($)),x=E(e.firstMonthOfFY,"quarter",e.dataAvailable),v=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(je,{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=>{j(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=>k(Y),checked:b===c,starred:v.includes(b)&&!g.includes(b),doubleStarred:Q.includes(b)&&!g.includes(b)},b))]}),t.jsx(ve,{starredPeriod:v,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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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}=_(r.startDate,e),{fyYear:l}=_(r.endDate,e);return parseInt(a)<i||parseInt(a)>l}}),xr=(e,o,r,a)=>{const i=U(r);if(a!=null){const l=_(a,e),p=_(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=_(a,e),p=_(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),$=_(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,j=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,k=u.analytics.YYYYFormat;return t.jsx(ye,{onClickAway:()=>p(!1),children:t.jsxs(fr,{children:[t.jsx(je,{value:K(o.startDate,k,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:j.includes(d)&&!c.includes(d),doubleStarred:w.includes(d)&&!c.includes(d)},d))}),t.jsx(ve,{starredPeriod:j,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
|
+
`,jr=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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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
|
+
`,vr=n(pt)``,Or=e=>{const{numberOfPeriods:o,numberOfAdditionalColumns:r,selectedFileType:a}=e;return t.jsxs(wr,{children:[t.jsx(jr,{showSuccessBadge:A[a]===o+r,children:t.jsx(vr,{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
157
|
`,Dr=n(We)`
|
|
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
|
+
`,kr=n.div`
|
|
162
162
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
163
|
-
`,
|
|
163
|
+
`,_r=(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:j,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:f}=e,k=b=>F.getLocalizedStrings().timeframe[b],d=b=>F.getLocalizedStrings().downloadReport.orderBy[b],g=F.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:O,toDateRange:x}=_r(o,l,r),v=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),j(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(_e,{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(kr,{}),t.jsx(N,{space:s.sp4}),t.jsx(ce,{children:"Period"}),t.jsx(N,{space:s.sp2}),t.jsx(_e,{pickerValues:["month","quarter","year"],valueToLabel:k,selectedValue:r,onPickerSelectionChanged:b=>v(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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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"}})})]})]})})},Xe=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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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:qr}],
|
|
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,[j,w]=h.useState(!1),f=d=>{d.stopPropagation(),o()},k=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||k(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"}})]}),j?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};
|
|
@@ -276,7 +276,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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;
|
|
@@ -297,7 +297,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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),j=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:j,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};
|
|
@@ -317,7 +317,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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
|
+
`,js=n(R)`
|
|
348
348
|
color: inherit;
|
|
349
|
-
`,
|
|
349
|
+
`,vs=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:j,onNewViewSelection:w,onResetClick:f,isResetDisabled:k}=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(_t,{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(vs,{children:[t.jsx(Qe,{children:F.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(Fs,{isResetDisabled:k,onClick:f,children:[t.jsx(Ue,{width:s.sp4,height:s.sp4}),t.jsx(js,{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(v=>t.jsxs(h.Fragment,{children:[t.jsx(Os,{...v,onClick:()=>{i.includes(v.id)||j(v.id)},checked:a===v.id,disabled:i.includes(v.id)}),t.jsx(G,{space:s.sp4})]},v.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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
363
363
|
border-color: ${e=>e.theme.colors.primary};
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`,
|
|
366
|
+
`,ks=Je`
|
|
367
367
|
0% {
|
|
368
368
|
transform: translateY(100%)
|
|
369
369
|
}
|
|
370
370
|
100% {
|
|
371
371
|
transform: translateY(0)
|
|
372
372
|
}
|
|
373
|
-
`,
|
|
373
|
+
`,_s=Je`
|
|
374
374
|
0% {
|
|
375
375
|
opacity: 0
|
|
376
376
|
}
|
|
@@ -402,7 +402,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
402
402
|
&:hover {
|
|
403
403
|
color: ${ue.primaryDark};
|
|
404
404
|
}
|
|
405
|
-
animation: ${
|
|
405
|
+
animation: ${_s} 0.4s;
|
|
406
406
|
`,Ms=n.div`
|
|
407
407
|
display: flex;
|
|
408
408
|
flex-wrap: wrap;
|
|
@@ -414,7 +414,7 @@ import{V as t,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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: ${ks} 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,c5 as it,o as s,K as he,c6 as nt,ap as He,p as ue,x as q,d as lt,b
|
|
|
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 kt(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),[j,w]=h.useState(!1),[f,k]=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),[v,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: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:Ke[f.timeframe].filter(z=>T.includes(z)),format:e.reportFormatProps.selectedFormat,statementFileType:v,accountViewMode:X,classesToFilterOut:ee,balancesFilter:{thisPeriod:{startDate:S,endDate:L},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),v,!1))},[i,f.endDate,f.numberOfPeriods,f.timeframe,Ye,e,a,T,v,e.reportFormatProps.selectedFormat,W,d,X,ee,r.firstMonthOfFY]),h.useEffect(()=>{j?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),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)},ke=()=>{k(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:ke,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:v,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:v}),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:v,calendarPeriod:f,numberOfAdditionalColumns:T.length,onNewFileTypeSelection:D=>{Q(D),De(!0)},resetToDefaultOption:st},onResetClick:ke,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{
|
|
1
|
+
import{J as a,V as i,bV as j,o as r,y as s,F as h,c4 as P,H as c,a as g,x as b,u as t,aP as k,k4 as L,k5 as D,k6 as C}from"./index-ByXRm0Fj.js";import{n as o}from"./mui-BtuxyOQU.js";import"./sentry-BfjekFHA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="812c6b19-a1a2-48b9-9190-e6748123d1b8",e._sentryDebugIdIdentifier="sentry-dbid-812c6b19-a1a2-48b9-9190-e6748123d1b8")}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,I=({rewardsPlan:e})=>{const n=[_(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((y,f)=>i.jsxs(V,{children:[i.jsx(F,{children:y}),f<n.length-1?i.jsx(E,{windowSize:d}):null]},`step_${f}`))})},_=()=>{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(H,{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(M,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},B=({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(N,{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{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
15
15
|
justify-content: flex-start;
|
|
16
16
|
`,$=o.div`
|
|
17
17
|
margin-left: ${e=>l.styledDivMarginLeft.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,H=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
|
+
`,M=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
|
+
`,N=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};
|
|
@@ -42,14 +42,14 @@ import{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
42
42
|
`,S=o(g)`
|
|
43
43
|
color: ${e=>e.theme.colors.hero};
|
|
44
44
|
${e=>`${v.content.style(e.windowSize)}`};
|
|
45
|
-
`,
|
|
45
|
+
`,V=o.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: row;
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
|
-
`,
|
|
50
|
+
`,A=o.div`
|
|
51
51
|
margin-top: ${r.sp4};
|
|
52
|
-
`,
|
|
52
|
+
`,E=o.div`
|
|
53
53
|
top: ${r.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -58,9 +58,9 @@ import{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
58
58
|
width: 2px;
|
|
59
59
|
background: ${e=>e.theme.colors.grey2};
|
|
60
60
|
z-index: -1;
|
|
61
|
-
`,
|
|
61
|
+
`,F=o.div`
|
|
62
62
|
padding-bottom: ${r.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:J}}}=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(O,{windowSize:d,children:i.jsxs(q,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(j,{enterDelay:600,title:J,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Y,{onClick:n})})}),i.jsx(G,{windowSize:d,children:W}),d!=="small"&&i.jsx(Q,{onClick:n})]})}),i.jsx(K,{windowSize:d,children:i.jsx(I,{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,21 +68,21 @@ import{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
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
|
+
`,G=o(g)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
81
|
${e=>`${T.title.style(e.windowSize)}`};
|
|
82
|
-
`,
|
|
82
|
+
`,K=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{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
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};
|
|
@@ -107,7 +107,7 @@ import{K as a,V as i,bV as y,o as r,x as s,b as h,c4 as b,c,M as g,d as P,u as t
|
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
109
|
margin-left: ${r.sp3};
|
|
110
|
-
`,Y=o(
|
|
110
|
+
`,Y=o(P)`
|
|
111
111
|
height: ${r.sp4};
|
|
112
112
|
width: ${r.sp4};
|
|
113
113
|
cursor: pointer;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import{J as ie,fX as ae,d as de,aa as pe,aS as ce,V as t,cr as ue,aq as me,cs as ge,ct as fe,gT as he,cx as ye,o as n,bV as be,aR as U,ad as ve,aT as xe,y as T,F as $e,cD as we,f_ as Re,f$ as Ie,g0 as Ce,bb as _e,p as K,d0 as Oe,u}from"./index-ByXRm0Fj.js";import{a as w}from"./sentry-BfjekFHA.js";import{n as l}from"./mui-BtuxyOQU.js";import{FL as je,bg as ke}from"./zeni-epic-state-x1SruN8b.js";import{f as Te}from"./AllUserItems-qrYg6Gdx-BCdM6c47.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js";import"./RoleWithToolTip-DhBFvJea-vHmZXp6q.js";import"./LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.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]="cb086047-c30e-436b-b614-702978927dfa",e._sentryDebugIdIdentifier="sentry-dbid-cb086047-c30e-436b-b614-702978927dfa")}catch{}})();const C={containerPaddingTop:new T(u[3],u[3]),containerPaddingLeft:new T(u[3],u[6],u[6]),containerPaddingRight:new T(u[3],u[6],u[8]),buttonWidth:new T(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:r,classList:y,controllersList:_,mode:p,isZeniTenant:P,onCloseClick:O,onResetClick:j,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:Y,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const I=ie(),[G,S]=w.useState(!1),[Q,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,A,q),[B,N,Z,b,v,A,q]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,r,y,p,D,b,v),values:M(e.people,r,y,p,D,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let o=!0;return g.userItems.forEach((f,x)=>{const{role:L,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=L.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),o=!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"}),o=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),c?.selectedUser==null&&s!=="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(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=>je(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=ke(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Y(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),X?.(e.person)},onCancelClick:()=>{S(!1)}},J=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&J==="removeUsers"&&(S(!1),j?.())},[k,J]),t.jsxs(t.Fragment,{children:[G===!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:oe,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{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:I==="small"}),t.jsxs(Pe,{"data-testid":U("edit-people-page-container"),windowSize:I,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(Le,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:re,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:I})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${W}_form`,onSubmit:se,children:t.jsx(Te,{control:i.control,sectionId:R,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:r,controllersList:_,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(xe,{formId:`${W}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(I)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(I)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},M=(e,r,y,_,p,P,O)=>{const j=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:_==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:_!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:Ie(P,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:j,selectedOption:j.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,r)=>`${e}.${r}`,Pe=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
+
padding-left: ${e=>`${C.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
6
|
+
padding-right: ${e=>`${C.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
7
|
+
overflow-x: hidden;
|
|
8
|
+
height: 100%;
|
|
9
|
+
padding-top: ${e=>`${C.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(_e)`
|
|
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"?K.important:e.theme.colors.hero};
|
|
47
|
+
&:hover {
|
|
48
|
+
color: ${K.important};
|
|
49
|
+
}
|
|
50
|
+
`,Ze=l.div`
|
|
51
|
+
width: ${n.sp3};
|
|
52
|
+
height: ${n.sp3};
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
position: relative;
|
|
55
|
+
`;export{st as default,nt as uniqueName};
|