@zeniai/web-cockpit-ui 1.15.34-dev → 1.15.35-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 (283) hide show
  1. package/dist/assets/{ACHDetailsPage-DSufuSEI-BugcK5ko.js → ACHDetailsPage-CdyuCPU8-0VceC4Oh.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Df0tJkyd-C5l4T96t.js → AIPerformancePage-GW2UlhRu-Bfc988ot.js} +1 -1
  3. package/dist/assets/AccountInfoPage-BQksD-qN-CQrQ5LJ4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js → AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js → AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js → AccountReconDetailsDrawerPage-CUvBGVmt-CY2NmAYD.js} +1 -1
  7. package/dist/assets/{AccountRow-DtE1mQFq-sRlcgWT1.js → AccountRow-t-WESYF_-BZd9LxDz.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js → AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js → AddAddressForCardDrawer-CpDfjROc-B4piq4St.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B_7pqvLH-CAYlL9WC.js → AddToWalletPage-CPYp6JZP-Cgen85QG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CRFlM3H1-DhYuRisV.js → AgingReportsPage-BRChA3Xv-BV6vq-Aj.js} +3 -3
  12. package/dist/assets/{AllUserItems-LlhM8bBU-N-OwUUn2.js → AllUserItems-CUlWgl79-RT_0EGEc.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js → ApAgingDetailPage-D7u_ghQp-CmtSt3LQ.js} +6 -6
  14. package/dist/assets/{AppBasePage-DRQ76rXe-BbmVnMJF.js → AppBasePage-bvoaHTtg-Bi873Eqq.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CIXhnJBJ-DkcT-gQA.js → AppDrawerContent-DYDi-djG-Cr9HlceI.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js → ApprovalRulesSettingsPage-CGO_GK8B-C3p-mE2c.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BwEspm7G-DNjHaENA.js → ArAgingChart-DBuqIeaR-C9LO_snS.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-Dy9woFr0-Dwalts78.js → ArAgingDetailPage-ALGyVMJV-BsdNBEqd.js} +4 -4
  19. package/dist/assets/{AttachmentView-CF6Tiq1u-ScD4RZ91.js → AttachmentView-BIeDapyc-BG8BqDh9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DyPS4RZK-Bc2VKdEG.js → BankAccountSection-BQKaKFnm-DHGgFmbL.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js → BankAccountWarningSection-DeUkht1G--scnEmUk.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js → BankConnectionsSettingsPage-qldLiM1M-CPdyIAUt.js} +1 -1
  23. package/dist/assets/{BillDetailPage-KSkeLjtu-DDizjGfx.js → BillDetailPage-BPqPHZcD-BcX87XdC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js → BillPayApprovalRuleDetailPage-FW3E7XSE-Bj7z3Fiz.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js → BillPayApprovalRulesPage-BGotlrLK-C4wvOhcK.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CZ34fQRr-h45OCD6V.js → BillPayPromoPage-DvoccD5_-9WUX2zRh.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js → BillPaySetUpPage-DhjIDy8h-D7gIdBq_.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DNmOo0mj-BgBv8nRa.js → BillingSettingsPage-CmO4DZ-a-TmRopedQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js → BillsBulkReviewDrawerPage-4vzF3bG9-C3VxBwnG.js} +1 -1
  30. package/dist/assets/{BoxItem-Dy41mKN9-CZiGGLPk.js → BoxItem-B6i9yx2h-8tTsCvCc.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js → BusinessVerificationPage-DuEh8MkZ-CPUH1p9f.js} +1 -1
  32. package/dist/assets/{CardNumberSubText--wffxyL2-Dzc9wag1.js → CardNumberSubText-BEVRq2PI-CBvs6qd9.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BuywSIvA-Dj0FTjqV.js → CashbackDetailPage--SHtNWGE-D0op8BJu.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js → ChargeCardDetailPage-EFRUpv7y-BxiQ-wFB.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CkqWU4gN-CkHuHVFN.js → ChargeCardListPage-CFB5EHCZ-DwRWhMet.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js → ChargeCardListTable-DM_h-dzr-CxMVtKFB.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js → ChargeCardPaymentHistoryPage-CPZj9te2-acCaXNd-.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-BWwBfycu-CAS6um23.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js → ChargeCardSetupPage-Epn4xe2x-CkUn76sD.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js → ChargeCardStatementsPage-Bu7OdYhw-oLOXCaTu.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js → CheckDepositDrawerPage-DQnqizMV-eQHX-470.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js → CollapsableReportTable-CSVzLWq_-CmmDaO6f.js} +271 -271
  43. package/dist/assets/{CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js → CompanyOfficerDetailsSection-Pwtunf36-D6txAI6l.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js → CompanyPassportCard-DfPPft95-Clb_fVZP.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DtEQ7a68-BZL6spEi.js → CompanyPassportPage-aNL_m3a2-r2mVOoQ8.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DLNtc5N7-B7HW7ybq.js → CompleteProfile-DmeE0Xjt-BcBZ6wma.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B4gz9uC9-BhJEyb5s.js → ConfettiBurst-s04ELXDS-BW01uxDM.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js → ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js → CreateOrEditVendorPage-D3oCIz1P-DTzyUV9b.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js → CreditCardPaymentDrawerPage-DPXaPj4B-1z2GwFLS.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CaQgbP8P-Cqqb_KBc.js → CurrencySelectField-CtKQBmBI-q57973By.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js → CustomerOnboardingActivationPage-DCQvUK8d-CVTcQu6u.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BvOTc4ng.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js → CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BsJw-Ope.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js → CustomerOnboardingNoStepsPage-DQcf1Pyg-DdjDIchQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CSSgj26J-N4cabpr0.js → CustomerOnboardingPage-CLNt38t0-D5-M1y80.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js → CustomerOnboardingProductSuitePage-SyWJAHJ5-DCcbBC8z.js} +1 -1
  58. package/dist/assets/{Dashboard-DPXzM2TM-6t8lQHvd.js → Dashboard-DW6P3oLC-D1tHml1O.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CWgH0Bn9-BvMXyb8g.js → DashboardReportPage-Cp04-QUV-B7AXOtvv.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js → DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js → DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js → DepositAccTransactionListPage-C_GPoFDS-Bnscj1hg.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js → DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js} +1 -1
  64. package/dist/assets/{DownloadOverlay--ICWviQz-Q6tZiS37.js → DownloadOverlay-JdIA_Qvk-wAu7AAW1.js} +1 -1
  65. package/dist/assets/{DrawerPage-DoJkjp69-BGpDDN7R.js → DrawerPage-_F2zRGIo-CQDApgUJ.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-B-zEdQqt-BrFyNgmY.js → EditPeoplePage-Cqd73zkA-moU29OZ-.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js → EditReimbursementDetailPage--T5T_fJG-CaXN1fuc.js} +1 -1
  68. package/dist/assets/EntityDetailPage-CAu9l8_o-DQd9jfhM.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BYP9LNlh-CHZV8J2r.js → EntitySummarySection-D1QM7cY6-BWMV3RUk.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js → ExpenseAutomationOverviewPage-pciCiajG-DOlwLojR.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js → ExpenseAutomationPage-CYKu1ufk-BgHRQ_o6.js} +21 -21
  72. package/dist/assets/{ExpressPayPage-BaLCnmxC-DyZ_NbAE.js → ExpressPayPage-BCMf-60G-DgcplXv5.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-DJvcim4v-B-0y2hox.js → FeaturePreviewPage-Dj5OXPVN-2xodjQZz.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-DiAM2oU9-DVhX1hhq.js → FollowStepsSection-ZwhfJWnC-WC244m2S.js} +1 -1
  75. package/dist/assets/GlobalReviewListPage-AZtnVYVQ-HrXervPX.js +291 -0
  76. package/dist/assets/{InformationCardStack-bDJV8MEl-DKR8Zvn9.js → InformationCardStack-D8cmcS4k-ucNvTFnG.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-Ba7C5_Ql-1E6nbw33.js → InsightsCardStack-CRbYGyti-BG-J4zTW.js} +2 -2
  78. package/dist/assets/{InsightsSection-BFviX80K-CRFJKeH_.js → InsightsSection-B7cEUOjq-CHOA81kF.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js → IntegrationsSettingsPage-Cu70a3gO-qesbn3EL.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js → InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js → InternationalWireVerificationPage-CqpE7nR5-BRwgb-BA.js} +1 -1
  82. package/dist/assets/{InviteFormPage-D3FNgm9B-BwvxtcvY.js → InviteFormPage-BU3bkjN3-DJZLZema.js} +1 -1
  83. package/dist/assets/{InvitePageListView-D4wRSwJW-DPbFsvfR.js → InvitePageListView-BfRPKPse-BUIcdEL2.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DSFk8lEF-DpuHc0lh.js → InvitePeoplePage-DFfZPbsO-DIubZIn-.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js → InvoiceUploadSection-BwqSfbYC-EOja7gNg.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js → IssueChargeCardPage-BB83Aeyd-D9TAck5s.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CUr2BnHq-DfiyDPyB.js → LabeledAddressValue-CK-YJ1cO-BIV6IRFP.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DL3wJoZC-CMggf1RU.js → LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js → LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js → LabeledCountryMultiSelectField-DrZ69tWB--r4Tq0BJ.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js → LabeledCreatableSingleSelectField-D-rSPg1Y-ak5nvuiq.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js → LabeledDocumentField-CBQeAeRc-D56y9oeO.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js → LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js} +1 -1
  94. package/dist/assets/{LabeledText-H1pSTEtd-BHLnDTFr.js → LabeledText-tLPpd4Wp-Cw2ZTitB.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js → LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js → LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js → LinkJETransactionPage-C99UMrwp-9iiMpHD1.js} +1 -1
  98. package/dist/assets/{LockCardPage-lTzQY_pw-BYsKWV6j.js → LockCardPage-DE5Zw1p--CmfozmOj.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-DXPPHYS1-CB0hADnS.js → LowBalancePopup-BD9saCcf-C9aiJowo.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-CbyceRk3.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-DAkBv8v1.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-pCJgKy6F.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js → MagicLinkSuccessPage-BxXyF-Sp-BUdh8eIy.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js → MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-vydT4UOr-DSxQiRSi.js → MailingDetailsSection-F1i0rBkv-CZo5kIPL.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js → MyBankConnectionsSettingsPage-BE1pUnaR-BPnyB1YE.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js → MyPendingActivationChargeCardListPage-CviCM09N-BNRf9wnQ.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js → MyProfileSettingsPage-iREvm7LK-BHFViMqO.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js → NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CeYvXgly-CXWFEDMQ.js → NavigationArrow-CKhWji3v-aZKiVTlV.js} +1 -1
  111. package/dist/assets/{NavigationDots-CXAszOHQ-HtQg6iz5.js → NavigationDots-OShASt5i-Bc5YcJG5.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js → NewGlobalMerchantPage-2-kYqTDF-CV5JZ9Yl.js} +1 -1
  113. package/dist/assets/{NoDataChart-BQdJyfHh-BLmune73.js → NoDataChart-BN3zyJkX-DustlDSJ.js} +1 -1
  114. package/dist/assets/{NoDataTable-B__TVPte-CetA5lza.js → NoDataTable-D0cyK_1j-BWgbh49q.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Cs25xsWz-DnZv-DIM.js → NotFoundPage-yrt6kuPH-CdqbIt8C.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-Dm3zOscr-DKDyywX2.js → NotificationSettingsPage-CX3Hkg6o-D8A68okq.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-D0knaijJ-NyDzwfbC.js → NotificationsListConfig-Cyzhla-8-CBrC2O9h.js} +1 -1
  118. package/dist/assets/{NotificationsPage-czQmfW2r-DksNFGUv.js → NotificationsPage-O7M0pMnc-Bp7VY2al.js} +1 -1
  119. package/dist/assets/OpExByVendorPage-DpMGBmkQ-DaQIIDYq.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-li8hzYjf.js → OverlayContainerPage-D4QU0p4o-BcMNtftY.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js → PandLWithForecastPage-Cbt0YlVL-B7KI2QNo.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js → PaymentAccountSetupBillingAddressSection-B2xEqKKc-DTCpk1kt.js} +1 -1
  123. package/dist/assets/{PeoplePage-DNTbzljs-Bfp0W5JF.js → PeoplePage-CUr5cz1w-B26v5CzR.js} +1 -1
  124. package/dist/assets/{Preview-BsIYoVSv.js → Preview-CEK51ZCO.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CTiD9zA7-D7cEl2bl.js → ProductsCarousel-t8HIs4J6-6BwcwXGL.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BmtlcPBm-DdDmICph.js → PromoBaseCards-6Uh8eokP-Cj1KOyAw.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js → QBOConnectionDialog-BbmqcpYW-rlXtEwUQ.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DevcmmCv-C2NxYIUb.js → QBOSetupSection-u5dKqaH8-Cw9rFHWf.js} +1 -1
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DxSrYBkv-sfO_zxiL.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js → ReimbursementApprovalRulesPage-BL2GpJIG-ByiCWQ8P.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-CMplGhml--7oTvGch.js → ReimbursementDetailPage-D3qTbpPg-6N8BmeyZ.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js → ReimbursementPromoPage-DuwxKGGm-DVNFf58G.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js → ReimbursementSetUpPage-Du4kRXbO-IZ-1Hd0h.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js → ReimbursementsBulkReviewDrawerPage-BmlYoVy4-BYNrk6QR.js} +1 -1
  135. package/dist/assets/{ReloadCard-CI-iJa1w-CU7osnQb.js → ReloadCard-BSiXuJWg-S2NiaAjj.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CM11mXKF-DKJl505X.js → ReportTableViewSelector-KgvX6wt6-CFIrG4n5.js} +1 -1
  137. package/dist/assets/{ReportsPage-DzuQNoMA-ORn4o7l_.js → ReportsPage-Bt24BITW-DoLBuKPr.js} +5 -5
  138. package/dist/assets/{RevenueChart-iDdrXSzX-BD1q5u9E.js → RevenueChart-iH_Xl63n-Bobzdvk9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js → ReviewDetailsPage-CwPsM3uL-DU9meW3Q.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-D39FMx3p-DPQk54i4.js → ReviewOverlay-DOqgOSnM-DIJSsTrl.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-BMEgXHWf-CYv1exk7.js → RoleWithToolTip-D6q4Wd6X-D2UbaxXJ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js → ScheduleDetailsFixedAssetsPage-_bJob_HD-ZRo-OTit.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js → ScheduleDetailsPage-BDZm6We--BmYpydGa.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js → ScheduleSequenceTable-DgG11IBi-DBLZmDeR.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-Bkl-MWfY.js → ScreenRoutes-kiA8eL9x.js} +2 -2
  146. package/dist/assets/{SetUpAccountSection-o86ErvD_-Celwp-jA.js → SetUpAccountSection-n5OCUAL3-B-YthnQt.js} +1 -1
  147. package/dist/assets/{SignIn-BEJNYyp4-O46sF-k3.js → SignIn-uBHaDram-Pp2K_nnI.js} +6 -6
  148. package/dist/assets/{SignInScreen-Dm8Ez_qK.js → SignInScreen-DkxtF7d-.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js → SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js → SpendManagementPerTabPage-BIxGrbmz-CpTcg38p.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-DiQ2QBwA-CGsThSZ0.js → SpendManagementSection-B01H6LCd-7KGohVSJ.js} +1 -1
  152. package/dist/assets/{StatementItem-DGRjrvUi-C8hx1_Sf.js → StatementItem-BJJHaw9s-DKXMQrB-.js} +5 -5
  153. package/dist/assets/{StatementsPage-QqtqM0qv-BBLWtN99.js → StatementsPage-rFpr0w_W-p2OTDAub.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-CfZOeqZf-Bq7fUYSl.js → StatusSwitcher-DnuyzbQo-uFTkU_Rq.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Be1lLunR-CsxeYIuC.js → SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js} +1 -1
  156. package/dist/assets/{SummaryCard-DgBWIctW-CRmTCkt0.js → SummaryCard-CHqc9QHC-DLmlONgW.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CpjN2Ver-BJrGG5WR.js → TaskManagementPage-Cr_KAM2z-B-N5lqS1.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js → TimeRangeSwitcher-DkNMcmBm-BHsVOUJA.js} +11 -11
  159. package/dist/assets/TimeframeSwitcher-CULpyCRj-DpaezwVo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js → TimeframeSwitcherWithToggle-BSx_ynUp-DCoChT3Y.js} +9 -9
  161. package/dist/assets/{TopExCard-Do6O7snc-DLvwuAod.js → TopExCard-B29o-5e0-BWjMLd0Z.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-DFil6Qwx-BWbjM88A.js → TopExDetailPage-TVxgKbn8-Dea8Ndm8.js} +6 -6
  163. package/dist/assets/{TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js → TransactionActivityLogPage-0wmqwFMQ-CtP3S4Ck.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CyTyj91G-B7vb07HE.js → TransactionDetailPage-B9pzvWO8-DN9EJI4L.js} +1 -1
  165. package/dist/assets/{TransactionList-BFDau1I7-BXGXYBFK.js → TransactionList-dUcT29oF-CA_JHn5F.js} +1 -1
  166. package/dist/assets/{TransactionListBig-CVBiekZl-DrGGpH9X.js → TransactionListBig-DMnQfRkS-D1Tzrdsg.js} +1 -1
  167. package/dist/assets/{TransactionListPage-LGgMtr7O-CsGWQiN-.js → TransactionListPage-BB452Nj4-Be3PUtFs.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js → TransactionVendorDetailPage-BCkXd3P2-Dn9bmHZD.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js → TransferDrawerPage-6Rt1ZlJA-J8WRDfD_.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js → TreasuryOverviewPage-CuSfgvcS-Cr1ZHZCL.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js → TreasuryPromoPage-DUi2uBW8-DFXwMQFM.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js → TreasuryStatementsPage-DNhwcfdJ-DHWXKCq1.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js → TreasuryTaxLetterPage-BLIGs8oG-B-EAsmsV.js} +1 -1
  174. package/dist/assets/{TrendChart-JHlBVwXJ-p0u3PrEr.js → TrendChart-KoCvlYmC-ji_PFFB-.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bh619hxZ-B7JEOzSv.js → TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js → UncategorizedAccountsMappingPage-BKdvN3Lh-CF1FrkBZ.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js → UnitIntegrationPage-CQ7270p--BJrqtQBc.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js → UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-ANEIs-J6-BItEW5IN.js → Vendor2FAPopup-DtT11B4h-DSs5WQFV.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-vPAILiGh.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BLZ1wOuB-t2P37a0b.js → VendorDetailPage-2rTQcqZl-BGHBoCgZ.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-CbgEb_pw.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js → VendorFiling1099EditablePage-Cgkipd6r-BOi4aIsg.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-Va76j7QY-Ce_x6xNG.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js → VendorInternationalWireDetailsPage-D0IeqYQZ-CBSHQbo0.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js → VendorInternationalWireSwiftDetailsPage-DZusODVt-CB9jvgle.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-lmuNbtLw-BehIg0cT.js → VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js} +1 -1
  188. package/dist/assets/{VerifyDevice-vhZNITmO-B_CyFx_O.js → VerifyDevice-DFCNFtDD-BiKT2y-c.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DIXs3y0r-C0i3s9oa.js → VideoPlayer-CIr6pCWx-BWEj8qhe.js} +2 -2
  190. package/dist/assets/{VideoPopup-CYL6r3Cb-B0pmnpWo.js → VideoPopup-CoeVMP5D-CZp7ggfX.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-CJ9a931n-DAFMV5EF.js → WarningsDrawerPage-CNBphx6e-DgBF9BD1.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-P86nU628-RfL02yuR.js → ZeniAccountDetailPage-ysMCIpFe-BBrtmzdb.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js → ZeniAccountListViewPage-DUalD7AP-CyveDoV_.js} +15 -15
  194. package/dist/assets/{ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js → ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js → ZeniAccountPromoPage-CUJm-42a-CXuQd7VV.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js → ZeniAccountSetupPage-BTurLFPN-CK5iO6d7.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Baiyxesc-CHFltgTl.js → ZeniCopyright-BTFZ48gh-CtnEsi71.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js → ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DdT9Rn3y.js → add-to-wallet-DgdBD8_G-D1teIsf6.js} +1 -1
  200. package/dist/assets/{analytics-Dm6Rdmk5.js → analytics-DvsRx7_o.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DPMmqDhf.js → analyticsHelper-Bk8gqeLI.js} +1 -1
  202. package/dist/assets/{analyticsHelper-B32z3Cdy-Dk9sCdyO.js → analyticsHelper-lunHUd8g-D5OYaAmT.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cy4oQH64.js → arrow-south-east-round-PEovUgvH-CIyEcJYf.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B6gY8maM.js → auto-transfer-rule-mbafm5D3-CtO92HdQ.js} +1 -1
  205. package/dist/assets/{chartTypes-DL1AC5R1-CSQ4LZOa.js → chartTypes-DESZubWD-Bq3-3C2k.js} +1 -1
  206. package/dist/assets/{commonDimensions-BNYeCJ44-DwWQhbOM.js → commonDimensions-Cpv8YIix-Dpl_2njg.js} +1 -1
  207. package/dist/assets/{commonTypes-DwuUdRAc-CVoF2D5n.js → commonTypes-B1gKMzJK-DEpai8h5.js} +1 -1
  208. package/dist/assets/{constants-MHF6sRcJ.js → constants-B-YZmhKw.js} +1 -1
  209. package/dist/assets/{core-XAP_yXKl.js → core-HDqpewC7.js} +1 -1
  210. package/dist/assets/{dash.all.min-DatMhMWc.js → dash.all.min-kOXiIFTN.js} +1 -1
  211. package/dist/assets/{detailCommon-CzjlHNNr-OLPVPNMD.js → detailCommon-DyrMcL2E-DbZbdMac.js} +2 -2
  212. package/dist/assets/{downloadPdf-CPfBtFli-C5o4QyFD.js → downloadPdf-D2sIdMDR-D6_l0NHH.js} +1 -1
  213. package/dist/assets/{empty-vcyFM9nz.js → empty-DfoIHPwJ.js} +1 -1
  214. package/dist/assets/{empty-Cs2gdmIo.js → empty-Dx0imdfu.js} +1 -1
  215. package/dist/assets/{epic-B8nKq-i6.js → epic-BE_WS1px.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-RzjSa1iy.js → gift-box-Cmt9OgIZ-xM5zrgW4.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js → graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js → graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-FDeEnKd2.js → handshake-BPg58FML-B6X0918N.js} +1 -1
  220. package/dist/assets/{helper-T710NLca-BU35xGXS.js → helper-i78O9ew8-BuDifB0X.js} +1 -1
  221. package/dist/assets/{index-LuFlN8FP.js → index-B7uDjLxh.js} +1 -1
  222. package/dist/assets/{index-CrlTOcjY.js → index-Bdy6x472.js} +1 -1
  223. package/dist/assets/{index-DSJ6HKL8.js → index-BmIGxAWd.js} +1 -1
  224. package/dist/assets/{index-t-uTuAYw.js → index-D0CQgP0w.js} +1 -1
  225. package/dist/assets/{index-D9vmx-FC.js → index-DAitESaL.js} +1 -1
  226. package/dist/assets/{index-DIT7C2zP.js → index-Depa7Syu.js} +1 -1
  227. package/dist/assets/{index-C9hDAJ7o.js → index-Dw_MX6AZ.js} +11 -11
  228. package/dist/assets/{lexical-CgNStNGD.js → lexical-CWcQ8pGO.js} +1 -1
  229. package/dist/assets/{liveblocks-NP7ye8lf.js → liveblocks-Dv7Vdu8a.js} +1 -1
  230. package/dist/assets/{lottie-DhXcx4Hv.js → lottie-V1lTNkDB.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-COG82OfJ-0ZJxCNAO.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js → mapSectionWithAcOnlyToTreeNode-CjVZw324-Cy37hN-j.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-C6UHQCJ6.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-CXn5QSNs.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-C-ELqPB7.js +1 -0
  237. package/dist/assets/{mui-BQR0Ruo4.js → mui-DdxImnN0.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BBbQvoIw.js → page-detail-CWX5S47F-5PyHJMJh.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-V1yMMv-q.js → panelSelectedMixin-Cddsb26L-gr9HWaHB.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-OYLDx768.js → radio-default-CiSgisfh-LTUMKU8Y.js} +1 -1
  241. package/dist/assets/{react-BL2s-aF_.js → react-BNr0aXGm.js} +1 -1
  242. package/dist/assets/{react-CvT9aEmE.js → react-CUY5EDxC.js} +1 -1
  243. package/dist/assets/{react-Cp-6oWln.js → react-Cjks14mZ.js} +1 -1
  244. package/dist/assets/{react-DcMbwERn.js → react-DYqwvMeX.js} +2 -2
  245. package/dist/assets/{react-Du36QLI3.js → react-DbLm8gms.js} +1 -1
  246. package/dist/assets/{react-CUdUBRF6.js → react-OxQ1eBeR.js} +1 -1
  247. package/dist/assets/{react-72w_Kluy.js → react-omDkrKl-.js} +1 -1
  248. package/dist/assets/{react-CX9OzKa9.js → react-pyJg34N2.js} +1 -1
  249. package/dist/assets/{recharts-DkFolWRg.js → recharts-Djp9a38d.js} +1 -1
  250. package/dist/assets/{sentry-Ckvw8Zf1.js → sentry-DBSEoG3b.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-rM_NpNHL.js → shield-DOlUxcFf-BOPfGBnx.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js +1 -0
  253. package/dist/assets/{toChartData-8r0AvOIP-Dhy8B0ZL.js → toChartData-BQYX2C7n-DbxCO4-E.js} +1 -1
  254. package/dist/assets/{uploadAttachment-CTXeI85v-BVATkq8k.js → uploadAttachment-C3cElL9m-QbAR0kQd.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-nRZK_a0M.js → uploadReceipts-Dge0cNF1-BifC32F3.js} +1 -1
  256. package/dist/assets/{url-D8pFj_Ts.js → url-BmxmWAZl.js} +1 -1
  257. package/dist/assets/{url-DCwOBFCk.js → url-DITb-guK.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BkrNXw3e.js → useLongPress-GCK2COYQ-CaFh8omD.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-54Q8nh58.js → usp-line-BBd1wKwW-CpqqX4MO.js} +1 -1
  260. package/dist/assets/{utils-B4eJ0QQL.js → utils-rIQAYtge.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BnsQ52n7.js → zeni-epic-state-1oOVJQJ4.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +2 -2
  264. package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +0 -18
  265. package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +0 -222
  266. package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +0 -1
  267. package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +0 -18
  268. package/dist/assets/GlobalReviewListPage-DFhcVK4y-DV_nZHys.js +0 -291
  269. package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +0 -1
  270. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +0 -1
  271. package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +0 -1
  272. package/dist/assets/OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js +0 -100
  273. package/dist/assets/ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js +0 -32
  274. package/dist/assets/TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js +0 -31
  275. package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +0 -1
  277. package/dist/assets/VendorFirstReviewPage-DJap4HA2-DP0KML1b.js +0 -730
  278. package/dist/assets/mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js +0 -1
  279. package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +0 -1
  281. package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +0 -1
  282. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +0 -1
  283. package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as Kt,cH as Vt,J as X,l3 as Wt,V as t,ad as Ut,cr as Ht,cs as Gt,ct as qt,aS as Jt,o as i,F as te,ce as Yt,cn as lt,ga as Zt,b4 as Qt,cv as Xt,iV as ei,iW as ti,k as ii,bU as Z,bP as oi,aU as li,x as m,y as qe,gb as ni,l4 as ri,p as Q,d0 as si,an as W,am as O,aj as ae,l5 as ai,fe as di,l6 as ci,l7 as bt,l8 as xt,kd as pi,l9 as mi,la as ui,bS as ft,w as Be,ab as ee,ax as Je,gN as Ye,a8 as Ze,gn as Qe,cL as wt,lb as $t,lc as Ie,aP as ze,ld as Xe,aL as we,j2 as vt,j3 as St,le as kt,j1 as Pt,cB as Tt,cE as Ct,lf as E,lg as jt,gz as _t,c$ as Bt,dw as et,u as p}from"./index-C9hDAJ7o.js";import{a as _,P as It}from"./sentry-Ckvw8Zf1.js";import{n as o,c as J}from"./mui-BQR0Ruo4.js";import{GK as Pe,Gq as Te,FT as Le,bp as zt}from"./zeni-epic-state-BnsQ52n7.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-CfZOeqZf-Bq7fUYSl.js";import{d as Lt}from"./useLongPress-GCK2COYQ-BkrNXw3e.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ff9a9787-43b3-4373-8233-1c94af61fda2",e._sentryDebugIdIdentifier="sentry-dbid-ff9a9787-43b3-4373-8233-1c94af61fda2")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Ae={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},De={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Re={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[Ae,De,bi,it,Re],fi=[Ae,De,tt,it,Re],wi=[Ae,De,tt,it,Re],$i=[Ae,De,tt,xi,Re],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,St)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),h=X(),[y,x]=_.useState(zi(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let g=n;r.sortKey===s&&(g=n==="ascending"?"descending":"ascending"),d?.(s,g)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return h==="small"?t.jsxs(nt,{windowSize:h,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Ii,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:h,children:y.map(s=>t.jsxs(ki,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:h,children:[t.jsxs(Bi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(_i,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Pi,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(vi),nt=o(ae)`
1
+ import{a9 as Kt,cH as Vt,J as X,l3 as Wt,V as t,ad as Ut,cr as Ht,cs as Gt,ct as qt,aS as Jt,o as i,F as te,ce as Yt,cn as lt,ga as Zt,b4 as Qt,cv as Xt,iV as ei,iW as ti,k as ii,bU as Z,bP as oi,aU as li,x as m,y as qe,gb as ni,l4 as ri,p as Q,d0 as si,an as W,am as O,aj as ae,l5 as ai,fe as di,l6 as ci,l7 as bt,l8 as xt,kd as pi,l9 as mi,la as ui,bS as ft,w as Be,ab as ee,ax as Je,gN as Ye,a8 as Ze,gn as Qe,cL as wt,lb as $t,lc as Ie,aP as ze,ld as Xe,aL as we,j2 as vt,j3 as St,le as kt,j1 as Pt,cB as Tt,cE as Ct,lf as E,lg as jt,gz as _t,c$ as Bt,dw as et,u as p}from"./index-Dw_MX6AZ.js";import{a as _,P as It}from"./sentry-DBSEoG3b.js";import{n as o,c as J}from"./mui-DdxImnN0.js";import{GK as Pe,Gq as Te,FT as Le,bp as zt}from"./zeni-epic-state-1oOVJQJ4.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-DnuyzbQo-uFTkU_Rq.js";import{d as Lt}from"./useLongPress-GCK2COYQ-CaFh8omD.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a5284d1f-da06-48c8-9eec-c495a8960209",e._sentryDebugIdIdentifier="sentry-dbid-a5284d1f-da06-48c8-9eec-c495a8960209")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Ae={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},De={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Re={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[Ae,De,bi,it,Re],fi=[Ae,De,tt,it,Re],wi=[Ae,De,tt,it,Re],$i=[Ae,De,tt,xi,Re],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,St)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),h=X(),[y,x]=_.useState(zi(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let g=n;r.sortKey===s&&(g=n==="ascending"?"descending":"ascending"),d?.(s,g)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return h==="small"?t.jsxs(nt,{windowSize:h,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Ii,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:h,children:y.map(s=>t.jsxs(ki,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:h,children:[t.jsxs(Bi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(_i,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Pi,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(vi),nt=o(ae)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -1,4 +1,4 @@
1
- import{J as B,y as D,V as o,cp as H,o as r,ab as N,k as te,h5 as ue,u as R,i as he,w as oe,bI as re,F as j,x as ne,h6 as ge,c4 as me,h7 as fe,d1 as le,bJ as A,bb as ye,aj as ae,h8 as xe,bH as se,ax as be,h9 as Ce,ha as we,am as V,ba as ve,hb as $e,az as je,hc as Se,p as ke,d0 as Oe,bP as Ie,g4 as Le,hd as Ee,a as W,b as _e,g5 as Ae,aU as Te}from"./index-C9hDAJ7o.js";import{a}from"./sentry-Ckvw8Zf1.js";import{n as l,k as Fe}from"./mui-BQR0Ruo4.js";import{F_ as Me,F$ as Re,FX as Be,FY as De,FZ as ze,FW as Pe}from"./zeni-epic-state-BnsQ52n7.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]="94c59ba8-cd7c-4ac9-9713-fd9adcee331f",e._sentryDebugIdIdentifier="sentry-dbid-94c59ba8-cd7c-4ac9-9713-fd9adcee331f")}catch{}})();const He=l.div`
1
+ import{J as B,y as D,V as o,cp as H,o as r,ab as N,k as te,h5 as ue,u as R,i as he,w as oe,bI as re,F as j,x as ne,h6 as ge,c4 as me,h7 as fe,d1 as le,bJ as A,bb as ye,aj as ae,h8 as xe,bH as se,ax as be,h9 as Ce,ha as we,am as V,ba as ve,hb as $e,az as je,hc as Se,p as ke,d0 as Oe,bP as Ie,g4 as Le,hd as Ee,a as W,b as _e,g5 as Ae,aU as Te}from"./index-Dw_MX6AZ.js";import{a}from"./sentry-DBSEoG3b.js";import{n as l,k as Fe}from"./mui-DdxImnN0.js";import{F_ as Me,F$ as Re,FX as Be,FY as De,FZ as ze,FW as Pe}from"./zeni-epic-state-1oOVJQJ4.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]="94c59ba8-cd7c-4ac9-9713-fd9adcee331f",e._sentryDebugIdIdentifier="sentry-dbid-94c59ba8-cd7c-4ac9-9713-fd9adcee331f")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -1,6 +1,6 @@
1
- import{J as b,hO as $,V as o,F as g,k as S,o as a,am as v,x as z,c4 as k,u as j}from"./index-C9hDAJ7o.js";import{a as I}from"./sentry-Ckvw8Zf1.js";import{n}from"./mui-BQR0Ruo4.js";import{g as T}from"./BoxItem-Dy41mKN9-CZiGGLPk.js";import{w as D}from"./downloadPdf-CPfBtFli-C5o4QyFD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="28fb8e9f-b4ca-48fc-88ce-5047182ed0b8",e._sentryDebugIdIdentifier="sentry-dbid-28fb8e9f-b4ca-48fc-88ce-5047182ed0b8")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(j[4],20)},P=n.div`
1
+ import{J as $,hO as b,V as o,F as g,k as S,o as r,am as v,x as z,c4 as k,u as j}from"./index-Dw_MX6AZ.js";import{a as I}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import{g as T}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{w as D}from"./downloadPdf-D2sIdMDR-D6_l0NHH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ad43ca7e-4994-4150-9dd4-eaa8b9d2db99",e._sentryDebugIdIdentifier="sentry-dbid-ad43ca7e-4994-4150-9dd4-eaa8b9d2db99")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(j[4],20)},P=n.div`
2
2
  display: flex;
3
- padding: ${a.sp3} ${a.sp4};
3
+ padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
5
5
  width: 100%;
6
6
  `,L=n.div`
@@ -12,8 +12,8 @@ import{J as b,hO as $,V as o,F as g,k as S,o as a,am as v,x as z,c4 as k,u as j}
12
12
  display: -webkit-box;
13
13
  -webkit-box-orient: vertical;
14
14
  -webkit-line-clamp: 1;
15
- margin-left: ${a.sp2};
16
- max-height: ${a.sp11};
15
+ margin-left: ${r.sp2};
16
+ max-height: ${r.sp11};
17
17
  text-overflow: ellipsis;
18
18
  word-break: break-word;
19
19
  text-align: left;
@@ -28,4 +28,4 @@ import{J as b,hO as $,V as o,F as g,k as S,o as a,am as v,x as z,c4 as k,u as j}
28
28
  &:hover {
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
- `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:r="statement",boxType:c}){const[m,p]=I.useState(!1),w=b(),u=r==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=r==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${$(t.title.month)}`,format:"pdf"},x=o.jsx(P,{children:o.jsxs(L,{children:[o.jsx(B,{children:u}),o.jsx(C,{onClick:()=>D(r==="treasuryStatement"||r==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(T,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{R as O};
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:m,downloadEndPoint:s,documentType:a="statement",boxType:c}){const[f,p]=I.useState(!1),w=$(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(P,{children:o.jsxs(L,{children:[o.jsx(B,{children:u}),o.jsx(C,{onClick:()=>D(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,m,p),children:f?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(T,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -1,4 +1,4 @@
1
- import{y as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cv as D,x as E,u as f,am as T}from"./index-C9hDAJ7o.js";import{a as b}from"./sentry-Ckvw8Zf1.js";import{n as o}from"./mui-BQR0Ruo4.js";import{$ as B}from"./BoxItem-Dy41mKN9-CZiGGLPk.js";import{o as L}from"./commonDimensions-BNYeCJ44-DwWQhbOM.js";import{O as M}from"./StatementItem-DGRjrvUi-C8hx1_Sf.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./downloadPdf-CPfBtFli-C5o4QyFD.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]="cc6062b3-efdf-4e9f-8117-962eb4df341f",e._sentryDebugIdIdentifier="sentry-dbid-cc6062b3-efdf-4e9f-8117-962eb4df341f")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(f[3],f[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const $=S(),d=I(),k=b.createRef(),c=b.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:s,style:a})=>{const l=i.statements[s];return h===!1?t.jsx(g,{windowSize:d,style:{...a,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:B(s,i.statements.length)},l.id)}):t.jsx(O,{style:{...a},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:u.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:s,width:a})=>t.jsx(H,{ref:k,height:s,width:a,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
1
+ import{y as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cv as D,x as E,u as f,am as T}from"./index-Dw_MX6AZ.js";import{a as u}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{$ as B}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{o as L}from"./commonDimensions-Cpv8YIix-Dpl_2njg.js";import{O as M}from"./StatementItem-BJJHaw9s-DKXMQrB-.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-D6_l0NHH.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]="2e421811-ba4c-46c5-9d1c-790f0444ff2f",e._sentryDebugIdIdentifier="sentry-dbid-2e421811-ba4c-46c5-9d1c-790f0444ff2f")}catch{}})();const b=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(f[3],f[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const $=S(),d=I(),k=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:B(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:b.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:b.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(H,{ref:k,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{J as $,ce as T,V as d,F as v,x as h,o as s,u as c,aj as _}from"./index-C9hDAJ7o.js";import{n as u,c as m}from"./mui-BQR0Ruo4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="736a9a20-eba8-4fe8-908b-f7477b25c721",e._sentryDebugIdIdentifier="sentry-dbid-736a9a20-eba8-4fe8-908b-f7477b25c721")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{J as $,ce as T,V as d,F as v,x as h,o as s,u as c,aj as _}from"./index-Dw_MX6AZ.js";import{n as u,c as m}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="736a9a20-eba8-4fe8-908b-f7477b25c721",e._sentryDebugIdIdentifier="sentry-dbid-736a9a20-eba8-4fe8-908b-f7477b25c721")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,k as u,o as s,aj as f,a_ as g}from"./index-C9hDAJ7o.js";import{n as r,c}from"./mui-BQR0Ruo4.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]="72e485d0-9644-48d8-90f5-667af84f0faf",e._sentryDebugIdIdentifier="sentry-dbid-72e485d0-9644-48d8-90f5-667af84f0faf")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(b,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
1
+ import{V as i,k as u,o as s,aj as f,a_ as g}from"./index-Dw_MX6AZ.js";import{n as r,c}from"./mui-DdxImnN0.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]="72e485d0-9644-48d8-90f5-667af84f0faf",e._sentryDebugIdIdentifier="sentry-dbid-72e485d0-9644-48d8-90f5-667af84f0faf")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(b,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-C9hDAJ7o.js";import{E as r,T as t}from"./ReloadCard-CI-iJa1w-CU7osnQb.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="5491cd94-66a2-4338-a676-b195f0965fbd",d._sentryDebugIdIdentifier="sentry-dbid-5491cd94-66a2-4338-a676-b195f0965fbd")}catch{}})();const c=d=>{function e(){return d.card.fetchState==="In-Progress"||d.card.fetchState==="Not-Started"?n.jsx(r,{dimension:d.card.dimension,animated:!d.card.disableAnimations}):d.card.fetchState==="Error"?n.jsx(t,{dimension:d.card.dimension,cardType:d.card.cardType,cardIndex:d.card.cardIndex,onReloadData:d.actions.onReloadData}):n.jsx("div",{children:d.children})}return n.jsx("div",{children:e()})};export{c};
1
+ import{V as n}from"./index-Dw_MX6AZ.js";import{E as r,T as t}from"./ReloadCard-BSiXuJWg-S2NiaAjj.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="39c798b4-3155-435d-9c7b-95f48da63fde",d._sentryDebugIdIdentifier="sentry-dbid-39c798b4-3155-435d-9c7b-95f48da63fde")}catch{}})();const a=d=>{function e(){return d.card.fetchState==="In-Progress"||d.card.fetchState==="Not-Started"?n.jsx(r,{dimension:d.card.dimension,animated:!d.card.disableAnimations}):d.card.fetchState==="Error"?n.jsx(t,{dimension:d.card.dimension,cardType:d.card.cardType,cardIndex:d.card.cardIndex,onReloadData:d.actions.onReloadData}):n.jsx("div",{children:d.children})}return n.jsx("div",{children:e()})};export{a as c};
@@ -1,4 +1,4 @@
1
- import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as yt,ce as bt,J as le,a9 as jt,x as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,b as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,w as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-C9hDAJ7o.js";import{a as n}from"./sentry-Ckvw8Zf1.js";import{n as o,c as fe}from"./mui-BQR0Ruo4.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-BnsQ52n7.js";import{J as os,t as ns}from"./SpendManagementSection-DiQ2QBwA-CGsThSZ0.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-D0knaijJ-NyDzwfbC.js";import{a as ds}from"./SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./StatusSwitcher-CfZOeqZf-Bq7fUYSl.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]="9cedfc52-74b9-49de-af90-857b181aac78",e._sentryDebugIdIdentifier="sentry-dbid-9cedfc52-74b9-49de-af90-857b181aac78")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,y=Math.pow(G,u)*h;return Math.max(g,y)},k=(m,G,y)=>{const I=y==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,y=p;if(y<c&&y>0){const I=c-y,M=E(I);k(m,M,"up")}else if(y>G-c){const I=y-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
1
+ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as bt,ce as yt,J as le,a9 as jt,x as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,b as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,w as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-Dw_MX6AZ.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as o,c as fe}from"./mui-DdxImnN0.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-1oOVJQJ4.js";import{J as os,t as ns}from"./SpendManagementSection-B01H6LCd-7KGohVSJ.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-Cyzhla-8-CBrC2O9h.js";import{a as ds}from"./SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./StatusSwitcher-DnuyzbQo-uFTkU_Rq.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]="853620bb-bfd5-4f35-b01f-faa41c5494be",e._sentryDebugIdIdentifier="sentry-dbid-853620bb-bfd5-4f35-b01f-faa41c5494be")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,b=Math.pow(G,u)*h;return Math.max(g,b)},k=(m,G,b)=>{const I=b==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,b=p;if(b<c&&b>0){const I=c-b,M=E(I);k(m,M,"up")}else if(b>G-c){const I=b-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -44,7 +44,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
44
44
  `,$s=o(Je)`
45
45
  width: ${s.sp3};
46
46
  height: ${s.sp3};
47
- `,ys=oe.getLocalizedStrings().taskManagement.taskList.footer;function bs({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:g,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),g(p.id)};return t.jsx(Pe,{onClick:i,children:t.jsx(ie,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Pe,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(ie,{children:ys.createGroup})]})})]})})}const js=o.div`
47
+ `,bs=oe.getLocalizedStrings().taskManagement.taskList.footer;function ys({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:g,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),g(p.id)};return t.jsx(Pe,{onClick:i,children:t.jsx(ie,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Pe,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(ie,{children:bs.createGroup})]})})]})})}const js=o.div`
48
48
  background-color: ${e=>e.theme.colors.grey5};
49
49
  `,Pe=o.div`
50
50
  padding: ${s.sp2} ${s.sp3};
@@ -243,7 +243,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
243
243
  text-overflow: ellipsis;
244
244
  white-space: nowrap;
245
245
  max-width: 336px;
246
- `,{common:Le,dateFormat:uo,taskManagement:De}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:j,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?j(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Yt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(qt,{name:Ae(r,e.id,we),placeholder:De.common.timeSpentPlaceholder,timeSpentFormat:De.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>Jt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:j,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[z,B]=n.useState(null),A=le(),{setFocus:D}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{B(f.currentTarget)},[]),y=n.useCallback(()=>{B(null)},[]),I=n.useCallback(()=>{j(e.id)},[j,e.id]),M=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),x=n.useCallback(()=>{D(`${r}.groupName`),y()},[y,r,D]);return t.jsxs(go,{windowSize:A,children:[t.jsx(_,{controller:h,children:t.jsxs(Co,{children:[t.jsxs(To,{children:[t.jsx($o,{isOpen:a===!1,onClick:m,children:t.jsx(yo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:De.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:f=>_t(f,e.id,p)===!1},isDisabled:g&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(bo,{onClick:G,children:t.jsx(jo,{})}),t.jsx(Ut,{onClose:y,onAddTask:I,onCollapseAll:T,onDelete:M,onExpandAll:c,onRename:x,isDefault:e.isDefault,anchorEl:z})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Vt,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(f=>{const Y=()=>{E(f.id)};return{label:t.jsx(ho,{taskDetail:f,onRowClick:Y,tagList:d,onTimeSpentUpdate:C,onShowToast:w,sectionId:r}),prefix:A==="small"?null:t.jsx(vo,{children:t.jsx(So,{})}),value:f.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},go=o.div`
246
+ `,{common:Le,dateFormat:uo,taskManagement:De}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:j,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?j(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Yt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(qt,{name:Ae(r,e.id,we),placeholder:De.common.timeSpentPlaceholder,timeSpentFormat:De.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>Jt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:j,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[z,B]=n.useState(null),A=le(),{setFocus:D}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{B(f.currentTarget)},[]),b=n.useCallback(()=>{B(null)},[]),I=n.useCallback(()=>{j(e.id)},[j,e.id]),M=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),x=n.useCallback(()=>{D(`${r}.groupName`),b()},[b,r,D]);return t.jsxs(go,{windowSize:A,children:[t.jsx(_,{controller:h,children:t.jsxs(Co,{children:[t.jsxs(To,{children:[t.jsx($o,{isOpen:a===!1,onClick:m,children:t.jsx(bo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:De.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:f=>_t(f,e.id,p)===!1},isDisabled:g&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(yo,{onClick:G,children:t.jsx(jo,{})}),t.jsx(Ut,{onClose:b,onAddTask:I,onCollapseAll:T,onDelete:M,onExpandAll:c,onRename:x,isDefault:e.isDefault,anchorEl:z})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Vt,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(f=>{const Y=()=>{E(f.id)};return{label:t.jsx(ho,{taskDetail:f,onRowClick:Y,tagList:d,onTimeSpentUpdate:C,onShowToast:w,sectionId:r}),prefix:A==="small"?null:t.jsx(vo,{children:t.jsx(So,{})}),value:f.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},go=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -305,11 +305,11 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
305
305
  `,$o=o.div`
306
306
  cursor: pointer;
307
307
  transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
308
- `,yo=o(et)`
308
+ `,bo=o(et)`
309
309
  width: ${s.sp3};
310
310
  height: ${s.sp3};
311
311
  color: ${e=>e.theme.colors.primary};
312
- `,bo=o.div`
312
+ `,yo=o.div`
313
313
  cursor: pointer;
314
314
  `,jo=o(Kt)`
315
315
  width: ${s.sp3};
@@ -430,7 +430,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
430
430
  column-gap: ${s.sp2};
431
431
  `,Fo=o.div`
432
432
  max-width: ${s.sp11};
433
- `,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Xe},taskManagement:Ne}=oe.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:j,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:z,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:A,onTaskGroupRename:D,analytics:m,onTimeSpentUpdate:G,onShowToast:y,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[Y,X]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:ye}=e,{tagList:be}=d,je=Ze(),ve=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),v=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:ve,onSearchTextChanged:j,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&X(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(qo,{children:[t.jsx(Jo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&ye.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Uo,{taskListView:e,tagList:be,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:z,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:X,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:D,onTimeSpentUpdate:G,onShowToast:y,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,onNewTaskInitialization:v,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Yo,{children:ht()}),t.jsx(_,{controller:Y===!0,children:t.jsx(wt,{action:{onOkClick:b,onCancelClick:()=>{X(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:j,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D})=>{const m=n.useRef(null);bt({componentName:"task.management.list"});const[G,y]=n.useState(null),I=n.useRef({}),M=le(),{localData:x,taskGroupsWithTasksList:f,uiState:Y}=e,[X,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:M!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],v=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return v.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),v},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>X.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(M):(as*1+rs)*3+is+ls,[X,Z,M]),Ce=n.useCallback(l=>{y(l.currentTarget)},[]),de=n.useCallback((l,v)=>{I.current={...I.current,[l]:v},m.current?.resetAfterIndex(0,!0)},[M,m,f]),he=n.useCallback(l=>{ee(v=>v.includes(l)?v.filter(O=>l!==O):[...v,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{y(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?q():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,q,c,g]),ye=n.useCallback(()=>{u(null),T()},[T,u]),be=n.useCallback(l=>{T(),u(l)},[T,u]),je=n.useCallback(()=>{x.defaultTaskGroupId!=null&&j(x.defaultTaskGroupId)},[j,x.defaultTaskGroupId]),ve=async(l,v)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=v[U][re][S].priority.selectedOption;if(L!=null&&R!=null){const b=dt.find($=>$.code===R);b!=null&&h(L,{priority:b})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=v[U][re][S].status.selectedOption;if(L!=null&&R!=null){const b=ct.find($=>$.code===R);L!=null&&b!=null&&h(L,{status:b})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&b!=null&&L!=null&&h(L,{assignees:b});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].dueDate.date;R!=null&&b!=null&&L!=null&&h(L,{dueDate:b});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].tags.selectedOptions;R!=null&&b!=null&&L!=null&&h(L,{tagIds:b});return}l.includes(we)&&ne.trigger(l);const O=Xo(l,v,x);p(O)};n.useEffect(()=>{const l=ne.watch((v,{name:O})=>{O!=null&&v!=null&&vt(()=>ve(O,v))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:M,children:t.jsx(Gt,{children:({height:l,width:v})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:v,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:Y,collapsedGroups:X,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D},initialScrollOffset:0,children:Vo})})})})}),ge?t.jsx(Et,{formId:Ke(ze),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:M==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:je})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(bs,{taskGroupsList:f,anchorEl:G,groupByKey:Y.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:j,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,handleOnDragNDrop:B,onRenameClick:A,userList:D,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");B(F,a[e].id)},[B,e,a]),Y=n.useCallback(P=>{P.preventDefault()},[]),X=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:Y,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,selectedRowIds:m,userList:D,existingTaskGroupNamesByGroupId:G,onDragStart:X,onRenameClick:ee,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:j,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,onDragStart:B,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const y=le(),I=y==="medium-regular"||y==="medium-compact"||y==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:U,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})},Ye=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Mt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[U]:a}},Xo=(e,d,r)=>{if(e.includes(U)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[U].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[U].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[U][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Yo=o.div`
433
+ `,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Xe},taskManagement:Ne}=oe.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:j,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:z,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:A,onTaskGroupRename:D,analytics:m,onTimeSpentUpdate:G,onShowToast:b,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[Y,X]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:be}=e,{tagList:ye}=d,je=Ze(),ve=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),v=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:ve,onSearchTextChanged:j,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),y=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&X(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(qo,{children:[t.jsx(Jo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&be.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Uo,{taskListView:e,tagList:ye,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:z,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:X,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:D,onTimeSpentUpdate:G,onShowToast:b,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,onNewTaskInitialization:v,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Yo,{children:ht()}),t.jsx(_,{controller:Y===!0,children:t.jsx(wt,{action:{onOkClick:y,onCancelClick:()=>{X(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:j,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D})=>{const m=n.useRef(null);yt({componentName:"task.management.list"});const[G,b]=n.useState(null),I=n.useRef({}),M=le(),{localData:x,taskGroupsWithTasksList:f,uiState:Y}=e,[X,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:M!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],v=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return v.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),v},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>X.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(M):(as*1+rs)*3+is+ls,[X,Z,M]),Ce=n.useCallback(l=>{b(l.currentTarget)},[]),de=n.useCallback((l,v)=>{I.current={...I.current,[l]:v},m.current?.resetAfterIndex(0,!0)},[M,m,f]),he=n.useCallback(l=>{ee(v=>v.includes(l)?v.filter(O=>l!==O):[...v,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{b(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?q():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,q,c,g]),be=n.useCallback(()=>{u(null),T()},[T,u]),ye=n.useCallback(l=>{T(),u(l)},[T,u]),je=n.useCallback(()=>{x.defaultTaskGroupId!=null&&j(x.defaultTaskGroupId)},[j,x.defaultTaskGroupId]),ve=async(l,v)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[U][re][S].priority.selectedOption;if(L!=null&&R!=null){const y=dt.find($=>$.code===R);y!=null&&h(L,{priority:y})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[U][re][S].status.selectedOption;if(L!=null&&R!=null){const y=ct.find($=>$.code===R);L!=null&&y!=null&&h(L,{status:y})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&y!=null&&L!=null&&h(L,{assignees:y});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].dueDate.date;R!=null&&y!=null&&L!=null&&h(L,{dueDate:y});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].tags.selectedOptions;R!=null&&y!=null&&L!=null&&h(L,{tagIds:y});return}l.includes(we)&&ne.trigger(l);const O=Xo(l,v,x);p(O)};n.useEffect(()=>{const l=ne.watch((v,{name:O})=>{O!=null&&v!=null&&vt(()=>ve(O,v))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:M,children:t.jsx(Gt,{children:({height:l,width:v})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:v,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:Y,collapsedGroups:X,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D},initialScrollOffset:0,children:Vo})})})})}),ge?t.jsx(Et,{formId:Ke(ze),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:be},helperContainerStyle:M==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:je})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(ys,{taskGroupsList:f,anchorEl:G,groupByKey:Y.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:j,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,handleOnDragNDrop:B,onRenameClick:A,userList:D,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");B(F,a[e].id)},[B,e,a]),Y=n.useCallback(P=>{P.preventDefault()},[]),X=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:Y,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,selectedRowIds:m,userList:D,existingTaskGroupNamesByGroupId:G,onDragStart:X,onRenameClick:ee,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:j,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,onDragStart:B,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const b=le(),I=b==="medium-regular"||b==="medium-compact"||b==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:U,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})},Ye=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Mt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[U]:a}},Xo=(e,d,r)=>{if(e.includes(U)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[U].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[U].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[U][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Yo=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
436
  `,Zo=o.div`
@@ -464,7 +464,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
464
464
  &:hover {
465
465
  color: ${e=>e.theme.colors.primary};
466
466
  }
467
- `,en=o(yt)`
467
+ `,en=o(bt)`
468
468
  margin-top: ${s.sp3};
469
469
  color: ${e=>e.theme.colors.hero};
470
470
  `,tn=o.div`
@@ -1,4 +1,4 @@
1
- import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-C9hDAJ7o.js";import{a as n}from"./sentry-Ckvw8Zf1.js";import{n as g}from"./mui-BQR0Ruo4.js";import{Y as q}from"./core-XAP_yXKl.js";import{V as U}from"./CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.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]="da07879b-cbdd-466f-a1db-5ee0d58c35bf",e._sentryDebugIdIdentifier="sentry-dbid-da07879b-cbdd-466f-a1db-5ee0d58c35bf")}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,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-Dw_MX6AZ.js";import{a as n}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{Y as q}from"./core-HDqpewC7.js";import{O as U}from"./CollapsableReportTable-CSVzLWq_-CmmDaO6f.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]="fa90c685-77d9-4308-83b1-9f4ea834a760",e._sentryDebugIdIdentifier="sentry-dbid-fa90c685-77d9-4308-83b1-9f4ea834a760")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-C9hDAJ
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${c.sp0};
29
+ left: ${c.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-C9hDAJ
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${c.sp2};
38
+ border-left: ${c.sp0};
39
+ border-right: ${c.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${c.sp2};
43
+ border-left: ${c.sp0};
44
+ border-right: ${c.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${c.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-C9hDAJ
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:l,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:U(s,r,l)})})}function ne(e,s,l,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(i,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[i,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=i;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,i]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},V=(o,c)=>{const m=ne(E.x,c.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},D=({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:l,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-i.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(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:l,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:U(s,r,l)})})}function ne(e,s,l,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,O]=n.useState(a.highlightedOfSelectedTicks),C=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:C,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(i,o)){T(o);const d=o.startIndex*h;F({x:d,y:0})}S(y,a.highlightedOfSelectedTicks)||O(a.highlightedOfSelectedTicks)},[i,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=i;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,i]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},D=(o,d)=>{const m=ne(E.x,d.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},R=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:Y}=y,_=o>=v&&o<v+Y;return t.jsx("div",{style:{...d},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:_,onClick:P},o)})},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:R}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(V,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(B,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
@@ -0,0 +1,31 @@
1
+ import{V as r,o as t,aj as p,F as u}from"./index-Dw_MX6AZ.js";import{n as d}from"./mui-DdxImnN0.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]="7cef7fb4-ab16-4933-badc-5cef595225cd",e._sentryDebugIdIdentifier="sentry-dbid-7cef7fb4-ab16-4933-badc-5cef595225cd")}catch{}})();const g=d.div`
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ background-color: ${e=>e.theme.colors.background};
6
+ padding: ${t.sp1};
7
+ border-radius: 10px;
8
+ max-width: 100%;
9
+ overflow-x: auto;
10
+ overflow-y: hidden;
11
+ white-space: nowrap;
12
+ `,b=d.div`
13
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
14
+ &:hover {
15
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
16
+ }
17
+ cursor: ${e=>e.isSelected?"default":"pointer"};
18
+ border-radius: ${t.sp2};
19
+ background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
20
+ box-shadow: ${e=>e.isSelected?`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`:null};
21
+ `,_=d(p)`
22
+ padding: ${t.sp2} ${t.sp3} ${t.sp2} ${t.sp3};
23
+ `,w=d.div`
24
+ width: 1px;
25
+ height: ${t.sp3};
26
+ background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
27
+ `,y=d.div`
28
+ display: flex;
29
+ flex-direction: row;
30
+ align-items: center;
31
+ `;function x({timeframe:e,isSelected:o,onClick:n}){const s=i=>{switch(i){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return u.getLocalizedStrings().timeframeSwitcherLabels[i];default:return console.warn("Unsupported timeframe"),""}};return r.jsx(b,{onClick:()=>{o===!1&&n(e)},isSelected:o,children:r.jsx(_,{children:s(e)})})}function k({containerDataTestId:e,onTimeframeSelectionChanged:o,selectedTimeframe:n,timeframes:s}){const i=c=>{o?.(c)},l=s.findIndex(c=>c===n);return r.jsx(g,{"data-testid":e,children:s.map((c,a)=>{const m=s.length>1&&a<s.length-1,h=a===l,f=a===l-1;return r.jsxs(y,{children:[r.jsx(x,{timeframe:c,isSelected:h,onClick:i},a),m?r.jsx(w,{isSelected:h||f}):null]},a)})})}export{k as j};
@@ -1,31 +1,31 @@
1
- import{J as n,V as i,x as d,aj as u,bK as w}from"./index-C9hDAJ7o.js";import{n as r}from"./mui-BQR0Ruo4.js";import{b as l}from"./TimeframeSwitcher-C26tc1sm-Eg22Wb7g.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]="52d2a829-53b1-4645-9798-678b210b68e1",e._sentryDebugIdIdentifier="sentry-dbid-52d2a829-53b1-4645-9798-678b210b68e1")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{J as d,V as i,x as c,aj as u,bK as w}from"./index-Dw_MX6AZ.js";import{n as a}from"./mui-DdxImnN0.js";import{j as l}from"./TimeframeSwitcher-CULpyCRj-DpaezwVo.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]="00af6ae7-c9be-4177-bc5c-c0ec9fe91708",e._sentryDebugIdIdentifier="sentry-dbid-00af6ae7-c9be-4177-bc5c-c0ec9fe91708")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=a(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),n={timeframePaddingLeft:new c(0,0,125),timeframePaddingBottom:new c(8,8,0)},y=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- `,$=r.div`
5
+ `,$=a.div`
6
6
  display: flex;
7
7
  width: 100%;
8
8
  flex-direction: row;
9
- `,m=r.div`
9
+ `,m=a.div`
10
10
  display: flex;
11
11
  flex-direction: row;
12
12
  flex: 1 1 auto;
13
13
  justify-content: center;
14
- padding-left: ${e=>c.timeframePaddingLeft.valuePx(e.windowSize)};
15
- padding-bottom: ${e=>c.timeframePaddingBottom.valuePx(e.windowSize)};
16
- `,k=r.div`
14
+ padding-left: ${e=>n.timeframePaddingLeft.valuePx(e.windowSize)};
15
+ padding-bottom: ${e=>n.timeframePaddingBottom.valuePx(e.windowSize)};
16
+ `,k=a.div`
17
17
  display: flex;
18
18
  width: 100%;
19
19
  flex-direction: row;
20
20
  align-items: center;
21
21
  justify-content: center;
22
- `,j=r.div`
22
+ `,j=a.div`
23
23
  display: flex;
24
24
  width: 125px;
25
25
  flex-direction: row;
26
26
  align-items: center;
27
27
  justify-content: flex-end;
28
- `,C=r(u)`
28
+ `,T=a(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,h=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:f})=>i.jsxs(i.Fragment,{children:[i.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),i.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{f(g.target.checked)}})]}),T=e=>{const o=n();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{children:i.jsx(h,{...e.toggle})})]})},v=e=>{const o=n();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{children:i.jsx(h,{...e.toggle})})]})};function L(e){const o=n();return o==="small"||o==="medium-compact"?i.jsx(T,{...e}):i.jsx(v,{...e})}export{L as M};
31
+ `,f=({label:e,isOn:o,isToggleDisabled:r,onValueChanged:g})=>i.jsxs(i.Fragment,{children:[i.jsx(T,{isOn:o,isDisabled:r===!0,children:e}),i.jsx(b,{checked:o,edge:"end",disabled:r===!0,disableRipple:r===!0,onChange:h=>{g(h.target.checked)}})]}),C=e=>{const o=d();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{containerDataTestId:e.timeframeSwitcherDataTestId,selectedTimeframe:e.timeframe.selectedTimeframe,timeframes:e.timeframe.allowedTimeframes,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{"data-testid":e.compareToggleDataTestId,children:i.jsx(f,{...e.toggle})})]})},I=e=>{const o=d();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{containerDataTestId:e.timeframeSwitcherDataTestId,selectedTimeframe:e.timeframe.selectedTimeframe,timeframes:e.timeframe.allowedTimeframes,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{"data-testid":e.compareToggleDataTestId,children:i.jsx(f,{...e.toggle})})]})};function D(e){const o=d();return o==="small"||o==="medium-compact"?i.jsx(C,{...e}):i.jsx(I,{...e})}export{D as I};
@@ -1,19 +1,19 @@
1
- import{aF as z,J as M,V as t,y as x,u as p,w as T,aZ as H,aP as R,aN as F,o as f,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-C9hDAJ7o.js";import{P as w,a as W}from"./sentry-Ckvw8Zf1.js";import{F9 as Z}from"./zeni-epic-state-BnsQ52n7.js";import{n as g}from"./mui-BQR0Ruo4.js";import{I as ee,T as te}from"./ReloadCard-CI-iJa1w-CU7osnQb.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js";import{H as k,X as $,Y as L,K,O as P,Q as ne,S as oe}from"./recharts-DkFolWRg.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]="2d7a5a7b-fec5-4b2f-83bf-e8af2db9efbb",e._sentryDebugIdIdentifier="sentry-dbid-2d7a5a7b-fec5-4b2f-83bf-e8af2db9efbb")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-Dw_MX6AZ.js";import{P as w,a as W}from"./sentry-DBSEoG3b.js";import{F9 as Z}from"./zeni-epic-state-1oOVJQJ4.js";import{n as g}from"./mui-DdxImnN0.js";import{I as ee,T as te}from"./ReloadCard-BSiXuJWg-S2NiaAjj.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js";import{H as k,X as $,Y as L,K,O as P,Q as ne,S as oe}from"./recharts-Djp9a38d.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]="de229c41-e04a-4e9b-a215-aa12b46698a6",e._sentryDebugIdIdentifier="sentry-dbid-de229c41-e04a-4e9b-a215-aa12b46698a6")}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"};
5
5
  width: ${e=>e.width!=null?e.width+"px":"auto"};
6
6
  `,se=g.div``,le=g(C)`
7
7
  color: ${e=>e.theme.colors.hero};
8
- margin: ${f.sp2} ${f.sp0} ${f.sp2} ${f.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:f.sp4}}):t.jsx(re,{style:{marginBottom:f.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(Q,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(J)`
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(Q,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(J)`
10
10
  color: ${e=>e.theme.colors.champion};
11
11
  `,D=g.div`
12
12
  display: flex;
13
13
  flex: 0 1 auto;
14
14
  flex-direction: row;
15
15
  align-items: center;
16
- `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Y,{"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:p[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 O({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(O);const A=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
16
+ `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Y,{"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 O({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(O);const A=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  flex: 1 1 auto;
@@ -21,18 +21,18 @@ import{aF as z,J as M,V as t,y as x,u as p,w as T,aZ as H,aP as R,aN as F,o as f
21
21
  align-items: center;
22
22
  height: 100%;
23
23
  color: ${e=>e.theme.colors.hero};
24
- `,fe=g.div`
24
+ `,pe=g.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  flex: 4 1 0;
28
- `,pe=g.img`
29
- height: ${f.sp4};
28
+ `,fe=g.img`
29
+ height: ${p.sp4};
30
30
  `,xe=g(C)`
31
- margin-left: ${f.sp2};
31
+ margin-left: ${p.sp2};
32
32
  `,ye=g(U)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
35
  `,be=g(X)`
36
36
  flex: 1 1 0;
37
- margin-right: ${f.sp2};
38
- `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=A(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(K,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(P,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(fe,{children:[t.jsx(pe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:R("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx($,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(L,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=A(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(K,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:B,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:B})}}),h.map(m=>t.jsx(P,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?p[0]:p[3],left:i?p[0]:p[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx($,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(L,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?H("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,z);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(F,{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(O,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{O as A,Se as E,Ce as I,Ee as L,ce as c};
37
+ margin-right: ${p.sp2};
38
+ `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=A(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(K,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(P,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:R("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx($,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(L,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=A(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(K,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:B,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:B})}}),h.map(m=>t.jsx(P,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx($,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(L,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?H("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,z);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(F,{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(O,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{O as A,Se as E,Ce as I,Ee as L,ce as c};
@@ -1,4 +1,4 @@
1
- import{y as b,J as A,V as t,bD as S,F as x,aP as j,b4 as B,A as P,o as i,x as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-C9hDAJ7o.js";import{n}from"./mui-BQR0Ruo4.js";import{F9 as T}from"./zeni-epic-state-BnsQ52n7.js";import{E as _,I}from"./TopExCard-Do6O7snc-DLvwuAod.js";import{b as M}from"./TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js";import{d as L}from"./NoDataTable-B__TVPte-CetA5lza.js";import{P as Z,a as o}from"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./ReloadCard-CI-iJa1w-CU7osnQb.js";import"./graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f543c359-28ca-4466-b61f-72fdf307c796",e._sentryDebugIdIdentifier="sentry-dbid-f543c359-28ca-4466-b61f-72fdf307c796")}catch{}})();const v="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-Dw_MX6AZ.js";import{n}from"./mui-DdxImnN0.js";import{F9 as T}from"./zeni-epic-state-1oOVJQJ4.js";import{E as _,I}from"./TopExCard-B29o-5e0-BWjMLd0Z.js";import{j as M}from"./TimeframeSwitcher-CULpyCRj-DpaezwVo.js";import{d as L}from"./NoDataTable-D0cyK_1j-BWgbh49q.js";import{P as Z,a as o}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./ReloadCard-BSiXuJWg-S2NiaAjj.js";import"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="def3ee61-f484-4243-9a40-5119ce74bfc1",e._sentryDebugIdIdentifier="sentry-dbid-def3ee61-f484-4243-9a40-5119ce74bfc1")}catch{}})();const j="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -26,8 +26,8 @@ import{y as b,J as A,V as t,bD as S,F as x,aP as j,b4 as B,A as P,o as i,x as E,
26
26
  justify-content: flex-end;
27
27
  `,X=n($)`
28
28
  user-select: none;
29
- width: ${v};
30
- min-width: ${v};
29
+ width: ${j};
30
+ min-width: ${j};
31
31
  text-align: right;
32
32
  margin-left: ${O};
33
33
  `,q=n.div`
@@ -42,7 +42,7 @@ import{y as b,J as A,V as t,bD as S,F as x,aP as j,b4 as B,A as P,o as i,x as E,
42
42
  min-width: ${N};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function K({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=R,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(J,{isClickable:d,children:[t.jsxs(q,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(G,{"data-testid":F("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(W,{style:{cursor:g},children:t.jsx(X,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:j("0,0",l?.balance.available)})})]})}const Q=n.div`
45
+ `;function K({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=R,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(J,{isClickable:d,children:[t.jsxs(q,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(G,{"data-testid":F("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(W,{style:{cursor:g},children:t.jsx(X,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const Q=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
@@ -84,7 +84,7 @@ import{y as b,J as A,V as t,bD as S,F as x,aP as j,b4 as B,A as P,o as i,x as E,
84
84
  `,ce=n($)`
85
85
  color: ${V.alert};
86
86
  margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
87
- `;function de(){switch(b().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
87
+ `;function de(){switch(v().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
88
88
  display: flex;
89
89
  flex: 1 1 auto;
90
90
  min-height: 100%;
@@ -129,4 +129,4 @@ import{y as b,J as A,V as t,bD as S,F as x,aP as j,b4 as B,A as P,o as i,x as E,
129
129
  margin-bottom: ${i.sp5};
130
130
  `,$e=n.div`
131
131
  display: flex;
132
- `;function Ie(e){const l=b(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=A(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(S,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:j("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
132
+ `;function Ie(e){const l=v(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=A(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(S,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:b("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};