@zeniai/web-cockpit-ui 1.15.41-qa → 1.15.42-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.
Files changed (315) hide show
  1. package/dist/assets/ACHDetailsPage-DF16gWgj-Hpn_gqDU.js +21 -0
  2. package/dist/assets/{AIPerformancePage-PNdYt7zU-CCfuxILG.js → AIPerformancePage-C4vz8N43-CRGg0PbR.js} +41 -41
  3. package/dist/assets/AccountInfoPage-BEfWt7FF-DKS41VFv.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-ByDC4GDX-Dqc4SPDG.js → AccountInfoPageContent-ChU5cJoQ-D9IyZyne.js} +20 -20
  5. package/dist/assets/AccountLockedInfoModal-nR2S2Zp3-D-cVlgUn.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C3eByWLq-C6RBkRVB.js → AccountReconDetailsDrawerPage-CX_r0vhF-C1q9rEkK.js} +49 -49
  7. package/dist/assets/{AccountRow-H8lG1wjG-BENCFocK.js → AccountRow-sz0SNySJ-PMcRks2g.js} +20 -20
  8. package/dist/assets/{AccountsPromoCardStack-DACW0OlS-D7dbT3SC.js → AccountsPromoCardStack-B7XZ57f9-CVIKbG9H.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-BJ-fZGjY-BgqrlNw3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CXsdXmY4-DqUKB32H.js → AddToWalletPage-DGRSRVWe-CKFgsCEX.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-G-3_Pd0O-DSzSGoMU.js → AgingReportsPage-DMExghvs-CycrXnxr.js} +4 -4
  12. package/dist/assets/{AllUserItems-C87o610O-C4ngO1W2.js → AllUserItems-DryGxINS-Dfji-7g8.js} +9 -9
  13. package/dist/assets/ApAgingDetailPage-DGx58n1N-BTsjh3-_.js +46 -0
  14. package/dist/assets/{AppBasePage-CVtUuOcc-D8Jp442P.js → AppBasePage-CNTgjZKQ-wPJItjxh.js} +7 -7
  15. package/dist/assets/{AppDrawerContent-f9CovWwx-CRmwucEK.js → AppDrawerContent-BWPrhBXi-xs-4ykwH.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-MV9MWn1n-B_Gy9F2m.js → ApprovalRulesSettingsPage-d_j1Of5B-Drv5uoVo.js} +3 -3
  17. package/dist/assets/{ArAgingChart-Bn1ne5TY-gOLToFjY.js → ArAgingChart-OG8ATXHG-BPTtTowJ.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-LrJ7ab5--DpGQFGj1.js → ArAgingDetailPage-BPgtjmm2-3KI_6Cxg.js} +1 -1
  19. package/dist/assets/{AttachmentView-40S92NKz-O72HtTZp.js → AttachmentView-DTHxVIEf-OlbTumHp.js} +8 -8
  20. package/dist/assets/{BankAccountSection-BqHvCCIV-cPbSA8Xj.js → BankAccountSection-CJlVvGHg-BpmPk2BK.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-BhYGVsUP-Bgxn65RB.js → BankAccountWarningSection-DVVX_lU2-YGd3zWAN.js} +4 -4
  22. package/dist/assets/{BankConnectionsSettingsPage-DXdPI9zA-DT9EhfPP.js → BankConnectionsSettingsPage-tN8-HD1P-CjUFfCmd.js} +25 -25
  23. package/dist/assets/BillDetailPage-Bm_TJJ2g-zy6sbh4h.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CfqhwDf0-DCyv7vx2.js → BillPayApprovalRuleDetailPage-DtdRRgcR-CI7_XiGE.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-BYFmAM12-pZa4t15e.js → BillPayApprovalRulesPage-D7pP_-16-BPbHVQJF.js} +13 -13
  26. package/dist/assets/BillPayPromoPage-BEUu8_p_-CdxN39Ja.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-DWl8Zqs1-uZakaQ8Q.js → BillPaySetUpPage-BhUjqdEO-D4O_Ti0B.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BPRhivDv-C05om7fp.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-CKS2cRrv-BkJLG09t.js +1 -0
  30. package/dist/assets/{BoxItem-Ce8JhxRe-M9xWkSbH.js → BoxItem-BeIteKFb-Ib8SQzK0.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DBUiYheW-CjRSQJ04.js → BusinessVerificationPage-Djw-kSvA-C_VqSsA_.js} +6 -6
  32. package/dist/assets/{CardNumberSubText-1VICaGZC-D3RqCdk-.js → CardNumberSubText-D7w7pNlf-px0UUmwV.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D9MFQhkK-DId8X-0z.js → CashbackDetailPage-DiEz5YX_-8CUn3oj8.js} +18 -18
  34. package/dist/assets/{ChargeCardDetailPage-DPLktTU0-D-hVAQ2P.js → ChargeCardDetailPage-46d4rGgi-C8VEOYGw.js} +53 -53
  35. package/dist/assets/{ChargeCardListPage-PJbJVy9B-C7swXn1_.js → ChargeCardListPage-DQgEFDxx-CRF2CXoG.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-B7Jltqnn-lu4L-KiX.js → ChargeCardListTable-CAdFvZrg-ZDs6pP1D.js} +30 -30
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CY9nng7V-DMOUwpBt.js → ChargeCardPaymentHistoryPage-BVFfqwea-BY1rljaa.js} +36 -36
  38. package/dist/assets/{ChargeCardPromoPage-CQJ-q6d9-CAZVMp3A.js → ChargeCardPromoPage-N1x7DoZ4-C2G2NFcL.js} +25 -25
  39. package/dist/assets/{ChargeCardSetupPage-BjYXhI41-1PD6oZTx.js → ChargeCardSetupPage-DjoSNPoV-B95V0M5O.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BJhMyv01-C4iLvalo.js → ChargeCardStatementsPage-CKWgdycu-Bzkf2xU2.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BDUc5zew-CPIt8X_J.js → CheckDepositDrawerPage-C6eutpsP-BJgM-nd0.js} +8 -8
  42. package/dist/assets/{CollapsableReportTable-CRZijlLw-DrP1MH6t.js → CollapsableReportTable-DQitA-HH-D-ytul6z.js} +86 -86
  43. package/dist/assets/{CompanyOfficerDetailsSection-DBN5fsfV-BQ3P2-gb.js → CompanyOfficerDetailsSection-BusB8QML-ByGBO89M.js} +15 -15
  44. package/dist/assets/{CompanyPassportCard-DY-UpT4X-C4b0dPrE.js → CompanyPassportCard-Dwq6U23E-Dff0N9f5.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-B0lEp15Z-1i_bghIC.js → CompanyPassportPage-a7p7-Yf7-BH2Ltdk_.js} +23 -23
  46. package/dist/assets/{CompleteProfile-DkXUTjrQ-Db_nzBJO.js → CompleteProfile-Be83xc7S-DF09SnKJ.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BGpaNgtO-BA4--k5u.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CfTvgjDM.js → ConstrainedInnerElement-BeIpAPjB-B_QUqBfd.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-hAG6iJks-lkeljyMv.js → CreateOrEditVendorPage-CNOoNMGf-xbewlduj.js} +19 -19
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CLche8ye-C_34ZvNa.js → CreditCardPaymentDrawerPage-BJFiaA8N-y9d5BoI2.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-Cps-E4RZ-d5qF8fSQ.js → CurrencySelectField-QL-EZiuT-_bjNCxiF.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-B8EI1b3X-Dj6Y4Uh4.js → CustomerOnboardingActivationPage-ChFLc-Bh-CMWmLAhY.js} +6 -6
  53. package/dist/assets/CustomerOnboardingContainerPage-CiWilmvy-BSdTk0pn.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cjdz022F-BQzlWrkT.js → CustomerOnboardingDetailPageSkeleton-ByAYHyM5-BTUKD21M.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BM3Ty0A--DIbMLpTU.js → CustomerOnboardingNoStepsPage-CJlf2BxW-CHRKjivu.js} +4 -4
  56. package/dist/assets/{CustomerOnboardingPage-D4cNTYTi-C42KbQXa.js → CustomerOnboardingPage-CZpYM2Um-DmldBx57.js} +14 -14
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BRg-6X__-DdNSpQ-6.js → CustomerOnboardingProductSuitePage-Bua-efZZ-DTLtNPox.js} +3 -3
  58. package/dist/assets/{Dashboard-hAvH2Ujo-B6IP_j2j.js → Dashboard-Bo3YLWim-DCvqfujn.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-BnsfrJs5-BPhqM0F_.js → DashboardReportPage-DxLBSScH-DzuVjp6S.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CD-912fm-Dh1jPxOd.js → DashboardSidebarBackgroundAnimation-D9jy0E3J-CnJYb7sN.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BSjRIT76-BTmXhvMG.js → DepositAccTransactionItem-BUSuSCOR-65UinRer.js} +4 -4
  62. package/dist/assets/{DepositAccTransactionListPage-CMHZmCaF-BFddyBE8.js → DepositAccTransactionListPage-CIDmP_Ig-B_Y_F7VT.js} +9 -9
  63. package/dist/assets/{DomesticWireDetailsPage-B7IcmJ5S-CtbOrFFy.js → DomesticWireDetailsPage-1JafGpxq-uSG1nT_5.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DLdu2VQ3-KjQqw4XR.js → DownloadOverlay-DUYftI-h-D71rp7yz.js} +11 -11
  65. package/dist/assets/{DrawerPage-CVKJUV0d-1VrLf85V.js → DrawerPage-Br7Spm_D-pQ8sZx88.js} +7 -7
  66. package/dist/assets/EditPeoplePage-CGYR3lrg-DoWF8etD.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage--Sw7PT5v-ByroxrFy.js → EditReimbursementDetailPage-DMMdfkh8-Bucax6Ut.js} +156 -156
  68. package/dist/assets/EntityDetailPage-DYtL_p8R-GD_XakVz.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BwfqmMJf-Ck--pC9e.js → EntitySummarySection-BqbaP86G-DpA6l5fM.js} +30 -30
  70. package/dist/assets/{ExpenseAutomationOverviewPage-EuWSUhAA-S_zuNRXY.js → ExpenseAutomationOverviewPage-CrXiwOR2-YbYbnS7Q.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-CNl1S9Aa-mhJaMF4M.js → ExpenseAutomationPage-Nf_8Kyie-CTvPgCHn.js} +47 -47
  72. package/dist/assets/{ExpressPayPage-CbWuzpCW-DS_V3c-F.js → ExpressPayPage-UQwsM48P-D7O-_G73.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-HWLnhB9a-DXJxcpnb.js → FeaturePreviewPage-BRPcuukW-BStEym9y.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CVX6zX9Q-0JaUuRFv.js → FollowStepsSection-zLVY0Bxj-CS04bdSf.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-HEPGnrBi-D4pu4wAE.js → GlobalReviewListPage-Dm_qc_Yw-DaZA8sHm.js} +13 -13
  76. package/dist/assets/{InformationCardStack-BC-wYnqn-CDHpu8rR.js → InformationCardStack-C7jQmHes-CWd2nkLz.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-Buh7Rj7W-B-XFnTbj.js → InsightsCardStack-CBrXK6na-CLYhX1B-.js} +9 -9
  78. package/dist/assets/{InsightsSection-uT4QX3iw-B1Mb62vw.js → InsightsSection-D_hTz1-h-EcLzFnt2.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-np4iMqIF-BOXlm3x-.js → IntegrationsSettingsPage-B3BcOzu1-DFtNOGVa.js} +10 -10
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CRFIo4Oj-CKmgCCwr.js → InternationalWireSwiftDetailsPage-CMrSLhcq-xqjqhVUP.js} +17 -17
  81. package/dist/assets/InternationalWireVerificationPage-D8lqdsVG-CS33qqLD.js +65 -0
  82. package/dist/assets/{InviteFormPage-CVVm61Xb-DTfuiXCS.js → InviteFormPage-Cb6yA36Y-j5-QPPFw.js} +30 -30
  83. package/dist/assets/{InvitePageListView-Bhv5fpSY-BrVz8pRa.js → InvitePageListView-CvAYZn3w-BGjtLryq.js} +52 -52
  84. package/dist/assets/InvitePeoplePage-B3HP9bgz-C0119Ywd.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-DBvyatKK-CJBMM0Za.js → InvoiceUploadSection-BV69g_45-C0jQPqw-.js} +10 -10
  86. package/dist/assets/{IssueChargeCardPage-DzAyBn8c-mXHywZLA.js → IssueChargeCardPage-DC8gfsh9-C09x3l5G.js} +32 -32
  87. package/dist/assets/{LabeledAddressValue-BHuN9hmS-xGzDkCtS.js → LabeledAddressValue-DcHYCO3r-yN6DyHDi.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-COLiEu2C-u-zbSv3w.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-CRR6Iscv-DujcJdM4.js → LabeledControlledCheckBoxField-B258oHta-DFq5Q_Wk.js} +2 -2
  90. package/dist/assets/{LabeledCountryMultiSelectField-BWfPhvMM-pDpHMyTS.js → LabeledCountryMultiSelectField-CDN3Cboj-DwWKggpi.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CbmnDlQX-Bud0UcHP.js → LabeledCreatableSingleSelectField-5NsKlfNx-BEfEdG1_.js} +4 -4
  92. package/dist/assets/LabeledDocumentField-DNh366no-DrAn5iL2.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CLHaeBmo-Dbz-uAbc.js → LabeledDropDownFormattedTextField-BEox9eFP-Cs6wSzGo.js} +7 -7
  94. package/dist/assets/LabeledText-BNEHh2ZI-BfrNdALD.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DYAtBZjB-BW2S_3jE.js → LabeledUserSingleSelectWithSubtitlesField-BoYac4nN-CnfvrnWB.js} +18 -18
  96. package/dist/assets/{LabeledZeniRolesDropDownField-B7Z3Kefm-D8ICt4Pk.js → LabeledZeniRolesDropDownField-BL1wek8m-DLuVqXVU.js} +20 -20
  97. package/dist/assets/LinkJETransactionPage-KkB2mCGz-DD79uSY5.js +98 -0
  98. package/dist/assets/{LockCardPage-DG1icW3l-BrBrLoqr.js → LockCardPage-BBPoahE6-DjuGLIgr.js} +219 -219
  99. package/dist/assets/LowBalancePopup-BFU-BVK9-DWsdSBOg.js +34 -0
  100. package/dist/assets/MagicLinkACHDetailsPage-voSZCbPS-Bu01L_aV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-evB-Fia6-Ddjk2plz.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-ChjLt6BQ-C6H3R4f0.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-DH2RMNDM-2yEu43__.js → MagicLinkSuccessPage-BL0Twa3Z-yp-cCoVI.js} +6 -6
  104. package/dist/assets/{MagicLinkTitleSection-B_lsWLaB-6l0Q2ZDr.js → MagicLinkTitleSection-C8EEgV19-CiX4xfZT.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-DT2vh6CT-CCScgjq2.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D4QR9tUf-AE5_I3cP.js → MyBankConnectionsSettingsPage-BvZhVteo-C2c-74lS.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-D2EL0Jp--BWDRXrvv.js +6 -0
  108. package/dist/assets/{MyProfileSettingsPage-CSaNSpuq-H-vs8ioV.js → MyProfileSettingsPage-3QGlUKp1-z7Bwqz5C.js} +7 -7
  109. package/dist/assets/{NavBarWithPicker-Zs67Xuo1-Bwvf2TqD.js → NavBarWithPicker-BXubFmkR-D51S0MSd.js} +3 -3
  110. package/dist/assets/{NavigationArrow-gJivTrEy-CJYJcp3Q.js → NavigationArrow-DvI-yhxJ-DlVsGta8.js} +1 -1
  111. package/dist/assets/{NavigationDots-DTQZxPoW-LNb-u25P.js → NavigationDots-CPlwYOx--BPMPlnpv.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BI5z7cVi-Drg8AloH.js → NewGlobalMerchantPage-CXC3nRf0-Bx5yZmxN.js} +12 -12
  113. package/dist/assets/{NoDataChart-CKYUeTCs-DvkQx1V0.js → NoDataChart-DTVuSEdu-BkUYV-TV.js} +1 -1
  114. package/dist/assets/{NoDataTable-CwJmhtK3-CCNoQlOZ.js → NoDataTable-Bgt6dZEF-B3972AwQ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Bxs-YzV4-CpCxTN11.js → NotFoundPage-B2B4aoo2-BW-s5AV5.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-DMYs6gdm-BlfmU3ul.js → NotificationSettingsPage-B5kEZN6p-CIJZlZ4H.js} +33 -33
  117. package/dist/assets/{NotificationsListConfig-BHt9OVz6-BKDTXb1o.js → NotificationsListConfig-lOoxcslt-BhnQjQWG.js} +1 -1
  118. package/dist/assets/NotificationsPage-CTHg82VM-CwBM4vUS.js +685 -0
  119. package/dist/assets/{OpExByVendorPage-D-0--y-d-DMlLcW9P.js → OpExByVendorPage-CXmqL8sH-BK8_o8ls.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-E92SHML4.js → OverlayContainerPage-D4QU0p4o-CSiWE48U.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BgBplnz_-ChEt9BF6.js → PandLWithForecastPage-DbZpKElK-Dy4zdedl.js} +11 -11
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6JM3mQz-CgsGFkzx.js → PaymentAccountSetupBillingAddressSection-CJRhGAtG-D2ukn4NZ.js} +6 -6
  123. package/dist/assets/{PeoplePage-1Aa0j1Br-D63RAfrN.js → PeoplePage-CJri4xlX-CEfPFRxE.js} +15 -15
  124. package/dist/assets/{Preview-CfPlLM4U.js → Preview-0sAWcABs.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BR9igDN--4qcjyVm7.js → ProductsCarousel-DtmKoNz3-BSbpVJVt.js} +2 -2
  126. package/dist/assets/{PromoBaseCards-B-dCLfsi-omMrAFa4.js → PromoBaseCards-g6j_z80f-C2Bai70y.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-Dc2r7Qhk-9XcCUrWN.js → QBOConnectionDialog-BwKmOICb-D3Jo-Vlf.js} +4 -4
  128. package/dist/assets/{QBOSetupSection-Bhvg13n4-BS4MZWmI.js → QBOSetupSection-BN8o3dwu-DHQTxOlT.js} +12 -12
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-C5s_8IJ8-CPJIVNh1.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BtaFR_-R-DT_IS0Mc.js → ReimbursementApprovalRulesPage-BvvOob8U-DEiVU8X7.js} +2 -2
  131. package/dist/assets/ReimbursementDetailPage-BVFGrEhN-B7_bgdSj.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-dsgbajZ6-CWCF7N7b.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-CesV38Tv-CAsx1rGC.js → ReimbursementSetUpPage-0AMBarqS-CiwiIoY4.js} +9 -9
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuK15ipi-jsvxMTC-.js → ReimbursementsBulkReviewDrawerPage-L0YmO2qY-DQjnniUJ.js} +1 -1
  135. package/dist/assets/{ReloadCard-DCA58Z6d-lxJyT6Aq.js → ReloadCard-Dketoj2r-tAJXPFMi.js} +2 -2
  136. package/dist/assets/{ReportTableViewSelector-Bcxl71KP-GS5y6Ng3.js → ReportTableViewSelector-DmDzw4yW-D1HeX13c.js} +5 -5
  137. package/dist/assets/{ReportsPage-DrxIUX8S-BX-Ugn1O.js → ReportsPage-DPrhnmvb-D0g4apvT.js} +6 -6
  138. package/dist/assets/{RevenueChart-BIWVGs6F-HTYxOFNe.js → RevenueChart-CDrGsGOU-CIlC5CYF.js} +8 -8
  139. package/dist/assets/{ReviewDetailsPage-C3dqUSg--Cpk2HBlF.js → ReviewDetailsPage-DjbAwLAN-B0q2mTzL.js} +18 -18
  140. package/dist/assets/{ReviewOverlay-Cag-4B4Y-D1ezdBpL.js → ReviewOverlay-Ws6-5o0Z-DJX77Zrm.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-vxNCa6FT-LxVETf1F.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ikCFA0w0-2eZV-mSh.js → ScheduleDetailsFixedAssetsPage-B2Y0ri0_-D9zabCxc.js} +4 -4
  143. package/dist/assets/{ScheduleDetailsPage-DzYUkz8B-BASiQOiG.js → ScheduleDetailsPage-D4fdm16B-KuG3aRA0.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-Cg5WKyIj-CgT_tp3-.js → ScheduleSequenceTable-BuOwBQPa-idhR1Z_Q.js} +16 -16
  145. package/dist/assets/{ScreenRoutes-BA3Mh7pl.js → ScreenRoutes-BIVA2nRG.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CczJQz98-BSMGTELr.js → SetUpAccountSection-DJz8iGRu-BIE7oU3u.js} +9 -9
  147. package/dist/assets/{SignIn-IIuCvpoR-11uX7W5f.js → SignIn-BltllFmN-lRCl2w8R.js} +15 -15
  148. package/dist/assets/{SignInScreen-2miLFysH.js → SignInScreen-CvDooCt5.js} +1 -1
  149. package/dist/assets/SpendManagementListViewPage-BQwyNWPt-CFFiSy1U.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-D3DxhXvr-B6sZ7QiP.js → SpendManagementPerTabPage-CkH_5fl0-DiDtAytK.js} +39 -39
  151. package/dist/assets/{SpendManagementSection-DSN3bvLE-BkMacKAC.js → SpendManagementSection-BhbK0q1x-DEzibqGa.js} +15 -15
  152. package/dist/assets/StatementItem-D8E_FAe4-BYv882Fo.js +31 -0
  153. package/dist/assets/StatementsPage-Wiw8T04d-DTKPWrtc.js +58 -0
  154. package/dist/assets/{StatusSwitcher-C35eTt_u-VQn5S24k.js → StatusSwitcher-DPs1Vq5X-D6dENE_K.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-B8hXbnSB-cmYgrs9Q.js → SubTabSwitcher-BvqpLoBx-n7blk4-b.js} +2 -2
  156. package/dist/assets/{SummaryCard-dhNbqi0b-YwOnQ2xO.js → SummaryCard-CYZZ0q6A-Bue0ya2z.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-QHzSJ5AM-Dhc53xoT.js → TaskManagementPage-lc9Mw2Sm-CSBSTCNw.js} +34 -34
  158. package/dist/assets/{TimeRangeSwitcher-By1NizbD-D56RmIGq.js → TimeRangeSwitcher-Dm0lFXOD-CN2hUUX6.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CnIziozQ-1cQ19qL3.js → TimeframeSwitcher-CFrCNOFC-CCLnJVYT.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BxwsH8cn-DW9lfWz3.js → TimeframeSwitcherWithToggle-Cu0mWh8Z-Dnw607ZH.js} +1 -1
  161. package/dist/assets/{TopExCard-BXYnSJ_3-BrLh6FBV.js → TopExCard-IMbcUkNt-D4ymrCrP.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-C9pGvGMt-BM8au-2T.js → TopExDetailPage-IEJSc_e7-BtOs5ZNd.js} +8 -8
  163. package/dist/assets/TransactionActivityLogPage-CztxkZSm-8f7Qpuaa.js +195 -0
  164. package/dist/assets/{TransactionDetailPage-CZQnRzsm-DgcUcv00.js → TransactionDetailPage-C5khWZWO-BeDT0w8u.js} +20 -20
  165. package/dist/assets/{TransactionList-Bdf5Bgsu-BJckNy4D.js → TransactionList-BH11aGhG-4R_e7lBY.js} +15 -15
  166. package/dist/assets/{TransactionListBig-DcbkwmaY-lPbTtFsv.js → TransactionListBig-CdJV8TeD-DMYaee9L.js} +11 -11
  167. package/dist/assets/TransactionListPage-CjzTPYr7-BDdk1Iba.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-B-FwW8my-CWEbgotx.js → TransactionVendorDetailPage-Dv7hRa0N-BwsLBxd1.js} +4 -4
  169. package/dist/assets/{TransferDrawerPage-DqxZzNHb-JyC0LuW4.js → TransferDrawerPage-r48o2lxO-CN66Pp8k.js} +40 -40
  170. package/dist/assets/{TreasuryOverviewPage-BFDU5aeU-CkjRA3dQ.js → TreasuryOverviewPage-DKCxYrPQ-HyhZNbuE.js} +32 -32
  171. package/dist/assets/{TreasuryPromoPage-HD1G38a1-ZbC8VXaw.js → TreasuryPromoPage-CNpZ_SIL-DNBqegZ8.js} +21 -21
  172. package/dist/assets/TreasuryStatementsPage-DKRIOtY3-DpdYXRvQ.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-Bwg7y3DU-CPkWwrCH.js +58 -0
  174. package/dist/assets/{TrendChart-DVlTUYry-BQhZ0XSE.js → TrendChart-C1hhS0ef-CM_jfK9c.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-DXYNZfvE-CEOC8UFU.js → TrendWithTransactions-CbJdyyGK-8bD7HA0C.js} +4 -4
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BgQsB5_3-COI438r2.js → UncategorizedAccountsMappingPage-BTAJNCzF-IB-Tcf9I.js} +30 -30
  177. package/dist/assets/{UnitIntegrationPage-Dm62VB7y-B0M_A7fc.js → UnitIntegrationPage-B7xYyx0u-Dfb-qM03.js} +10 -10
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DG7NwQOq-PHFjEw3H.js → UploadAdditionalDocumentOverlay-BxSUijP--B8mSbR2d.js} +1 -1
  179. package/dist/assets/Vendor2FAPopup-Ctn_yjc8-D0FF2AtH.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-Bvj35jGs-H5j6K7x_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-B8qtHlez-CDeCcma-.js → VendorDetailPage-CTbWD0xL-DOodc43o.js} +87 -87
  182. package/dist/assets/VendorDomesticWireDetailsPage-YMt9zC7E-4y578jYA.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-B5GzsaIt-CrkaSKWH.js → VendorFiling1099EditablePage-CC17aZpp-CUEXtxxF.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-B1c74yx7-XWeMR4A4.js → VendorFirstReviewPage-C2Rj4ujS-D3XLk6SM.js} +30 -30
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DPucgS6n-BUwm5cf5.js → VendorInternationalWireDetailsPage-CXgBfF0b-AFVguI8X.js} +7 -7
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CPdA16m4-BUiNKc-B.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BBnG4jo9-CE1HsZr7.js → VendorsAccountsSection-CKKsK4iR-Brg3gtnO.js} +4 -4
  188. package/dist/assets/{VerifyDevice-CFPLWsQ9-CqtmGFWn.js → VerifyDevice-Ds1Nxr5P-Blm9OKwi.js} +1 -1
  189. package/dist/assets/{VideoPlayer-C0Oxc4vz-Eo76fnas.js → VideoPlayer-Ba8AW1R7-i9G7JJm5.js} +2 -2
  190. package/dist/assets/VideoPopup-CXIa9PAJ-BZihnaAR.js +31 -0
  191. package/dist/assets/{WarningsDrawerPage-D1_kAgnS-wVv9eNUW.js → WarningsDrawerPage-h7qsrtcB-CE6gyvKk.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CvuREnNX-Daaz-pOC.js → ZeniAccountDetailPage-aNllmjZp-DFLxBj0c.js} +32 -32
  193. package/dist/assets/{ZeniAccountListViewPage-Cl0LGnEs-BnEYM2Fk.js → ZeniAccountListViewPage-DrKQ2DXb-CJJJ25qT.js} +8 -8
  194. package/dist/assets/ZeniAccountNavBarPieces-BTP0V662-nTGXbCtY.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CfqyTao--CSmJBLGG.js → ZeniAccountPromoPage-CPL4y-FS-Bjur8xmF.js} +13 -13
  196. package/dist/assets/{ZeniAccountSetupPage-DjhaRuBW-C5pmnKvn.js → ZeniAccountSetupPage-DvlPktUp-B-E9YzwR.js} +2 -2
  197. package/dist/assets/ZeniCopyright-D37-X5FF-Ak7n7OYz.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DFm-2Ivu-CQbjc7rM.js → ZeniTransferAmountSlider-CeTiIm-1-DS6r50pT.js} +4 -4
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BuLXwUxS.js → add-to-wallet-DgdBD8_G-D62DvooK.js} +1 -1
  200. package/dist/assets/{analytics-EOspDoDF.js → analytics-BFqwqBQR.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CkgaDWOW-BtJI0iQX.js → analyticsHelper-Cp5G9I3a-BIC4toJ-.js} +1 -1
  202. package/dist/assets/analyticsHelper-H7OiEB4T.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-7wUMcNgq.js → arrow-south-east-round-PEovUgvH-eGvQIcmx.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B7tSfwo7.js → auto-transfer-rule-mbafm5D3-CeHKVWmh.js} +1 -1
  205. package/dist/assets/{chartTypes-nF8PeaWk-DylRW2Nq.js → chartTypes-_pdOsLu--D8_z5gfz.js} +1 -1
  206. package/dist/assets/{commonDimensions-bWLlVfVq-DDxX-akL.js → commonDimensions-IxmmCJgv-CC5c3dON.js} +1 -1
  207. package/dist/assets/{commonTypes-BKD3o785-ClwG0TM4.js → commonTypes-uWTOHqLG-CINOYJ5U.js} +1 -1
  208. package/dist/assets/{constants-3kjNigIZ.js → constants-DMGg36fI.js} +1 -1
  209. package/dist/assets/{core-CslRcwFE.js → core-BFf3IFj6.js} +1 -1
  210. package/dist/assets/{dash.all.min-Dkp1U18T.js → dash.all.min-BxMd-9-a.js} +1 -1
  211. package/dist/assets/{detailCommon-l7_k1kQ_-CFeAwn6Q.js → detailCommon-1sO_byJf-CD-uyZzV.js} +4 -4
  212. package/dist/assets/downloadPdf-CjXuMwyY-Bk0Q_jtO.js +1 -0
  213. package/dist/assets/{empty-Du-vmzTn.js → empty-CTFehcxZ.js} +1 -1
  214. package/dist/assets/{empty-BhaTlh_E.js → empty-DQRlSI-P.js} +1 -1
  215. package/dist/assets/{epic-CZdj8-B-.js → epic-DvQ68MZ-.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Dv3d3rOw.js → gift-box-Cmt9OgIZ-CjL00gTh.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CLHrfBy6.js → graphic-no-data-l-DU4J8fDt-CeLdXVsI.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CMlLtriY.js → graphic-no-data-net-burn-l-CzmycA0m-CxW_HqWH.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-COd6iQaS.js → handshake-BPg58FML-DLoQUg7m.js} +1 -1
  220. package/dist/assets/{helper-qck89ZgJ-CZUGaHU3.js → helper-4lObJrt8-BUT-pULe.js} +3 -3
  221. package/dist/assets/{index-CwPcEaIJ.js → index-BuGq2Xwa.js} +1 -1
  222. package/dist/assets/{index-Dc5vYs7y.js → index-Cx7SEn1j.js} +1 -1
  223. package/dist/assets/{index-B7eWgQzZ.js → index-DGGt5RDJ.js} +4300 -4300
  224. package/dist/assets/{index-Cn_IOdHd.js → index-DdP-wJle.js} +1 -1
  225. package/dist/assets/{index-3P-FToEr.js → index-Dl4R1vcE.js} +1 -1
  226. package/dist/assets/{index-Dk4hNwSR.js → index-IoURZoOk.js} +1 -1
  227. package/dist/assets/{index-Dde-TLpy.js → index-NMwrUQfi.js} +1 -1
  228. package/dist/assets/{lexical-DEAOqFKR.js → lexical-BeXs36Y0.js} +1 -1
  229. package/dist/assets/{liveblocks-DyVXfa5b.js → liveblocks-Dda0tF-O.js} +1 -1
  230. package/dist/assets/{lottie-DR7Z1uj_.js → lottie-mwve--vc.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-hU4SXSz1-Celvdjmv.js → mapLoadingInProgressToTreeNode-CwSavpEU-Cl_FZFwU.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Mybge2KM-DnyF2DOT.js → mapSectionWithAcOnlyToTreeNode-DfN5c3SA-D4hGCNmF.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-D8gbhEl5-D4qIggfl.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DSlFj-Ph-Btw1CFJ1.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-Dj4jp8jG-B4t0Wux0.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DpTpTHX9-DdHAM1Kp.js +1 -0
  237. package/dist/assets/{mui-Ba0_ROTv.js → mui-BXc79n0P.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DcKx2ySJ.js → page-detail-CWX5S47F-j_J3TTSv.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-Cg3Z-QbC.js → panelSelectedMixin-Cddsb26L-D4G_zfkD.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CGqLZKGc.js → radio-default-CiSgisfh-BDH4uibz.js} +1 -1
  241. package/dist/assets/{react-CBKzjJ-k.js → react--w8eXOQH.js} +1 -1
  242. package/dist/assets/{react-Doh-xpgh.js → react-0aRrmHfg.js} +2 -2
  243. package/dist/assets/{react-BQMyjhDt.js → react-BkfBvvdQ.js} +1 -1
  244. package/dist/assets/{react-XEytoW-G.js → react-CQhG37C_.js} +1 -1
  245. package/dist/assets/{react-2aHb0_lL.js → react-CQvtbK9z.js} +1 -1
  246. package/dist/assets/{react-DqjXj4cD.js → react-CpogsNWB.js} +1 -1
  247. package/dist/assets/{react-DuH1J8DT.js → react-DNVJuix6.js} +1 -1
  248. package/dist/assets/{react-biMmKurS.js → react-x9AsEyp-.js} +1 -1
  249. package/dist/assets/{recharts-Dpk71F6G.js → recharts-vbuE4Jum.js} +1 -1
  250. package/dist/assets/{sentry-BUYEiWD8.js → sentry-C7LQiKF9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-C7zSLUUK.js → shield-DOlUxcFf-B-RZDoQM.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DuwOfE1o-DwSLIzEK.js +1 -0
  253. package/dist/assets/{toChartData-CMvkvks2-CeV5Sw8J.js → toChartData-Cqj00uWV-Bpiruaq9.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BCgskbSS.js → upload-reimbursement-receipt-O2N8vcO7-C4eeJM6-.js} +1 -1
  255. package/dist/assets/{uploadAttachment-XRvvKLjd-8kORPRMD.js → uploadAttachment-CpuXaDZF-Bu3r96Oj.js} +25 -25
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-B4zZrtGY.js → uploadReceipts-Dge0cNF1-BighYweo.js} +1 -1
  257. package/dist/assets/{url-4GiLad5k.js → url-CvO2wIrp.js} +1 -1
  258. package/dist/assets/{url-_mFxzRvZ.js → url-SWb9fmsI.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ--IIT5mp7.js → useLongPress-GCK2COYQ-BHUpmaFu.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-wx2xXzy4.js → usp-line-BBd1wKwW-BBQ-QruK.js} +1 -1
  261. package/dist/assets/{utils-van4hLXd.js → utils-CW6UW7VZ.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-DsDV18R1.js → zeni-epic-state-Cvu6NpVe.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/ACHDetailsPage-C0EF1bfJ-CF4B57fP.js +0 -21
  266. package/dist/assets/AccountInfoPage-1bkRMUmz-Cuxh0N0w.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-iHHAglx1-Db8qIiY0.js +0 -59
  268. package/dist/assets/AddAddressForCardDrawer-DQButqpE-4KIKQO78.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-DFMl8Pg4-C_Is_Pfz.js +0 -46
  270. package/dist/assets/BillDetailPage-Cv84AWBP-D-5X1cLh.js +0 -266
  271. package/dist/assets/BillPayPromoPage-BJNiSeAB-dddJyTrd.js +0 -84
  272. package/dist/assets/BillingSettingsPage-B5p8_TqZ-D-ll1i0A.js +0 -44
  273. package/dist/assets/BillsBulkReviewDrawerPage-CLUs3-Ci-DFJkbhvF.js +0 -1
  274. package/dist/assets/ConfettiBurst-BfLV2hbY-D9OCgSrI.js +0 -1
  275. package/dist/assets/CustomerOnboardingContainerPage-BR0RXw9o-YOK_yGHP.js +0 -1
  276. package/dist/assets/EditPeoplePage-CZUXKv1r-BxGbjp33.js +0 -55
  277. package/dist/assets/EntityDetailPage-ZAt7wUEc-CU2oKDLU.js +0 -18
  278. package/dist/assets/InternationalWireVerificationPage-BLvplUfw-KKAbBfix.js +0 -65
  279. package/dist/assets/InvitePeoplePage-Chxh0Lmw-BWF47a5q.js +0 -12
  280. package/dist/assets/LabeledAddressValueField-C5tlrpM8-CZs-qPnX.js +0 -45
  281. package/dist/assets/LabeledDocumentField-BowgfWLJ-Dfvs4pho.js +0 -41
  282. package/dist/assets/LabeledText-DglukuaI-CmIe9nSK.js +0 -42
  283. package/dist/assets/LinkJETransactionPage-Cnu97MMF-4_5-q4C9.js +0 -98
  284. package/dist/assets/LowBalancePopup-Drqtx1Yk-9ef3MPri.js +0 -34
  285. package/dist/assets/MagicLinkACHDetailsPage-B-H4pN-W-BJk44VGL.js +0 -1
  286. package/dist/assets/MagicLinkDomesticWireDetailsPage-DBhFe2sn-ByO14CoO.js +0 -1
  287. package/dist/assets/MagicLinkInternationalWireDetailsPage-De3w5uAd-DWgjVULc.js +0 -1
  288. package/dist/assets/MailingDetailsSection-CU0Ur-9k-CV18nP7Y.js +0 -21
  289. package/dist/assets/MyPendingActivationChargeCardListPage-8fIM-AgM-DG0F21hf.js +0 -6
  290. package/dist/assets/NotificationsPage-BL6QkhxJ-Bq__lIXi.js +0 -685
  291. package/dist/assets/ReimbursementApprovalRuleDetailPage-DeGZp7he-DwflEFkV.js +0 -32
  292. package/dist/assets/ReimbursementDetailPage-ChDG7NAL-BwV9bPZE.js +0 -314
  293. package/dist/assets/ReimbursementPromoPage-Dgx0IYTF-BfINKSQz.js +0 -84
  294. package/dist/assets/RoleWithToolTip-C8aesF3T-apurffxZ.js +0 -22
  295. package/dist/assets/SpendManagementListViewPage-DQ9FW-pv-8sW-YX2v.js +0 -134
  296. package/dist/assets/StatementItem-CfLQ3EiB-BhKoq1Lu.js +0 -31
  297. package/dist/assets/StatementsPage-DdVszHkC-UTOiPZ-s.js +0 -58
  298. package/dist/assets/TransactionActivityLogPage-C4Zf-YKV-CyrgE9Vm.js +0 -195
  299. package/dist/assets/TransactionListPage-CS_TY41O-BS7_HocG.js +0 -35
  300. package/dist/assets/TreasuryStatementsPage-DVN2bxrt-Csr4Fp1P.js +0 -58
  301. package/dist/assets/TreasuryTaxLetterPage-O5HN57r7-Crb8QwQ9.js +0 -58
  302. package/dist/assets/Vendor2FAPopup-CxJFovCF-BTqgr2_z.js +0 -1
  303. package/dist/assets/VendorACHDetailsPage-IvgUMfd9-Dm3RoaNk.js +0 -1
  304. package/dist/assets/VendorDomesticWireDetailsPage-BbLz5_FD--3MjmjN3.js +0 -1
  305. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CmeSQAri-TKMDFSzF.js +0 -1
  306. package/dist/assets/VideoPopup-BmdpW83j-DczpaZjD.js +0 -31
  307. package/dist/assets/ZeniAccountNavBarPieces-MEaXWOb7-DLC0tAjr.js +0 -14
  308. package/dist/assets/ZeniCopyright-nggh1t2z-BlAlTJNf.js +0 -1
  309. package/dist/assets/analyticsHelper-BQyqY8AC.js +0 -1
  310. package/dist/assets/downloadPdf-DaZCmoYn-D7YxsQSi.js +0 -1
  311. package/dist/assets/mapSpacerToTreeNode-DlewsTfs-Uz_UzZbZ.js +0 -1
  312. package/dist/assets/mapTimeframeBalancesToTreeNode-9dkd_G4A-xyFi9Xru.js +0 -1
  313. package/dist/assets/mapTimeframeBalancesToTreeNode-DE8rPH2X-BbYTtpG2.js +0 -1
  314. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BLkTfnct-DgmTQXuW.js +0 -1
  315. package/dist/assets/toCOABalancesWithID-BfQTo56G-BvXiHVaB.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as ft,F as oe,o as s,jA as qe,ck as Ie,co as Ct,gb as Tt,bb as $t,bQ as Je,aV as bt,cf as yt,J as le,aa as jt,x as Qe,cI as vt,ae as St,b5 as Gt,cw as Lt,iW as Nt,iX as It,jB as ze,aT as Et,r as Me,bV as Ee,eR as et,jC as Dt,d2 as tt,jD as pe,jE as xe,jF as we,jG as st,jH as Mt,jI as ot,jJ as nt,jK as at,jL as rt,jM as it,jN as V,u as ke,jO as re,ak as ie,jP as zt,jQ as Bt,a as At,ap as Rt,jR as Wt,dd as Ot,jS as Pt,cM as lt,et as Ft,w as Ht,jT as _t,jU as Vt,gc as Ut,gD as Kt,jV as Xt,jW as J,jX as Be,cy as Yt,jY as Zt,jZ as qt,j_ as Jt,j$ as Ae,p as Re,gA as Qt,ao as es}from"./index-B7eWgQzZ.js";import{a as n}from"./sentry-BUYEiWD8.js";import{n as o,c as fe}from"./mui-Ba0_ROTv.js";import{GZ as ts,G_ as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-DsDV18R1.js";import{J as os,t as ns}from"./SpendManagementSection-DSN3bvLE-BkMacKAC.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-BHt9OVz6-BKDTXb1o.js";import{a as ds}from"./SpendManagementListViewPage-DQ9FW-pv-8sW-YX2v.js";import"./liveblocks-DyVXfa5b.js";import"./core-CslRcwFE.js";import"./recharts-Dpk71F6G.js";import"./lottie-DR7Z1uj_.js";import"./analytics-EOspDoDF.js";import"./lexical-DEAOqFKR.js";import"./utils-van4hLXd.js";import"./StatusSwitcher-C35eTt_u-VQn5S24k.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]="343ef46b-911f-4a24-ad22-8dabbd574621",e._sentryDebugIdIdentifier="sentry-dbid-343ef46b-911f-4a24-ad22-8dabbd574621")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,b=Math.pow(G,u)*h;return Math.max(g,b)},k=(m,G,b)=>{const I=b==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,b=p;if(b<c&&b>0){const I=c-b,M=E(I);k(m,M,"up")}else if(b>G-c){const I=b-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
1
+ import{ay as kt,y as Ze,V as t,jB as K,bE as xt,ab as _,cs as wt,an as U,as as ft,b as oe,o as s,jC as Je,ck as Ie,co as Ct,gb as Tt,bb as $t,bQ as qe,aV as yt,cf as bt,J as le,aa as vt,x as Qe,cI as jt,ae as St,b5 as Gt,cw as Lt,iY as Nt,iZ as It,jD as Be,aT as Et,a as De,bV as Ee,eR as et,jE as Mt,d2 as tt,jF as pe,jG as xe,jH as we,jI as st,jJ as Dt,jK as ot,jL as nt,jM as at,jN as rt,jO as it,jP as V,u as ke,jQ as re,ak as ie,jR as Bt,jS as zt,d as At,ap as Rt,jT as Wt,dd as Ot,jU as Pt,cM as lt,et as Ft,w as Ht,jV as _t,jW as Vt,gc as Ut,gE as Kt,jX as Yt,jY as q,jZ as ze,cy as Xt,j_ as Zt,j$ as Jt,k0 as qt,k1 as Ae,p as Re,gB as Qt,ao as es}from"./index-DGGt5RDJ.js";import{a as n}from"./sentry-C7LQiKF9.js";import{n as o,c as fe}from"./mui-BXc79n0P.js";import{GZ as ts,G_ as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-Cvu6NpVe.js";import{J as os,t as ns}from"./SpendManagementSection-BhbK0q1x-DEzibqGa.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-lOoxcslt-BhnQjQWG.js";import{a as ds}from"./SpendManagementListViewPage-BQwyNWPt-CFFiSy1U.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.js";import"./StatusSwitcher-DPs1Vq5X-D6dENE_K.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]="2c94070a-da8a-4138-a569-2f6b7b62aaaf",e._sentryDebugIdIdentifier="sentry-dbid-2c94070a-da8a-4138-a569-2f6b7b62aaaf")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>v(m),E=m=>{const G=Math.max(m,0)/c,y=Math.pow(G,u)*h;return Math.max(g,y)},k=(m,G,y)=>{const I=y==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,y=p;if(y<c&&y>0){const I=c-y,D=E(I);k(m,D,"up")}else if(y>G-c){const I=y-(G-c),D=E(I);k(m,D,"down")}i=requestAnimationFrame(w)},B=m=>{N(m)?a=!0:(a=!1,T())},z=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},M=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",B),document.addEventListener("dragend",z),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",B),document.removeEventListener("dragend",z),document.removeEventListener("dragover",M),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -41,10 +41,10 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
41
41
  column-gap: ${s.sp1};
42
42
  `,Ts=o($t)`
43
43
  color: ${e=>e.theme.colors.primary};
44
- `,$s=o(Je)`
44
+ `,$s=o(qe)`
45
45
  width: ${s.sp3};
46
46
  height: ${s.sp3};
47
- `,bs=oe.getLocalizedStrings().taskManagement.taskList.footer;function ys({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:g,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),g(p.id)};return t.jsx(Pe,{onClick:i,children:t.jsx(ie,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Pe,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(ie,{children:bs.createGroup})]})})]})})}const js=o.div`
47
+ `,ys=oe.getLocalizedStrings().taskManagement.taskList.footer;function bs({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:g,onClose:u}){const a=()=>{u(),h()};return t.jsx(Je,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(vs,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),g(p.id)};return t.jsx(Pe,{onClick:i,children:t.jsx(ie,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Pe,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(ie,{children:ys.createGroup})]})})]})})}const vs=o.div`
48
48
  background-color: ${e=>e.theme.colors.grey5};
49
49
  `,Pe=o.div`
50
50
  padding: ${s.sp2} ${s.sp3};
@@ -57,12 +57,12 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
57
57
  color: ${e=>e.theme.colors.primary};
58
58
  background-color: ${e=>e.theme.colors.background};
59
59
  }
60
- `,vs=o.div`
60
+ `,js=o.div`
61
61
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
62
62
  `,Ss=o(tt)`
63
63
  width: ${s.sp3};
64
64
  height: ${s.sp3};
65
- `;function Gs({placeholder:e,searchText:d,inputContainerStyles:r,onSearchTextChanged:h}){const[g,u]=n.useState(!1),a=n.useRef(null),p=le(),i=()=>{d||u(!1)};return t.jsxs(Ls,{children:[g?null:t.jsx(Is,{onMouseEnter:()=>u(!0),onClick:()=>{u(!0),a.current?.focus()},children:t.jsx(Fe,{})}),g?t.jsxs(Ns,{style:r,isOpen:g,children:[t.jsx(Fe,{}),t.jsx(Es,{windowSize:p,autoFocus:p!=="small",placeholder:e,value:d,onBlur:i,onChange:c=>{const T=c.target;h(T.value)},ref:a}),d?t.jsx(Ds,{}):null]}):null]})}const Ls=o.div`
65
+ `;function Gs({placeholder:e,searchText:d,inputContainerStyles:r,onSearchTextChanged:h}){const[g,u]=n.useState(!1),a=n.useRef(null),p=le(),i=()=>{d||u(!1)};return t.jsxs(Ls,{children:[g?null:t.jsx(Is,{onMouseEnter:()=>u(!0),onClick:()=>{u(!0),a.current?.focus()},children:t.jsx(Fe,{})}),g?t.jsxs(Ns,{style:r,isOpen:g,children:[t.jsx(Fe,{}),t.jsx(Es,{windowSize:p,autoFocus:p!=="small",placeholder:e,value:d,onBlur:i,onChange:c=>{const T=c.target;h(T.value)},ref:a}),d?t.jsx(Ms,{}):null]}):null]})}const Ls=o.div`
66
66
  position: relative;
67
67
  `,Ns=o.div`
68
68
  position: absolute;
@@ -74,7 +74,7 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
74
74
  border-bottom: 1px solid ${e=>e.theme.colors.primary};
75
75
  min-width: ${({isOpen:e})=>e?"200px":"0px"};
76
76
  transition: min-width 0.3s ease-in-out;
77
- `,Fe=o(zt)`
77
+ `,Fe=o(Bt)`
78
78
  color: ${e=>e.theme.colors.hero};
79
79
  width: ${s.sp3};
80
80
  height: ${s.sp3};
@@ -83,7 +83,7 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
83
83
  }
84
84
  `,Is=o.div`
85
85
  cursor: pointer;
86
- `,Es=o(Bt)`
86
+ `,Es=o(zt)`
87
87
  display: flex;
88
88
  border-width: ${s.sp0};
89
89
  outline-width: ${s.sp0};
@@ -94,10 +94,10 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
94
94
  ::placeholder {
95
95
  color: ${e=>e.theme.colors.grey1};
96
96
  }
97
- `,Ds=o(At)`
97
+ `,Ms=o(At)`
98
98
  width: ${s.sp3};
99
99
  height: ${s.sp3};
100
- `,Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),zs=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),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:As,common:Rs}=oe.getLocalizedStrings(),Q=As.taskList.newTaskOptions;function Ws({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:g,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:T,handleGroupTemplateTaskClick:j,onNewTaskInitialization:N}){const E=Ze(),[k,C]=n.useState(null),[w,z]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(z(null),C(null),p())},[h.fetchState,p]);const B=n.useCallback((D,m)=>{C(m),j(D,m)},[j]),A=n.useCallback(D=>{z(D),T(D)},[T]);return t.jsx(qe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${E.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ps,{isTaskTemplatesEnabled:g,children:[t.jsxs(_s,{children:[t.jsxs(He,{onClick:i,children:[t.jsx(Fs,{}),t.jsx(Ie,{children:Q.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(He,{onClick:()=>c(""),children:[t.jsx(Hs,{}),t.jsx(Ie,{children:Q.group})]})})]}),g?t.jsx(Os,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:A,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Os=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:g,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,T]=n.useState(""),j=n.useMemo(()=>{const k=[];return e.forEach(C=>{if(C.name.toLowerCase().includes(c.toLowerCase()))k.push(C);else{const w=C.tasks.filter(z=>z.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...C,tasks:w})}}),k},[e,c]),N=n.useCallback(()=>{i(c)},[c,i]),E=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Vs,{children:[t.jsx(Us,{children:t.jsxs(Xs,{children:[t.jsxs(Ks,{children:[t.jsx(Ys,{}),t.jsx(Zs,{children:Q.groupTemplates})]}),t.jsx(Gs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:T,placeholder:Q.searchPlaceholder})]})}),t.jsx(_,{controller:j.length>0,children:t.jsx(qs,{children:j.map(k=>{const C=h===k.id;return t.jsxs(ro,{children:[t.jsxs(Js,{onClick:()=>{g(k.id)},expanded:C,children:[t.jsxs(Qs,{children:[t.jsx(_,{controller:C,children:t.jsx(ao,{})}),t.jsx(_,{controller:!C,children:t.jsx(no,{})}),t.jsx(U,{children:k.name}),t.jsx(pt,{count:k.tasks.length})]}),t.jsx(so,{expanded:C,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:Q.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),g(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(_,{controller:C,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{className:"styled-dot"}),t.jsx(po,{className:"task-name-text",children:w.name})]}),t.jsx(oo,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Rs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(_,{controller:j.length===0,children:[t.jsx(lo,{children:t.jsx(co,{children:Q.noTaskGroup})}),t.jsxs(_e,{onClick:N,children:[t.jsx(Ve,{}),t.jsx(U,{children:Q.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(_e,{onClick:E,children:[t.jsx(Ve,{}),t.jsx(U,{children:Q.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ps=o.div`
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"})),Bs=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"})),zs=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:As,common:Rs}=oe.getLocalizedStrings(),Q=As.taskList.newTaskOptions;function Ws({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:g,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:T,handleGroupTemplateTaskClick:v,onNewTaskInitialization:N}){const E=Ze(),[k,C]=n.useState(null),[w,B]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(B(null),C(null),p())},[h.fetchState,p]);const z=n.useCallback((M,m)=>{C(m),v(M,m)},[v]),A=n.useCallback(M=>{B(M),T(M)},[T]);return t.jsx(Je,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${E.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ps,{isTaskTemplatesEnabled:g,children:[t.jsxs(_s,{children:[t.jsxs(He,{onClick:i,children:[t.jsx(Fs,{}),t.jsx(Ie,{children:Q.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(He,{onClick:()=>c(""),children:[t.jsx(Hs,{}),t.jsx(Ie,{children:Q.group})]})})]}),g?t.jsx(Os,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:A,handleGroupTemplateTaskClick:z,onNewGroupClick:c,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Os=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:g,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,T]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(C=>{if(C.name.toLowerCase().includes(c.toLowerCase()))k.push(C);else{const w=C.tasks.filter(B=>B.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...C,tasks:w})}}),k},[e,c]),N=n.useCallback(()=>{i(c)},[c,i]),E=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Vs,{children:[t.jsx(Us,{children:t.jsxs(Ys,{children:[t.jsxs(Ks,{children:[t.jsx(Xs,{}),t.jsx(Zs,{children:Q.groupTemplates})]}),t.jsx(Gs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:T,placeholder:Q.searchPlaceholder})]})}),t.jsx(_,{controller:v.length>0,children:t.jsx(Js,{children:v.map(k=>{const C=h===k.id;return t.jsxs(ro,{children:[t.jsxs(qs,{onClick:()=>{g(k.id)},expanded:C,children:[t.jsxs(Qs,{children:[t.jsx(_,{controller:C,children:t.jsx(ao,{})}),t.jsx(_,{controller:!C,children:t.jsx(no,{})}),t.jsx(U,{children:k.name}),t.jsx(pt,{count:k.tasks.length})]}),t.jsx(so,{expanded:C,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:Q.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),g(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(_,{controller:C,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{className:"styled-dot"}),t.jsx(po,{className:"task-name-text",children:w.name})]}),t.jsx(oo,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Rs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(_,{controller:v.length===0,children:[t.jsx(lo,{children:t.jsx(co,{children:Q.noTaskGroup})}),t.jsxs(_e,{onClick:N,children:[t.jsx(Ve,{}),t.jsx(U,{children:Q.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(_e,{onClick:E,children:[t.jsx(Ve,{}),t.jsx(U,{children:Q.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ps=o.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
@@ -113,10 +113,10 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
113
113
  color: ${e=>e.theme.colors.primary};
114
114
  background-color: ${e=>e.theme.colors.background};
115
115
  }
116
- `,Fs=o(Bs)`
116
+ `,Fs=o(zs)`
117
117
  width: ${s.sp3};
118
118
  height: ${s.sp3};
119
- `,Hs=o(zs)`
119
+ `,Hs=o(Bs)`
120
120
  width: ${s.sp3};
121
121
  height: ${s.sp3};
122
122
  `,_s=o.div`
@@ -136,21 +136,21 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
136
136
  column-gap: ${s.sp2};
137
137
  align-items: center;
138
138
  justify-content: space-between;
139
- `,Xs=o.div`
139
+ `,Ys=o.div`
140
140
  display: flex;
141
141
  align-items: center;
142
142
  justify-content: space-between;
143
143
  width: 100%;
144
- `,Ys=o(Ms)`
144
+ `,Xs=o(Ds)`
145
145
  width: ${s.sp3};
146
146
  height: ${s.sp3};
147
147
  color: ${e=>e.theme.colors.primary};
148
148
  `,Zs=o(Ie)`
149
149
  color: ${e=>e.theme.colors.primary};
150
- `,qs=o.div`
150
+ `,Js=o.div`
151
151
  max-height: 320px;
152
152
  overflow: auto;
153
- `,Js=o.div`
153
+ `,qs=o.div`
154
154
  display: flex;
155
155
  justify-content: space-between;
156
156
  align-items: center;
@@ -201,11 +201,11 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
201
201
  background-color: ${e=>e.theme.colors.primary};
202
202
  }
203
203
  }
204
- `,so=o(Me)`
204
+ `,so=o(De)`
205
205
  display: ${e=>e.expanded===!0?"block":"none"};
206
- `,oo=o(Me)`
206
+ `,oo=o(De)`
207
207
  display: none;
208
- `,no=o(Dt)`
208
+ `,no=o(Mt)`
209
209
  width: ${s.sp3};
210
210
  height: ${s.sp3};
211
211
  `,ao=o(et)`
@@ -243,7 +243,7 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
243
243
  text-overflow: ellipsis;
244
244
  white-space: nowrap;
245
245
  max-width: 336px;
246
- `,{common:Le,dateFormat:uo,taskManagement:De}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:j,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?j(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Yt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(qt,{name:Ae(r,e.id,we),placeholder:De.common.timeSpentPlaceholder,timeSpentFormat:De.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>Jt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:j,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[z,B]=n.useState(null),A=le(),{setFocus:D}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{B(f.currentTarget)},[]),b=n.useCallback(()=>{B(null)},[]),I=n.useCallback(()=>{j(e.id)},[j,e.id]),M=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),x=n.useCallback(()=>{D(`${r}.groupName`),b()},[b,r,D]);return t.jsxs(go,{windowSize:A,children:[t.jsx(_,{controller:h,children:t.jsxs(Co,{children:[t.jsxs(To,{children:[t.jsx($o,{isOpen:a===!1,onClick:m,children:t.jsx(bo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:De.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:f=>_t(f,e.id,p)===!1},isDisabled:g&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(yo,{onClick:G,children:t.jsx(jo,{})}),t.jsx(Vt,{onClose:b,onAddTask:I,onCollapseAll:T,onDelete:M,onExpandAll:c,onRename:x,isDefault:e.isDefault,anchorEl:z})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(f=>{const Y=()=>{E(f.id)};return{label:t.jsx(ho,{taskDetail:f,onRowClick:Y,tagList:d,onTimeSpentUpdate:C,onShowToast:w,sectionId:r}),prefix:A==="small"?null:t.jsx(vo,{children:t.jsx(So,{})}),value:f.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})})]})},go=o.div`
246
+ `,{common:Le,dateFormat:uo,taskManagement:Me}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:v,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?v(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:q[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Mo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:q[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:q[1].width,children:ze(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:q[2].width,children:ze(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:q[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:q[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Xt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Bo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:q[5].width,children:e.tagIds.length>0?t.jsx(zo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:q[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(Jt,{name:Ae(r,e.id,we),placeholder:Me.common.timeSpentPlaceholder,timeSpentFormat:Me.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>qt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[B,z]=n.useState(null),A=le(),{setFocus:M}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{z(f.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),I=n.useCallback(()=>{v(e.id)},[v,e.id]),D=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),x=n.useCallback(()=>{M(`${r}.groupName`),y()},[y,r,M]);return t.jsxs(go,{windowSize:A,children:[t.jsx(_,{controller:h,children:t.jsxs(Co,{children:[t.jsxs(To,{children:[t.jsx($o,{isOpen:a===!1,onClick:m,children:t.jsx(yo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Me.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:f=>_t(f,e.id,p)===!1},isDisabled:g&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(bo,{onClick:G,children:t.jsx(vo,{})}),t.jsx(Vt,{onClose:y,onAddTask:I,onCollapseAll:T,onDelete:D,onExpandAll:c,onRename:x,isDefault:e.isDefault,anchorEl:B})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(f=>{const X=()=>{E(f.id)};return{label:t.jsx(ho,{taskDetail:f,onRowClick:X,tagList:d,onTimeSpentUpdate:C,onShowToast:w,sectionId:r}),prefix:A==="small"?null:t.jsx(jo,{children:t.jsx(So,{})}),value:f.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})})]})},go=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -305,19 +305,19 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
305
305
  `,$o=o.div`
306
306
  cursor: pointer;
307
307
  transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
308
- `,bo=o(et)`
308
+ `,yo=o(et)`
309
309
  width: ${s.sp3};
310
310
  height: ${s.sp3};
311
311
  color: ${e=>e.theme.colors.primary};
312
- `,yo=o.div`
312
+ `,bo=o.div`
313
313
  cursor: pointer;
314
- `,jo=o(Kt)`
314
+ `,vo=o(Kt)`
315
315
  width: ${s.sp3};
316
316
  height: ${s.sp3};
317
- `,vo=o.div`
317
+ `,jo=o.div`
318
318
  padding-left: ${s.sp3};
319
319
  cursor: grab;
320
- `,So=o(Xt)`
320
+ `,So=o(Yt)`
321
321
  width: ${s.sp3};
322
322
  height: ${s.sp3};
323
323
  `,Go=o.div`
@@ -351,26 +351,26 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
351
351
  white-space: nowrap;
352
352
  overflow: hidden;
353
353
  text-overflow: ellipsis;
354
- `,Do=o(Qt)`
354
+ `,Mo=o(Qt)`
355
355
  display: flex;
356
356
  align-items: center;
357
357
  margin-left: ${s.sp1};
358
358
  color: ${e=>e.theme.colors.hero};
359
359
  margin-top: ${s.sp1};
360
- `,Mo=o.div`
360
+ `,Do=o.div`
361
361
  margin-right: ${s.sp1};
362
362
  margin-left: ${s.sp1};
363
363
  overflow: hidden;
364
364
  display: flex;
365
365
  flex-direction: row;
366
366
  column-gap: ${s.sp2};
367
- `,zo=o(ie)`
367
+ `,Bo=o(ie)`
368
368
  color: ${e=>e.theme.colors.hero};
369
369
  text-overflow: ellipsis;
370
370
  overflow: hidden;
371
371
  max-width: ${s.sp8};
372
372
  white-space: nowrap;
373
- `,Bo=o.div`
373
+ `,zo=o.div`
374
374
  display: flex;
375
375
  flex-direction: row;
376
376
  align-items: center;
@@ -430,7 +430,7 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
430
430
  column-gap: ${s.sp2};
431
431
  `,Fo=o.div`
432
432
  max-width: ${s.sp11};
433
- `,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Xe},taskManagement:Ne}=oe.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:j,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:z,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:A,onTaskGroupRename:D,analytics:m,onTimeSpentUpdate:G,onShowToast:b,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[Y,X]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:be}=e,{tagList:ye}=d,je=Ze(),ve=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),v=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:ve,onSearchTextChanged:j,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),y=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&X(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(qo,{children:[t.jsx(Jo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&be.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Vo,{taskListView:e,tagList:ye,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:z,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:X,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:D,onTimeSpentUpdate:G,onShowToast:b,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,onNewTaskInitialization:v,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Yo,{children:ht()}),t.jsx(_,{controller:Y===!0,children:t.jsx(wt,{action:{onOkClick:y,onCancelClick:()=>{X(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(U,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Vo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:j,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D})=>{const m=n.useRef(null);yt({componentName:"task.management.list"});const[G,b]=n.useState(null),I=n.useRef({}),M=le(),{localData:x,taskGroupsWithTasksList:f,uiState:Y}=e,[X,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:M!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],v=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return v.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),v},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>X.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(M):(as*1+rs)*3+is+ls,[X,Z,M]),Ce=n.useCallback(l=>{b(l.currentTarget)},[]),de=n.useCallback((l,v)=>{I.current={...I.current,[l]:v},m.current?.resetAfterIndex(0,!0)},[M,m,f]),he=n.useCallback(l=>{ee(v=>v.includes(l)?v.filter(O=>l!==O):[...v,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{b(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?q():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,q,c,g]),be=n.useCallback(()=>{u(null),T()},[T,u]),ye=n.useCallback(l=>{T(),u(l)},[T,u]),je=n.useCallback(()=>{x.defaultTaskGroupId!=null&&j(x.defaultTaskGroupId)},[j,x.defaultTaskGroupId]),ve=async(l,v)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[V][re][S].priority.selectedOption;if(L!=null&&R!=null){const y=dt.find($=>$.code===R);y!=null&&h(L,{priority:y})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[V][re][S].status.selectedOption;if(L!=null&&R!=null){const y=ct.find($=>$.code===R);L!=null&&y!=null&&h(L,{status:y})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[V][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&y!=null&&L!=null&&h(L,{assignees:y});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[V][re][S].dueDate.date;R!=null&&y!=null&&L!=null&&h(L,{dueDate:y});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[V][re][S].tags.selectedOptions;R!=null&&y!=null&&L!=null&&h(L,{tagIds:y});return}l.includes(we)&&ne.trigger(l);const O=Xo(l,v,x);p(O)};n.useEffect(()=>{const l=ne.watch((v,{name:O})=>{O!=null&&v!=null&&vt(()=>ve(O,v))});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 me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:M,children:t.jsx(Gt,{children:({height:l,width:v})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:v,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:Y,collapsedGroups:X,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D},initialScrollOffset:0,children:Uo})})})})}),ge?t.jsx(Et,{formId:Ke(ze),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:be},helperContainerStyle:M==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:je})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(ys,{taskGroupsList:f,anchorEl:G,groupByKey:Y.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:j,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,handleOnDragNDrop:B,onRenameClick:A,userList:D,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");B(F,a[e].id)},[B,e,a]),Y=n.useCallback(P=>{P.preventDefault()},[]),X=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:Y,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,selectedRowIds:m,userList:D,existingTaskGroupNamesByGroupId:G,onDragStart:X,onRenameClick:ee,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:j,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,onDragStart:B,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const b=le(),I=b==="medium-regular"||b==="medium-compact"||b==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})},Ye=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Mt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[V]:a}},Xo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[V].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[V][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Yo=o.div`
433
+ `,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Ye},taskManagement:Ne}=oe.getLocalizedStrings(),vn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:v,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:B,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:A,onTaskGroupRename:M,analytics:m,onTimeSpentUpdate:G,onShowToast:y,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:D,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[X,Y]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:J,filters:$e,userList:ce,taskGroupsWithTasksList:ye}=e,{tagList:be}=d,ve=Ze(),je=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),j=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:J.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:je,onSearchTextChanged:v,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:J.groupByKey,resetDisabled:J.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&Y(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(Jo,{children:[t.jsx(qo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&ye.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Vo,{taskListView:e,tagList:be,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:B,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:Y,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:M,onTimeSpentUpdate:G,onShowToast:y,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ve.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:J.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:D,onNewTaskInitialization:j,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Xo,{children:ht()}),t.jsx(_,{controller:X===!0,children:t.jsx(wt,{action:{onOkClick:b,onCancelClick:()=>{Y(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(U,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Vo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:B,onShowToast:z,onCreateTagClick:A,onTaskGroupNameClick:M})=>{const m=n.useRef(null);bt({componentName:"task.management.list"});const[G,y]=n.useState(null),I=n.useRef({}),D=le(),{localData:x,taskGroupsWithTasksList:f,uiState:X}=e,[Y,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:D!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=vt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Xe(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Xe(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],j=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return j.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),j},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>Y.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(D):(as*1+rs)*3+is+ls,[Y,Z,D]),Ce=n.useCallback(l=>{y(l.currentTarget)},[]),de=n.useCallback((l,j)=>{I.current={...I.current,[l]:j},m.current?.resetAfterIndex(0,!0)},[D,m,f]),he=n.useCallback(l=>{ee(j=>j.includes(l)?j.filter(O=>l!==O):[...j,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{y(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),J=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?J():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,J,c,g]),ye=n.useCallback(()=>{u(null),T()},[T,u]),be=n.useCallback(l=>{T(),u(l)},[T,u]),ve=n.useCallback(()=>{x.defaultTaskGroupId!=null&&v(x.defaultTaskGroupId)},[v,x.defaultTaskGroupId]),je=async(l,j)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=j[V][re][S].priority.selectedOption;if(L!=null&&R!=null){const b=dt.find($=>$.code===R);b!=null&&h(L,{priority:b})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=j[V][re][S].status.selectedOption;if(L!=null&&R!=null){const b=ct.find($=>$.code===R);L!=null&&b!=null&&h(L,{status:b})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=j[V][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&b!=null&&L!=null&&h(L,{assignees:b});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=j[V][re][S].dueDate.date;R!=null&&b!=null&&L!=null&&h(L,{dueDate:b});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=j[V][re][S].tags.selectedOptions;R!=null&&b!=null&&L!=null&&h(L,{tagIds:b});return}l.includes(we)&&ne.trigger(l);const O=Yo(l,j,x);p(O)};n.useEffect(()=>{const l=ne.watch((j,{name:O})=>{O!=null&&j!=null&&jt(()=>je(O,j))});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 me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(Be),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:D,children:t.jsx(Gt,{children:({height:l,width:j})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:j,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:X,collapsedGroups:Y,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:B,onShowToast:z,onCreateTagClick:A,onTaskGroupNameClick:M},initialScrollOffset:0,children:Uo})})})})}),ge?t.jsx(Et,{formId:Ke(Be),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Ye.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ye.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:D==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:D!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:D!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:ve})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(bs,{taskGroupsList:f,anchorEl:G,groupByKey:X.groupByKey,onCreateNewGroup:J,onExistingGroupSelection:l=>{ae(),v(l)},onClose:ae})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:v,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:B,handleOnDragNDrop:z,onRenameClick:A,userList:M,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:D,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");z(F,a[e].id)},[z,e,a]),X=n.useCallback(P=>{P.preventDefault()},[]),Y=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:X,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:v,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:B,onExpandAll:C,selectedRowIds:m,userList:M,existingTaskGroupNamesByGroupId:G,onDragStart:Y,onRenameClick:ee,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:D,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:B,onDragStart:z,onTimeSpentUpdate:A,onShowToast:M,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const y=le(),I=y==="medium-regular"||y==="medium-compact"||y==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:B,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:E,onDragStart:z,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:M,onCreateTagClick:m,onTaskGroupNameClick:G})},Xe=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Dt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[V]:a}},Yo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[V].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[V][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Xo=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
436
  `,Zo=o.div`
@@ -441,14 +441,14 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
441
441
  row-gap: ${s.sp4};
442
442
  background-color: ${e=>e.theme.colors.grey4};
443
443
  overflow: hidden;
444
- `,qo=o.div`
444
+ `,Jo=o.div`
445
445
  display: flex;
446
446
  width: 100%;
447
447
  height: calc(100% - 60px);
448
448
  flex-direction: column;
449
449
  justify-content: center;
450
450
  align-items: center;
451
- `,Jo=o.div`
451
+ `,qo=o.div`
452
452
  height: 96px;
453
453
  width: 96px;
454
454
  display: flex;
@@ -457,14 +457,14 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
457
457
  background: ${e=>e.theme.colors.background};
458
458
  border-radius: 50%;
459
459
  cursor: pointer;
460
- `,Qo=o(Je)`
460
+ `,Qo=o(qe)`
461
461
  height: ${s.sp5};
462
462
  width: ${s.sp5};
463
463
  color: ${e=>e.theme.colors.grey1};
464
464
  &:hover {
465
465
  color: ${e=>e.theme.colors.primary};
466
466
  }
467
- `,en=o(bt)`
467
+ `,en=o(yt)`
468
468
  margin-top: ${s.sp3};
469
469
  color: ${e=>e.theme.colors.hero};
470
470
  `,tn=o.div`
@@ -505,4 +505,4 @@ import{ay as kt,y as Ze,V as t,jz as K,bE as xt,ab as _,cs as wt,an as U,as as f
505
505
  align-items: center;
506
506
  justify-content: flex-end;
507
507
  padding-right: ${s.sp6};
508
- `;export{jn as default,Ke as uniqueFormName};
508
+ `;export{vn as default,Ke as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as B,aG as S,dn as V,bt as H,o as a,ak as L}from"./index-B7eWgQzZ.js";import{a as n}from"./sentry-BUYEiWD8.js";import{n as g}from"./mui-Ba0_ROTv.js";import{Y as q}from"./core-CslRcwFE.js";import{O as G}from"./CollapsableReportTable-CRZijlLw-DrP1MH6t.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]="c87d8578-c0ae-4c39-bb0c-ee06623334b7",e._sentryDebugIdIdentifier="sentry-dbid-c87d8578-c0ae-4c39-bb0c-ee06623334b7")}catch{}})();const U=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"})),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:"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,X=g.div`
1
+ import{V as t,b5 as B,aG as S,dn as V,bt as H,o as d,ak as L}from"./index-DGGt5RDJ.js";import{a as n}from"./sentry-C7LQiKF9.js";import{n as g}from"./mui-BXc79n0P.js";import{Y as q}from"./core-BFf3IFj6.js";import{O as G}from"./CollapsableReportTable-DQitA-HH-D-ytul6z.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]="50a4f149-e193-4e20-9df4-78dab3b2855e",e._sentryDebugIdIdentifier="sentry-dbid-50a4f149-e193-4e20-9df4-78dab3b2855e")}catch{}})();const U=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"})),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:"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,X=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,b5 as B,aG as S,dn as V,bt as H,o as a,ak as L}from"./index-B7eWgQ
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${d.sp0};
29
+ left: ${d.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,b5 as B,aG as S,dn as V,bt as H,o as a,ak as L}from"./index-B7eWgQ
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${d.sp2};
38
+ border-left: ${d.sp0};
39
+ border-right: ${d.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${d.sp2};
43
+ border-left: ${d.sp0};
44
+ border-right: ${d.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${d.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,b5 as B,aG as S,dn as V,bt as H,o as a,ak as L}from"./index-B7eWgQ
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(U,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(W,{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:l,tick:r,tickIndex:u,isSelected:c,onClick:f}){return t.jsx(Z,{isEnabled:e,isSelected:c,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:G(s,r,l)})})}function ne(e,s,l,r,u){const c=s-e,f=Math.floor(e/h)+Math.round(c/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:c,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(c.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,O]=n.useState(c.highlightedOfSelectedTicks),C=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[k,F]=n.useState({x:C,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(c.selectedTicks,r);if(!S(i,o)){T(o);const d=o.startIndex*h;F({x:d,y:0})}S(y,c.highlightedOfSelectedTicks)||O(c.highlightedOfSelectedTicks)},[i,y,c,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=i;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,i]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},D=(o,d)=>{const m=ne(k.x,d.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},R=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:Y}=y,_=o>=v&&o<v+Y;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:_,onClick:P},o)})},E=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(A,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:R}),z===!0&&E!=null?t.jsx(te,{parentNode:E,children:t.jsx(V,{axis:"x",defaultPosition:{x:0,y:0},position:k,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.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(X,{children:t.jsx(B,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(U,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(W,{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:l,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(Z,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:G(s,r,l)})})}function ne(e,s,l,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,O]=n.useState(a.highlightedOfSelectedTicks),C=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[k,F]=n.useState({x:C,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(i,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||O(a.highlightedOfSelectedTicks)},[i,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=i;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,i]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(k.x,c.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},R=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:Y}=y,_=o>=v&&o<v+Y;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:_,onClick:P},o)})},E=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(A,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:R}),z===!0&&E!=null?t.jsx(te,{parentNode:E,children:t.jsx(V,{axis:"x",defaultPosition:{x:0,y:0},position:k,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.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(X,{children:t.jsx(B,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as r,o as t,ak as p,F as u}from"./index-B7eWgQzZ.js";import{n}from"./mui-Ba0_ROTv.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]="bd9c4400-a10d-4995-b1f6-85d1ab7125a2",e._sentryDebugIdIdentifier="sentry-dbid-bd9c4400-a10d-4995-b1f6-85d1ab7125a2")}catch{}})();const g=n.div`
1
+ import{V as r,o as t,ak as p,b as u}from"./index-DGGt5RDJ.js";import{n as d}from"./mui-BXc79n0P.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]="0afee43a-e9d7-49ba-8b48-4209251f2444",e._sentryDebugIdIdentifier="sentry-dbid-0afee43a-e9d7-49ba-8b48-4209251f2444")}catch{}})();const g=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -9,7 +9,7 @@ import{V as r,o as t,ak as p,F as u}from"./index-B7eWgQzZ.js";import{n}from"./mu
9
9
  overflow-x: auto;
10
10
  overflow-y: hidden;
11
11
  white-space: nowrap;
12
- `,b=n.div`
12
+ `,b=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 r,o as t,ak as p,F as u}from"./index-B7eWgQzZ.js";import{n}from"./mu
18
18
  border-radius: ${t.sp2};
19
19
  background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
20
20
  box-shadow: ${e=>e.isSelected?`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`:null};
21
- `,_=n(p)`
21
+ `,_=d(p)`
22
22
  padding: ${t.sp2} ${t.sp3} ${t.sp2} ${t.sp3};
23
- `,w=n.div`
23
+ `,w=d.div`
24
24
  width: 1px;
25
25
  height: ${t.sp3};
26
26
  background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
27
- `,y=n.div`
27
+ `,y=d.div`
28
28
  display: flex;
29
29
  flex-direction: row;
30
30
  align-items: center;
31
- `;function x({timeframe:e,isSelected:o,onClick:i}){const s=c=>{switch(c){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 u.getLocalizedStrings().timeframeSwitcherLabels[c];default:return console.warn("Unsupported timeframe"),""}};return r.jsx(b,{onClick:()=>{o===!1&&i(e)},isSelected:o,children:r.jsx(_,{children:s(e)})})}function k({containerDataTestId:e,onTimeframeSelectionChanged:o,selectedTimeframe:i,timeframes:s}){const c=a=>{o?.(a)},l=s.findIndex(a=>a===i);return r.jsx(g,{"data-testid":e,children:s.map((a,d)=>{const m=s.length>1&&d<s.length-1,h=d===l,f=d===l-1;return r.jsxs(y,{children:[r.jsx(x,{timeframe:a,isSelected:h,onClick:c},d),m?r.jsx(w,{isSelected:h||f}):null]},d)})})}export{k as j};
31
+ `;function x({timeframe:e,isSelected:s,onClick:i}){const o=c=>{switch(c){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 u.getLocalizedStrings().timeframeSwitcherLabels[c];default:return console.warn("Unsupported timeframe"),""}};return r.jsx(b,{onClick:()=>{s===!1&&i(e)},isSelected:s,children:r.jsx(_,{children:o(e)})})}function k({containerDataTestId:e,onTimeframeSelectionChanged:s,selectedTimeframe:i,timeframes:o}){const c=a=>{s?.(a)},l=o.findIndex(a=>a===i);return r.jsx(g,{"data-testid":e,children:o.map((a,n)=>{const m=o.length>1&&n<o.length-1,h=n===l,f=n===l-1;return r.jsxs(y,{children:[r.jsx(x,{timeframe:a,isSelected:h,onClick:c},n),m?r.jsx(w,{isSelected:h||f}):null]},n)})})}export{k as j};
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,x as n,ak as u,bL as w}from"./index-B7eWgQzZ.js";import{n as a}from"./mui-Ba0_ROTv.js";import{j as l}from"./TimeframeSwitcher-CnIziozQ-1cQ19qL3.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]="1c7caa0c-5298-4fe9-b94c-d6280b04847f",e._sentryDebugIdIdentifier="sentry-dbid-1c7caa0c-5298-4fe9-b94c-d6280b04847f")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=a(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.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>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.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"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=a.div`
1
+ import{J as d,V as i,x as n,ak as u,bL as w}from"./index-DGGt5RDJ.js";import{n as a}from"./mui-BXc79n0P.js";import{j as l}from"./TimeframeSwitcher-CFrCNOFC-CCLnJVYT.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]="572ef4cf-2cdc-438c-a224-4a3abed01758",e._sentryDebugIdIdentifier="sentry-dbid-572ef4cf-2cdc-438c-a224-4a3abed01758")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=a(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.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>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.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"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aG as z,J as M,V as t,y as x,u as f,w as T,a_ as H,aQ as R,aO as G,o as p,ak as C,bb as Q,an as X,F as S,aP as F,aU as E,b4 as q,b5 as Y,ac as J,aV as N,bT as U}from"./index-B7eWgQzZ.js";import{P as w,a as W}from"./sentry-BUYEiWD8.js";import{FQ as Z}from"./zeni-epic-state-DsDV18R1.js";import{n as g}from"./mui-Ba0_ROTv.js";import{I as ee,T as te}from"./ReloadCard-DCA58Z6d-lxJyT6Aq.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CLHrfBy6.js";import{H as k,X as $,Y as K,K as L,O,Q as ne,S as oe}from"./recharts-Dpk71F6G.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]="f39aed37-0659-4783-9388-d1bbb866bd89",e._sentryDebugIdIdentifier="sentry-dbid-f39aed37-0659-4783-9388-d1bbb866bd89")}catch{}})();const ie=g(E)`
1
+ import{aG as z,J as M,V as t,y as x,u as f,w as T,a_ as X,aQ as H,aO as R,o as p,ak as C,bb as G,an as Q,b as S,aP as F,aU as E,b4 as N,b5 as Y,ac as q,aV as J,bT as U}from"./index-DGGt5RDJ.js";import{P as w,a as W}from"./sentry-C7LQiKF9.js";import{FQ as Z}from"./zeni-epic-state-Cvu6NpVe.js";import{n as g}from"./mui-BXc79n0P.js";import{I as ee,T as te}from"./ReloadCard-Dketoj2r-tAJXPFMi.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CeLdXVsI.js";import{H as k,X as $,Y as L,K as O,O as P,Q as ne,S as oe}from"./recharts-vbuE4Jum.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]="4cfd94b2-2b97-42a4-8b07-709626a932c6",e._sentryDebugIdIdentifier="sentry-dbid-4cfd94b2-2b97-42a4-8b07-709626a932c6")}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{aG as z,J as M,V as t,y as x,u as f,w as T,a_ as H,aQ as R,aO as G,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(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(N)`
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(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(J)`
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(F,{"data-testid":J("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:q(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(Y,{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`
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(F,{"data-testid":q("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:N(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(Y,{children:({height:a,width:m})=>s(m,a)})})})]})})}function A({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(A);const B=(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{aG as z,J as M,V as t,y as x,u as f,w as T,a_ as H,aQ as R,aO as G,o as p
29
29
  height: ${p.sp4};
30
30
  `,xe=g(C)`
31
31
  margin-left: ${p.sp2};
32
- `,ye=g(Q)`
32
+ `,ye=g(G)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
- `,be=g(X)`
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(L,{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:R("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($,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(K,{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(L,{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($,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(K,{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?H("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,z);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]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],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(G,{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};
38
+ `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=B(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{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(P,{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($,{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=B(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(O,{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:K,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:K})}}),h.map(m=>t.jsx(P,{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($,{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?X("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,z);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]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],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(R,{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(A,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{A,Se as E,Ce as I,Ee as L,ce as c};