@zeniai/web-cockpit-ui 1.15.8-qa → 1.15.9-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 (320) hide show
  1. package/dist/assets/ACHDetailsPage-BVkQ4K87-2mUod8Ze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-nAXYlFHx-D8t7UfO6.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
  3. package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C6fN_njt-HYk5LymM.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-xGH31FUE.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
  7. package/dist/assets/{AccountRow-C0plHrDu-BHbrjlQa.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
  8. package/dist/assets/{AccountsPromoCardStack-BCRuoijH-BiUfxCis.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
  9. package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKPw3FXG-1yjoUpl3.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
  11. package/dist/assets/{AgingReportsPage-BLYXtrbx-ChP2VVRq.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
  12. package/dist/assets/{AllUserItems-CIuKSRs--BSTdrFJx.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
  13. package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
  14. package/dist/assets/{AppBasePage-zQkWIZIS-J73aeT5P.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
  15. package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
  16. package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-Cn6qw6gU.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
  17. package/dist/assets/{ArAgingChart-Dv9GPrlk-BDO04yvC.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
  18. package/dist/assets/{ArAgingDetailPage-vW-JcTgF-CdtFinK-.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
  19. package/dist/assets/{AttachmentView-CHgDKLit-CNDwc0Eo.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
  20. package/dist/assets/{BankAccountSection-danXlJW--CGFGOQdm.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-DBmd09rV.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
  23. package/dist/assets/{BillDetailPage-BD2IX-iP-QIATdRex.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-JKxreggo.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-DrTI5_46.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-C7PX-EVL-DDmbTE9O.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-Czno3Zre-BE6uTwDe.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
  28. package/dist/assets/{BillingSettingsPage-DwBAvbyP-BOeTv55Y.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
  29. package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
  30. package/dist/assets/{BoxItem-CQn8-mlp-BpjhTACd.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Pj_43PYG-BBfAZpRu.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
  32. package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-BPGA9iT0-pfH6WY-d.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
  34. package/dist/assets/{ChargeCardDetailPage-draAZn9S-BLHAWsUD.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
  35. package/dist/assets/{ChargeCardListPage-gsG1eX_i-DncsEeIV.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-KYpdTWjw.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
  38. package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-63DpNOd1.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-BSLQYECC.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-D2wZXg2E.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
  42. package/dist/assets/{CollapsableReportTable-D9EGRkFb-rtyJvli3.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
  43. package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
  44. package/dist/assets/{CompanyPassportCard--3g9aidd-DEP92iFu.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-BhF3zWN0-D1AeDDw0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
  46. package/dist/assets/{CompleteProfile-iee5HgiC-DWDz1H5n.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
  47. package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-DUgUVqol.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-BQoH4AnG.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
  50. package/dist/assets/{CurrencySelectField-CcU9PAOW-UhjAv5pw.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
  51. package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-BfLZrVA_.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
  54. package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CP969grW-DSt_mh2c.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-KXFyyrbX.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
  57. package/dist/assets/{Dashboard-CKSEolZn-KkJW27CG.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
  58. package/dist/assets/{DashboardReportPage-JLORU_HF-Cpq1a7z1.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
  60. package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
  61. package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-D7AI3CGS-BSXz1TYL.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
  64. package/dist/assets/{DrawerPage-BiQurb8Q-CwosoM_H.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
  65. package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-C2zvDGNE.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
  67. package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
  68. package/dist/assets/{EntitySummarySection-dbyZ3ZMD-DIUFVdBF.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
  69. package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-D_hqg6CV.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
  70. package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-ozrsfKpW.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
  71. package/dist/assets/{ExpressPayPage-CaBFl4M3-CpnlRAIb.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
  73. package/dist/assets/{FollowStepsSection-BGZ3rzSO-DZqA0Ls-.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
  74. package/dist/assets/{GlobalReviewListPage-DIiVT0qf-C1h-R-9P.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
  75. package/dist/assets/{InformationCardStack-BZIU9Bwm-BPjI_Aqf.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
  76. package/dist/assets/{InsightsCardStack-BZ6yws_x-l5SDGStI.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
  77. package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-D0GHOz8k.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
  80. package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
  81. package/dist/assets/{InviteFormPage-C-_fbwpS-Dc7fjvDO.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
  82. package/dist/assets/{InvitePageListView-DX3LFpcZ-x0SBH5kb.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
  83. package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-BSax9G6t-li0Yc8Qz.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
  86. package/dist/assets/{LabeledAddressValue-kz4tRnLH-fkTasFZL.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-D950JjHi-CobscTGb.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
  88. package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
  91. package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
  93. package/dist/assets/{LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
  94. package/dist/assets/{LabeledText-D0g7m29R-cxnm614T.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
  96. package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
  97. package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
  98. package/dist/assets/{LockCardPage-XgZwsozn-DcNxXIWb.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
  99. package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
  100. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-hreLPWO1.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
  105. package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-D0Sufsix.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
  107. package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
  109. package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
  110. package/dist/assets/{NavigationArrow-BuPVGh38-XNHRi9o5.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
  111. package/dist/assets/{NavigationDots-CLd0nZZT-CV65Lnrl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DrYC7XeB.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
  113. package/dist/assets/{NoDataChart-VrW0gNeK-D9AHc7Vl.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
  114. package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
  115. package/dist/assets/{NotFoundPage-CvuhMeh3-DqU44v-s.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
  116. package/dist/assets/{NotificationSettingsPage-612cyOPa-B2Br4UTC.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
  118. package/dist/assets/{NotificationsPage-DOq8YY_K-DXXt11Bj.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
  119. package/dist/assets/{OpExByVendorPage-JhAQyVWO-CFIAoogA.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
  120. package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-B8WG6VDM-DheE6AGf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
  123. package/dist/assets/{PeoplePage-BJui-Wgk-ZqLOzULs.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
  124. package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CGhEa82h-DIdMDRd_.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-1PF_kyGP-BRJ2sUha.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-BVpU5kvg-HDDG_kF6.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
  128. package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-zXLIrPpr.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
  130. package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-ClYVlFhQ.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
  131. package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-BjjCmbcS.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-DF7X2SfJ.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
  135. package/dist/assets/{ReloadCard-crbWeOPP-CXnI4BBC.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-KXoOW677-VB10UJ6e.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
  137. package/dist/assets/{ReportsPage-C3Jj54B2-BeGQBjYf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
  138. package/dist/assets/{RevenueChart-B2lwdex1-Cn6eIKBB.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-BzJuymlx-De8jeqFq.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CXHcM5J8-CWmuYC1c.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
  143. package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-4LVdyrEA.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-MEIZsagy-Bs57M6oJ.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
  145. package/dist/assets/{ScreenRoutes-Br3O3Bv3.js → ScreenRoutes-esZWtP8Y.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Drp97o6h-CUmuMQTP.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
  147. package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
  148. package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
  150. package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CDT-okI2.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
  151. package/dist/assets/{SpendManagementSection-WqBeexgm-FC3yMOoP.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
  152. package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
  153. package/dist/assets/{StatementsPage-ProqQbaP-Bwe3MvOf.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
  154. package/dist/assets/{StatusSwitcher-CWQs9lpu-vdzoI5uC.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-B2uBojsp-BscSJfWm.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
  156. package/dist/assets/{SummaryCard-Dcd_VUph-CtvPqFVw.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-BM9VR6Lt-96HNn42p.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
  158. package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher--oC4RNb6-9wGsnDTh.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-IGT58opJ.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
  161. package/dist/assets/{TopExCard-DQ50kCvS-ChFGt_1f.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
  162. package/dist/assets/{TopExDetailPage-iwv1KNmn-D2goxRJ1.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
  163. package/dist/assets/{TransactionDetailPage-dcUFs9xb-D1c2i9oL.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
  164. package/dist/assets/{TransactionList-1g-61_2b-BsVHB-dP.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSrLWjaV-DmreU3Pg.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
  166. package/dist/assets/{TransactionListPage-CKkWpoxH-DwZxceId.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
  167. package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Da7F6NI9.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
  168. package/dist/assets/{TransferDrawerPage-nyepeege-C5aOIw_t.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
  169. package/dist/assets/{TreasuryOverviewPage-CkaOtstB-Cb7VOc7Q.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
  170. package/dist/assets/{TreasuryPromoPage-B55rqmLO-B6nyli4-.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
  171. package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
  172. package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
  173. package/dist/assets/{TrendChart-BsSVNJm5-C5P4NUjk.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
  174. package/dist/assets/{TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
  175. package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-BzXjBs-h.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
  176. package/dist/assets/{UnitIntegrationPage-CEtqPMTy-CkFNHSgJ.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-BPoFrkoj-CrkNrLcq.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C0qX459r-DAL6sRtd.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
  181. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-DUD0rine.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-BgMJtPzx.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DKjAmytq.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B23jU0_c-Y4SYDFq4.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
  188. package/dist/assets/{VideoPlayer-CylTUX4X-DSxfswME.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
  189. package/dist/assets/{VideoPopup-C9x0ntQ5-BVA3i-oV.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DrjxA1t_-BoFSpSiS.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-CIWx2G2v.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
  192. package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-C79um01B.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
  193. package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-B2My929b.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
  195. package/dist/assets/{ZeniAccountSetupPage-BE975QGg-D-DppFIe.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-eB9rNuZ3-cNG8Rw7j.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
  199. package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CLY1vV_E-BwSnChaf.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
  201. package/dist/assets/{analyticsHelper-fz25hsmq.js → analyticsHelper-CM3pI6rO.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
  204. package/dist/assets/{chartTypes-BjaXr-A2-D3DBmfud.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
  205. package/dist/assets/{commonDimensions-C0X17W9N-CR9paNIq.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
  206. package/dist/assets/{commonTypes-BN7Uh_8W-BM1Dtb_1.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
  207. package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
  208. package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
  209. package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
  210. package/dist/assets/{detailCommon-D9PsnkY1-D9_PN47h.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
  211. package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
  212. package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
  213. package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
  214. package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
  219. package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
  220. package/dist/assets/{index-e-SZUuyN.js → index-AqGiWrum.js} +4262 -4259
  221. package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
  222. package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
  223. package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
  224. package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
  225. package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
  226. package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
  227. package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
  228. package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
  230. package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
  231. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
  235. package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
  238. package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
  239. package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
  240. package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
  241. package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
  242. package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
  243. package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
  244. package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
  245. package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
  246. package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
  247. package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
  250. package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
  251. package/dist/assets/{uploadAttachment-BLADYUsp-CuyJL9Ae.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
  252. package/dist/assets/{uploadReceipts-CLN2DLHQ-BcmoXhPJ.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
  253. package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
  254. package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
  257. package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/ACHDetailsPage-C4kSZtcW-CRAncXjZ.js +0 -21
  262. package/dist/assets/AccountInfoPage-BgYgT10O-BPubXPU8.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-Dz8UCOQu.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-HjaseCvO.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DeqICFKW-BGrGI80f.js +0 -46
  266. package/dist/assets/AppDrawerContent-OIrm7j-k-CAl-h4tc.js +0 -91
  267. package/dist/assets/BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js +0 -51
  268. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-Btjur5rB.js +0 -1
  269. package/dist/assets/CardNumberSubText-2Tw37MOu-Na5odSIe.js +0 -21
  270. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-CPRuhZCR.js +0 -222
  271. package/dist/assets/ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js +0 -1
  272. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-DlPVcAtZ.js +0 -1
  273. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-CBl7xIv9.js +0 -66
  274. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-DgEcVBWB.js +0 -66
  275. package/dist/assets/EditPeoplePage-DkLTV485-DSmYd3gF.js +0 -55
  276. package/dist/assets/EntityDetailPage-ougFUO1M-D5lOJcsX.js +0 -18
  277. package/dist/assets/FeaturePreviewPage-BY7VDaUB-BlOtvf2P.js +0 -11
  278. package/dist/assets/InsightsSection-CdlmvyOs-CSbQ6jxV.js +0 -27
  279. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-CzF6c2rU.js +0 -65
  280. package/dist/assets/InvitePeoplePage-DOfw4ntH-Bnv1S2jS.js +0 -12
  281. package/dist/assets/InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.js +0 -140
  282. package/dist/assets/LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js +0 -41
  283. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-8L8nXgg2.js +0 -59
  284. package/dist/assets/LinkJETransactionPage-DQUYzOEN-CAqtea48.js +0 -98
  285. package/dist/assets/LowBalancePopup-ChBTdcM2-BRhnRaDc.js +0 -34
  286. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-Caq0ps9o.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-Cl_8tBOk.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-oQ1LN-Ng.js +0 -1
  289. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js +0 -21
  290. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-BmwV3pjH.js +0 -6
  291. package/dist/assets/MyProfileSettingsPage-BHZrydBY-B_909T6y.js +0 -85
  292. package/dist/assets/NavBarWithPicker-DfM5Vi5g-BWJESbaI.js +0 -30
  293. package/dist/assets/NoDataTable-CZaHTbXi-cbckRR4v.js +0 -8
  294. package/dist/assets/NotificationsListConfig-CrNHxW9v-KkWyZsCx.js +0 -1
  295. package/dist/assets/OverlayContainerPage-CEiw6dk7-D-uaIGKT.js +0 -11
  296. package/dist/assets/QBOSetupSection-QpfgbXqT-DygUgRVU.js +0 -79
  297. package/dist/assets/ReimbursementDetailPage-BntmMmsa-DBIHpTWQ.js +0 -314
  298. package/dist/assets/ReimbursementPromoPage--ddzF7ri-C8Whx13o.js +0 -84
  299. package/dist/assets/RoleWithToolTip-q4rQTPKj-DnZtHqjj.js +0 -22
  300. package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-RHoI8Wq9.js +0 -37
  301. package/dist/assets/SignIn-YqQXhCUb-DTchfIMW.js +0 -491
  302. package/dist/assets/SignInScreen-BEl-iT5I.js +0 -1
  303. package/dist/assets/StatementItem-DNtPyOiC-Cwms937J.js +0 -31
  304. package/dist/assets/TreasuryStatementsPage-DA72LRB2-BCFMT-Wb.js +0 -58
  305. package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-BvK8_LPp.js +0 -58
  306. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-19i7WD8j.js +0 -38
  307. package/dist/assets/VendorACHDetailsPage-_UmamDKx-DnLhvKeC.js +0 -1
  308. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-D6ans18-.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-CGNH7X2x.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-Jh4OQT7x.js +0 -14
  311. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb-D5scnWJV.js +0 -63
  312. package/dist/assets/downloadPdf-DE7Hd8jE-BAK9xguG.js +0 -1
  313. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js +0 -1
  314. package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-CE09aSrt.js +0 -1
  315. package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-hu7JWeUA.js +0 -1
  316. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js +0 -1
  317. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-BgK_pIe_.js +0 -1
  318. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js +0 -1
  319. package/dist/assets/toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js +0 -1
  320. package/dist/assets/toChartData-D5QdTlGa-DLv4zZlP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as wt,O as se,o as s,jv as Ye,ci as Ee,cm as ft,g5 as Ct,ba as $t,bO as Je,aU as Tt,J as ie,a9 as yt,y as Xe,cF as jt,ac as bt,b4 as vt,ct as St,iR as Gt,iS as Lt,jw as Me,aS as Et,r as De,bT as Ne,eL as Qe,jx as Nt,c$ as et,jy as ce,jz as ke,jA as xe,jB as tt,jC as It,jD as st,jE as ot,jF as nt,jG as at,jH as rt,jI as V,c as ge,jJ as ae,ai as re,jK as Dt,jL as Mt,x as zt,an as Bt,jM as At,da as Rt,jN as Wt,cJ as it,en as Ot,b as Pt,jO as Ft,jP as Ht,g6 as Ut,gy as _t,jQ as Vt,jR as J,jS as ze,cv as Kt,jT as Zt,jU as qt,jV as Yt,jW as Be,p as Ae,gv as Jt,am as Xt}from"./index-e-SZUuyN.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as o,c as we}from"./mui-mhzAEcDs.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-CSmiPBaP.js";import{X as ts,t as ss}from"./SpendManagementSection-WqBeexgm-FC3yMOoP.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-CrNHxW9v-KkWyZsCx.js";import{a as is}from"./SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./StatusSwitcher-CWQs9lpu-vdzoI5uC.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]="15e4cd25-5118-4859-9042-fa06cb95cba7",e._sentryDebugIdIdentifier="sentry-dbid-15e4cd25-5118-4859-9042-fa06cb95cba7")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>v(x),D=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=D(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},T=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",z),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",z),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-AqGiWrum.js";import{a as n}from"./sentry-CTKU7CLc.js";import{n as o,c as we}from"./mui-C_Pjuwl5.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-Cl3KIlic.js";import{X as ts,t as ss}from"./SpendManagementSection-p_rbwPsi-DexNllt-.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-CEDk57Lr-DAddVQQW.js";import{a as is}from"./SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./StatusSwitcher-BWCVuAz5-D3jo7wqm.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]="89851936-266c-4b0a-9646-e38345405fa9",e._sentryDebugIdIdentifier="sentry-dbid-89851936-266c-4b0a-9646-e38345405fa9")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -16,7 +16,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
16
16
  outline-color: inherit;
17
17
  `,ms=o(Bt)`
18
18
  color: inherit;
19
- `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:Qt,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:u,isDisabled:h,children:[t.jsx(Cs,{}),t.jsx(K,{children:Se.reset})]})]})}const ks=o.div`
19
+ `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:Jt,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:u,isDisabled:h,children:[t.jsx(Cs,{}),t.jsx(K,{children:Se.reset})]})]})}const ks=o.div`
20
20
  display: flex;
21
21
  align-items: center;
22
22
  column-gap: ${s.sp4};
@@ -39,12 +39,12 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
39
39
  }
40
40
 
41
41
  column-gap: ${s.sp1};
42
- `,fs=o($t)`
42
+ `,fs=o(Tt)`
43
43
  color: ${e=>e.theme.colors.primary};
44
- `,Cs=o(Je)`
44
+ `,Cs=o(Xe)`
45
45
  width: ${s.sp3};
46
46
  height: ${s.sp3};
47
- `,$s=se.getLocalizedStrings().taskManagement.taskList.footer;function Ts({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Ye,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:$s.createGroup})]})})]})})}const ys=o.div`
47
+ `,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,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(ys,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const ys=o.div`
48
48
  background-color: ${e=>e.theme.colors.grey5};
49
49
  `,Oe=o.div`
50
50
  padding: ${s.sp2} ${s.sp3};
@@ -62,7 +62,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
62
62
  `,bs=o(et)`
63
63
  width: ${s.sp3};
64
64
  height: ${s.sp3};
65
- `;function vs({placeholder:e,searchText:d,inputContainerStyles:r,onSearchTextChanged:h}){const[m,u]=n.useState(!1),a=n.useRef(null),p=ie(),i=()=>{d||u(!1)};return t.jsxs(Ss,{children:[m?null:t.jsx(Ls,{onMouseEnter:()=>u(!0),onClick:()=>{u(!0),a.current?.focus()},children:t.jsx(Pe,{})}),m?t.jsxs(Gs,{style:r,isOpen:m,children:[t.jsx(Pe,{}),t.jsx(Es,{windowSize:p,autoFocus:p!=="small",placeholder:e,value:d,onBlur:i,onChange:c=>{const C=c.target;h(C.value)},ref:a}),d?t.jsx(Ns,{}):null]}):null]})}const Ss=o.div`
65
+ `;function vs({placeholder:e,searchText:d,inputContainerStyles:r,onSearchTextChanged:h}){const[m,u]=n.useState(!1),a=n.useRef(null),p=ie(),i=()=>{d||u(!1)};return t.jsxs(Ss,{children:[m?null:t.jsx(Ls,{onMouseEnter:()=>u(!0),onClick:()=>{u(!0),a.current?.focus()},children:t.jsx(Pe,{})}),m?t.jsxs(Gs,{style:r,isOpen:m,children:[t.jsx(Pe,{}),t.jsx(Es,{windowSize:p,autoFocus:p!=="small",placeholder:e,value:d,onBlur:i,onChange:c=>{const C=c.target;h(C.value)},ref:a}),d?t.jsx(Is,{}):null]}):null]})}const Ss=o.div`
66
66
  position: relative;
67
67
  `,Gs=o.div`
68
68
  position: absolute;
@@ -74,7 +74,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
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
- `,Pe=o(Dt)`
77
+ `,Pe=o(Mt)`
78
78
  color: ${e=>e.theme.colors.hero};
79
79
  width: ${s.sp3};
80
80
  height: ${s.sp3};
@@ -83,7 +83,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
83
83
  }
84
84
  `,Ls=o.div`
85
85
  cursor: pointer;
86
- `,Es=o(Mt)`
86
+ `,Es=o(Dt)`
87
87
  display: flex;
88
88
  border-width: ${s.sp0};
89
89
  outline-width: ${s.sp0};
@@ -94,10 +94,10 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
94
94
  ::placeholder {
95
95
  color: ${e=>e.theme.colors.grey1};
96
96
  }
97
- `,Ns=o(zt)`
97
+ `,Is=o(zt)`
98
98
  width: ${s.sp3};
99
99
  height: ${s.sp3};
100
- `,Is=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),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:"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"})),Ms=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:Bs}=se.getLocalizedStrings(),X=zs.taskList.newTaskOptions;function As({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:v,onNewTaskInitialization:I}){const D=qe(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const z=n.useCallback((T,x)=>{f(x),v(T,x)},[v]),B=n.useCallback(T=>{M(T),C(T)},[C]);return t.jsx(Ye,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ws,{isTaskTemplatesEnabled:m,children:[t.jsxs(Fs,{children:[t.jsxs(Fe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ee,{children:X.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Fe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ee,{children:X.group})]})})]}),m?t.jsx(Rs,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:c,onNewTaskInitialization:I,onExpandTemplate:a}):null]})})}const Rs=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),I=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Hs,{children:[t.jsx(Us,{children:t.jsxs(Vs,{children:[t.jsxs(_s,{children:[t.jsx(Ks,{}),t.jsx(Zs,{children:X.groupTemplates})]}),t.jsx(vs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:X.searchPlaceholder})]})}),t.jsx(U,{controller:v.length>0,children:t.jsx(qs,{children:v.map(k=>{const f=h===k.id;return t.jsxs(no,{children:[t.jsxs(Ys,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Js,{children:[t.jsx(U,{controller:f,children:t.jsx(oo,{})}),t.jsx(U,{controller:!f,children:t.jsx(so,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(eo,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:X.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(U,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Xs,{children:[t.jsxs(Qs,{children:[t.jsx(ao,{className:"styled-dot"}),t.jsx(lo,{className:"task-name-text",children:w.name})]}),t.jsx(to,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Bs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:v.length===0,children:[t.jsx(ro,{children:t.jsx(io,{children:X.noTaskGroup})}),t.jsxs(He,{onClick:I,children:[t.jsx(Ue,{}),t.jsx(K,{children:X.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(Ue,{}),t.jsx(K,{children:X.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ws=o.div`
100
+ `,Ns=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ds=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:Bs}=se.getLocalizedStrings(),Q=zs.taskList.newTaskOptions;function As({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:v,onNewTaskInitialization:N}){const M=Ye(),[k,f]=n.useState(null),[w,D]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(D(null),f(null),p())},[h.fetchState,p]);const z=n.useCallback(($,x)=>{f(x),v($,x)},[v]),B=n.useCallback($=>{D($),C($)},[C]);return t.jsx(qe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${M.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ws,{isTaskTemplatesEnabled:m,children:[t.jsxs(Fs,{children:[t.jsxs(Fe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ee,{children:Q.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Fe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ee,{children:Q.group})]})})]}),m?t.jsx(Rs,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:c,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Rs=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(D=>D.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),N=n.useCallback(()=>{i(c)},[c,i]),M=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Hs,{children:[t.jsx(Us,{children:t.jsxs(Vs,{children:[t.jsxs(_s,{children:[t.jsx(Ks,{}),t.jsx(Zs,{children:Q.groupTemplates})]}),t.jsx(vs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:Q.searchPlaceholder})]})}),t.jsx(U,{controller:v.length>0,children:t.jsx(Ys,{children:v.map(k=>{const f=h===k.id;return t.jsxs(no,{children:[t.jsxs(qs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Xs,{children:[t.jsx(U,{controller:f,children:t.jsx(oo,{})}),t.jsx(U,{controller:!f,children:t.jsx(so,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(eo,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:Q.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(U,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Qs,{children:[t.jsxs(Js,{children:[t.jsx(ao,{className:"styled-dot"}),t.jsx(lo,{className:"task-name-text",children:w.name})]}),t.jsx(to,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Bs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:v.length===0,children:[t.jsx(ro,{children:t.jsx(io,{children:Q.noTaskGroup})}),t.jsxs(He,{onClick:N,children:[t.jsx(Ue,{}),t.jsx(K,{children:Q.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:M,children:[t.jsx(Ue,{}),t.jsx(K,{children:Q.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ws=o.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
@@ -113,10 +113,10 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
113
113
  color: ${e=>e.theme.colors.primary};
114
114
  background-color: ${e=>e.theme.colors.background};
115
115
  }
116
- `,Os=o(Ms)`
116
+ `,Os=o(Ds)`
117
117
  width: ${s.sp3};
118
118
  height: ${s.sp3};
119
- `,Ps=o(Ds)`
119
+ `,Ps=o(Ms)`
120
120
  width: ${s.sp3};
121
121
  height: ${s.sp3};
122
122
  `,Fs=o.div`
@@ -141,16 +141,16 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
141
141
  align-items: center;
142
142
  justify-content: space-between;
143
143
  width: 100%;
144
- `,Ks=o(Is)`
144
+ `,Ks=o(Ns)`
145
145
  width: ${s.sp3};
146
146
  height: ${s.sp3};
147
147
  color: ${e=>e.theme.colors.primary};
148
148
  `,Zs=o(Ee)`
149
149
  color: ${e=>e.theme.colors.primary};
150
- `,qs=o.div`
150
+ `,Ys=o.div`
151
151
  max-height: 320px;
152
152
  overflow: auto;
153
- `,Ys=o.div`
153
+ `,qs=o.div`
154
154
  display: flex;
155
155
  justify-content: space-between;
156
156
  align-items: center;
@@ -164,13 +164,13 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
164
164
  display: block;
165
165
  }
166
166
  }
167
- `,Js=o.div`
167
+ `,Xs=o.div`
168
168
  display: flex;
169
169
  align-items: center;
170
170
  padding: ${s.sp2} ${s.sp0};
171
171
  color: inherit;
172
172
  column-gap: ${s.sp2};
173
- `,Xs=o.div`
173
+ `,Qs=o.div`
174
174
  display: flex;
175
175
  justify-content: space-between;
176
176
  align-items: center;
@@ -188,7 +188,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
188
188
  display: block;
189
189
  }
190
190
  }
191
- `,Qs=o.div`
191
+ `,Js=o.div`
192
192
  display: flex;
193
193
  align-items: center;
194
194
  cursor: pointer;
@@ -201,14 +201,14 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
201
201
  background-color: ${e=>e.theme.colors.primary};
202
202
  }
203
203
  }
204
- `,eo=o(De)`
204
+ `,eo=o(Me)`
205
205
  display: ${e=>e.expanded===!0?"block":"none"};
206
- `,to=o(De)`
206
+ `,to=o(Me)`
207
207
  display: none;
208
- `,so=o(Nt)`
208
+ `,so=o(It)`
209
209
  width: ${s.sp3};
210
210
  height: ${s.sp3};
211
- `,oo=o(Qe)`
211
+ `,oo=o(Je)`
212
212
  width: ${s.sp3};
213
213
  height: ${s.sp3};
214
214
  `,no=o.div``,ao=o.div`
@@ -243,7 +243,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
243
243
  text-overflow: ellipsis;
244
244
  white-space: nowrap;
245
245
  max-width: 336px;
246
- `,{common:Ge,dateFormat:co,taskManagement:Ie}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Xe(125,170,170,250,300)},po=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:I}=it(),D=(k,f)=>{const w=Be(k,f,xe);I(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(No,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(_e,{windowSize:a,responsiveWidth:J[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:J[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(_e,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Io,{children:t.jsx(Do,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Mo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(qt,{name:Be(r,e.id,xe),placeholder:Ie.common.timeSpentPlaceholder,timeSpentFormat:Ie.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>Yt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:I,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[M,z]=n.useState(null),B=ie(),{setFocus:T}=it(),x=n.useCallback(()=>{I(e.id)},[I,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),j=n.useCallback(()=>{T(`${r}.groupName`),y()},[y,r,T]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(U,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(fo,{children:[t.jsx(Co,{isOpen:a===!1,onClick:x,children:t.jsx($o,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ie.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ft(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(To,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ht,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:j,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const _=()=>{D(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:_,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(jo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},ho=o.div`
246
+ `,{common:Ge,dateFormat:co,taskManagement:Ne}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Qe(125,170,170,250,300)},po=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:v,getFieldState:N}=it(),M=(k,f)=>{const w=Be(k,f,xe);N(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:X[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Io,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:X[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(_e,{windowSize:a,responsiveWidth:X[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:X[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:X[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(_e,{windowSize:a,responsiveWidth:X[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(No,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Zt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:X[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Yt,{name:Be(r,e.id,xe),placeholder:Ne.common.timeSpentPlaceholder,timeSpentFormat:Ne.common.timeSpentFormat,registerOptions:{validate:k=>es(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:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{N(e.id)},[N,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),j=n.useCallback(()=>{$(`${r}.groupName`),y()},[y,r,$]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(U,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(fo,{children:[t.jsx(Co,{isOpen:a===!1,onClick:x,children:t.jsx(To,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ne.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ft(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx($o,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ht,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:j,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const _=()=>{M(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:_,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(jo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},ho=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -285,7 +285,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
285
285
  flex-direction: row;
286
286
  align-items: center;
287
287
  color: ${e=>e.theme.colors.hero};
288
- `,xo=o(Xt)`
288
+ `,xo=o(Qt)`
289
289
  border: 1px solid ${e=>e.theme.colors.hero};
290
290
  width: calc(${s.sp3} + ${s.sp1});
291
291
  height: calc(${s.sp3} + ${s.sp1});
@@ -305,11 +305,11 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
305
305
  `,Co=o.div`
306
306
  cursor: pointer;
307
307
  transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
308
- `,$o=o(Qe)`
308
+ `,To=o(Je)`
309
309
  width: ${s.sp3};
310
310
  height: ${s.sp3};
311
311
  color: ${e=>e.theme.colors.primary};
312
- `,To=o.div`
312
+ `,$o=o.div`
313
313
  cursor: pointer;
314
314
  `,yo=o(_t)`
315
315
  width: ${s.sp3};
@@ -351,26 +351,26 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
351
351
  white-space: nowrap;
352
352
  overflow: hidden;
353
353
  text-overflow: ellipsis;
354
- `,No=o(Jt)`
354
+ `,Io=o(Xt)`
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
- `,Io=o.div`
360
+ `,No=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
- `,Do=o(re)`
367
+ `,Mo=o(re)`
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
- `,Mo=o.div`
373
+ `,Do=o.div`
374
374
  display: flex;
375
375
  flex-direction: row;
376
376
  align-items: center;
@@ -430,7 +430,7 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
430
430
  column-gap: ${s.sp2};
431
431
  `,Oo=o.div`
432
432
  max-width: ${s.sp11};
433
- `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Fo={rowGap:new Xe(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:I,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:T,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:j})=>{const[W,_]=n.useState(!1),[Q,P]=n.useState(null),[F,oe]=n.useState(null),[q,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:Y,filters:$e,userList:de,taskGroupsWithTasksList:Te}=e,{tagList:ye}=d,je=qe(),be=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{j(R)},[j]),O=de.users.map(R=>R.user).filter(R=>R!=null),E={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Y.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:be,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:Y.groupByKey,resetDisabled:Y.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),P(Z),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(Z)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&_(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(qo,{children:[t.jsx(Yo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Xo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&Te.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Ho,{taskListView:e,tagList:ye,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:$,setShowDeleteModal:_,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:P,onTaskGroupRename:T,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:E});return t.jsxs(Zo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:I,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:Y.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:q}),t.jsx(Ko,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{_(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:I,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:z,onCreateTagClick:B})=>{const T=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:j,uiState:W}=e,[_,Q]=n.useState([]),P=n.useRef(null);us({scrollContainerRef:P,isEnabled:L!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d])}),q=n.useMemo(()=>{if(r!==Z)return j;const l=[],G=j.map(O=>{const E=O.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...O,tasks:E}});return G.unshift({groupName:"",isDefault:!1,id:Z,tasks:l}),G},[r,j,g.selectedTaskIds]),pe=n.useCallback(l=>_.includes(q[l].id)||q[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Fo.rowGap.value(L):(os*1+ns)*3+as+rs,[_,q,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},T.current?.resetAfterIndex(0,!0)},[L,T,j]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),T.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(j.map(l=>l.id)),T.current?.resetAfterIndex(0,!0)},[j]),ee=n.useCallback(()=>{Q([]),T.current?.resetAfterIndex(0,!0)},[]),Y=n.useCallback(()=>{I(),T.current?.scrollTo(0),ne()},[ne,I]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Z?Y():c(!0):r===Z?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Y,c,m]),Te=n.useCallback(()=>{u(null),C()},[C,u]),ye=n.useCallback(l=>{C(),u(l)},[C,u]),je=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const E=l.split(".")[2],N=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].priority.selectedOption;if(N!=null&&A!=null){const b=lt.find($=>$.code===A);b!=null&&h(N,{priority:b})}return}if(l.includes(at)){const E=l.split(".")[2],N=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].status.selectedOption;if(N!=null&&A!=null){const b=dt.find($=>$.code===A);N!=null&&b!=null&&h(N,{status:b})}return}if(l.includes(st)){const E=l.split(".")[2],N=j.flatMap($=>$.tasks).find($=>$.id===E),A=j.find($=>$.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].assignees.selectedUsers.map($=>$.userId);A!=null&&b!=null&&N!=null&&h(N,{assignees:b});return}if(l.includes(ot)){const E=l.split(".")[2],N=j.flatMap($=>$.tasks).find($=>$.id===E),A=j.find($=>$.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].dueDate.date;A!=null&&b!=null&&N!=null&&h(N,{dueDate:b});return}if(l.includes(tt)){const E=l.split(".")[2],N=j.flatMap($=>$.tasks).find($=>$.id===E),A=j.find($=>$.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].tags.selectedOptions;A!=null&&b!=null&&N!=null&&h(N,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&jt(()=>be(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=j.length>1&&g.selectedTaskIds.length>0&&r!==Z,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Qo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:T,outerRef:P,height:l,itemCount:q.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>q[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:q,uiState:W,collapsedGroups:_,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:$e,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Et,{formId:Ve(Me),primaryBtn:{label:j.length===1&&g.selectedTaskIds.length>0&&r!==Z?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:Te},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(rn,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:je})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(Ts,{taskGroupsList:j,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:Y,onExistingGroupSelection:l=>{ne(),v(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:I,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:z,onRenameClick:B,userList:T,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&I(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const j=n.useCallback(P=>{const F=P.dataTransfer.getData("row");z(F,a[e].id)},[z,e,a]),W=n.useCallback(P=>{P.preventDefault()},[]),_=(P,F)=>{P.dataTransfer.setData("row",F)},Q=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:j,onDragOver:W,children:t.jsx(_o,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:v,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:T,existingTaskGroupNamesByGroupId:S,onDragStart:_,onRenameClick:Q,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},_o=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:I,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:z,onTimeSpentUpdate:B,onShowToast:T,onCreateTagClick:x})=>{const S=ie(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(y,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:I,onTaskManagementRowClick:v,onColumnSortConfigChanged:D,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:T,onCreateTagClick:x})},Ze=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:It(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Z]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Z)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=o.div`
433
+ `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Fo={rowGap:new Qe(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:v,onBackClick:N,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:j})=>{const[W,_]=n.useState(!1),[J,P]=n.useState(null),[F,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:q,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:ye}=d,je=Ye(),be=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{j(R)},[j]),O=de.users.map(R=>R.user).filter(R=>R!=null),E={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:be,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},I=n.useCallback(R=>{le(null),P(Z),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),T=n.useCallback(()=>{P(Z)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&_(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Yo,{children:[t.jsx(qo,{onClick:c,children:t.jsx(Xo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&$e.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Ho,{taskListView:e,tagList:ye,renameActiveField:J,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:_,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:P,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:E});return t.jsxs(Zo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:M,onNewGroupClick:I,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(Ko,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{_(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:j,uiState:W}=e,[_,J]=n.useState([]),P=n.useRef(null);us({scrollContainerRef:P,isEnabled:L!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d])}),Y=n.useMemo(()=>{if(r!==Z)return j;const l=[],G=j.map(O=>{const E=O.tasks.filter(I=>{const A=g.selectedTaskIds.includes(I.id)===!0;return A&&l.push(I),A===!1});return{...O,tasks:E}});return G.unshift({groupName:"",isDefault:!1,id:Z,tasks:l}),G},[r,j,g.selectedTaskIds]),pe=n.useCallback(l=>_.includes(Y[l].id)||Y[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Fo.rowGap.value(L):(os*1+ns)*3+as+rs,[_,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,j]),ue=n.useCallback(l=>{J(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{J(j.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[j]),ee=n.useCallback(()=>{J([]),$.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),$.current?.scrollTo(0),ne()},[ne,N]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Z?q():c(!0):r===Z?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,q,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),ye=n.useCallback(l=>{C(),u(l)},[C,u]),je=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].priority.selectedOption;if(I!=null&&A!=null){const b=lt.find(T=>T.code===A);b!=null&&h(I,{priority:b})}return}if(l.includes(at)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].status.selectedOption;if(I!=null&&A!=null){const b=dt.find(T=>T.code===A);I!=null&&b!=null&&h(I,{status:b})}return}if(l.includes(st)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].assignees.selectedUsers.map(T=>T.userId);A!=null&&b!=null&&I!=null&&h(I,{assignees:b});return}if(l.includes(ot)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].dueDate.date;A!=null&&b!=null&&I!=null&&h(I,{dueDate:b});return}if(l.includes(tt)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].tags.selectedOptions;A!=null&&b!=null&&I!=null&&h(I,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&jt(()=>be(O,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=j.length>1&&g.selectedTaskIds.length>0&&r!==Z,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(De),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Jo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:$,outerRef:P,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>Y[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:_,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Et,{formId:Ve(De),primaryBtn:{label:j.length===1&&g.selectedTaskIds.length>0&&r!==Z?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:$e},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(rn,{children:t.jsx(Ie,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:je})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx($s,{taskGroupsList:j,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ne(),v(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:v,setRowHeight:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const j=n.useCallback(P=>{const F=P.dataTransfer.getData("row");z(F,a[e].id)},[z,e,a]),W=n.useCallback(P=>{P.preventDefault()},[]),_=(P,F)=>{P.dataTransfer.setData("row",F)},J=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:j,onDragOver:W,children:t.jsx(_o,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:_,onRenameClick:J,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},_o=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(y,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ze=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Nt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Z]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Z)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
436
  `,Zo=o.div`
@@ -441,14 +441,14 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
441
441
  row-gap: ${s.sp4};
442
442
  background-color: ${e=>e.theme.colors.grey4};
443
443
  overflow: hidden;
444
- `,qo=o.div`
444
+ `,Yo=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
- `,Yo=o.div`
451
+ `,qo=o.div`
452
452
  height: 96px;
453
453
  width: 96px;
454
454
  display: flex;
@@ -457,17 +457,17 @@ import{ax as gt,e as qe,V as t,ju as Z,bC as kt,aa as U,cp as xt,al as K,aq as w
457
457
  background: ${e=>e.theme.colors.background};
458
458
  border-radius: 50%;
459
459
  cursor: pointer;
460
- `,Jo=o(Je)`
460
+ `,Xo=o(Xe)`
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
- `,Xo=o(Tt)`
467
+ `,Qo=o($t)`
468
468
  margin-top: ${s.sp3};
469
469
  color: ${e=>e.theme.colors.hero};
470
- `,Qo=o.div`
470
+ `,Jo=o.div`
471
471
  /** Subtract top so list can occupy remaining available height */
472
472
  height: ${e=>e.isFooterVisible===!0?"calc(100vh - 152px)":"calc(100vh - 88px)"}; // total - header
473
473
  max-width: 99.9%;
@@ -1,4 +1,4 @@
1
- import{V as t,b4 as _,aE as S,dj as B,bs as H,o as a,ai as L}from"./index-e-SZUuyN.js";import{a as n}from"./sentry-Dla7mstv.js";import{n as g}from"./mui-mhzAEcDs.js";import{Y as q}from"./core-hVMF2uNa.js";import{V as U}from"./CollapsableReportTable-D9EGRkFb-rtyJvli3.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]="05f05798-1d5b-4495-9248-172a51f32ccf",e._sentryDebugIdIdentifier="sentry-dbid-05f05798-1d5b-4495-9248-172a51f32ccf")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-AqGiWrum.js";import{a as n}from"./sentry-CTKU7CLc.js";import{n as g}from"./mui-C_Pjuwl5.js";import{Y as q}from"./core-mVc5WAnu.js";import{V as U}from"./CollapsableReportTable-CpOmWQO--CCW_jG6A.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]="a4fbff53-e3ef-4559-84d4-4861240d691f",e._sentryDebugIdIdentifier="sentry-dbid-a4fbff53-e3ef-4559-84d4-4861240d691f")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -61,4 +61,4 @@ import{V as t,b4 as _,aE as S,dj as B,bs as H,o as a,ai as L}from"./index-e-SZUu
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:c,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:c,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const c=s-e,f=Math.floor(e/h)+Math.round(c/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:c,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(c.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(c.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(c.selectedTicks,r);if(!S(l,o)){T(o);const d=o.startIndex*h;F({x:d,y:0})}S(y,c.highlightedOfSelectedTicks)||C(c.highlightedOfSelectedTicks)},[l,y,c,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=l;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,l]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},V=(o,d)=>{const m=ne(E.x,d.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},D=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:D}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[l,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,O as p}from"./index-e-SZUuyN.js";import{n as d}from"./mui-mhzAEcDs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3739e652-830a-42cf-b25e-7d74fd1c92ff",e._sentryDebugIdIdentifier="sentry-dbid-3739e652-830a-42cf-b25e-7d74fd1c92ff")}catch{}})();const u=d.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-AqGiWrum.js";import{n}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -9,7 +9,7 @@ import{V as s,o,ai as f,O as p}from"./index-e-SZUuyN.js";import{n as d}from"./mu
9
9
  overflow-x: auto;
10
10
  overflow-y: hidden;
11
11
  white-space: nowrap;
12
- `,g=d.div`
12
+ `,b=n.div`
13
13
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
14
14
  &:hover {
15
15
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
@@ -18,14 +18,14 @@ import{V as s,o,ai as f,O as p}from"./index-e-SZUuyN.js";import{n as d}from"./mu
18
18
  border-radius: ${o.sp2};
19
19
  background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
20
20
  box-shadow: ${e=>e.isSelected?`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`:null};
21
- `,_=d(f)`
21
+ `,g=n(f)`
22
22
  padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.sp3};
23
- `,b=d.div`
23
+ `,_=n.div`
24
24
  width: 1px;
25
25
  height: ${o.sp3};
26
26
  background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
27
- `,w=d.div`
27
+ `,w=n.div`
28
28
  display: flex;
29
29
  flex-direction: row;
30
30
  align-items: center;
31
- `;function y({timeframe:e,isSelected:t,onClick:n}){const a=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(g,{onClick:()=>{t===!1&&n(e)},isSelected:t,children:s.jsx(_,{children:a(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:n}){const a=i=>{n?.(i)},r=e.findIndex(i=>i===t);return s.jsx(u,{children:e.map((i,c)=>{const h=e.length>1&&c<e.length-1,l=c===r,m=c===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:i,isSelected:l,onClick:a},c),h?s.jsx(b,{isSelected:l||m}):null]},c)})})}export{S as b};
31
+ `;function y({timeframe:e,isSelected:t,onClick:a}){const d=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(b,{onClick:()=>{t===!1&&a(e)},isSelected:t,children:s.jsx(g,{children:d(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:a}){const d=i=>{a?.(i)},r=e.findIndex(i=>i===t);return s.jsx(u,{children:e.map((i,c)=>{const h=e.length>1&&c<e.length-1,l=c===r,m=c===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:i,isSelected:l,onClick:d},c),h?s.jsx(_,{isSelected:l||m}):null]},c)})})}export{S as b};
@@ -1,4 +1,4 @@
1
- import{J as d,V as t,y as n,ai as u,bJ as w}from"./index-e-SZUuyN.js";import{n as r}from"./mui-mhzAEcDs.js";import{b as l}from"./TimeframeSwitcher--oC4RNb6-9wGsnDTh.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]="9b86f238-9da8-4fee-8af4-426b608e3bed",e._sentryDebugIdIdentifier="sentry-dbid-9b86f238-9da8-4fee-8af4-426b608e3bed")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{Q as n,V as t,y as d,ai as u,bI as w}from"./index-AqGiWrum.js";import{n as r}from"./mui-C_Pjuwl5.js";import{b as l}from"./TimeframeSwitcher-CJnjD8oY-C839RlNd.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]="19b3fb0d-1479-443e-9115-0153106952f0",e._sentryDebugIdIdentifier="sentry-dbid-19b3fb0d-1479-443e-9115-0153106952f0")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{J as d,V as t,y as n,ai as u,bJ as w}from"./index-e-SZUuyN.js";import{n a
28
28
  `,C=r(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=d();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=d();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function L(e){const o=d();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{L as M};
31
+ `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=n();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=n();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function I(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
@@ -1,4 +1,4 @@
1
- import{aE as M,J as V,V as t,e as x,c as f,b as T,aZ as R,aO as H,aM as Q,o as p,ai as C,ba as X,al as F,O as S,aN as G,aT as E,b3 as N,b4 as U,aQ as Y,aU as q,bR as J}from"./index-e-SZUuyN.js";import{S as w,a as W}from"./sentry-Dla7mstv.js";import{F3 as Z}from"./zeni-epic-state-CSmiPBaP.js";import{n as g}from"./mui-mhzAEcDs.js";import{z as ee,A as te}from"./ReloadCard-crbWeOPP-CXnI4BBC.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-C7rs195d.js";import{H as k,X as O,Y as $,K as L,O as A,Q as ne,S as oe}from"./recharts-BErFcng5.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]="eae6396f-2cc8-4255-8c53-59d1b31133c2",e._sentryDebugIdIdentifier="sentry-dbid-eae6396f-2cc8-4255-8c53-59d1b31133c2")}catch{}})();const ie=g(E)`
1
+ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-AqGiWrum.js";import{S as w,a as Z}from"./sentry-CTKU7CLc.js";import{F3 as J}from"./zeni-epic-state-Cl3KIlic.js";import{n as g}from"./mui-C_Pjuwl5.js";import{A as ee,I as te}from"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.js";import{H as k,X as L,Y as $,K as O,O as A,Q as ne,S as oe}from"./recharts-BGj_NTVO.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]="8971a841-4d94-4e9c-a2f0-ec7a13b6e925",e._sentryDebugIdIdentifier="sentry-dbid-8971a841-4d94-4e9c-a2f0-ec7a13b6e925")}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{aE as M,J as V,V as t,e as x,c as f,b as T,aZ as R,aO as H,aM as Q,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(J,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(q)`
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(W,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(U)`
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(G,{"data-testid":Y("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(U,{children:({height:a,width:m})=>s(m,a)})})})]})})}function K({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(K);const P=(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(X,{"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:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function P({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(P);const 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{aE as M,J as V,V as t,e as x,c as f,b as T,aZ as R,aO as H,aM as Q,o as p
29
29
  height: ${p.sp4};
30
30
  `,xe=g(C)`
31
31
  margin-left: ${p.sp2};
32
- `,ye=g(X)`
32
+ `,ye=g(Y)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
35
  `,be=g(F)`
36
36
  flex: 1 1 0;
37
37
  margin-right: ${p.sp2};
38
- `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=P(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(A,{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(O,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{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=P(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:z}=m;return t.jsx(oe,{x:u+z,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(A,{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(O,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=V();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=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(Q,{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(K,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,K as O,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(A,{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(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{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(A,{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(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{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?Q("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=Z.useState(r?.topExTimePeriod??"last_month"),d=[...J],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(H,{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{Se as E,Ce as I,Ee as L,P as O,ce as c};