@zeniai/web-cockpit-ui 1.14.72-dev → 1.14.72-dev-betaSK01

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 (314) hide show
  1. package/dist/assets/{ACHDetailsPage-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
  3. package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
  5. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
  7. package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
  8. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
  9. package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
  11. package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
  12. package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
  13. package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
  14. package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
  17. package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
  19. package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
  20. package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
  22. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
  23. package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
  26. package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
  30. package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
  34. package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
  35. package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
  36. package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
  37. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
  40. package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
  43. package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
  44. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
  45. package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
  46. package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
  47. package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
  48. package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
  50. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
  51. package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
  57. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
  58. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
  59. package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
  60. package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
  63. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
  65. package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
  66. package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
  67. package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
  69. package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
  71. package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
  72. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
  73. package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
  74. package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
  75. package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
  76. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
  77. package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
  78. package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
  79. package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
  80. package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
  84. package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
  85. package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
  86. package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
  93. package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
  95. package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
  98. package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
  99. package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
  100. package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
  101. package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
  105. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
  106. package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
  107. package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
  108. package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
  109. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
  110. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
  111. package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
  112. package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
  113. package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
  114. package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
  116. package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
  117. package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
  118. package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
  120. package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
  121. package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
  122. package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
  123. package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
  124. package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
  126. package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
  127. package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
  128. package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
  129. package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
  130. package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
  132. package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
  135. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
  136. package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
  137. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
  138. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
  139. package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
  141. package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
  142. package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
  143. package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
  144. package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
  145. package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
  146. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
  147. package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
  148. package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
  149. package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
  150. package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
  151. package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
  152. package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
  153. package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
  154. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
  155. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
  156. package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
  157. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
  158. package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
  159. package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
  160. package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
  162. package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
  163. package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
  164. package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
  165. package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
  167. package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
  168. package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
  169. package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
  170. package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
  171. package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
  172. package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
  173. package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
  174. package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
  175. package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
  176. package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
  177. package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
  178. package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
  179. package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
  180. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
  181. package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
  182. package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
  184. package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
  185. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
  186. package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
  188. package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
  191. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
  192. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
  195. package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
  196. package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
  197. package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
  198. package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
  199. package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
  200. package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
  201. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
  203. package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
  206. package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
  207. package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
  208. package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
  209. package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
  210. package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
  211. package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
  212. package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
  213. package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
  220. package/dist/assets/redux-D-TY61DZ.js +12 -0
  221. package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
  222. package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
  223. package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
  224. package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
  225. package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
  226. package/dist/index.html +1 -1
  227. package/package.json +2 -2
  228. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
  229. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
  230. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
  231. package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
  232. package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
  233. package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
  234. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
  235. package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
  236. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
  237. package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
  238. package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
  239. package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
  240. package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
  241. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
  242. package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
  243. package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
  244. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
  245. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
  246. package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
  247. package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
  248. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
  249. package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
  250. package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
  251. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
  252. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
  253. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
  254. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
  255. package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
  256. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
  257. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
  258. package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
  259. package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
  260. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
  261. package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
  262. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
  263. package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
  264. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
  265. package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
  266. package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
  267. package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
  268. package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
  269. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
  270. package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
  271. package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
  272. package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
  273. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
  274. package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
  275. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
  276. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
  277. package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
  278. package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
  279. package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
  281. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
  282. package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
  283. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
  284. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
  285. package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
  286. package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
  288. package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
  289. package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
  290. package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
  291. package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
  292. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
  293. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
  294. package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
  295. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
  296. package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
  297. package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
  298. package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
  299. package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
  300. package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
  301. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
  302. package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
  303. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
  304. package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
  305. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
  306. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
  307. package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
  308. package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
  309. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
  310. package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
  311. package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
  312. package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
  313. package/dist/assets/redux-CEhZD0hA.js +0 -12
  314. package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
@@ -1,685 +0,0 @@
1
- import{d as Q,q as v,aa as Jt,O as P,cS as qt,j as t,bF as Zt,l as g,ad as Xt,aQ as Qt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jW as at,u as y,n as ii,jX as oi,dE as ce,a_ as si,c as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jY as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jZ as ci,bX as ct,j_ as Ie,bz as hi}from"./index-sAOH0Fje.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-COrYJ6CW-B2hsvJe_.js";import{d as ht}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- `,{common:{timeStrings:bt,strings:mi},dateFormat:Te,timeFormat:gi}=P.getLocalizedStrings(),wt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],ne=e=>e.type.concat(mi.underscore).concat(e.start.format(Te.visual.DdashMMdashYYYYFormat)),me=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return bt[e.type];case"earlier_that_month":return e.start.format(Te.visual.MMMYYYYFormat)}},yt=e=>{const o=g.zeniDate(e.toUTCString()),s=g.dateNow(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?bt.justNow:a<c&&ci(o,0)?o.format(gi.hhmmAFormat):o.format(Te.visual.MMMDFormat)},Re=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:xi}}}}=P.getLocalizedStrings(),$t=e=>{e.sort((n,l)=>g.zeniDate(n.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=ie(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),h=g.dateNow().subtract(2,"d").endOf("d"),a=ie(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),h=g.dateNow().subtract(9,"d").endOf("d"),a=ie(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=g.dateNow().subtract(u,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(u,"month").endOf("M").endOf("d");u++,a=ie(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},ie=(e,o,s)=>{const a=[],n=e.map(l=>at(o,s,g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},bi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=xi;return o.comments.length===1?a:s},jt=new R(3,2,1,1,1),kt=new R(y[8],y[6],35,35,y[6]),le={lineClamp:jt,sectionWidth:kt},{common:{texts:ze,timeStrings:wi,strings:ee},commentsAndNotifications:{notifications:{strings:{newMessage:yi},actionStrings:{comments:{newCommentAdded:$i}}}}}=P.getLocalizedStrings(),ji=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=nt(),c=lt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=x.useContext(ni),f=h!=null?"read":"unread",{metadata:{url:b,companyId:k,entityType:F},id:D}=p;return t.jsxs(Li,{readStatus:f,isClickable:!!b,isHighlighted:s,style:a,onClick:()=>{b&&(n(d,g.toZeniUrl(b),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:D,companyId:k,entityType:F})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(T=>U(T)),p.resolved?"resolved":"open",{name:dt(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(ki,{notificationData:e,users:o}),t.jsx(vi,{...e}),t.jsx(Ci,{timestamp:u,readStatus:f})]})},St=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx($e,{children:yi}):t.jsx($e,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ni(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Si,{notificationData:e,user:u},`${c.id}${ee.underscore}${d}`):null}if(Ti(c)){const u=li(c.url)??c.url;return t.jsx(Ai,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(zi,{children:h},d)),c.italic===!0&&(h=t.jsx(_i,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Mi,{children:h},d)),c.code===!0&&(h=t.jsx(Di,{children:h},d)),t.jsx(Oi,{children:h},d)});default:return t.jsx($e,{children:$i})}})})},ki=({notificationData:e,users:o})=>{const s=v();return t.jsx(Pi,{windowSize:s,children:t.jsx(St,{notificationData:e,users:o})})},Si=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[ee.atTheRate,ze.user,ee.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[ee.atTheRate,l||ze.user,ee.space]})})}return n},vt=e=>{const o=bi(e);return t.jsx(t.Fragment,{children:o})},vi=e=>{const o=v();return t.jsx(Ri,{windowSize:o,children:t.jsx(vt,{...e})})},Ct=e=>{const{timestamp:o,readStatus:s}=e,a=yt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Fi,{isNewNotification:a===wi.justNow,children:a}),t.jsx(Bi,{readStatus:s})]})},Ci=e=>{const o=v();return t.jsx(Ii,{windowSize:o,children:t.jsx(Ct,{...e})})};function Ni(e){return"type"in e&&e.type==="mention"}function Ti(e){return"type"in e&&e.type==="link"}const Li=r.div`
6
- display: flex;
7
- flex-direction: row;
8
- align-items: center;
9
- justify-content: space-between;
10
- width: 100%;
11
- cursor: ${e=>e.isClickable?"pointer":"not-allowed"};
12
-
13
- background-color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey4:e.theme.colors.grey5};
14
-
15
- color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey1:e.theme.colors.hero};
16
- border: 1px solid ${e=>e.theme.colors.grey3};
17
- margin-bottom: -1px;
18
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
19
-
20
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
21
-
22
- .userText {
23
- color: ${S.brandColorJade};
24
- }
25
-
26
- :first-of-type {
27
- border-top-left-radius: inherit;
28
- border-top-right-radius: inherit;
29
- }
30
-
31
- :last-of-type {
32
- border-bottom-left-radius: inherit;
33
- border-bottom-right-radius: inherit;
34
- }
35
-
36
- ${e=>e.isHighlighted?A`
37
- z-index: 1;
38
- color: ${e.theme.colors.primary};
39
- border: 1px solid ${e.theme.colors.primary};
40
-
41
- .userText {
42
- color: ${S.brandColorJade};
43
- }
44
- `:null};
45
-
46
- ${e=>e.isClickable?A`
47
- &:hover {
48
- z-index: 1;
49
- color: ${e.theme.colors.primary};
50
- border: 1px solid ${e.theme.colors.primary};
51
-
52
- .userText {
53
- color: ${S.brandColorJade};
54
- }
55
- }
56
- `:null};
57
- `,Ii=r(H)`
58
- width: ${e=>e.windowSize==="small"?"unset":"10%"};
59
- gap: ${i.sp2};
60
- display: flex;
61
- align-items: center;
62
- flex-shrink: 0;
63
- justify-content: end;
64
- `,Ri=r(K)`
65
- color: inherit;
66
- display: -webkit-box;
67
- overflow: hidden;
68
- -webkit-line-clamp: ${e=>le.lineClamp.value(e.windowSize)};
69
- -webkit-box-orient: vertical;
70
- width: ${e=>le.sectionWidth.valuePercentage(e.windowSize)};
71
- `,zi=r.strong``,Di=r.code``,_i=r.em``,Mi=r.s``,Oi=r.span``,Ai=r.a``,Pi=r(K)`
72
- color: inherit;
73
- display: -webkit-box;
74
- overflow: hidden;
75
- -webkit-line-clamp: ${e=>le.lineClamp.value(e.windowSize)};
76
- -webkit-box-orient: vertical;
77
- width: ${e=>le.sectionWidth.valuePercentage(e.windowSize)};
78
- `,De=r(fe)`
79
- color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
80
- `,$e=r(fe)`
81
- color: inherit;
82
- `,Fi=r(ct)`
83
- flex-shrink: 0;
84
- color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
85
- `,Bi=r.div`
86
- display: flex;
87
- height: ${i.sp2};
88
- width: ${i.sp2};
89
- border-radius: ${i.sp2};
90
- flex-shrink: 0;
91
- background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
92
- `,je={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(y[6],50,60,y[11],120)},Gi=()=>{const e=v();return t.jsxs(Ei,{windowSize:e,children:[t.jsx(ke,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:je.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ke,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:je.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ke,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:je.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Ei=r.div`
93
- display: flex;
94
- align-items: center;
95
- justify-content: space-between;
96
-
97
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
98
- border: 1px solid ${e=>e.theme.colors.grey3};
99
- margin-bottom: -1px;
100
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
101
-
102
- :hover {
103
- z-index: 1;
104
- border: ${e=>`1px solid ${e.theme.colors.primary}`};
105
- }
106
-
107
- :first-of-type {
108
- border-top-left-radius: ${i.sp2};
109
- border-top-right-radius: ${i.sp2};
110
- }
111
-
112
- :last-of-type {
113
- border-bottom-left-radius: ${i.sp2};
114
- border-bottom-right-radius: ${i.sp2};
115
- }
116
- `,ke=r.div`
117
- display: flex;
118
- align-items: center;
119
- position: relative;
120
- flex: 1 1 auto;
121
- justify-content: ${e=>e.isLastItem?"flex-end":"start"};
122
- width: ${e=>e.isLastItem?"10%":kt.valuePercentage(e.windowSize)};
123
- `,Ui=()=>{const e=v();return t.jsxs(Hi,{windowSize:e,children:[t.jsxs(Vi,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:180,height:y[4]})]}),t.jsx(Yi,{children:t.jsx(z,{width:60,height:18})})]})},Hi=r.div`
124
- display: flex;
125
- align-items: baseline;
126
- justify-content: space-between;
127
- flex-direction: row;
128
- gap: ${i.sp4};
129
-
130
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
131
- border: 1px solid ${e=>e.theme.colors.grey3};
132
- margin-bottom: -1px;
133
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
134
-
135
- :hover {
136
- z-index: 1;
137
- border: ${e=>`1px solid ${e.theme.colors.primary}`};
138
- }
139
-
140
- :first-of-type {
141
- border-top-left-radius: ${i.sp2};
142
- border-top-right-radius: ${i.sp2};
143
- }
144
-
145
- :last-of-type {
146
- border-bottom-left-radius: ${i.sp2};
147
- border-bottom-right-radius: ${i.sp2};
148
- }
149
- `,Vi=r.div`
150
- display: flex;
151
- align-items: start;
152
- flex-direction: column;
153
- gap: ${i.sp2};
154
- flex: 1 1 auto;
155
- justify-content: start;
156
- `,Yi=r.div`
157
- display: flex;
158
- align-items: baseline;
159
- flex-direction: row;
160
- justify-content: end;
161
- `,Wi=()=>v()==="small"?t.jsx(Ui,{}):t.jsx(Gi,{}),Ji={marginLeft:new R(y[2],y[5],y[7])},qi=()=>t.jsxs(Zi,{children:[t.jsx(Se,{numberOfRows:5}),t.jsx(Se,{numberOfRows:3})]}),Se=({numberOfRows:e})=>{const o=v();return t.jsxs(Xi,{windowSize:o,children:[t.jsx(Ki,{children:t.jsx(z,{width:y[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(Qi,{children:[...Array(e)].map(s=>t.jsx(Wi,{},ce()))})]})},Zi=r.div`
162
- display: block;
163
- min-height: 100%;
164
- flex-direction: column;
165
- width: 100%;
166
- `,Xi=r.div`
167
- display: flex;
168
- flex-direction: column;
169
- margin-bottom: ${i.sp5};
170
- margin-left: ${e=>Ji.marginLeft.valuePx(e.windowSize)};
171
- `,Qi=r.div`
172
- display: flex;
173
- flex-direction: column;
174
- border-radius: ${i.sp2};
175
- `,Ki=r.div`
176
- display: flex;
177
- padding: ${i.sp3} ${i.sp0};
178
- `,eo=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),h=lt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,b=p!=null?"read":"unread",k=f.metadata.url,F=x.useCallback(()=>{c?.()},[c]),D=x.useCallback(w=>{w.stopPropagation(),w.cancelable&&w.preventDefault(),s?c?.():k!=null&&(l(u,g.toZeniUrl(f.metadata.url),b),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(L=>U(L)),f.resolved?"resolved":"open",{name:dt(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,b,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),T=ht({onLongPress:F},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(so,{readStatus:b,isClickable:k!=null,isHighlighted:a,style:n,...T,onClick:D,children:[t.jsxs(ro,{children:[t.jsx(to,{notificationData:e,users:o}),t.jsx(io,{...e})]}),t.jsx(oo,{timestamp:m,readStatus:b})]})},to=({notificationData:e,users:o})=>t.jsx(Nt,{children:t.jsx(St,{notificationData:e,users:o})}),io=e=>t.jsx(Nt,{children:t.jsx(vt,{...e})}),oo=e=>t.jsx(ao,{children:t.jsx(Ct,{...e})}),so=r.div`
179
- display: flex;
180
- flex-direction: row;
181
- align-items: baseline;
182
- justify-content: space-between;
183
- width: 100%;
184
- gap: ${i.sp2};
185
- cursor: ${e=>e.isClickable?"pointer":"not-allowed"};
186
-
187
- background-color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey4:e.theme.colors.grey5};
188
-
189
- color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey1:e.theme.colors.hero};
190
- border: 1px solid ${e=>e.theme.colors.grey3};
191
- margin-bottom: -1px;
192
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
193
-
194
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
195
-
196
- .userText {
197
- color: ${S.brandColorJade};
198
- }
199
-
200
- :first-of-type {
201
- border-top-left-radius: inherit;
202
- border-top-right-radius: inherit;
203
- }
204
-
205
- :last-of-type {
206
- border-bottom-left-radius: inherit;
207
- border-bottom-right-radius: inherit;
208
- }
209
-
210
- ${e=>e.isHighlighted?A`
211
- z-index: 1;
212
- color: ${e.theme.colors.primary};
213
- border: 1px solid ${e.theme.colors.primary};
214
-
215
- .userText {
216
- color: ${S.brandColorJade};
217
- }
218
- `:null};
219
-
220
- ${e=>e.isClickable?A`
221
- &:hover {
222
- z-index: 1;
223
- color: ${e.theme.colors.primary};
224
- border: 1px solid ${e.theme.colors.primary};
225
-
226
- .userText {
227
- color: ${S.brandColorJade};
228
- }
229
- }
230
- `:null};
231
- `,ao=r(H)`
232
- width: 25%;
233
- gap: ${i.sp2};
234
- display: flex;
235
- align-items: center;
236
- flex-shrink: 0;
237
- justify-content: end;
238
- `,ro=r.div`
239
- display: flex;
240
- flex-direction: column;
241
- gap: ${i.sp2};
242
- `,Nt=r(K)`
243
- color: inherit;
244
- display: -webkit-box;
245
- overflow: hidden;
246
- -webkit-box-orient: vertical;
247
- `,Tt=e=>v()==="small"?t.jsx(eo,{...e}):t.jsx(ji,{...e}),{common:{all:_e}}=P.getLocalizedStrings(),no=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:h}=he(),u=h(s);return t.jsx(lo,{style:n,children:t.jsx(ue,{mode:a,checkBoxes:[{label:t.jsx(co,{htmlFor:`${s}.${_e.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:me(e)}),value:_e.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Tt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0},isHighlighted:u?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},lo=r.div`
248
- display: flex;
249
- align-items: center;
250
- width: 100%;
251
- `,co=r(pe)`
252
- display: flex;
253
- align-items: flex-start;
254
- width: 100%;
255
- padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
256
- `,{common:{all:Me}}=P.getLocalizedStrings(),ho=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:h}=he(),u=h(s),p=x.useRef([]);return x.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(uo,{style:n,children:t.jsx(ue,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const b=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:F=>p.current[f]=F,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(po,{notificationData:m,users:o,style:{borderTopLeftRadius:b?i.sp2:void 0,borderTopRightRadius:b?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},uo=r.div`
257
- display: flex;
258
- align-items: center;
259
- width: 100%;
260
- `,Oe=r(pe)`
261
- display: flex;
262
- align-items: flex-start;
263
- width: 100%;
264
- padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
265
- `,po=r(Tt)``,fo=e=>v()==="small"?t.jsx(ho,{...e}):t.jsx(no,{...e}),{commentsAndNotifications:{notifications:{message:mo}}}=P.getLocalizedStrings(),Ae={rowGap:new R(y[0],y[5],y[5])},go=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),b=x.useRef(null),k=x.useRef({});x.useEffect(()=>{b.current?.resetAfterIndex(0,!0)},[f,b,e]),x.useEffect(()=>{b.current?.scrollTo(c)},[d]);const F=x.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Ae.rowGap.value("medium-regular"):Ae.rowGap.value(f);return k.current[C]+G}return(ut*jt.value(f)+pt)*3+ft+mt},[f,k,e]),D=x.useCallback((C,G)=>{k.current={...k.current,[C]:G},b.current?.resetAfterIndex(0,!0)},[f,b,e]),T=x.useCallback(()=>{p()},[p]),w=x.useCallback(()=>{},[]),L=et(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=x.useCallback(()=>a&&!s?T():w(),[a,s,T,w]),I=a?e.length+1:e.length;return t.jsx(bo,{children:t.jsx(wo,{windowSize:f,children:s&&e.length===0?t.jsx(qi,{}):s===!1&&e.length===0?t.jsx(tt,{message:mo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(yo,{windowSize:f,children:t.jsx(it,{children:({height:C,width:G})=>t.jsx(ot,{isItemLoaded:j,itemCount:gt,loadMoreItems:V,children:({onItemsRendered:Y,ref:E})=>t.jsx(st,{ref:W=>{E(W),b.current=W},height:C,itemCount:I,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:D,onNotificationClick:m},onItemsRendered:Y,itemSize:F,width:G,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:W})=>{L(W)},initialScrollOffset:c,children:xo})})})})})})},xo=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=x.useRef(null),f=v();if(x.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const b=a[e],k=ne(b);return t.jsx(Pe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(fo,{notificationGroup:b,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Pe,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(Se,{numberOfRows:3})},ce())},bo=r.div`
266
- display: block;
267
- background-color: ${e=>e.theme.colors.grey4};
268
- height: 100%;
269
- width: 100%;
270
- `,wo=r.div`
271
- height: 100%;
272
- width: 100%;
273
- `,yo=r.div`
274
- height: 100%;
275
- display: flex;
276
- flex-direction: column;
277
- max-width: 99.9%;
278
- `,Pe=r.div`
279
- top: ${i.sp0};
280
- left: ${i.sp0};
281
- box-sizing: border-box;
282
- `,{common:{in:$o,strings:Lt},dateFormat:jo,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=P.getLocalizedStrings(),It=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),h=g.dateNow().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),h=g.dateNow().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=g.dateNow().subtract(u,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>at(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},ko=e=>{let o=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Ie(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",$o.toLocaleLowerCase().concat(Lt.space,Ie(e.name.toLocaleLowerCase()))),o},So=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=n!=null?ko(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(jo.visual.MMMDFormat)??Lt.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},Rt=new R(3,2,1,1,1),zt=new R(y[8],33,33,33,35),de={lineClamp:Rt,sectionWidth:zt},{common:{and:Fe,other:vo,others:Co,texts:No,timeStrings:To,strings:M,tags:Lo}}=P.getLocalizedStrings(),Io=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Ao,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Ro,{...e}),t.jsx(_o,{...e}),t.jsx(Oo,{...e}),t.jsx(Mo,{createTime:h,notificationStatus:n})]})},Dt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Eo,{notificationStatus:o,children:s||M.hyphen})},Ro=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(Dt,{...e})})},zo=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Ho,{children:[t.jsx(Be,{backgroundColor:Re(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Vo,{}),t.jsx(Be,{backgroundColor:Re(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Do=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,No.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Co,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):vo,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},_t=e=>t.jsxs(t.Fragment,{children:[t.jsx(Do,{...e}),So(e),t.jsx(zo,{...e})]}),_o=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Bo,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(_t,{...e})})},Mt=e=>{const{createTime:o,notificationStatus:s}=e,a=yt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Uo,{isNewNotification:a===To.justNow,children:a}),t.jsx(Wo,{notificationStatus:s})]})},Mo=e=>{const o=v();return t.jsx(Po,{windowSize:o,children:t.jsx(Mt,{...e})})},Ot=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(di,{tagTitle:Lo.overdue,textColor:{color:new ye(S.alert),backgroundColor:new ye("transparent"),borderColor:new ye(S.alert)},showLoader:!1}):t.jsx(Yo,{})},Oo=e=>{const o=v();return t.jsx(Fo,{windowSize:o,children:t.jsx(Ot,{...e})})},Ao=r.div`
283
- display: flex;
284
- flex-direction: row;
285
- align-items: center;
286
- justify-content: space-between;
287
- width: 100%;
288
- cursor: pointer;
289
-
290
- background-color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey4:e.theme.colors.grey5};
291
-
292
- color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:e.theme.colors.hero};
293
- border: 1px solid ${e=>e.theme.colors.grey3};
294
- margin-bottom: -1px;
295
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
296
-
297
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
298
-
299
- .userText {
300
- color: ${S.brandColorJade};
301
- }
302
-
303
- :first-of-type {
304
- border-top-left-radius: inherit;
305
- border-top-right-radius: inherit;
306
- }
307
-
308
- :last-of-type {
309
- border-bottom-left-radius: inherit;
310
- border-bottom-right-radius: inherit;
311
- }
312
-
313
- ${e=>e.isHighlighted?A`
314
- z-index: 1;
315
- color: ${e.theme.colors.primary};
316
- border: 1px solid ${e.theme.colors.primary};
317
-
318
- .userText {
319
- color: ${S.brandColorJade};
320
- }
321
- `:null};
322
-
323
- &:hover {
324
- z-index: 1;
325
- color: ${e=>e.theme.colors.primary};
326
- border: 1px solid ${e=>e.theme.colors.primary};
327
-
328
- .userText {
329
- color: ${S.brandColorJade};
330
- }
331
- }
332
- `,Po=r(H)`
333
- width: ${e=>e.windowSize==="small"?"unset":"10%"};
334
- gap: ${i.sp2};
335
- display: flex;
336
- align-items: center;
337
- flex-shrink: 0;
338
- justify-content: end;
339
- `,Fo=r(H)`
340
- width: ${e=>e.windowSize==="small"?"unset":"10%"};
341
- display: flex;
342
- align-items: center;
343
- flex-shrink: 0;
344
- justify-content: end;
345
- `,Bo=r(K)`
346
- color: inherit;
347
-
348
- ${e=>e.statusUpdate?A`
349
- display: flex;
350
- flex-wrap: wrap;
351
- gap: ${i.sp1};
352
- `:A`
353
- display: -webkit-box;
354
- overflow: hidden;
355
- -webkit-line-clamp: ${de.lineClamp.value(e.windowSize)};
356
- gap: ${i.sp1};
357
- -webkit-box-orient: vertical;
358
- `};
359
- width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
360
- `,Go=r(K)`
361
- color: inherit;
362
- display: -webkit-box;
363
- overflow: hidden;
364
- -webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
365
- -webkit-box-orient: vertical;
366
- width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
367
- `,q=r(fe)`
368
- color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
369
- `,Eo=r(fe)`
370
- color: inherit;
371
- `,Uo=r(ct)`
372
- flex-shrink: 0;
373
- color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
374
- `,Ho=r.div`
375
- display: flex;
376
- align-items: center;
377
- flex-direction: row;
378
- gap: ${i.sp2};
379
- flex-wrap: wrap;
380
- `,Be=r(H)`
381
- color: ${S.neutralGrey5Light};
382
- background: ${e=>e.backgroundColor};
383
- border: 1px solid ${e=>e.backgroundColor};
384
- padding: ${i.sp0} 6px;
385
- border-radius: ${i.sp1};
386
- `,Vo=r(hi)`
387
- width: ${i.sp3};
388
- height: ${i.sp3};
389
- color: ${e=>e.theme.colors.hero};
390
- `,Yo=r.div`
391
- display: flex;
392
- flex: 1 1 auto;
393
- `,Wo=r.div`
394
- display: flex;
395
- height: ${i.sp2};
396
- width: ${i.sp2};
397
- border-radius: ${i.sp2};
398
- flex-shrink: 0;
399
- background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
400
- `,se={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(y[6],50,60,y[11],120)},Jo=()=>{const e=v();return t.jsxs(qo,{windowSize:e,children:[t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},qo=r.div`
401
- display: flex;
402
- align-items: center;
403
- justify-content: space-between;
404
-
405
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
406
- border: 1px solid ${e=>e.theme.colors.grey3};
407
- margin-bottom: -1px;
408
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
409
-
410
- :hover {
411
- z-index: 1;
412
- border: ${e=>`1px solid ${e.theme.colors.primary}`};
413
- }
414
-
415
- :first-of-type {
416
- border-top-left-radius: ${i.sp2};
417
- border-top-right-radius: ${i.sp2};
418
- }
419
-
420
- :last-of-type {
421
- border-bottom-left-radius: ${i.sp2};
422
- border-bottom-right-radius: ${i.sp2};
423
- }
424
- `,ae=r.div`
425
- display: flex;
426
- align-items: center;
427
- position: relative;
428
- flex: 1 1 auto;
429
- justify-content: ${e=>e.isLastItem?"flex-end":"start"};
430
- width: ${e=>e.isLastItem?"10%":zt.valuePercentage(e.windowSize)};
431
- `,Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:60,height:18})]})]})},Xo=r.div`
432
- display: flex;
433
- flex-direction: column;
434
- align-items: baseline;
435
- justify-content: space-between;
436
- gap: ${i.sp4};
437
-
438
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
439
- border: 1px solid ${e=>e.theme.colors.grey3};
440
- margin-bottom: -1px;
441
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
442
-
443
- :hover {
444
- z-index: 1;
445
- border: ${e=>`1px solid ${e.theme.colors.primary}`};
446
- }
447
-
448
- :first-of-type {
449
- border-top-left-radius: ${i.sp2};
450
- border-top-right-radius: ${i.sp2};
451
- }
452
-
453
- :last-of-type {
454
- border-bottom-left-radius: ${i.sp2};
455
- border-bottom-right-radius: ${i.sp2};
456
- }
457
- `,Ge=r.div`
458
- display: flex;
459
- flex-direction: row;
460
- align-items: start;
461
- justify-content: space-between;
462
- gap: ${i.sp2};
463
- flex: 1 1 auto;
464
- width: 100%;
465
- `,Qo=()=>v()==="small"?t.jsx(Zo,{}):t.jsx(Jo,{}),Ko={marginLeft:new R(y[2],y[5],y[7])},es=()=>t.jsxs(ts,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(is,{windowSize:o,children:[t.jsx(ss,{children:t.jsx(z,{width:y[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(os,{children:[...Array(e)].map(s=>t.jsx(Qo,{},ce()))})]})},ts=r.div`
466
- display: block;
467
- min-height: 100%;
468
- flex-direction: column;
469
- width: 100%;
470
- `,is=r.div`
471
- display: flex;
472
- flex-direction: column;
473
- margin-bottom: ${i.sp5};
474
- margin-left: ${e=>Ko.marginLeft.valuePx(e.windowSize)};
475
- `,os=r.div`
476
- display: flex;
477
- flex-direction: column;
478
- border-radius: ${i.sp2};
479
- `,ss=r.div`
480
- display: flex;
481
- padding: ${i.sp3} ${i.sp0};
482
- `,as=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=x.useCallback(()=>{l?.()},[l]),f=x.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),b=ht({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(cs,{notificationStatus:c,isHighlighted:s,style:a,...b,onClick:f,children:[t.jsxs(Ee,{children:[t.jsx(rs,{...e}),t.jsx(ls,{createTime:d,notificationStatus:c})]}),t.jsxs(Ee,{children:[t.jsx(ns,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ds,{...e})]})]})},rs=e=>t.jsx(At,{statusUpdate:!1,children:t.jsx(Dt,{...e})}),ns=e=>{const{eventData:{activities:o}}=e;return t.jsx(At,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(_t,{...e})})},ls=e=>t.jsx(hs,{children:t.jsx(Mt,{...e})}),ds=e=>t.jsx(us,{children:t.jsx(Ot,{...e})}),cs=r.div`
483
- display: flex;
484
- flex-direction: column;
485
- align-items: baseline;
486
- justify-content: space-between;
487
- width: 100%;
488
- gap: ${i.sp2};
489
- cursor: pointer;
490
-
491
- background-color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey4:e.theme.colors.grey5};
492
-
493
- color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:e.theme.colors.hero};
494
- border: 1px solid ${e=>e.theme.colors.grey3};
495
- margin-bottom: -1px;
496
- box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
497
-
498
- padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
499
-
500
- .userText {
501
- color: ${S.brandColorJade};
502
- }
503
-
504
- :first-of-type {
505
- border-top-left-radius: inherit;
506
- border-top-right-radius: inherit;
507
- }
508
-
509
- :last-of-type {
510
- border-bottom-left-radius: inherit;
511
- border-bottom-right-radius: inherit;
512
- }
513
-
514
- ${e=>e.isHighlighted?A`
515
- z-index: 1;
516
- color: ${e.theme.colors.primary};
517
- border: 1px solid ${e.theme.colors.primary};
518
-
519
- .userText {
520
- color: ${S.brandColorJade};
521
- }
522
- `:null};
523
-
524
- &:hover {
525
- z-index: 1;
526
- color: ${e=>e.theme.colors.primary};
527
- border: 1px solid ${e=>e.theme.colors.primary};
528
-
529
- .userText {
530
- color: ${S.brandColorJade};
531
- }
532
- }
533
- `,hs=r(H)`
534
- width: 25%;
535
- gap: ${i.sp2};
536
- display: flex;
537
- align-items: center;
538
- flex-shrink: 0;
539
- justify-content: end;
540
- `,us=r(H)`
541
- width: 25%;
542
- display: flex;
543
- align-items: center;
544
- flex-shrink: 0;
545
- justify-content: end;
546
- `,Ee=r.div`
547
- display: flex;
548
- flex-direction: row;
549
- gap: ${i.sp3};
550
- width: 100%;
551
- justify-content: space-between;
552
- align-items: start;
553
- `,At=r(K)`
554
- color: inherit;
555
- ${e=>e.statusUpdate?A`
556
- display: flex;
557
- flex-wrap: wrap;
558
- gap: ${i.sp2};
559
- `:A`
560
- display: -webkit-box;
561
- -webkit-box-orient: horizontal;
562
- gap: ${i.sp1};
563
- `};
564
- `,Pt=e=>v()==="small"?t.jsx(as,{...e}):t.jsx(Io,{...e}),{common:{all:Ue}}=P.getLocalizedStrings(),ps=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=he(),h=d(o);return t.jsx(fs,{style:a,children:t.jsx(ue,{mode:s,checkBoxes:[{label:t.jsx(ms,{htmlFor:`${o}.${Ue.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:me(e)}),value:Ue.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Pt,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},fs=r.div`
565
- display: flex;
566
- align-items: center;
567
- width: 100%;
568
- `,ms=r(pe)`
569
- display: flex;
570
- align-items: flex-start;
571
- width: 100%;
572
- padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
573
- `,{common:{all:He}}=P.getLocalizedStrings(),gs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=he(),h=d(o),u=x.useRef([]);return x.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(xs,{style:a,children:t.jsx(ue,{mode:s,checkBoxes:[{label:t.jsx(Ve,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:me(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Ve,{ref:k=>u.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(bs,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{u.current[m]?.click()}})}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},xs=r.div`
574
- display: flex;
575
- align-items: center;
576
- width: 100%;
577
- `,Ve=r(pe)`
578
- display: flex;
579
- align-items: flex-start;
580
- width: 100%;
581
- padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
582
- `,bs=r(Pt)``,ws=e=>v()==="small"?t.jsx(gs,{...e}):t.jsx(ps,{...e}),{commentsAndNotifications:{notifications:{message:ys}}}=P.getLocalizedStrings(),Ye={rowGap:new R(y[0],y[5],y[5])},$s=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=x.useRef(null),b=x.useRef({});x.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),x.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=x.useCallback(I=>{if(b.current?.[I]!=null){const C=m==="small"&&s===!1&&I===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return b.current[I]+C}return(ut*Rt.value(m)+pt)*3+ft+mt},[m,b,e]),F=x.useCallback((I,C)=>{b.current={...b.current,[I]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),D=x.useCallback(()=>{u()},[u]),T=x.useCallback(()=>{},[]),w=et(I=>h(I),1e3,{trailing:!0}),L=I=>!s||I<e.length,j=x.useCallback(()=>s&&!o?D():T(),[s,o,D,T]),V=s?e.length+1:e.length;return t.jsx(ks,{children:t.jsx(Ss,{windowSize:m,children:o&&e.length===0?t.jsx(es,{}):o===!1&&e.length===0?t.jsx(tt,{message:ys.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(vs,{windowSize:m,children:t.jsx(it,{children:({height:I,width:C})=>t.jsx(ot,{isItemLoaded:L,itemCount:gt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(st,{ref:E=>{Y(E),f.current=E},height:I,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:L,setRowHeight:F,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:E})=>{w(E)},initialScrollOffset:l,children:js})})})})})})},js=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=x.useRef(null),m=v();if(x.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],b=ne(f);return t.jsx(We,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ws,{notificationGroup:f,sectionId:`${n}.${b}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},b)}return t.jsx(We,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ce())},ks=r.div`
583
- display: block;
584
- background-color: ${e=>e.theme.colors.grey4};
585
- height: 100%;
586
- width: 100%;
587
- `,Ss=r.div`
588
- height: 100%;
589
- width: 100%;
590
- `,vs=r.div`
591
- height: 100%;
592
- display: flex;
593
- flex-direction: column;
594
- max-width: 99.9%;
595
- `,We=r.div`
596
- top: ${i.sp0};
597
- left: ${i.sp0};
598
- box-sizing: border-box;
599
- `,{common:{all:Ce,texts:re,footer:Cs,strings:{plus:Ns},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Ts,texts:Ft,strings:qe}}}=P.getLocalizedStrings(),te={tableContainerLeftPadding:new R(y[2],y[2],y[2]),tableContainerRightPadding:new R(y[3],y[6],y[8]),tabsContainerLeftRightPadding:new R(y[3],y[6],y[8]),selectedNotificationsTextMarginLeft:new R(y[0],y[6],y[6])},Ls={selectedNotificationsText:new ai("smallRegular","standardRegular")},Ze="notificationsPage",Z="commentsNotificationsTable",X="notificationsTable",Bt=20,aa=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:b,onMarkAllNotificationsAsRead:k})=>{const F=Q(),D=v(),T=Jt({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Ke(e),[e]),values:x.useMemo(()=>Ke(e),[e])}),{currentTab:w,currentSubTab:L,notificationDetailsByTab:j,allSubTabs:V,allNotifications:I,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=x.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})),[j]),W=x.useMemo(()=>V.map($=>({label:$==="all"?Ce:re[$],id:$})),[V]),Gt=x.useMemo(()=>$t(Y).filter($=>$.notifications.length>0),[Y]),Et=x.useMemo(()=>It(G).filter($=>$.notifications.length>0),[G]),Ut=async($,N)=>{const B=$.split(".")[0],J=[];B!=null&&(B===Z||B===X)&&(Object.values(N[B]).forEach(_=>{J.push(..._.filter(Wt=>Wt.includes(Ce.toLowerCase())===!1))}),d({selectedNotificationIds:J},w))};x.useEffect(()=>{const $=T.watch((N,{name:B})=>{B!=null&&N!=null&&qt(()=>Ut(B,N))});return()=>{$.unsubscribe()}});const ge=x.useCallback(()=>{const $=[],N=j[w].selectedNotificationIdsForSubTab,B="read";if(w==="comments"){const J=C.filter(_=>_.inboxNotification.readAt==null).map(_=>_.inboxNotification.id);N.forEach(_=>{J.includes(_)&&$.push(_)})}else{const J=I.filter(_=>_.status!==B).map(_=>_.notificationId);N.forEach(_=>{J.includes(_)&&$.push(_)})}return $},[C,I,w,j]),Ht=ge().length>Bt?"disabled":a,xe=T.watch(Z),be=T.watch(X),Le=x.useCallback(()=>{p(w,L)},[p,w,L]),Vt=x.useCallback(()=>{if(w==="comments"){const $={};Object.keys(xe).forEach(N=>{$[N]=[]}),T.reset({[Z]:$,[X]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(be).forEach(N=>{$[N]=[]}),T.reset({[X]:$,[Z]:xe},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},w)},[be,xe]),Yt=x.useCallback(()=>{const $=j[w].selectedNotificationIdsForSubTab,N="read",B=ge();m(w,$,N,B)},[w,j,ge,m]);return t.jsxs(Rs,{children:[t.jsx(Zt,{source:"NotificationsPage",title:Ts.notifications,backgroundColor:F.colors.grey4,onBackClick:b,rightSideComponent:s===!0?t.jsx(Ys,{onClick:f}):t.jsx(Vs,{})}),t.jsx(_s,{}),t.jsx(Ds,{windowSize:D,children:t.jsx(pi,{tabs:E,selectedTab:w,onTabChange:$=>{const N=g.toNotificationTabTypeStrict($);N!=null&&h(N)},subTabs:W,selectedSubTab:L,onSubTabChange:$=>{const N=g.toNotificationSubTabTypeStrict($);N!=null&&u(N)},subTabRightComponent:t.jsx(Is,{notificationCount:j[w].uiState.unreadCount,markAsAllReadUpdateState:j[w].markAsAllReadState.fetchState,markAsReadUpdateState:j[w].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(w)}})})}),t.jsx(zs,{windowSize:D,children:t.jsx(Xt,{...T,children:t.jsx("form",{id:Qe(Ze),onSubmit:T.handleSubmit(Yt),style:{width:"100%"},children:w==="comments"?t.jsx(go,{users:o,hasMore:j[w].uiState.hasMore,isFetching:j[w].fetchState==="In-Progress",scrollYOffset:j[w].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[w].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Gt,sectionId:Z,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[w].uiState.scrollYOffset,[L]:$}},w),onNotificationClick:l}):t.jsx($s,{hasMore:j[w].uiState.hasMore,isFetching:j[w].fetchState==="In-Progress",scrollYOffset:j[w].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[w].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:X,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[w].uiState.scrollYOffset,[L]:$}},w),onNotificationClick:n})})})}),j[w].selectedNotificationIdsForSubTab.length?t.jsx(Qt,{formId:Qe(Ze),primaryBtn:{label:Ft.markAsRead,isLoading:j[w].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Ht!=null},cancelBtn:{label:Cs.cancel,isDisabled:j[w].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Vt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(we,{controller:D!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[w].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(we,{controller:D==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[w].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(we,{controller:D!=="small",children:t.jsx(As,{})})}):null]})},Is=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=x.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Ms,{variant:"tertiary",size:"small",label:Ft.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ti,{size:"Small",start:!0}):t.jsx(Os,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Ps,{windowSize:o,children:[t.jsx(Bs,{children:t.jsx(Fs,{isCircular:e<10,children:t.jsx(Gs,{children:e>Je?`${Je}${Ns}`:e})})}),t.jsxs(Hs,{windowSize:o,children:[t.jsx(Es,{children:e>1?qe.notificationsSelected:qe.notificationSelected}),e>Bt?t.jsx(Us,{children:re.maxLimit}):null]})]})},Rs=r.div`
600
- display: flex;
601
- height: 100vh;
602
- width: 100%;
603
- flex-direction: column;
604
- background-color: ${e=>e.theme.colors.grey4};
605
- `,zs=r.div`
606
- display: flex;
607
- height: 100%;
608
- overflow: auto;
609
- padding-top: ${i.sp0};
610
- padding-bottom: ${i.sp0};
611
- padding-left: ${e=>te.tableContainerLeftPadding.valuePx(e.windowSize)};
612
- padding-right: ${e=>te.tableContainerRightPadding.valuePx(e.windowSize)};
613
- `,Ds=r.div`
614
- padding-top: ${i.sp0};
615
- padding-bottom: ${i.sp0};
616
- padding-left: ${e=>te.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
617
- padding-right: ${e=>te.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
618
- `,_s=r.div`
619
- min-height: ${i.sp3};
620
- width: 100%;
621
- `,Ms=r(ii)`
622
- .mark-as-read {
623
- color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
624
- }
625
- :hover {
626
- .mark-as-read {
627
- color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
628
- }
629
- }
630
- `,Os=r(oi)`
631
- width: ${i.sp3};
632
- height: ${i.sp3};
633
- `,As=r.div``,Ps=r.div`
634
- display: flex;
635
- align-items: center;
636
- flex-direction: row;
637
- gap: ${i.sp2};
638
- margin-left: ${e=>te.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
639
- `,Fs=r.div`
640
- ${e=>e.isCircular?A`
641
- height: ${i.sp3};
642
- width: ${i.sp3};
643
- padding: ${i.sp0};
644
- `:A`
645
- height: 18px;
646
- min-width: ${i.sp3};
647
- padding: ${i.sp0} ${i.sp1};
648
- `}
649
- background-color: transparent;
650
- border-radius: inherit;
651
- `,Bs=r.div`
652
- border: 1px solid ${e=>e.theme.colors.grey1};
653
- border-radius: ${i.sp12};
654
- padding: 2px;
655
- `,Gs=r(si)`
656
- height: 100%;
657
- width: 100%;
658
- display: flex;
659
- align-items: center;
660
- justify-content: center;
661
- color: ${e=>e.theme.colors.hero};
662
- `,Es=r(rt)`
663
- display: flex;
664
- `,Us=r(ri)`
665
- display: flex;
666
- color: ${S.important};
667
- margin-left: ${i.sp1};
668
- `,Hs=r(rt)`
669
- ${e=>`${Ls.selectedNotificationsText.style(e.windowSize)}`};
670
- color: ${e=>e.theme.colors.primary};
671
- display: flex;
672
- align-items: center;
673
- flex-wrap: wrap;
674
- `,Vs=r.div`
675
- width: ${i.sp4};
676
- height: ${i.sp4};
677
- `,Ys=r(Kt)`
678
- color: ${e=>e.theme.colors.hero};
679
- width: ${i.sp4};
680
- height: ${i.sp4};
681
- cursor: pointer;
682
- &:hover {
683
- color: ${e=>e.theme.colors.primary};
684
- }
685
- `,Qe=e=>`${e}_form`,Ke=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};It(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[ne(d)]=a.filter(u=>h.includes(u))});const c={};return $t(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[ne(d)]=n.filter(u=>h.includes(u))}),{[Z]:c,[X]:l}},ra=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Ce.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{aa as default,ra as getSelectedNotificationIds,Qe as uniqueFormName};