@zeniai/web-cockpit-ui 1.14.89-qa → 1.14.90-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-BBq7KpbY-D459fVD1.js → ACHDetailsPage-BUP-_2-W-BxsdzxJg.js} +3 -3
- package/dist/assets/{AIPerformancePage-Djq6mgKa-CoW3VwJ4.js → AIPerformancePage-DHF_70JI-BB0m0Wmb.js} +22 -22
- package/dist/assets/AccountInfoPage-pmUIckJ9-ClFTcWKH.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-NM1136mH.js → AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js} +9 -9
- package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-BuiGpDgm.js → AccountReconDetailsDrawerPage-CGcZO_qz-Cy1Ijv5f.js} +16 -16
- package/dist/assets/{AccountRow-Ck53DDbT-DWMrYTR2.js → AccountRow-D2Ypckgj-DU9kFXuE.js} +26 -26
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-t6F8QAnS.js → AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js} +23 -23
- package/dist/assets/AddAddressForCardDrawer-C8aENofu-DA1NQK9C.js +6 -0
- package/dist/assets/{AddToWalletPage-DA6AmuaY-CmFVVEiw.js → AddToWalletPage-CmT5jSb5-D2YVbVt5.js} +11 -11
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-B3LI-4Jv.js → AgingReportsPage-BeUGvj3b-CHP-b-K4.js} +6 -6
- package/dist/assets/{AllUserItems-BV22Ibpn-Cn4Po_RI.js → AllUserItems-CmlMyz-f-C0puagwR.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-C9HZaqeP.js → ApAgingDetailPage-Dz1_N0Yw-iyEKxxlG.js} +3 -3
- package/dist/assets/{AppBasePage-LrgCcvIv-D0C3kYnC.js → AppBasePage-DX4EGGcT-DxyBlsaI.js} +11 -11
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-BTCDRaet.js → AppDrawerContent-Brg3Rw4K-DWiehP3E.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-CvKRvgo_.js +47 -0
- package/dist/assets/{ArAgingChart-Am7LTkqG-ChRjJ3UX.js → ArAgingChart-DQZtCsHS-CSTDLkfC.js} +4 -4
- package/dist/assets/ArAgingDetailPage-BtF6K5dA-VZeY_ZUJ.js +46 -0
- package/dist/assets/{AttachmentView-Bujbmx1d-DTmJzSNU.js → AttachmentView-DgPySmB8-B0CUUwUu.js} +8 -8
- package/dist/assets/{BankAccountSection-C5rYUW3V-DGt3bEf8.js → BankAccountSection-BVZK5jmO-oboSifeA.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-DakysSbk-6wJeRIrk.js → BankAccountWarningSection-DHdeDi15-DsdgRhNS.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-BiPdq8-x.js → BankConnectionsSettingsPage-BN3lAARB-UlnRR8CQ.js} +31 -31
- package/dist/assets/{BillDetailPage-DYc_nZRU-Cv-3eSux.js → BillDetailPage-BuUm6vdf-DEUKUhee.js} +13 -13
- package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-CYUFVErE.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-B8HbVvc9-DpzHPmZp.js +241 -0
- package/dist/assets/{BillPayPromoPage-BK2J56U5-CnqDBUB8.js → BillPayPromoPage-DkoqXDNt-FNHctwfQ.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-BFBJyheg.js → BillPaySetUpPage-BommXkLS-DOKgmPVm.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CKZVChEm-Cuz40Itk.js → BillingSettingsPage-gHbc5Kq3-CFDIJf8G.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-BPVTB2M3.js → BillsBulkReviewDrawerPage-C541rBnx-DPMvwxh2.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-CoDiwyqr.js → BoxItem-usHxaONy-BSYmkNdH.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CFAqeRW8.js → BusinessVerificationPage-CLsxXy9d-ClcyVS-f.js} +10 -10
- package/dist/assets/{CardNumberSubText-W81SQ4GF-Bqu_rml1.js → CardNumberSubText-D_fWhc_K-BxJ3GoBc.js} +2 -2
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-BEl7J3hp.js → CashbackDetailPage-D3WylWVP-CydwwFdH.js} +19 -19
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-DkV5Ob3a.js → ChargeCardDetailPage-BUsGBwBf-DhD5ouX9.js} +27 -27
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-CbwqZtRf.js → ChargeCardListPage-Jhx05dVV-DjDdThgH.js} +24 -24
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-DhZ8QmJ_.js → ChargeCardListTable-D-eYWaxh-CZeSVtIX.js} +26 -26
- package/dist/assets/ChargeCardPromoPage-CzR82VtA-DoVVgv51.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-DUDTmQvB.js → ChargeCardSetupPage-Ctz8PCuu-Dmh0C1fi.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-BOQhT3Eo.js → ChargeCardStatementsPage-EUtRTAX2-CIQRTxBN.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-Di3gSIJN.js → CheckDepositDrawerPage-B7DC0HAi-DPwOJJS7.js} +17 -17
- package/dist/assets/{CollapsableReportTable-Crihcv_z-Dz-RLuna.js → CollapsableReportTable-I40BZv7o-RBVPkQ58.js} +233 -233
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-CgBxbEOZ.js → CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js} +24 -24
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-C4cE2wuT.js → CompanyPassportCard-82bbFwk--C3mnYk4t.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-CAA4hMAo.js → CompanyPassportPage-DG1Fa_Uw-B4wsnqA2.js} +18 -18
- package/dist/assets/{CompleteProfile-BqjXO5ze-D8LP_nnA.js → CompleteProfile-B7bQqLQH-DwtJrHr4.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-CAgZ-6DA.js → ConfettiBurst-DUyIBnw4-BZY51mbD.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-FFsZZvsv.js → CreateOrEditVendorPage-DVzMO96w-CjeOn0Zu.js} +6 -6
- package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-BI7dTqV7.js +224 -0
- package/dist/assets/{CurrencySelectField-ClOg6nnS-BqF8GQ_v.js → CurrencySelectField-2hU3oIp_-CnccIVlk.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DRuZjTjM.js → CustomerOnboardingActivationPage-Dt-Nml2t-CQyv3wO4.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-B7ffmmrc.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-CaAElGhv.js → CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-CmLhznz-.js → CustomerOnboardingNoStepsPage-CwI8nL61-Xg6qQ6Ku.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-C3FgZjAN-C75cnlLW.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-2I-6Jp_o.js → CustomerOnboardingProductSuitePage-BOYu-82S-uR17VQjV.js} +4 -4
- package/dist/assets/{Dashboard-CdYlvep--DUCbDeKg.js → Dashboard-D_oTtu1--CP9XS1zf.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-VmbWeRH9.js → DashboardReportPage-Dprj3eUQ-BK5e1r9g.js} +20 -20
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-C2glc1OE.js → DashboardSidebarBackgroundAnimation-C6SQaB7q-C2qHBViE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-Dmv2QmwN.js → DepositAccTransactionItem-C2oP415b-B5ygx6vl.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-Df_FOAOf.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-4nt88Wq7.js → DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js} +2 -2
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-CSP7n0ty.js → DownloadOverlay-BwddFmV2-BqOR54wm.js} +26 -26
- package/dist/assets/{DrawerPage-CbKBsc7w-Czd32d3w.js → DrawerPage-CGrnrvf2-BvrxfWnf.js} +12 -12
- package/dist/assets/EditPeoplePage-DMgxG2Gd-C3BsPnxU.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-B_mgHJUC.js → EditReimbursementDetailPage-DwCiVkeu-B4w5FVLx.js} +25 -25
- package/dist/assets/EntityDetailPage-BcRVEfi5-Cnj_gM9q.js +18 -0
- package/dist/assets/{EntitySummarySection-BIV9aAq2-CISETdsS.js → EntitySummarySection-BaHHLLkE-D3Ip19-Y.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-BoXO6RyV.js → ExpenseAutomationOverviewPage-hl_3Pc0g-gY12ACUr.js} +27 -27
- package/dist/assets/ExpenseAutomationPage-D70ghitX-EafeQT3m.js +1650 -0
- package/dist/assets/{ExpressPayPage-DnpQuDmt-Nmc0dbGr.js → ExpressPayPage-BpfkmJ_I-B4izq8YR.js} +13 -13
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-BhRm4xx9.js → FeaturePreviewPage-Bzi8Bpk3-DtSpKYbK.js} +3 -3
- package/dist/assets/{FollowStepsSection-B2I9SddL-CxOpeC7P.js → FollowStepsSection-Bu3RG_GH-DmaIgxgE.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-CB1HWDWu.js → GlobalReviewListPage-D4BD7q-I-BHZQG-gN.js} +11 -11
- package/dist/assets/{InformationCardStack-mEhasBqu-CreS8hEy.js → InformationCardStack-B9wnkR3p-CjpaX6cg.js} +3 -3
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-ZWcbply5.js → InsightsCardStack-C1_rd2Sb-uYkz47Dy.js} +11 -11
- package/dist/assets/InsightsSection-7-T67WeF-BlMRO9Ba.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-DugcuKws.js → IntegrationsSettingsPage-C9YpvDgg-DjW-A2Ra.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-CJS_ucM1.js → InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-CrYQdSU8.js → InternationalWireVerificationPage-B8AOwcSX-HJr1qwVZ.js} +23 -23
- package/dist/assets/{InviteFormPage-DK6X9Zwi-BmvvCw3D.js → InviteFormPage-DuBhhnre-DKK8UkI0.js} +22 -22
- package/dist/assets/{InvitePageListView-CwKbcKlM-C3aARAlE.js → InvitePageListView-Dw8kwEFd-zXFzVUiq.js} +41 -41
- package/dist/assets/InvitePeoplePage-BI_vd7xw-BSlMVd1C.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-C3YItMb9.js → InvoiceUploadSection-9DaovMq8-DOf6F-xG.js} +3 -3
- package/dist/assets/IssueChargeCardPage-fumweN4Y-Ie_niRER.js +532 -0
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-CXia5eoe.js → LabeledAddressValue-cNf6hI1l-C1IgZGiS.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-rTSkkk1A.js → LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js} +8 -8
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-BO9IVhKI.js → LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-CKXiWbBE.js → LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js} +7 -7
- package/dist/assets/LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-t40SKG-g.js → LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js} +7 -7
- package/dist/assets/{LabeledText-Db46hFZY-DW3nTMl_.js → LabeledText-BJ3Zvb5p-yc50ilCa.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CwPLh_do.js → LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-B7kyEAM_.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-CTQGzlhW.js → LabeledZeniRolesDropDownField-CS_oKjBG-CatyVbOL.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-uJGURN6e.js → LinkJETransactionPage-BsszwFNq-BtKpHm2U.js} +10 -10
- package/dist/assets/{LockCardPage-KTyESoXL-YHe6YgOp.js → LockCardPage-DqQGGac2-Bntrtxvn.js} +42 -42
- package/dist/assets/{LowBalancePopup-B0BDCEui-Boc2ml-j.js → LowBalancePopup-BFo5zRk3-BLFy36gu.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-Cn9Ml7SS.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-Bj3CP8hj.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-D3lbgGYX.js → MagicLinkInternationalWireDetailsPage-CX9SeCLl-Bato55Wl.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-CojCEkBp.js → MagicLinkSuccessPage-Dipq1-St-C4ZMZxw5.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-D0jQqmvx.js → MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js} +7 -7
- package/dist/assets/{MailingDetailsSection-CugAM90r-DEwALK-q.js → MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-BTKtVwIK.js → Menu-D0jF6uaE-AMW53cTN.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-C9Wn2ND9.js → MyBankConnectionsSettingsPage-DpM6MKBq-CmnrHUZV.js} +7 -7
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-Sg0KcH3B.js → MyPendingActivationChargeCardListPage-BaT55Pwg-BdKjhqSf.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-BOr5u8wJ.js → MyProfileSettingsPage-kD1dY6P6-BAgE1Tqp.js} +6 -6
- package/dist/assets/{NavBarWithPicker-DLLvivn4-C2EMLk4R.js → NavBarWithPicker-D-WQJ-tG-C6mGlKIr.js} +4 -4
- package/dist/assets/{NavigationArrow-B4j2t8Qu-ApLGyN2d.js → NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-BlQ4OF1d.js → NavigationDots-BT-m0FmS-CJdtX5bS.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-BXKBuyek.js → NewGlobalMerchantPage-YsnX4uQU-7PwHdB8y.js} +36 -36
- package/dist/assets/{NoDataChart-Ce1_TZ5w-rlYBF6PD.js → NoDataChart-DMivligx-DVgr9SAl.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-BDh4JUXv.js → NoDataTable-DwOJY23X-BMIpXvJR.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-CnnlrsU4.js → NotFoundPage-DuKXpHos-BIXgl60z.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DY9p6U88.js → NotificationSettingsPage-DlU2NxiC-DDx7Rraa.js} +22 -22
- package/dist/assets/NotificationsListConfig-BQCb9x9X-C3jJIn48.js +1 -0
- package/dist/assets/{NotificationsPage-Ddxb5kE0-CDVU5W_a.js → NotificationsPage-q0bK_5gs-C_zZBYkJ.js} +37 -37
- package/dist/assets/{OpExByVendorPage-BLAHey0l-f-WjImJe.js → OpExByVendorPage-Boc7U8eu-BxBRsCtx.js} +24 -24
- package/dist/assets/OverlayContainerPage-CrZuT2Jj-DDO8EgYZ.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--8S6z0rAz.js → PandLWithForecastPage-B2eGvFPp-CEl0eyCC.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DD7f9yVw.js → PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js} +9 -9
- package/dist/assets/{PeoplePage-BHRFiM0D-BagkceCs.js → PeoplePage-YMfZIga6-BPMCy-eb.js} +23 -23
- package/dist/assets/{Preview-Bnbo8Nq1.js → Preview-BszQHI_F.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-B-FAzu9h.js → ProductsCarousel-CUaU5-V7-CFq7I05R.js} +6 -6
- package/dist/assets/{PromoBaseCards-CI7UOpeY-BbdxV6ii.js → PromoBaseCards-CmOYEhSO-D3yPErwW.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-TYawHVny.js → QBOConnectionDialog-BNiXUEAk-B55AIWRo.js} +3 -3
- package/dist/assets/{QBOSetupSection-DWhfA4Xv--q8kidUR.js → QBOSetupSection-CjjNFfgF-CIhiV9Dd.js} +9 -9
- package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-CCMfftol.js +26 -0
- package/dist/assets/ReimbursementApprovalRulesPage-BkuYJ6qb-BIx385RC.js +243 -0
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-DZGfkzvc.js → ReimbursementDetailPage-D5IzqJS5-BklJr7jT.js} +13 -13
- package/dist/assets/ReimbursementPromoPage-D7n6lZNo-BpT8Ss67.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-cG1PPIji.js → ReimbursementSetUpPage-E1elWU5Z-VC2DwUtC.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CxW2G_F4.js → ReimbursementsBulkReviewDrawerPage-HzYNji-G-DGG79plx.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-BG30B7lD.js → ReloadCard-DMWwNZ1z-CIbg2f6Q.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-_IO343vS-DarLVXtz.js → ReportTableViewSelector-EU36E1lv-XPDH-qLc.js} +11 -11
- package/dist/assets/{ReportsPage-C-aQ1bdd-DCIgVjO8.js → ReportsPage-iJDifG6q-BnnQKn2l.js} +4 -4
- package/dist/assets/{RevenueChart-Bgq6My4J-D1wqXuV1.js → RevenueChart-BbOK-HCB-UtcLA02J.js} +22 -22
- package/dist/assets/ReviewDetailsPage-Bk2vvBn3-C2KvPaPZ.js +290 -0
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-BhFB4uqb.js → ReviewOverlay-CJlk2MNH-s-FncxF6.js} +14 -14
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-Ca10uH2X.js → RoleWithToolTip-B7woUKhj-CCCbdbHN.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-UyHqt-88.js → ScheduleDetailsFixedAssetsPage-B-WjqQN_-BZxRVl4y.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-BzTbS9K2.js → ScheduleDetailsPage-ocFBINM3-BwGXsqpK.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-BL4_zz48.js → ScheduleSequenceTable-Bb7MJ-zJ-GmSlZz8a.js} +24 -24
- package/dist/assets/{ScreenRoutes-DKJDWrq-.js → ScreenRoutes-Bs2X1R3V.js} +42 -42
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-DEHd1Ql0.js → SetUpAccountSection-9zELif-q-xWCkQEz2.js} +4 -4
- package/dist/assets/{SignIn-Ij6tlYI5-CcVqI-K7.js → SignIn-BHHUcLal-BDutKsDY.js} +17 -17
- package/dist/assets/{SignInScreen-BZlFDA0S.js → SignInScreen-DqJeiieA.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-HzCmGr0--BrKmnwTS.js +785 -0
- package/dist/assets/{SpendManagementSection-BqWbsmBW-C71zMSb0.js → SpendManagementSection-LzT-Bnhy-DcyEJGSm.js} +15 -15
- package/dist/assets/StatementItem-BnxTFgdM-ncI51LoG.js +31 -0
- package/dist/assets/{StatementsPage-BG_pNQzc-FNk9HF4E.js → StatementsPage-B8X2un5p-CiIvEzAF.js} +4 -4
- package/dist/assets/{StatusSwitcher-DYRXaLvx-erQqAcc2.js → StatusSwitcher-BPKr5BUW-lb0m6Cbr.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-khmziXpM.js → SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-BCFloXQE.js → SummaryCard-CiNkV7uy-BHimAYKo.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-C9oPqJX0.js → TaskManagementPage-BiyyDIWi-DCcTniX2.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-DleTftrv.js → TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-DeIWrcpL.js → TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-CMvHnrOH.js → TimeframeSwitcherWithToggle-D2sBGHXQ-Dp4KGiW_.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-CKpHxxKg.js → TopExCard-DbPlohSJ-YKd6FEuQ.js} +4 -4
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-zNlOv5On.js → TopExDetailPage-Cla8Hd-1-1fpYe-lT.js} +9 -9
- package/dist/assets/{TransactionDetailPage-BzaDB50S-6K-8nkD6.js → TransactionDetailPage-BbjtQvBr-DNyUqobk.js} +45 -45
- package/dist/assets/{TransactionList-DMd3dgoK-CLgrj5t0.js → TransactionList-BRiHadkm-BVpjF8up.js} +14 -14
- package/dist/assets/{TransactionListBig-BxHqh8u6-_P9SDt8S.js → TransactionListBig-BOeu4-R4-Cua70V6_.js} +20 -20
- package/dist/assets/TransactionListPage-ByVvx6ON-C32shKZQ.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-DMweGn3b-CelejD-M.js +80 -0
- package/dist/assets/{TransferDrawerPage-oV7ickRP-5Eww1c_s.js → TransferDrawerPage-BTqCR3Hb-CYdeK3jF.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-DsPaT5wp.js → TreasuryOverviewPage-CDJtsQsC-ns0b2xlD.js} +42 -42
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-DbUuqsJn.js → TreasuryPromoPage-Bqt6DcqL-DbWZMgaj.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-2PsC-PWa-MMDwIX2Z.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-MFFnXqVo.js +58 -0
- package/dist/assets/{TrendChart-C_6ob-SX-CNkMjJ7x.js → TrendChart-DiutckSt-CgHLzJj6.js} +4 -4
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-DdlZeAtv.js → TrendWithTransactions-rPwZKHfV-DNKy45Dj.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-Cgic9eeC.js → UncategorizedAccountsMappingPage-CFx4P194-CH9WyFGN.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-Cl7tn05L.js → UnitIntegrationPage-DO8dMzVg-DvbEuGmN.js} +6 -6
- package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js +38 -0
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--BqeJAf6W.js → Vendor2FAPopup-BdG-Ywma-QkJvZ609.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-Dh7VC92k.js → VendorACHDetailsPage-BUNmE_s6-5dZ0tO5y.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-8Uqpk4ze.js → VendorDetailPage-Dy9McuGu-BueeE3oi.js} +19 -19
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-7VOlTeLI.js → VendorDomesticWireDetailsPage-DvACrh7C-fv6qIbh-.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-BXYIOtNt.js → VendorFiling1099EditablePage-Y0hGO4RH-Bkykk5NB.js} +21 -21
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-DqUSgRG9.js → VendorFirstReviewPage-C-pT1M36-D21-SWZN.js} +50 -50
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-Bp9LJlPA.js → VendorInternationalWireDetailsPage-CCMramET-CvrUOrMX.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-DLcr_p5Y.js → VendorInternationalWireSwiftDetailsPage-lxD_Z5W--BAaZ1iJw.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-DPKbgQ3f.js → VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js} +2 -2
- package/dist/assets/{VerifyDevice-DE3UbLEe-8CXh-0a9.js → VerifyDevice-DDZdWfa8-C2_zooti.js} +7 -7
- package/dist/assets/{VideoPlayer-Gw_PLr8F-DVeDzAlW.js → VideoPlayer-D0GZ_Yml-CzUqkm8K.js} +2 -2
- package/dist/assets/{VideoPopup-DPZYhLgy-BzGmVjpY.js → VideoPopup-CEdhfU31-CRc_PqEa.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-GWzWrxrB.js → WarningsDrawerPage-CIK9lkT2-4Dbh3gee.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-Dy1WX8Sh.js → ZeniAccountDetailPage-BF8cg2oa-D23upslb.js} +36 -36
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-DyYliYsL.js → ZeniAccountListViewPage-BkdkYY8j-BsJgCgRQ.js} +9 -9
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DX40_WfT.js → ZeniAccountNavBarPieces-FAxN1QDY-BljetA4S.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-CAN8a9xp.js → ZeniAccountPromoPage-COAOIU03-Bkst1764.js} +31 -31
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-BLYsiWRn.js → ZeniAccountSetupPage-QMBiVius-DdJzbNoZ.js} +6 -6
- package/dist/assets/{ZeniCopyright-FFqiWypL-ClNN14Sj.js → ZeniCopyright-CgfP-kcy-BQ8g3w-z.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-CY6pLC2m.js → ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js} +3 -3
- package/dist/assets/{add-to-wallet-DgdBD8_G-CmJT13gp.js → add-to-wallet-DgdBD8_G-BctcirlU.js} +1 -1
- package/dist/assets/{analytics-XaDXTZcq.js → analytics-DGBWhVbe.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-CCZefn7k.js → analyticsHelper-BKtlFOJm-DFeq4K6y.js} +1 -1
- package/dist/assets/analyticsHelper-BY515BEN.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-7DsZUZDF.js → arrow-south-east-round-PEovUgvH-DFZl4BUT.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-iFkTgScT.js → auto-transfer-rule-mbafm5D3-BCnmjSj0.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-vis3Ppko.js → chartTypes-BZYC5y5J-fsutalT0.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-B6mWoroN.js → commonDimensions-B-aZt-hB-CyMsSMR_.js} +1 -1
- package/dist/assets/{core-3dlyNYRL.js → core-B-FNbYlu.js} +12 -12
- package/dist/assets/{dash.all.min-DBAY9LgI.js → dash.all.min-BBsvkPzr.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-w2-qTde1.js → detailCommon-DCtkwfR8-BBwf5Sk5.js} +2 -2
- package/dist/assets/{downloadPdf-yGlKpV2--Y8lOVYTP.js → downloadPdf-BhQlJMh0-BaxCiwAc.js} +1 -1
- package/dist/assets/{empty-DeBX16Fq.js → empty-TjEo4rDg.js} +1 -1
- package/dist/assets/epic-DMZtehrN.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CvUdutGd.js → gift-box-Cmt9OgIZ-aujv_noX.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js → graphic-no-data-l-DU4J8fDt-DTSR9TM8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DcAe6xm4.js → graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-D7G7L1P7.js → handshake-BPg58FML-BjSDfVm7.js} +1 -1
- package/dist/assets/{index-BzfDeuOT.js → index-BhteR_e0.js} +3325 -3235
- package/dist/assets/{index-DYDdrdFx.js → index-CFi0iD-l.js} +1 -1
- package/dist/assets/{index-CEtuJXY3.js → index-CL_7G35J.js} +1 -1
- package/dist/assets/{index-DrmeEdvK.js → index-DdJI4MMd.js} +1 -1
- package/dist/assets/{index-CdTBIE6I.js → index-dPPP2cWo.js} +1 -1
- package/dist/assets/{index-DQmBF4-D.js → index-piC0sJHK.js} +1 -1
- package/dist/assets/{liveblocks-CNYVvsag.js → liveblocks-BBTLClA6.js} +1 -1
- package/dist/assets/{lottie-22bRan8M.js → lottie-gmZDfwf4.js} +2 -2
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-CE171aMF.js → mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-DrWPogDr.js → mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-C7NOdCBj.js → mapSpacerToTreeNode-BPbkmHFY-Ce33KPvG.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-r-xCXIcX.js → mapTimeframeBalancesToTreeNode-B-kK0AfR-BuUApKLg.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-Rww75weA.js → mapTimeframeBalancesToTreeNode-BvN4m9TA-kT_avyio.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-BHUC6JHc.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js} +1 -1
- package/dist/assets/{mui-bYXq4XMS.js → mui-DLNyBjYF.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Bc8Xpsuq.js → page-detail-CWX5S47F-Dn7FEY9U.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Clpw2LWj.js → radio-default-CiSgisfh-B6CtarQ8.js} +1 -1
- package/dist/assets/{react-BpmEXSTM.js → react-2VG2yH4x.js} +1 -1
- package/dist/assets/{react-B84192hO.js → react-BiH01iGK.js} +2 -2
- package/dist/assets/{react-BvHTyLQY.js → react-Bqj7JUF5.js} +1 -1
- package/dist/assets/{react-Egsc5mMa.js → react-CeCWo9lx.js} +3 -3
- package/dist/assets/{react-BUQtf2po.js → react-CwPTei9W.js} +2 -2
- package/dist/assets/{react-CA3XI5Yc.js → react-CxPSrq5B.js} +1 -1
- package/dist/assets/{react-BuvI16A0.js → react-VfkIuzgx.js} +1 -1
- package/dist/assets/{react-Cz0zQhlY.js → react-sPv488Z5.js} +1 -1
- package/dist/assets/{recharts-h5iNQbFd.js → recharts-Cnl2EvUV.js} +1 -1
- package/dist/assets/{sentry-cYFeB6Pw.js → sentry-EYLV4XmG.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BXuToJ7O.js → shield-DOlUxcFf-DYYbm8md.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-E72ORuv4.js → toCOABalancesWithID-ChMShONK-DKVddnaL.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-OuMMtKUa.js → toChartData-BUweupH8-9P9fGujj.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-0pwHfQC6.js → transaction-placeholder-CpOwZAMG-R9RAntKW.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-BmVWSSt_.js → uploadAttachment-CeUHLpzO-CvskAe_e.js} +23 -23
- package/dist/assets/{uploadReceipts-Bkf_PaOH-C3QTKEAv.js → uploadReceipts-Bkf_PaOH-B-Qf32vH.js} +1 -1
- package/dist/assets/{url-DPKHmOp_.js → url-DzcuVjHh.js} +1 -1
- package/dist/assets/{url-B-8T_WZb.js → url-dmxYLsoS.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-8uipnze8.js → useLongPress-GCK2COYQ-BC43nxgO.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-ClwDS-nj.js → usp-line-BBd1wKwW-_aHpaGit.js} +1 -1
- package/dist/assets/utils-D1zwltK3.js +70 -0
- package/dist/assets/{zeni-epic-state-BwKvATgd.js → zeni-epic-state-HWtMOH-U.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-CxWBk_t_-qPYiFJSq.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DVvzKHJQ-kmmeDebU.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-e8qbO2Y5-DsaJZQWB.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-CnLGJ0xc.js +0 -47
- package/dist/assets/ArAgingDetailPage-BEKsyA9Q-7a6TaIXp.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-ppU1Epmy-BVL7a4hF.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-UblNi2mR-C84KMJKz.js +0 -235
- package/dist/assets/ChargeCardPromoPage-uqT96W3_-CeqDR53z.js +0 -222
- package/dist/assets/CreditCardPaymentDrawerPage-BvifQpD3-CKtkQXFi.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-Dtf3INy1.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DUMQKVfM-BM9txdIv.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-BS-OReem-DDmHQNjM.js +0 -66
- package/dist/assets/EditPeoplePage-BgsR09q8-CEehYeHu.js +0 -55
- package/dist/assets/EntityDetailPage-Cvd4MG0F-HlxSZMDv.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DW6Pxoah-Ctf3nYeu.js +0 -1650
- package/dist/assets/InsightsSection-B3xD0SZ9-Bq9pMcss.js +0 -27
- package/dist/assets/InvitePeoplePage-BqzJOjVI-BuNYyatr.js +0 -12
- package/dist/assets/IssueChargeCardPage-CRtJDmrZ-YScD5lVM.js +0 -532
- package/dist/assets/LabeledDocumentField-p3pI5qLu-DEgMORLm.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-B9i-tfwt.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CDB2igue-D0JS60DY.js +0 -1
- package/dist/assets/NotificationsListConfig-BJm7A9Mz-DNN8xXMd.js +0 -1
- package/dist/assets/OverlayContainerPage-CrZuT2Jj-C4_lIvBh.js +0 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C_dTOk5P-Bf4aX0F8.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-B5lca4qx-B6B_PqnR.js +0 -237
- package/dist/assets/ReimbursementPromoPage-Bjm0UHcm-Ds7mgpFk.js +0 -84
- package/dist/assets/ReviewDetailsPage-COx9R71r-DWjftc73.js +0 -290
- package/dist/assets/SpendManagementListViewPage-AI676Urw-Dg56Cd43.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D79c3Xqh-BBXH9q0t.js +0 -754
- package/dist/assets/StatementItem-Aal79YaO-rV9Mr1N9.js +0 -31
- package/dist/assets/TransactionListPage-CN9fZznd-D7O-RTyH.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-CykcquSh-C9KUicY5.js +0 -80
- package/dist/assets/TreasuryStatementsPage-QyWxshsI-ix86c1ud.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-BLmfU0VD-DlyZ-4ZM.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-CJYvOjh0-B8P8CMZI.js +0 -38
- package/dist/assets/analyticsHelper-9zRS_Y19.js +0 -1
- package/dist/assets/epic-BLwHhkRJ.js +0 -2
- package/dist/assets/utils-fBOyu0sO.js +0 -70
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{q as B,e as _,F as L,V as o,ck as D,o as r,gU as se,d as R,n as ie,b as Q,bF as Z,y as J,gV as ce,gW as de,cY as ee,bG as A,b8 as pe,ag as te,gX as ue,bE as oe,av as he,gY as ge,gZ as me,ak as V,b7 as fe,g_ as xe,ax as ye,g$ as Ce,h0 as be,p as ve,cV as we,bL as $e,fX as Se,m as je,B as H,L as ke,fY as Le,aQ as Oe}from"./index-BhteR_e0.js";import{a}from"./core-B-FNbYlu.js";import{n as l,k as Ee}from"./mui-DLNyBjYF.js";import{Fu as Ie,Fs as Ae,Ft as Fe,Fq as Me,Fr as Te}from"./zeni-epic-state-HWtMOH-U.js";const Re=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -6,7 +6,7 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,N=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Pe(C),b=n.find(f=>f.value===e);return a.useEffect(()=>{const f=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(f)}},[t]),o.jsx(Z,{ref:y,isMulti:!1,value:b,onChange:f=>{p(f)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:f=>ze(f,s),SingleValue:f=>_e(f,s)}})},_e=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(
|
|
9
|
+
`,N=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Pe(C),b=n.find(f=>f.value===e);return a.useEffect(()=>{const f=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(f)}},[t]),o.jsx(Z,{ref:y,isMulti:!1,value:b,onChange:f=>{p(f)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:f=>ze(f,s),SingleValue:f=>_e(f,s)}})},_e=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(pe,{children:n})})},ze=(e,t)=>{const{isSelected:n}=e,i=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(Re,{children:[o.jsx(te,{children:i}),n?o.jsx(Be,{}):null]})})},Pe=e=>({placeholder:t=>({...t,color:e.colors.grey1,...Q.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}`})}),De="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",Ve=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -31,17 +31,17 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
31
31
|
align-items: center;
|
|
32
32
|
column-gap: ${r.sp3};
|
|
33
33
|
justify-content: space-between;
|
|
34
|
-
`,
|
|
34
|
+
`,Ye=l.img`
|
|
35
35
|
height: ${r.sp3};
|
|
36
36
|
width: ${r.sp3};
|
|
37
37
|
border-radius: 50%;
|
|
38
38
|
justify-content: center;
|
|
39
39
|
color: ${e=>e.theme.colors.hero};
|
|
40
|
-
`,
|
|
40
|
+
`,Ge=l(Se)`
|
|
41
41
|
color: ${e=>e.theme.colors.hero};
|
|
42
42
|
height: ${r.sp4};
|
|
43
43
|
width: ${r.sp4};
|
|
44
|
-
`,
|
|
44
|
+
`,Xe=l(oe)`
|
|
45
45
|
color: ${e=>e.theme.colors.primary};
|
|
46
46
|
height: ${r.sp3};
|
|
47
47
|
min-width: ${r.sp3};
|
|
@@ -49,10 +49,10 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
height: 10px;
|
|
51
51
|
width: 10px;
|
|
52
|
-
`,
|
|
52
|
+
`,qe=l(Oe)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,
|
|
55
|
+
`,Qe=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=be(y),[b,f]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&f(d=>xe([...d,...p?.entityAutoCompleteView!=null?Ze(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>b.find(x=>x.value===d)),v=a.useRef(ye(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(Ve,{children:i==="dateRange"?o.jsx(Ce,{onDateRangeChange:d=>{C([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(He,{children:[S.length===0&&i==="user"&&o.jsx(Ge,{}),o.jsx(Z,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{C(d)},placeholder:n,options:b,styles:h,menuPosition:"fixed",components:{Option:et,MultiValueLabel:Je,MultiValueRemove:tt},filterOption:(d,x)=>rt(d,x,i),noOptionsMessage:()=>ot(i,j)})]})})},Ze=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Je=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Ne,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(qe,{children:e.children})]})})},et=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:C}=e.selectProps,y=s.findIndex(b=>b.value===e.data.value),h={...e,innerProps:p};return o.jsx(A.Option,{...h,children:o.jsxs(Ue,{children:[o.jsxs(We,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,C),o.jsx(te,{children:e.label})]}),e.isSelected&&o.jsx(Xe,{})]})})},tt=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ke,{})}),ot=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(je,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(H,{children:n.noMatchesFound})}return o.jsx(H,{children:n.noOptions})},re=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Le,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ye,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=De},loading:"lazy"}),rt=(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()),F={categoryCombinationOperator:"AND",categories:[]},ne={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},M=(e,t)=>{switch(e){case"bill_pay":return Te;case"reimbursement":return Me(t)?Ae:Fe;case"task_management":return Ie}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},nt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ne,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},lt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},at=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},st={width:new J(215,315)},W=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
@@ -62,12 +62,12 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
62
62
|
align-items: flex-start;
|
|
63
63
|
flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
|
|
64
64
|
row-gap: ${e=>e.windowSize==="small"?r.sp3:r.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,Y=l.div`
|
|
66
66
|
width: 90px;
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,G=l.div`
|
|
69
69
|
width: 194px;
|
|
70
|
-
`,
|
|
70
|
+
`,X=l.button`
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
column-gap: ${r.sp1};
|
|
@@ -123,7 +123,7 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
123
123
|
width: ${e=>st.width.valuePx(e.windowSize)};
|
|
124
124
|
background: ${e=>e.theme.colors.background};
|
|
125
125
|
border-radius: ${r.sp1};
|
|
126
|
-
`,
|
|
126
|
+
`,q=l.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
align-items: center;
|
|
129
129
|
column-gap: ${r.sp3};
|
|
@@ -139,7 +139,7 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
139
139
|
align-items: flex-start;
|
|
140
140
|
column-gap: ${r.sp3};
|
|
141
141
|
animation: ${ft} 0.4s;
|
|
142
|
-
`,le=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=he(),h=B(),b=a.useCallback((c,u)=>{const g=nt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),f=a.useCallback((c,u)=>{const g=lt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(F);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(F)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...ne}]})},O=()=>{s(F)},$=a.useCallback((c,u)=>{const g=at({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,x=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(pt,{children:[o.jsxs(
|
|
142
|
+
`,le=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=he(),h=B(),b=a.useCallback((c,u)=>{const g=nt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),f=a.useCallback((c,u)=>{const g=lt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(F);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(F)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...ne}]})},O=()=>{s(F)},$=a.useCallback((c,u)=>{const g=at({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,x=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(pt,{children:[o.jsxs(X,{onClick:j,children:[o.jsx(it,{}),o.jsx(V,{children:d.addFilterBtnText})]}),o.jsxs(X,{onClick:O,children:[o.jsx(ct,{}),o.jsx(V,{children:d.clearAllBtnText})]})]}):null,E=()=>e.categories==null||e.categories.length===0?o.jsx(W,{children:o.jsx(U,{children:o.jsxs(q,{children:[o.jsx(Y,{children:o.jsx(K,{children:d.filterByLabel})}),o.jsx(G,{children:o.jsx(N,{defaultMenuIsOpen:!0,onChange:b,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>T(n,c),options:M(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=M(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?T(n,g?.value):"";return o.jsxs(U,{windowSize:h,children:[o.jsxs(q,{children:[o.jsxs(Y,{children:[u===0&&o.jsx(K,{children:d.filterByLabel}),u!==0?o.jsx(ge,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(G,{children:o.jsx(N,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>b(w,u),getOptionLabel:w=>T(n,w),options:M(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(xt,{children:[o.jsx(dt,{children:o.jsx(me,{categoryIndex:u,value:c.matchingOperator,onChange:f})}),o.jsxs(gt,{children:[o.jsx(mt,{windowSize:h,children:o.jsx(Qe,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(ut,{onClick:()=>v(u),windowSize:h,children:o.jsx(ht,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(W,{ref:C,children:[E(),x()]})});le.displayName="FiltersSelection";const yt=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 B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
157
157
|
`,bt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,vt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:f})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[x,E]=a.useState("auto"),c=a.useRef(null),u=B(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{f&&Object.keys($[e]).length===0&&C&&s&&d(
|
|
160
|
+
`,vt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:f})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[x,E]=a.useState("auto"),c=a.useRef(null),u=B(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{f&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:f()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,P=I!=null?I.clientHeight:0;return u==="small"?"auto":R[7]+(P>0?P:88)+(h!=null?h.height:0)},[t,u,h]);a.useEffect(()=>{if(v!==O.current){E("auto");return}E(w())},[w,v]),a.useEffect(()=>{O.current=v},[v]),a.useEffect(()=>{x==="auto"&&E(w())},[x,w]);const ae=()=>o.jsx(ue,{anchorEl:S.current,open:v,onClose:g,paperStyle:{overflow:"visible"},children:o.jsxs(yt,{height:x,windowSize:u,children:[h!=null?o.jsx(Ct,{children:h?.component}):null,o.jsx(bt,{children:o.jsx(le,{filters:t,onFiltersChange:b,filterValues:$[e],selectedEntity:e,ref:c,vendorSearchAutoCompleteActions:i,vendorSearchAutoCompleteData:n})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(I=>I.field!=null&&I.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(ce,{searchPlaceholder:k,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:m,filtersCount:z,includeSearch:!1,filterText:k}),p!=!0&&ae()]})},wt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.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"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.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"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:$t}=L.getLocalizedStrings(),St={filterIconContainerPaddingRight:new J(18,10)};function zt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:i,disableDownloadButton:p,filters:s,searchText:C,downloadParams:y,downloadState:h,showSettingsIcon:b=!0,showSettingsIconOnNavbar:f,showDownloadButtonOnNavbar:S,showStatementButtonOnNavbar:v,showPayEarlyButtonOnNavbar:j,groupByFiltersComponent:O,updateDownloadStateHandler:$,onMenuOpen:d}=e,x=B(),E=_(),[c,u]=a.useState(void 0);a.useEffect(()=>{h!=="Error"&&u(!1)},[h]);let g=$t.moreMenuOptions;f||(g=g.filter(m=>m.value!=="settings")),v||(g=g.filter(m=>m.value!=="statements")),j||(g=g.filter(m=>m.value!=="payEarly")),S||(g=g.filter(m=>m.value!=="download"));const k={};return e.entity==="charge_cards"?k.width="275px":e.entity==="reimbursement"&&(k.width="208px"),o.jsxs(Lt,{children:[o.jsxs(kt,{isSearchOpen:e.isSearchOpen&&x==="small",windowsize:x,children:[x!=="small"&&!e.hideSearchBtn?o.jsx(D,{style:{position:"absolute",left:"unset",...i},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:k,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management")&&e.onFiltersChange!=null?o.jsx(It,{size:x,children:o.jsx(vt,{entity:e.entity,groupByFiltersComponent:O,onFiltersChange:e.onFiltersChange,filters:e.filters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Et,{onClick:e.onClickEmailInfoIcon,children:o.jsx(jt,{})}):null,b?o.jsx(Ot,{onClick:()=>u(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(se,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:x!=="small"?c:void 0,options:g,onMenuOpen:d,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:m=>({...m,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:E.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${E.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:m=>{m==="settings"?e.onClickSetupIcon?.():m==="statements"?e.onClickStatementsIcon?.():m==="payEarly"&&e.onClickPayEarlyIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&y!=null?{entity:t,isDisabled:p,filter:{filters:s,searchText:C},downloadParams:y,downloadState:h,updateDownloadStateHandler:$}:void 0}):o.jsx(Ft,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:x==="small"?o.jsx(At,{onClick:e.onNewButtonClick,children:o.jsx(Mt,{})}):o.jsx(ie,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...Q.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),x==="small"&&!e.hideSearchBtn?o.jsx(D,{style:{position:"absolute",left:"5px",right:x!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const jt=l(wt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,kt=l.div`
|
|
@@ -190,7 +190,7 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
190
190
|
&:hover {
|
|
191
191
|
color: ${e=>e.theme.colors.primary};
|
|
192
192
|
}
|
|
193
|
-
`,
|
|
193
|
+
`,It=l.div`
|
|
194
194
|
display: flex;
|
|
195
195
|
align-items: center;
|
|
196
196
|
justify-content: center;
|
|
@@ -205,7 +205,7 @@ import{Q as B,d as _,F as L,V as o,ck as V,o as r,gU as se,u as R,n as ie,b as q
|
|
|
205
205
|
top: ${r.sp5};
|
|
206
206
|
right: -${r.sp4};
|
|
207
207
|
z-index: 3;
|
|
208
|
-
`,
|
|
208
|
+
`,At=l.div`
|
|
209
209
|
display: flex;
|
|
210
210
|
align-items: center;
|
|
211
211
|
justify-content: center;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{q as y,F as S,hD as b,V as o,m as g,o as r,ak as v,y as z,c0 as j,d as k}from"./index-BhteR_e0.js";import{a as P}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{g as L}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{w as q}from"./downloadPdf-BhQlJMh0-BaxCiwAc.js";const d=S.getLocalizedStrings().months,n={downloadButtonSize:new z(k[4],20)},B=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: ${r.sp3} ${r.sp4};
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
width: 100%;
|
|
6
|
+
`,C=i.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,D=i(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
|
+
`,N=i.div`
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
`,T=i(j)`
|
|
24
|
+
width: ${t=>n.downloadButtonSize.valuePx(t.windowSize)};
|
|
25
|
+
height: ${t=>n.downloadButtonSize.valuePx(t.windowSize)};
|
|
26
|
+
min-height: ${t=>n.downloadButtonSize.valuePx(t.windowSize)};
|
|
27
|
+
color: ${t=>t.theme.colors.hero};
|
|
28
|
+
&:hover {
|
|
29
|
+
color: ${t=>t.theme.colors.primary};
|
|
30
|
+
}
|
|
31
|
+
`;function F({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:a="statement",boxType:p}){const[c,w]=P.useState(!1),x=y(),$=a==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,h=a==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,f={period:`${e.title.year}-${b(e.title.month)}`,format:"pdf"},u=o.jsx(B,{children:o.jsxs(C,{children:[o.jsx(D,{children:$}),o.jsx(N,{onClick:()=>q(a==="treasuryStatement"||a==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(f))}`,h,m,w),children:c?o.jsx(g,{size:"Small",start:!0}):o.jsx(T,{windowSize:x})})]})});return o.jsx(L,{content:u,boxType:p,isDisabled:!1,isNotClickable:!0})}export{F as O};
|
package/dist/assets/{StatementsPage-BG_pNQzc-FNk9HF4E.js → StatementsPage-B8X2un5p-CiIvEzAF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as S,q as z,V as t,bz as C,F as P,b1 as I,o as r,p as m,cq as L,y as B,d as h,ak as E}from"./index-BhteR_e0.js";import{a as p}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{$ as M}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as O}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import{O as N}from"./StatementItem-BnxTFgdM-ncI51LoG.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-BaxCiwAc.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new B(h[3],h[8])},ot=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=S(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?O.transactionItemHeight:24,v=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(N,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:M(a,i.statements.length)},s.id)}):t.jsx(R,{style:{...n},children:t.jsx(T,{children:t.jsx(u,{windowSize:l,children:t.jsx(q,{children:x.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(K,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -17,16 +17,16 @@ import{d as S,Q as z,V as t,bz as C,F as P,b1 as I,o as r,p as m,cq as B,y as E,
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
width: 100%;
|
|
19
19
|
padding-bottom: ${r.sp7};
|
|
20
|
-
`,
|
|
20
|
+
`,q=o(E)`
|
|
21
21
|
display: flex;
|
|
22
22
|
color: ${e=>e.theme.colors.grey2};
|
|
23
|
-
`,
|
|
23
|
+
`,H=o.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
margin-top: ${r.sp6};
|
|
29
|
-
`,
|
|
29
|
+
`,K=o(L)`
|
|
30
30
|
scrollbar-width: thin;
|
|
31
31
|
scrollbar-color: transparent transparent;
|
|
32
32
|
&::-webkit-scrollbar {
|
package/dist/assets/{StatusSwitcher-DYRXaLvx-erQqAcc2.js → StatusSwitcher-BPKr5BUW-lb0m6Cbr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{q as $,V as d,ca as T,F as v,y as f,o as s,d as c,ag as z}from"./index-BhteR_e0.js";import{n as u,b as g}from"./mui-DLNyBjYF.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{SubTabSwitcher-C75XU1EG-khmziXpM.js → SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,
|
|
1
|
+
import{V as r,m as g,o as s,ag as u,aY as m}from"./index-BhteR_e0.js";import{n as i,b as a}from"./mui-DLNyBjYF.js";function v({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs($,{style:d,hasRightComponent:h,children:[r.jsx(x,{children:e.map(t=>{const l=t.id===c,n=t.isDisabled!=null;return r.jsxs(y,{onClick:()=>{l===!1&&!n&&p(t)},isSelected:l,isDisabled:n,children:[r.jsx(b,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(g,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const $=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as d}from"./index-
|
|
1
|
+
import{V as d}from"./index-BhteR_e0.js";import{E as n,T as t}from"./ReloadCard-DMWwNZ1z-CIbg2f6Q.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as gt,
|
|
1
|
+
import{av as gt,e as qe,V as t,F as se,jm as Y,bz as kt,a9 as U,cm as xt,ak as K,ap as wt,o as s,eK as Ze,cf as Ne,cj as ft,g1 as Ct,b7 as Tt,bL as Xe,aQ as $t,q as ie,a8 as jt,y as Je,cB as yt,ab as bt,b1 as vt,cq as St,iK as Gt,iL as Lt,jn as De,aO as Nt,n as Me,bQ as Ee,eG as Qe,jo as Et,cY as et,jp as ce,jq as ke,jr as It,js as xe,jt as tt,ju as st,jv as ot,jw as nt,jx as at,jy as rt,jz as _,d as ge,jA as ae,ag as re,jB as Mt,jC as Dt,L as zt,am as Bt,jD as Rt,d7 as At,jE as Wt,cO as it,ek as Ot,b as Ft,jF as Pt,jG as Ht,g2 as Ut,eJ as Vt,jH as _t,jI as X,jJ as ze,cs as Kt,jK as Yt,jL as qt,jM as Be,jN as Zt,p as Re,gq as Xt,al as Jt}from"./index-BhteR_e0.js";import{a as n}from"./core-B-FNbYlu.js";import{n as o,b as we}from"./mui-DLNyBjYF.js";import{FL as Qt,FM as Ae,ce as lt,cf as dt,cg as es}from"./zeni-epic-state-HWtMOH-U.js";import{J as ts,K as ss}from"./SpendManagementSection-LzT-Bnhy-DcyEJGSm.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-BQCb9x9X-C3jJIn48.js";import{getDashboardFilterCategoryValues as is}from"./SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./StatusSwitcher-BPKr5BUW-lb0m6Cbr.js";const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:p=ps})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=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)},I=x=>v(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="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,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=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,u,m,e,p,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;
|
|
@@ -16,7 +16,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
16
16
|
outline-color: inherit;
|
|
17
17
|
`,ms=o(Bt)`
|
|
18
18
|
color: inherit;
|
|
19
|
-
`,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:u,value:r,resetDisabled:h,onReset:m}=e,p=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const c=
|
|
19
|
+
`,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:u,value:r,resetDisabled:h,onReset:m}=e,p=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const c=Ae(a.value);if(c!=null)u(c);else throw new Error("Invalid taskListGroupByKey")},options:Qt,getOptionLabel:a=>{const c=Se.texts,i=Ae(a);return i!=null?c[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:p,isDisabled:h,children:[t.jsx(Cs,{}),t.jsx(K,{children:Se.reset})]})]})}const ks=o.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
column-gap: ${s.sp4};
|
|
@@ -44,7 +44,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
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:u,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:p}){const a=()=>{p(),h()};return t.jsx(Ze,{open:!!u,anchorEl:u,onClose:p,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(ys,{children:e.map(c=>{const i=()=>{p(),m(c.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:c.groupName})},c.id)})}),t.jsx(
|
|
47
|
+
`,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:u,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:p}){const a=()=>{p(),h()};return t.jsx(Ze,{open:!!u,anchorEl:u,onClose:p,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(ys,{children:e.map(c=>{const i=()=>{p(),m(c.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:c.groupName})},c.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const js=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,Oe=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -97,7 +97,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
97
97
|
`,Es=o(zt)`
|
|
98
98
|
width: ${s.sp3};
|
|
99
99
|
height: ${s.sp3};
|
|
100
|
-
`,Is=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ds=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:Bs}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function
|
|
100
|
+
`,Is=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ds=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:Bs}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:u,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:p,onExpandTemplate:a,onClose:c,onNewTaskClick:i,onNewGroupClick:d,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:v,onNewTaskInitialization:I}){const M=qe(),[k,f]=n.useState(null),[w,D]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(D(null),f(null),c())},[h.fetchState,c]);const z=n.useCallback(($,x)=>{f(x),v($,x)},[v]),B=n.useCallback($=>{D($),C($)},[C]);return t.jsx(Ze,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${M.colors.grey3}`}},anchorEl:e,onClose:c,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ws,{isTaskTemplatesEnabled:m,children:[t.jsxs(Ps,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ne,{children:J.task})]}),t.jsx(U,{controller:u==="groupName",children:t.jsxs(Pe,{onClick:()=>d(""),children:[t.jsx(Fs,{}),t.jsx(Ne,{children:J.group})]})})]}),m?t.jsx(As,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:p,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:d,onNewTaskInitialization:I,onExpandTemplate:a}):null]})})}const As=({taskGroupTemplates:e,taskIdInCreation:u,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:p,handleGroupTemplateTaskClick:a,onNewGroupClick:c,onNewTaskInitialization:i})=>{const[d,C]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(d.toLowerCase()))k.push(f);else{const w=f.tasks.filter(D=>D.name.toLowerCase().includes(d.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,d]),I=n.useCallback(()=>{i(d)},[d,i]),M=n.useCallback(()=>{c(d)},[d,c]);return t.jsxs(Hs,{children:[t.jsx(Us,{children:t.jsxs(_s,{children:[t.jsxs(Vs,{children:[t.jsx(Ks,{}),t.jsx(Ys,{children:J.groupTemplates})]}),t.jsx(vs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:d,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(U,{controller:v.length>0,children:t.jsx(qs,{children:v.map(k=>{const f=h===k.id;return t.jsxs(no,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Xs,{children:[t.jsx(U,{controller:f,children:t.jsx(oo,{})}),t.jsx(U,{controller:!f,children:t.jsx(so,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(eo,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),p(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(U,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Js,{children:[t.jsxs(Qs,{children:[t.jsx(ao,{className:"styled-dot"}),t.jsx(lo,{className:"task-name-text",children:w.name})]}),t.jsx(to,{loading:u===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Bs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:v.length===0,children:[t.jsx(ro,{children:t.jsx(io,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:I,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",d)})]}),t.jsxs(He,{onClick:M,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",d)})]})]})]})},Ws=o.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex-direction: column;
|
|
103
103
|
width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
|
|
@@ -126,12 +126,12 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
126
126
|
`,Hs=o.div`
|
|
127
127
|
background-color: ${e=>e.theme.colors.grey5};
|
|
128
128
|
padding-bottom: ${s.sp2};
|
|
129
|
-
`,
|
|
129
|
+
`,Us=o.div`
|
|
130
130
|
display: flex;
|
|
131
131
|
justify-content: space-between;
|
|
132
132
|
align-items: center;
|
|
133
133
|
padding: ${s.sp2} ${s.sp3};
|
|
134
|
-
`,
|
|
134
|
+
`,Vs=o.div`
|
|
135
135
|
display: flex;
|
|
136
136
|
column-gap: ${s.sp2};
|
|
137
137
|
align-items: center;
|
|
@@ -234,7 +234,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
234
234
|
background-color: ${e=>e.theme.colors.background};
|
|
235
235
|
color: ${e=>e.theme.colors.primary};
|
|
236
236
|
}
|
|
237
|
-
`,
|
|
237
|
+
`,Ue=o(et)`
|
|
238
238
|
width: ${s.sp3};
|
|
239
239
|
height: ${s.sp3};
|
|
240
240
|
`,lo=o(K)`
|
|
@@ -243,7 +243,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Ge,dateFormat:co,taskManagement:Ie}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},po=({taskDetail:e,tagList:u,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:p})=>{const a=ie(),c=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,d=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:I}=it(),M=(k,f)=>{const w=Be(k,f,xe);I(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(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(
|
|
246
|
+
`,{common:Ge,dateFormat:co,taskManagement:Ie}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},po=({taskDetail:e,tagList:u,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:p})=>{const a=ie(),c=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,d=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:I}=it(),M=(k,f)=>{const w=Be(k,f,xe);I(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(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ve,{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(Ve,{windowSize:a,responsiveWidth:X[4].width,children:c>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Io,{children:t.jsx(Mo,{children:d})}),c>1?t.jsx(xo,{children:`${Ge.strings.plus}${c-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Yt(e.tagIds,u)}):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:Ie.common.timeSpentPlaceholder,timeSpentFormat:Ie.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>Zt?(p({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:u,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:p,isCollapsed:a,existingTaskGroupNamesByGroupId:c,onDeleteTaskGroup:i,onExpandAll:d,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:I,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{I(e.id)},[I,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),j=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{$(`${r}.groupName`),j()},[j,r,$]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(U,{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:Ie.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Pt(W,e.id,c)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx($o,{onClick:S,children:t.jsx(jo,{})}),t.jsx(Ht,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:d,onRename:y,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:p===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const V=()=>{M(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:V,tagList:u,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(yo,{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;
|
|
@@ -256,7 +256,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
256
256
|
width: 100%;
|
|
257
257
|
background-color: ${e=>e.theme.colors.grey5};
|
|
258
258
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
259
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${
|
|
259
|
+
box-shadow: ${e=>e.theme.mode==="dark"?`${Re.dropShadowNormalDark} ${s.sp0} 2px ${s.sp1}`:`${s.sp0} 2px ${s.sp1} ${Re.dropShadowNormalLight}`};
|
|
260
260
|
border-radius: ${s.sp2};
|
|
261
261
|
cursor: pointer;
|
|
262
262
|
&:hover {
|
|
@@ -311,7 +311,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
311
311
|
color: ${e=>e.theme.colors.primary};
|
|
312
312
|
`,$o=o.div`
|
|
313
313
|
cursor: pointer;
|
|
314
|
-
`,jo=o(
|
|
314
|
+
`,jo=o(Vt)`
|
|
315
315
|
width: ${s.sp3};
|
|
316
316
|
height: ${s.sp3};
|
|
317
317
|
`,yo=o.div`
|
|
@@ -375,7 +375,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: center;
|
|
377
377
|
column-gap: ${s.sp2};
|
|
378
|
-
`,
|
|
378
|
+
`,Ve=o.div`
|
|
379
379
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
380
380
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
381
381
|
overflow: hidden;
|
|
@@ -404,7 +404,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
404
404
|
justify-content: ${e=>e.isLastColumn===!0?"flex-end":"flex-start"};
|
|
405
405
|
padding-right: ${e=>e.isLastColumn===!0?s.sp2:s.sp0};
|
|
406
406
|
column-gap: ${s.sp2};
|
|
407
|
-
`,
|
|
407
|
+
`,Ro=o.div`
|
|
408
408
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
409
409
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
410
410
|
overflow: hidden;
|
|
@@ -416,10 +416,10 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
416
416
|
justify-content: ${e=>e.isLastColumn===!0?"flex-end":"flex-start"};
|
|
417
417
|
padding-right: ${s.sp1};
|
|
418
418
|
column-gap: ${s.sp2};
|
|
419
|
-
`,
|
|
419
|
+
`,Ao=o.div`
|
|
420
420
|
width: inherit;
|
|
421
421
|
position: relative;
|
|
422
|
-
`,Wo=o(
|
|
422
|
+
`,Wo=o(Ao)`
|
|
423
423
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
424
424
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
425
425
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -430,7 +430,7 @@ import{av as gt,d as qe,V as t,F as se,jm as Y,bz as kt,a9 as V,cm as xt,ak as K
|
|
|
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(),_e=e=>`${e}_form`,Po={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),jn=({taskListView:e,tagListView:u,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:c,onTaskManagementRowClick:i,onReloadTasks:d,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:I,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:j,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:je}=u,ye=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=>{y(R)},[y]),O=de.users.map(R=>R.user).filter(R=>R!=null),N={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??[],u.tagList)},E=n.useCallback(R=>{le(null),F(Y),c({...e.localData,newTaskGroupName:R})},[e.localData,c]),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:d,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:je,renameActiveField:Q,updateTask:m,onDragNDrop:p,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:U,updateLocalData:c,setActiveTaskGroupId:oe,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:N});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:I,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(V,{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:u,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:p,onDragNDrop:a,updateLocalData:c,setShowDeleteModal:i,handleCreateGroup:d,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:I,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),j=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=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u])}),q=n.useMemo(()=>{if(r!==Y)return y;const l=[],G=y.map(O=>{const N=O.tasks.filter(E=>{const A=g.selectedTaskIds.includes(E.id)===!0;return A&&l.push(E),A===!1});return{...O,tasks:N}});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:j.current?.[l]!=null?j.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)=>{j.current={...j.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(()=>{I(),$.current?.scrollTo(0),ne()},[ne,I]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?Z():d(!0):r===Y?d(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Z,d,m]),$e=n.useCallback(()=>{p(null),C()},[C,p]),je=n.useCallback(l=>{C(),p(l)},[C,p]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const N=l.split(".")[2],E=y.flatMap(b=>b.tasks).find(b=>b.id===N),A=G[_][ae][N].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 N=l.split(".")[2],E=y.flatMap(b=>b.tasks).find(b=>b.id===N),A=G[_][ae][N].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 N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),A=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].assignees.selectedUsers.map(T=>T.userId);A!=null&&b!=null&&E!=null&&h(E,{assignees:b});return}if(l.includes(ot)){const N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),A=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].dueDate.date;A!=null&&b!=null&&E!=null&&h(E,{dueDate:b});return}if(l.includes(tt)){const N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),A=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].tags.selectedOptions;A!=null&&b!=null&&E!=null&&h(E,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=_o(l,G,g);c(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&yt(()=>be(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&p(null)},[p,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(bt,{...oe,children:t.jsx("form",{id:_e(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:u,taskGroupsWithTasksList:q,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,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:Vo})})})})}),me?t.jsx(Nt,{formId:_e(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(V,{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(V,{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]})},Vo=({index:e,style:u,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:p,taskGroupsWithTasksList:a,uiState:c,renameActiveField:i,collapsedGroups:d,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:I,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&I(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:{...u,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Uo,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:c,isCollapsed:d.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:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Uo=({taskGroup:e,tagList:u,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,userList:i,existingTaskGroupNamesByGroupId:d,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:I,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(j,{taskGroup:e,tagList:u,userList:i,sectionId:_,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,existingTaskGroupNamesByGroupId:d,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:I,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,u,r,h)=>{const m={},p={};e.forEach(c=>{p[c.id]={[ke]:[],[ce]:u.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(i=>{u.selectedTaskIds.includes(i.id)&&p[c.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(d=>({label:d.name,value:d.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(d=>({label:d.name,value:d.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(d=>d.user)},[tt]:{allOptions:It(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Y]:{[ce]:u.newTaskGroupName,[ke]:[]},...p},[ae]:m};return{[_]:a}},_o=(e,u,r)=>{if(e.includes(_)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Y)?{...r,newTaskGroupName:u[_].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:u[_].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(u[_][rt]),ke)).filter(p=>p!==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(),_e=e=>`${e}_form`,Po={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),jn=({taskListView:e,tagListView:u,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:c,onTaskManagementRowClick:i,onReloadTasks:d,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:I,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,V]=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:je}=u,ye=qe(),be=A=>{ne(A)},he=n.useCallback(A=>{le(A.currentTarget)},[]),me=n.useCallback(A=>{B(A)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(A=>{y(A)},[y]),O=de.users.map(A=>A.user).filter(A=>A!=null),N={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??[],u.tagList)},E=n.useCallback(A=>{le(null),F(Y),c({...e.localData,newTaskGroupName:A})},[e.localData,c]),R=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{F(Y)},[]),te=n.useCallback(A=>{pe(mt=>mt===A?null:A)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&V(!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:d,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:je,renameActiveField:Q,updateTask:m,onDragNDrop:p,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:V,updateLocalData:c,setActiveTaskGroupId:oe,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:N});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:I,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:Z.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:M,onNewGroupClick:E,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:q}),t.jsx(Ko,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{V(!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:u,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:p,onDragNDrop:a,updateLocalData:c,setShowDeleteModal:i,handleCreateGroup:d,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:I,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[V,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=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u])}),q=n.useMemo(()=>{if(r!==Y)return y;const l=[],G=y.map(O=>{const N=O.tasks.filter(E=>{const R=g.selectedTaskIds.includes(E.id)===!0;return R&&l.push(E),R===!1});return{...O,tasks:N}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>V.includes(q[l].id)||q[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Po.rowGap.value(L):(os*1+ns)*3+as+rs,[V,q,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.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(()=>{I(),$.current?.scrollTo(0),ne()},[ne,I]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?Z():d(!0):r===Y?d(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Z,d,m]),$e=n.useCallback(()=>{p(null),C()},[C,p]),je=n.useCallback(l=>{C(),p(l)},[C,p]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const N=l.split(".")[2],E=y.flatMap(b=>b.tasks).find(b=>b.id===N),R=G[_][ae][N].priority.selectedOption;if(E!=null&&R!=null){const b=lt.find(T=>T.code===R);b!=null&&h(E,{priority:b})}return}if(l.includes(at)){const N=l.split(".")[2],E=y.flatMap(b=>b.tasks).find(b=>b.id===N),R=G[_][ae][N].status.selectedOption;if(E!=null&&R!=null){const b=dt.find(T=>T.code===R);E!=null&&b!=null&&h(E,{status:b})}return}if(l.includes(st)){const N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),R=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].assignees.selectedUsers.map(T=>T.userId);R!=null&&b!=null&&E!=null&&h(E,{assignees:b});return}if(l.includes(ot)){const N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),R=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].dueDate.date;R!=null&&b!=null&&E!=null&&h(E,{dueDate:b});return}if(l.includes(tt)){const N=l.split(".")[2],E=y.flatMap(T=>T.tasks).find(T=>T.id===N),R=y.find(T=>T.tasks.find(te=>te.id===N))?.id,b=G[_][ae][N].tags.selectedOptions;R!=null&&b!=null&&E!=null&&h(E,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=_o(l,G,g);c(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&yt(()=>be(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&p(null)},[p,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(bt,{...oe,children:t.jsx("form",{id:_e(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:u,taskGroupsWithTasksList:q,uiState:W,collapsedGroups:V,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,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:Uo})})})})}),me?t.jsx(Nt,{formId:_e(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(U,{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(U,{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]})},Uo=({index:e,style:u,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:p,taskGroupsWithTasksList:a,uiState:c,renameActiveField:i,collapsedGroups:d,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:I,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&I(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()},[]),V=(F,P)=>{F.dataTransfer.setData("row",P)},Q=()=>{B(a[e].id)};return t.jsx(en,{style:{...u,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:c,isCollapsed:d.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:V,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:u,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,userList:i,existingTaskGroupNamesByGroupId:d,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:I,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(j,{taskGroup:e,tagList:u,userList:i,sectionId:_,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,existingTaskGroupNamesByGroupId:d,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:I,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,u,r,h)=>{const m={},p={};e.forEach(c=>{p[c.id]={[ke]:[],[ce]:u.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(i=>{u.selectedTaskIds.includes(i.id)&&p[c.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(d=>({label:d.name,value:d.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(d=>({label:d.name,value:d.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(d=>d.user)},[tt]:{allOptions:It(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Y]:{[ce]:u.newTaskGroupName,[ke]:[]},...p},[ae]:m};return{[_]:a}},_o=(e,u,r)=>{if(e.includes(_)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Y)?{...r,newTaskGroupName:u[_].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:u[_].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(At(Object.values(u[_][rt]),ke)).filter(p=>p!==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`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b1 as H,aA as S,dg as L,bp as q,o as a,ag as A}from"./index-
|
|
1
|
+
import{V as t,b1 as H,aA as S,dg as L,bp as q,o as a,ag as A}from"./index-BhteR_e0.js";import{a as n,Y as D}from"./core-B-FNbYlu.js";import{n as g}from"./mui-DLNyBjYF.js";import{V as U}from"./CollapsableReportTable-I40BZv7o-RBVPkQ58.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,o,ag as p,F as f}from"./index-
|
|
1
|
+
import{V as t,o,ag as p,F as f}from"./index-BhteR_e0.js";import{n as i}from"./mui-DLNyBjYF.js";const u=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{q as c,V as o,y as n,ag as w,bH as x}from"./index-BhteR_e0.js";import{n as r}from"./mui-DLNyBjYF.js";import{b as l}from"./TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>o.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|