@zeniai/web-cockpit-ui 1.15.25-qa → 1.15.26-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-CxpLuJpQ-oljmG-aN.js +21 -0
- package/dist/assets/{AIPerformancePage-BXF0kUqR-TO6NW5Gm.js → AIPerformancePage-BtDuOBey-B5mBQCVW.js} +104 -104
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +18 -0
- package/dist/assets/{AccountInfoPageContent-QMyPHCdY-DRy0EobS.js → AccountInfoPageContent-BLF92_vF-CW7wtofP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CoXPQka7-aq22NHyy.js → AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js} +10 -10
- package/dist/assets/AccountRow-aEmcYP8T-NzxiJ7E0.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Dkz2VyEk-De_7d8XV.js → AccountsPromoCardStack-C0At5pn8-BVyntxD9.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js +6 -0
- package/dist/assets/{AddToWalletPage-p0T8VFfo-Ctc53U6-.js → AddToWalletPage-CMJwUbgf-CbZx4F8y.js} +47 -47
- package/dist/assets/{AgingReportsPage-CTzjRkV2-p7yXZoAe.js → AgingReportsPage-B_BSfude-DZk6eQ7D.js} +15 -15
- package/dist/assets/{AllUserItems-Dt9rMGJk-DSR8YYxl.js → AllUserItems-CGlWa60t-Bsvj0Bul.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-71VQk7px-CdRJ5ma9.js → ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js} +7 -7
- package/dist/assets/AppBasePage-CDy7wPlv-BdtLe6Er.js +71 -0
- package/dist/assets/{AppDrawerContent-ULUH1WZ3-Dz83WLLA.js → AppDrawerContent-CEsXm_i6-DvQRPFBq.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-Ciz-iaE5-B4YKMjoQ.js → ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js} +1 -1
- package/dist/assets/{ArAgingChart-DcwM2rpv-DLPBll-h.js → ArAgingChart-qxhWsIQb-BR0MyGhc.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-eGCSFdAM-Bq8gFwY0.js → ArAgingDetailPage-BbzQryp_-si9TyFWf.js} +4 -4
- package/dist/assets/{AttachmentView-CA6PRg4p-BM0v2w3b.js → AttachmentView-duTVxc9g-Cx51cWLo.js} +4 -4
- package/dist/assets/{BankAccountSection-mWUT-G8y-BgZogOBU.js → BankAccountSection-CAwAf9xK-dEu3iigm.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-IMtILLfL-C1D-TVku.js → BankAccountWarningSection-CaDnP9_--B_s5lRpF.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-COyH3rdC-C92rNnjt.js → BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js} +10 -10
- package/dist/assets/{BillDetailPage-BR_9uHRC-DOB1o1WS.js → BillDetailPage-DJxh2CIc-BDq5xtCx.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-cRAudMvm-l_SDm_n0.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cd0aJtip-CocKgiwD.js → BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BYW097HT-B6ysOR5N.js → BillPayPromoPage-JK-VOx4W-CHt5RuWY.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BahrLUn4-Ci3Jw_jx.js → BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js} +2 -2
- package/dist/assets/BillingSettingsPage-gJG9OxD6-sAZcxvhc.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-CJ-GbBhL-hKzOTQkg.js → BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js} +1 -1
- package/dist/assets/{BoxItem-CvhcNreT-BVRPLdci.js → BoxItem-CYe_gTmA-3TpRGAgq.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-tV078-eh.js +138 -0
- package/dist/assets/{CardNumberSubText-CfoSPAZU-xAy0dUA_.js → CardNumberSubText-CFDhtij8-Dsv6kEZQ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-CWlaZrqz-ChzdfET6.js → CashbackDetailPage-BBGGzKh7-DUHJlZVl.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-BNNbd3G1-BqNdRSW1.js → ChargeCardDetailPage-BQhago53-wjHuLhkC.js} +35 -35
- package/dist/assets/{ChargeCardListPage-BzIvl8RY-Dw3gzYHf.js → ChargeCardListPage-B0E-C3RH-B7k2t4T5.js} +16 -16
- package/dist/assets/{ChargeCardListTable-D-uQKI4t-djbc_tdw.js → ChargeCardListTable-ByGv0xWl-DMSCDnKA.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-DmzlfD-l-3MCUUfVT.js → ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js} +12 -12
- package/dist/assets/{ChargeCardPromoPage-DOYqOs6K-CnWSg544.js → ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js} +11 -11
- package/dist/assets/{ChargeCardSetupPage-CSnLMycu-Fc-nV6Xc.js → ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DN5Ok0Y6-ng0samw3.js → CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CncMWpFI-BCZVc9KX.js → CollapsableReportTable-DlYIKSlQ-CcB96aJz.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ccw8l9iz-DjuA33CI.js → CompanyPassportCard-DeVPuuje-pYw0P8-e.js} +3 -3
- package/dist/assets/CompanyPassportPage-F_GUET9a-DyWAWfST.js +574 -0
- package/dist/assets/{CompleteProfile-CQUDJ-nI-D5uRJScE.js → CompleteProfile-Y6HwKtpz-CAD13Y73.js} +2 -2
- package/dist/assets/ConfettiBurst-BGE3Okwr-BH3P6Vot.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js → ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DM90rr4S-C8JUMUxd.js → CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-Bh0QdxXh-TJCbgx12.js → CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js} +11 -11
- package/dist/assets/{CurrencySelectField-BDfEzwpU-CRXhdOB1.js → CurrencySelectField-RiKAivD8-Men9-Qs8.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CJGtq19l-oSOY3-iS.js → CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CWy89yK1.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js +66 -0
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZDipU2j-CY8bWPwX.js → CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js} +6 -6
- package/dist/assets/{Dashboard-DyQZQS2X-BbvnZv_G.js → Dashboard-D0KlujCx-DnjbaQQd.js} +66 -66
- package/dist/assets/{DashboardReportPage-Dn7pVdG9-B_qH3ZCe.js → DashboardReportPage-bxKyMsG7-D9LgF6Vc.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DDdkQsmn-BhqvohO1.js → DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-BHdmR6m5-C42qNt4G.js → DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CpwSOc_0-BwoPHjA8.js → DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dhib22Hz-BMigVmXm.js → DownloadOverlay-CH_bA3On-JFXgpsko.js} +11 -11
- package/dist/assets/{DrawerPage-nxxj86nQ-V1LIna1_.js → DrawerPage-Cpdp-IFb-6O8ALZwh.js} +14 -14
- package/dist/assets/EditPeoplePage-BYnuNojX-COJTJTYl.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C2kqq9QP-Br957QFY.js → EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js} +73 -73
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +18 -0
- package/dist/assets/{EntitySummarySection-C29GLBzF-D39CMGzi.js → EntitySummarySection-BFpgAYAM-CKlhnXLV.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-B4kcx-VG-DxwDCeEn.js → ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DNwnoyPg-SnZAYqgF.js → ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js} +285 -295
- package/dist/assets/{ExpressPayPage-K-InpYtZ-aN7mrn0F.js → ExpressPayPage-CKqPEfbR-pk0o4BxB.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-IsRBHkoD-TAwTKCM0.js → FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js} +2 -2
- package/dist/assets/{FollowStepsSection-ClyCs5f_-Cbik-xF_.js → FollowStepsSection-BCyL8Jdr-CPpGgHn-.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-n8XrBXXp-BZ2gMX08.js → GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js} +16 -16
- package/dist/assets/{InformationCardStack-BnOF2kCh-BdgYGwde.js → InformationCardStack-nFMetrAy-CMfT3sbg.js} +6 -6
- package/dist/assets/{InsightsCardStack-Bgzkang3-BzYt1Rxu.js → InsightsCardStack-CEMeGJXy-DkdJ-vVc.js} +9 -9
- package/dist/assets/InsightsSection-BYiN2xB7-Tq3IZNKc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D1QWrVQw-stOpPSQY.js → IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DNNEqdWS-D1uSKMyM.js → InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js +292 -0
- package/dist/assets/{InviteFormPage-C-Io8wxr-DLs7wMBm.js → InviteFormPage-BVXte8w8-MDAVTXGi.js} +21 -21
- package/dist/assets/{InvitePageListView-B1PLdKSn--gkO7IR1.js → InvitePageListView-DFPyLLrA-CONqmQCs.js} +55 -55
- package/dist/assets/InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js +12 -0
- package/dist/assets/InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CC6D-uPl-yVNFmovT.js → IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js} +15 -15
- package/dist/assets/{LabeledAddressValue-CKZJgaV5-BGReF5ah.js → LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-N1wb0l0p-BtlFpiVX.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js} +13 -17
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-DaqPO373.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js +59 -0
- package/dist/assets/{LabeledText-DiJE8avC-24n-Mx9E.js → LabeledText-zjKn4Cw--WpJNibWz.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLup6THe-DpA0JL_S.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CVg9PTpl-B6wARtfF.js → LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-DaGHGCIJ-Ba3aKUMJ.js → LinkJETransactionPage-D66bzDh_-B4JreFf6.js} +8 -8
- package/dist/assets/{LockCardPage-CGYlmPkB-BmKeq5lW.js → LockCardPage-B1g2TZWL-hWz0sEAN.js} +22 -22
- package/dist/assets/{LowBalancePopup-YJW7eKud-CTZA7O1Z.js → LowBalancePopup-DbtHeVY--8cU4w1E0.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-COXCHYYI-7TUAwLMH.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--B7psstiC.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CCF7Ahgh-BP7fXimK.js → MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js} +4 -4
- package/dist/assets/MailingDetailsSection-DRFGCM2W-D_ajBet8.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BJi0owDl-CUk4FnA3.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-BWIla-hh-Xvknm8Hk.js → MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js +85 -0
- package/dist/assets/{NavBarWithPicker-BGZvvByA-uJYEillO.js → NavBarWithPicker-C4VfP_Kw-BlN6D07W.js} +5 -5
- package/dist/assets/{NavigationArrow-C3pN6F3u-D0cIq2JZ.js → NavigationArrow-DCCxx6H7-HhnIS8HH.js} +7 -7
- package/dist/assets/{NavigationDots-D1rJnVkZ-lWOs2PbN.js → NavigationDots-tWCw6Bpk-Mo0z1mhF.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DU2Z_NYb-CKdyBaRw.js → NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js} +12 -12
- package/dist/assets/{NoDataChart-DuEsebs4-dCa63BXA.js → NoDataChart-Bvetk9za-Dz6Kgiua.js} +2 -2
- package/dist/assets/NoDataTable-9xF1_3XS-gmK0ApJv.js +8 -0
- package/dist/assets/{NotFoundPage-DLtikmoi-DezEm7uZ.js → NotFoundPage-CdH-3upl-BWvfv-me.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DwsCKyVM-DSXQBvov.js → NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js} +12 -12
- package/dist/assets/{NotificationsListConfig-CMtBeX4D-8x056zZE.js → NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js} +1 -1
- package/dist/assets/{NotificationsPage-CZrXzWli-CszMkZ09.js → NotificationsPage-CgFMmR2X-DW2MYafR.js} +24 -24
- package/dist/assets/{OpExByVendorPage-0PLAOQu5-C1H7Eb6W.js → OpExByVendorPage-eUvIAWzt-J9dFs64l.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-CRh-4TRn.js +11 -0
- package/dist/assets/{PandLWithForecastPage-PkrBqcAR-DeIB5p6W.js → PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js +107 -0
- package/dist/assets/PeoplePage-D1BLHtO0-Cm2cmSqy.js +675 -0
- package/dist/assets/{Preview-DaDKYAzg.js → Preview-CyX-vurX.js} +1 -1
- package/dist/assets/{ProductsCarousel-fMS3PJAc-BotcQNAa.js → ProductsCarousel-BKSXWnFR-BT4vvSaJ.js} +5 -5
- package/dist/assets/{PromoBaseCards-HY42c1kU-BhYjmYvJ.js → PromoBaseCards-BYT9nEJT-1c2PW57m.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-B_AOC_hG-CeVd-SRA.js → QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js} +3 -3
- package/dist/assets/{QBOSetupSection-CQHdqpJF-7U6mrHSv.js → QBOSetupSection-lgv5wVlg-Db43UmDc.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D0oeO5MZ-OtCnB_q6.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Beg7ljMA-B5KQz4js.js → ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-DBxKNhum-eRxMF0_S.js → ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DxZeTOQW-De_TV65M.js → ReimbursementPromoPage-fptOAJna-UPQyz9k9.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-CN4LhFrS-BtgsPTFS.js → ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage--6OUmjzW-CEunkPIJ.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js} +1 -1
- package/dist/assets/{ReloadCard-BluhBNO--JXB8TN8J.js → ReloadCard-C81rGzOp-DY4k84ea.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-8KYimU0G-YQryAILK.js → ReportTableViewSelector-neRSjrhV-C6WBlOcq.js} +9 -9
- package/dist/assets/{ReportsPage-D-UfdQ34-BJylCiUX.js → ReportsPage-BhzQVaer-B4A4M4e5.js} +1 -1
- package/dist/assets/{RevenueChart-C9EztEKi-D-GF5bMS.js → RevenueChart-x7uTbFlm-CNwMod8g.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-B6SYtYUA-Bic5mY3s.js → ReviewDetailsPage-jXZCylzg-BIFUDhZH.js} +31 -31
- package/dist/assets/{ReviewOverlay-C2enVZqt-CeljToJx.js → ReviewOverlay-nlm2HnGw-9bQU05T1.js} +18 -18
- package/dist/assets/RoleWithToolTip-C29QOzxS-BIz3hnmq.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DmBVVX79-CCSFvhRM.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Bp3d9tdD-q1bZSw14.js → ScheduleDetailsPage-BSZefKOh-6HOYgX85.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js +324 -0
- package/dist/assets/{ScreenRoutes-BIJj5Saj.js → ScreenRoutes-DOxgrmyz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DiEFZwFL-BaHFxHp4.js → SetUpAccountSection-C703iFL6-DWHc95vH.js} +5 -5
- package/dist/assets/SignIn-D9K5FklU-C-Fq_guN.js +491 -0
- package/dist/assets/SignInScreen-pGoo9woj.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BoWIPx5V-Be8Dc1Y5.js → SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-DRrECrxC-Cm5biaiO.js → SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js} +25 -25
- package/dist/assets/{SpendManagementSection-xoH8d-PB-DpntNr3t.js → SpendManagementSection-DpZUTV6m-Dyv3RP83.js} +23 -23
- package/dist/assets/StatementItem-DvdSsb8I-4NJSevH0.js +31 -0
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +58 -0
- package/dist/assets/{StatusSwitcher-C-2QxP_3-CPrG2471.js → StatusSwitcher-hKYgwNLC-CE1foddz.js} +2 -2
- package/dist/assets/{SubTabSwitcher-D3iTZY-F-Vu8hc56R.js → SubTabSwitcher-aeDd9xiF-D4uOjs0t.js} +2 -2
- package/dist/assets/{SummaryCard-BbzDLzif-D9HqINXn.js → SummaryCard-CK8Gxbiu-DemkEVCq.js} +1 -1
- package/dist/assets/{TaskManagementPage-DI_lMbra-CVdOpIFG.js → TaskManagementPage-D2Ooq8DR-DrMY4gdr.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-C3mH2YE7-CxdwLD3J.js → TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-C8iVJfJz-r75odRQ8.js → TimeframeSwitcher-BppC6giF-D-wC9bQx.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js +31 -0
- package/dist/assets/{TopExCard-DlberdWy-C2q30Aki.js → TopExCard-Cy6tPVSx-B-keVDu8.js} +6 -6
- package/dist/assets/{TopExDetailPage-DZyUPQ9i-BLn9-yw3.js → TopExDetailPage-Rtrcdkcp-BJDfbujg.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-Bpdbc21v-CM1zPkd3.js → TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js} +15 -15
- package/dist/assets/TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js +903 -0
- package/dist/assets/TransactionList-BruCNjQg-CPy3bOrg.js +153 -0
- package/dist/assets/{TransactionListBig-D6Q9QimF-B_YVo6kI.js → TransactionListBig-bp7q3prH-B3o9La4k.js} +13 -13
- package/dist/assets/TransactionListPage-ZfJsaVb8--vXsSJCl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B4A4amjV-BhO2vQ5S.js → TransactionVendorDetailPage-CldkuO2--QReUEWYz.js} +7 -7
- package/dist/assets/{TransferDrawerPage-Dfhpu5Yd-BZldmbFB.js → TransferDrawerPage-DswS6KZf-BpK3RBCC.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-B6WhqRDb-DEqeKyOX.js → TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C5DXueHJ-BlBWoLLu.js → TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-8qXJLq1U-B1yVK5_e.js → TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js +58 -0
- package/dist/assets/{TrendChart-FPLC1aMv-Dsg7RNKY.js → TrendChart-BMHDaOeh-DUFeSEwp.js} +3 -3
- package/dist/assets/{TrendWithTransactions-_O4Fz3pt-CY9f274t.js → TrendWithTransactions-DDLrmIrt-D7YkaYJE.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-rdMygvxx-Buu96HmY.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-WfFukh9_-B5ZkACvG.js → UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-xiqklxM_-B0Gp_VuL.js → UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js} +1 -1
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-DnLG0jax.js +1 -0
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +1 -0
- package/dist/assets/{VendorDetailPage-Cexet52V-ByQEr6nx.js → VendorDetailPage-BC1FhaQA-BTYI8FHa.js} +25 -25
- package/dist/assets/{VendorDomesticWireDetailsPage-DbhChvIp-Gd-LcXBC.js → VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Bnwp2JiZ-BVK55tl7.js → VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-C_xSf47L-CdUnKlD1.js → VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-DVuenbq8-BQJUIatX.js → VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DYSlIqnJ-BEEMJGXs.js → VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js} +2 -2
- package/dist/assets/{VerifyDevice-MbuunHNJ-DK2vpiqN.js → VerifyDevice-CfMJW1Vh-CQyEdsek.js} +9 -9
- package/dist/assets/{VideoPlayer-B-oV4gcS-KQE08Dmc.js → VideoPlayer-BNBpjXJk-S1NV6cBn.js} +2 -2
- package/dist/assets/{VideoPopup-DFfn4tne-DCRKhHRK.js → VideoPopup-BF6lmB7l-C8AjwQYx.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-C_nKfBpS-DHXk74av.js → WarningsDrawerPage-Crj70lnR-CqPc_yNz.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-jYwDoLiN-CyMF0xwM.js → ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-CWiWh2ld-Z2OcnxXS.js → ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DPab5PDZ-Df3iX_i_.js → ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Dbqa1LpU-BMCQ0hLC.js → ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js} +1 -1
- package/dist/assets/{ZeniCopyright-SDIPg48K-CevhNJoN.js → ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bg59KBt9-CyCGlMPD.js → ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-4MTVGYLk.js → add-to-wallet-DgdBD8_G-Ckn7-tS3.js} +1 -1
- package/dist/assets/{analytics-DkApCpAh.js → analytics-DgE91yP9.js} +1 -1
- package/dist/assets/{analyticsHelper-DfCXurTN-BrPn0dkx.js → analyticsHelper-CL-t3Y2i-DqLgDKAm.js} +1 -1
- package/dist/assets/analyticsHelper-qCgSbR3t.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-sjXlUHVP.js → arrow-south-east-round-PEovUgvH-6_ok8u4n.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8P5UKTjR.js → auto-transfer-rule-mbafm5D3-DaMjzKK3.js} +1 -1
- package/dist/assets/{chartTypes-H306f0ce-MyWtRYTO.js → chartTypes-B3501CSI-Eia1dEGg.js} +1 -1
- package/dist/assets/{commonDimensions-CWffpElu-Q8mZH4nJ.js → commonDimensions-YcBBlmYP-HRUAmifl.js} +1 -1
- package/dist/assets/{constants-42un7CRh.js → constants-DU2Tv8MD.js} +1 -1
- package/dist/assets/{core-DQ8U4CJb.js → core-CEu4PzGb.js} +1 -1
- package/dist/assets/{dash.all.min-xDoItceu.js → dash.all.min-wN4tXsVF.js} +1 -1
- package/dist/assets/{detailCommon-CfrL4ryy-Drm9_QUO.js → detailCommon-C19MYPnq-B5eEk_1Z.js} +2 -2
- package/dist/assets/downloadPdf-DPAqxw6u-DccTm81d.js +1 -0
- package/dist/assets/{empty-DBMIDect.js → empty-CarmpCiV.js} +1 -1
- package/dist/assets/{empty-DMdKDWd5.js → empty-SBaJLmT7.js} +1 -1
- package/dist/assets/epic-jB8ji6P2.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CKZgCX5V.js → gift-box-Cmt9OgIZ-Cfao5pzw.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B74xUk4A.js → graphic-no-data-l-DU4J8fDt-CtMgv3E2.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js → graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ci6EVnAm.js → handshake-BPg58FML-Cr0KvGET.js} +1 -1
- package/dist/assets/{index-DlHdI3-w.js → index-C65pc_ms.js} +1 -1
- package/dist/assets/{index-Ci8_ElRT.js → index-CM4tXRl_.js} +1 -1
- package/dist/assets/{index-uFwLgEj2.js → index-CTIRcS5n.js} +1 -1
- package/dist/assets/{index-CP7n6qbn.js → index-DdSqYqAO.js} +1 -1
- package/dist/assets/{index-MLR605z1.js → index-DotN2qpo.js} +1 -1
- package/dist/assets/{index-i62ZqD9V.js → index-GSKpJ8ET.js} +4076 -4065
- package/dist/assets/{index-C-yZdmSC.js → index-qEET5oej.js} +1 -1
- package/dist/assets/{lexical-CvUIM9vD.js → lexical-CnqcqOEB.js} +1 -1
- package/dist/assets/{liveblocks-DXGUxn7J.js → liveblocks-D1OOExFG.js} +1 -1
- package/dist/assets/{lottie-C1yptpVV.js → lottie-fNTw06NH.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DOYdbM0-.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +1 -0
- package/dist/assets/{mui-rLvQ8A4a.js → mui-DenpH-hx.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DxBKGqnW.js → page-detail-CWX5S47F-CMu9po0A.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-D50TMWyl.js → radio-default-CiSgisfh--A7TRB5H.js} +1 -1
- package/dist/assets/{react-CD-rvAYw.js → react-B5LP5NK7.js} +1 -1
- package/dist/assets/{react-XCvfp0dN.js → react-BGO_hhif.js} +1 -1
- package/dist/assets/{react-BGRcEI9e.js → react-BNXAqjdV.js} +1 -1
- package/dist/assets/{react-CeXW-10t.js → react-BbEkWrBm.js} +1 -1
- package/dist/assets/{react-D5l7wk4q.js → react-BbsHWhNi.js} +2 -2
- package/dist/assets/{react-CKPzfXiX.js → react-CX4zcxjw.js} +1 -1
- package/dist/assets/{react-CaPJ_R38.js → react-D97zLppZ.js} +2 -2
- package/dist/assets/{react-BFvwO_Qx.js → react-DvuAhc__.js} +1 -1
- package/dist/assets/{recharts-BYppTjSs.js → recharts-9NtTDQfo.js} +1 -1
- package/dist/assets/{sentry-DhNwX3jk.js → sentry-BZBky1_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-1dcmCA6e.js → shield-DOlUxcFf-DnxNebOP.js} +1 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +1 -0
- package/dist/assets/{toChartData-ILqaSUrn-DEH7gUMA.js → toChartData-DzatRnt8-Cq2-M4CL.js} +1 -1
- package/dist/assets/{uploadAttachment-BO1VJaKW-C7cr9w_9.js → uploadAttachment-Bq8dk-Sm-DirS4o1A.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-CuKjXY6-.js → uploadReceipts-Dge0cNF1-BKdcUL2b.js} +1 -1
- package/dist/assets/{url-DrmuGGE4.js → url-0W_uXmZ-.js} +1 -1
- package/dist/assets/{url-C7FJoqre.js → url-Z1gMB4SW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nce713S8.js → useLongPress-GCK2COYQ-B8bxkfF-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BIn3NV9C.js → usp-line-BBd1wKwW-BPsPtX_C.js} +1 -1
- package/dist/assets/{utils-BdIPH7k8.js → utils-CHibiken.js} +1 -1
- package/dist/assets/{zeni-epic-state-DwkN4IvA.js → zeni-epic-state-BKgIzPpM.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-Davpg8eW-D4fDLBvb.js +0 -21
- package/dist/assets/AccountInfoPage-Cefnidcc-DSwJtSIq.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-B0tAnrT1.js +0 -59
- package/dist/assets/AccountRow-DHB-ETil-Z8gDYNsd.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CQQ-61A2.js +0 -6
- package/dist/assets/AppBasePage-tDs92z31-rHgUU93J.js +0 -71
- package/dist/assets/BillingSettingsPage-BjMeQKM0-BoKoI1dh.js +0 -44
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-CfBndZj-.js +0 -138
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-CC2pqnJw.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-pW5vmYaZ.js +0 -331
- package/dist/assets/CompanyPassportPage-IjpU53y_-DJMDEFNH.js +0 -417
- package/dist/assets/ConfettiBurst-C_6Uy7eR-BvE47982.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-DUTuOhqq.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-DIKi33VN.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-QdpSJ3IL.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-BLezpzfb.js +0 -12
- package/dist/assets/EditPeoplePage-CG5gmNTR-By4xfZt2.js +0 -55
- package/dist/assets/EntityDetailPage-CL0FCU_m-57FjLCVr.js +0 -18
- package/dist/assets/InsightsSection-C16f1RZL-CuJbLdqY.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-BNUJckvi.js +0 -65
- package/dist/assets/InvitePeoplePage-BArxsNxE-3PUmbMCi.js +0 -12
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-Cy0Z1dJW.js +0 -140
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-ZfEgza85.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-pPmmCP0u.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DyTmt0bq.js +0 -237
- package/dist/assets/LabeledDocumentField-vSq1xSUM-SQWGz5c_.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DqyU6pbW.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-CY08CjBz.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bt-m4lf6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-BuqevIb3.js +0 -31
- package/dist/assets/MailingDetailsSection-WMvjKFiS-DrE6z-0r.js +0 -21
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-zOi4BtW_.js +0 -85
- package/dist/assets/NoDataTable-B7LkfAQX-Bh-1O4BJ.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-rH6NcU1w.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-BhwxbNk-.js +0 -107
- package/dist/assets/PeoplePage-PyWOVc5M-DDstQObu.js +0 -727
- package/dist/assets/RoleWithToolTip-DA3BIg5j-D1CK22Z-.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-mhp0CylL.js +0 -324
- package/dist/assets/SignIn-T74bkrxk-C_P0bpoN.js +0 -491
- package/dist/assets/SignInScreen-BoQ9lNZS.js +0 -1
- package/dist/assets/StatementItem-BthXwXFQ-BNIZCHgX.js +0 -31
- package/dist/assets/StatementsPage-FmjXzQ3g-B0d3-aZp.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-B8qb2uqc.js +0 -31
- package/dist/assets/TransactionDetailPage-CaRcJukf-Bo597BVB.js +0 -903
- package/dist/assets/TransactionList-BAziC6eS-BmUgbhkd.js +0 -153
- package/dist/assets/TransactionListPage-Ce_lSS6C-DIQhg2cv.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-CtelY7nv.js +0 -58
- package/dist/assets/Vendor2FAPopup-DK98Bntc-DVN99uTL.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-k6uIrVLU.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-ClaB4MmH.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BBttD6LN.js +0 -14
- package/dist/assets/analyticsHelper-CuSP0M5f.js +0 -1
- package/dist/assets/commonTypes-DP3nDhtI-B_y6nYRG.js +0 -1
- package/dist/assets/downloadPdf-C1zKY9Rq-CXegp3G4.js +0 -1
- package/dist/assets/epic-av5bi8Jm.js +0 -2
- package/dist/assets/helper-Byvbf3nO-DBknGFPS.js +0 -223
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-CtStsMXI.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-jsRjLpEV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-BW4ULwuZ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DRCseSgo-DGrY-pp2.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-LIMzcEpN.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +0 -3
- package/dist/assets/toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aw as gt,e as Ye,V as t,jw as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jx as Xe,cj as Ie,cn as ft,g7 as Ct,ba as Tt,bP as Ze,aU as $t,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iT as Lt,iU as It,jy as Me,aS as Nt,i as De,bU as Ne,eO as Qe,jz as Et,d1 as et,jA as ce,jB as ke,jC as xe,jD as tt,jE as Dt,jF as st,jG as ot,jH as nt,jI as at,jJ as rt,jK as V,u as ge,jL as ae,ai as re,jM as Mt,jN as Bt,c as zt,an as At,jO as Rt,dc as Wt,jP as Ft,cT as it,es as Ot,b as Pt,jQ as Ht,jR as Ut,g8 as _t,gz as Vt,jS as Kt,jT as Z,jU as Be,cw as qt,jV as Yt,jW as Xt,jX as Zt,jY as ze,p as Ae,gw as Jt,am as Qt}from"./index-GSKpJ8ET.js";import{a as n}from"./sentry-BZBky1_g.js";import{n as o,c as we}from"./mui-DenpH-hx.js";import{Ga as es,Gb as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-BKgIzPpM.js";import{J as ss,t as os}from"./SpendManagementSection-DpZUTV6m-Dyv3RP83.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js";import{a as ls}from"./SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./StatusSwitcher-hKYgwNLC-CE1foddz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4aab414e-29e0-4214-8e03-7278d6b92f6e",e._sentryDebugIdIdentifier="sentry-dbid-4aab414e-29e0-4214-8e03-7278d6b92f6e")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},$=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
|
|
2
2
|
${e=>e.isCircular?we`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -16,7 +16,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
16
16
|
outline-color: inherit;
|
|
17
17
|
`,gs=o(At)`
|
|
18
18
|
color: inherit;
|
|
19
|
-
`,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(ws,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(fs,{onClick:u,isDisabled:h,children:[t.jsx(
|
|
19
|
+
`,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(ws,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(fs,{onClick:u,isDisabled:h,children:[t.jsx(Ts,{}),t.jsx(K,{children:Se.reset})]})]})}const xs=o.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
column-gap: ${s.sp4};
|
|
@@ -39,12 +39,12 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
column-gap: ${s.sp1};
|
|
42
|
-
`,Cs=o(
|
|
42
|
+
`,Cs=o(Tt)`
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
|
|
44
|
+
`,Ts=o(Ze)`
|
|
45
45
|
width: ${s.sp3};
|
|
46
46
|
height: ${s.sp3};
|
|
47
|
-
|
|
47
|
+
`,$s=se.getLocalizedStrings().taskManagement.taskList.footer;function js({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Xe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Fe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Fe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:$s.createGroup})]})})]})})}const ys=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,Fe=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -97,7 +97,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
97
97
|
`,Es=o(zt)`
|
|
98
98
|
width: ${s.sp3};
|
|
99
99
|
height: ${s.sp3};
|
|
100
|
-
`,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Ye(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const B=n.useCallback((
|
|
100
|
+
`,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Ye(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const B=n.useCallback(($,x)=>{f(x),b($,x)},[b]),z=n.useCallback($=>{M($),C($)},[C]);return t.jsx(Xe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Fs,{isTaskTemplatesEnabled:m,children:[t.jsxs(Hs,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ie,{children:J.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Pe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ie,{children:J.group})]})})]}),m?t.jsx(Ws,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:z,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ws=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),b=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),E=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Us,{children:[t.jsx(_s,{children:t.jsxs(Ks,{children:[t.jsxs(Vs,{children:[t.jsx(qs,{}),t.jsx(Ys,{children:J.groupTemplates})]}),t.jsx(Ss,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(U,{controller:b.length>0,children:t.jsx(Xs,{children:b.map(k=>{const f=h===k.id;return t.jsxs(ao,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Js,{children:[t.jsx(U,{controller:f,children:t.jsx(no,{})}),t.jsx(U,{controller:!f,children:t.jsx(oo,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(to,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(U,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Qs,{children:[t.jsxs(eo,{children:[t.jsx(ro,{className:"styled-dot"}),t.jsx(co,{className:"task-name-text",children:w.name})]}),t.jsx(so,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:As.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:b.length===0,children:[t.jsx(io,{children:t.jsx(lo,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Fs=o.div`
|
|
101
101
|
display: flex;
|
|
102
102
|
flex-direction: column;
|
|
103
103
|
width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
|
|
@@ -123,10 +123,10 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
123
123
|
display: flex;
|
|
124
124
|
flex-direction: column;
|
|
125
125
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
126
|
-
`,
|
|
126
|
+
`,Us=o.div`
|
|
127
127
|
background-color: ${e=>e.theme.colors.grey5};
|
|
128
128
|
padding-bottom: ${s.sp2};
|
|
129
|
-
`,
|
|
129
|
+
`,_s=o.div`
|
|
130
130
|
display: flex;
|
|
131
131
|
justify-content: space-between;
|
|
132
132
|
align-items: center;
|
|
@@ -234,7 +234,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
234
234
|
background-color: ${e=>e.theme.colors.background};
|
|
235
235
|
color: ${e=>e.theme.colors.primary};
|
|
236
236
|
}
|
|
237
|
-
`,
|
|
237
|
+
`,Ue=o(et)`
|
|
238
238
|
width: ${s.sp3};
|
|
239
239
|
height: ${s.sp3};
|
|
240
240
|
`,co=o(K)`
|
|
@@ -243,7 +243,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,f)=>{const w=ze(k,f,xe);E(w).invalid?b(w):m(e,{timeSpent:C(w)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(
|
|
246
|
+
`,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,f)=>{const w=ze(k,f,xe);E(w).invalid?b(w):m(e,{timeSpent:C(w)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(_e,{windowSize:a,responsiveWidth:Z[1].width,children:Be(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:Z[2].width,children:Be(e.priority.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(po.visual.MMMDCommaYYYYformat):t.jsx(ko,{children:Ge.strings.hyphen})}),t.jsx(_e,{windowSize:a,responsiveWidth:Z[4].width,children:p>0?t.jsxs(xo,{children:[t.jsx(qt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(wo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Yt(e.tagIds,d)}):null}),t.jsx(Fo,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Xt,{name:ze(r,e.id,xe),placeholder:Ee.common.timeSpentPlaceholder,timeSpentFormat:Ee.common.timeSpentFormat,registerOptions:{validate:k=>ts(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},ho=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:b,onCollapseToggle:E,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[M,B]=n.useState(null),z=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(W=>{B(W.currentTarget)},[]),j=n.useCallback(()=>{B(null)},[]),L=n.useCallback(()=>{b(e.id)},[b,e.id]),g=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{$(`${r}.groupName`),j()},[j,r,$]);return t.jsxs(mo,{windowSize:z,children:[t.jsx(U,{controller:h,children:t.jsxs(fo,{children:[t.jsxs(Co,{children:[t.jsx(To,{isOpen:a===!1,onClick:x,children:t.jsx($o,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ee.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ht(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(jo,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ut,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:y,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(_t,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const _=()=>{D(W.id)};return{label:t.jsx(uo,{taskDetail:W,onRowClick:_,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:z==="small"?null:t.jsx(vo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},mo=o.div`
|
|
247
247
|
box-sizing: border-box;
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: column;
|
|
@@ -302,10 +302,10 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
302
302
|
display: flex;
|
|
303
303
|
justify-content: space-between;
|
|
304
304
|
align-items: center;
|
|
305
|
-
|
|
305
|
+
`,To=o.div`
|
|
306
306
|
cursor: pointer;
|
|
307
307
|
transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
|
|
308
|
-
|
|
308
|
+
`,$o=o(Qe)`
|
|
309
309
|
width: ${s.sp3};
|
|
310
310
|
height: ${s.sp3};
|
|
311
311
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -375,7 +375,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: center;
|
|
377
377
|
column-gap: ${s.sp2};
|
|
378
|
-
`,
|
|
378
|
+
`,_e=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;
|
|
@@ -430,7 +430,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
430
430
|
column-gap: ${s.sp2};
|
|
431
431
|
`,Oo=o.div`
|
|
432
432
|
max-width: ${s.sp11};
|
|
433
|
-
`,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:T,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,U]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:X,filters:$e,userList:de,taskGroupsWithTasksList:Te}=e,{tagList:je}=d,ye=Ye(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:X.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:X.groupByKey,resetDisabled:X.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),$=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Xo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&Te.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(_o,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:$,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:T,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:X.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(qo,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},_o=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const T=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[U,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),Y=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(Y[l].id)||Y[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[U,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},T.current?.resetAfterIndex(0,!0)},[L,T,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),T.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),T.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),T.current?.resetAfterIndex(0,!0)},[]),X=n.useCallback(()=>{E(),T.current?.scrollTo(0),ne()},[ne,E]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?X():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,X,c,m]),Te=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find($=>$.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find($=>$.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map($=>$.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:T,outerRef:O,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>Y[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:$e,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:Te},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:X,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:T,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),U=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:T,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
|
|
433
|
+
`,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,_]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:X,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:je}=d,ye=Ye(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:X.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:X.groupByKey,resetDisabled:X.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&_(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Xo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&$e.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Uo,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:_,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:X.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(qo,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{_(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const $=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[_,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),Y=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>_.includes(Y[l].id)||Y[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[_,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),$.current?.resetAfterIndex(0,!0)},[]),X=n.useCallback(()=>{E(),$.current?.scrollTo(0),ne()},[ne,E]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?X():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,X,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find(T=>T.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find(T=>T.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map(T=>T.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:$,outerRef:O,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>Y[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:_,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:_o})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:$e},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:X,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},_o=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),_=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:_,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:$,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
|
|
434
434
|
display: block;
|
|
435
435
|
height: 100%;
|
|
436
436
|
`,Yo=o.div`
|
|
@@ -464,7 +464,7 @@ import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as w
|
|
|
464
464
|
&:hover {
|
|
465
465
|
color: ${e=>e.theme.colors.primary};
|
|
466
466
|
}
|
|
467
|
-
`,Qo=o(
|
|
467
|
+
`,Qo=o($t)`
|
|
468
468
|
margin-top: ${s.sp3};
|
|
469
469
|
color: ${e=>e.theme.colors.hero};
|
|
470
470
|
`,en=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b4 as _,
|
|
1
|
+
import{V as t,b4 as _,aE as S,dm as B,bs as H,o as c,ai as L}from"./index-GSKpJ8ET.js";import{a as n}from"./sentry-BZBky1_g.js";import{n as g}from"./mui-DenpH-hx.js";import{Y as q}from"./core-CEu4PzGb.js";import{V as U}from"./CollapsableReportTable-DlYIKSlQ-CcB96aJz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="bf81f1d9-8a36-404d-a299-43e68cb294cb",e._sentryDebugIdIdentifier="sentry-dbid-bf81f1d9-8a36-404d-a299-43e68cb294cb")}catch{}})();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;
|
|
@@ -25,8 +25,8 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-i62ZqD
|
|
|
25
25
|
position: relative;
|
|
26
26
|
scrollbar-width: none;
|
|
27
27
|
`,J=g(L)``,K=g.div`
|
|
28
|
-
top: ${
|
|
29
|
-
left: ${
|
|
28
|
+
top: ${c.sp0};
|
|
29
|
+
left: ${c.sp0};
|
|
30
30
|
width: calc(${e=>h*e.numberOfTicksSelected}px);
|
|
31
31
|
position: absolute;
|
|
32
32
|
height: ${p}px;
|
|
@@ -34,19 +34,19 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-i62ZqD
|
|
|
34
34
|
.slider-icon {
|
|
35
35
|
fill: ${e=>e.theme.colors.grey1};
|
|
36
36
|
}
|
|
37
|
-
border-radius: ${
|
|
38
|
-
border-left: ${
|
|
39
|
-
border-right: ${
|
|
37
|
+
border-radius: ${c.sp2};
|
|
38
|
+
border-left: ${c.sp0};
|
|
39
|
+
border-right: ${c.sp0};
|
|
40
40
|
&:hover {
|
|
41
41
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
42
|
-
border-radius: ${
|
|
43
|
-
border-left: ${
|
|
44
|
-
border-right: ${
|
|
42
|
+
border-radius: ${c.sp2};
|
|
43
|
+
border-left: ${c.sp0};
|
|
44
|
+
border-right: ${c.sp0};
|
|
45
45
|
.slider-icon {
|
|
46
46
|
fill: ${e=>e.theme.colors.primary};
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
line-height: ${
|
|
49
|
+
line-height: ${c.sp0};
|
|
50
50
|
pointer-events: none;
|
|
51
51
|
box-sizing: border-box;
|
|
52
52
|
`,Q=g.div`
|
|
@@ -61,4 +61,4 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-i62ZqD
|
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
pointer-events: all;
|
|
63
63
|
color: ${e=>e.theme.colors.grey5};
|
|
64
|
-
`;function j({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 q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:
|
|
64
|
+
`;function j({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 q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(a.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(l,o)){T(o);const d=o.startIndex*h;F({x:d,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[l,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=l;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,l]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},V=(o,d)=>{const m=ne(E.x,d.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},D=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:D}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as s,o,
|
|
1
|
+
import{V as s,o,ai as f,F as p}from"./index-GSKpJ8ET.js";import{n as d}from"./mui-DenpH-hx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -9,7 +9,7 @@ import{V as s,o,aj as f,F as p}from"./index-i62ZqD9V.js";import{n}from"./mui-rLv
|
|
|
9
9
|
overflow-x: auto;
|
|
10
10
|
overflow-y: hidden;
|
|
11
11
|
white-space: nowrap;
|
|
12
|
-
`,g=
|
|
12
|
+
`,g=d.div`
|
|
13
13
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
14
14
|
&:hover {
|
|
15
15
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
@@ -18,14 +18,14 @@ import{V as s,o,aj as f,F as p}from"./index-i62ZqD9V.js";import{n}from"./mui-rLv
|
|
|
18
18
|
border-radius: ${o.sp2};
|
|
19
19
|
background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
|
|
20
20
|
box-shadow: ${e=>e.isSelected?`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`:null};
|
|
21
|
-
`,
|
|
21
|
+
`,_=d(f)`
|
|
22
22
|
padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.sp3};
|
|
23
|
-
`,
|
|
23
|
+
`,b=d.div`
|
|
24
24
|
width: 1px;
|
|
25
25
|
height: ${o.sp3};
|
|
26
26
|
background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
|
|
27
|
-
`,w=
|
|
27
|
+
`,w=d.div`
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: row;
|
|
30
30
|
align-items: center;
|
|
31
|
-
`;function y({timeframe:e,isSelected:t,onClick:
|
|
31
|
+
`;function y({timeframe:e,isSelected:t,onClick:n}){const c=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(g,{onClick:()=>{t===!1&&n(e)},isSelected:t,children:s.jsx(_,{children:c(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:n}){const c=a=>{n?.(a)},r=e.findIndex(a=>a===t);return s.jsx(u,{children:e.map((a,i)=>{const h=e.length>1&&i<e.length-1,l=i===r,m=i===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:a,isSelected:l,onClick:c},i),h?s.jsx(b,{isSelected:l||m}):null]},i)})})}export{S as b};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{J as n,V as t,y as d,ai as u,bK as b}from"./index-GSKpJ8ET.js";import{n as r}from"./mui-DenpH-hx.js";import{b as l}from"./TimeframeSwitcher-BppC6giF-D-wC9bQx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2ffe0265-5098-45cb-b36b-6fe1f4476eb0",e._sentryDebugIdIdentifier="sentry-dbid-2ffe0265-5098-45cb-b36b-6fe1f4476eb0")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},w=({className:e,...o})=>t.jsx(b,{...o,className:e,classes:{...i}}),x=r(w)(({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}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
`,$=r.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
width: 100%;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
`,m=r.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
flex: 1 1 auto;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
padding-left: ${e=>c.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
15
|
+
padding-bottom: ${e=>c.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
16
|
+
`,k=r.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
width: 100%;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
`,j=r.div`
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 125px;
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: flex-end;
|
|
28
|
+
`,C=r(u)`
|
|
29
|
+
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
30
|
+
opacity: ${e=>e.isDisabled?.5:1};
|
|
31
|
+
`,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=n();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=n();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function L(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{L as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aE as M,J as z,V as t,e as x,u as f,b as T,aZ as R,aO as H,aM as X,o as p,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-GSKpJ8ET.js";import{P as w,a as Z}from"./sentry-BZBky1_g.js";import{F7 as W}from"./zeni-epic-state-BKgIzPpM.js";import{n as g}from"./mui-DenpH-hx.js";import{I as ee,T as te}from"./ReloadCard-C81rGzOp-DY4k84ea.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CtMgv3E2.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-9NtTDQfo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2a177e62-0fb3-42d0-89e9-06b5d88c3765",e._sentryDebugIdIdentifier="sentry-dbid-2a177e62-0fb3-42d0-89e9-06b5d88c3765")}catch{}})();const ie=g(E)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
|
@@ -6,14 +6,14 @@ import{aF as z,J as M,V as t,d as x,u as f,b as T,aZ as H,aP as R,aN as F,o as p
|
|
|
6
6
|
`,se=g.div``,le=g(C)`
|
|
7
7
|
color: ${e=>e.theme.colors.hero};
|
|
8
8
|
margin: ${p.sp2} ${p.sp0} ${p.sp2} ${p.sp0};
|
|
9
|
-
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(
|
|
9
|
+
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(J,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Y)`
|
|
10
10
|
color: ${e=>e.theme.colors.champion};
|
|
11
11
|
`,D=g.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex: 0 1 auto;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
align-items: center;
|
|
16
|
-
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(
|
|
16
|
+
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(q,{"data-testid":U("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function P({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(P);const A=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=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=i?.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:i??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{aF as z,J as M,V as t,d as x,u as f,b as T,aZ as H,aP as R,aN as F,o as p
|
|
|
29
29
|
height: ${p.sp4};
|
|
30
30
|
`,xe=g(C)`
|
|
31
31
|
margin-left: ${p.sp2};
|
|
32
|
-
`,ye=g(
|
|
32
|
+
`,ye=g(F)`
|
|
33
33
|
flex: 1 1 0;
|
|
34
34
|
color: ${e=>e.theme.colors.primary};
|
|
35
|
-
`,be=g(
|
|
35
|
+
`,be=g(Q)`
|
|
36
36
|
flex: 1 1 0;
|
|
37
37
|
margin-right: ${p.sp2};
|
|
38
|
-
`;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=A(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(
|
|
38
|
+
`;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=A(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx($,{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:i.colors.background},children:s.map(c=>t.jsx(O,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,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:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:H("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{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(K,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(L,{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})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=A(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs($,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:B,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:B})}}),h.map(m=>t.jsx(O,{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(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(K,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(L,{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,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=Z.useState(r?.topExTimePeriod??"last_month"),d=[...W],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});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(P,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{P as A,Se as E,Ce as I,Ee as L,ce as c};
|
package/dist/assets/{TopExDetailPage-DZyUPQ9i-BLn9-yw3.js → TopExDetailPage-Rtrcdkcp-BJDfbujg.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as v,J as S,V as t,bD as A,F as f,aO as b,b4 as B,x as P,o as i,y as E,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-GSKpJ8ET.js";import{n}from"./mui-DenpH-hx.js";import{F7 as T}from"./zeni-epic-state-BKgIzPpM.js";import{E as _,I}from"./TopExCard-Cy6tPVSx-B-keVDu8.js";import{b as M}from"./TimeframeSwitcher-BppC6giF-D-wC9bQx.js";import{d as Z}from"./NoDataTable-9xF1_3XS-gmK0ApJv.js";import{P as L,a as o}from"./sentry-BZBky1_g.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./ReloadCard-C81rGzOp-DY4k84ea.js";import"./graphic-no-data-l-DU4J8fDt-CtMgv3E2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="7341dae9-de0b-4553-aa07-6aae4105dca4",e._sentryDebugIdIdentifier="sentry-dbid-7341dae9-de0b-4553-aa07-6aae4105dca4")}catch{}})();const j="141px",O=i.sp4,N="123px",R=n(z)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -18,31 +18,31 @@ import{d as v,J as A,V as t,bD as S,F as f,aP as j,b4 as B,w as P,o as i,y as b,
|
|
|
18
18
|
&:hover {
|
|
19
19
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,Q=n.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-grow: 1;
|
|
24
24
|
flex-shrink: 0;
|
|
25
25
|
flex-direction: row;
|
|
26
26
|
justify-content: flex-end;
|
|
27
|
-
`,
|
|
27
|
+
`,W=n($)`
|
|
28
28
|
user-select: none;
|
|
29
|
-
width: ${
|
|
30
|
-
min-width: ${
|
|
29
|
+
width: ${j};
|
|
30
|
+
min-width: ${j};
|
|
31
31
|
text-align: right;
|
|
32
32
|
margin-left: ${O};
|
|
33
|
-
`,
|
|
33
|
+
`,X=n.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=n($)`
|
|
40
40
|
user-select: none;
|
|
41
41
|
display: flex;
|
|
42
42
|
min-width: ${N};
|
|
43
43
|
text-align: left;
|
|
44
44
|
margin-left: ${i.sp4};
|
|
45
|
-
`;function
|
|
45
|
+
`;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=R,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(J,{isClickable:d,children:[t.jsxs(X,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(q,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(Q,{style:{cursor:g},children:t.jsx(W,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const K=n.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: 100%;
|
|
48
48
|
flex-direction: column;
|
|
@@ -56,7 +56,7 @@ import{d as v,J as A,V as t,bD as S,F as f,aP as j,b4 as B,w as P,o as i,y as b,
|
|
|
56
56
|
width: 100%;
|
|
57
57
|
height: 1px;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey3};
|
|
59
|
-
`;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(
|
|
59
|
+
`;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(K,{children:e?.map((s,r)=>t.jsxs(U,{children:[t.jsx(G,{leftChevron:"collapsed",account:s,onAccountBalanceClick:l}),a(e,r)===!0?t.jsx(Y,{}):null]},r))})}const te=L.memo(ee),ie=n.div`
|
|
60
60
|
margin: ${i.sp0} ${i.sp0} ${i.sp6} ${i.sp0};
|
|
61
61
|
background-color: inherit;
|
|
62
62
|
width: 100%;
|
|
@@ -84,7 +84,7 @@ import{d as v,J as A,V as t,bD as S,F as f,aP as j,b4 as B,w as P,o as i,y as b,
|
|
|
84
84
|
`,ce=n($)`
|
|
85
85
|
color: ${V.alert};
|
|
86
86
|
margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
|
|
87
|
-
`;function de(){switch(v().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new
|
|
87
|
+
`;function de(){switch(v().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex: 1 1 auto;
|
|
90
90
|
min-height: 100%;
|
|
@@ -129,4 +129,4 @@ import{d as v,J as A,V as t,bD as S,F as f,aP as j,b4 as B,w as P,o as i,y as b,
|
|
|
129
129
|
margin-bottom: ${i.sp5};
|
|
130
130
|
`,$e=n.div`
|
|
131
131
|
display: flex;
|
|
132
|
-
`;function Ie(e){const l=v(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=
|
|
132
|
+
`;function Ie(e){const l=v(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:b("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(Z,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
|