@zeniai/web-cockpit-ui 1.15.58-qa → 1.15.59-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-CfvX6zSV-BnYXr7da.js → ACHDetailsPage-CFhoboVe-NhNiWQoq.js} +1 -1
- package/dist/assets/{AIPerformancePage-BTVbAUHG-BoVD62zB.js → AIPerformancePage-DB-fTWME-C20PCC17.js} +31 -31
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bk0YQ-4C-BFfUei9K.js → AccountInfoPageContent-eYEsv7ac-CxPwO1am.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BKusNt5D.js → AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-UmCS2ljL.js → AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js} +44 -44
- package/dist/assets/{AccountRow-2vAGu-jm-Ban2UP27.js → AccountRow-CdgvnPG8-BbJV8Q8M.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-z9STg_F3-DQIMAcch.js → AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js +6 -0
- package/dist/assets/{AddToWalletPage-BMPHVMEY-uJdVtbyv.js → AddToWalletPage-BfXFbHjk-QRigQSHV.js} +28 -28
- package/dist/assets/{AgingReportsPage-Bngg8YpI-C_fcRo8j.js → AgingReportsPage-C1hFq4KH-COTxuu-2.js} +7 -7
- package/dist/assets/{AllUserItems-DzHTUgrn-wXFIirZl.js → AllUserItems-B6pnKByY-BUdz_J3g.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js +46 -0
- package/dist/assets/{AppBasePage-DUoMiO7X-DW6VTkB1.js → AppBasePage-DiVxF606-C03aQg1o.js} +7 -7
- package/dist/assets/AppDrawerContent-B_EWsf8O-16pnrlUd.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-BfXvTQyU-Dh6b5zsc.js → ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js} +6 -6
- package/dist/assets/{ArAgingChart-BwVPNYHv-3oBDpKQx.js → ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js} +1 -1
- package/dist/assets/ArAgingDetailPage-prgcvsS4-CC5CLIGP.js +46 -0
- package/dist/assets/{AttachmentView-DQKnQgQK-Bu5XLE-W.js → AttachmentView-SsWJw4A8-BGK1ntZP.js} +8 -8
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +38 -0
- package/dist/assets/{BankAccountSection-DxW0EB-K-BfA6R4ym.js → BankAccountSection-B4jmT0lb-DzAFSATj.js} +11 -11
- package/dist/assets/{BankAccountWarningSection-BQlPiqev-DQgUD-fz.js → BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-Mskj_CdN.js → BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js} +26 -26
- package/dist/assets/{BillDetailPage-44pWv8Nq-DZ4TiXFR.js → BillDetailPage-Dkqmi4H1-BrWo4uGz.js} +4 -4
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_Q7_oVR-Dl3E9h_h.js → BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-B5MNc-_v.js → BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js} +14 -14
- package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js} +3 -3
- package/dist/assets/{BillingSettingsPage-4WGlC_Ok-DUDn5i-o.js → BillingSettingsPage-DM0OIfxa-BuoiB9BU.js} +9 -9
- package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-Cw9-crTl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js} +1 -1
- package/dist/assets/{BoxItem-Yk1jfFWZ-DzXp7dNR.js → BoxItem-CvCo0wr6-DKAIvhWo.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYzudAIt-BBXKWut1.js → BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js} +10 -10
- package/dist/assets/{CardNumberSubText-DjHY0FvO-CjPeFW5K.js → CardNumberSubText-DHtSIcZZ-DL8DMs-k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBnND02O-DWBUQ_Fx.js → CashbackDetailPage-CNS1FA6b-JWXE3hsL.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Czwwolcz.js → ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DIaPTqHg-CsAQvjuT.js → ChargeCardListPage-DNYiWaEf-DJhH9poc.js} +24 -24
- package/dist/assets/{ChargeCardListTable-Daaen5Xe-DifYJ3Zj.js → ChargeCardListTable-DdnyzdFf-BmYCmkcc.js} +49 -49
- package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-BxCbxBo_.js → ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-DAk2fYcE--OhP0cnw.js → ChargeCardPromoPage-D4canPX9-DuNs-QpK.js} +23 -23
- package/dist/assets/{ChargeCardSetupPage-64bBN1fe-BqFWzRA1.js → ChargeCardSetupPage-BtikPFOq-_QFEhM40.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DlJJaad8-CLbfXmNK.js → CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CcyH-50D-D4qh_Iwq.js → CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js} +528 -496
- package/dist/assets/{CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js → CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js} +15 -15
- package/dist/assets/{CompanyPassportCard-ZBDBE8eV-CMQWkwBr.js → CompanyPassportCard-BbUWOs1U-BLVqocbL.js} +4 -4
- package/dist/assets/{CompanyPassportPage-B6zI52Pp-B__XqIFB.js → CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js} +29 -29
- package/dist/assets/{CompleteProfile-BLWNz2VA-tYLyFWWU.js → CompleteProfile-TiRsm2Fm-CIjFxaAm.js} +3 -3
- package/dist/assets/ConfettiBurst-D7J36hZf-BKlSjT6j.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BJt0x_QL.js → ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-ChtzoVO1.js → CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-DDoITNb_.js → CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js} +14 -14
- package/dist/assets/{CurrencySelectField-CwNGSmb2-BfwCMrZd.js → CurrencySelectField-BTAmIqPa-BqQ2_ci5.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BbZGV_dK.js → CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-UK3eLYnf.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js} +14 -14
- package/dist/assets/{CustomerOnboardingNoStepsPage-DF6CbSZs-7ZmdawXZ.js → CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-Ex1UzqXa.js → CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-h4faigoV.js → CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js} +6 -6
- package/dist/assets/{Dashboard-C1Fn0zHa-CkDT70CD.js → Dashboard-Qjedd4r--DHZmjgJN.js} +1 -1
- package/dist/assets/{DashboardReportPage-3lvWkrXH-CKAZqKLe.js → DashboardReportPage-Deith_ON-ChcA84Vk.js} +24 -24
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cn_5tbit-DB1raPJt.js → DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnL2eweO-BVp_XIJO.js → DepositAccTransactionItem-7kYotKov-BnPXoaAG.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-HAUhc4OH-w6xPsKCN.js → DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js} +3 -3
- package/dist/assets/DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js +21 -0
- package/dist/assets/{DownloadOverlay-GFsPIkgY-CIatX2-l.js → DownloadOverlay-Cmd727bN-BHplNe_3.js} +23 -23
- package/dist/assets/{DrawerPage-DudtPicH-DR7eAOPs.js → DrawerPage-DmGwfnGp-B5EgKZxZ.js} +14 -14
- package/dist/assets/EditPeoplePage-YyluIC6R-CQIl30sj.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D8RHkMHR-DhpHj6Tk.js → EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js} +84 -84
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +18 -0
- package/dist/assets/{EntitySummarySection-Po9-k_zM-CKOvXyjt.js → EntitySummarySection-5NbutA8l-Z4HQfo2N.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-CE6o3IC8.js → ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-DD33LDin-CmmvW3gw.js → ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js} +239 -239
- package/dist/assets/{ExpressPayPage-BbHx9h8j-Jtoo_XSn.js → ExpressPayPage-DhoNmyC2-Ixqn7FeR.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-72x3P-pq-fDKDe74V.js → FeaturePreviewPage-GSwhPxgP-C20k6nV5.js} +2 -2
- package/dist/assets/{FollowStepsSection-BT_WjsEy-6nsqXk2v.js → FollowStepsSection-DaueHRo4-DdiQ4lOn.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-C5h9rvVb-BrdUyPnT.js → GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js} +8 -8
- package/dist/assets/{InformationCardStack-CjpOEuJF-DF2z_fcp.js → InformationCardStack-zc-BxR7F-B2cR2Vrc.js} +4 -4
- package/dist/assets/{InsightsCardStack-CkxN0Fd6-D3ds4snJ.js → InsightsCardStack-DxCA5sFh-CBXIO7T2.js} +14 -14
- package/dist/assets/InsightsSection-BdFG3j3R-DpGjm8qb.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CN3x9o-8-n2lkrWPc.js → IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-CX6ZkpbL.js → InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js +65 -0
- package/dist/assets/InviteFormPage-fjqv2l7h-CoWToBnJ.js +312 -0
- package/dist/assets/{InvitePageListView-BbQyUnv0-DMumTMJP.js → InvitePageListView-CQecQhxr-BNu8hXMY.js} +48 -48
- package/dist/assets/InvitePeoplePage-DAEBuOnk-jK8Ueocl.js +12 -0
- package/dist/assets/InvoiceUploadSection-58l6ePuH-BuOyGSAC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BT9h01l_-siq7xJ-s.js → IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js} +30 -30
- package/dist/assets/{LabeledAddressValue-DF623NAW-D4a6OVhw.js → LabeledAddressValue-CZfFV97h-DWDhZW5u.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D66XOhMx-Di6mjf7B.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNFUkVLh-CuadpuTO.js → LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js → LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js → LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js} +3 -3
- package/dist/assets/LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-0cU3E71g.js → LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js} +8 -8
- package/dist/assets/{LabeledText-BDkcgGG4-YJ-8g03K.js → LabeledText-A1h_ionS-YHsepFfP.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-BjMBeUGB.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-HP_5dGNT.js → LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js} +16 -16
- package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-Wiea8FhX.js → LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js} +5 -5
- package/dist/assets/LockCardPage-BDlnh_zf-coxMaBNB.js +623 -0
- package/dist/assets/{LowBalancePopup-CKSy3iEi-DCgRxDtE.js → LowBalancePopup-CBPl_udd-D2XBBf4O.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-zLqzW0ZA-DNf2ZFPO.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-OpEbz58h-DNNhjP9x.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D38JxxrQ-CU50p6sN.js → MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js} +4 -4
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-7urnLeL-.js → MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js} +10 -10
- package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-BAib1puz.js → MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-AqrcruM6-CFhzI6VI.js → MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js} +7 -7
- package/dist/assets/{NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js → NavBarWithPicker-D2v1fhLS-C3H8GgqL.js} +5 -5
- package/dist/assets/{NavigationArrow-wyRPTk_w-CBPTcVzh.js → NavigationArrow-CWUL-6kN-BrqMd9Lj.js} +2 -2
- package/dist/assets/{NavigationDots-D4jbU1WN-2Zgm3tFB.js → NavigationDots-c-XSrFzE-Dxzsqafk.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-DM9ZiThQ.js → NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js} +9 -9
- package/dist/assets/{NoDataChart-tpjEi1Wb-CneSdGWB.js → NoDataChart-DJhSgtLu-B7rWK9ww.js} +4 -4
- package/dist/assets/NoDataTable-BZiwo2qK-1fFq9QL7.js +8 -0
- package/dist/assets/{NotFoundPage-aEkhvzEG-5jUiDOLs.js → NotFoundPage-BN5unYX8-RIPoUtcm.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-CMNyI8E6-BB9rHV42.js → NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js} +31 -31
- package/dist/assets/{NotificationsListConfig-CqxCGQSM-CNk3ZSrm.js → NotificationsListConfig-ThKLok_w-DiwvAaDh.js} +1 -1
- package/dist/assets/{NotificationsPage-xmWyvsYE-DgxInQel.js → NotificationsPage-Uvu6XESA-C7IDz_PV.js} +28 -28
- package/dist/assets/{OpExByVendorPage-BwWSNQjj-ArHXz_mI.js → OpExByVendorPage-QyqRkD2_-BZtZlU0k.js} +8 -8
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C04r--J3.js → OverlayContainerPage-BG9y5C0t-B5Ccc20I.js} +1 -1
- package/dist/assets/PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-yL-9Kg03.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js} +12 -12
- package/dist/assets/{PeoplePage-CgLumn7f-DpLXgwxu.js → PeoplePage-C5ZdpVyR-D5gb3H9N.js} +34 -34
- package/dist/assets/{Preview-BoQzKWlV.js → Preview-M7TzJD6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-LGZZZ4bc-BrX6HY26.js → ProductsCarousel-CXjLTOLy-qhgO5u3T.js} +4 -4
- package/dist/assets/{PromoBaseCards-DMnQ-nBZ-DDlepqsM.js → PromoBaseCards-CN9uZfG4-4ZG6rDcT.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-ufRcAeE8-jq-VIkh3.js → QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js} +3 -3
- package/dist/assets/{QBOSetupSection-BaxLXdyW-Bw8JqvSl.js → QBOSetupSection-BrtLMvEP-CWf9qAKV.js} +19 -19
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-s7g4Epqs.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-e47fcCBo.js → ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js} +7 -7
- package/dist/assets/{ReimbursementDetailPage-BOW1JodW-Br3QbgaE.js → ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js} +17 -17
- package/dist/assets/{ReimbursementPromoPage-lD4FRDbt-BTRv0wOn.js → ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-BJb01JMz.js → ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BV1eoHFe-Ct7RQx5a.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js} +1 -1
- package/dist/assets/{ReloadCard-DZJ1-x96-12T5DybX.js → ReloadCard-Bjp8ygC2-QCThgpLx.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js → ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js} +9 -9
- package/dist/assets/ReportsPage-DrjOGopt-DJaJ6UxU.js +258 -0
- package/dist/assets/{RevenueChart-CKjVL6iT-Bl6arWa6.js → RevenueChart-CqGvXDr4-ls1jVoKH.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Dm5-QehL-C1ebQa3V.js → ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js} +19 -19
- package/dist/assets/{ReviewOverlay-DyTC2zKj-Cqqa9ybn.js → ReviewOverlay-Cxkp85Kw-C7d3vwBi.js} +6 -6
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js +37 -0
- package/dist/assets/ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js +326 -0
- package/dist/assets/{ScreenRoutes-CCqT3xt1.js → ScreenRoutes-DJ_rUo9A.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BkGBS9x_-R8tgE_Z9.js → SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js} +16 -16
- package/dist/assets/{SignIn-DybDQnmR-ByUOpVOm.js → SignIn-CDEsZw_T-0YUs2QmP.js} +33 -33
- package/dist/assets/SignInScreen-CUXsEOc0.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DkEZTojy-CA6_5Fky.js → SpendManagementListViewPage-MOCWuROI-DKR38Veg.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-BEr99KbG.js → SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js} +43 -43
- package/dist/assets/{SpendManagementSection-DqDra2TJ-DXPdzdx4.js → SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js} +17 -17
- package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js} +2 -2
- package/dist/assets/StatementsPage-DYLp_e7W-C5hw_hkQ.js +58 -0
- package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js} +3 -3
- package/dist/assets/{SummaryCard-D4k-35Mt-CKKk3xUZ.js → SummaryCard-DPOhBmkr-Cj1Lt-Mp.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cadtu3qQ-zX8lQopX.js → TaskManagementPage-CTMoHv0R-DzrReeZE.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-CXt00my3-kyL42Suj.js → TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D0ujXDLd-DkH3ill0.js → TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js → TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js} +4 -4
- package/dist/assets/{TopExCard-BmRXVrxo-D8yAs-m9.js → TopExCard-CG8YLsYe-CsdBprjg.js} +11 -11
- package/dist/assets/{TopExDetailPage-Ds-BZjbz-IOO7_XQl.js → TopExDetailPage-TvYCbzSP-C1DN6y7-.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-D-dTYDgC.js → TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js} +11 -11
- package/dist/assets/{TransactionDetailPage-B1UKqtkR-BE9V0dPT.js → TransactionDetailPage-DUouBL0o-BwsVWjsw.js} +26 -26
- package/dist/assets/{TransactionList-BE3ODDi0-BDIJTskc.js → TransactionList-B16NONME-MhxbTKXX.js} +18 -18
- package/dist/assets/{TransactionListBig-JcBvCcMd-HNZ38dTS.js → TransactionListBig-CItPbTRV-CTDy7YXE.js} +10 -10
- package/dist/assets/TransactionListPage-DNecYY8M-DvyKlW5R.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-CC-HiQvd.js → TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoIPGIdB-JAB5Sz6q.js → TransferDrawerPage-Dsmbswu0-DuQeRo8o.js} +24 -24
- package/dist/assets/{TreasuryOverviewPage-lmaT3YkG-C6wF0pBN.js → TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js} +40 -40
- package/dist/assets/{TreasuryPromoPage-avx9YENY-CaSHYgG2.js → TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-BguLbwsn-B5E0Q7zz.js → TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js} +7 -7
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +58 -0
- package/dist/assets/{TrendChart-rzKYI72b-x69qqEF1.js → TrendChart-GMMat-NG-CAc9nAfG.js} +2 -2
- package/dist/assets/{TrendWithTransactions-atLfDrR5-B0aSX9-q.js → TrendWithTransactions-CrA4opNV-BTtTpjeg.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-DkHh43Pm.js → UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BlzFosEv.js → UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js} +13 -13
- package/dist/assets/{UploadAdditionalDocumentOverlay-D0FPdZ3n-DT1NoKwU.js → UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BHDivuPB-Cn8-yps4.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +1 -0
- package/dist/assets/{VendorDetailPage-DJ54yvWY-DtibNEE0.js → VendorDetailPage-DEu-yS8w-DNet96B_.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-CsMru02g.js → VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-7VUbqyR2-B-t_-gOw.js → VendorFirstReviewPage-klbCHS04-BFjy2m5_.js} +32 -32
- package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-UTfMlqxi.js → VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js} +26 -26
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +1 -0
- package/dist/assets/{VendorsAccountsSection-By1Bhh27--5FkvREo.js → VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js} +4 -4
- package/dist/assets/{VerifyDevice-gXwkGIjJ-ffTqb92V.js → VerifyDevice-Dhu5iywf-HX-kw30c.js} +8 -8
- package/dist/assets/{VideoPlayer-DBU7xwIG-G3eDrHhm.js → VideoPlayer-ZGjx_Hp7-Nomi0VD9.js} +3 -3
- package/dist/assets/VideoPopup-R3u0N_if-DgVn2CAl.js +31 -0
- package/dist/assets/{WarningsDrawerPage-ByCZSQ-E-S67fi1hF.js → WarningsDrawerPage-TerLFC4m-C5ptwy3N.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DlCJ5UGq-D5M3rInN.js → ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DTiBd3Ze-DvMCmuRh.js → ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js} +29 -29
- package/dist/assets/{ZeniAccountNavBarPieces-DAcKYXqh-C3pU1dfO.js → ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-BSRrdgoj.js → ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js +36 -0
- package/dist/assets/{ZeniCopyright-B1muAGCe-RlRc6Vn6.js → ZeniCopyright-CznSgVJF-iBl18n1m.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CX1FGWrl-Sctz6Ol2.js → ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-D76iCYbd.js → add-to-wallet-DgdBD8_G-CM6IrCpv.js} +1 -1
- package/dist/assets/{analytics-R4GG3mhr.js → analytics-B_VWX-BQ.js} +1 -1
- package/dist/assets/analyticsHelper-B8fd42um.js +1 -0
- package/dist/assets/{analyticsHelper-BznLUYs2-PwxmAlPi.js → analyticsHelper-Bh8o1v3y-C4Sojiq_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BDgsRTSD.js → arrow-south-east-round-PEovUgvH-CQGzMyhs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-keRK9wSo.js → auto-transfer-rule-mbafm5D3-Ba30im8q.js} +1 -1
- package/dist/assets/{chartTypes-Bckf_DAs-Bp9EYUYX.js → chartTypes-C14YY2Rq-DHigu710.js} +1 -1
- package/dist/assets/{commonDimensions-Bno19oYe-Ckn-nRQz.js → commonDimensions-CVpc-NCw-D6CVEqC_.js} +1 -1
- package/dist/assets/{commonTypes-CATFe6V_-DoBP4FJ5.js → commonTypes-Ec-PxfpT-Dj2109B_.js} +1 -1
- package/dist/assets/{constants-CEF2OtLN.js → constants-DgwGHN1r.js} +1 -1
- package/dist/assets/{core-DpPwA1EY.js → core-Cjh03OPu.js} +1 -1
- package/dist/assets/{dash.all.min-DdEpb4Db.js → dash.all.min-CCSNDyIp.js} +1 -1
- package/dist/assets/downloadPdf-BuPJ6cfr-Dyz4TLVR.js +1 -0
- package/dist/assets/{empty-nUYKFD2C.js → empty-DlGh28fD.js} +1 -1
- package/dist/assets/{empty-r8v2CG_J.js → empty-iTJcp-B8.js} +1 -1
- package/dist/assets/{epic-BSSFYfU0.js → epic-hN0N_N79.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-v4xTyl5z.js → gift-box-Cmt9OgIZ-TbiyaSAn.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CDoGR872.js → graphic-no-data-l-DU4J8fDt-CxIH_dl6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BB-JG1AW.js → graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0fu0zwh.js → handshake-BPg58FML-Dbtylvfc.js} +1 -1
- package/dist/assets/{helper-BCh4SWyd-CwI6N1FK.js → helper-AgH8nJln-Bk3G7LVh.js} +4 -4
- package/dist/assets/{index-CMalJxiA.js → index-B5cuJQnR.js} +1 -1
- package/dist/assets/{index-VSH6R5vg.js → index-Bk7UJBjY.js} +1 -1
- package/dist/assets/{index-BTvJvxFI.js → index-C4Fispms.js} +1 -1
- package/dist/assets/{index-C6nwvBZg.js → index-ChCGry2d.js} +1 -1
- package/dist/assets/{index-BlPcRVKX.js → index-DAwCqq2t.js} +1 -1
- package/dist/assets/{index-SEvYEB33.js → index-DFowIMIZ.js} +1 -1
- package/dist/assets/{index-uV9C0lq0.js → index-aCBnCBoN.js} +3602 -3593
- package/dist/assets/{lexical-WuSd_Y3l.js → lexical-9REae7LV.js} +1 -1
- package/dist/assets/{liveblocks-PPyiYwu4.js → liveblocks-CEY7tsth.js} +1 -1
- package/dist/assets/{lottie-CwowL814.js → lottie-BmLFYENY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +1 -0
- package/dist/assets/{mui-CgOsYmSB.js → mui-BosmckWV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-npur6fd8.js → page-detail-CWX5S47F-C2A7RuXG.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BDFz9brn.js → panelSelectedMixin-Cddsb26L-CWVsp72I.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CaCRbViv.js → radio-default-CiSgisfh-Dhw9u_Vt.js} +1 -1
- package/dist/assets/{react-D6M30H8E.js → react-CLFAbS9n.js} +2 -2
- package/dist/assets/{react-DzADjYrb.js → react-D8DqvAAs.js} +1 -1
- package/dist/assets/{react-1JgjrFGc.js → react-DAXSMqh2.js} +1 -1
- package/dist/assets/{react-B5r5WB2A.js → react-DSh5n3Dg.js} +1 -1
- package/dist/assets/{react-D2UrnCU4.js → react-DT8qkoNX.js} +1 -1
- package/dist/assets/{react-5VwsKWlP.js → react-DTZ405nF.js} +1 -1
- package/dist/assets/{react-Bpsw4H-g.js → react-DxfKP-TY.js} +1 -1
- package/dist/assets/{react-C_FwXK63.js → react-ddvEC0y3.js} +1 -1
- package/dist/assets/{recharts-B5a8DAKj.js → recharts-CimMNwCJ.js} +1 -1
- package/dist/assets/{sentry-rcvLxAzW.js → sentry-DzaNjvx0.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DrUeUva_.js → shield-DOlUxcFf-Cva3YFBn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +1 -0
- package/dist/assets/toChartData-G5y-N82I-BBptd2Gk.js +1 -0
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BkGK3BZ_.js → upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js} +1 -1
- package/dist/assets/{uploadAttachment-BLbU_iLy-Cn6htN7U.js → uploadAttachment-RbkIBMGO-TVHnian4.js} +17 -17
- package/dist/assets/{uploadReceipts-CIgkuVpu-Bgo2p-8x.js → uploadReceipts-CIgkuVpu-Dil-Qv4Z.js} +1 -1
- package/dist/assets/{url-C66ml4tg.js → url-KRGewpHH.js} +1 -1
- package/dist/assets/{url-Ce1cqXlU.js → url-ymOv7sCf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DY03cKku.js → useLongPress-GCK2COYQ-BgaoTE4k.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BM7i27Wh.js → usp-line-BBd1wKwW-Bnk1sVWO.js} +1 -1
- package/dist/assets/{utils-GKlM-QyI.js → utils-THjX-QSp.js} +1 -1
- package/dist/assets/{zeni-epic-state-D5MWzrZ6.js → zeni-epic-state-BNpJ2txa.js} +7 -7
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-XrG_Cs9Q-BjKmCZKu.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-BqV5wj25.js +0 -6
- package/dist/assets/ApAgingDetailPage-BdNgdMZi-DJq3tAqz.js +0 -46
- package/dist/assets/AppDrawerContent-DpoXoHZU-DR5CGNls.js +0 -92
- package/dist/assets/ArAgingDetailPage-Cl5P98Kf-BFShKipH.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-DjqAngZd.js +0 -38
- package/dist/assets/ChargeCardStatementsPage-B-XeiOnb-DLIBzbq-.js +0 -60
- package/dist/assets/ConfettiBurst-BCkkcLA1-CXjExpzp.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-BR0kgKEZ.js +0 -1
- package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-BgrN8fs3.js +0 -21
- package/dist/assets/EditPeoplePage-DD6wg7xI-_tzQnjsD.js +0 -55
- package/dist/assets/EntityDetailPage-levtFHaa-DA4k2cnL.js +0 -18
- package/dist/assets/InsightsSection-Cwd2cIP2-BnHpqv9D.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-fjU1XMHZ.js +0 -65
- package/dist/assets/InviteFormPage-D56FOZEG-CMUlIs-X.js +0 -312
- package/dist/assets/InvitePeoplePage-D-XyBXhF-D4mjC05U.js +0 -12
- package/dist/assets/InvoiceUploadSection-DaJWTI5B-B6XbuKee.js +0 -140
- package/dist/assets/LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js +0 -45
- package/dist/assets/LabeledDocumentField-H4V0rHKt-CfD-D1mp.js +0 -41
- package/dist/assets/LockCardPage-DIZ-1K3B-DoKRqXz4.js +0 -623
- package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-BQF6ZaYY.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-fC1L-fjF-D0AcUoNI.js +0 -31
- package/dist/assets/MailingDetailsSection-_5DUMAiO-CN0GY3U_.js +0 -21
- package/dist/assets/NoDataTable-BtEKMdpl-5T10t8Bw.js +0 -8
- package/dist/assets/PandLWithForecastPage-GXzJgAFS-BaOt9ro5.js +0 -107
- package/dist/assets/ReportsPage-CqCp4w8y-DJ_z1O-2.js +0 -237
- package/dist/assets/RoleWithToolTip-Cu0ixEhp-CbBWt2cn.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-9XyukA76-CCXXH9fn.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CkMIJDcP-Pzn7oHhr.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js +0 -324
- package/dist/assets/SignInScreen-DTqfud4B.js +0 -1
- package/dist/assets/StatementsPage-BO3P2kKJ-Cx3q3Xoo.js +0 -58
- package/dist/assets/TransactionListPage-DqY2twbP-CMg44It6.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-BT_G7d-D-CkFo0wcb.js +0 -58
- package/dist/assets/Vendor2FAPopup-CH44a6ok-C6c_8fAz.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YgMvjx2w-C_ciXBuk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-CCULw521.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-7sDGJOsu.js +0 -1
- package/dist/assets/VideoPopup-Dxc93Pwx-4nt_V7AU.js +0 -31
- package/dist/assets/ZeniAccountSetupPage-CxYZzfiZ-r8QQEMaF.js +0 -36
- package/dist/assets/analyticsHelper-C5rhp2_h.js +0 -1
- package/dist/assets/downloadPdf-CkATqzUx-Dc-uQGNf.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D02PFsN8-CpAel0E8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BAVPnmdP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C-wpsGXP-BaAwN-7v.js +0 -1
- package/dist/assets/toChartData-C-X2WzOE-DjbtnWdG.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as B,g as D,V as o,cw as H,o as r,ac as V,L as te,hg as ue,u as F,a as he,w as oe,bJ as re,O as j,x as ne,hh as ge,cc as me,hi as fe,da as le,bK as A,bc as ye,ak as ae,hj as xe,bI as se,ay as be,hk as Ce,hl as we,an as N,bb as ve,hm as $e,aA as je,hn as Se,d as ke,d9 as Oe,bT as Le,ge as Ie,ho as Ee,M as G,b as _e,gf as Ae,aV as Me}from"./index-aCBnCBoN.js";import{a}from"./sentry-DzaNjvx0.js";import{n as l,k as Te}from"./mui-BosmckWV.js";import{GK as Re,GL as Fe,GH as Be,GI as De,GJ as ze,GG as Pe}from"./zeni-epic-state-BNpJ2txa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="632bf704-1f83-42ff-8c20-a7ed8276049e",e._sentryDebugIdIdentifier="sentry-dbid-632bf704-1f83-42ff-8c20-a7ed8276049e")}catch{}})();const He=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
5
|
-
`,Ve=l(
|
|
5
|
+
`,Ve=l(se)`
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:
|
|
9
|
+
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:s,onChange:p,getOptionLabel:c})=>{const y=D(),f=a.useRef(null),g=We(y),w=n.find(m=>m.value===e);return a.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:s,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>Ge(m,c),SingleValue:m=>Ne(m,c)}})},Ne=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(ye,{children:n})})},Ge=(e,t)=>{const{isSelected:n}=e,s=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(He,{children:[o.jsx(ae,{children:s}),n?o.jsx(Ve,{}):null]})})},We=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),U="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",Ue=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -17,16 +17,16 @@ import{K as B,f as D,V as o,cr as H,o as r,ac as V,L as te,hc as ue,u as F,a as
|
|
|
17
17
|
column-gap: ${r.sp2};
|
|
18
18
|
width: 100%;
|
|
19
19
|
min-height: ${r.sp4};
|
|
20
|
-
`,
|
|
20
|
+
`,Ye=l.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
23
23
|
column-gap: ${r.sp1};
|
|
24
|
-
`,
|
|
24
|
+
`,Ke=l.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
column-gap: ${r.sp2};
|
|
28
28
|
word-break: break-all;
|
|
29
|
-
`,
|
|
29
|
+
`,Qe=l.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
column-gap: ${r.sp3};
|
|
@@ -37,37 +37,37 @@ import{K as B,f as D,V as o,cr as H,o as r,ac as V,L as te,hc as ue,u as F,a as
|
|
|
37
37
|
border-radius: 50%;
|
|
38
38
|
justify-content: center;
|
|
39
39
|
color: ${e=>e.theme.colors.hero};
|
|
40
|
-
`,
|
|
40
|
+
`,qe=l(Ie)`
|
|
41
41
|
color: ${e=>e.theme.colors.hero};
|
|
42
42
|
height: ${r.sp4};
|
|
43
43
|
width: ${r.sp4};
|
|
44
|
-
`,
|
|
44
|
+
`,Xe=l(se)`
|
|
45
45
|
color: ${e=>e.theme.colors.primary};
|
|
46
46
|
height: ${r.sp3};
|
|
47
47
|
min-width: ${r.sp3};
|
|
48
|
-
`,
|
|
48
|
+
`,Ze=l(_e)`
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
height: 10px;
|
|
51
51
|
width: 10px;
|
|
52
52
|
`,et=l(Me)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:
|
|
55
|
+
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:s,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=a.useState(e);a.useEffect(()=>{s==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=s==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=a.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,L={options:e,filterCategoryType:s,searchAutoCompleteStatus:k,renderOptionIcon:f},I=j.getLocalizedStrings().common.filters;return o.jsx(Ue,{children:s==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:I.startDate,value:u.startDate??""},{label:I.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Je,{children:[S.length===0&&s==="user"&&o.jsx(qe,{}),o.jsx(re,{...L,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{s==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>st(u,$,s),noOptionsMessage:()=>at(s,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:s,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Ye,{children:[ie(e.data,c,s,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:s,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(A.Option,{...w,children:o.jsxs(Qe,{children:[o.jsxs(Ke,{children:[ie(e.data,g,y,f),o.jsx(ae,{children:e.label})]}),e.isSelected&&o.jsx(Xe,{})]})})},lt=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ze,{})}),at=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(G,{children:n.noMatchesFound})}return o.jsx(G,{children:n.noOptions})},ie=(e,t,n,s)=>{if(n==="dropdown")return(s!=null?s(e):null)??(e.photo!=null?o.jsx(J,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=U},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Ae,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(J,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=U},loading:"lazy"})},st=(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()),M={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},T=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Fe;case"charge_card_payment_history":return Re}},R=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},Y=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
59
|
-
`,
|
|
59
|
+
`,K=l.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
column-gap: ${r.sp3};
|
|
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
|
+
`,Q=l.div`
|
|
66
66
|
width: 90px;
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,q=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};
|
|
@@ -98,7 +98,7 @@ import{K as B,f as D,V as o,cr as H,o as r,ac as V,L as te,hc as ue,u as F,a as
|
|
|
98
98
|
display: flex;
|
|
99
99
|
justify-content: space-between;
|
|
100
100
|
align-items: center;
|
|
101
|
-
`,
|
|
101
|
+
`,Z=l(ve)`
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
`,ft=l.button`
|
|
104
104
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
@@ -139,7 +139,7 @@ import{K as B,f as D,V as o,cr as H,o as r,ac as V,L as te,hc as ue,u as F,a as
|
|
|
139
139
|
align-items: flex-start;
|
|
140
140
|
column-gap: ${r.sp3};
|
|
141
141
|
animation: ${Ct} 0.4s;
|
|
142
|
-
`,de=
|
|
142
|
+
`,de=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=a.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=a.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=a.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=a.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(M);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(M)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},L=()=>{c(M)},I=a.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(X,{onClick:k,children:[o.jsx(ut,{}),o.jsx(N,{children:u.addFilterBtnText})]}),o.jsxs(X,{onClick:L,children:[o.jsx(ht,{}),o.jsx(N,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(Y,{children:o.jsx(K,{children:o.jsxs(ee,{children:[o.jsx(Q,{children:o.jsx(Z,{children:u.filterByLabel})}),o.jsx(q,{children:o.jsx(W,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>R(n,d),options:T(n,g.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((d,h)=>{const C=T(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?R(n,C?.value):"";return o.jsxs(K,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(Q,{children:[h===0&&o.jsx(Z,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(q,{children:o.jsx(W,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>R(n,i),options:T(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>I(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:s,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(Y,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
|
|
143
143
|
padding-top: ${r.sp4};
|
|
144
144
|
padding-bottom: ${r.sp4};
|
|
145
145
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ import{K as B,f as D,V as o,cr as H,o as r,ac as V,L as te,hc as ue,u as F,a as
|
|
|
157
157
|
`,jt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:
|
|
160
|
+
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:s,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=a.useRef(null),[v,k]=a.useState(!1),L=a.useRef(!1),[I,u]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=a.useState("auto"),d=a.useRef(null),h=B(),C=a.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);a.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":F[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);a.useEffect(()=>{if(v!==L.current){b("auto");return}b(i())},[i,v]),a.useEffect(()=>{L.current=v},[v]),a.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:I[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>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:Ot}=j.getLocalizedStrings(),Lt={filterIconContainerPaddingRight:new ne(18,10)};function Gt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:s,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:L,updateDownloadStateHandler:I,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(Mt,{children:[o.jsxs(At,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":V("list-page-search-input-box"),style:{position:"absolute",left:"unset",...s},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Ft,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:L,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":V("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Rt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(It,{})}):null,w?o.jsx(Tt,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:F[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:F[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:I}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const It=l(kt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,Et=l(me)`
|
package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as $,i0 as b,V as o,O as g,L as S,o as r,an as v,x as z,cc as j,u as k}from"./index-aCBnCBoN.js";import{a as I}from"./sentry-DzaNjvx0.js";import{n}from"./mui-BosmckWV.js";import{g as L}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{w as D}from"./downloadPdf-BuPJ6cfr-Dyz4TLVR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="9f8d749b-718a-4428-9aff-ca64135c5c72",e._sentryDebugIdIdentifier="sentry-dbid-9f8d749b-718a-4428-9aff-ca64135c5c72")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${r.sp3} ${r.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -28,4 +28,4 @@ import{K as x,hY as $,V as o,O as g,L as S,o as r,an as v,x as z,c7 as j,u as k}
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`;function
|
|
31
|
+
`;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:c,downloadEndPoint:s,documentType:a="statement",boxType:f}){const[m,p]=I.useState(!1),w=$(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(P,{children:o.jsxs(T,{children:[o.jsx(B,{children:u}),o.jsx(C,{onClick:()=>D(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,c,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(O,{windowSize:w})})]})});return o.jsx(L,{content:x,boxType:f,isDisabled:!1,isNotClickable:!0})}export{R as O};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{g as S,e as I,V as t,bE as z,b5 as C,o as r,O as P,d as p,cC as E,x as O,u as b,an as D}from"./index-aCBnCBoN.js";import{a as u}from"./sentry-DzaNjvx0.js";import{n as o}from"./mui-BosmckWV.js";import{$ as T}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{o as B}from"./commonDimensions-CVpc-NCw-D6CVEqC_.js";import{O as L}from"./StatementItem-DjvU5wiI-DHTNeSpB.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./downloadPdf-BuPJ6cfr-Dyz4TLVR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4b4af686-1cfb-41f1-b6e5-16aacda59912",e._sentryDebugIdIdentifier="sentry-dbid-4b4af686-1cfb-41f1-b6e5-16aacda59912")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new O(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:m,statementListView:n,accountLast4:w,onBackClick:y})=>{const $=S(),d=I(),k=u.createRef(),c=u.useRef(null),h=n.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:i,style:s})=>{const l=n.statements[i];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:a,downloadEndPoint:m,boxType:T(i,n.statements.length)},l.id)}):t.jsx(M,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:i,width:s})=>t.jsx(H,{ref:k,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:n.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},M=o.div``,g=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
+
&:hover {
|
|
4
|
+
position: relative;
|
|
5
|
+
z-index: 2;
|
|
6
|
+
}
|
|
7
|
+
`,_=o.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100%;
|
|
10
|
+
flex: 1 1 auto;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: flex-end;
|
|
14
|
+
`,N=o.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 100%;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding-bottom: ${r.sp7};
|
|
20
|
+
`,R=o(D)`
|
|
21
|
+
display: flex;
|
|
22
|
+
color: ${e=>e.theme.colors.grey2};
|
|
23
|
+
`,V=o.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
margin-top: ${r.sp6};
|
|
29
|
+
`,H=o(E)`
|
|
30
|
+
scrollbar-width: thin;
|
|
31
|
+
scrollbar-color: transparent transparent;
|
|
32
|
+
&::-webkit-scrollbar {
|
|
33
|
+
width: ${r.sp2};
|
|
34
|
+
height: ${r.sp0};
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
&::-webkit-scrollbar-track {
|
|
38
|
+
box-shadow: inset 0 0 2px ${p.scrollbarBoxShadow};
|
|
39
|
+
-webkit-box-shadow: inset 0 0 2px ${p.scrollbarBoxShadow};
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
}
|
|
42
|
+
&::-webkit-scrollbar-thumb {
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
48
|
+
&::-webkit-scrollbar {
|
|
49
|
+
width: ${r.sp2};
|
|
50
|
+
height: ${r.sp0};
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
&::-webkit-scrollbar-thumb {
|
|
54
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
55
|
+
border-radius: 2px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`;export{oe as default};
|
package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as $,cl as T,V as d,O as v,x as h,o as s,u as c,ak as _}from"./index-aCBnCBoN.js";import{n as u,c as m}from"./mui-BosmckWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="987a7c0c-1cf7-49b5-ba86-e7715bc50429",e._sentryDebugIdIdentifier="sentry-dbid-987a7c0c-1cf7-49b5-ba86-e7715bc50429")}catch{}})();function g(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 z=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:g(a)}return g(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)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
|
@@ -117,4 +117,4 @@ import{K as $,cg as T,V as d,O as v,x as h,o as s,u as c,ak as _}from"./index-uV
|
|
|
117
117
|
left: 60%;
|
|
118
118
|
}
|
|
119
119
|
`}
|
|
120
|
-
`;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?y[o]:x[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return y[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return x[o];case"wireDetails":case"achDetails":return D[o];default:return""}},i=$();return d.jsxs(I,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:
|
|
120
|
+
`;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?y[o]:x[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return y[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return x[o];case"wireDetails":case"achDetails":return D[o];default:return""}},i=$();return d.jsxs(I,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:R(e)===!0,windowSize:i,children:[t(e),e==="pending_approval"&&r!==0?d.jsx(j,{isSelected:a,children:r}):null]})}function V({tabIds:e,selectedTab:a,entity:r,isSwitcherLeftAlign:n=!1,approvalCount:l,hasSubTabs:t=!1,enablePerformanceTracking:i=!0,onTabSelectedChange:o}){const f=$(),S=b=>{o(b)};return T({componentName:`${z(r).toLowerCase()}.${L(a,r).toLowerCase()}`,enabled:i}),d.jsx(M,{windowSize:f,hasSubTabs:t,isSwitcherLeftAlign:n,children:d.jsxs(k,{windowSize:f,hasSubTabs:t,children:[e.map((b,C)=>d.jsx(P,{tabId:b,approvalCount:l,isSelected:a===b,entity:r,onClick:S},C)),d.jsx(B,{className:`Slider ${a}`,windowSize:f,approvalCount:l})]})})}const R=e=>e==="draft"||e==="pending_approval"||e==="scheduled"||e==="paid"||e==="achDetails"||e==="wireDetails";export{V as K,z as L,L as _};
|
package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,L as u,ac as g,o as t,ak as b,a$ as
|
|
1
|
+
import{V as i,L as u,ac as g,o as t,ak as b,a$ as y}from"./index-aCBnCBoN.js";import{n as r,c}from"./mui-BosmckWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="552ea453-0ad5-4a2c-9d5b-32b120cc9d09",e._sentryDebugIdIdentifier="sentry-dbid-552ea453-0ad5-4a2c-9d5b-32b120cc9d09")}catch{}})();function v({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{style:o,hasRightComponent:h,children:[i.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return i.jsxs(x,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":g("sub-tab-switcher",String(s.id)),children:[i.jsx($,{children:s.label}),s.countDetails?.count!=null?i.jsx(w,{children:i.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:i.jsx(j,{children:s.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const f=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -48,11 +48,11 @@ import{V as i,L as u,ac as g,o as t,ak as b,a$ as f}from"./index-uV9C0lq0.js";im
|
|
|
48
48
|
border-color: inherit;
|
|
49
49
|
border-radius: ${t.sp12};
|
|
50
50
|
padding: 2px;
|
|
51
|
-
`,j=r(
|
|
51
|
+
`,j=r(y)`
|
|
52
52
|
height: 100%;
|
|
53
53
|
width: 100%;
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
color: inherit;
|
|
58
|
-
`;export{
|
|
58
|
+
`;export{v as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-aCBnCBoN.js";import{E as r,T as t}from"./ReloadCard-Bjp8ygC2-QCThgpLx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cb7eba83-aab0-4ff2-86d3-0ed3fbd5af3c",e._sentryDebugIdIdentifier="sentry-dbid-cb7eba83-aab0-4ff2-86d3-0ed3fbd5af3c")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ay as kt,
|
|
1
|
+
import{ay as kt,g as Ze,V as t,jL as Y,bE as xt,ab as U,cy as wt,an as V,as as ft,O as ne,o as s,jM as Je,cq as De,cu as Ct,gk as $t,bb as Tt,bT as et,aV as yt,cl as bt,e as de,aa as jt,x as tt,cQ as vt,ae as St,b5 as Gt,cC as Lt,j6 as It,j7 as Nt,jN as Be,aT as Et,a as Ae,c0 as Me,f0 as st,jO as Dt,da as ot,jP as he,jQ as we,jR as fe,jS as nt,jT as Mt,jU as at,jV as rt,jW as it,jX as lt,jY as dt,jZ as _,u as xe,j_ as oe,ak as le,j$ as zt,k0 as At,b as Bt,ap as Rt,k1 as Wt,dl as Ot,k2 as Pt,cU as ct,eE as Ft,w as Ht,k3 as _t,k4 as Ut,gl as Vt,gJ as Kt,k5 as Yt,k6 as Z,k7 as Re,cE as qt,k8 as Xt,k9 as Qt,ka as Zt,kb as We,d as Oe,gG as Jt,ao as es}from"./index-aCBnCBoN.js";import{a as n}from"./sentry-DzaNjvx0.js";import{n as o,c as Ce}from"./mui-BosmckWV.js";import{H2 as ts,H3 as Pe,ce as pt,cf as ut,cg as ss}from"./zeni-epic-state-BNpJ2txa.js";import{J as os,t as ns}from"./SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-ThKLok_w-DiwvAaDh.js";import{a as ds}from"./SpendManagementListViewPage-MOCWuROI-DKR38Veg.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./StatusSwitcher-jxaonB4S-Dw8Z5KsP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c82f6b44-a94e-4197-b7c7-57c247bf28e8",e._sentryDebugIdIdentifier="sentry-dbid-c82f6b44-a94e-4197-b7c7-57c247bf28e8")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:u=ps,minScrollAmount:k=us,scrollCurveExponent:p=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,h=0,c=null;const l=Math.max(r,1),g=()=>{c!==null&&(cancelAnimationFrame(c),c=null)},T=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>T(m),D=m=>{const G=Math.max(m,0)/l,j=Math.pow(G,p)*u;return Math.max(k,j)},x=(m,G,j)=>{const S=j==="up"?-G:G;m===window?window.scrollBy({top:S,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=S)},$=()=>e.current??window,f=()=>{if(!a)return;const m=$(),G=window.innerHeight,j=h;if(j<l&&j>0){const S=l-j,L=D(S);x(m,L,"up")}else if(j>G-l){const S=j-(G-l),L=D(S);x(m,L,"down")}c=requestAnimationFrame(f)},z=m=>{N(m)?a=!0:(a=!1,g())},A=()=>{a=!1,g()},B=m=>{a&&(h=m.clientY)},M=m=>{B(m),a&&c===null&&(c=requestAnimationFrame(f))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",A),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",A),document.removeEventListener("dragover",M),g()}},[r,d,k,e,p,u])},Le=ne.getLocalizedStrings(),ht=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Le.common.numbers.maximumCount?`${Le.common.numbers.maximumCount}${Le.common.strings.plus}`:e})}),gs=o.div`
|
|
2
2
|
${e=>e.isCircular?Ce`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -44,7 +44,7 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
44
44
|
`,Ts=o(et)`
|
|
45
45
|
width: ${s.sp3};
|
|
46
46
|
height: ${s.sp3};
|
|
47
|
-
`,
|
|
47
|
+
`,ys=ne.getLocalizedStrings().taskManagement.taskList.footer;function bs({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:u,onExistingGroupSelection:k,onClose:p}){const a=()=>{p(),u()};return t.jsx(Je,{open:!!d,anchorEl:d,onClose:p,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(vs,{children:e.map(h=>{const c=()=>{p(),k(h.id)};return t.jsx(He,{onClick:c,children:t.jsx(le,{children:h.groupName})},h.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(He,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(le,{children:ys.createGroup})]})})]})})}const js=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,He=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -97,7 +97,7 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
97
97
|
`,Ds=o(Bt)`
|
|
98
98
|
width: ${s.sp3};
|
|
99
99
|
height: ${s.sp3};
|
|
100
|
-
`,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:"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"})),zs=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"})),As=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:Bs,common:Rs}=ne.getLocalizedStrings(),J=Bs.taskList.newTaskOptions;function Ws({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:u,isTaskTemplatesEnabled:k,expandedTemplate:p,onExpandTemplate:a,onClose:h,onNewTaskClick:c,onNewGroupClick:l,handleGroupTemplateClick:g,handleGroupTemplateTaskClick:T,onNewTaskInitialization:N}){const D=Ze(),[x,$]=n.useState(null),[f,z]=n.useState(null);n.useEffect(()=>{u.fetchState==="Completed"&&(z(null),$(null),h())},[u.fetchState,h]);const A=n.useCallback((M,m)=>{$(m),T(M,m)},[T]),B=n.useCallback(M=>{z(M),g(M)},[g]);return t.jsx(Je,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:h,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ps,{isTaskTemplatesEnabled:k,children:[t.jsxs(_s,{children:[t.jsxs(Ue,{onClick:c,children:[t.jsx(Fs,{}),t.jsx(De,{children:J.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Ue,{onClick:()=>l(""),children:[t.jsx(Hs,{}),t.jsx(De,{children:J.group})]})})]}),k?t.jsx(Os,{taskGroupTemplates:r,taskIdInCreation:x,groupIdInCreation:f,expandedTemplate:p,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:A,onNewGroupClick:l,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Os=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:u,onExpandTemplate:k,handleGroupTemplateClick:p,handleGroupTemplateTaskClick:a,onNewGroupClick:h,onNewTaskInitialization:c})=>{const[l,g]=n.useState(""),T=n.useMemo(()=>{const x=[];return e.forEach($=>{if($.name.toLowerCase().includes(l.toLowerCase()))x.push($);else{const f=$.tasks.filter(z=>z.name.toLowerCase().includes(l.toLowerCase()));f.length>0&&x.push({...$,tasks:f})}}),x},[e,l]),N=n.useCallback(()=>{c(l)},[l,c]),D=n.useCallback(()=>{h(l)},[l,h]);return t.jsxs(Us,{children:[t.jsx(Vs,{children:t.jsxs(Ys,{children:[t.jsxs(Ks,{children:[t.jsx(
|
|
100
|
+
`,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:"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"})),zs=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"})),As=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:Bs,common:Rs}=ne.getLocalizedStrings(),J=Bs.taskList.newTaskOptions;function Ws({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:u,isTaskTemplatesEnabled:k,expandedTemplate:p,onExpandTemplate:a,onClose:h,onNewTaskClick:c,onNewGroupClick:l,handleGroupTemplateClick:g,handleGroupTemplateTaskClick:T,onNewTaskInitialization:N}){const D=Ze(),[x,$]=n.useState(null),[f,z]=n.useState(null);n.useEffect(()=>{u.fetchState==="Completed"&&(z(null),$(null),h())},[u.fetchState,h]);const A=n.useCallback((M,m)=>{$(m),T(M,m)},[T]),B=n.useCallback(M=>{z(M),g(M)},[g]);return t.jsx(Je,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:h,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ps,{isTaskTemplatesEnabled:k,children:[t.jsxs(_s,{children:[t.jsxs(Ue,{onClick:c,children:[t.jsx(Fs,{}),t.jsx(De,{children:J.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Ue,{onClick:()=>l(""),children:[t.jsx(Hs,{}),t.jsx(De,{children:J.group})]})})]}),k?t.jsx(Os,{taskGroupTemplates:r,taskIdInCreation:x,groupIdInCreation:f,expandedTemplate:p,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:A,onNewGroupClick:l,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Os=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:u,onExpandTemplate:k,handleGroupTemplateClick:p,handleGroupTemplateTaskClick:a,onNewGroupClick:h,onNewTaskInitialization:c})=>{const[l,g]=n.useState(""),T=n.useMemo(()=>{const x=[];return e.forEach($=>{if($.name.toLowerCase().includes(l.toLowerCase()))x.push($);else{const f=$.tasks.filter(z=>z.name.toLowerCase().includes(l.toLowerCase()));f.length>0&&x.push({...$,tasks:f})}}),x},[e,l]),N=n.useCallback(()=>{c(l)},[l,c]),D=n.useCallback(()=>{h(l)},[l,h]);return t.jsxs(Us,{children:[t.jsx(Vs,{children:t.jsxs(Ys,{children:[t.jsxs(Ks,{children:[t.jsx(qs,{}),t.jsx(Xs,{children:J.groupTemplates})]}),t.jsx(Gs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:l,onSearchTextChanged:g,placeholder:J.searchPlaceholder})]})}),t.jsx(U,{controller:T.length>0,children:t.jsx(Qs,{children:T.map(x=>{const $=u===x.id;return t.jsxs(ro,{children:[t.jsxs(Zs,{onClick:()=>{k(x.id)},expanded:$,children:[t.jsxs(Js,{children:[t.jsx(U,{controller:$,children:t.jsx(ao,{})}),t.jsx(U,{controller:!$,children:t.jsx(no,{})}),t.jsx(V,{children:x.name}),t.jsx(ht,{count:x.tasks.length})]}),t.jsx(so,{expanded:$,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:x.createdAt!=null,onClick:f=>{f.stopPropagation(),k(null),p(x.id)},reverseSpinnerColor:!1,loading:r===x.id})]}),t.jsx(U,{controller:$,children:t.jsx(n.Fragment,{children:x.tasks.map(f=>t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{className:"styled-dot"}),t.jsx(po,{className:"task-name-text",children:f.name})]}),t.jsx(oo,{loading:d===f.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Rs.create,reverseSpinnerColor:!1,onClick:()=>a(x.id,f.name)})]},f.name))})})]},x.id)})})}),t.jsxs(U,{controller:T.length===0,children:[t.jsx(lo,{children:t.jsx(co,{children:J.noTaskGroup})}),t.jsxs(Ve,{onClick:N,children:[t.jsx(Ke,{}),t.jsx(V,{children:J.newTaskOptionText.replace("__searchText__",l)})]}),t.jsxs(Ve,{onClick:D,children:[t.jsx(Ke,{}),t.jsx(V,{children:J.newGroupOptionText.replace("__searchText__",l)})]})]})]})},Ps=o.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex-direction: column;
|
|
103
103
|
width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
|
|
@@ -141,11 +141,11 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
141
141
|
align-items: center;
|
|
142
142
|
justify-content: space-between;
|
|
143
143
|
width: 100%;
|
|
144
|
-
`,
|
|
144
|
+
`,qs=o(Ms)`
|
|
145
145
|
width: ${s.sp3};
|
|
146
146
|
height: ${s.sp3};
|
|
147
147
|
color: ${e=>e.theme.colors.primary};
|
|
148
|
-
`,
|
|
148
|
+
`,Xs=o(De)`
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
`,Qs=o.div`
|
|
151
151
|
max-height: 320px;
|
|
@@ -243,7 +243,7 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Ne,dateFormat:uo,taskManagement:ze}=ne.getLocalizedStrings(),mt={taskNameMaxWidth:new tt(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:u,onTimeSpentUpdate:k,onShowToast:p})=>{const a=de(),h=e.assigneeUsers.length,c=e.assigneeUsers[0]?.user,l=c?.firstName||c?.lastName?`${c.firstName} ${c.lastName}`:c?.email??Ne.strings.empty,{getValues:g,resetField:T,getFieldState:N}=ct(),D=(x,$)=>{const f=We(x,$,fe);N(f).invalid?T(f):k(e,{timeSpent:g(f)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:u,responsiveWidth:Z[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(No,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Me,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Me,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Io,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ye,{windowSize:a,responsiveWidth:Z[1].width,children:Re(e.status.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:Z[2].width,children:Re(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Ne.strings.hyphen})}),t.jsx(Ye,{windowSize:a,responsiveWidth:Z[4].width,children:h>0?t.jsxs(wo,{children:[t.jsx(
|
|
246
|
+
`,{common:Ne,dateFormat:uo,taskManagement:ze}=ne.getLocalizedStrings(),mt={taskNameMaxWidth:new tt(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:u,onTimeSpentUpdate:k,onShowToast:p})=>{const a=de(),h=e.assigneeUsers.length,c=e.assigneeUsers[0]?.user,l=c?.firstName||c?.lastName?`${c.firstName} ${c.lastName}`:c?.email??Ne.strings.empty,{getValues:g,resetField:T,getFieldState:N}=ct(),D=(x,$)=>{const f=We(x,$,fe);N(f).invalid?T(f):k(e,{timeSpent:g(f)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:u,responsiveWidth:Z[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(No,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Me,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Me,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Io,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ye,{windowSize:a,responsiveWidth:Z[1].width,children:Re(e.status.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:Z[2].width,children:Re(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Ne.strings.hyphen})}),t.jsx(Ye,{windowSize:a,responsiveWidth:Z[4].width,children:h>0?t.jsxs(wo,{children:[t.jsx(qt,{personBasic:c,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:l})}),h>1?t.jsx(fo,{children:`${Ne.strings.plus}${h-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Ao,{children:Xt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(Qt,{name:We(r,e.id,fe),placeholder:ze.common.timeSpentPlaceholder,timeSpentFormat:ze.common.timeSpentFormat,registerOptions:{validate:x=>ss(x)>Zt?(p({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:u,showRenameTextField:k,isSelectionAllowed:p,isCollapsed:a,existingTaskGroupNamesByGroupId:h,onDeleteTaskGroup:c,onExpandAll:l,onCollapseAll:g,onAddNewTaskToTaskGroup:T,onCollapseToggle:N,onTaskManagementRowClick:D,onDragStart:x,onTimeSpentUpdate:$,onShowToast:f})=>{const[z,A]=n.useState(null),B=de(),{setFocus:M}=ct(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(C=>{A(C.currentTarget)},[]),j=n.useCallback(()=>{A(null)},[]),S=n.useCallback(()=>{T(e.id)},[T,e.id]),L=n.useCallback(()=>{A(null),c(e.id)},[c,e.id]),w=n.useCallback(()=>{M(`${r}.groupName`),j()},[j,r,M]);return t.jsxs(go,{windowSize:B,children:[t.jsx(U,{controller:u,children:t.jsxs(Co,{children:[t.jsxs($o,{children:[t.jsx(To,{isOpen:a===!1,onClick:m,children:t.jsx(yo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:ze.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:C=>_t(C,e.id,h)===!1},isDisabled:k&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(bo,{onClick:G,children:t.jsx(jo,{})}),t.jsx(Ut,{onClose:j,onAddTask:S,onCollapseAll:g,onDelete:L,onExpandAll:l,onRename:w,isDefault:e.isDefault,anchorEl:z})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(Vt,{mode:"checked_or_hover",isDisabled:p===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(C=>{const Q=()=>{D(C.id)};return{label:t.jsx(ho,{taskDetail:C,onRowClick:Q,tagList:d,onTimeSpentUpdate:$,onShowToast:f,sectionId:r}),prefix:B==="small"?null:t.jsx(vo,{children:t.jsx(So,{})}),value:C.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:x,draggable:!0})})]})},go=o.div`
|
|
247
247
|
box-sizing: border-box;
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: column;
|
|
@@ -305,13 +305,13 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
305
305
|
`,To=o.div`
|
|
306
306
|
cursor: pointer;
|
|
307
307
|
transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
|
|
308
|
-
`,
|
|
308
|
+
`,yo=o(st)`
|
|
309
309
|
width: ${s.sp3};
|
|
310
310
|
height: ${s.sp3};
|
|
311
311
|
color: ${e=>e.theme.colors.primary};
|
|
312
|
-
`,
|
|
312
|
+
`,bo=o.div`
|
|
313
313
|
cursor: pointer;
|
|
314
|
-
`,
|
|
314
|
+
`,jo=o(Kt)`
|
|
315
315
|
width: ${s.sp3};
|
|
316
316
|
height: ${s.sp3};
|
|
317
317
|
`,vo=o.div`
|
|
@@ -430,10 +430,10 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
430
430
|
column-gap: ${s.sp2};
|
|
431
431
|
`,Fo=o.div`
|
|
432
432
|
max-width: ${s.sp11};
|
|
433
|
-
`,Ho=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=ne.getLocalizedStrings(),Xe=e=>`${e}_form`,_o={rowGap:new tt(xe[0],xe[5],xe[5])},{common:{footer:qe},taskManagement:Ee}=ne.getLocalizedStrings(),bn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:u,updateTask:k,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:h,onTaskManagementRowClick:c,onReloadTasks:l,onColumnSortConfigChanged:g,onSearchTextChanged:T,onBackClick:N,onNewTaskClick:D,onFiltersChange:x,resetLocalData:$,handleCreateGroup:f,assignGroupToTasks:z,onAddNewTaskToTaskGroup:A,onGroupByFilterChange:B,onTaskGroupRename:M,analytics:m,onTimeSpentUpdate:G,onShowToast:b,handleGroupTemplateClick:S,handleGroupTemplateTaskClick:L,handleNewTaskInitialization:w,onTaskGroupNameClick:C})=>{const[Q,ee]=n.useState(!1),[te,X]=n.useState(null),[F,K]=n.useState(null),[ae,q]=n.useState(null),[$e,ce]=n.useState(null),[me,Te]=n.useState(!1),re=kt(),{fetchState:se,uiState:ie,filters:pe,userList:ue,taskGroupsWithTasksList:je}=e,{tagList:ye}=d,be=Ze(),ve=W=>{Te(W)},Se=n.useCallback(W=>{ce(W.currentTarget)},[]),ge=n.useCallback(W=>{B(W)},[B]),ke=n.useCallback(()=>{B("groupName")},[B]),i=n.useCallback(W=>{w(W)},[w]),y=ue.users.map(W=>W.user).filter(W=>W!=null),P={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:me,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:ie.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:pe,searchTextBoxStyle:{right:"108px"},onNewButtonClick:Se,onSearchOpen:ve,onSearchTextChanged:T,onFiltersChange:x,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ue.fetchState==="Completed"||ue.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:ie.groupByKey,resetDisabled:ie.groupByKey==="groupName",onChange:ge,onReset:ke}),height:90},getFilterOptions:()=>ds("task_management",y,re.loggedInUserRole??[],d.tagList)},v=n.useCallback(W=>{ce(null),X(Y),h({...e.localData,newTaskGroupName:W})},[e.localData,h]),I=n.useCallback(()=>{ce(null)},[]),R=n.useCallback(()=>{F!=null&&a(F)},[F,a]),j=n.useCallback(()=>{X(Y)},[]),E=n.useCallback(W=>{q(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&ee(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&q(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const O=()=>se==="Error"?t.jsxs(Qo,{children:[t.jsx(Zo,{onClick:l,children:t.jsx(Jo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):se==="Completed"&&je.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):se==="Not-Started"||se==="In-Progress"?t.jsx($t,{fetchState:se}):t.jsx(Uo,{taskListView:e,tagList:ye,renameActiveField:te,updateTask:k,onDragNDrop:p,onAddNewTaskToTaskGroup:A,onColumnSortConfigChanged:g,onTaskManagementRowClick:c,assignGroupToTasks:z,handleCreateGroup:f,resetLocalData:$,setGroupCreationInProgress:j,setShowDeleteModal:ee,updateLocalData:h,setActiveTaskGroupId:K,setRenameActiveField:X,onTaskGroupRename:M,onTimeSpentUpdate:G,onShowToast:b,onCreateTagClick:u,onTaskGroupNameClick:C}),Ge=t.jsx(ns,{spendManagementSectionProps:P});return t.jsxs(qo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:be.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:Ge,isSearchOpen:me,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:$e,groupByKey:ie.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:I,onNewTaskClick:D,onNewGroupClick:v,handleGroupTemplateClick:S,handleGroupTemplateTaskClick:L,onNewTaskInitialization:i,onExpandTemplate:E,expandedTemplate:ae}),t.jsx(Xo,{children:O()}),t.jsx(U,{controller:Q===!0,children:t.jsx(wt,{action:{onOkClick:R,onCancelClick:()=>{ee(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:u,onTaskGroupRename:k,setRenameActiveField:p,onDragNDrop:a,updateLocalData:h,setShowDeleteModal:c,handleCreateGroup:l,resetLocalData:g,assignGroupToTasks:T,setGroupCreationInProgress:N,onTaskManagementRowClick:D,onColumnSortConfigChanged:x,onAddNewTaskToTaskGroup:$,setActiveTaskGroupId:f,onTimeSpentUpdate:z,onShowToast:A,onCreateTagClick:B,onTaskGroupNameClick:M})=>{const m=n.useRef(null);yt({componentName:"task.management.list"});const[G,b]=n.useState(null),S=n.useRef({}),L=de(),{localData:w,taskGroupsWithTasksList:C,uiState:Q,userGroupList:ee}=e,[te,X]=n.useState([]),F=n.useRef(null);ms({scrollContainerRef:F,isEnabled:L!=="small"});const K=n.useMemo(()=>e.userList.users.map(i=>i.user).filter(i=>i!=null),[e.userList.users]),ae=bt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Qe(e.taskGroupsWithTasksList,w,K,d,e.userGroupList.userGroups),[e.taskGroupsWithTasksList,e.userGroupList.userGroups,w,K,d]),values:n.useMemo(()=>Qe(e.taskGroupsWithTasksList,w,K,d,e.userGroupList.userGroups),[e.taskGroupsWithTasksList,e.userGroupList.userGroups,w,K,d])}),q=n.useMemo(()=>{if(r!==Y)return C;const i=[],y=C.map(P=>{const v=P.tasks.filter(I=>{const R=w.selectedTaskIds.includes(I.id)===!0;return R&&i.push(I),R===!1});return{...P,tasks:v}});return y.unshift({groupName:"",isDefault:!1,id:Y,tasks:i}),y},[r,C,w.selectedTaskIds]),$e=n.useCallback(i=>te.includes(q[i].id)||q[i].tasks.length===0?100:S.current?.[i]!=null?S.current[i]+_o.rowGap.value(L):(as*1+rs)*3+is+ls,[te,q,L]),ce=n.useCallback(i=>{b(i.currentTarget)},[]),me=n.useCallback((i,y)=>{S.current={...S.current,[i]:y},m.current?.resetAfterIndex(0,!0)},[L,m,C]),Te=n.useCallback(i=>{X(y=>y.includes(i)?y.filter(P=>i!==P):[...y,i]),m.current?.resetAfterIndex(0,!0)},[]),re=n.useCallback(()=>{b(null)},[]),se=n.useCallback(()=>{X(C.map(i=>i.id)),m.current?.resetAfterIndex(0,!0)},[C]),ie=n.useCallback(()=>{X([]),m.current?.resetAfterIndex(0,!0)},[]),pe=n.useCallback(()=>{N(),m.current?.scrollTo(0),re()},[re,N]),ue=n.useCallback(i=>{f(i),c(!0)},[f,c]),je=n.useCallback(()=>{w.selectedTaskIds.length>0?r!==Y?pe():l(!0):r===Y?l(!1):r!=null&&k(r,w.existingTaskGroupNamesByGroupId[r])},[w.selectedTaskIds.length,w.existingTaskGroupNamesByGroupId,r,pe,l,k]),ye=n.useCallback(()=>{p(null),g()},[g,p]),be=n.useCallback(i=>{g(),p(i)},[g,p]),ve=n.useCallback(()=>{w.defaultTaskGroupId!=null&&T(w.defaultTaskGroupId)},[T,w.defaultTaskGroupId]),Se=async(i,y)=>{if(i.includes(it)){const v=i.split(".")[2],I=C.flatMap(j=>j.tasks).find(j=>j.id===v),R=y[_][oe][v].priority.selectedOption;if(I!=null&&R!=null){const j=pt.find(E=>E.code===R);j!=null&&u(I,{priority:j})}return}if(i.includes(lt)){const v=i.split(".")[2],I=C.flatMap(j=>j.tasks).find(j=>j.id===v),R=y[_][oe][v].status.selectedOption;if(I!=null&&R!=null){const j=ut.find(E=>E.code===R);I!=null&&j!=null&&u(I,{status:j})}return}if(i.includes(at)){const v=i.split(".")[2],I=C.flatMap(O=>O.tasks).find(O=>O.id===v),R=C.find(O=>O.tasks.find(Ge=>Ge.id===v))?.id,j=y[_][oe][v].assignees.selectedUsers.map(O=>O.userId),E=y[_][oe][v].assignees.selectedUserGroups?.map(O=>O.userGroupId);R!=null&&j!=null&&I!=null&&u(I,{assignees:j,groupAssignees:E});return}if(i.includes(rt)){const v=i.split(".")[2],I=C.flatMap(E=>E.tasks).find(E=>E.id===v),R=C.find(E=>E.tasks.find(O=>O.id===v))?.id,j=y[_][oe][v].dueDate.date;R!=null&&j!=null&&I!=null&&u(I,{dueDate:j});return}if(i.includes(nt)){const v=i.split(".")[2],I=C.flatMap(E=>E.tasks).find(E=>E.id===v),R=C.find(E=>E.tasks.find(O=>O.id===v))?.id,j=y[_][oe][v].tags.selectedOptions;R!=null&&j!=null&&I!=null&&u(I,{tagIds:j});return}i.includes(fe)&&ae.trigger(i);const P=Yo(i,y,w);h(P)};n.useEffect(()=>{const i=ae.watch((y,{name:P})=>{P!=null&&y!=null&&vt(()=>Se(P,y))});return()=>{i.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 ge=C.length>1&&w.selectedTaskIds.length>0&&r!==Y,ke=w.newTaskGroupName.length>0||w.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ae,children:t.jsx("form",{id:Xe(Be),onSubmit:ae.handleSubmit(je),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ke,windowSize:L,children:t.jsx(Gt,{children:({height:i,width:y})=>t.jsx(Lt,{ref:m,outerRef:F,height:i,itemCount:q.length,itemSize:$e,estimatedItemSize:Nt,itemKey:P=>q[P].id,width:y,overscanCount:It,itemData:{tagList:d,taskGroupsWithTasksList:q,uiState:Q,collapsedGroups:te,userList:e.userList,userGroupList:ee.userGroups,renameActiveField:r,selectedRowIds:w.selectedTaskIds,existingTaskGroupNamesByGroupId:w.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:Te,setRowHeight:me,onTaskManagementRowClick:D,onColumnSortConfigChanged:x,onAddNewTaskToTaskGroup:$,onCollapseAll:se,onDeleteTaskGroup:ue,onExpandAll:ie,onTimeSpentUpdate:z,onShowToast:A,onCreateTagClick:B,onTaskGroupNameClick:M},initialScrollOffset:0,children:Vo})})})})}),ke?t.jsx(Et,{formId:Xe(Be),primaryBtn:{label:C.length===1&&w.selectedTaskIds.length>0&&r!==Y?Ee.taskList.footer.createGroup:qe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:qe.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&w.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(ht,{count:w.selectedTaskIds.length}),t.jsx(nn,{children:w.selectedTaskIds.length>1?Ee.taskList.footer.tasksSelected:Ee.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&w.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Me,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:ve})})})}),showPrimaryButton:ge===!1,customPrimaryButton:ge?t.jsxs(t.Fragment,{children:[t.jsx(Ae,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(ys,{taskGroupsList:C,anchorEl:G,groupByKey:Q.groupByKey,onCreateNewGroup:pe,onExistingGroupSelection:i=>{re(),T(i)},onClose:re})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const u=n.useRef(null),k=de(),{tagList:p,taskGroupsWithTasksList:a,uiState:h,renameActiveField:c,collapsedGroups:l,onCollapseToggle:g,onTaskManagementRowClick:T,setRowHeight:N,onColumnSortConfigChanged:D,onCollapseAll:x,onExpandAll:$,onAddNewTaskToTaskGroup:f,onDeleteTaskGroup:z,handleOnDragNDrop:A,onRenameClick:B,userList:M,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:b,onShowToast:S,onCreateTagClick:L,onTaskGroupNameClick:w,userGroupList:C}=r;n.useEffect(()=>{u.current?.firstElementChild!=null&&N(e,u.current.firstElementChild.clientHeight)},[e,u,k,a[e]?.tasks]);const Q=n.useCallback(F=>{const K=F.dataTransfer.getData("row");A(K,a[e].id)},[A,e,a]),ee=n.useCallback(F=>{F.preventDefault()},[]),te=(F,K)=>{F.dataTransfer.setData("row",K)},X=()=>{B(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:u,onDrop:Q,onDragOver:ee,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:h,isCollapsed:l.includes(a[e].id),onCollapseToggle:g,showRenameTextField:c===a[e].id,userGroupList:C,isSelectionAllowed:c==null,onTaskManagementRowClick:T,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:f,onCollapseAll:x,onDeleteTaskGroup:z,onExpandAll:$,selectedRowIds:m,userList:M,existingTaskGroupNamesByGroupId:G,onDragStart:te,onRenameClick:X,onTimeSpentUpdate:b,onShowToast:S,onCreateTagClick:L,onTaskGroupNameClick:w},a[e].id)})},Ko=({taskGroup:e,userGroupList:d,tagList:r,showGroupName:u,uiState:k,showRenameTextField:p,isCollapsed:a,isSelectionAllowed:h,selectedRowIds:c,userList:l,existingTaskGroupNamesByGroupId:g,onRenameClick:T,onTaskManagementRowClick:N,onCollapseToggle:D,onColumnSortConfigChanged:x,onCollapseAll:$,onExpandAll:f,onAddNewTaskToTaskGroup:z,onDeleteTaskGroup:A,onDragStart:B,onTimeSpentUpdate:M,onShowToast:m,onCreateTagClick:G,onTaskGroupNameClick:b})=>{const S=de(),L=S==="medium-regular"||S==="medium-compact"||S==="small"?mo:Pt;return t.jsx(L,{taskGroup:e,tagList:r,userList:l,sectionId:_,showGroupName:u,uiState:k,showRenameTextField:p,isCollapsed:a,isSelectionAllowed:h,selectedRowIds:c,existingTaskGroupNamesByGroupId:g,userGroupList:d,onAddNewTaskToTaskGroup:z,onCollapseAll:$,onDeleteTaskGroup:A,onExpandAll:f,onCollapseToggle:D,onTaskManagementRowClick:N,onColumnSortConfigChanged:x,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:M,onShowToast:m,onCreateTagClick:G,onTaskGroupNameClick:b})},Qe=(e,d,r,u,k)=>{const p={},a={};e.forEach(c=>{a[c.id]={[we]:[],[he]:d.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(l=>{d.selectedTaskIds.includes(l.id)&&a[c.id].selectedIds.push(l.id),p[l.id]={[lt]:{selectedOption:l.status.code,allOptions:ut.map(g=>({label:g.name,value:g.code}))},[it]:{selectedOption:l.priority.code,allOptions:pt.map(g=>({label:g.name,value:g.code}))},[rt]:{date:l.dueDate,showBusinessDay:!1},[at]:{allUsers:r,selectedUsers:l.assigneeUsers.map(g=>g.user),allUserGroups:k,selectedUserGroups:l.groupAssignees.map(g=>k.find(T=>T.userGroupId===g)).filter(g=>g!=null)},[nt]:{allOptions:Mt(u),selectedOptions:l.tagIds},[fe]:l.timeSpent}})});const h={[dt]:{[Y]:{[he]:d.newTaskGroupName,[we]:[]},...a},[oe]:p};return{[_]:h}},Yo=(e,d,r)=>{if(e.includes(_)){const u=e.split(".")[2];if(e.includes(he))return e.includes(Y)?{...r,newTaskGroupName:d[_].groupData[u][he]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[u]:d[_].groupData[u][he]}};if(e.includes(we)){const k=Wt(Ot(Object.values(d[_][dt]),we)).filter(p=>p!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:k}}}return r},Xo=o.div`
|
|
433
|
+
`,Ho=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=ne.getLocalizedStrings(),qe=e=>`${e}_form`,_o={rowGap:new tt(xe[0],xe[5],xe[5])},{common:{footer:Xe},taskManagement:Ee}=ne.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:u,updateTask:k,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:h,onTaskManagementRowClick:c,onReloadTasks:l,onColumnSortConfigChanged:g,onSearchTextChanged:T,onBackClick:N,onNewTaskClick:D,onFiltersChange:x,resetLocalData:$,handleCreateGroup:f,assignGroupToTasks:z,onAddNewTaskToTaskGroup:A,onGroupByFilterChange:B,onTaskGroupRename:M,analytics:m,onTimeSpentUpdate:G,onShowToast:j,handleGroupTemplateClick:S,handleGroupTemplateTaskClick:L,handleNewTaskInitialization:w,onTaskGroupNameClick:C})=>{const[Q,ee]=n.useState(!1),[te,q]=n.useState(null),[F,K]=n.useState(null),[ae,X]=n.useState(null),[$e,ce]=n.useState(null),[me,Te]=n.useState(!1),re=kt(),{fetchState:se,uiState:ie,filters:pe,userList:ue,taskGroupsWithTasksList:ye}=e,{tagList:be}=d,je=Ze(),ve=W=>{Te(W)},Se=n.useCallback(W=>{ce(W.currentTarget)},[]),ge=n.useCallback(W=>{B(W)},[B]),ke=n.useCallback(()=>{B("groupName")},[B]),i=n.useCallback(W=>{w(W)},[w]),b=ue.users.map(W=>W.user).filter(W=>W!=null),P={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:me,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:ie.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:pe,searchTextBoxStyle:{right:"108px"},onNewButtonClick:Se,onSearchOpen:ve,onSearchTextChanged:T,onFiltersChange:x,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ue.fetchState==="Completed"||ue.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:ie.groupByKey,resetDisabled:ie.groupByKey==="groupName",onChange:ge,onReset:ke}),height:90},getFilterOptions:()=>ds("task_management",b,re.loggedInUserRole??[],d.tagList)},v=n.useCallback(W=>{ce(null),q(Y),h({...e.localData,newTaskGroupName:W})},[e.localData,h]),I=n.useCallback(()=>{ce(null)},[]),R=n.useCallback(()=>{F!=null&&a(F)},[F,a]),y=n.useCallback(()=>{q(Y)},[]),E=n.useCallback(W=>{X(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&ee(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&X(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const O=()=>se==="Error"?t.jsxs(Qo,{children:[t.jsx(Zo,{onClick:l,children:t.jsx(Jo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):se==="Completed"&&ye.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):se==="Not-Started"||se==="In-Progress"?t.jsx($t,{fetchState:se}):t.jsx(Uo,{taskListView:e,tagList:be,renameActiveField:te,updateTask:k,onDragNDrop:p,onAddNewTaskToTaskGroup:A,onColumnSortConfigChanged:g,onTaskManagementRowClick:c,assignGroupToTasks:z,handleCreateGroup:f,resetLocalData:$,setGroupCreationInProgress:y,setShowDeleteModal:ee,updateLocalData:h,setActiveTaskGroupId:K,setRenameActiveField:q,onTaskGroupRename:M,onTimeSpentUpdate:G,onShowToast:j,onCreateTagClick:u,onTaskGroupNameClick:C}),Ge=t.jsx(ns,{spendManagementSectionProps:P});return t.jsxs(Xo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:Ge,isSearchOpen:me,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:$e,groupByKey:ie.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:I,onNewTaskClick:D,onNewGroupClick:v,handleGroupTemplateClick:S,handleGroupTemplateTaskClick:L,onNewTaskInitialization:i,onExpandTemplate:E,expandedTemplate:ae}),t.jsx(qo,{children:O()}),t.jsx(U,{controller:Q===!0,children:t.jsx(wt,{action:{onOkClick:R,onCancelClick:()=>{ee(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:u,onTaskGroupRename:k,setRenameActiveField:p,onDragNDrop:a,updateLocalData:h,setShowDeleteModal:c,handleCreateGroup:l,resetLocalData:g,assignGroupToTasks:T,setGroupCreationInProgress:N,onTaskManagementRowClick:D,onColumnSortConfigChanged:x,onAddNewTaskToTaskGroup:$,setActiveTaskGroupId:f,onTimeSpentUpdate:z,onShowToast:A,onCreateTagClick:B,onTaskGroupNameClick:M})=>{const m=n.useRef(null);bt({componentName:"task.management.list"});const[G,j]=n.useState(null),S=n.useRef({}),L=de(),{localData:w,taskGroupsWithTasksList:C,uiState:Q,userGroupList:ee}=e,[te,q]=n.useState([]),F=n.useRef(null);ms({scrollContainerRef:F,isEnabled:L!=="small"});const K=n.useMemo(()=>e.userList.users.map(i=>i.user).filter(i=>i!=null),[e.userList.users]),ae=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Qe(e.taskGroupsWithTasksList,w,K,d,e.userGroupList.userGroups),[e.taskGroupsWithTasksList,e.userGroupList.userGroups,w,K,d]),values:n.useMemo(()=>Qe(e.taskGroupsWithTasksList,w,K,d,e.userGroupList.userGroups),[e.taskGroupsWithTasksList,e.userGroupList.userGroups,w,K,d])}),X=n.useMemo(()=>{if(r!==Y)return C;const i=[],b=C.map(P=>{const v=P.tasks.filter(I=>{const R=w.selectedTaskIds.includes(I.id)===!0;return R&&i.push(I),R===!1});return{...P,tasks:v}});return b.unshift({groupName:"",isDefault:!1,id:Y,tasks:i}),b},[r,C,w.selectedTaskIds]),$e=n.useCallback(i=>te.includes(X[i].id)||X[i].tasks.length===0?100:S.current?.[i]!=null?S.current[i]+_o.rowGap.value(L):(as*1+rs)*3+is+ls,[te,X,L]),ce=n.useCallback(i=>{j(i.currentTarget)},[]),me=n.useCallback((i,b)=>{S.current={...S.current,[i]:b},m.current?.resetAfterIndex(0,!0)},[L,m,C]),Te=n.useCallback(i=>{q(b=>b.includes(i)?b.filter(P=>i!==P):[...b,i]),m.current?.resetAfterIndex(0,!0)},[]),re=n.useCallback(()=>{j(null)},[]),se=n.useCallback(()=>{q(C.map(i=>i.id)),m.current?.resetAfterIndex(0,!0)},[C]),ie=n.useCallback(()=>{q([]),m.current?.resetAfterIndex(0,!0)},[]),pe=n.useCallback(()=>{N(),m.current?.scrollTo(0),re()},[re,N]),ue=n.useCallback(i=>{f(i),c(!0)},[f,c]),ye=n.useCallback(()=>{w.selectedTaskIds.length>0?r!==Y?pe():l(!0):r===Y?l(!1):r!=null&&k(r,w.existingTaskGroupNamesByGroupId[r])},[w.selectedTaskIds.length,w.existingTaskGroupNamesByGroupId,r,pe,l,k]),be=n.useCallback(()=>{p(null),g()},[g,p]),je=n.useCallback(i=>{g(),p(i)},[g,p]),ve=n.useCallback(()=>{w.defaultTaskGroupId!=null&&T(w.defaultTaskGroupId)},[T,w.defaultTaskGroupId]),Se=async(i,b)=>{if(i.includes(it)){const v=i.split(".")[2],I=C.flatMap(y=>y.tasks).find(y=>y.id===v),R=b[_][oe][v].priority.selectedOption;if(I!=null&&R!=null){const y=pt.find(E=>E.code===R);y!=null&&u(I,{priority:y})}return}if(i.includes(lt)){const v=i.split(".")[2],I=C.flatMap(y=>y.tasks).find(y=>y.id===v),R=b[_][oe][v].status.selectedOption;if(I!=null&&R!=null){const y=ut.find(E=>E.code===R);I!=null&&y!=null&&u(I,{status:y})}return}if(i.includes(at)){const v=i.split(".")[2],I=C.flatMap(O=>O.tasks).find(O=>O.id===v),R=C.find(O=>O.tasks.find(Ge=>Ge.id===v))?.id,y=b[_][oe][v].assignees.selectedUsers.map(O=>O.userId),E=b[_][oe][v].assignees.selectedUserGroups?.map(O=>O.userGroupId);R!=null&&y!=null&&I!=null&&u(I,{assignees:y,groupAssignees:E});return}if(i.includes(rt)){const v=i.split(".")[2],I=C.flatMap(E=>E.tasks).find(E=>E.id===v),R=C.find(E=>E.tasks.find(O=>O.id===v))?.id,y=b[_][oe][v].dueDate.date;R!=null&&y!=null&&I!=null&&u(I,{dueDate:y});return}if(i.includes(nt)){const v=i.split(".")[2],I=C.flatMap(E=>E.tasks).find(E=>E.id===v),R=C.find(E=>E.tasks.find(O=>O.id===v))?.id,y=b[_][oe][v].tags.selectedOptions;R!=null&&y!=null&&I!=null&&u(I,{tagIds:y});return}i.includes(fe)&&ae.trigger(i);const P=Yo(i,b,w);h(P)};n.useEffect(()=>{const i=ae.watch((b,{name:P})=>{P!=null&&b!=null&&vt(()=>Se(P,b))});return()=>{i.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 ge=C.length>1&&w.selectedTaskIds.length>0&&r!==Y,ke=w.newTaskGroupName.length>0||w.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ae,children:t.jsx("form",{id:qe(Be),onSubmit:ae.handleSubmit(ye),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ke,windowSize:L,children:t.jsx(Gt,{children:({height:i,width:b})=>t.jsx(Lt,{ref:m,outerRef:F,height:i,itemCount:X.length,itemSize:$e,estimatedItemSize:Nt,itemKey:P=>X[P].id,width:b,overscanCount:It,itemData:{tagList:d,taskGroupsWithTasksList:X,uiState:Q,collapsedGroups:te,userList:e.userList,userGroupList:ee.userGroups,renameActiveField:r,selectedRowIds:w.selectedTaskIds,existingTaskGroupNamesByGroupId:w.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:Te,setRowHeight:me,onTaskManagementRowClick:D,onColumnSortConfigChanged:x,onAddNewTaskToTaskGroup:$,onCollapseAll:se,onDeleteTaskGroup:ue,onExpandAll:ie,onTimeSpentUpdate:z,onShowToast:A,onCreateTagClick:B,onTaskGroupNameClick:M},initialScrollOffset:0,children:Vo})})})})}),ke?t.jsx(Et,{formId:qe(Be),primaryBtn:{label:C.length===1&&w.selectedTaskIds.length>0&&r!==Y?Ee.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:be},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&w.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(ht,{count:w.selectedTaskIds.length}),t.jsx(nn,{children:w.selectedTaskIds.length>1?Ee.taskList.footer.tasksSelected:Ee.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&w.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Me,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:ve})})})}),showPrimaryButton:ge===!1,customPrimaryButton:ge?t.jsxs(t.Fragment,{children:[t.jsx(Ae,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(bs,{taskGroupsList:C,anchorEl:G,groupByKey:Q.groupByKey,onCreateNewGroup:pe,onExistingGroupSelection:i=>{re(),T(i)},onClose:re})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const u=n.useRef(null),k=de(),{tagList:p,taskGroupsWithTasksList:a,uiState:h,renameActiveField:c,collapsedGroups:l,onCollapseToggle:g,onTaskManagementRowClick:T,setRowHeight:N,onColumnSortConfigChanged:D,onCollapseAll:x,onExpandAll:$,onAddNewTaskToTaskGroup:f,onDeleteTaskGroup:z,handleOnDragNDrop:A,onRenameClick:B,userList:M,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:j,onShowToast:S,onCreateTagClick:L,onTaskGroupNameClick:w,userGroupList:C}=r;n.useEffect(()=>{u.current?.firstElementChild!=null&&N(e,u.current.firstElementChild.clientHeight)},[e,u,k,a[e]?.tasks]);const Q=n.useCallback(F=>{const K=F.dataTransfer.getData("row");A(K,a[e].id)},[A,e,a]),ee=n.useCallback(F=>{F.preventDefault()},[]),te=(F,K)=>{F.dataTransfer.setData("row",K)},q=()=>{B(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:u,onDrop:Q,onDragOver:ee,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:h,isCollapsed:l.includes(a[e].id),onCollapseToggle:g,showRenameTextField:c===a[e].id,userGroupList:C,isSelectionAllowed:c==null,onTaskManagementRowClick:T,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:f,onCollapseAll:x,onDeleteTaskGroup:z,onExpandAll:$,selectedRowIds:m,userList:M,existingTaskGroupNamesByGroupId:G,onDragStart:te,onRenameClick:q,onTimeSpentUpdate:j,onShowToast:S,onCreateTagClick:L,onTaskGroupNameClick:w},a[e].id)})},Ko=({taskGroup:e,userGroupList:d,tagList:r,showGroupName:u,uiState:k,showRenameTextField:p,isCollapsed:a,isSelectionAllowed:h,selectedRowIds:c,userList:l,existingTaskGroupNamesByGroupId:g,onRenameClick:T,onTaskManagementRowClick:N,onCollapseToggle:D,onColumnSortConfigChanged:x,onCollapseAll:$,onExpandAll:f,onAddNewTaskToTaskGroup:z,onDeleteTaskGroup:A,onDragStart:B,onTimeSpentUpdate:M,onShowToast:m,onCreateTagClick:G,onTaskGroupNameClick:j})=>{const S=de(),L=S==="medium-regular"||S==="medium-compact"||S==="small"?mo:Pt;return t.jsx(L,{taskGroup:e,tagList:r,userList:l,sectionId:_,showGroupName:u,uiState:k,showRenameTextField:p,isCollapsed:a,isSelectionAllowed:h,selectedRowIds:c,existingTaskGroupNamesByGroupId:g,userGroupList:d,onAddNewTaskToTaskGroup:z,onCollapseAll:$,onDeleteTaskGroup:A,onExpandAll:f,onCollapseToggle:D,onTaskManagementRowClick:N,onColumnSortConfigChanged:x,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:M,onShowToast:m,onCreateTagClick:G,onTaskGroupNameClick:j})},Qe=(e,d,r,u,k)=>{const p={},a={};e.forEach(c=>{a[c.id]={[we]:[],[he]:d.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(l=>{d.selectedTaskIds.includes(l.id)&&a[c.id].selectedIds.push(l.id),p[l.id]={[lt]:{selectedOption:l.status.code,allOptions:ut.map(g=>({label:g.name,value:g.code}))},[it]:{selectedOption:l.priority.code,allOptions:pt.map(g=>({label:g.name,value:g.code}))},[rt]:{date:l.dueDate,showBusinessDay:!1},[at]:{allUsers:r,selectedUsers:l.assigneeUsers.map(g=>g.user),allUserGroups:k,selectedUserGroups:l.groupAssignees.map(g=>k.find(T=>T.userGroupId===g)).filter(g=>g!=null)},[nt]:{allOptions:Mt(u),selectedOptions:l.tagIds},[fe]:l.timeSpent}})});const h={[dt]:{[Y]:{[he]:d.newTaskGroupName,[we]:[]},...a},[oe]:p};return{[_]:h}},Yo=(e,d,r)=>{if(e.includes(_)){const u=e.split(".")[2];if(e.includes(he))return e.includes(Y)?{...r,newTaskGroupName:d[_].groupData[u][he]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[u]:d[_].groupData[u][he]}};if(e.includes(we)){const k=Wt(Ot(Object.values(d[_][dt]),we)).filter(p=>p!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:k}}}return r},qo=o.div`
|
|
434
434
|
display: block;
|
|
435
435
|
height: 100%;
|
|
436
|
-
`,
|
|
436
|
+
`,Xo=o.div`
|
|
437
437
|
width: 100%;
|
|
438
438
|
height: 100vh;
|
|
439
439
|
display: flex;
|
|
@@ -464,7 +464,7 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
464
464
|
&:hover {
|
|
465
465
|
color: ${e=>e.theme.colors.primary};
|
|
466
466
|
}
|
|
467
|
-
`,en=o(
|
|
467
|
+
`,en=o(yt)`
|
|
468
468
|
margin-top: ${s.sp3};
|
|
469
469
|
color: ${e=>e.theme.colors.hero};
|
|
470
470
|
`,tn=o.div`
|
|
@@ -505,4 +505,4 @@ import{ay as kt,f as Ze,V as t,jH as Y,bE as xt,ab as U,ct as wt,an as V,as as f
|
|
|
505
505
|
align-items: center;
|
|
506
506
|
justify-content: flex-end;
|
|
507
507
|
padding-right: ${s.sp6};
|
|
508
|
-
`;export{
|
|
508
|
+
`;export{jn as default,qe as uniqueFormName};
|