@zeniai/web-cockpit-ui 1.15.1-qa → 1.15.2-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-CUzXxtOD-r1F6uT6H.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js} +1 -1
- package/dist/assets/{AIPerformancePage-O2oT7VD7-s-n7blSK.js → AIPerformancePage-C-s0Z84w-BYGvT60Q.js} +1 -1
- package/dist/assets/AccountInfoPage-EW5OCEW3-GkK4AQqU.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dm4_RVtp-D_PqQYfw.js → AccountInfoPageContent-DRhE__FT-CsEJAa7X.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-4gi6evfx-Kj0mjdMx.js → AccountLockedInfoModal-Ck5k4sN0-Dn2ELr-O.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Cm4KEIyT-DCafziiz.js → AccountReconDetailsDrawerPage-CinniH8P-CbXjxNie.js} +1 -1
- package/dist/assets/{AccountRow-B16HgkVQ-kTc4ueO6.js → AccountRow-DqfBv7EN-CVLrdkv9.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D5OgsEYb-CgdFyEWb.js → AccountsPromoCardStack-ClhDPo8Z-BPar240b.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Cw6wTXEm-Bpg-BiUZ.js → AddAddressForCardDrawer-Bp7X9u3M-D2uHyvbm.js} +1 -1
- package/dist/assets/{AddToWalletPage-vXWBje7k-M_ReFWuK.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js} +1 -1
- package/dist/assets/{AgingReportsPage-CmzapJ6B-eAYpQVGs.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js} +3 -3
- package/dist/assets/{AllUserItems-CW-BAUK2-BBXUcIHM.js → AllUserItems-CpiUni9v-Boqk4BWu.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DBCM7hZZ-BB02lYOD.js → ApAgingDetailPage-ByNn2ALz-D3dR7MXD.js} +4 -4
- package/dist/assets/{AppBasePage-B3uZsUDM-C0VSuUEf.js → AppBasePage-DmW3KQcg-Bl07bdsR.js} +1 -1
- package/dist/assets/{AppDrawerContent-D4EVpqHP-D68-MKyW.js → AppDrawerContent-B1y_D31O-P0fNyfka.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DTLJUdYp-D-7Um9wK.js → ApprovalRulesSettingsPage-GxAZWP7M-BP_FJfEx.js} +1 -1
- package/dist/assets/{ArAgingChart-BJ8nRdT6-C3zgks-l.js → ArAgingChart-BNoQoaPh-DNxFLSB2.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-hd2ALORD-BBDp0PA9.js → ArAgingDetailPage-CMcAarbW-BT--B2mj.js} +1 -1
- package/dist/assets/{AttachmentView-2FZ6X1gL-BtEKVjLK.js → AttachmentView-BixDE2EA-J3_uk8mF.js} +1 -1
- package/dist/assets/{BankAccountSection-BbX4r1dP-CpoasKYr.js → BankAccountSection-D85EMzvD-DIqhMGkU.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CqlrCLSb-CeuF0biB.js → BankAccountWarningSection--CI3tctJ-C44mqvnE.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DLeiSryp-O6aF6sGb.js → BankConnectionsSettingsPage-BAPo9xu--DD1SOuD8.js} +1 -1
- package/dist/assets/{BillDetailPage-l0WIOXCJ-D0UXVLtG.js → BillDetailPage-DdJoziKf-DOO0wKpM.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BOMCy57E-B7LeaWUC.js → BillPayApprovalRuleDetailPage-CdoDPSYo-DEqRvex-.js} +3 -3
- package/dist/assets/{BillPayApprovalRulesPage-D_iQkfQr-BP93cWdX.js → BillPayApprovalRulesPage-Cfo4L2hk-TOZxMiU9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dsl0YvUE-ddOIH1is.js → BillPayPromoPage-cK5O7lqH-B_je_xFj.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-MLf77bPI-CsT5c2fa.js → BillPaySetUpPage-BuF8vy9q-CJSI2jfR.js} +1 -1
- package/dist/assets/{BillingSettingsPage-n1PkJEDe-Dx6CVi3q.js → BillingSettingsPage-B_l_z9VO-Br55h4q7.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-C_4lLm2g-DIPYE387.js → BillsBulkReviewDrawerPage-CoKwrfed-giDGO955.js} +1 -1
- package/dist/assets/{BoxItem-CZdVWyVJ-mEOt1fek.js → BoxItem-CWj-NRo_-qWLA6cc4.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-DKTSnhnQ-DYvN-c4w.js → BusinessVerificationPage-Jl0yhiLd-BRJluTOf.js} +1 -1
- package/dist/assets/{CardNumberSubText-BhtdU0IQ-8duVM3Fx.js → CardNumberSubText-CYyCmwah-DIXC0dk2.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BL-JN6N2-Do_Xoxat.js → CashbackDetailPage-VVXYftFo-CP-xT4sk.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-DeUmuiMY-WNgidd0R.js → ChargeCardDetailPage-C-KKQCQP-CDsGHd2y.js} +1 -1
- package/dist/assets/ChargeCardListPage--SIQ7a3u-BopXL17p.js +412 -0
- package/dist/assets/{ChargeCardListTable-BwYAxG4d-DX6YQOO-.js → ChargeCardListTable-ddk5IppO-B_rZZ45Z.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-mA_IVVFy-De_KyAuK.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-TkHihj_n-CaHt3K5m.js → ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CkonrAnT-D6jRSePD.js → ChargeCardSetupPage-DAVM2czH-Pi7tegHv.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DVgAcNNC-DCz_p1Fg.js → ChargeCardStatementsPage-Cgl7DfV2-Cqo1fBhQ.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DV7strdp-BUlK0Jm_.js → CheckDepositDrawerPage-DIDXNWS--Cnev0zYl.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js → CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BotE5oj4-CeLb2lq5.js → CompanyOfficerDetailsSection-CtFvma7e-DKMEm1xs.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bx4KhQfs-BZjrN6gQ.js → CompanyPassportCard-If9-KFRF-DWX3A4lo.js} +3 -3
- package/dist/assets/{CompanyPassportPage-i1SEs7VJ-DfwCSdxy.js → CompanyPassportPage-ByLL4IdN-BVFVShE9.js} +1 -1
- package/dist/assets/{CompleteProfile-DWOv7odD-BKSVE70k.js → CompleteProfile-D39MG_aE-C5u-dTqB.js} +1 -1
- package/dist/assets/{ConfettiBurst-D52CuNQL-CwLA6tkK.js → ConfettiBurst-CqS9iRS--Clgy60xQ.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-9LgI-Wd0-B6-_1Ezb.js → CreateOrEditVendorPage-C0lTJ9RB-Cwb-zv64.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-wHK6Ds5I-CNWVB31I.js → CreditCardPaymentDrawerPage-BMlE0JgE-DeTZZwZo.js} +8 -8
- package/dist/assets/{CurrencySelectField-CbGyQ8Yq-COlp3u2Y.js → CurrencySelectField-Cqh1PAAW-DaE_m5-s.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-LNgj0BYj-Nlvfx8M9.js → CustomerOnboardingActivationPage-CExJcqXe-BlQ8Hnnh.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-B1DciOQG.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BF484X8E-CaAZph1n.js → CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BZlMZUQL.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dri4v3Rf-BJzE5s0-.js → CustomerOnboardingNoStepsPage-CgblGoOL-2kYU64HC.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BkdhcwN8-DmE6GIUm.js → CustomerOnboardingPage-DSGfwtw5-CUzPpcHS.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C2YlsXt9-CBk-1EVP.js +202 -0
- package/dist/assets/{Dashboard-w2AGQi2P-DiVyNKKk.js → Dashboard-C52yIGy8-D_GGvRLH.js} +55 -55
- package/dist/assets/{DashboardReportPage-NzF6nutN-DMhUQnZM.js → DashboardReportPage-iZVhpQQc-DByWtkdh.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-vcuSFRHQ-yYxeoz6l.js → DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-SRWW7dWo-CkQ9z0AM.js → DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BSq-FxKT-CgJ_q5WK.js → DepositAccTransactionListPage-Q-rYYEAZ-C6qRSxdm.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Daor0MDI-F_wC7WiZ.js → DomesticWireDetailsPage-D8MlbitH-BEovw2fI.js} +1 -1
- package/dist/assets/{DownloadOverlay-DkSROLX2-DcXAjYGV.js → DownloadOverlay-DooSRB2s-DAeh2FOz.js} +1 -1
- package/dist/assets/{DrawerPage-BnMCcEWw-CMzZJi1c.js → DrawerPage-COB3hDS_-DpI_yrey.js} +1 -1
- package/dist/assets/{EditPeoplePage-Ld339aav-Dq02Bmc5.js → EditPeoplePage-BLRAgjPa-CqDqNG8l.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BaMG1YJG-CJGMJtlg.js → EditReimbursementDetailPage-D1d8qzXB-Cwm7cODK.js} +1 -1
- package/dist/assets/EntityDetailPage-BDqbedFw-BHuM8vRM.js +18 -0
- package/dist/assets/{EntitySummarySection-Bs0NywbK-BM-UHzYZ.js → EntitySummarySection-DOkXIw-J-Dyl-9BSn.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B_-wUXCx-C4ezTJwY.js → ExpenseAutomationOverviewPage-BSXCkfKT-Y-OTywuE.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CG1Hpwz8-Hmmjx2JY.js → ExpenseAutomationPage-Di3n8DMk-z_MvYY9W.js} +1 -1
- package/dist/assets/{ExpressPayPage-CEf0O3S_-CFo_3C3j.js → ExpressPayPage-B-SwvM4I-BKQhbtfT.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-7G9DSgAA-Bf3Zg9FN.js → FeaturePreviewPage-Dz42ojYl-B74tPXRR.js} +1 -1
- package/dist/assets/{FollowStepsSection-CoXcJ6WL-CKIS-qdy.js → FollowStepsSection-BS4M36H4-ByiTPZLh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BSfJybtY-Gq_efLf2.js → GlobalReviewListPage-C1Tn5Cwx-AFNHh-gi.js} +1 -1
- package/dist/assets/{InformationCardStack-DnoAMdjH-DM3r0VKp.js → InformationCardStack-DTWUPxhs-BcQ7Bq1r.js} +1 -1
- package/dist/assets/{InsightsCardStack-BLtip0dt-B7AuDwsy.js → InsightsCardStack-CklTB6N7-CcVpI_GM.js} +2 -2
- package/dist/assets/{InsightsSection-26UEfz7s-DPspt8lR.js → InsightsSection-g58q0fm4--nDzSJ-I.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-QVOqOc9I-BUFvkl9B.js → IntegrationsSettingsPage-Bs3ZvOVJ-BNGlPV_t.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-B7UVdQjs-CLkCkXIU.js → InternationalWireSwiftDetailsPage-CC0aZ_Ht-BCE7V6Sm.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cvita0lc-Btapjd36.js → InternationalWireVerificationPage-Bb8q9_XZ-3msXPnre.js} +3 -3
- package/dist/assets/{InviteFormPage-ptg2-Do2-pRO1OeLR.js → InviteFormPage-Bh9zpIMu-DyQ9-xdH.js} +1 -1
- package/dist/assets/{InvitePageListView-CoCiU_RJ-Dix60Mep.js → InvitePageListView-Da5n8FWG-CwUGql0T.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CIiwEl_L-O1DiEIRO.js → InvitePeoplePage-B1jmVXj9-BNsmdXfz.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-by1gHnS2-JOnnnASi.js → InvoiceUploadSection-DN31nPpE-DlCczyMy.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CawHdTL3-CJXHcRtV.js → IssueChargeCardPage-Ev17uGYx-DiPbJxFe.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BVpOlAt0-Civi3QhT.js → LabeledAddressValue-CZvcCn7x-BDO7MreD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BW6ytr8f-3MnpjjEc.js → LabeledAddressValueField-CJel6ymq-BCZyMLaS.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DEaBzW9R-CnHMzzmb.js → LabeledControlledCheckBoxField-COHS18nA-B17n3DFO.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DOEcKGdZ-C0Jyvygp.js → LabeledCountryMultiSelectField-CcJheGwX-DdkXDdlC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bsowq6Ia-WVOdOf4y.js → LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DHqxzbx7-BskAR3wZ.js → LabeledDocumentField-DC4TbHE8-CfiBP2-V.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C_2HymZs-aRPxhQJ5.js → LabeledDropDownFormattedTextField-BcSAJy2I-BDmvlnnz.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-wuzYNgjQ-Df-SCo5M.js → LabeledMultiSelectField-D-N343dq-BqmmKTLd.js} +1 -1
- package/dist/assets/{LabeledText-DMjMKupg-Bncb0Hwv.js → LabeledText-DHLOUxK_-DcVlPblA.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CbP3DJ-D.js → LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C2WL6H1u-DPKcMxQz.js → LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-6wvu7KQx-QXbId-Ae.js → LinkJETransactionPage-BLleyJg_-DH6AUk6S.js} +2 -2
- package/dist/assets/{LockCardPage-DHjkslVx-1L0-wByE.js → LockCardPage-dHmjahEB-CtYWv6rs.js} +1 -1
- package/dist/assets/{LowBalancePopup-IPPewOnk-D-QIgMXO.js → LowBalancePopup-D5xx56fY-j_He7evO.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-VUPeO4aq.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-EnblGBI9.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-BxJEZ2nx.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-0Pn_6wi4-B9aAAzsS.js → MagicLinkSuccessPage-De4m7E-W-Cb7S-D6O.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-zMEqv8xp-Btbmxe6d.js → MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js} +1 -1
- package/dist/assets/MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js +21 -0
- package/dist/assets/{Menu-CjpiRi32-tr4BRbII.js → Menu-CCfXjS2S-nrC4lt1z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DsuI81Dg-Du8nlr4t.js → MyBankConnectionsSettingsPage-NwFd4S7O-ChK_C8XR.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BP2ZNfJQ-DsSQkHgQ.js → MyPendingActivationChargeCardListPage-B2fGNuM2-BRHDDyzi.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bx776Bw1-DEOcuo_N.js → MyProfileSettingsPage-C2xgzfZf-CuouNDkd.js} +1 -1
- package/dist/assets/{NavBarWithPicker-B7KOipTP-CtJwHthx.js → NavBarWithPicker-DUqVkR_y-DhJfapY3.js} +1 -1
- package/dist/assets/{NavigationArrow-qaYGOFR3-vQsfUvU5.js → NavigationArrow-Ctt_H8KP-DqY5GQ1R.js} +1 -1
- package/dist/assets/{NavigationDots-U7wL0ya4-C_19mcKN.js → NavigationDots-Dgudddqx-DYDn4vyu.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BMLg6RYp-BSMvn-CX.js → NewGlobalMerchantPage-D1hNFzTS-B4VJuy44.js} +1 -1
- package/dist/assets/{NoDataChart-DoN6Mneo-CkdRINHb.js → NoDataChart-DbLSGWgH-L8CdjQWY.js} +1 -1
- package/dist/assets/{NoDataTable-BMDDs83M-D6M-OqQy.js → NoDataTable-BYLV7sLq-CgYIQzXe.js} +1 -1
- package/dist/assets/{NotFoundPage-ys6HcZUO-eldIZL16.js → NotFoundPage-CIeF09o9-DYOgpAOm.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-Cfrj3b7B-CDHJR0OC.js → NotificationSettingsPage-CEhFnaxj-C4_q1SXp.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Cqcn0C6L-rvX6AwRN.js → NotificationsListConfig-PHESCv2f-CLKpPqmc.js} +1 -1
- package/dist/assets/{NotificationsPage-Bri7Dj80-CgLhSnnX.js → NotificationsPage-hIohQ7En-7Dgvp7dJ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dwk6JAu7-DAnImhg9.js → OpExByVendorPage-C1RcJ4Q3-C3y6eP0g.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-cnPZ4Aks.js → OverlayContainerPage-Daz3A7cI-mfnyLiK_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D9muoIzS-CgHzWdHu.js → PandLWithForecastPage-B-uQyVwQ-CyyR5yDE.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BcQ07YZL-BZGt-jPq.js → PaymentAccountSetupBillingAddressSection-CGqYs83b-CQ_yC_Le.js} +7 -7
- package/dist/assets/{PeoplePage-BZwxMiLM-DUeynP_D.js → PeoplePage-Db0MhBko-D-veqVIm.js} +13 -13
- package/dist/assets/{Preview-mA1nVDX3.js → Preview-B3zOr0wW.js} +1 -1
- package/dist/assets/{ProductsCarousel-HFHMMFnQ-rtf5qLBW.js → ProductsCarousel-CYwIm8nQ-b46m0x6d.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bwm7huaB-VYQuh73T.js → PromoBaseCards-B2ZC8OUT-CxdovvbY.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B5v60lo1-Ch9POgNM.js → QBOConnectionDialog-B0E1xE9I-DveLpxdR.js} +1 -1
- package/dist/assets/{QBOSetupSection-BFxjIzV1-CYBW1H_4.js → QBOSetupSection-IGV1sm9x-BtXGszuP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7eJT6hf-mvqMR7d6.js → ReimbursementApprovalRuleDetailPage-CwJkaZqa-ChyiXIbJ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B6WJ19jK-ou5ALJi6.js → ReimbursementApprovalRulesPage-C0D2DYVf-DCOAjf0C.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CEyFEPK5-3R4JZLiA.js → ReimbursementDetailPage-DV7eDd9t-CQE66iWh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BjhlxlPR-ClcaCdwb.js → ReimbursementPromoPage-DNM2mNbV-CB0rp3Ja.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-pC4KuigM-Bb3osCLQ.js → ReimbursementSetUpPage-CVuQyfku-BMnB6xP4.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CucXnBt6-BAmNNK69.js → ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CIggTaDg.js} +1 -1
- package/dist/assets/{ReloadCard-DhRbLcVA-eL-hPi30.js → ReloadCard-BsOjPgsc-ChC0ZJ85.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-ByxUIrcT-Dmvup9O6.js → ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js} +1 -1
- package/dist/assets/{ReportsPage-e1xmk9Ua-BbNPYno0.js → ReportsPage-GYEaSw4z-DkoN-mIu.js} +1 -1
- package/dist/assets/{RevenueChart-C7uaOhqz-Dp5ovdkS.js → RevenueChart-DXgZ34NU-BGzMBftU.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-Dk0Rw7L_-C1OYslaf.js → ReviewDetailsPage-VBCKACNQ-Cb05fh3o.js} +2 -2
- package/dist/assets/{ReviewOverlay-Bthl69qw-DDQJoZqM.js → ReviewOverlay-D1dHNrqu-DQYoi9Nj.js} +1 -1
- package/dist/assets/{RoleWithToolTip-New3P2vC-B2lOe8Ik.js → RoleWithToolTip-BE5aZQ2g-BCdI84kh.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiwkB2J--BDMQXWdu.js → ScheduleDetailsFixedAssetsPage-p2jwjhfb-DeEP6omI.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BLc828ST-Be4PkyQY.js → ScheduleDetailsPage-CuGgAAlk-Cs8MEF7D.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-CEQZEbUs-lcmXDxJe.js → ScheduleSequenceTable-DS5xyWPM-B_plNnTN.js} +1 -1
- package/dist/assets/{ScreenRoutes-CTorVc0t.js → ScreenRoutes-DVayPi2e.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CywFKgZo-p_1OWNEx.js → SetUpAccountSection-CgV-DpbH-B1jw26aR.js} +1 -1
- package/dist/assets/{SignIn-D7PmDE-R-7UE7laxr.js → SignIn-BVICuIxS-BWE0bgE_.js} +15 -15
- package/dist/assets/{SignInScreen-KOouXGFV.js → SignInScreen-D4KOTIiJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJgNAGhp-CZvaBELF.js → SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-B_muN4XH-0JQmGizd.js → SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js} +1 -1
- package/dist/assets/{SpendManagementSection-BO--0F_T-C9bXKSSM.js → SpendManagementSection-4bPNXnAu-PYCo478F.js} +14 -14
- package/dist/assets/StatementItem-D7MXVGEy-BTw31R7j.js +31 -0
- package/dist/assets/{StatementsPage-DkcgOLaa-63pexawV.js → StatementsPage-mK9b-oez-_P1PJ0CX.js} +1 -1
- package/dist/assets/{StatusSwitcher-Bcqhq2ht-DClBNvwT.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BNSMaUoP-liKRWZ1f.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js} +1 -1
- package/dist/assets/SummaryCard-Bn8n64F6-PcN8QoKZ.js +1 -0
- package/dist/assets/{TaskManagementPage-K2ahivqx-DUq35oob.js → TaskManagementPage-Cmx-Dg-h-CaRQcF5s.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-CaV1qK_v-BaYpw2uo.js → TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-COkEJy3J-TJrxL5fq.js → TimeframeSwitcher-DKqN8iPa-CLaVUI42.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPP1tWQ_-Dm5Fg-cB.js → TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js} +1 -1
- package/dist/assets/{TopExCard-CLkfO6zN-BjmbgAGY.js → TopExCard-Bng5AuNw-CVHFew8E.js} +1 -1
- package/dist/assets/{TopExDetailPage-CUoODDhA-DV5Rdw-F.js → TopExDetailPage-C1UAPRay-senkgbNQ.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BTonMpH2-BDz8tZaI.js → TransactionDetailPage-Ds7V1qr_-DHvaJdEC.js} +1 -1
- package/dist/assets/{TransactionList-B8eL6jhA-BMj7OjO2.js → TransactionList-Dq2orY9N-CmcTb8lX.js} +1 -1
- package/dist/assets/{TransactionListBig-BI0Egbwq-of5jrmqO.js → TransactionListBig-BrDxcbHJ-BucaK7i8.js} +1 -1
- package/dist/assets/{TransactionListPage-DxGLszcx-Ct1ar9FW.js → TransactionListPage-D5v8TxYx-tIrIfplb.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-BnqP7rIa-BKaLQRzz.js → TransactionVendorDetailPage-DnZGwCbw-NMe_2e92.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BvKebmux-eudPvpoa.js → TransferDrawerPage-DUdjOy9R-BaGIl48y.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DqlUffnH-D9Cdq3E_.js → TreasuryOverviewPage-XYkCDBio-XL-wzdVP.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DqZE9SWj-BFJ0Glq8.js → TreasuryPromoPage-CWtp3S9L-DlbXSnI-.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-C1-iJ5X--BgqOr69t.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-04gxKt0a-C2JmE24D.js → TreasuryTaxLetterPage-CNogHL4A-CZDa9UtZ.js} +2 -2
- package/dist/assets/{TrendChart-Cb8wnBqS-DWWEVDYI.js → TrendChart-DBRT1lZ3-CNfFrF4a.js} +1 -1
- package/dist/assets/{TrendWithTransactions-_49jEzFf-D3xEAO2B.js → TrendWithTransactions-CcjPNeY8-DUWt7VQm.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-WTwSitI6-Cs3K4av4.js → UncategorizedAccountsMappingPage-BuMm5-pm-OPk3mnZu.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-C3HFSJ9I-DlmvVqU8.js → UnitIntegrationPage-Dxb00NtN-CEWpQ1pK.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-UdsrwN9K-CCKWgMfW.js → UploadAdditionalDocumentOverlay-H6nIiMo6-BSgcEloP.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BS-3oZPR-Db4i1lCF.js → Vendor2FAPopup-Opk2NgSs-DTP-O6GX.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C-uyGtu7-F2Is6FR_.js +1 -0
- package/dist/assets/{VendorDetailPage-CJQeB1km-VFqk6gSC.js → VendorDetailPage-YUk-g7t--BJ496rNY.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-BL4DigeA.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C2zwrfg_-Ee6uqkI0.js → VendorFiling1099EditablePage-Ctx-C6OL-spQqzVO6.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BeDtBSt0-CS3zFSM6.js → VendorFirstReviewPage-Biy4xcIs-DznCGOBz.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BVI-FIhY-37PxWla3.js → VendorInternationalWireDetailsPage-B-ZKvwGN-x0rWEvGE.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-HzLEH2H6.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DlO_YtSs-tzIE0qWL.js → VendorsAccountsSection-DztKh7dz-CgEUNYEY.js} +1 -1
- package/dist/assets/{VerifyDevice-CVr0FwHa-C52uURdL.js → VerifyDevice-fvWfQQnC-CtXqEXi_.js} +7 -7
- package/dist/assets/{VideoPlayer-HL-oU9Ri-CqH2CkYo.js → VideoPlayer-CfLdj-r8-B2GUFqTA.js} +2 -2
- package/dist/assets/{VideoPopup-Dw57i43Q-BaqfFxws.js → VideoPopup-B-N0Wv9f-Cdmc-mEU.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DOFirhc3-CJCj8NGX.js → WarningsDrawerPage-UpSDjRDQ-BBae8KFO.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-ByCgz534-D8zIoBhu.js → ZeniAccountDetailPage-Bd_RNPxh-BoHoadUu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-yATacDeU-Ccz2pyBA.js → ZeniAccountListViewPage-CE5BfFah-CIAB5QF6.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Yb3HCUq4-CvtBwWwh.js → ZeniAccountNavBarPieces-C0ydgImW-D-MiE5qM.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-4iBPGLEt-DVsBH3Z4.js → ZeniAccountPromoPage-EX9sTaQM-DXBYg3Pe.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-bdXuLfgB-CZsy3jga.js → ZeniAccountSetupPage-DX2DvcQa-Dwku7Zxp.js} +1 -1
- package/dist/assets/{ZeniCopyright-C_Hgn3Qx-B7KeNETr.js → ZeniCopyright-8vmkzP8u-BneayNNI.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DBhodWDh-Bg-8UcT6.js → ZeniTransferAmountSlider-BgIOeOee-5PnJNSH6.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B2xhCimT.js → add-to-wallet-DgdBD8_G-6h2ZeMP0.js} +1 -1
- package/dist/assets/{analytics-CO_4s2X8.js → analytics-C6_KHLMr.js} +1 -1
- package/dist/assets/{analyticsHelper-Dz-se9aX.js → analyticsHelper-BI1ThZe4.js} +1 -1
- package/dist/assets/{analyticsHelper-DTl4FgRU-C9JMzvwk.js → analyticsHelper-DePSHzJ2-Bn27sSmX.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BLOUsrLT.js → arrow-south-east-round-PEovUgvH-Drco-tba.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DXWlGTms.js → auto-transfer-rule-mbafm5D3-B2LSu6td.js} +1 -1
- package/dist/assets/{chartTypes-wLUiIPlP-DnDJ1qrz.js → chartTypes-9YOqgm9X-C6LFFFRd.js} +1 -1
- package/dist/assets/{commonDimensions-DGz_YafU-DG5YK88U.js → commonDimensions-DMXq3s0u-DuXCMMKd.js} +1 -1
- package/dist/assets/{commonTypes-Gv0Fff59-C0n9xJpy.js → commonTypes-BquPusaw-T-jihHvn.js} +1 -1
- package/dist/assets/{constants-B80Lbuf7.js → constants-PJh0ps8k.js} +1 -1
- package/dist/assets/{core-D7_k1EhP.js → core-B60xt_9S.js} +1 -1
- package/dist/assets/{dash.all.min-D84aFlTu.js → dash.all.min-vXDE_DvB.js} +1 -1
- package/dist/assets/{detailCommon-C-kv1ST5-ovcoMnW1.js → detailCommon-OHV8uIJY-cVGKnZAs.js} +2 -2
- package/dist/assets/{downloadPdf-a0dx3Bka-DnK4zSuJ.js → downloadPdf-AQqdv24M-DFBrg3E0.js} +1 -1
- package/dist/assets/{empty-BK-FM9Fc.js → empty-BILjNJ1H.js} +1 -1
- package/dist/assets/{empty-D7ZL3ibO.js → empty-Crd5cSnS.js} +1 -1
- package/dist/assets/{epic-BKSpf58y.js → epic-DI4CcWQL.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BvDbzpBs.js → gift-box-Cmt9OgIZ-Zdxcxrhq.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DnBDJsPD.js → graphic-no-data-l-DU4J8fDt-DgTcVZZu.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js → graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B-s0K2Gk.js → handshake-BPg58FML-B-VJNfaH.js} +1 -1
- package/dist/assets/{index-AC1SIzUs.js → index-BGWJb262.js} +1 -1
- package/dist/assets/{index-CocAByQY.js → index-BN0EotSL.js} +1 -1
- package/dist/assets/{index-CN_MjJna.js → index-BdKLbOle.js} +1 -1
- package/dist/assets/{index-yGtk6ceJ.js → index-BvTN3lDL.js} +1 -1
- package/dist/assets/{index-BCqMlt2D.js → index-CdECp0kd.js} +1 -1
- package/dist/assets/{index-CIdXBggf.js → index-CsC704zJ.js} +1 -1
- package/dist/assets/{index-CD9C31qH.js → index-DaYznKbB.js} +1139 -1139
- package/dist/assets/{lexical-CGMN4tXG.js → lexical-ljPdYVBl.js} +1 -1
- package/dist/assets/{liveblocks-BmXYR5uO.js → liveblocks-DBwZPvBF.js} +1 -1
- package/dist/assets/{lottie--pGIoexZ.js → lottie-C5JCvMhe.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXbOFz3E-B2Ak7MSh.js → mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D7hBnjRr-CKIvoT82.js → mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CQWxQdJu-DVoGqOiZ.js → mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-Cp7U4V8E.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js} +1 -1
- package/dist/assets/{mui-Fyk6sRCR.js → mui-Bw2IfcWM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CTsT95lG.js → page-detail-CWX5S47F-DCgjQUKs.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DyFeMuig.js → radio-default-CiSgisfh-CMhPvQFy.js} +1 -1
- package/dist/assets/{react-E7ETqwTX.js → react-BTUZdigh.js} +1 -1
- package/dist/assets/{react-8lAMKDVs.js → react-Bq5t9UIP.js} +1 -1
- package/dist/assets/{react-DywPl4iN.js → react-CuTu_wtR.js} +1 -1
- package/dist/assets/{react-OOqLEgIT.js → react-DI23iCmK.js} +2 -2
- package/dist/assets/{react-CZ_9akaZ.js → react-DfTnNNyV.js} +1 -1
- package/dist/assets/{react-89jLopxj.js → react-DhEFsene.js} +1 -1
- package/dist/assets/{react-CazNrypD.js → react-DjhBEada.js} +1 -1
- package/dist/assets/{react-Cw0TtY4U.js → react-VPdYhL5m.js} +1 -1
- package/dist/assets/{recharts-j_eh1fXg.js → recharts-DIy4CLtr.js} +1 -1
- package/dist/assets/{sentry-D4D7HRQR.js → sentry-Bp9GtzEp.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D9ihfdgR.js → shield-DOlUxcFf-ro31tcAp.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DcgESHck-B_zdOyxB.js +1 -0
- package/dist/assets/{toChartData-BlyUYoV7-C9pHYlA8.js → toChartData-BtwV0Kpo-LMyxiFZ7.js} +1 -1
- package/dist/assets/{uploadAttachment-BkEbu6k9-bZeXuHsS.js → uploadAttachment-C69IP2HG-CJ_0eQlo.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-CJawRdW-.js → uploadReceipts-CPw64UYa-udD8sJEF.js} +1 -1
- package/dist/assets/{url-DStI5MA9.js → url-4mfhlhYZ.js} +1 -1
- package/dist/assets/{url-BwHZRaSJ.js → url-FTiOcUfY.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BS3t10_q.js → useLongPress-GCK2COYQ-CjlFZNWU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DELeCmm4.js → usp-line-BBd1wKwW-Do2umI9p.js} +1 -1
- package/dist/assets/{utils-BTQ24URD.js → utils-CUkgdryf.js} +1 -1
- package/dist/assets/{zeni-epic-state-I555vKHy.js → zeni-epic-state-BxNqBiH-.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-B6jxAqA6-9vu_4su8.js +0 -18
- package/dist/assets/ChargeCardListPage-B2OEzCZI-CCU2g_19.js +0 -412
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-BqABNtl_.js +0 -565
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-VJ-ysRY-.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-QpsU1A7T.js +0 -202
- package/dist/assets/EntityDetailPage-DRZiqaCb-SJr1Sjms.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-De-C055y.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BUPqEaBD.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-DBuEAAQS.js +0 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-BNC2cwHM.js +0 -21
- package/dist/assets/StatementItem-_50yBwO1-DJ9419VA.js +0 -31
- package/dist/assets/SummaryCard-DUTikTiQ-BCjbo6uc.js +0 -1
- package/dist/assets/TreasuryStatementsPage-Cyj4xmLP-D0-9_DPv.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-ChcsccDW.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-BclAe3JQ.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-Dw216d8I.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-BUGNsMmW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-D4qsZSGO.js +0 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-BrT8MKCJ.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-
|
|
2
|
-
import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce as Qe,Fx as Xe,Fw as et,FG as tt,ba as ot}from"./zeni-epic-state-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js","assets/index-DaYznKbB.js","assets/sentry-Bp9GtzEp.js","assets/liveblocks-DBwZPvBF.js","assets/core-B60xt_9S.js","assets/recharts-DIy4CLtr.js","assets/zeni-epic-state-BxNqBiH-.js","assets/mui-Bw2IfcWM.js","assets/lottie-C5JCvMhe.js","assets/analytics-C6_KHLMr.js","assets/lexical-ljPdYVBl.js","assets/utils-CUkgdryf.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-VeYkrDM7-Cg8WxvyO.js","assets/useLongPress-GCK2COYQ-CjlFZNWU.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce as Qe,Fx as Xe,Fw as et,FG as tt,ba as ot}from"./zeni-epic-state-BxNqBiH-.js";import{V as n,d as at,aw as nt,q as U,gf as st,gh as it,gC as rt,bA as lt,b as ct,o as t,dv as dt,gT as D,bh as ut,gq as pt,y as v,F as H,gU as mt,gV as ht,gW as bt,gX as yt,p as x,ao as gt,c as S,fM as ft,gY as wt,L as Ct,bT as Tt,al as vt,cg as St,gZ as xt,u as kt,am as $t}from"./index-DaYznKbB.js";import{a as h}from"./sentry-Bp9GtzEp.js";import{n as c,k as G}from"./mui-Bw2IfcWM.js";import{a as It}from"./liveblocks-DBwZPvBF.js";import{t as At}from"./SpendManagementSection-4bPNXnAu-PYCo478F.js";import{K as Et}from"./StatusSwitcher-VeYkrDM7-Cg8WxvyO.js";import"./core-B60xt_9S.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./recharts-DIy4CLtr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4fd76bd0-f78a-48ad-a39c-4f9a7088a874",e._sentryDebugIdIdentifier="sentry-dbid-4fd76bd0-f78a-48ad-a39c-4f9a7088a874")}catch{}})();const N=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bt=c.div`
|
|
3
3
|
min-width: ${t.sp3};
|
|
4
4
|
width: ${t.sp3};
|
|
5
5
|
height: ${t.sp3};
|
|
@@ -117,7 +117,7 @@ import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce
|
|
|
117
117
|
color: ${e=>e.theme.colors.primary};
|
|
118
118
|
position: absolute;
|
|
119
119
|
bottom: 22px;
|
|
120
|
-
`,M=H.getLocalizedStrings().common.copyToClipBoard;function Kt(e){const i=U(),[,d]=bt(),[p,f]=h.useState(!0),[u,s]=h.useState(!1),[o,r]=h.useState(!1),{isMobileOrTabletScreen:a}=yt(),w=()=>{if(p){const g=e.botEmail;d(g),f(!1)}},C=()=>{s(!0)},y=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{f(!0)},2e3)},[p]),n.jsx(jt,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:n.jsx(gt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(Ot,{windowSize:i,className:o?"fade":"",fade:o,children:[n.jsx(Yt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Dt,{children:e.title}),n.jsx(qt,{children:e.descriptionLines.map((g,l)=>n.jsxs(zt,{children:[n.jsx(Nt,{children:g.icon}),n.jsx(Mt,{windowSize:i,children:g.text})]},l))}),n.jsxs(Ut,{onClick:w,onMouseOver:C,onMouseLeave:y,showCopyIcon:p,showCopyText:u,children:[n.jsx(Vt,{showCopyText:u,children:e.botEmail}),p?n.jsx(Gt,{windowSize:i,showCopyText:u&&!a,children:n.jsx(Ht,{})}):n.jsx(Wt,{})]}),n.jsx(Jt,{children:p?u&&!a?M.copy:null:M.copied})]})})})}const V=H.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:Zt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:eo,unResolveComment:to}}}}=V,oo={drawerSectionPaddingLeftRight:new v(S[4],S[5])},ao=wt(()=>ot(()=>import("./SpendManagementPerTabPage-
|
|
120
|
+
`,M=H.getLocalizedStrings().common.copyToClipBoard;function Kt(e){const i=U(),[,d]=bt(),[p,f]=h.useState(!0),[u,s]=h.useState(!1),[o,r]=h.useState(!1),{isMobileOrTabletScreen:a}=yt(),w=()=>{if(p){const g=e.botEmail;d(g),f(!1)}},C=()=>{s(!0)},y=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{f(!0)},2e3)},[p]),n.jsx(jt,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:n.jsx(gt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(Ot,{windowSize:i,className:o?"fade":"",fade:o,children:[n.jsx(Yt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Dt,{children:e.title}),n.jsx(qt,{children:e.descriptionLines.map((g,l)=>n.jsxs(zt,{children:[n.jsx(Nt,{children:g.icon}),n.jsx(Mt,{windowSize:i,children:g.text})]},l))}),n.jsxs(Ut,{onClick:w,onMouseOver:C,onMouseLeave:y,showCopyIcon:p,showCopyText:u,children:[n.jsx(Vt,{showCopyText:u,children:e.botEmail}),p?n.jsx(Gt,{windowSize:i,showCopyText:u&&!a,children:n.jsx(Ht,{})}):n.jsx(Wt,{})]}),n.jsx(Jt,{children:p?u&&!a?M.copy:null:M.copied})]})})})}const V=H.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:Zt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:eo,unResolveComment:to}}}}=V,oo={drawerSectionPaddingLeftRight:new v(S[4],S[5])},ao=wt(()=>ot(()=>import("./SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),no=e=>{const i=at(),d=nt(),p=U(),{transactionList:f,allSubTabs:u,isAdmin:s,botEmail:o,isEmployee:r=!1,currentTab:a,currentSubTab:w,approvalCount:C,fetchState:y,analytics:g,entity:l,uiState:k,searchText:A,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserList:K,createdByUserListFetchState:E,downloadParams:Z,downloadState:Q,isDownloadEnabled:X,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ae,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:ne=!1,updateTabToState:se,onSubtabChange:R,onReloadTransactions:ie,onTransactionClick:P,onClickSetupIcon:j,onBackClick:re,onAddTransactionClick:le,onColumnSortConfigChanged:ce,onSearchTextChanged:de,onClickMenuIcon:ue,onFiltersChange:pe,updateDownloadStateHandler:me,bulkSubmissionLimit:he=10,isBulkActionAllowed:be=!1,isRecurringBillInBulkActionList:ye=!1,transactionsSelectedForBulkAction:ge=[],allowedBulkActions:fe=[],bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}=e,Se=["draft","pending_approval","scheduled","paid"],xe=b=>{P(b,a)},ke=n.jsx(ao,{botEmail:o,transactionList:f,allSubTabs:u,isAdmin:s,selectedTab:a,selectedSubTab:w,fetchState:y,onSubtabChange:R,onTransactionRowClick:xe,onReloadTransactions:ie,onColumnSortConfigChanged:ce,analytics:g,entity:l,uiState:k,searchText:A,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ae,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:he,isBulkActionAllowed:be,isRecurringBillInBulkActionList:ye,transactionsSelectedForBulkAction:ge,isDetectInsufficientFundsEnabled:ne,allowedBulkActions:fe,bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}),$e=b=>{se(b),R("all")},Ie=Xe(d.loggedInUserRoleMap),[_,Ae]=h.useState(!1),[Ee,F]=h.useState(!1),Be=b=>{Ae(b)},Le=l==="bill_pay"?et(d.loggedInUserRoleMap):tt(d.loggedInUserRoleMap),Re={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:A,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Le,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Z,downloadState:Q,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:l==="bill_pay"||z(d.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:g,onNewButtonClick:le,onSearchOpen:Be,onSearchTextChanged:de,onClickSetupIcon:j,onClickEmailInfoIcon:()=>F(!0),onFiltersChange:pe,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>W(l,K??[],d.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:me},Pe=n.jsx(At,{spendManagementSectionProps:Re}),[je,_e]=h.useState(null),[Fe,$]=h.useState(!1),{setRequestToOpenThread:Oe}=h.useContext(st),De=`dashboard_${d.currentTenant?.companyId}`,O=l==="bill_pay"?"bill":"reimbursement",{threads:Ne}=it({application:"dashboard",companyId:d.currentTenant?.companyId,tab:O,entityId:je?.entityId,isGlobalComment:!1},"both",!1),Me={openAllThreadsDrawer:b=>{_e({...b}),$(!0)}},ze=(b,I)=>{const{companyId:Ue,entityId:He,entityType:Ge}=b;$(!1),Oe({threadId:I,companyId:Ue,entityType:Ge}),P(He,a)};return n.jsx(rt,{sharedItems:{sharedFunctions:{subtreeFunctions:Me},sharedRef:void 0},children:n.jsxs(io,{children:[n.jsx(lt,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!r&&!Ie,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:i.colors.grey4,style:{zIndex:3,...ct.largeSemiBold.cssObject},onBackClick:re,rightSideComponent:Pe,onClickMenuIcon:ue,isSearchOpen:_}),n.jsxs(ro,{children:[n.jsx(lo,{children:n.jsx(Et,{tabIds:Se,approvalCount:C,selectedTab:a,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:$e,onClickSetupIcon:j})}),ke]}),Ee?n.jsx(Kt,{botEmail:o,onCancelClick:()=>F(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(dt,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(ut,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&B||l==="reimbursement"&&L?n.jsx(It,{id:De,children:n.jsx(pt,{isDrawerOpen:Fe,allowComposer:!1,drawerTitle:Zt,threads:Ne,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:d.currentTenant?.companyId,isGlobalComment:!1,tab:O},isLoading:!1,textOverrides:{composerPlaceholder:Qt,replyComposerPlaceholder:Xt,threadResolve:eo,threadUnResolve:to},onThreadClick:(b,I)=>ze(b,I),onCloseAllThreadsDrawer:()=>$(!1),drawerSectionStyle:{width:p==="small"?"100%":"400px",boxSizing:p==="small"?"border-box":"content-box",padding:`${t.sp0} ${oo.drawerSectionPaddingLeftRight.valuePx(p)}`,backgroundColor:i.colors.background},collapsibleThreadStyle:{width:p==="small"?"100%":"360px"}})}):null]})})},so=e=>e.base64!==void 0?`${ft}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",W=(e,i,d,p,f)=>{const u=m.filters.filterOptions;return e==="bill_pay"?Ve.reduce((s,o)=>{switch(o.value){case"amount":return{...s,[o.value]:u.billAmountOptions};case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:[...u.commonStatusOptions,...u.billStatusOptions]};case"paymentType":return{...s,[o.value]:u.billPaymentTypeOptions};default:return{...s,[o.value]:[]}}},{}):e==="reimbursement"?(z(d)?We:Ye).reduce((s,o)=>{switch(o.value){case"createdBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:r}}case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:u.commonStatusOptions};case"amount":return{...s,[o.value]:u.reimbursementAmountOptions};default:return{...s,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(qe??[]).reduce((s,o)=>{switch(o.value){case"status":return{...s,[o.value]:u.paymentHistoryStatusOptions};case"initiatedBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:[{label:"Autopay",value:"autopay"},...r]}}case"sourceAccount":{const r=f?Object.entries(f).map(([a,w])=>{const C=Rt(w.depositAccountName,w.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),y=Pt(w,so),g=y.iconType!=null&&y.iconColor!=null,l=y.photo,k=l!=null&&l!=="";return{label:C,value:a,...g&&{iconType:y.iconType,iconColor:y.iconColor},...k&&{photo:Je(l)}}}):[];return{...s,[o.value]:r}}case"repaymentDate":return{...s,[o.value]:[]};default:return{...s,[o.value]:[]}}},{}):Ke.reduce((s,o)=>{switch(o.value){case"assignee":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:r}}case"status":return{...s,[o.value]:[...Qe.map(r=>({label:r.name,value:r.code}))]};case"priority":return{...s,[o.value]:[...Ze.map(r=>({label:r.name,value:r.code}))]};case"tag":return{...s,[o.value]:[...p.map(r=>({label:r.name,value:r.tagId}))]};default:return{...s,[o.value]:[]}}},{})},io=c.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
min-height: 100%;
|
|
123
123
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iO as li,iP as ri,k as si,bR as Y,d as Le,bM as ai,aR as di,y as p,g3 as ci,kX as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iX as $t,iY as vt,kY as hi,f6 as gi,kZ as bi,k_ as St,k$ as kt,k6 as yi,l0 as xi,l1 as wi,c,iW as Tt,cw as Pt,cz as Ct,aw as Ze,gG as Je,a8 as Ye,gh as et,cP as jt,l2 as _t,l3 as Ie,aL as De,l4 as tt,l5 as Bt,l6 as E,l7 as zt,gt as Lt,cU as It,dq as it}from"./index-
|
|
1
|
+
import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iO as li,iP as ri,k as si,bR as Y,d as Le,bM as ai,aR as di,y as p,g3 as ci,kX as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iX as $t,iY as vt,kY as hi,f6 as gi,kZ as bi,k_ as St,k$ as kt,k6 as yi,l0 as xi,l1 as wi,c,iW as Tt,cw as Pt,cz as Ct,aw as Ze,gG as Je,a8 as Ye,gh as et,cP as jt,l2 as _t,l3 as Ie,aL as De,l4 as tt,l5 as Bt,l6 as E,l7 as zt,gt as Lt,cU as It,dq as it}from"./index-DaYznKbB.js";import{a as P,S as Dt}from"./sentry-Bp9GtzEp.js";import{n as o,c as Z}from"./mui-Bw2IfcWM.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-BxNqBiH-.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-VeYkrDM7-Cg8WxvyO.js";import{d as Rt}from"./useLongPress-GCK2COYQ-CjlFZNWU.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="4b4b9be1-eed4-4612-9c92-d1b11af2e17d",e._sentryDebugIdIdentifier="sentry-dbid-4b4b9be1-eed4-4612-9c92-d1b11af2e17d")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=H(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Ii,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Di,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=Dt.memo(ji),st=o(se)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,ai as se,h1 as xe,bE as ae,aw as be,h2 as Ce,h3 as we,al as V,b8 as ve,h4 as $e,ay as je,h5 as Se,p as ke,cW as Oe,bM as Le,fY as Ie,h6 as Ee,M as W,L as _e,fZ as Me,aR as Ae}from"./index-DaYznKbB.js";import{a as s}from"./sentry-Bp9GtzEp.js";import{n as l,k as Fe}from"./mui-Bw2IfcWM.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-BxNqBiH-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db53187e-e7b6-4216-bc80-0f4931e58c6b",e._sentryDebugIdIdentifier="sentry-dbid-db53187e-e7b6-4216-bc80-0f4931e58c6b")}catch{}})();const He=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -6,7 +6,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:a,onChange:p,getOptionLabel:c})=>{const y=
|
|
9
|
+
`,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:a,onChange:p,getOptionLabel:c})=>{const y=D(),f=s.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return s.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:a,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ve(m,c)}})},Ve=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(M.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,a=t?.(e.data.value)??e.data.label;return o.jsx(M.Option,{...e,children:o.jsxs(He,{children:[o.jsx(se,{children:a}),n?o.jsx(Ne,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),G="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ge=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -49,10 +49,10 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
height: 10px;
|
|
51
51
|
width: 10px;
|
|
52
|
-
`,et=l(
|
|
52
|
+
`,et=l(Ae)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:a,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=
|
|
55
|
+
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:a,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=s.useState(e);s.useEffect(()=>{a==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=a==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=s.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,L={options:e,filterCategoryType:a,searchAutoCompleteStatus:k,renderOptionIcon:f},I=j.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:a==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:I.startDate,value:u.startDate??""},{label:I.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Ye,{children:[S.length===0&&a==="user"&&o.jsx(Ke,{}),o.jsx(re,{...L,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{a==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>at(u,$,a),noOptionsMessage:()=>st(a,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:a,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(M.MultiValueLabel,{...e,children:o.jsxs(Xe,{children:[ie(e.data,c,a,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:a,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(M.Option,{...w,children:o.jsxs(qe,{children:[o.jsxs(Ze,{children:[ie(e.data,g,y,f),o.jsx(se,{children:e.label})]}),e.isSelected&&o.jsx(Qe,{})]})})},lt=e=>o.jsx(M.MultiValueRemove,{...e,children:o.jsx(Je,{})}),st=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,a)=>{if(n==="dropdown")return(a!=null?a(e):null)??(e.photo!=null?o.jsx(Y,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Me,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(Y,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},at=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),A={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Te}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},X=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
@@ -119,7 +119,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
121
|
column-gap: ${r.sp3};
|
|
122
|
-
`,
|
|
122
|
+
`,bt=l.div`
|
|
123
123
|
width: ${e=>pt.width.valuePx(e.windowSize)};
|
|
124
124
|
background: ${e=>e.theme.colors.background};
|
|
125
125
|
border-radius: ${r.sp1};
|
|
@@ -127,7 +127,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
127
127
|
display: flex;
|
|
128
128
|
align-items: center;
|
|
129
129
|
column-gap: ${r.sp3};
|
|
130
|
-
`,
|
|
130
|
+
`,Ct=Fe`
|
|
131
131
|
0% {
|
|
132
132
|
opacity: 0;
|
|
133
133
|
}
|
|
@@ -138,8 +138,8 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
138
138
|
display: flex;
|
|
139
139
|
align-items: flex-start;
|
|
140
140
|
column-gap: ${r.sp3};
|
|
141
|
-
animation: ${
|
|
142
|
-
`,de=s.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:a,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=
|
|
141
|
+
animation: ${Ct} 0.4s;
|
|
142
|
+
`,de=s.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:a,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=s.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=s.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=s.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=s.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(A);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(A)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},L=()=>{c(A)},I=s.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(Q,{onClick:k,children:[o.jsx(ut,{}),o.jsx(V,{children:u.addFilterBtnText})]}),o.jsxs(Q,{onClick:L,children:[o.jsx(ht,{}),o.jsx(V,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(X,{children:o.jsx(Z,{children:o.jsxs(ee,{children:[o.jsx(q,{children:o.jsx(J,{children:u.filterByLabel})}),o.jsx(K,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>T(n,d),options:F(n,g.loggedInUserRole)})})]})})}):o.jsx(s.Fragment,{children:e.categories.map((d,h)=>{const C=F(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?T(n,C?.value):"";return o.jsxs(Z,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(q,{children:[h===0&&o.jsx(J,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(K,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>T(n,i),options:F(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>I(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:a,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(X,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
|
|
143
143
|
padding-top: ${r.sp4};
|
|
144
144
|
padding-bottom: ${r.sp4};
|
|
145
145
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
157
157
|
`,jt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:a,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=s.useRef(null),[v,k]=s.useState(!1),L=s.useRef(!1),[I,u]=s.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,
|
|
160
|
+
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:a,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=s.useRef(null),[v,k]=s.useState(!1),L=s.useRef(!1),[I,u]=s.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=s.useState("auto"),d=s.useRef(null),h=B(),C=s.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=s.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);s.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=s.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);s.useEffect(()=>{if(v!==L.current){b("auto");return}b(i())},[i,v]),s.useEffect(()=>{L.current=v},[v]),s.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:I[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:a,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(s.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>s.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ot}=j.getLocalizedStrings(),Lt={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:a,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:L,updateDownloadStateHandler:I,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=s.useState(void 0);s.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(At,{children:[o.jsxs(Mt,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":N("list-page-search-input-box"),style:{position:"absolute",left:"unset",...a},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:L,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":N("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Tt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(It,{})}):null,w?o.jsx(Ft,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:I}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const It=l(kt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,Et=l(me)`
|
|
@@ -176,16 +176,16 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
176
176
|
&:hover {
|
|
177
177
|
color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.primary};
|
|
178
178
|
}
|
|
179
|
-
`,
|
|
179
|
+
`,Mt=l.div`
|
|
180
180
|
display: flex;
|
|
181
181
|
justify-content: flex-end;
|
|
182
182
|
position: relative;
|
|
183
183
|
align-items: center;
|
|
184
184
|
width: ${e=>e.isSearchOpen?"100%":"unset"};
|
|
185
|
-
`,
|
|
185
|
+
`,At=l.div`
|
|
186
186
|
display: flex;
|
|
187
187
|
flex-direction: column;
|
|
188
|
-
`,
|
|
188
|
+
`,Ft=l.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
align-items: center;
|
|
191
191
|
justify-content: center;
|
|
@@ -221,7 +221,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
221
221
|
top: ${r.sp5};
|
|
222
222
|
right: -${r.sp4};
|
|
223
223
|
z-index: 3;
|
|
224
|
-
`,
|
|
224
|
+
`,Bt=l.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
align-items: center;
|
|
227
227
|
justify-content: center;
|
|
@@ -231,7 +231,7 @@ import{q as D,d as B,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
231
231
|
&:hover {
|
|
232
232
|
color: ${e=>e.theme.colors.primary};
|
|
233
233
|
}
|
|
234
|
-
`,
|
|
234
|
+
`,Dt=l(fe)`
|
|
235
235
|
color: ${e=>e.theme.colors.hero};
|
|
236
236
|
width: ${r.sp4};
|
|
237
237
|
height: ${r.sp4};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{q as x,hH as $,V as o,F as g,k as S,o as r,al as v,y as z,c1 as j,c as k}from"./index-DaYznKbB.js";import{a as I}from"./sentry-Bp9GtzEp.js";import{n}from"./mui-Bw2IfcWM.js";import{g as D}from"./BoxItem-CWj-NRo_-qWLA6cc4.js";import{w as P}from"./downloadPdf-AQqdv24M-DFBrg3E0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="219be478-f2bf-4c69-849d-ab0048664ea7",e._sentryDebugIdIdentifier="sentry-dbid-219be478-f2bf-4c69-849d-ab0048664ea7")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: ${r.sp3} ${r.sp4};
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
width: 100%;
|
|
6
|
+
`,L=n.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,q=n(v)`
|
|
12
|
+
display: -webkit-box;
|
|
13
|
+
-webkit-box-orient: vertical;
|
|
14
|
+
-webkit-line-clamp: 1;
|
|
15
|
+
margin-left: ${r.sp2};
|
|
16
|
+
max-height: ${r.sp11};
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
word-break: break-word;
|
|
19
|
+
text-align: left;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
`,B=n.div`
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
`,C=n(j)`
|
|
24
|
+
width: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
|
+
height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
|
|
26
|
+
min-height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
|
|
27
|
+
color: ${e=>e.theme.colors.hero};
|
|
28
|
+
&:hover {
|
|
29
|
+
color: ${e=>e.theme.colors.primary};
|
|
30
|
+
}
|
|
31
|
+
`;function U({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:a="statement",boxType:c}){const[m,p]=I.useState(!1),w=x(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${$(t.title.month)}`,format:"pdf"},b=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:b,boxType:c,isDisabled:!1,isNotClickable:!0})}export{U as O};
|
package/dist/assets/{StatementsPage-DkcgOLaa-63pexawV.js → StatementsPage-mK9b-oez-_P1PJ0CX.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as
|
|
1
|
+
import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as f,al as T}from"./index-DaYznKbB.js";import{a as b}from"./sentry-Bp9GtzEp.js";import{n as o}from"./mui-Bw2IfcWM.js";import{$ as B}from"./BoxItem-CWj-NRo_-qWLA6cc4.js";import{o as L}from"./commonDimensions-DMXq3s0u-DuXCMMKd.js";import{O as M}from"./StatementItem-D7MXVGEy-BTw31R7j.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./downloadPdf-AQqdv24M-DFBrg3E0.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]="40fb7dd7-916c-4920-99d2-ea0f4f694f68",e._sentryDebugIdIdentifier="sentry-dbid-40fb7dd7-916c-4920-99d2-ea0f4f694f68")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(f[3],f[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=b.createRef(),c=b.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:B(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
package/dist/assets/{StatusSwitcher-Bcqhq2ht-DClBNvwT.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as $,cb as T,V as p,F as v,y as h,o as s,c,ai as _}from"./index-
|
|
1
|
+
import{q as $,cb as T,V as p,F as v,y as h,o as s,c,ai as _}from"./index-DaYznKbB.js";import{n as u,c as m}from"./mui-Bw2IfcWM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9cf6dda7-85df-46e7-9453-b89e8f8d268e",e._sentryDebugIdIdentifier="sentry-dbid-9cf6dda7-85df-46e7-9453-b89e8f8d268e")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function d(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=d(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=d(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=d(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(d(r,a,a)??d(n,a,a)??d(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{SubTabSwitcher-BNSMaUoP-liKRWZ1f.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,k as u,o as s,ai as g,aY as f}from"./index-
|
|
1
|
+
import{V as i,k as u,o as s,ai as g,aY as f}from"./index-DaYznKbB.js";import{n as r,c}from"./mui-Bw2IfcWM.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]="5c134c47-94f6-4a4d-a871-36f47c7a752a",e._sentryDebugIdIdentifier="sentry-dbid-5c134c47-94f6-4a4d-a871-36f47c7a752a")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(b,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as n}from"./index-DaYznKbB.js";import{E as r,A as t}from"./ReloadCard-BsOjPgsc-ChC0ZJ85.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="5bcd2681-4083-4973-808c-5f14fd2fa6a6",d._sentryDebugIdIdentifier="sentry-dbid-5bcd2681-4083-4973-808c-5f14fd2fa6a6")}catch{}})();const c=d=>{function e(){return d.card.fetchState==="In-Progress"||d.card.fetchState==="Not-Started"?n.jsx(r,{dimension:d.card.dimension,animated:!d.card.disableAnimations}):d.card.fetchState==="Error"?n.jsx(t,{dimension:d.card.dimension,cardType:d.card.cardType,cardIndex:d.card.cardIndex,onReloadData:d.actions.onReloadData}):n.jsx("div",{children:d.children})}return n.jsx("div",{children:e()})};export{c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as
|
|
1
|
+
import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as yt,y as Je,cC as jt,ac as bt,b2 as vt,cr as St,iO as Gt,iP as Lt,jt as De,aP as It,n as Me,bR as Ee,eH as Qe,ju as Et,cX as et,jv as ce,jw as ke,jx as xe,jy as tt,jz as Nt,jA as st,jB as ot,jC as nt,jD as at,jE as rt,jF as V,c as ge,jG as ae,ai as re,jH as Mt,jI as Dt,L as zt,an as Bt,jJ as At,d6 as Rt,jK as Wt,cP as it,ej as Ot,b as Ft,jL as Pt,jM as Ht,g3 as _t,eK as Ut,jN as Vt,jO as X,jP as ze,ct as Kt,jQ as Yt,jR as qt,jS as Zt,jT as Be,p as Ae,gt as Xt,am as Jt}from"./index-DaYznKbB.js";import{a as n}from"./sentry-Bp9GtzEp.js";import{n as o,c as we}from"./mui-Bw2IfcWM.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-BxNqBiH-.js";import{X as ts,t as ss}from"./SpendManagementSection-4bPNXnAu-PYCo478F.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-PHESCv2f-CLKpPqmc.js";import{a as is}from"./SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./StatusSwitcher-VeYkrDM7-Cg8WxvyO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="1b1f1325-d3cd-4142-b459-a8b08304f082",e._sentryDebugIdIdentifier="sentry-dbid-1b1f1325-d3cd-4142-b459-a8b08304f082")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
|
|
2
2
|
${e=>e.isCircular?we`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -44,7 +44,7 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
44
44
|
`,Cs=o(Xe)`
|
|
45
45
|
width: ${s.sp3};
|
|
46
46
|
height: ${s.sp3};
|
|
47
|
-
`,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Ze,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(
|
|
47
|
+
`,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Ze,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const ys=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,Oe=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -57,9 +57,9 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
background-color: ${e=>e.theme.colors.background};
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,js=o.div`
|
|
61
61
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
62
|
-
`,
|
|
62
|
+
`,bs=o(et)`
|
|
63
63
|
width: ${s.sp3};
|
|
64
64
|
height: ${s.sp3};
|
|
65
65
|
`;function vs({placeholder:e,searchText:d,inputContainerStyles:r,onSearchTextChanged:h}){const[m,u]=n.useState(!1),a=n.useRef(null),p=ie(),i=()=>{d||u(!1)};return t.jsxs(Ss,{children:[m?null:t.jsx(Ls,{onMouseEnter:()=>u(!0),onClick:()=>{u(!0),a.current?.focus()},children:t.jsx(Fe,{})}),m?t.jsxs(Gs,{style:r,isOpen:m,children:[t.jsx(Fe,{}),t.jsx(Is,{windowSize:p,autoFocus:p!=="small",placeholder:e,value:d,onBlur:i,onChange:c=>{const C=c.target;h(C.value)},ref:a}),d?t.jsx(Es,{}):null]}):null]})}const Ss=o.div`
|
|
@@ -243,7 +243,7 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Ge,dateFormat:co,taskManagement:Ne}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},po=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:N}=it(),M=(k,f)=>{const w=Be(k,f,xe);N(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:X[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:X[0].width,children:t.jsx(Io,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:X[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:X[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(No,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Yt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:X[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(qt,{name:Be(r,e.id,xe),placeholder:Ne.common.timeSpentPlaceholder,timeSpentFormat:Ne.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{N(e.id)},[N,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),
|
|
246
|
+
`,{common:Ge,dateFormat:co,taskManagement:Ne}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},po=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:N}=it(),M=(k,f)=>{const w=Be(k,f,xe);N(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:X[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:X[0].width,children:t.jsx(Io,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:X[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:X[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(No,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Yt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:X[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(qt,{name:Be(r,e.id,xe),placeholder:Ne.common.timeSpentPlaceholder,timeSpentFormat:Ne.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{N(e.id)},[N,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),j=n.useCallback(()=>{$(`${r}.groupName`),y()},[y,r,$]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(_,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(fo,{children:[t.jsx(Co,{isOpen:a===!1,onClick:x,children:t.jsx(To,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Ft.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ne.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Pt(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx($o,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ht,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:j,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(_t,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const U=()=>{M(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:U,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(jo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},ho=o.div`
|
|
247
247
|
box-sizing: border-box;
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: column;
|
|
@@ -311,13 +311,13 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
311
311
|
color: ${e=>e.theme.colors.primary};
|
|
312
312
|
`,$o=o.div`
|
|
313
313
|
cursor: pointer;
|
|
314
|
-
`,
|
|
314
|
+
`,yo=o(Ut)`
|
|
315
315
|
width: ${s.sp3};
|
|
316
316
|
height: ${s.sp3};
|
|
317
|
-
`,
|
|
317
|
+
`,jo=o.div`
|
|
318
318
|
padding-left: ${s.sp3};
|
|
319
319
|
cursor: grab;
|
|
320
|
-
`,
|
|
320
|
+
`,bo=o(Vt)`
|
|
321
321
|
width: ${s.sp3};
|
|
322
322
|
height: ${s.sp3};
|
|
323
323
|
`,vo=o.div`
|
|
@@ -430,7 +430,7 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
430
430
|
column-gap: ${s.sp2};
|
|
431
431
|
`,Oo=o.div`
|
|
432
432
|
max-width: ${s.sp11};
|
|
433
|
-
`,Fo=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Po={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),bn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:N,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:b,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,U]=n.useState(!1),[Q,F]=n.useState(null),[P,oe]=n.useState(null),[q,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:Z,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:be}=d,ye=qe(),je=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{y(R)},[y]),O=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Z.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:je,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:Z.groupByKey,resetDisabled:Z.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},E=n.useCallback(R=>{le(null),F(Y),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),j=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{F(Y)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(qo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Xo,{})}),t.jsx(Jo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&$e.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Ho,{taskListView:e,tagList:be,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:b,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:Z.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:M,onNewGroupClick:E,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:q}),t.jsx(Ko,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:j,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),b=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[U,Q]=n.useState([]),F=n.useRef(null);us({scrollContainerRef:F,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=bt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),q=n.useMemo(()=>{if(r!==Y)return y;const l=[],G=y.map(O=>{const I=O.tasks.filter(E=>{const A=g.selectedTaskIds.includes(E.id)===!0;return A&&l.push(E),A===!1});return{...O,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(q[l].id)||q[l].tasks.length===0?100:b.current?.[l]!=null?b.current[l]+Po.rowGap.value(L):(os*1+ns)*3+as+rs,[U,q,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{b.current={...b.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),$.current?.resetAfterIndex(0,!0)},[]),Z=n.useCallback(()=>{N(),$.current?.scrollTo(0),ne()},[ne,N]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?Z():c(!0):r===Y?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Z,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),be=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),je=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],E=y.flatMap(j=>j.tasks).find(j=>j.id===I),A=G[V][ae][I].priority.selectedOption;if(E!=null&&A!=null){const j=lt.find(T=>T.code===A);j!=null&&h(E,{priority:j})}return}if(l.includes(at)){const I=l.split(".")[2],E=y.flatMap(j=>j.tasks).find(j=>j.id===I),A=G[V][ae][I].status.selectedOption;if(E!=null&&A!=null){const j=dt.find(T=>T.code===A);E!=null&&j!=null&&h(E,{status:j})}return}if(l.includes(st)){const I=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,j=G[V][ae][I].assignees.selectedUsers.map(T=>T.userId);A!=null&&j!=null&&E!=null&&h(E,{assignees:j});return}if(l.includes(ot)){const I=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,j=G[V][ae][I].dueDate.date;A!=null&&j!=null&&E!=null&&h(E,{dueDate:j});return}if(l.includes(tt)){const I=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,j=G[V][ae][I].tags.selectedOptions;A!=null&&j!=null&&E!=null&&h(E,{tagIds:j});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&yt(()=>je(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==Y,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(jt,{...oe,children:t.jsx("form",{id:Ve(De),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Qo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:$,outerRef:F,height:l,itemCount:q.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>q[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:q,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:_o})})})})}),me?t.jsx(It,{formId:Ve(De),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==Y?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:$e},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(rn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx($s,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:Z,onExistingGroupSelection:l=>{ne(),v(l)},onClose:ne})]}):void 0}):null]})},_o=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:b,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(F=>{const P=F.dataTransfer.getData("row");z(P,a[e].id)},[z,e,a]),W=n.useCallback(F=>{F.preventDefault()},[]),U=(F,P)=>{F.dataTransfer.setData("row",P)},Q=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Uo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:b,onShowToast:L,onCreateTagClick:g},a[e].id)})},Uo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),b=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(b,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Nt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Y]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Y)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=o.div`
|
|
433
|
+
`,Fo=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Po={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:N,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:j})=>{const[W,U]=n.useState(!1),[Q,F]=n.useState(null),[P,oe]=n.useState(null),[q,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:Z,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:ye}=d,je=qe(),be=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{j(R)},[j]),O=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Z.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:be,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:Z.groupByKey,resetDisabled:Z.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},E=n.useCallback(R=>{le(null),F(Y),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{F(Y)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(qo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Xo,{})}),t.jsx(Jo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&$e.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Ho,{taskListView:e,tagList:ye,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:Z.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:M,onNewGroupClick:E,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:q}),t.jsx(Ko,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:j,uiState:W}=e,[U,Q]=n.useState([]),F=n.useRef(null);us({scrollContainerRef:F,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),q=n.useMemo(()=>{if(r!==Y)return j;const l=[],G=j.map(O=>{const I=O.tasks.filter(E=>{const A=g.selectedTaskIds.includes(E.id)===!0;return A&&l.push(E),A===!1});return{...O,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,j,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(q[l].id)||q[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Po.rowGap.value(L):(os*1+ns)*3+as+rs,[U,q,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,j]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(j.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[j]),ee=n.useCallback(()=>{Q([]),$.current?.resetAfterIndex(0,!0)},[]),Z=n.useCallback(()=>{N(),$.current?.scrollTo(0),ne()},[ne,N]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?Z():c(!0):r===Y?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Z,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),ye=n.useCallback(l=>{C(),u(l)},[C,u]),je=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],E=j.flatMap(b=>b.tasks).find(b=>b.id===I),A=G[V][ae][I].priority.selectedOption;if(E!=null&&A!=null){const b=lt.find(T=>T.code===A);b!=null&&h(E,{priority:b})}return}if(l.includes(at)){const I=l.split(".")[2],E=j.flatMap(b=>b.tasks).find(b=>b.id===I),A=G[V][ae][I].status.selectedOption;if(E!=null&&A!=null){const b=dt.find(T=>T.code===A);E!=null&&b!=null&&h(E,{status:b})}return}if(l.includes(st)){const I=l.split(".")[2],E=j.flatMap(T=>T.tasks).find(T=>T.id===I),A=j.find(T=>T.tasks.find(te=>te.id===I))?.id,b=G[V][ae][I].assignees.selectedUsers.map(T=>T.userId);A!=null&&b!=null&&E!=null&&h(E,{assignees:b});return}if(l.includes(ot)){const I=l.split(".")[2],E=j.flatMap(T=>T.tasks).find(T=>T.id===I),A=j.find(T=>T.tasks.find(te=>te.id===I))?.id,b=G[V][ae][I].dueDate.date;A!=null&&b!=null&&E!=null&&h(E,{dueDate:b});return}if(l.includes(tt)){const I=l.split(".")[2],E=j.flatMap(T=>T.tasks).find(T=>T.id===I),A=j.find(T=>T.tasks.find(te=>te.id===I))?.id,b=G[V][ae][I].tags.selectedOptions;A!=null&&b!=null&&E!=null&&h(E,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&jt(()=>be(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=j.length>1&&g.selectedTaskIds.length>0&&r!==Y,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(De),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Qo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:$,outerRef:F,height:l,itemCount:q.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>q[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:q,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:_o})})})})}),me?t.jsx(It,{formId:Ve(De),primaryBtn:{label:j.length===1&&g.selectedTaskIds.length>0&&r!==Y?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:$e},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(rn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:je})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx($s,{taskGroupsList:j,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:Z,onExistingGroupSelection:l=>{ne(),v(l)},onClose:ne})]}):void 0}):null]})},_o=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const j=n.useCallback(F=>{const P=F.dataTransfer.getData("row");z(P,a[e].id)},[z,e,a]),W=n.useCallback(F=>{F.preventDefault()},[]),U=(F,P)=>{F.dataTransfer.setData("row",P)},Q=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:j,onDragOver:W,children:t.jsx(Uo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},Uo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(y,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Nt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Y]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Y)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=o.div`
|
|
434
434
|
display: block;
|
|
435
435
|
height: 100%;
|
|
436
436
|
`,Yo=o.div`
|
|
@@ -505,4 +505,4 @@ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as w
|
|
|
505
505
|
align-items: center;
|
|
506
506
|
justify-content: flex-end;
|
|
507
507
|
padding-right: ${s.sp6};
|
|
508
|
-
`;export{
|
|
508
|
+
`;export{yn as default,Ve as uniqueFormName};
|