@zeniai/web-cockpit-ui 1.13.87-dev → 1.13.88-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-CW8vDdF5-BjcStneE.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
- package/dist/assets/{AIPerformancePage-tSqRY12b-CS74oHek.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
- package/dist/assets/{AccountInfoPage-C9rcnhgb-CRWEZYsW.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
- package/dist/assets/{AccountRow-cQU8OX0K-yHyqR7LP.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
- package/dist/assets/{AddToWalletPage-Lkfz2CzH--lPqUVOg.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
- package/dist/assets/{AgingReportsPage-DtW2tU4n-DVEUTxX1.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
- package/dist/assets/{AllUserItems-DcuO9Oho-D7VaO8Uf.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
- package/dist/assets/{AppBasePage-iuomCofd-D1M4Ldw8.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
- package/dist/assets/{AppDrawerContent-BfpdXsfY-BoqfQVbX.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
- package/dist/assets/{ArAgingChart--GzyqIlN-wEZY3asj.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
- package/dist/assets/{ArAgingDetailPage-A0zmG_tR--cuXu7ko.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
- package/dist/assets/{AttachmentView-D203zhS3-Blc80O1o.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
- package/dist/assets/{BankAccountSection-iz2k4H5K-CWZXnWVk.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
- package/dist/assets/{BillDetailPage-BJbdAC5y-CMbCAQ4h.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
- package/dist/assets/{BillPayPromoPage-DZn9Wdsi-COOh5nks.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-BGxI3SGy--373OJdf.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
- package/dist/assets/{BillingSettingsPage-B3h6dTYD-CiH5BD6s.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
- package/dist/assets/{BoxItem-C-RN4c2j-F6XwRGQ-.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BEK8kZil-Di05q2Gg.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
- package/dist/assets/{CardNumberSubText-Bvs0Rr9x-DPY11oi8.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-9aAW-23b-6kdPvDSO.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
- package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
- package/dist/assets/{ChargeCardListTable-jGT-e74M-5-uAUG8Z.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
- package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-C-37hd5J-B8Ue09Ej.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
- package/dist/assets/{ChaseOverlay-BG833ttH-_qJdBH9y.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
- package/dist/assets/{CollapsableReportTable-CtS-s84B-BR4en1d9.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
- package/dist/assets/{CompanyPassportCard-n-awcw82-DRSohnEc.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
- package/dist/assets/{CompanyPassportPage-WfbfWOs1-COSgoQMl.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
- package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
- package/dist/assets/{ConfettiBurst-UJtKVS38-DdsiBpUw.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
- package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
- package/dist/assets/{CurrencySelectField-DGID-Pjb-B38xYqrH.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
- package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
- package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
- package/dist/assets/{DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
- package/dist/assets/{DownloadOverlay-VDEpvzHH-C6KDM3Im.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
- package/dist/assets/{DrawerPage-BauCSJ4q-DA93KkS0.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
- package/dist/assets/{EditPeoplePage-mz7FTion-DdIStM8G.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
- package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bc2AVCEp-DOVttkwP.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
- package/dist/assets/{EntitySummarySection-CDO6K9RG-CZ1I06e-.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-A03nzEV--i6evGevK.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
- package/dist/assets/{ExpressPayPage-B5QCvPtb-mYcSl8Ub.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-Czr4aIad-Bq5X23tc.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf1g5oOj-5G8g4W7R.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
- package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
- package/dist/assets/{InformationCardStack-WnJWUp5O-BeMJUt9i.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
- package/dist/assets/{InsightsCardStack-CRA0RPsW-D6ISd9AF.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
- package/dist/assets/{InsightsSection-DvcmBPbo-Kmp0eo1Q.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
- package/dist/assets/{InviteFormPage-Zy3qQng6-WUFAPnrT.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
- package/dist/assets/{InvitePageListView-gATEAhxa-BJvv1nxH.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
- package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
- package/dist/assets/{LabeledAddressValue-C5YXOhcz-DcQYX30H.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
- package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
- package/dist/assets/{LabeledText-DaM1ChQF-BwcpwF0f.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
- package/dist/assets/{LowBalancePopup-ZfmTgr7J-C3y63M8c.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BV_-2RQM-CCg3F_6v.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
- package/dist/assets/{Menu-Dhi3mAAc-CTdMUIt5.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
- package/dist/assets/{NavBarWithPicker-BF7k45-H-CqiTH9vF.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
- package/dist/assets/{NavigationArrow-DKuw9kCL-2Rze1y5j.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
- package/dist/assets/{NavigationDots-DfJQIsra-CF_rwB9h.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
- package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
- package/dist/assets/{NoDataTable-Txtz3a1x-CVIPKw2H.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
- package/dist/assets/{NotFoundPage-DewJikvf-DquNlF_a.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
- package/dist/assets/{NotificationsListConfig-B6PteXf7-BPHFWRyo.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
- package/dist/assets/{NotificationsPage-CqmgbRYI-B1REvxM0.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
- package/dist/assets/{OpExByVendorPage-CYAYFvCM-CDkrX969.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-W0ax80yE.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-v5t7YeHA-c32BpF_9.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
- package/dist/assets/{PeoplePage-D89yZGJn-CFNcLLmk.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
- package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
- package/dist/assets/{PortfolioDetails-B1HXVeH2-D3KDftxW.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
- package/dist/assets/{ProductsCarousel-BeOYePu1-BPS8weXu.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
- package/dist/assets/{PromoBaseCards-D1DDp9C1-BMl9m8-G.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-nb_5mvqp-CNrftMhR.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
- package/dist/assets/{QBOSetupSection-b-OrlvdU-D5Bh2qoF.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
- package/dist/assets/{ReimbursementDetailPage-DHsqq__V-BbntdEZI.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
- package/dist/assets/{ReimbursementPromoPage-D-wmyfH--DT237a-Y.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
- package/dist/assets/{ReloadCard-D72dkm5s-DHOqIhPE.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
- package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
- package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
- package/dist/assets/{RevenueChart-G7w1_QXE-CK6mJH77.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
- package/dist/assets/{ReviewOverlay-D0tbkcpk-u3R_yBnI.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
- package/dist/assets/{RoleWithToolTip-w2s9tX9j-CThc8drW.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
- package/dist/assets/{ScreenRoutes-1MbaXcJV.js → ScreenRoutes-BiNVsQKa.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CuOJZCNp-D6aQorsQ.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
- package/dist/assets/{SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
- package/dist/assets/{SignIn-CtZ8rTB_-wQdGuYtt.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
- package/dist/assets/{SignInScreen-BSTxrh_N.js → SignInScreen-BJO_D-wG.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
- package/dist/assets/{SpendManagementSection-B1F6rl-n-Bxu1kHsM.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
- package/dist/assets/{StatementItem-CK2sUgkE-C5tUfOGU.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
- package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
- package/dist/assets/{StatusSwitcher-BppDI7-7-CaTqg34_.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DTe2L8JC-D4RBO14j.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
- package/dist/assets/{SummaryCard-B-_3DnqQ-C4MQdd4u.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
- package/dist/assets/{TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CQ37qP58-CJPthL9i.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
- package/dist/assets/{TopExCard-CU-kbyDP-BkqVk6Yr.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
- package/dist/assets/{TopExDetailPage-COxNovqU-TyxPPRK9.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
- package/dist/assets/{TransactionDetailPage-k06RliU--jpVAAS-E.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
- package/dist/assets/{TransactionList-CuRdM1xm-CGrWmUwi.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
- package/dist/assets/{TransactionListBig-ByLaQQUK-DVTWGGO_.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
- package/dist/assets/{TransactionListPage-ioT-Jexm-z12q095m.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B6zOVR7E-PtwoiwD5.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
- package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
- package/dist/assets/{TrendChart-BXOatw0x-CophMwJ6.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BxoyLfjd-_bPvq9jR.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-Clt-99RU-BrzMoE2E.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
- package/dist/assets/{VendorDetailPage-BeADTlAW-BEAFQ3r2.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
- package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CLrfBouK-CqWzAgHB.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
- package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B_2DB9mm-Do8EbmHN.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
- package/dist/assets/{analyticsHelper-COZBEzRa.js → analyticsHelper-Bfbjyikr.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
- package/dist/assets/{chartTypes-DpnOYtNo-C1MRDQOQ.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
- package/dist/assets/{commonDimensions-D2zuat_O-BjWWOnE2.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
- package/dist/assets/{detailCommon-CloEmsTm-FeTpoyrx.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
- package/dist/assets/{downloadPdf-OWaFOL1J-_yuPyAAc.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
- package/dist/assets/{index-LFy5NlUr.js → index-CvH632ro.js} +2991 -3029
- package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
- package/dist/assets/{play-icon-NE4JTPpx-CK0WoxqT.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DN21aiLH-Bx86HqeI.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
- package/dist/assets/{toChartData-CG9GudeA-Bcz5dDyw.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
- package/dist/assets/{uploadAttachment-D42oX05_-CRxK5DEq.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
- package/dist/assets/{uploadReceipts-Buvz7DfG-DslgfUmv.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +0 -1
- package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +0 -355
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +0 -219
- package/dist/assets/CompleteProfile-D80JYwPP-BRDUY6r-.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +0 -1
- package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +0 -1253
- package/dist/assets/DashboardReportPage--SAxmUu_-Dq18S8YZ.js +0 -349
- package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +0 -28
- package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +0 -12
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +0 -41
- package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +0 -26
- package/dist/assets/ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js +0 -133
- package/dist/assets/ReportsPage-7E3Q5HHF-DXypTMXr.js +0 -120
- package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +0 -58
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as bt,bT as vt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,p as ke,iW as re,w as ie,iX as It,iY as Et,a6 as Mt,r as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,v as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Ht,j1 as Vt,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-CvH632ro.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-D_HyfwAe-SNH64OwE.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DZBF9h2L-DipP-kuo.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-D-0rNVEI-0aefdUDA.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
|
|
2
2
|
${e=>e.isCircular?fe`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -16,7 +16,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
16
16
|
outline-color: inherit;
|
|
17
17
|
`,cs=o(Dt)`
|
|
18
18
|
color: inherit;
|
|
19
|
-
`,{taskManagement:Re,common:Ge}=oe.getLocalizedStrings();function ps(e){const{onChange:u,value:r,resetDisabled:h,onReset:m}=e,p=()=>{h!==!0&&m()};return t.jsxs(us,{children:[t.jsx(gs,{children:Re.taskList.groupingFilters.groupBy}),t.jsx(hs,{children:t.jsx(
|
|
19
|
+
`,{taskManagement:Re,common:Ge}=oe.getLocalizedStrings();function ps(e){const{onChange:u,value:r,resetDisabled:h,onReset:m}=e,p=()=>{h!==!0&&m()};return t.jsxs(us,{children:[t.jsx(gs,{children:Re.taskList.groupingFilters.groupBy}),t.jsx(hs,{children:t.jsx(Jt,{value:r,placeHolder:Re.taskList.groupingFilters.placeholder,onChange:a=>{const c=Q.toTaskListGroupByKeyTypeStrict(a.value);if(c!=null)u(c);else throw new Error("Invalid taskListGroupByKey")},options:Q.TASK_LIST_GROUP_BY_CATEGORIES,getOptionLabel:a=>{const c=Ge.texts,i=Q.toTaskListGroupByKeyTypeStrict(a);return i!=null?c[i]:Ge.strings.empty}})}),t.jsxs(ms,{onClick:p,isDisabled:h,children:[t.jsx(ks,{}),t.jsx(K,{children:Ge.reset})]})]})}const us=o.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
column-gap: ${s.sp4};
|
|
@@ -41,10 +41,10 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
41
41
|
column-gap: ${s.sp1};
|
|
42
42
|
`,gs=o(ft)`
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
`,ks=o(
|
|
44
|
+
`,ks=o(Je)`
|
|
45
45
|
width: ${s.sp3};
|
|
46
46
|
height: ${s.sp3};
|
|
47
|
-
`,xs=oe.getLocalizedStrings().taskManagement.taskList.footer;function ws({taskGroupsList:e,anchorEl:u,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:p}){const a=()=>{p(),h()};return t.jsx(
|
|
47
|
+
`,xs=oe.getLocalizedStrings().taskManagement.taskList.footer;function ws({taskGroupsList:e,anchorEl:u,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:p}){const a=()=>{p(),h()};return t.jsx(Ze,{open:!!u,anchorEl:u,onClose:p,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(fs,{children:[t.jsx(Cs,{children:e.map(c=>{const i=()=>{p(),m(c.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(ie,{children:c.groupName})},c.id)})}),t.jsx(V,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(Ts,{}),t.jsx(ie,{children:xs.createGroup})]})})]})})}const fs=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,Oe=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -83,7 +83,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
83
83
|
}
|
|
84
84
|
`,vs=o.div`
|
|
85
85
|
cursor: pointer;
|
|
86
|
-
`,js=o(
|
|
86
|
+
`,js=o(Et)`
|
|
87
87
|
display: flex;
|
|
88
88
|
border-width: ${s.sp0};
|
|
89
89
|
outline-width: ${s.sp0};
|
|
@@ -94,10 +94,10 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
94
94
|
::placeholder {
|
|
95
95
|
color: ${e=>e.theme.colors.grey1};
|
|
96
96
|
}
|
|
97
|
-
`,Ss=o(
|
|
97
|
+
`,Ss=o(Mt)`
|
|
98
98
|
width: ${s.sp3};
|
|
99
99
|
height: ${s.sp3};
|
|
100
|
-
`,Gs=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"})),Ls=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"})),Ns=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:Is,common:
|
|
100
|
+
`,Gs=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"})),Ls=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"})),Ns=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:Is,common:Es}=oe.getLocalizedStrings(),X=Is.taskList.newTaskOptions;function Ms({anchorEl:e,groupByKey:u,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:p,onExpandTemplate:a,onClose:c,onNewTaskClick:i,onNewGroupClick:d,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:j,onNewTaskInitialization:E}){const M=qe(),[k,f]=n.useState(null),[w,D]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(D(null),f(null),c())},[h.fetchState,c]);const z=n.useCallback(($,x)=>{f(x),j($,x)},[j]),B=n.useCallback($=>{D($),C($)},[C]);return t.jsx(Ze,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${M.colors.grey3}`}},anchorEl:e,onClose:c,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(zs,{isTaskTemplatesEnabled:m,children:[t.jsxs(As,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Bs,{}),t.jsx(Ie,{children:X.task})]}),t.jsx(V,{controller:u==="groupName",children:t.jsxs(Pe,{onClick:()=>d(""),children:[t.jsx(Ws,{}),t.jsx(Ie,{children:X.group})]})})]}),m?t.jsx(Ds,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:p,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:d,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ds=({taskGroupTemplates:e,taskIdInCreation:u,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:p,handleGroupTemplateTaskClick:a,onNewGroupClick:c,onNewTaskInitialization:i})=>{const[d,C]=n.useState(""),j=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(d.toLowerCase()))k.push(f);else{const w=f.tasks.filter(D=>D.name.toLowerCase().includes(d.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,d]),E=n.useCallback(()=>{i(d)},[d,i]),M=n.useCallback(()=>{c(d)},[d,c]);return t.jsxs(Rs,{children:[t.jsx(Os,{children:t.jsxs(Ps,{children:[t.jsxs(Fs,{children:[t.jsx(Hs,{}),t.jsx(Vs,{children:X.groupTemplates})]}),t.jsx($s,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:d,onSearchTextChanged:C,placeholder:X.searchPlaceholder})]})}),t.jsx(V,{controller:j.length>0,children:t.jsx(Us,{children:j.map(k=>{const f=h===k.id;return t.jsxs(eo,{children:[t.jsxs(_s,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Ks,{children:[t.jsx(V,{controller:f,children:t.jsx(Qs,{})}),t.jsx(V,{controller:!f,children:t.jsx(Xs,{})}),t.jsx(K,{children:k.name}),t.jsx(lt,{count:k.tasks.length})]}),t.jsx(Zs,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:X.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),p(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(V,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Ys,{children:[t.jsxs(qs,{children:[t.jsx(to,{className:"styled-dot"}),t.jsx(no,{className:"task-name-text",children:w.name})]}),t.jsx(Js,{loading:u===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Es.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(V,{controller:j.length===0,children:[t.jsx(so,{children:t.jsx(oo,{children:X.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(Ve,{}),t.jsx(K,{children:X.newTaskOptionText.replace("__searchText__",d)})]}),t.jsxs(He,{onClick:M,children:[t.jsx(Ve,{}),t.jsx(K,{children:X.newGroupOptionText.replace("__searchText__",d)})]})]})]})},zs=o.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex-direction: column;
|
|
103
103
|
width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
|
|
@@ -145,9 +145,9 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
145
145
|
width: ${s.sp3};
|
|
146
146
|
height: ${s.sp3};
|
|
147
147
|
color: ${e=>e.theme.colors.primary};
|
|
148
|
-
`,
|
|
148
|
+
`,Vs=o(Ie)`
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
|
-
`,
|
|
150
|
+
`,Us=o.div`
|
|
151
151
|
max-height: 320px;
|
|
152
152
|
overflow: auto;
|
|
153
153
|
`,_s=o.div`
|
|
@@ -188,7 +188,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
188
188
|
display: block;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
191
|
+
`,qs=o.div`
|
|
192
192
|
display: flex;
|
|
193
193
|
align-items: center;
|
|
194
194
|
cursor: pointer;
|
|
@@ -201,11 +201,11 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
201
201
|
background-color: ${e=>e.theme.colors.primary};
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
`,
|
|
204
|
+
`,Zs=o(De)`
|
|
205
205
|
display: ${e=>e.expanded===!0?"block":"none"};
|
|
206
|
-
`,
|
|
206
|
+
`,Js=o(De)`
|
|
207
207
|
display: none;
|
|
208
|
-
`,
|
|
208
|
+
`,Xs=o(Lt)`
|
|
209
209
|
width: ${s.sp3};
|
|
210
210
|
height: ${s.sp3};
|
|
211
211
|
`,Qs=o(Qe)`
|
|
@@ -234,7 +234,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
234
234
|
background-color: ${e=>e.theme.colors.background};
|
|
235
235
|
color: ${e=>e.theme.colors.primary};
|
|
236
236
|
}
|
|
237
|
-
`,
|
|
237
|
+
`,Ve=o(et)`
|
|
238
238
|
width: ${s.sp3};
|
|
239
239
|
height: ${s.sp3};
|
|
240
240
|
`,no=o(K)`
|
|
@@ -243,7 +243,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Le,dateFormat:ao,taskManagement:
|
|
246
|
+
`,{common:Le,dateFormat:ao,taskManagement:Me}=oe.getLocalizedStrings(),dt={taskNameMaxWidth:new Xe(125,170,170,250,300)},ro=({taskDetail:e,tagList:u,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:p})=>{const a=le(),c=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,d=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:C,resetField:j,getFieldState:E}=it(),M=(k,f)=>{const w=We(k,f,we);E(w).invalid?j(w):m(e,{timeSpent:C(w)})};return t.jsxs(co,{children:[t.jsxs($o,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(yo,{windowSize:a,children:[t.jsx(vo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(So,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(bo,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(jo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Io,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Eo,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(ao.visual.MMMDCommaYYYYformat):t.jsx(po,{children:Le.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:J[4].width,children:c>0?t.jsxs(uo,{children:[t.jsx(Ut,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Go,{children:t.jsx(Lo,{children:d})}),c>1?t.jsx(ho,{children:`${Le.strings.plus}${c-1}`}):null]}):null}),t.jsx(Mo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(No,{children:_t(e.tagIds,u)}):null}),t.jsx(zo,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Bo,{className:"timeSpentField",children:t.jsx(Kt,{name:We(r,e.id,we),placeholder:Me.common.timeSpentPlaceholder,timeSpentFormat:Me.common.timeSpentFormat,registerOptions:{validate:k=>Q.convertHHMMStrToMinutes(k)>Yt?(p({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},io=({taskGroup:e,tagList:u,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:p,isCollapsed:a,existingTaskGroupNamesByGroupId:c,onDeleteTaskGroup:i,onExpandAll:d,onCollapseAll:C,onAddNewTaskToTaskGroup:j,onCollapseToggle:E,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=le(),{setFocus:$}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(R=>{z(R.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{j(e.id)},[j,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),b=n.useCallback(()=>{$(`${r}.groupName`),y()},[y,r,$]);return t.jsxs(lo,{windowSize:B,children:[t.jsx(V,{controller:h,children:t.jsxs(mo,{children:[t.jsxs(go,{children:[t.jsx(ko,{isOpen:a===!1,onClick:x,children:t.jsx(xo,{})}),t.jsx(At,{style:{textAlign:"start",width:"100%",background:"unset",...Rt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Me.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:R=>Ot(R,e.id,c)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(wo,{onClick:S,children:t.jsx(fo,{})}),t.jsx(Ft,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:d,onRename:b,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(V,{controller:a===!1,children:t.jsx(Pt,{mode:"checked_or_hover",isDisabled:p===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(R=>{const U=()=>{M(R.id)};return{label:t.jsx(ro,{taskDetail:R,onRowClick:U,tagList:u,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(Co,{children:t.jsx(To,{})}),value:R.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},lo=o.div`
|
|
247
247
|
box-sizing: border-box;
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: column;
|
|
@@ -285,7 +285,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
285
285
|
flex-direction: row;
|
|
286
286
|
align-items: center;
|
|
287
287
|
color: ${e=>e.theme.colors.hero};
|
|
288
|
-
`,ho=o(
|
|
288
|
+
`,ho=o(Zt)`
|
|
289
289
|
border: 1px solid ${e=>e.theme.colors.hero};
|
|
290
290
|
width: calc(${s.sp3} + ${s.sp1});
|
|
291
291
|
height: calc(${s.sp3} + ${s.sp1});
|
|
@@ -317,7 +317,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
317
317
|
`,Co=o.div`
|
|
318
318
|
padding-left: ${s.sp3};
|
|
319
319
|
cursor: grab;
|
|
320
|
-
`,To=o(
|
|
320
|
+
`,To=o(Vt)`
|
|
321
321
|
width: ${s.sp3};
|
|
322
322
|
height: ${s.sp3};
|
|
323
323
|
`,$o=o.div`
|
|
@@ -351,7 +351,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
351
351
|
white-space: nowrap;
|
|
352
352
|
overflow: hidden;
|
|
353
353
|
text-overflow: ellipsis;
|
|
354
|
-
`,So=o(
|
|
354
|
+
`,So=o(qt)`
|
|
355
355
|
display: flex;
|
|
356
356
|
align-items: center;
|
|
357
357
|
margin-left: ${s.sp1};
|
|
@@ -375,7 +375,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: center;
|
|
377
377
|
column-gap: ${s.sp2};
|
|
378
|
-
`,
|
|
378
|
+
`,Ue=o.div`
|
|
379
379
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
380
380
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
381
381
|
overflow: hidden;
|
|
@@ -394,7 +394,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
394
394
|
justify-content: ${e=>e.isLastColumn===!0?"flex-end":"flex-start"};
|
|
395
395
|
padding-right: ${s.sp1};
|
|
396
396
|
column-gap: ${s.sp2};
|
|
397
|
-
`,
|
|
397
|
+
`,Eo=o(ie)`
|
|
398
398
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
399
399
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
400
400
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -404,7 +404,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
404
404
|
justify-content: ${e=>e.isLastColumn===!0?"flex-end":"flex-start"};
|
|
405
405
|
padding-right: ${e=>e.isLastColumn===!0?s.sp2:s.sp0};
|
|
406
406
|
column-gap: ${s.sp2};
|
|
407
|
-
`,
|
|
407
|
+
`,Mo=o.div`
|
|
408
408
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
409
409
|
min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
410
410
|
overflow: hidden;
|
|
@@ -430,10 +430,10 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
430
430
|
column-gap: ${s.sp2};
|
|
431
431
|
`,Bo=o.div`
|
|
432
432
|
max-width: ${s.sp11};
|
|
433
|
-
`,Wo=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=oe.getLocalizedStrings(),_e=e=>`${e}_form`,Ao={rowGap:new Je(ke[0],ke[5],ke[5])},{common:{footer:Ke},taskManagement:Ne}=oe.getLocalizedStrings(),xn=({taskListView:e,tagListView:u,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:c,onTaskManagementRowClick:i,onReloadTasks:d,onColumnSortConfigChanged:C,onSearchTextChanged:j,onBackClick:M,onNewTaskClick:E,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:b})=>{const[R,V]=n.useState(!1),[ee,F]=n.useState(null),[P,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=ht(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:ye}=e,{tagList:be}=u,ve=Ze(),je=A=>{ae(A)},me=n.useCallback(A=>{de(A.currentTarget)},[]),ge=n.useCallback(A=>{B(A)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(A=>{b(A)},[b]),O=ce.users.map(A=>A.user).filter(A=>A!=null),N={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:je,onSearchTextChanged:j,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ps,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>os("task_management",O,Te.loggedInUserRole??[],u.tagList)},I=n.useCallback(A=>{de(null),F(Y),c({...e.localData,newTaskGroupName:A})},[e.localData,c]),W=n.useCallback(()=>{de(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{F(Y)},[]),se=n.useCallback(A=>{ue(ut=>ut===A?null:A)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&V(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ct=()=>te==="Error"?t.jsxs(Vo,{children:[t.jsx(_o,{onClick:d,children:t.jsx(Ko,{})}),t.jsx(Yo,{children:H.common.reloadPage.label})]}):te==="Completed"&&ye.length===0?t.jsx(xt,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(wt,{fetchState:te}):t.jsx(Ro,{taskListView:e,tagList:be,renameActiveField:ee,updateTask:m,onDragNDrop:p,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:V,updateLocalData:c,setActiveTaskGroupId:ne,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),pt=t.jsx(Jt,{spendManagementSectionProps:N});return t.jsxs(Uo,{children:[t.jsx(mt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ve.colors.grey4,style:{zIndex:3},onBackClick:M,rightSideComponent:pt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Es,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:W,onNewTaskClick:E,onNewGroupClick:I,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Ho,{children:ct()}),t.jsx(U,{controller:R===!0,children:t.jsx(gt,{action:{onOkClick:v,onCancelClick:()=>{V(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(Qo,{children:t.jsx(kt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(en,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ro=({taskListView:e,tagList:u,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:p,onDragNDrop:a,updateLocalData:c,setShowDeleteModal:i,handleCreateGroup:d,resetLocalData:C,assignGroupToTasks:j,setGroupCreationInProgress:M,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=le(),{localData:g,taskGroupsWithTasksList:b,uiState:R}=e,[V,ee]=n.useState([]),F=n.useRef(null);ls({scrollContainerRef:F,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=Tt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u])}),Z=n.useMemo(()=>{if(r!==Y)return b;const l=[],G=b.map(O=>{const N=O.tasks.filter(I=>{const W=g.selectedTaskIds.includes(I.id)===!0;return W&&l.push(I),W===!1});return{...O,tasks:N}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,b,g.selectedTaskIds]),ue=n.useCallback(l=>V.includes(Z[l].id)||Z[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Ao.rowGap.value(L):(Qt*1+es)*3+ts+ss,[V,Z,L]),Ce=n.useCallback(l=>{S(l.currentTarget)},[]),de=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,b]),he=n.useCallback(l=>{ee(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{S(null)},[]),Te=n.useCallback(()=>{ee(b.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[b]),te=n.useCallback(()=>{ee([]),$.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{M(),$.current?.scrollTo(0),ae()},[ae,M]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?q():d(!0):r===Y?d(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,q,d,m]),ye=n.useCallback(()=>{p(null),C()},[C,p]),be=n.useCallback(l=>{C(),p(l)},[C,p]),ve=n.useCallback(()=>{g.defaultTaskGroupId!=null&&j(g.defaultTaskGroupId)},[j,g.defaultTaskGroupId]),je=async(l,G)=>{if(l.includes(nt)){const N=l.split(".")[2],I=b.flatMap(v=>v.tasks).find(v=>v.id===N),W=G[_][re][N].priority.selectedOption;if(I!=null&&W!=null){const v=Q.allTaskPriority.find(T=>T.code===W);v!=null&&h(I,{priority:v})}return}if(l.includes(at)){const N=l.split(".")[2],I=b.flatMap(v=>v.tasks).find(v=>v.id===N),W=G[_][re][N].status.selectedOption;if(I!=null&&W!=null){const v=Q.allTaskStatus.find(T=>T.code===W);I!=null&&v!=null&&h(I,{status:v})}return}if(l.includes(st)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].assignees.selectedUsers.map(T=>T.userId);W!=null&&v!=null&&I!=null&&h(I,{assignees:v});return}if(l.includes(ot)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].dueDate.date;W!=null&&v!=null&&I!=null&&h(I,{dueDate:v});return}if(l.includes(tt)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].tags.selectedOptions;W!=null&&v!=null&&I!=null&&h(I,{tagIds:v});return}l.includes(we)&&ne.trigger(l);const O=Po(l,G,g);c(O)};n.useEffect(()=>{const l=ne.watch((G,{name:O})=>{O!=null&&G!=null&&$t(()=>je(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupUpdateStatus.fetchState]);const me=b.length>1&&g.selectedTaskIds.length>0&&r!==Y,ge=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(yt,{...ne,children:t.jsx("form",{id:_e(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(Zo,{isFooterVisible:ge,windowSize:L,children:t.jsx(bt,{children:({height:l,width:G})=>t.jsx(vt,{ref:$,outerRef:F,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:St,itemKey:O=>Z[O].id,width:G,overscanCount:jt,itemData:{tagList:u,taskGroupsWithTasksList:Z,uiState:R,collapsedGroups:V,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:Oo})})})})}),ge?t.jsx(Gt,{formId:_e(ze),primaryBtn:{label:b.length===1&&g.selectedTaskIds.length>0&&r!==Y?Ne.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(Xo,{children:[t.jsx(lt,{count:g.selectedTaskIds.length}),t.jsx(Jo,{children:g.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(sn,{children:t.jsx(Me,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(tn,{onClick:ve})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(De,{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(ws,{taskGroupsList:b,anchorEl:x,groupByKey:R.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Oo=({index:e,style:u,data:r})=>{const h=n.useRef(null),m=le(),{tagList:p,taskGroupsWithTasksList:a,uiState:c,renameActiveField:i,collapsedGroups:d,onCollapseToggle:C,onTaskManagementRowClick:j,setRowHeight:M,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&M(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const b=n.useCallback(F=>{const P=F.dataTransfer.getData("row");z(P,a[e].id)},[z,e,a]),R=n.useCallback(F=>{F.preventDefault()},[]),V=(F,P)=>{F.dataTransfer.setData("row",P)},ee=()=>{B(a[e].id)};return t.jsx(qo,{style:{...u,width:"100%"},ref:h,onDrop:b,onDragOver:R,children:t.jsx(Fo,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:c,isCollapsed:d.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:V,onRenameClick:ee,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},Fo=({taskGroup:e,tagList:u,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,userList:i,existingTaskGroupNamesByGroupId:d,onRenameClick:C,onTaskManagementRowClick:j,onCollapseToggle:M,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=le(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?io:Wt;return t.jsx(y,{taskGroup:e,tagList:u,userList:i,sectionId:_,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,existingTaskGroupNamesByGroupId:d,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:M,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,u,r,h)=>{const m={},p={};e.forEach(c=>{p[c.id]={[xe]:[],[pe]:u.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(i=>{u.selectedTaskIds.includes(i.id)&&p[c.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:Q.allTaskStatus.map(d=>({label:d.name,value:d.code}))},[nt]:{selectedOption:i.priority.code,allOptions:Q.allTaskPriority.map(d=>({label:d.name,value:d.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(d=>d.user)},[tt]:{allOptions:Nt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[rt]:{[Y]:{[pe]:u.newTaskGroupName,[xe]:[]},...p},[re]:m};return{[_]:a}},Po=(e,u,r)=>{if(e.includes(_)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(Y)?{...r,newTaskGroupName:u[_].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:u[_].groupData[h][pe]}};if(e.includes(xe)){const m=zt(Bt(Object.values(u[_][rt]),xe)).filter(p=>p!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ho=o.div`
|
|
433
|
+
`,Wo=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=oe.getLocalizedStrings(),_e=e=>`${e}_form`,Ao={rowGap:new Xe(ke[0],ke[5],ke[5])},{common:{footer:Ke},taskManagement:Ne}=oe.getLocalizedStrings(),xn=({taskListView:e,tagListView:u,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:p,onDeleteTaskGroup:a,updateLocalData:c,onTaskManagementRowClick:i,onReloadTasks:d,onColumnSortConfigChanged:C,onSearchTextChanged:j,onBackClick:E,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:b})=>{const[R,U]=n.useState(!1),[ee,F]=n.useState(null),[P,ne]=n.useState(null),[q,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=ht(),{fetchState:te,uiState:Z,filters:$e,userList:ce,taskGroupsWithTasksList:ye}=e,{tagList:be}=u,ve=qe(),je=A=>{ae(A)},me=n.useCallback(A=>{de(A.currentTarget)},[]),ge=n.useCallback(A=>{B(A)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(A=>{b(A)},[b]),O=ce.users.map(A=>A.user).filter(A=>A!=null),N={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Z.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:je,onSearchTextChanged:j,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ps,{value:Z.groupByKey,resetDisabled:Z.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>os("task_management",O,Te.loggedInUserRole??[],u.tagList)},I=n.useCallback(A=>{de(null),F(Y),c({...e.localData,newTaskGroupName:A})},[e.localData,c]),W=n.useCallback(()=>{de(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{F(Y)},[]),se=n.useCallback(A=>{ue(ut=>ut===A?null:A)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ct=()=>te==="Error"?t.jsxs(Uo,{children:[t.jsx(_o,{onClick:d,children:t.jsx(Ko,{})}),t.jsx(Yo,{children:H.common.reloadPage.label})]}):te==="Completed"&&ye.length===0?t.jsx(xt,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(wt,{fetchState:te}):t.jsx(Ro,{taskListView:e,tagList:be,renameActiveField:ee,updateTask:m,onDragNDrop:p,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:U,updateLocalData:c,setActiveTaskGroupId:ne,setRenameActiveField:F,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),pt=t.jsx(Xt,{spendManagementSectionProps:N});return t.jsxs(Vo,{children:[t.jsx(mt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ve.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:pt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ms,{anchorEl:Ce,groupByKey:Z.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:W,onNewTaskClick:M,onNewGroupClick:I,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:se,expandedTemplate:q}),t.jsx(Ho,{children:ct()}),t.jsx(V,{controller:R===!0,children:t.jsx(gt,{action:{onOkClick:v,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(Qo,{children:t.jsx(kt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(en,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ro=({taskListView:e,tagList:u,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:p,onDragNDrop:a,updateLocalData:c,setShowDeleteModal:i,handleCreateGroup:d,resetLocalData:C,assignGroupToTasks:j,setGroupCreationInProgress:E,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=le(),{localData:g,taskGroupsWithTasksList:b,uiState:R}=e,[U,ee]=n.useState([]),F=n.useRef(null);ls({scrollContainerRef:F,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=Tt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,P,u),[g,e.taskGroupsWithTasksList,P,u])}),q=n.useMemo(()=>{if(r!==Y)return b;const l=[],G=b.map(O=>{const N=O.tasks.filter(I=>{const W=g.selectedTaskIds.includes(I.id)===!0;return W&&l.push(I),W===!1});return{...O,tasks:N}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,b,g.selectedTaskIds]),ue=n.useCallback(l=>U.includes(q[l].id)||q[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Ao.rowGap.value(L):(Qt*1+es)*3+ts+ss,[U,q,L]),Ce=n.useCallback(l=>{S(l.currentTarget)},[]),de=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,b]),he=n.useCallback(l=>{ee(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{S(null)},[]),Te=n.useCallback(()=>{ee(b.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[b]),te=n.useCallback(()=>{ee([]),$.current?.resetAfterIndex(0,!0)},[]),Z=n.useCallback(()=>{E(),$.current?.scrollTo(0),ae()},[ae,E]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?Z():d(!0):r===Y?d(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Z,d,m]),ye=n.useCallback(()=>{p(null),C()},[C,p]),be=n.useCallback(l=>{C(),p(l)},[C,p]),ve=n.useCallback(()=>{g.defaultTaskGroupId!=null&&j(g.defaultTaskGroupId)},[j,g.defaultTaskGroupId]),je=async(l,G)=>{if(l.includes(nt)){const N=l.split(".")[2],I=b.flatMap(v=>v.tasks).find(v=>v.id===N),W=G[_][re][N].priority.selectedOption;if(I!=null&&W!=null){const v=Q.allTaskPriority.find(T=>T.code===W);v!=null&&h(I,{priority:v})}return}if(l.includes(at)){const N=l.split(".")[2],I=b.flatMap(v=>v.tasks).find(v=>v.id===N),W=G[_][re][N].status.selectedOption;if(I!=null&&W!=null){const v=Q.allTaskStatus.find(T=>T.code===W);I!=null&&v!=null&&h(I,{status:v})}return}if(l.includes(st)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].assignees.selectedUsers.map(T=>T.userId);W!=null&&v!=null&&I!=null&&h(I,{assignees:v});return}if(l.includes(ot)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].dueDate.date;W!=null&&v!=null&&I!=null&&h(I,{dueDate:v});return}if(l.includes(tt)){const N=l.split(".")[2],I=b.flatMap(T=>T.tasks).find(T=>T.id===N),W=b.find(T=>T.tasks.find(se=>se.id===N))?.id,v=G[_][re][N].tags.selectedOptions;W!=null&&v!=null&&I!=null&&h(I,{tagIds:v});return}l.includes(we)&&ne.trigger(l);const O=Po(l,G,g);c(O)};n.useEffect(()=>{const l=ne.watch((G,{name:O})=>{O!=null&&G!=null&&$t(()=>je(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&p(null)},[p,e.taskGroupUpdateStatus.fetchState]);const me=b.length>1&&g.selectedTaskIds.length>0&&r!==Y,ge=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(yt,{...ne,children:t.jsx("form",{id:_e(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(qo,{isFooterVisible:ge,windowSize:L,children:t.jsx(bt,{children:({height:l,width:G})=>t.jsx(vt,{ref:$,outerRef:F,height:l,itemCount:q.length,itemSize:ue,estimatedItemSize:St,itemKey:O=>q[O].id,width:G,overscanCount:jt,itemData:{tagList:u,taskGroupsWithTasksList:q,uiState:R,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:Oo})})})})}),ge?t.jsx(Gt,{formId:_e(ze),primaryBtn:{label:b.length===1&&g.selectedTaskIds.length>0&&r!==Y?Ne.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(V,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(Jo,{children:[t.jsx(lt,{count:g.selectedTaskIds.length}),t.jsx(Xo,{children:g.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(V,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(sn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(tn,{onClick:ve})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(De,{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(ws,{taskGroupsList:b,anchorEl:x,groupByKey:R.groupByKey,onCreateNewGroup:Z,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Oo=({index:e,style:u,data:r})=>{const h=n.useRef(null),m=le(),{tagList:p,taskGroupsWithTasksList:a,uiState:c,renameActiveField:i,collapsedGroups:d,onCollapseToggle:C,onTaskManagementRowClick:j,setRowHeight:E,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const b=n.useCallback(F=>{const P=F.dataTransfer.getData("row");z(P,a[e].id)},[z,e,a]),R=n.useCallback(F=>{F.preventDefault()},[]),U=(F,P)=>{F.dataTransfer.setData("row",P)},ee=()=>{B(a[e].id)};return t.jsx(Zo,{style:{...u,width:"100%"},ref:h,onDrop:b,onDragOver:R,children:t.jsx(Fo,{taskGroup:a[e],showGroupName:!0,tagList:p,uiState:c,isCollapsed:d.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:ee,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},Fo=({taskGroup:e,tagList:u,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,userList:i,existingTaskGroupNamesByGroupId:d,onRenameClick:C,onTaskManagementRowClick:j,onCollapseToggle:E,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=le(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?io:Wt;return t.jsx(y,{taskGroup:e,tagList:u,userList:i,sectionId:_,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:p,isSelectionAllowed:a,selectedRowIds:c,existingTaskGroupNamesByGroupId:d,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:j,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(e,u,r,h)=>{const m={},p={};e.forEach(c=>{p[c.id]={[xe]:[],[pe]:u.existingTaskGroupNamesByGroupId[c.id]},c.tasks.forEach(i=>{u.selectedTaskIds.includes(i.id)&&p[c.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:Q.allTaskStatus.map(d=>({label:d.name,value:d.code}))},[nt]:{selectedOption:i.priority.code,allOptions:Q.allTaskPriority.map(d=>({label:d.name,value:d.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(d=>d.user)},[tt]:{allOptions:Nt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[rt]:{[Y]:{[pe]:u.newTaskGroupName,[xe]:[]},...p},[re]:m};return{[_]:a}},Po=(e,u,r)=>{if(e.includes(_)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(Y)?{...r,newTaskGroupName:u[_].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:u[_].groupData[h][pe]}};if(e.includes(xe)){const m=zt(Bt(Object.values(u[_][rt]),xe)).filter(p=>p!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ho=o.div`
|
|
434
434
|
display: block;
|
|
435
435
|
height: 100%;
|
|
436
|
-
`,
|
|
436
|
+
`,Vo=o.div`
|
|
437
437
|
width: 100%;
|
|
438
438
|
height: 100vh;
|
|
439
439
|
display: flex;
|
|
@@ -441,7 +441,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
441
441
|
row-gap: ${s.sp4};
|
|
442
442
|
background-color: ${e=>e.theme.colors.grey4};
|
|
443
443
|
overflow: hidden;
|
|
444
|
-
`,
|
|
444
|
+
`,Uo=o.div`
|
|
445
445
|
display: flex;
|
|
446
446
|
width: 100%;
|
|
447
447
|
height: calc(100% - 60px);
|
|
@@ -457,7 +457,7 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
457
457
|
background: ${e=>e.theme.colors.background};
|
|
458
458
|
border-radius: 50%;
|
|
459
459
|
cursor: pointer;
|
|
460
|
-
`,Ko=o(
|
|
460
|
+
`,Ko=o(Je)`
|
|
461
461
|
height: ${s.sp5};
|
|
462
462
|
width: ${s.sp5};
|
|
463
463
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -467,20 +467,20 @@ import{t as ht,u as Ze,j as t,M as oe,iG as Y,aW as mt,T as U,bM as gt,q as K,Z
|
|
|
467
467
|
`,Yo=o(Ct)`
|
|
468
468
|
margin-top: ${s.sp3};
|
|
469
469
|
color: ${e=>e.theme.colors.hero};
|
|
470
|
-
`,
|
|
470
|
+
`,qo=o.div`
|
|
471
471
|
/** Subtract top so list can occupy remaining available height */
|
|
472
472
|
height: ${e=>e.isFooterVisible===!0?"calc(100vh - 152px)":"calc(100vh - 88px)"}; // total - header
|
|
473
473
|
max-width: 99.9%;
|
|
474
|
-
`,
|
|
474
|
+
`,Zo=o.div`
|
|
475
475
|
top: ${s.sp0};
|
|
476
476
|
left: ${s.sp0};
|
|
477
477
|
box-sizing: border-box;
|
|
478
|
-
`,
|
|
478
|
+
`,Jo=o.div`
|
|
479
479
|
display: flex;
|
|
480
480
|
align-items: center;
|
|
481
481
|
column-gap: ${s.sp2};
|
|
482
482
|
padding-left: ${s.sp9};
|
|
483
|
-
`,
|
|
483
|
+
`,Xo=o(K)`
|
|
484
484
|
color: ${e=>e.theme.colors.primary};
|
|
485
485
|
`,Qo=o.div`
|
|
486
486
|
padding-top: ${s.sp7};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,ao as Y,H as k,dg as D,aL as V,o as a,w as q}from"./index-CvH632ro.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-B7JqlhCA-D-71vAGn.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -61,4 +61,4 @@ import{j as t,ai as Y,H as k,de as D,aL as V,o as a,w as q}from"./index-LFy5NlUr
|
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
pointer-events: all;
|
|
63
63
|
color: ${e=>e.theme.colors.grey5};
|
|
64
|
-
`;function v({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return A.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:c,timeframe:l,tick:r,tickIndex:x,isSelected:s,onClick:f}){return t.jsx(_,{isEnabled:e,isSelected:s,onClick:()=>{f(r,x,l)},children:t.jsx(J,{children:U(c,r,l)})})}function
|
|
64
|
+
`;function v({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return A.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:c,timeframe:l,tick:r,tickIndex:x,isSelected:s,onClick:f}){return t.jsx(_,{isEnabled:e,isSelected:s,onClick:()=>{f(r,x,l)},children:t.jsx(J,{children:U(c,r,l)})})}function ne(e,c,l,r,x){const s=c-e,f=Math.floor(e/h)+Math.round(s/h),w=f+l.length-r.length,u=f+l.length,b=x-u;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function ie(e){return e.startIndex!=null}function z(e,c){let l={startIndex:0,length:0};if(ie(e))l=e;else{const r=e.length;l={startIndex:c.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:c,timeframe:l,timeframeTicks:r,isEnabled:x,selection:s,onClick:f,onSelectionChanged:w}){const u=n.createRef(),b=n.useRef(null),[I,M]=n.useState(!1),[o,T]=n.useState(z(s.selectedTicks,r)),y=n.useRef(o.startIndex);n.useEffect(()=>{y.current=o.startIndex});const[$,C]=n.useState(s.highlightedOfSelectedTicks),O=(o.startIndex+o.length>r.length?Math.max(r.length-o.length,0):o.startIndex)*h,[S,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const i=z(s.selectedTicks,r);if(!k(o,i)){T(i);const d=i.startIndex*h;F({x:d,y:0})}k($,s.highlightedOfSelectedTicks)||C(s.highlightedOfSelectedTicks)},[o,$,s,r]),n.useLayoutEffect(()=>{const{startIndex:i,length:d}=o;u.current?.scrollToItem(y.current<=i?i+d-1:i)},[u,o]);const R=x!==!1,N=(i,d,m)=>{f?.(m,i)},P=(i,d)=>{const m=ne(S.x,d.x,o,$,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},L=({index:i,style:d})=>{const m=r[i],{startIndex:j,length:B}=$,H=i>=j&&i<j+B;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:R,firstMonthOfFY:c,timeframe:l,tick:m,tickIndex:i,isSelected:H,onClick:N},i)})},E=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:u,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:L}),I===!0&&E!=null?t.jsx(te,{parentNode:E,children:t.jsx(D,{axis:"x",defaultPosition:{x:0,y:0},position:S,bounds:{left:0,right:(r.length-o.length)*h},grid:[1,0],scale:1,onStop:P,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:o.length,ref:b,children:[t.jsx(Q,{children:t.jsx(v,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(v,{iconPosition:"right"})})]})})}):null]})}function de(e){return t.jsx(Z,{children:t.jsx(Y,{children:({width:c})=>t.jsx(le,{...e,width:c})})})}export{p as a,de as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,o,w as p,M as u}from"./index-
|
|
1
|
+
import{j as t,o,w as p,M as u}from"./index-CvH632ro.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as c,j as t,C as n,w,b3 as x}from"./index-
|
|
1
|
+
import{X as c,j as t,C as n,w,b3 as x}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as
|
|
1
|
+
import{H as V,X as _,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,p as x,aJ as R,v as $,bk as H,bl as q,_ as G,l as J,U as X,o as p,w as L,as as Y,s as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-CvH632ro.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-DXOUba_M-CHzipN0D.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
|
@@ -13,7 +13,7 @@ import{H as _,X as V,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,p as
|
|
|
13
13
|
flex: 0 1 auto;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
align-items: center;
|
|
16
|
-
`;function ue({dimension:e,reportTitle:i,cardType:r,cardIndex:l,onCardClick:n,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(N,{"data-testid":
|
|
16
|
+
`;function ue({dimension:e,reportTitle:i,cardType:r,cardIndex:l,onCardClick:n,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(N,{"data-testid":Q("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>n(l,r),children:t.jsxs(O,{children:[t.jsxs(v,{style:{marginBottom:x[3]},children:[t.jsx(me,{children:i!=null?i+c:U(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(v,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(W,{children:({height:a,width:m})=>s(m,a)})})})]})})}function B({card:e,reportTitle:i,actions:r,timeframe:l,allowedValues:n,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ae,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(re,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:i}):t.jsx(ue,{dimension:e.dimension,reportTitle:i,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:n??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(B);const P=(e,i,r)=>{const l=i.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),n=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=n?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:n??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: row;
|
|
19
19
|
flex: 1 1 auto;
|
|
@@ -29,10 +29,10 @@ import{H as _,X as V,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,p as
|
|
|
29
29
|
height: ${p.sp4};
|
|
30
30
|
`,fe=g(L)`
|
|
31
31
|
margin-left: ${p.sp2};
|
|
32
|
-
`,ye=g(
|
|
32
|
+
`,ye=g(Y)`
|
|
33
33
|
flex: 1 1 0;
|
|
34
34
|
color: ${e=>e.theme.colors.primary};
|
|
35
35
|
`,be=g(F)`
|
|
36
36
|
flex: 1 1 0;
|
|
37
37
|
margin-right: ${p.sp2};
|
|
38
|
-
`;function je({report:e,width:i,height:r,showBarHoverBackground:l}){const n=f(),o=P(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(E,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:n.colors.background},children:s.map(c=>t.jsx(k,{fill:n.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(ve,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:i,height:r})}const we=e=>{const{barKey:i,payload:r,chartItems:l,width:n,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:n,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(xe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(fe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:
|
|
38
|
+
`;function je({report:e,width:i,height:r,showBarHoverBackground:l}){const n=f(),o=P(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(E,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:n.colors.background},children:s.map(c=>t.jsx(k,{fill:n.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(ve,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:i,height:r})}const we=e=>{const{barKey:i,payload:r,chartItems:l,width:n,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:n,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(xe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(fe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:G("0,0",s[i])})]})})},ve=({chartItemArray:e,barElement:i,width:r,height:l})=>{const n=e[0],o=n.total,d=n.barKey;return t.jsxs(T,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(C,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(S,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),i]})},I=41,D=4;function Ie({report:e,width:i,height:r,showBarHoverBackground:l,isDetailPage:n}){const o=f(),d=P(n===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(E,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:n===!0?800:void 0,background:void 0,children:[t.jsx(H,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:K,height:z,offset:M}=m;return t.jsx(q,{x:u+M,y:y+z/2,fill:o.colors.hero,fontSize:$.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:K})}}),h.map(m=>t.jsx(k,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(De,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,i),width:i,height:r,isDetailPage:n===!0})}const De=({chartItemArray:e,barElement:i,width:r,height:l,isDetailPage:n})=>{const o=f(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(T,{data:e,layout:"vertical",width:r,barCategoryGap:n?D:2,height:n?e.length?(I+2*D)*e.length:l:l+5,barSize:n?I:38,margin:{top:0,right:n?x[0]:x[3],left:n?x[0]:x[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:n?"default":"pointer"},children:[t.jsx(C,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(S,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...$.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),i]})};function Te(e){const i=_();return i!=="small"&&i!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,V);function Se(e){if(e==null||e.length===0)return!0;let i=!0;for(const r of e)if(r.balance.available.amount!==0){i=!1;break}return i}function Ee({card:e,actions:i,data:r,dndProps:l}){const[n,o]=te.useState(r?.topExTimePeriod??"last_month"),d=[...J.TOP_EX_TIME_PERIODS],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:n}):t.jsx(ce,{width:c,height:a,label:A.getLocalizedStrings().chartCard.no_data.top_expenses[n]});return t.jsx(X,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(B,{card:e,actions:i,timeframe:n,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,B as O,ce as c};
|
package/dist/assets/{TopExDetailPage-COxNovqU-TyxPPRK9.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,
|
|
1
|
+
import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,D as P,o as i,C as E,bi as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-CvH632ro.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-J5ItU1Wy-Cu15poFM.js";import{b as L}from"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";import{d as O}from"./NoDataTable-B8PHBrBF-BIIbtUFT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DXOUba_M-CHzipN0D.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -24,25 +24,25 @@ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ai as H,D as P,o as i,C
|
|
|
24
24
|
flex-shrink: 0;
|
|
25
25
|
flex-direction: row;
|
|
26
26
|
justify-content: flex-end;
|
|
27
|
-
`,
|
|
27
|
+
`,J=l(y)`
|
|
28
28
|
user-select: none;
|
|
29
29
|
width: ${j};
|
|
30
30
|
min-width: ${j};
|
|
31
31
|
text-align: right;
|
|
32
32
|
margin-left: ${I};
|
|
33
|
-
`,
|
|
33
|
+
`,K=l.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: row;
|
|
36
36
|
flex-shrink: 2;
|
|
37
37
|
flex-grow: 1;
|
|
38
38
|
align-items: center;
|
|
39
|
-
`,
|
|
39
|
+
`,Q=l(y)`
|
|
40
40
|
user-select: none;
|
|
41
41
|
display: flex;
|
|
42
42
|
min-width: ${R};
|
|
43
43
|
text-align: left;
|
|
44
44
|
margin-left: ${i.sp4};
|
|
45
|
-
`;function
|
|
45
|
+
`;function Y({leftChevron:e,account:n,onAccountBalanceClick:s}){const a=n!=null&&n.balance!=null,r=e==="hidden",f=a?"pointer":"default",d=r===!1&&a,w=d?"pointer":"default",h=r?c[6]:c[4],m=X,{common:{strings:{empty:C}}}=u.getLocalizedStrings(),$=n?.accountDescription?n.accountDescription:C,x=n?.accountName?n.accountName:$;return t.jsxs(N,{isClickable:d,children:[t.jsxs(K,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(Q,{"data-testid":V("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&n!=null&&n.balance!=null&&s?.(n)},children:x})]}),t.jsx(W,{style:{cursor:f},children:t.jsx(J,{isClickable:a,onClick:()=>{n?.balance!=null&&s?.(n)},children:k("0,0",n?.balance.available)})})]})}const q=l.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: 100%;
|
|
48
48
|
flex-direction: column;
|
|
@@ -56,7 +56,7 @@ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ai as H,D as P,o as i,C
|
|
|
56
56
|
width: 100%;
|
|
57
57
|
height: 1px;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey3};
|
|
59
|
-
`;function ee({accounts:e,onAccountBalanceClick:n}){const s=(a,r)=>a.length>1&&r<a.length-1;return t.jsx(
|
|
59
|
+
`;function ee({accounts:e,onAccountBalanceClick:n}){const s=(a,r)=>a.length>1&&r<a.length-1;return t.jsx(q,{children:e?.map((a,r)=>t.jsxs(G,{children:[t.jsx(Y,{leftChevron:"collapsed",account:a,onAccountBalanceClick:n}),s(e,r)===!0?t.jsx(U,{}):null]},r))})}const te=D.memo(ee),ie=l.div`
|
|
60
60
|
margin: ${i.sp0} ${i.sp0} ${i.sp6} ${i.sp0};
|
|
61
61
|
background-color: inherit;
|
|
62
62
|
width: 100%;
|