@zeniai/web-components 3.16.39 → 3.16.40

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 (956) hide show
  1. package/dist/ACHDetailsPage-BuyU6iEz.cjs +21 -0
  2. package/dist/ACHDetailsPage-Ct5-WoAK.js +160 -0
  3. package/dist/AIPerformancePage-BVaxMag-.js +1333 -0
  4. package/dist/AIPerformancePage-DfRdjE9Y.cjs +530 -0
  5. package/dist/AccountInfoPage-C7MBKdL0.cjs +18 -0
  6. package/dist/AccountInfoPage-DdplczOB.js +78 -0
  7. package/dist/AccountInfoPageContent-5-bIBAlZ.cjs +149 -0
  8. package/dist/AccountInfoPageContent-DhklLdth.js +428 -0
  9. package/dist/AccountLockedInfoModal-C3zWBbT2.js +125 -0
  10. package/dist/AccountLockedInfoModal-zGANjVl6.cjs +59 -0
  11. package/dist/AccountReconDetailsDrawerPage-BOegyVid.js +686 -0
  12. package/dist/AccountReconDetailsDrawerPage-DTeKX7Vf.cjs +239 -0
  13. package/dist/AccountRow-6qyktMtX.cjs +298 -0
  14. package/dist/AccountRow-CQBgLMRQ.js +1009 -0
  15. package/dist/AccountsPromoCardStack-DpLbtGpK.cjs +207 -0
  16. package/dist/AccountsPromoCardStack-DwRNadms.js +664 -0
  17. package/dist/AddAddressForCardDrawer-BWv0ixAO.js +82 -0
  18. package/dist/AddAddressForCardDrawer-BfyjkCzH.cjs +6 -0
  19. package/dist/AddToWalletPage-3HIVUj1f.js +643 -0
  20. package/dist/AddToWalletPage-DtDd07sn.cjs +344 -0
  21. package/dist/AgingReportsPage-CeyV-SFk.js +827 -0
  22. package/dist/AgingReportsPage-MHwVeOkF.cjs +79 -0
  23. package/dist/AllUserItems-C7SnHJiq.js +979 -0
  24. package/dist/AllUserItems-DI3pPciy.cjs +192 -0
  25. package/dist/ApAgingDetailPage-D6ESwMyv.cjs +46 -0
  26. package/dist/ApAgingDetailPage-Ik0ixCna.js +239 -0
  27. package/dist/AppBasePage-CJD3vbNR.js +120 -0
  28. package/dist/AppBasePage-CJKWt52S.cjs +71 -0
  29. package/dist/AppDrawerContent-BhKNNQXi.cjs +91 -0
  30. package/dist/AppDrawerContent-DVkNCTtS.js +375 -0
  31. package/dist/ApprovalRulesSettingsPage-DRrl7GL_.cjs +47 -0
  32. package/dist/ApprovalRulesSettingsPage-DlI-NO2v.js +146 -0
  33. package/dist/ArAgingChart-BpwWmIr9.js +529 -0
  34. package/dist/ArAgingChart-CaFYAiLa.cjs +24 -0
  35. package/dist/ArAgingDetailPage-CROGma9U.cjs +46 -0
  36. package/dist/ArAgingDetailPage-DreXZLg_.js +243 -0
  37. package/dist/AttachmentView-BEvEkEcS.js +260 -0
  38. package/dist/AttachmentView-Bv_KiOPH.cjs +101 -0
  39. package/dist/BankAccountSection-CG9CacCu.cjs +79 -0
  40. package/dist/BankAccountSection-IbaiAHdo.js +398 -0
  41. package/dist/BankAccountWarningSection-BLp__xLv.js +110 -0
  42. package/dist/BankAccountWarningSection-CY0ZeBCE.cjs +51 -0
  43. package/dist/BankConnectionsSettingsPage-BSFsh7Cd.cjs +425 -0
  44. package/dist/BankConnectionsSettingsPage-CUYGEArQ.js +1695 -0
  45. package/dist/BillDetailPage-waiffzo6.cjs +266 -0
  46. package/dist/BillDetailPage-zRogxiKa.js +1798 -0
  47. package/dist/BillPayApprovalRuleDetailPage-DELxaP90.js +247 -0
  48. package/dist/BillPayApprovalRuleDetailPage-TOcFF-_T.cjs +27 -0
  49. package/dist/BillPayApprovalRulesPage-BxmpKfco.cjs +235 -0
  50. package/dist/BillPayApprovalRulesPage-DrWxkzSC.js +415 -0
  51. package/dist/BillPayPromoPage-BegcNR38.js +293 -0
  52. package/dist/BillPayPromoPage-UDapfy8J.cjs +84 -0
  53. package/dist/BillPaySetUpPage-Bon7bm4C.js +412 -0
  54. package/dist/BillPaySetUpPage-itdc_KJB.cjs +42 -0
  55. package/dist/BillingSettingsPage-B-6_UnaJ.cjs +44 -0
  56. package/dist/BillingSettingsPage-BTeurFew.js +336 -0
  57. package/dist/BillsBulkReviewDrawerPage-B6bZ1XZe.js +216 -0
  58. package/dist/BillsBulkReviewDrawerPage-By8HXcWX.cjs +1 -0
  59. package/dist/BoxItem-F0KOr97L.js +118 -0
  60. package/dist/BoxItem-Fs6Lglx1.cjs +53 -0
  61. package/dist/BusinessVerificationPage-Bj3I_Trb.cjs +138 -0
  62. package/dist/BusinessVerificationPage-DcX06VbW.js +717 -0
  63. package/dist/BusyIndication-BgMTrFEc.js +18 -0
  64. package/dist/BusyIndication-oEXavOiI.cjs +9 -0
  65. package/dist/CardNumberSubText-Bm4jz0mw.js +57 -0
  66. package/dist/CardNumberSubText-UwCYZzSb.cjs +21 -0
  67. package/dist/CashbackDetailPage-BPU3cf8Y.js +824 -0
  68. package/dist/CashbackDetailPage-cTfRCuvi.cjs +285 -0
  69. package/dist/ChargeCardDetailPage-CuecZabw.js +5762 -0
  70. package/dist/ChargeCardDetailPage-DwuxWMa1.cjs +1813 -0
  71. package/dist/ChargeCardListPage-NKH3uYCM.cjs +406 -0
  72. package/dist/ChargeCardListPage-yy_iIjyo.js +1775 -0
  73. package/dist/ChargeCardListTable-CH8WughE.js +2849 -0
  74. package/dist/ChargeCardListTable-O5SXNbTR.cjs +711 -0
  75. package/dist/ChargeCardPromoPage-Cck7QH7d.js +806 -0
  76. package/dist/ChargeCardPromoPage-DOOtx1OG.cjs +222 -0
  77. package/dist/ChargeCardSetupPage-CijVkgc5.js +362 -0
  78. package/dist/ChargeCardSetupPage-DJBOkljU.cjs +36 -0
  79. package/dist/ChargeCardStatementsPage-D5xK4u3H.js +243 -0
  80. package/dist/ChargeCardStatementsPage-XG5PEVHr.cjs +60 -0
  81. package/dist/ChargeCardUtils-B7ldAe9o.js +102 -0
  82. package/dist/ChargeCardUtils-CxXtoOIy.cjs +1 -0
  83. package/dist/ChaseOverlay-0GOxKqW0.cjs +170 -0
  84. package/dist/ChaseOverlay-TweXskdx.js +402 -0
  85. package/dist/CheckDepositDrawerPage-BZ3X_Lix.js +726 -0
  86. package/dist/CheckDepositDrawerPage-BqY7mK6g.cjs +206 -0
  87. package/dist/CollapsableReportTable-4z3NZPAe.cjs +2932 -0
  88. package/dist/CollapsableReportTable-DfogYZH-.js +11743 -0
  89. package/dist/CompanyOfficerDetailsSection-De-euidt.js +1633 -0
  90. package/dist/CompanyOfficerDetailsSection-GdzFPyiI.cjs +260 -0
  91. package/dist/CompanyPassportCard-CjM85jLv.cjs +42 -0
  92. package/dist/CompanyPassportCard-D0nTW-X4.js +146 -0
  93. package/dist/CompanyPassportPage-BsQZvnYb.js +2160 -0
  94. package/dist/CompanyPassportPage-oaQc_5E5.cjs +574 -0
  95. package/dist/CompleteProfile-B3psSTNO.cjs +52 -0
  96. package/dist/CompleteProfile-DIPF4P0L.js +301 -0
  97. package/dist/ConfettiBurst-DcW-EmKh.cjs +1 -0
  98. package/dist/ConfettiBurst-OcYZ4SJA.js +37 -0
  99. package/dist/CreateOrEditVendorPage-Cxf0NQd5.js +755 -0
  100. package/dist/CreateOrEditVendorPage-Dd4kb4Rd.cjs +281 -0
  101. package/dist/CreditCardPaymentDrawerPage-Bye-3vMx.js +1171 -0
  102. package/dist/CreditCardPaymentDrawerPage-COwGq5tj.cjs +224 -0
  103. package/dist/CreditCardPaymentPlgSection-CXym2vxB.js +196 -0
  104. package/dist/CreditCardPaymentPlgSection-DEOQjE66.cjs +78 -0
  105. package/dist/CurrencySelectField-BUdJQbZL.cjs +139 -0
  106. package/dist/CurrencySelectField-BYmmIwcR.js +348 -0
  107. package/dist/CustomerOnboardingActivationPage-91XhzwSp.cjs +88 -0
  108. package/dist/CustomerOnboardingActivationPage-ChoztYoE.js +143 -0
  109. package/dist/CustomerOnboardingContainerPage-D9LXNWCM.js +7 -0
  110. package/dist/CustomerOnboardingContainerPage-mZdCGiH9.cjs +1 -0
  111. package/dist/CustomerOnboardingDetailPageSkeleton-Bo5hs8Pp.js +434 -0
  112. package/dist/CustomerOnboardingDetailPageSkeleton-CLFT9i-U.cjs +162 -0
  113. package/dist/CustomerOnboardingNoStepsPage-BkvAan59.cjs +66 -0
  114. package/dist/CustomerOnboardingNoStepsPage-CnA2qKHQ.js +425 -0
  115. package/dist/CustomerOnboardingPage-CQoIB32r.cjs +107 -0
  116. package/dist/CustomerOnboardingPage-DwPqUKDV.js +1060 -0
  117. package/dist/CustomerOnboardingProductSuitePage-D4uIRarg.js +349 -0
  118. package/dist/CustomerOnboardingProductSuitePage-frMDfQ2r.cjs +202 -0
  119. package/dist/Dashboard-Cal_467r.cjs +1551 -0
  120. package/dist/Dashboard-D7SZNoMp.js +5531 -0
  121. package/dist/DashboardReportPage-CddzCQCz.js +2536 -0
  122. package/dist/DashboardReportPage-Sq5HWDCW.cjs +371 -0
  123. package/dist/DashboardSidebarBackgroundAnimation-BuErnQdn.cjs +12 -0
  124. package/dist/DashboardSidebarBackgroundAnimation-bFC40zc2.js +50 -0
  125. package/dist/DepositAccTransactionItem-C4qoDnns.js +112 -0
  126. package/dist/DepositAccTransactionItem-CnL9cWW1.cjs +76 -0
  127. package/dist/DepositAccTransactionListPage-bouy9xde.cjs +66 -0
  128. package/dist/DepositAccTransactionListPage-oYT-_nWU.js +152 -0
  129. package/dist/DomesticWireDetailsPage-B9YjzCjB.cjs +21 -0
  130. package/dist/DomesticWireDetailsPage-BYH3PR_o.js +189 -0
  131. package/dist/DownloadOverlay-C8aqYK8o.cjs +439 -0
  132. package/dist/DownloadOverlay-Qx87ixVF.js +2148 -0
  133. package/dist/DrawerPage-ecLd2JyS.js +208 -0
  134. package/dist/DrawerPage-q1ZXjzl9.cjs +118 -0
  135. package/dist/EditPeoplePage-BfuLiVBW.cjs +55 -0
  136. package/dist/EditPeoplePage-C7rWpaD2.js +392 -0
  137. package/dist/EditReimbursementDetailPage-C_ks_faJ.js +4461 -0
  138. package/dist/EditReimbursementDetailPage-CxypbQH0.cjs +865 -0
  139. package/dist/EmptySearchResults-BlmQ7d2B.js +70 -0
  140. package/dist/EmptySearchResults-Da-c3f14.cjs +46 -0
  141. package/dist/EntityDetailPage-iPy6ezXH.js +82 -0
  142. package/dist/EntityDetailPage-rlRqb4pf.cjs +18 -0
  143. package/dist/EntitySummarySection-BCaKdVxb.cjs +149 -0
  144. package/dist/EntitySummarySection-BoqJImmB.js +530 -0
  145. package/dist/ExpenseAutomationOverviewPage-B1OYpzY7.cjs +241 -0
  146. package/dist/ExpenseAutomationOverviewPage-BPewOpI3.js +735 -0
  147. package/dist/ExpenseAutomationPage-BLHnlyV2.js +11496 -0
  148. package/dist/ExpenseAutomationPage-DTEhNF1A.cjs +1650 -0
  149. package/dist/ExpressPayPage-BJ5T-38h.js +1136 -0
  150. package/dist/ExpressPayPage-EGcN4OmO.cjs +168 -0
  151. package/dist/FeaturePreviewPage-DKd18ogL.js +114 -0
  152. package/dist/FeaturePreviewPage-HoUXRLZr.cjs +11 -0
  153. package/dist/FollowStepsSection-AY-suSQO.cjs +390 -0
  154. package/dist/FollowStepsSection-Bbllt6WO.js +1313 -0
  155. package/dist/GlobalReviewListPage-DTiC_4mV.js +1674 -0
  156. package/dist/GlobalReviewListPage-RnRNAH95.cjs +291 -0
  157. package/dist/HelpButton-C-b2eT2i.cjs +28 -0
  158. package/dist/HelpButton-ClJElDJA.js +81 -0
  159. package/dist/InformationCardStack-B3I0qZUF.js +219 -0
  160. package/dist/InformationCardStack-Dt5a-XPn.cjs +31 -0
  161. package/dist/InsightsCardStack-CVsLW213.js +305 -0
  162. package/dist/InsightsCardStack-rreGlnk5.cjs +79 -0
  163. package/dist/InsightsSection-R-03Cf8d.js +97 -0
  164. package/dist/InsightsSection-WxhrcnGc.cjs +27 -0
  165. package/dist/IntegrationsSettingsPage-Bkh-zyo7.cjs +57 -0
  166. package/dist/IntegrationsSettingsPage-f6ogmSrg.js +137 -0
  167. package/dist/InternationalWireSwiftDetailsPage-CDDL4rbS.cjs +171 -0
  168. package/dist/InternationalWireSwiftDetailsPage-FYZN26zS.js +753 -0
  169. package/dist/InternationalWireVerificationPage-B9XqLIqk.js +877 -0
  170. package/dist/InternationalWireVerificationPage-goNgxbch.cjs +292 -0
  171. package/dist/InviteFormPage-CLQD2jpu.js +873 -0
  172. package/dist/InviteFormPage-Dr4ENJuC.cjs +312 -0
  173. package/dist/InvitePageListView-Dx4AxgSo.cjs +739 -0
  174. package/dist/InvitePageListView-X_Fo0MdM.js +1764 -0
  175. package/dist/InvitePeoplePage-C0f3G2PD.js +286 -0
  176. package/dist/InvitePeoplePage-V76fT9kF.cjs +12 -0
  177. package/dist/InvoiceUploadSection-CW4c26gu.js +465 -0
  178. package/dist/InvoiceUploadSection-DAB_VhzO.cjs +140 -0
  179. package/dist/IssueChargeCardPage-CECzDMjH.cjs +532 -0
  180. package/dist/IssueChargeCardPage-DM-mzpvJ.js +2875 -0
  181. package/dist/LabeledAddressValue-CO2Whhy6.js +115 -0
  182. package/dist/LabeledAddressValue-Ck1cnGhm.cjs +49 -0
  183. package/dist/LabeledAddressValueField-BhoJ1V6s.js +130 -0
  184. package/dist/LabeledAddressValueField-C7KK99Gt.cjs +45 -0
  185. package/dist/LabeledControlledCheckBoxField-CsMN2ZsD.js +73 -0
  186. package/dist/LabeledControlledCheckBoxField-Dm7g9JIZ.cjs +16 -0
  187. package/dist/LabeledCreatableSingleSelectField-AG0St7mA.cjs +204 -0
  188. package/dist/LabeledCreatableSingleSelectField-cwNchJ6H.js +515 -0
  189. package/dist/LabeledDocumentField-DzileBnI.js +147 -0
  190. package/dist/LabeledDocumentField-smZ3A_6Q.cjs +41 -0
  191. package/dist/LabeledDropDownFormattedTextField-B4d1us8-.cjs +59 -0
  192. package/dist/LabeledDropDownFormattedTextField-BB2sLc7u.js +163 -0
  193. package/dist/LabeledEmailInputField-DjqipTA3.js +425 -0
  194. package/dist/LabeledEmailInputField-DzpP-VPa.cjs +182 -0
  195. package/dist/LabeledItemWithButton-DBNiVMlv.js +74 -0
  196. package/dist/LabeledItemWithButton-d1BqLq6U.cjs +21 -0
  197. package/dist/LabeledNameField-5qm02Mj0.js +293 -0
  198. package/dist/LabeledNameField-B5xdGBu2.cjs +141 -0
  199. package/dist/LabeledSingleSelectField-BRwGz6CX.js +372 -0
  200. package/dist/LabeledSingleSelectField-Cieet4X1.cjs +136 -0
  201. package/dist/LabeledSingleSelectWithoutClearableField-BQ0xdMSy.js +103 -0
  202. package/dist/LabeledSingleSelectWithoutClearableField-YEQr5SSA.cjs +38 -0
  203. package/dist/LabeledText-BCFdu4GK.cjs +42 -0
  204. package/dist/LabeledText-DKVgKnFt.js +103 -0
  205. package/dist/LabeledUserSingleSelectWithSubtitlesField-B6A5kSoh.cjs +229 -0
  206. package/dist/LabeledUserSingleSelectWithSubtitlesField-Dc6DHwjA.js +572 -0
  207. package/dist/LabeledZeniRolesDropDownField-ChRMn9AT.js +975 -0
  208. package/dist/LabeledZeniRolesDropDownField-l5XZR19p.cjs +297 -0
  209. package/dist/LinkJETransactionPage-1K7azPFt.cjs +98 -0
  210. package/dist/LinkJETransactionPage-Dz_BLuOI.js +406 -0
  211. package/dist/LockCardPage-CaWSHNJz.js +1894 -0
  212. package/dist/LockCardPage-DdIjnuak.cjs +574 -0
  213. package/dist/LowBalancePopup-DKrbQ-LP.cjs +34 -0
  214. package/dist/LowBalancePopup-DUMp0PeB.js +219 -0
  215. package/dist/MagicLinkACHDetailsPage-BQYH-2uB.js +39 -0
  216. package/dist/MagicLinkACHDetailsPage-D1S86wYN.cjs +1 -0
  217. package/dist/MagicLinkDomesticWireDetailsPage-BQZs2U4e.js +44 -0
  218. package/dist/MagicLinkDomesticWireDetailsPage-BoKNHgxz.cjs +1 -0
  219. package/dist/MagicLinkInternationalWireDetailsPage-D2J_ZafS.cjs +1 -0
  220. package/dist/MagicLinkInternationalWireDetailsPage-xjUw_Mrv.js +43 -0
  221. package/dist/MagicLinkSuccessPage-CA5YiSs5.js +59 -0
  222. package/dist/MagicLinkSuccessPage-CMGizr7U.cjs +31 -0
  223. package/dist/MagicLinkTitleSection-B09IFQSa.cjs +17 -0
  224. package/dist/MagicLinkTitleSection-Bx_yXCpB.js +40 -0
  225. package/dist/MailingDetailsSection-mue8hKwm.cjs +21 -0
  226. package/dist/MailingDetailsSection-yoJumjk_.js +74 -0
  227. package/dist/MatchingOperatorDropdown-CS2DQYX2.js +572 -0
  228. package/dist/MatchingOperatorDropdown-Crewo-w1.cjs +130 -0
  229. package/dist/MeetingCalenderPopup-BR8Y5-_Y.cjs +26 -0
  230. package/dist/MeetingCalenderPopup-BsJhQ5or.js +60 -0
  231. package/dist/Menu-B2v2YMUc.js +110 -0
  232. package/dist/Menu-BePewOz-.cjs +17 -0
  233. package/dist/MoreMenuButton-BMIbUcOc.js +569 -0
  234. package/dist/MoreMenuButton-D3NlL0Bd.cjs +167 -0
  235. package/dist/MyBankConnectionsSettingsPage-BOvR8KTa.js +297 -0
  236. package/dist/MyBankConnectionsSettingsPage-DFww-5SU.cjs +110 -0
  237. package/dist/MyPendingActivationChargeCardListPage-DmQ6JnI0.js +168 -0
  238. package/dist/MyPendingActivationChargeCardListPage-RiPPTzqU.cjs +6 -0
  239. package/dist/MyProfileSettingsPage-6amnCapg.js +641 -0
  240. package/dist/MyProfileSettingsPage-BJwemoZ8.cjs +85 -0
  241. package/dist/NavBarWithPicker-CN1Ys9DY.cjs +30 -0
  242. package/dist/NavBarWithPicker-CX7x_lt2.js +106 -0
  243. package/dist/NavigationArrow-B7f2rdDx.js +88 -0
  244. package/dist/NavigationArrow-C78zOj7t.cjs +47 -0
  245. package/dist/NavigationDots-Bya5VlpL.cjs +15 -0
  246. package/dist/NavigationDots-CxaOHq97.js +44 -0
  247. package/dist/NewGlobalMerchantPage-B1vPSWOv.js +543 -0
  248. package/dist/NewGlobalMerchantPage-C-dVKgTu.cjs +160 -0
  249. package/dist/NoDataChart-CPk9D-Ke.js +58 -0
  250. package/dist/NoDataChart-DogAugM-.cjs +26 -0
  251. package/dist/NoDataTable-B6hgdvZp.js +27 -0
  252. package/dist/NoDataTable-DhORx-er.cjs +8 -0
  253. package/dist/NotFoundPage-C71f8L2b.js +71 -0
  254. package/dist/NotFoundPage-jU7_BM02.cjs +46 -0
  255. package/dist/NotificationSettingsPage-8rUDFukk.js +541 -0
  256. package/dist/NotificationSettingsPage-_aMMmvPs.cjs +163 -0
  257. package/dist/NotificationsListConfig-ZN6eG4nj.js +10 -0
  258. package/dist/NotificationsListConfig-oR3DmiL8.cjs +1 -0
  259. package/dist/NotificationsPage-DFwkHOgP.cjs +685 -0
  260. package/dist/NotificationsPage-DdqHtk6X.js +2664 -0
  261. package/dist/OpExByVendorPage-Cu3gwevh.cjs +100 -0
  262. package/dist/OpExByVendorPage-DlD_cLpL.js +1057 -0
  263. package/dist/PandLWithForecastPage-BmRi4-IT.js +563 -0
  264. package/dist/PandLWithForecastPage-CMi_uEm4.cjs +107 -0
  265. package/dist/PaymentAccountSetupBillingAddressSection-BowS9RbN.cjs +106 -0
  266. package/dist/PaymentAccountSetupBillingAddressSection-_BcMoPZE.js +623 -0
  267. package/dist/PeoplePage-B5bGfAwJ.js +1994 -0
  268. package/dist/PeoplePage-DNYlVcp7.cjs +675 -0
  269. package/dist/PortfolioAllocationFormPage-B2eqiLH7.js +440 -0
  270. package/dist/PortfolioAllocationFormPage-DbYj665z.cjs +207 -0
  271. package/dist/PortfolioDetails-CD3PgBap.js +653 -0
  272. package/dist/PortfolioDetails-Nt_aJEpZ.cjs +218 -0
  273. package/dist/ProductsCarousel-2P6_hs62.js +309 -0
  274. package/dist/ProductsCarousel-CJEwFTY_.cjs +142 -0
  275. package/dist/PromoBaseCards-ByToaAiv.js +356 -0
  276. package/dist/PromoBaseCards-CBajy7Qh.cjs +218 -0
  277. package/dist/QBOConnectionDialog-Ci2TqUw3.cjs +51 -0
  278. package/dist/QBOConnectionDialog-CkKgmv5k.js +115 -0
  279. package/dist/QBOSetupSection-BNp3JAZ-.cjs +79 -0
  280. package/dist/QBOSetupSection-Dkp7fd6G.js +167 -0
  281. package/dist/ReimbursementApprovalRuleDetailPage-BHOTwZRD.cjs +26 -0
  282. package/dist/ReimbursementApprovalRuleDetailPage-C3GV4joc.js +247 -0
  283. package/dist/ReimbursementApprovalRulesPage-CGhlng5C.js +410 -0
  284. package/dist/ReimbursementApprovalRulesPage-ClcjqS8N.cjs +237 -0
  285. package/dist/ReimbursementDetailPage-Bs5dFFNQ.js +1511 -0
  286. package/dist/ReimbursementDetailPage-CH3kDvgN.cjs +314 -0
  287. package/dist/ReimbursementPromoPage-C1bkbEQ4.js +364 -0
  288. package/dist/ReimbursementPromoPage-D5_pT2VK.cjs +84 -0
  289. package/dist/ReimbursementSetUpPage-Ch1OG5TE.cjs +140 -0
  290. package/dist/ReimbursementSetUpPage-wU3mAcAs.js +666 -0
  291. package/dist/ReimbursementsBulkReviewDrawerPage-CDSp05zr.js +204 -0
  292. package/dist/ReimbursementsBulkReviewDrawerPage-D4YRYL_2.cjs +1 -0
  293. package/dist/ReloadCard-CU92RBtW.js +137 -0
  294. package/dist/ReloadCard-LHG6PzS_.cjs +26 -0
  295. package/dist/ReloadContainer-B9JtpJEN.cjs +596 -0
  296. package/dist/ReloadContainer-q5iLh503.js +2144 -0
  297. package/dist/ReportTableViewSelector-9FwQz4HU.js +679 -0
  298. package/dist/ReportTableViewSelector-DwV-P5Ny.cjs +150 -0
  299. package/dist/ReportsPage-CoILNbTA.js +1315 -0
  300. package/dist/ReportsPage-DkojLE2Q.cjs +121 -0
  301. package/dist/RevenueChart-Bt5GyRRZ.js +2239 -0
  302. package/dist/RevenueChart-PtI6xVfZ.cjs +280 -0
  303. package/dist/ReviewDetailsPage-Bt-TM1MQ.js +1073 -0
  304. package/dist/ReviewDetailsPage-CE2QD0fW.cjs +290 -0
  305. package/dist/ReviewOverlay-BulfEI4l.js +299 -0
  306. package/dist/ReviewOverlay-TaGscRCF.cjs +152 -0
  307. package/dist/RoleWithToolTip-CxSZI2zj.cjs +22 -0
  308. package/dist/RoleWithToolTip-CzoMYPtl.js +72 -0
  309. package/dist/ScheduleDetailsFixedAssetsPage-CXur6QTu.cjs +37 -0
  310. package/dist/ScheduleDetailsFixedAssetsPage-kLC3aKFl.js +806 -0
  311. package/dist/ScheduleDetailsPage-B2dWm2LZ.js +726 -0
  312. package/dist/ScheduleDetailsPage-CsDwRQDa.cjs +37 -0
  313. package/dist/ScheduleSequenceTable-Cxly5KiS.cjs +324 -0
  314. package/dist/ScheduleSequenceTable-qSk-rn8y.js +1261 -0
  315. package/dist/SetUpAccountSection-BMN-vRnv.js +1470 -0
  316. package/dist/SetUpAccountSection-BdvrSCbE.cjs +378 -0
  317. package/dist/SetUpDefaultSection-DDZ8ONLb.js +537 -0
  318. package/dist/SetUpDefaultSection-DzxLi-VE.cjs +187 -0
  319. package/dist/SignIn-BHNLT0qA.js +1075 -0
  320. package/dist/SignIn-Cbr_6_UA.cjs +448 -0
  321. package/dist/SpendManagementListViewPage-Ckefvub1.js +627 -0
  322. package/dist/SpendManagementListViewPage-DH5mofiJ.cjs +122 -0
  323. package/dist/SpendManagementPerTabPage-C39TVuBp.cjs +754 -0
  324. package/dist/SpendManagementPerTabPage-TBb-I5tu.js +2735 -0
  325. package/dist/SpendManagementSection-B0C4tQ8W.cjs +230 -0
  326. package/dist/SpendManagementSection-Dr8BR9Jk.js +1043 -0
  327. package/dist/SpendMgmtSetupAccountSection-D2XtVRok.cjs +206 -0
  328. package/dist/SpendMgmtSetupAccountSection-DQ1xajyl.js +875 -0
  329. package/dist/StatementItem-BD2Z11GQ.js +81 -0
  330. package/dist/StatementItem-DL8ujs-m.cjs +31 -0
  331. package/dist/StatementsPage-CPVb1E2H.cjs +58 -0
  332. package/dist/StatementsPage-CyTpWS2V.js +130 -0
  333. package/dist/StatusSwitcher-CK4EHYaT.js +319 -0
  334. package/dist/StatusSwitcher-CtDYKfG6.cjs +120 -0
  335. package/dist/SubTabSwitcher-BxYpbnXf.cjs +58 -0
  336. package/dist/SubTabSwitcher-Cg9Om7Rz.js +113 -0
  337. package/dist/SuccessAnimation-Cpvi_EKK.js +52 -0
  338. package/dist/SuccessAnimation-O12_xleb.cjs +13 -0
  339. package/dist/SummaryCard-Dj-CG0HL.cjs +1 -0
  340. package/dist/SummaryCard-kYo7obVe.js +25 -0
  341. package/dist/TaskDetailPage-CNHhvovG.cjs +775 -0
  342. package/dist/TaskDetailPage-DiH5pxHu.js +2533 -0
  343. package/dist/TaskListRow-BngYsFDs.cjs +556 -0
  344. package/dist/TaskListRow-CjxiDmb7.js +1950 -0
  345. package/dist/TaskManagementPage-DHVX61t1.cjs +508 -0
  346. package/dist/TaskManagementPage-WJXKYMGa.js +1935 -0
  347. package/dist/TimeRangeSwitcher-BrOydOhE.cjs +64 -0
  348. package/dist/TimeRangeSwitcher-CWItlOkP.js +265 -0
  349. package/dist/TimeframeSwitcher-Dx0OFpfO.cjs +31 -0
  350. package/dist/TimeframeSwitcher-DyymROQ3.js +103 -0
  351. package/dist/TimeframeSwitcherWithToggle-B66AxXnA.cjs +31 -0
  352. package/dist/TimeframeSwitcherWithToggle-CLJROV-M.js +157 -0
  353. package/dist/TopExCard-QZWKkb5h.cjs +38 -0
  354. package/dist/TopExCard-pth8JBrB.js +568 -0
  355. package/dist/TopExDetailPage-BxFlS-np.cjs +132 -0
  356. package/dist/TopExDetailPage-CXyQ5zdf.js +318 -0
  357. package/dist/TransactionDetailPage-BQuRMqqK.cjs +912 -0
  358. package/dist/TransactionDetailPage-BRdUEvDb.js +5238 -0
  359. package/dist/TransactionList-BAW-a6bl.cjs +147 -0
  360. package/dist/TransactionList-BkvKH115.js +558 -0
  361. package/dist/TransactionListBig-DNtZdBg9.cjs +284 -0
  362. package/dist/TransactionListBig-b-vDRfes.js +658 -0
  363. package/dist/TransactionListPage-94VX3Gqt.cjs +35 -0
  364. package/dist/TransactionListPage-ChnRnP-I.js +144 -0
  365. package/dist/TransactionVendorDetailPage-BI-zSTuo.cjs +80 -0
  366. package/dist/TransactionVendorDetailPage-tzYG-Kog.js +425 -0
  367. package/dist/TransferDrawerPage-B0HNAGQC.js +1435 -0
  368. package/dist/TransferDrawerPage-z9Yaickj.cjs +362 -0
  369. package/dist/TreasuryOverviewPage-CH2EKDNY.js +1890 -0
  370. package/dist/TreasuryOverviewPage-m5cgZxnR.cjs +708 -0
  371. package/dist/TreasuryPromoPage-Csn6dSvK.js +1122 -0
  372. package/dist/TreasuryPromoPage-DQNNUV_H.cjs +505 -0
  373. package/dist/TreasurySetupPage-26frypq2.js +683 -0
  374. package/dist/TreasurySetupPage-BD9bFSlU.cjs +144 -0
  375. package/dist/TreasuryStatementsPage-BMBJ9v7N.js +131 -0
  376. package/dist/TreasuryStatementsPage-D-4qB1hJ.cjs +58 -0
  377. package/dist/TreasuryTaxLetterPage-RcPkmavx.js +131 -0
  378. package/dist/TreasuryTaxLetterPage-kA2YiBIl.cjs +58 -0
  379. package/dist/TreasuryTransferOrReviewPage-CoWEQCdf.cjs +576 -0
  380. package/dist/TreasuryTransferOrReviewPage-gMSSRTCk.js +1938 -0
  381. package/dist/TrendChart-ChmKe2Fp.js +333 -0
  382. package/dist/TrendChart-Dhnw82A6.cjs +16 -0
  383. package/dist/TrendWithTransactions-B3B_eDUt.js +346 -0
  384. package/dist/TrendWithTransactions-leZghp80.cjs +116 -0
  385. package/dist/UncategorizedAccountsMappingPage-BWczhaOh.js +1160 -0
  386. package/dist/UncategorizedAccountsMappingPage-CwmEzKX6.cjs +244 -0
  387. package/dist/UnitIntegrationPage-Kc_5mNzw.cjs +67 -0
  388. package/dist/UnitIntegrationPage-M4kHuGSH.js +405 -0
  389. package/dist/UploadAdditionalDocumentOverlay-2uoTgADE.js +211 -0
  390. package/dist/UploadAdditionalDocumentOverlay-B6gKn2kD.cjs +38 -0
  391. package/dist/Vendor2FAPopup-NCEz2T_a.js +69 -0
  392. package/dist/Vendor2FAPopup-YFGQSE1I.cjs +1 -0
  393. package/dist/VendorACHDetailsPage-CG_WD6Wr.js +43 -0
  394. package/dist/VendorACHDetailsPage-RLzBL72-.cjs +1 -0
  395. package/dist/VendorDetailPage-DhO-aBMf.cjs +257 -0
  396. package/dist/VendorDetailPage-_7-tkeNh.js +1236 -0
  397. package/dist/VendorDomesticWireDetailsPage-BXYjMTrZ.js +53 -0
  398. package/dist/VendorDomesticWireDetailsPage-C35cHwMo.cjs +1 -0
  399. package/dist/VendorFiling1099EditablePage-BxEDLwZT.js +842 -0
  400. package/dist/VendorFiling1099EditablePage-C93nbZCn.cjs +175 -0
  401. package/dist/VendorFirstReviewPage-BuvRAFu9.cjs +730 -0
  402. package/dist/VendorFirstReviewPage-LTyO3vzu.js +2748 -0
  403. package/dist/VendorInternationalWireDetailsPage-DiemzCFP.cjs +152 -0
  404. package/dist/VendorInternationalWireDetailsPage-ibfkNbKt.js +968 -0
  405. package/dist/VendorInternationalWireSwiftDetailsPage-BK37dGR_.js +52 -0
  406. package/dist/VendorInternationalWireSwiftDetailsPage-CsKTp2QG.cjs +1 -0
  407. package/dist/VendorsAccountsSection-D5NZABRE.js +279 -0
  408. package/dist/VendorsAccountsSection-ncl8yojX.cjs +68 -0
  409. package/dist/VerifyDevice-BB8epZF9.js +298 -0
  410. package/dist/VerifyDevice-CxZIkNUh.cjs +112 -0
  411. package/dist/VideoPlayer-BhhGFkQy.cjs +77 -0
  412. package/dist/VideoPlayer-CkjhWG7O.js +169 -0
  413. package/dist/VideoPopup-C8uSuwl5.js +60 -0
  414. package/dist/VideoPopup-NuhTUIGZ.cjs +31 -0
  415. package/dist/WarningsDrawerPage-C2hft8DH.js +228 -0
  416. package/dist/WarningsDrawerPage-COYKV1Ug.cjs +92 -0
  417. package/dist/ZeniAccountDetailPage-B_rK1Wp5.js +907 -0
  418. package/dist/ZeniAccountDetailPage-xvo0zYPV.cjs +300 -0
  419. package/dist/ZeniAccountListViewPage-B0Xlhzfr.cjs +441 -0
  420. package/dist/ZeniAccountListViewPage-Du7vYtQB.js +1078 -0
  421. package/dist/ZeniAccountNavBarPieces-DcW6WtPy.cjs +14 -0
  422. package/dist/ZeniAccountNavBarPieces-fxx1McpI.js +89 -0
  423. package/dist/ZeniAccountPromoPage-BXfQGIcj.js +523 -0
  424. package/dist/ZeniAccountPromoPage-Cm-GmpuB.cjs +184 -0
  425. package/dist/ZeniAccountSetupPage-CeUExEMH.js +312 -0
  426. package/dist/ZeniAccountSetupPage-Dnr9a9Yu.cjs +36 -0
  427. package/dist/ZeniAvatar-3jNeOB9H.cjs +13 -0
  428. package/dist/ZeniAvatar-jam-I3Ng.js +34 -0
  429. package/dist/ZeniCopyright-Bp7W5xxE.cjs +1 -0
  430. package/dist/ZeniCopyright-bbS23XIr.js +9 -0
  431. package/dist/ZeniDatePicker-DcKBPwg8.cjs +187 -0
  432. package/dist/ZeniDatePicker-Dw5tQytS.js +386 -0
  433. package/dist/ZeniTransferAmountSlider-BdwhMN4m.js +215 -0
  434. package/dist/ZeniTransferAmountSlider-Bput3yg7.cjs +63 -0
  435. package/dist/analyticsHelper-B3YoCJXa.cjs +1 -0
  436. package/dist/analyticsHelper-DQXr_0N3.js +65 -0
  437. package/dist/appLocale.d.ts +2 -0
  438. package/dist/calculateSize-VAChmt-T.js +22 -0
  439. package/dist/calculateSize-noA2g7kO.cjs +1 -0
  440. package/dist/chartTypes-BHFhETDi.js +47 -0
  441. package/dist/chartTypes-zKHv-TnX.cjs +1 -0
  442. package/dist/cockpit.cjs.js +2 -2
  443. package/dist/cockpit.esm.js +15 -15
  444. package/dist/common-C_-ucD6S.cjs +1 -0
  445. package/dist/common-DlMquC5r.js +22 -0
  446. package/dist/commonDimensions-BJ4Cka81.cjs +1 -0
  447. package/dist/commonDimensions-XntDJCoa.js +13 -0
  448. package/dist/detailCommon-pEIKIa_l.js +124 -0
  449. package/dist/detailCommon-v7SJ_ZOV.cjs +38 -0
  450. package/dist/downloadPdf-CbOTo5Lc.js +32 -0
  451. package/dist/downloadPdf-Dow84b8r.cjs +1 -0
  452. package/dist/index-D4PXma22.cjs +19239 -0
  453. package/dist/index-oeut1pIL.js +85948 -0
  454. package/dist/index.cjs.js +1 -1
  455. package/dist/index.esm.js +1 -1
  456. package/dist/mapLoadingInProgressToTreeNode-CXI41pov.cjs +1 -0
  457. package/dist/mapLoadingInProgressToTreeNode-D6877c76.js +25 -0
  458. package/dist/mapSectionWithAcOnlyToTreeNode-B0IMbpHK.js +388 -0
  459. package/dist/mapSectionWithAcOnlyToTreeNode-CljJuOKo.cjs +1 -0
  460. package/dist/mapSpacerToTreeNode-BGyQBtrT.cjs +1 -0
  461. package/dist/mapSpacerToTreeNode-uHEw-f6A.js +25 -0
  462. package/dist/mapTimeframeBalancesToTreeNode-B119U8CN.js +24 -0
  463. package/dist/mapTimeframeBalancesToTreeNode-CqgMxgbC.cjs +1 -0
  464. package/dist/mapTimeframeBalancesToTreeNode-D6Ky7vGN.js +24 -0
  465. package/dist/mapTimeframeBalancesToTreeNode-DoLu9zgD.cjs +1 -0
  466. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BQGJEM9N.cjs +1 -0
  467. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dgj5Xl6i.js +32 -0
  468. package/dist/sectionColor-BWV5mTz-.cjs +1 -0
  469. package/dist/sectionColor-D5OibLm0.js +32 -0
  470. package/dist/strings/strings-en-in.d.ts +2 -0
  471. package/dist/strings/strings.d.ts +2 -0
  472. package/dist/toCOABalancesWithID-7dhwT5Wq.js +8 -0
  473. package/dist/toCOABalancesWithID-DdN_K6pD.cjs +1 -0
  474. package/dist/toChartData-CKnrMCPb.js +76 -0
  475. package/dist/toChartData-D1Nchmtk.cjs +1 -0
  476. package/dist/treasuryColorHelper-AuK0MhX9.js +60 -0
  477. package/dist/treasuryColorHelper-dWB4LxUX.cjs +1 -0
  478. package/dist/uploadAttachment-COYoBDpI.cjs +286 -0
  479. package/dist/uploadAttachment-Df6yugWD.js +952 -0
  480. package/dist/zeniDatePicker.helpers-BsCB9n5f.cjs +1 -0
  481. package/dist/zeniDatePicker.helpers-C5bwMIGa.js +14 -0
  482. package/package.json +1 -1
  483. package/dist/ACHDetailsPage-DRTKGZRg.js +0 -160
  484. package/dist/ACHDetailsPage-x2GsUB6i.cjs +0 -21
  485. package/dist/AIPerformancePage-BiJJjrhT.js +0 -1333
  486. package/dist/AIPerformancePage-bsGX4Fta.cjs +0 -530
  487. package/dist/AccountInfoPage-Dv6BwsYO.cjs +0 -18
  488. package/dist/AccountInfoPage-vGRLLjSJ.js +0 -78
  489. package/dist/AccountInfoPageContent-97TAUxBk.js +0 -428
  490. package/dist/AccountInfoPageContent-Bu8wBE63.cjs +0 -149
  491. package/dist/AccountLockedInfoModal-CkxVn3nI.js +0 -125
  492. package/dist/AccountLockedInfoModal-DIGqW1tZ.cjs +0 -59
  493. package/dist/AccountReconDetailsDrawerPage-CTU_OscW.js +0 -686
  494. package/dist/AccountReconDetailsDrawerPage-DuceYU-v.cjs +0 -239
  495. package/dist/AccountRow-B2VWoEkH.js +0 -1009
  496. package/dist/AccountRow-CdlSr6QU.cjs +0 -298
  497. package/dist/AccountsPromoCardStack-D08wmO3g.cjs +0 -207
  498. package/dist/AccountsPromoCardStack-D8NIRk_P.js +0 -664
  499. package/dist/AddAddressForCardDrawer-B8m8AQA9.cjs +0 -6
  500. package/dist/AddAddressForCardDrawer-C6N0d3LK.js +0 -82
  501. package/dist/AddToWalletPage-SSr5sRrt.js +0 -643
  502. package/dist/AddToWalletPage-fggcDU22.cjs +0 -344
  503. package/dist/AgingReportsPage-fTLucZvY.js +0 -827
  504. package/dist/AgingReportsPage-n2uogKI8.cjs +0 -79
  505. package/dist/AllUserItems-BBtoXNrS.js +0 -979
  506. package/dist/AllUserItems-D5sP4phg.cjs +0 -192
  507. package/dist/ApAgingDetailPage-De7fdEYM.js +0 -239
  508. package/dist/ApAgingDetailPage-wdvRuBkL.cjs +0 -46
  509. package/dist/AppBasePage-COIvXPv-.js +0 -120
  510. package/dist/AppBasePage-pkiJuwSD.cjs +0 -71
  511. package/dist/AppDrawerContent-DPN9fgfF.js +0 -375
  512. package/dist/AppDrawerContent-NxLmg5NI.cjs +0 -91
  513. package/dist/ApprovalRulesSettingsPage-Dcozr1Rv.cjs +0 -47
  514. package/dist/ApprovalRulesSettingsPage-DouiWyKl.js +0 -146
  515. package/dist/ArAgingChart-DRNid67E.cjs +0 -24
  516. package/dist/ArAgingChart-DmgIO4SI.js +0 -529
  517. package/dist/ArAgingDetailPage-BcRw1SMk.js +0 -243
  518. package/dist/ArAgingDetailPage-CJsDosXw.cjs +0 -46
  519. package/dist/AttachmentView-1EWAhMUQ.cjs +0 -101
  520. package/dist/AttachmentView-Dvac1N-l.js +0 -260
  521. package/dist/BankAccountSection-BsXTBaXq.js +0 -398
  522. package/dist/BankAccountSection-DIObNxCK.cjs +0 -79
  523. package/dist/BankAccountWarningSection-1-6WtT61.cjs +0 -51
  524. package/dist/BankAccountWarningSection-D-HBbAL2.js +0 -110
  525. package/dist/BankConnectionsSettingsPage-CY2U1yaZ.cjs +0 -425
  526. package/dist/BankConnectionsSettingsPage-D0Y6qZ_2.js +0 -1695
  527. package/dist/BillDetailPage-BHS3oE-T.cjs +0 -266
  528. package/dist/BillDetailPage-dx30mbdz.js +0 -1798
  529. package/dist/BillPayApprovalRuleDetailPage-C__2Q0h4.cjs +0 -27
  530. package/dist/BillPayApprovalRuleDetailPage-Dw8W_Luw.js +0 -247
  531. package/dist/BillPayApprovalRulesPage-DNo4soZj.cjs +0 -235
  532. package/dist/BillPayApprovalRulesPage-D_4JPSqH.js +0 -415
  533. package/dist/BillPayPromoPage-C9GnqQma.js +0 -293
  534. package/dist/BillPayPromoPage-VpXTSUMB.cjs +0 -84
  535. package/dist/BillPaySetUpPage-BFbDYBNO.cjs +0 -42
  536. package/dist/BillPaySetUpPage-DcOcEzGu.js +0 -412
  537. package/dist/BillingSettingsPage-1DO-gpJ3.js +0 -336
  538. package/dist/BillingSettingsPage-DS29URxa.cjs +0 -44
  539. package/dist/BillsBulkReviewDrawerPage-CU2BlGRM.cjs +0 -1
  540. package/dist/BillsBulkReviewDrawerPage-D2_xZy5W.js +0 -216
  541. package/dist/BoxItem-CqPG9w-F.cjs +0 -53
  542. package/dist/BoxItem-DCpL-Qsv.js +0 -118
  543. package/dist/BusinessVerificationPage-BbF4Vnda.js +0 -717
  544. package/dist/BusinessVerificationPage-CdcGNI7l.cjs +0 -138
  545. package/dist/BusyIndication-CbiDEq0g.js +0 -18
  546. package/dist/BusyIndication-FUyW2d2Y.cjs +0 -9
  547. package/dist/CardNumberSubText-CPjMRY-i.js +0 -57
  548. package/dist/CardNumberSubText-DT3hPqGR.cjs +0 -21
  549. package/dist/CashbackDetailPage-CWZdG_2L.cjs +0 -285
  550. package/dist/CashbackDetailPage-DRs48lki.js +0 -824
  551. package/dist/ChargeCardDetailPage-DyukbgmU.js +0 -5762
  552. package/dist/ChargeCardDetailPage-y-CAQkcp.cjs +0 -1813
  553. package/dist/ChargeCardListPage-B8TNuNmN.cjs +0 -406
  554. package/dist/ChargeCardListPage-FW6iIwGV.js +0 -1775
  555. package/dist/ChargeCardListTable-BWUgqVpC.cjs +0 -711
  556. package/dist/ChargeCardListTable-Di_JUGvM.js +0 -2849
  557. package/dist/ChargeCardPromoPage-B0wyhL7T.cjs +0 -222
  558. package/dist/ChargeCardPromoPage-V5I32kB7.js +0 -806
  559. package/dist/ChargeCardSetupPage-BDOymqEh.cjs +0 -36
  560. package/dist/ChargeCardSetupPage-bCTtavZY.js +0 -362
  561. package/dist/ChargeCardStatementsPage-CY6JAmGo.cjs +0 -60
  562. package/dist/ChargeCardStatementsPage-taKmW351.js +0 -243
  563. package/dist/ChargeCardUtils-CuCE8WUR.js +0 -102
  564. package/dist/ChargeCardUtils-HvEWuBU9.cjs +0 -1
  565. package/dist/ChaseOverlay-BZ5XTEQ4.cjs +0 -170
  566. package/dist/ChaseOverlay-CxZiC1U_.js +0 -402
  567. package/dist/CheckDepositDrawerPage-Dahv_Htm.cjs +0 -206
  568. package/dist/CheckDepositDrawerPage-apQH1q1L.js +0 -726
  569. package/dist/CollapsableReportTable-DBbtedVp.js +0 -11743
  570. package/dist/CollapsableReportTable-VlxiGEJb.cjs +0 -2932
  571. package/dist/CompanyOfficerDetailsSection-CP5NbL9_.cjs +0 -260
  572. package/dist/CompanyOfficerDetailsSection-DlrJ7APF.js +0 -1633
  573. package/dist/CompanyPassportCard-CSXq3o27.js +0 -146
  574. package/dist/CompanyPassportCard-Cifl8MW8.cjs +0 -42
  575. package/dist/CompanyPassportPage-Do_5vOYt.js +0 -2160
  576. package/dist/CompanyPassportPage-Drk_ePGs.cjs +0 -574
  577. package/dist/CompleteProfile-EcsZv2yu.cjs +0 -52
  578. package/dist/CompleteProfile-Obmdzvii.js +0 -301
  579. package/dist/ConfettiBurst-BbOnYxGF.cjs +0 -1
  580. package/dist/ConfettiBurst-DJ042kFU.js +0 -37
  581. package/dist/CreateOrEditVendorPage-BFvLEKuD.js +0 -755
  582. package/dist/CreateOrEditVendorPage-tNiqeA0G.cjs +0 -281
  583. package/dist/CreditCardPaymentDrawerPage-BdeSppz2.cjs +0 -224
  584. package/dist/CreditCardPaymentDrawerPage-DjUsTinZ.js +0 -1171
  585. package/dist/CreditCardPaymentPlgSection-aSz8bfzl.js +0 -196
  586. package/dist/CreditCardPaymentPlgSection-hGcxzaAs.cjs +0 -78
  587. package/dist/CurrencySelectField-Bwc9lmJi.js +0 -348
  588. package/dist/CurrencySelectField-DDS5adnZ.cjs +0 -139
  589. package/dist/CustomerOnboardingActivationPage-DRV0g2L1.js +0 -143
  590. package/dist/CustomerOnboardingActivationPage-P1e7xNVR.cjs +0 -88
  591. package/dist/CustomerOnboardingContainerPage-BYR2xHSk.js +0 -7
  592. package/dist/CustomerOnboardingContainerPage-DqmYtYcG.cjs +0 -1
  593. package/dist/CustomerOnboardingDetailPageSkeleton-BMRKxzsK.cjs +0 -162
  594. package/dist/CustomerOnboardingDetailPageSkeleton-CE_5Hnb9.js +0 -434
  595. package/dist/CustomerOnboardingNoStepsPage-CXtEfJVc.js +0 -425
  596. package/dist/CustomerOnboardingNoStepsPage-Cea0O2xQ.cjs +0 -66
  597. package/dist/CustomerOnboardingPage-BzBZ9Qpg.js +0 -1060
  598. package/dist/CustomerOnboardingPage-DowuLdHi.cjs +0 -107
  599. package/dist/CustomerOnboardingProductSuitePage-B07wnsTN.js +0 -349
  600. package/dist/CustomerOnboardingProductSuitePage-CvA8goY4.cjs +0 -202
  601. package/dist/Dashboard-Dj1cTLEk.js +0 -5531
  602. package/dist/Dashboard-Oa52L-KD.cjs +0 -1551
  603. package/dist/DashboardReportPage-BfwvkaoD.cjs +0 -371
  604. package/dist/DashboardReportPage-DyVFKDvv.js +0 -2536
  605. package/dist/DashboardSidebarBackgroundAnimation-D5BZins_.cjs +0 -12
  606. package/dist/DashboardSidebarBackgroundAnimation-DNj32SjF.js +0 -50
  607. package/dist/DepositAccTransactionItem-Ce_UlmI_.cjs +0 -76
  608. package/dist/DepositAccTransactionItem-XKpj9eEZ.js +0 -112
  609. package/dist/DepositAccTransactionListPage-BFTtix6Q.js +0 -152
  610. package/dist/DepositAccTransactionListPage-QAb226my.cjs +0 -66
  611. package/dist/DomesticWireDetailsPage-Bs8WVy9P.cjs +0 -21
  612. package/dist/DomesticWireDetailsPage-CLKK8sNe.js +0 -189
  613. package/dist/DownloadOverlay-B4GX4TFb.js +0 -2148
  614. package/dist/DownloadOverlay-BwuzrE8e.cjs +0 -439
  615. package/dist/DrawerPage-DNTVH3KW.cjs +0 -118
  616. package/dist/DrawerPage-DgPyM_vI.js +0 -208
  617. package/dist/EditPeoplePage-BdHL0mIK.cjs +0 -55
  618. package/dist/EditPeoplePage-DSjAt1nK.js +0 -392
  619. package/dist/EditReimbursementDetailPage-C1qqm3m-.cjs +0 -865
  620. package/dist/EditReimbursementDetailPage-Cs1Au5CN.js +0 -4461
  621. package/dist/EmptySearchResults-BOOL9gNM.cjs +0 -46
  622. package/dist/EmptySearchResults-DlV3p0wJ.js +0 -70
  623. package/dist/EntityDetailPage-CaqI8inQ.cjs +0 -18
  624. package/dist/EntityDetailPage-D-4lZ0Qr.js +0 -82
  625. package/dist/EntitySummarySection-BH7oSZE2.cjs +0 -149
  626. package/dist/EntitySummarySection-Q7GVe951.js +0 -530
  627. package/dist/ExpenseAutomationOverviewPage-BmCkHHAt.js +0 -689
  628. package/dist/ExpenseAutomationOverviewPage-D-sXpUs1.cjs +0 -228
  629. package/dist/ExpenseAutomationPage-CefPPbut.js +0 -11496
  630. package/dist/ExpenseAutomationPage-Nqw-QYXt.cjs +0 -1650
  631. package/dist/ExpressPayPage-B-CNNasY.cjs +0 -168
  632. package/dist/ExpressPayPage-DFg_BAq9.js +0 -1136
  633. package/dist/FeaturePreviewPage-C0wh9-Zf.cjs +0 -11
  634. package/dist/FeaturePreviewPage-C9cuVphN.js +0 -114
  635. package/dist/FollowStepsSection-DYyRp5PN.js +0 -1313
  636. package/dist/FollowStepsSection-DdjJGqk2.cjs +0 -390
  637. package/dist/GlobalReviewListPage-BeHSST5R.js +0 -1674
  638. package/dist/GlobalReviewListPage-DwZtRNfA.cjs +0 -291
  639. package/dist/HelpButton-D15CWyoU.js +0 -81
  640. package/dist/HelpButton-DEUF2cV8.cjs +0 -28
  641. package/dist/InformationCardStack-CpepKNDf.cjs +0 -31
  642. package/dist/InformationCardStack-rUHWngrM.js +0 -219
  643. package/dist/InsightsCardStack-BrkeIVbT.cjs +0 -79
  644. package/dist/InsightsCardStack-CFJ4Jvat.js +0 -305
  645. package/dist/InsightsSection-DID-lCow.js +0 -97
  646. package/dist/InsightsSection-NV2da8LQ.cjs +0 -27
  647. package/dist/IntegrationsSettingsPage-DLsOZnlK.cjs +0 -57
  648. package/dist/IntegrationsSettingsPage-Dr-ydIs2.js +0 -137
  649. package/dist/InternationalWireSwiftDetailsPage-CaPXbVZ8.js +0 -753
  650. package/dist/InternationalWireSwiftDetailsPage-Cx1YWELs.cjs +0 -171
  651. package/dist/InternationalWireVerificationPage-s6Zgl1Hf.js +0 -877
  652. package/dist/InternationalWireVerificationPage-tEXhVA5g.cjs +0 -292
  653. package/dist/InviteFormPage-s9WZzeC2.cjs +0 -312
  654. package/dist/InviteFormPage-usETKZTN.js +0 -873
  655. package/dist/InvitePageListView-B1cv1VUM.js +0 -1764
  656. package/dist/InvitePageListView-cC8S3_81.cjs +0 -739
  657. package/dist/InvitePeoplePage-Bd35FUiF.js +0 -286
  658. package/dist/InvitePeoplePage-CVYAOM6L.cjs +0 -12
  659. package/dist/InvoiceUploadSection-CEZ4nNnj.js +0 -465
  660. package/dist/InvoiceUploadSection-CQ-I0s7O.cjs +0 -140
  661. package/dist/IssueChargeCardPage-BFdbMIkR.js +0 -2875
  662. package/dist/IssueChargeCardPage-DOB2SWOZ.cjs +0 -532
  663. package/dist/LabeledAddressValue-BBFgWhG5.js +0 -115
  664. package/dist/LabeledAddressValue-CAntKaf4.cjs +0 -49
  665. package/dist/LabeledAddressValueField-Bpdu_9zx.cjs +0 -45
  666. package/dist/LabeledAddressValueField-IiXXbZHV.js +0 -130
  667. package/dist/LabeledControlledCheckBoxField-B4Jzs1P3.js +0 -73
  668. package/dist/LabeledControlledCheckBoxField-Ch3tCvMA.cjs +0 -16
  669. package/dist/LabeledCreatableSingleSelectField-CnJ8vVAs.cjs +0 -204
  670. package/dist/LabeledCreatableSingleSelectField-DSYo_hqM.js +0 -515
  671. package/dist/LabeledDocumentField-BL3SiwZn.js +0 -147
  672. package/dist/LabeledDocumentField-BiWZdB90.cjs +0 -41
  673. package/dist/LabeledDropDownFormattedTextField-D0-BQcsg.js +0 -163
  674. package/dist/LabeledDropDownFormattedTextField-g7zE2kCA.cjs +0 -59
  675. package/dist/LabeledEmailInputField-BOtM_N2l.js +0 -425
  676. package/dist/LabeledEmailInputField-dvbJ5cDy.cjs +0 -182
  677. package/dist/LabeledItemWithButton-7l1kEIcV.cjs +0 -21
  678. package/dist/LabeledItemWithButton-HWATdX1G.js +0 -74
  679. package/dist/LabeledNameField-BrXWv-nb.js +0 -293
  680. package/dist/LabeledNameField-DOWqu7YG.cjs +0 -141
  681. package/dist/LabeledSingleSelectField-BUbX2gtv.cjs +0 -136
  682. package/dist/LabeledSingleSelectField-mohKkYUu.js +0 -372
  683. package/dist/LabeledSingleSelectWithoutClearableField-CVTZA57K.cjs +0 -38
  684. package/dist/LabeledSingleSelectWithoutClearableField-Cj5MybS1.js +0 -103
  685. package/dist/LabeledText-BnxMOmt2.js +0 -103
  686. package/dist/LabeledText-CEvvGpyz.cjs +0 -42
  687. package/dist/LabeledUserSingleSelectWithSubtitlesField-Cam-U7V6.js +0 -572
  688. package/dist/LabeledUserSingleSelectWithSubtitlesField-DZr98CgN.cjs +0 -229
  689. package/dist/LabeledZeniRolesDropDownField-D1DZB0p_.cjs +0 -297
  690. package/dist/LabeledZeniRolesDropDownField-D6qcibh_.js +0 -975
  691. package/dist/LinkJETransactionPage-Db6gueZ5.cjs +0 -98
  692. package/dist/LinkJETransactionPage-DbgShBVx.js +0 -406
  693. package/dist/LockCardPage-Cxo2om5_.js +0 -1894
  694. package/dist/LockCardPage-bvuMcwv5.cjs +0 -574
  695. package/dist/LowBalancePopup-BkgfL9m6.js +0 -219
  696. package/dist/LowBalancePopup-DX5eFl_F.cjs +0 -34
  697. package/dist/MagicLinkACHDetailsPage-B8wcch8z.js +0 -39
  698. package/dist/MagicLinkACHDetailsPage-N8EE__st.cjs +0 -1
  699. package/dist/MagicLinkDomesticWireDetailsPage-CHAb9ZFh.js +0 -44
  700. package/dist/MagicLinkDomesticWireDetailsPage-DwqoCs8j.cjs +0 -1
  701. package/dist/MagicLinkInternationalWireDetailsPage-C3nMzps1.cjs +0 -1
  702. package/dist/MagicLinkInternationalWireDetailsPage-Nq-r1QYD.js +0 -43
  703. package/dist/MagicLinkSuccessPage-CpIJq4vB.cjs +0 -31
  704. package/dist/MagicLinkSuccessPage-D44nl1gY.js +0 -59
  705. package/dist/MagicLinkTitleSection-C2v2uxKO.js +0 -40
  706. package/dist/MagicLinkTitleSection-CA1pOxlZ.cjs +0 -17
  707. package/dist/MailingDetailsSection-B65R6xJD.cjs +0 -21
  708. package/dist/MailingDetailsSection-BwvXwj_0.js +0 -74
  709. package/dist/MatchingOperatorDropdown-9Jvk2IYA.js +0 -572
  710. package/dist/MatchingOperatorDropdown-DzbV27kr.cjs +0 -130
  711. package/dist/MeetingCalenderPopup-B2BtdHWQ.js +0 -60
  712. package/dist/MeetingCalenderPopup-Dm_Sm_EV.cjs +0 -26
  713. package/dist/Menu-BTNO1N-S.js +0 -110
  714. package/dist/Menu-DXJOus2k.cjs +0 -17
  715. package/dist/MoreMenuButton-DAoQYNYG.js +0 -569
  716. package/dist/MoreMenuButton-DGpoBn_z.cjs +0 -167
  717. package/dist/MyBankConnectionsSettingsPage-48i0NfNf.cjs +0 -110
  718. package/dist/MyBankConnectionsSettingsPage-j_LG9Fpe.js +0 -297
  719. package/dist/MyPendingActivationChargeCardListPage-C_80cLWW.cjs +0 -6
  720. package/dist/MyPendingActivationChargeCardListPage-WZ3ppUZo.js +0 -168
  721. package/dist/MyProfileSettingsPage-BJ3rkZ9p.cjs +0 -85
  722. package/dist/MyProfileSettingsPage-DI9uhnIs.js +0 -641
  723. package/dist/NavBarWithPicker-C5fjaG1x.js +0 -106
  724. package/dist/NavBarWithPicker-Df02mrNC.cjs +0 -30
  725. package/dist/NavigationArrow-BkZsLL_7.cjs +0 -47
  726. package/dist/NavigationArrow-DDTODvpX.js +0 -88
  727. package/dist/NavigationDots-BzsOb3Jn.cjs +0 -15
  728. package/dist/NavigationDots-tnEUZ7xP.js +0 -44
  729. package/dist/NewGlobalMerchantPage-BPQYmWJ-.js +0 -543
  730. package/dist/NewGlobalMerchantPage-DLKGrkWO.cjs +0 -160
  731. package/dist/NoDataChart-DBTNZsVI.js +0 -58
  732. package/dist/NoDataChart-DTPC_8gy.cjs +0 -26
  733. package/dist/NoDataTable-BFlVzpML.js +0 -27
  734. package/dist/NoDataTable-CYT92yBR.cjs +0 -8
  735. package/dist/NotFoundPage-BasDE0gN.js +0 -71
  736. package/dist/NotFoundPage-CzFHrWvw.cjs +0 -46
  737. package/dist/NotificationSettingsPage-7axENLlk.js +0 -541
  738. package/dist/NotificationSettingsPage-CYkZwk75.cjs +0 -163
  739. package/dist/NotificationsListConfig-Dw-HElRu.cjs +0 -1
  740. package/dist/NotificationsListConfig-y7FmH6TQ.js +0 -10
  741. package/dist/NotificationsPage-RI6hGPlC.js +0 -2664
  742. package/dist/NotificationsPage-Vs3T1n8f.cjs +0 -685
  743. package/dist/OpExByVendorPage-CGue0TWc.js +0 -1057
  744. package/dist/OpExByVendorPage-DMlWPU82.cjs +0 -100
  745. package/dist/PandLWithForecastPage-CkIMsxoi.cjs +0 -107
  746. package/dist/PandLWithForecastPage-DnATiuw8.js +0 -563
  747. package/dist/PaymentAccountSetupBillingAddressSection-CUGDNaP6.cjs +0 -106
  748. package/dist/PaymentAccountSetupBillingAddressSection-Cr96MmoG.js +0 -623
  749. package/dist/PeoplePage-8AcvEzig.js +0 -1994
  750. package/dist/PeoplePage-CAfH_KDP.cjs +0 -675
  751. package/dist/PortfolioAllocationFormPage-Cz8BzeZO.js +0 -440
  752. package/dist/PortfolioAllocationFormPage-Dw2p1P3v.cjs +0 -207
  753. package/dist/PortfolioDetails-Bz6ikI-l.cjs +0 -218
  754. package/dist/PortfolioDetails-NRVc1Lc9.js +0 -653
  755. package/dist/ProductsCarousel-BeCd-6cX.cjs +0 -142
  756. package/dist/ProductsCarousel-CRrVr2Rv.js +0 -309
  757. package/dist/PromoBaseCards-BMKAIK7i.cjs +0 -218
  758. package/dist/PromoBaseCards-D-C0emey.js +0 -356
  759. package/dist/QBOConnectionDialog-9YDCkzlw.js +0 -115
  760. package/dist/QBOConnectionDialog-CqOsdj-_.cjs +0 -51
  761. package/dist/QBOSetupSection-CmKoL_Pz.cjs +0 -79
  762. package/dist/QBOSetupSection-rgJXipJM.js +0 -167
  763. package/dist/ReimbursementApprovalRuleDetailPage-BCX1rmDQ.cjs +0 -26
  764. package/dist/ReimbursementApprovalRuleDetailPage-oBzjhPEJ.js +0 -247
  765. package/dist/ReimbursementApprovalRulesPage-C5IO5W4m.js +0 -410
  766. package/dist/ReimbursementApprovalRulesPage-CDv6zrpo.cjs +0 -237
  767. package/dist/ReimbursementDetailPage-C69MkEDv.cjs +0 -314
  768. package/dist/ReimbursementDetailPage-C8DQeaua.js +0 -1511
  769. package/dist/ReimbursementPromoPage-CtRsX6Dw.cjs +0 -84
  770. package/dist/ReimbursementPromoPage-cWdwGvJb.js +0 -364
  771. package/dist/ReimbursementSetUpPage-BCjSUzkH.cjs +0 -140
  772. package/dist/ReimbursementSetUpPage-CjPLHA2M.js +0 -666
  773. package/dist/ReimbursementsBulkReviewDrawerPage-CwnJAIis.js +0 -204
  774. package/dist/ReimbursementsBulkReviewDrawerPage-DL1Fs60T.cjs +0 -1
  775. package/dist/ReloadCard-B1uGjQ77.cjs +0 -26
  776. package/dist/ReloadCard-Bo_mLUCB.js +0 -137
  777. package/dist/ReloadContainer-BVfH0qI4.cjs +0 -596
  778. package/dist/ReloadContainer-CNPJLFhs.js +0 -2144
  779. package/dist/ReportTableViewSelector-4F3OMJXz.cjs +0 -150
  780. package/dist/ReportTableViewSelector-CcLxXexl.js +0 -679
  781. package/dist/ReportsPage-BRqtxAbM.js +0 -1315
  782. package/dist/ReportsPage-BflH60Ps.cjs +0 -121
  783. package/dist/RevenueChart-9RLz-ID4.cjs +0 -280
  784. package/dist/RevenueChart-BMqM38-O.js +0 -2239
  785. package/dist/ReviewDetailsPage-BeXgVGy_.js +0 -1073
  786. package/dist/ReviewDetailsPage-DjsGgajY.cjs +0 -290
  787. package/dist/ReviewOverlay-CQpxXMfh.cjs +0 -152
  788. package/dist/ReviewOverlay-DBaDP1Pp.js +0 -299
  789. package/dist/RoleWithToolTip-CBBWeNSt.js +0 -72
  790. package/dist/RoleWithToolTip-CKxQna5S.cjs +0 -22
  791. package/dist/ScheduleDetailsFixedAssetsPage-Dqwapygl.cjs +0 -37
  792. package/dist/ScheduleDetailsFixedAssetsPage-w5m2s-gk.js +0 -806
  793. package/dist/ScheduleDetailsPage-BjCcNbAn.js +0 -726
  794. package/dist/ScheduleDetailsPage-oTsc2m2B.cjs +0 -37
  795. package/dist/ScheduleSequenceTable-BJg_2pl7.cjs +0 -324
  796. package/dist/ScheduleSequenceTable-DwBjIGGI.js +0 -1261
  797. package/dist/SetUpAccountSection-B5SNk0uE.js +0 -1470
  798. package/dist/SetUpAccountSection-nEbPchU5.cjs +0 -378
  799. package/dist/SetUpDefaultSection-BnPulEBm.cjs +0 -187
  800. package/dist/SetUpDefaultSection-CEdPofhe.js +0 -537
  801. package/dist/SignIn-CDL-ObqR.js +0 -1075
  802. package/dist/SignIn-RC49VkUZ.cjs +0 -448
  803. package/dist/SpendManagementListViewPage-CA8k5wTt.js +0 -627
  804. package/dist/SpendManagementListViewPage-CSzgpaiw.cjs +0 -122
  805. package/dist/SpendManagementPerTabPage-BuDeB-05.js +0 -2735
  806. package/dist/SpendManagementPerTabPage-f5o0GeZ5.cjs +0 -754
  807. package/dist/SpendManagementSection-BiERXt9F.js +0 -1043
  808. package/dist/SpendManagementSection-CzwUfFWO.cjs +0 -230
  809. package/dist/SpendMgmtSetupAccountSection-Baz3sHbZ.js +0 -875
  810. package/dist/SpendMgmtSetupAccountSection-CxHxQ7pM.cjs +0 -206
  811. package/dist/StatementItem-BQs62QbA.js +0 -81
  812. package/dist/StatementItem-BaavcClp.cjs +0 -31
  813. package/dist/StatementsPage-Begsfsr7.cjs +0 -58
  814. package/dist/StatementsPage-C_hWVaO6.js +0 -130
  815. package/dist/StatusSwitcher-BJFf2Nkh.js +0 -319
  816. package/dist/StatusSwitcher-DnZi-iKS.cjs +0 -120
  817. package/dist/SubTabSwitcher-BjhIngs3.js +0 -113
  818. package/dist/SubTabSwitcher-Cheiv0tG.cjs +0 -58
  819. package/dist/SuccessAnimation-Bbi9vbSU.js +0 -52
  820. package/dist/SuccessAnimation-DcVd_L32.cjs +0 -13
  821. package/dist/SummaryCard-BkRL0ye6.js +0 -25
  822. package/dist/SummaryCard-DTdAHxmQ.cjs +0 -1
  823. package/dist/TaskDetailPage-CERot2LS.js +0 -2533
  824. package/dist/TaskDetailPage-p6qRTNiU.cjs +0 -775
  825. package/dist/TaskListRow-DEo7ed5_.cjs +0 -556
  826. package/dist/TaskListRow-NWZwl8eK.js +0 -1950
  827. package/dist/TaskManagementPage-BaIric_w.cjs +0 -508
  828. package/dist/TaskManagementPage-LiP5i_NP.js +0 -1935
  829. package/dist/TimeRangeSwitcher-DUj6iFnl.js +0 -265
  830. package/dist/TimeRangeSwitcher-vyS9YwvM.cjs +0 -64
  831. package/dist/TimeframeSwitcher-DcIsXNOv.cjs +0 -31
  832. package/dist/TimeframeSwitcher-DjhuUk0r.js +0 -103
  833. package/dist/TimeframeSwitcherWithToggle-11xkzWa9.cjs +0 -31
  834. package/dist/TimeframeSwitcherWithToggle-qS-VH4U7.js +0 -157
  835. package/dist/TopExCard-CLSn_l4b.cjs +0 -38
  836. package/dist/TopExCard-Ds0ub5YB.js +0 -568
  837. package/dist/TopExDetailPage-C1NZZ2fo.js +0 -318
  838. package/dist/TopExDetailPage-Wa811K1x.cjs +0 -132
  839. package/dist/TransactionDetailPage-JBI0ByL2.cjs +0 -912
  840. package/dist/TransactionDetailPage-ScbXmUz9.js +0 -5238
  841. package/dist/TransactionList-uCQJm816.js +0 -558
  842. package/dist/TransactionList-z0t_8Mf2.cjs +0 -147
  843. package/dist/TransactionListBig-9_HEm5CO.js +0 -658
  844. package/dist/TransactionListBig-BN0chbjP.cjs +0 -284
  845. package/dist/TransactionListPage-1Zkephm9.js +0 -144
  846. package/dist/TransactionListPage-C7KSsG7e.cjs +0 -35
  847. package/dist/TransactionVendorDetailPage-BGwbznZy.cjs +0 -80
  848. package/dist/TransactionVendorDetailPage-Bl1XCZGJ.js +0 -425
  849. package/dist/TransferDrawerPage-BmPVaAmQ.cjs +0 -362
  850. package/dist/TransferDrawerPage-DPA8KVO6.js +0 -1435
  851. package/dist/TreasuryOverviewPage-C38sIhEr.cjs +0 -708
  852. package/dist/TreasuryOverviewPage-mPpfPA7Z.js +0 -1890
  853. package/dist/TreasuryPromoPage-4l7di9sm.cjs +0 -505
  854. package/dist/TreasuryPromoPage-PiF6acWi.js +0 -1122
  855. package/dist/TreasurySetupPage-BfDJ9DSl.cjs +0 -144
  856. package/dist/TreasurySetupPage-ta9rUN1_.js +0 -683
  857. package/dist/TreasuryStatementsPage-BRE6jD-v.js +0 -131
  858. package/dist/TreasuryStatementsPage-Cm5UciDy.cjs +0 -58
  859. package/dist/TreasuryTaxLetterPage-5oC3f6qJ.js +0 -131
  860. package/dist/TreasuryTaxLetterPage-C21ubR1L.cjs +0 -58
  861. package/dist/TreasuryTransferOrReviewPage-419wqnsW.cjs +0 -576
  862. package/dist/TreasuryTransferOrReviewPage-DEo3yKVs.js +0 -1938
  863. package/dist/TrendChart-B0NeWV-Q.js +0 -333
  864. package/dist/TrendChart-CFUkcpXo.cjs +0 -16
  865. package/dist/TrendWithTransactions-cjSmNRV7.cjs +0 -116
  866. package/dist/TrendWithTransactions-gjzB97Tt.js +0 -346
  867. package/dist/UncategorizedAccountsMappingPage-D8fnhxYc.cjs +0 -244
  868. package/dist/UncategorizedAccountsMappingPage-DnYGTz8z.js +0 -1160
  869. package/dist/UnitIntegrationPage-CvxupJIq.js +0 -405
  870. package/dist/UnitIntegrationPage-DAKlWmCM.cjs +0 -67
  871. package/dist/UploadAdditionalDocumentOverlay-DUmoex5M.js +0 -211
  872. package/dist/UploadAdditionalDocumentOverlay-rC7S1ZdU.cjs +0 -38
  873. package/dist/Vendor2FAPopup-CebhGkPb.js +0 -69
  874. package/dist/Vendor2FAPopup-Cz92jWrG.cjs +0 -1
  875. package/dist/VendorACHDetailsPage-4YGo6l5M.js +0 -43
  876. package/dist/VendorACHDetailsPage-l4XLoraq.cjs +0 -1
  877. package/dist/VendorDetailPage-D06byQE2.js +0 -1236
  878. package/dist/VendorDetailPage-JyU2QoBA.cjs +0 -257
  879. package/dist/VendorDomesticWireDetailsPage-ZTqYthNm.cjs +0 -1
  880. package/dist/VendorDomesticWireDetailsPage-jRbIT9Kr.js +0 -53
  881. package/dist/VendorFiling1099EditablePage-DqqsinhP.cjs +0 -175
  882. package/dist/VendorFiling1099EditablePage-DxnN_R-C.js +0 -842
  883. package/dist/VendorFirstReviewPage-CYDa3rKf.cjs +0 -730
  884. package/dist/VendorFirstReviewPage-aZ5f1AbI.js +0 -2748
  885. package/dist/VendorInternationalWireDetailsPage-DyFkJUEt.js +0 -968
  886. package/dist/VendorInternationalWireDetailsPage-f6dQySn4.cjs +0 -152
  887. package/dist/VendorInternationalWireSwiftDetailsPage-BJLjmJTG.js +0 -52
  888. package/dist/VendorInternationalWireSwiftDetailsPage-CtG9bzHg.cjs +0 -1
  889. package/dist/VendorsAccountsSection-CrjEjuBq.js +0 -279
  890. package/dist/VendorsAccountsSection-DoxoUYWE.cjs +0 -68
  891. package/dist/VerifyDevice-BzYrDLyF.js +0 -298
  892. package/dist/VerifyDevice-CyKTSa7g.cjs +0 -112
  893. package/dist/VideoPlayer-D6fiBssa.cjs +0 -77
  894. package/dist/VideoPlayer-DlAz8P4k.js +0 -169
  895. package/dist/VideoPopup-1jecjRVb.js +0 -60
  896. package/dist/VideoPopup-C1b77ypq.cjs +0 -31
  897. package/dist/WarningsDrawerPage-DGLEGLCW.cjs +0 -92
  898. package/dist/WarningsDrawerPage-t0t6HBEt.js +0 -228
  899. package/dist/ZeniAccountDetailPage-DRMYlE37.js +0 -907
  900. package/dist/ZeniAccountDetailPage-V5Q7MgRO.cjs +0 -300
  901. package/dist/ZeniAccountListViewPage-DhYgrHPh.js +0 -1078
  902. package/dist/ZeniAccountListViewPage-l9OlfcPI.cjs +0 -441
  903. package/dist/ZeniAccountNavBarPieces--uqyWGWx.cjs +0 -14
  904. package/dist/ZeniAccountNavBarPieces-CXK-KO3W.js +0 -89
  905. package/dist/ZeniAccountPromoPage-BV8TRezW.cjs +0 -184
  906. package/dist/ZeniAccountPromoPage-CoxXYrbJ.js +0 -523
  907. package/dist/ZeniAccountSetupPage-B4G8vJle.js +0 -312
  908. package/dist/ZeniAccountSetupPage-DF-KnBag.cjs +0 -36
  909. package/dist/ZeniAvatar-B-ypO2fw.cjs +0 -13
  910. package/dist/ZeniAvatar-Ye6EyvI4.js +0 -34
  911. package/dist/ZeniCopyright-B3pSkJCw.cjs +0 -1
  912. package/dist/ZeniCopyright-BurjfYg0.js +0 -9
  913. package/dist/ZeniDatePicker-DNKKVAyx.cjs +0 -187
  914. package/dist/ZeniDatePicker-DknY1vT6.js +0 -386
  915. package/dist/ZeniTransferAmountSlider--Ygv3Lhx.js +0 -215
  916. package/dist/ZeniTransferAmountSlider-Db0vv1oh.cjs +0 -63
  917. package/dist/analyticsHelper-B44wCnpQ.cjs +0 -1
  918. package/dist/analyticsHelper-C3CI4FAW.js +0 -65
  919. package/dist/calculateSize-0iFS7h32.cjs +0 -1
  920. package/dist/calculateSize-BqQyUFVw.js +0 -22
  921. package/dist/chartTypes-DwBc5o5D.cjs +0 -1
  922. package/dist/chartTypes-WMAN0IBH.js +0 -47
  923. package/dist/common-BOmplg9n.js +0 -22
  924. package/dist/common-CnOtZojZ.cjs +0 -1
  925. package/dist/commonDimensions-BfnsVyFP.cjs +0 -1
  926. package/dist/commonDimensions-hj9DIV8r.js +0 -13
  927. package/dist/detailCommon-CsEvc8RF.cjs +0 -38
  928. package/dist/detailCommon-DGcQj4tn.js +0 -124
  929. package/dist/downloadPdf-3PUDRYjd.cjs +0 -1
  930. package/dist/downloadPdf-B5Oarutk.js +0 -32
  931. package/dist/index-BOnRXllM.cjs +0 -19239
  932. package/dist/index-tqMNQjSm.js +0 -85944
  933. package/dist/mapLoadingInProgressToTreeNode-CaGCmV81.cjs +0 -1
  934. package/dist/mapLoadingInProgressToTreeNode-dXbGenu-.js +0 -25
  935. package/dist/mapSectionWithAcOnlyToTreeNode-BhMuMA7u.js +0 -388
  936. package/dist/mapSectionWithAcOnlyToTreeNode-DmZd2pmE.cjs +0 -1
  937. package/dist/mapSpacerToTreeNode-BetfRxYq.js +0 -25
  938. package/dist/mapSpacerToTreeNode-BfPcmHrg.cjs +0 -1
  939. package/dist/mapTimeframeBalancesToTreeNode--OD05GHy.cjs +0 -1
  940. package/dist/mapTimeframeBalancesToTreeNode-C4HoGcMZ.js +0 -24
  941. package/dist/mapTimeframeBalancesToTreeNode-DUCM_-vY.cjs +0 -1
  942. package/dist/mapTimeframeBalancesToTreeNode-tSFoZ7PC.js +0 -24
  943. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CSYTwkbz.js +0 -32
  944. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Cvoj9G5V.cjs +0 -1
  945. package/dist/sectionColor-CsnxC9Xz.js +0 -32
  946. package/dist/sectionColor-D9XrjOWG.cjs +0 -1
  947. package/dist/toCOABalancesWithID-D4-TzjBp.js +0 -8
  948. package/dist/toCOABalancesWithID-raMi-Pv1.cjs +0 -1
  949. package/dist/toChartData-Bp_yJ7Xu.js +0 -76
  950. package/dist/toChartData-kOJoV9bK.cjs +0 -1
  951. package/dist/treasuryColorHelper-BQIfK835.cjs +0 -1
  952. package/dist/treasuryColorHelper-D6dEtjUK.js +0 -60
  953. package/dist/uploadAttachment-Bh4WYdCP.cjs +0 -286
  954. package/dist/uploadAttachment-DTxp6Nd5.js +0 -952
  955. package/dist/zeniDatePicker.helpers-Crtwa8pE.cjs +0 -1
  956. package/dist/zeniDatePicker.helpers-DK7DmEd9.js +0 -14
@@ -1,2664 +0,0 @@
1
- import { u as ot, j as e, n as ft, d as pt, l as se, A as ne, I as ae, V as re, b as jt, g as Ze, h as to, F as eo } from "./vendor-.pnpm-BZbZ6JJC.js";
2
- import { useCallback as v, useContext as oo, useRef as W, useEffect as G, useMemo as Q } from "react";
3
- import { css as M } from "@emotion/react";
4
- import a from "@emotion/styled";
5
- import { zeniDate as et, dateNow as y, toZeniUrl as le, toNotificationSubTabTypeStrict as io, toNotificationTabTypeStrict as so } from "@zeniai/client-epic-state";
6
- import { u as C, jl as no, a as F, kp as ao, C as j, kq as ce, R as _, dz as de, dB as ue, T as ro, ae as V, hD as me, D as x, S as o, jz as lo, p as it, E as Y, o as gt, Q as he, aJ as z, t as Rt, fK as xt, kr as bt, ff as fe, ks as Dt, hG as co, W as uo, aE as mo, ap as ho, aL as Ct, fY as fo, A as po, B as go, eG as xo, av as bo, K as pe, G as wo } from "./index-tqMNQjSm.js";
7
- import { S as $o } from "./double-tick-D6s_OvsM.js";
8
- import { S as yo } from "./SubTabSwitcher-BjhIngs3.js";
9
- import { u as ge } from "./useLongPress-GCK2COYQ.js";
10
- import { D as xe, a as be, b as we, c as $e, A as ye, O as Se } from "./NotificationsListConfig-y7FmH6TQ.js";
11
- function So({
12
- tabs: t,
13
- selectedTab: i,
14
- subTabs: s,
15
- selectedSubTab: n,
16
- subTabRightComponent: r,
17
- tabStyle: l,
18
- subTabStyle: d,
19
- onTabChange: c,
20
- onSubTabChange: h
21
- }) {
22
- const p = C(), u = ot(), m = v(
23
- (g) => {
24
- c(g.id);
25
- },
26
- [c]
27
- ), f = v(
28
- (g) => {
29
- h(g.id);
30
- },
31
- [h]
32
- );
33
- return t.length === 0 ? null : /* @__PURE__ */ e.jsxs(jo, { windowSize: p, children: [
34
- /* @__PURE__ */ e.jsx(
35
- no,
36
- {
37
- allTabs: t,
38
- selectedTab: i,
39
- containerStyle: {
40
- ...l,
41
- borderBottom: `1px solid ${u.colors.grey3}`
42
- },
43
- onTabChange: m
44
- }
45
- ),
46
- /* @__PURE__ */ e.jsx(
47
- yo,
48
- {
49
- allTabs: s,
50
- selectedTab: n,
51
- containerStyle: { ...d },
52
- rightComponent: r,
53
- onTabChange: f
54
- }
55
- )
56
- ] });
57
- }
58
- const jo = a.div`
59
- display: flex;
60
- flex-direction: column;
61
- width: 100%;
62
- `, {
63
- common: { timeStrings: je, strings: Co },
64
- dateFormat: _t,
65
- timeFormat: vo
66
- } = F.getLocalizedStrings(), Ce = [
67
- "today",
68
- "yesterday",
69
- "last_7_days_this_month",
70
- // before_yesterday
71
- "earlier_this_month",
72
- // before last_7_days_this_month
73
- "earlier_that_month"
74
- ], ut = (t) => t.type.concat(Co.underscore).concat(
75
- t.start.format(_t.visual.DdashMMdashYYYYFormat)
76
- ), wt = (t) => {
77
- switch (t.type) {
78
- case "today":
79
- case "yesterday":
80
- case "earlier_this_month":
81
- case "last_7_days_this_month":
82
- return je[t.type];
83
- case "earlier_that_month":
84
- return t.start.format(_t.visual.MMMYYYYFormat);
85
- }
86
- }, ve = (t) => {
87
- const i = et(t.toUTCString()), s = y(), n = s.diff(i, "minutes"), r = s.diff(i, "seconds"), l = 60, d = 24 * 60;
88
- return r <= l ? je.justNow : n < d && ao(i, 0) ? i.format(vo.hhmmAFormat) : i.format(_t.visual.MMMDFormat);
89
- }, At = (t) => {
90
- switch (t.code) {
91
- case "todo":
92
- return j.important;
93
- case "in_progress":
94
- return j.info;
95
- case "on_hold":
96
- return j.alert;
97
- case "done":
98
- return j.championLight;
99
- case "resolved":
100
- return j.successDark;
101
- default:
102
- return j.neutralGrey2Light;
103
- }
104
- }, {
105
- commentsAndNotifications: {
106
- notifications: {
107
- actionStrings: { comments: No }
108
- }
109
- }
110
- } = F.getLocalizedStrings(), Ne = (t) => {
111
- t.sort(
112
- (r, l) => et(r.inboxNotification.notifiedAt.toUTCString()).isAfter(
113
- et(l.inboxNotification.notifiedAt.toUTCString())
114
- ) === !0 ? 1 : -1
115
- );
116
- let i = [...t];
117
- const s = [];
118
- let n = {
119
- singleGroup: [],
120
- remainingData: []
121
- };
122
- for (const r of Ce) {
123
- let l = 0, d = 0, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), p = 1;
124
- switch (r) {
125
- case "today":
126
- case "yesterday":
127
- l = r === "today" ? 0 : 1, d = r === "today" ? 0 : 1, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), n = at(
128
- i,
129
- c,
130
- h
131
- ), i = n.remainingData, s.push({
132
- start: c,
133
- end: h,
134
- type: r,
135
- notifications: n.singleGroup
136
- });
137
- break;
138
- case "last_7_days_this_month":
139
- i.length > 0 && y().date() > 2 && (c = y().subtract(Math.min(y().date() - 1, 8), "d").startOf("d"), h = y().subtract(2, "d").endOf("d"), n = at(
140
- i,
141
- c,
142
- h
143
- ), i = n.remainingData, s.push({
144
- start: c,
145
- end: h,
146
- type: r,
147
- notifications: n.singleGroup
148
- }));
149
- break;
150
- case "earlier_this_month":
151
- i.length > 0 && y().date() > 9 && (c = y().startOf("M").startOf("d"), h = y().subtract(9, "d").endOf("d"), n = at(
152
- i,
153
- c,
154
- h
155
- ), i = n.remainingData, s.push({
156
- start: c,
157
- end: h,
158
- type: r,
159
- notifications: n.singleGroup
160
- }));
161
- break;
162
- case "earlier_that_month":
163
- for (; i.length > 0; ) {
164
- const u = y().subtract(p, "month").startOf("M").startOf("d"), m = y().subtract(p, "month").endOf("M").endOf("d");
165
- p++, n = at(
166
- i,
167
- u,
168
- m
169
- ), i = n.remainingData, s.push({
170
- start: u,
171
- end: m,
172
- type: r,
173
- notifications: n.singleGroup
174
- });
175
- }
176
- break;
177
- }
178
- }
179
- return s;
180
- }, at = (t, i, s) => {
181
- const n = [], r = t.map((l) => ce(
182
- i,
183
- s,
184
- et(l.inboxNotification.notifiedAt.toUTCString())
185
- ) ? (n.push(l), null) : l).filter(
186
- (l) => !!l
187
- );
188
- return n.sort(
189
- (l, d) => et(l.inboxNotification.notifiedAt.toUTCString()).isAfter(
190
- et(d.inboxNotification.notifiedAt.toUTCString())
191
- ) === !0 ? -1 : 1
192
- ), { singleGroup: n, remainingData: r };
193
- }, To = (t) => {
194
- const { thread: i } = t, { newRepliesAdded: s, newCommentAdded: n } = No;
195
- return i.comments.length === 1 ? n : s;
196
- }, Te = new _(3, 2, 1, 1, 1), ke = new _(
197
- x[8],
198
- x[6],
199
- 35,
200
- 35,
201
- x[6]
202
- ), mt = {
203
- lineClamp: Te,
204
- sectionWidth: ke
205
- }, {
206
- common: { texts: Ot, timeStrings: ko, strings: st },
207
- commentsAndNotifications: {
208
- notifications: {
209
- strings: { newMessage: Lo },
210
- actionStrings: {
211
- comments: { newCommentAdded: Io }
212
- }
213
- }
214
- }
215
- } = F.getLocalizedStrings(), Ro = ({
216
- notificationData: t,
217
- users: i,
218
- isHighlighted: s = !1,
219
- style: n,
220
- onNotificationTileClick: r
221
- }) => {
222
- const l = de(), c = ue().analytics, {
223
- inboxNotification: { id: h, readAt: p, notifiedAt: u },
224
- thread: m
225
- } = t, { setRequestToOpenThread: f } = oo(ro), g = p != null ? "read" : "unread", {
226
- metadata: { url: S, companyId: I, entityType: D },
227
- id: R
228
- } = m;
229
- return /* @__PURE__ */ e.jsxs(
230
- Mo,
231
- {
232
- readStatus: g,
233
- isClickable: !!S,
234
- isHighlighted: s,
235
- style: n,
236
- onClick: () => {
237
- S && (r(h, le(S), g), (m.metadata.tab === "bill" || m.metadata.tab === "reimbursement") && f({
238
- threadId: R,
239
- companyId: I,
240
- entityType: D
241
- })), m.metadata.application !== "cockpit" && c.trackCommentActivity(
242
- "notification",
243
- // pageName
244
- "clicked",
245
- // activityType
246
- m.metadata.companyName,
247
- // tenantName
248
- l.controllersList.controllers.map(
249
- (k) => V(k)
250
- ),
251
- // controllerName
252
- m.resolved ? "resolved" : "open",
253
- // status
254
- {
255
- name: me(l.loggedInUser),
256
- email: l.loggedInUser?.userEmail ?? ""
257
- },
258
- // createdBy
259
- "db notification"
260
- // source
261
- );
262
- },
263
- children: [
264
- /* @__PURE__ */ e.jsx(_o, { notificationData: t, users: i }),
265
- /* @__PURE__ */ e.jsx(Do, { ...t }),
266
- /* @__PURE__ */ e.jsx(Ao, { timestamp: u, readStatus: g })
267
- ]
268
- }
269
- );
270
- }, Le = ({
271
- notificationData: t,
272
- users: i
273
- }) => {
274
- const { thread: s } = t, { comments: n } = s, r = n[0];
275
- return n.length === 0 || r.body == null ? /* @__PURE__ */ e.jsx(vt, { children: Lo }) : /* @__PURE__ */ e.jsx(vt, { children: r.body.content.map((l) => {
276
- switch (l.type) {
277
- case "paragraph":
278
- return l.children.map((d, c) => {
279
- if (Oo(d)) {
280
- const p = i.find((u) => u.userId === d.id);
281
- return d.id ? /* @__PURE__ */ e.jsx(
282
- zo,
283
- {
284
- notificationData: t,
285
- user: p
286
- },
287
- `${d.id}${st.underscore}${c}`
288
- ) : null;
289
- }
290
- if (Eo(d)) {
291
- const p = lo(d.url) ?? d.url;
292
- return /* @__PURE__ */ e.jsx(
293
- Vo,
294
- {
295
- href: p,
296
- target: "_blank",
297
- rel: "noopener noreferrer nofollow",
298
- children: d.text ?? d.url
299
- },
300
- c
301
- );
302
- }
303
- let h = d.text;
304
- return d.bold === !0 && (h = /* @__PURE__ */ e.jsx(Bo, { children: h }, c)), d.italic === !0 && (h = /* @__PURE__ */ e.jsx(Uo, { children: h }, c)), d.strikethrough === !0 && (h = /* @__PURE__ */ e.jsx(Wo, { children: h }, c)), d.code === !0 && (h = /* @__PURE__ */ e.jsx(Go, { children: h }, c)), /* @__PURE__ */ e.jsx(Ho, { children: h }, c);
305
- });
306
- default:
307
- return /* @__PURE__ */ e.jsx(vt, { children: Io });
308
- }
309
- }) });
310
- }, _o = ({
311
- notificationData: t,
312
- users: i
313
- }) => {
314
- const s = C();
315
- return /* @__PURE__ */ e.jsx(Yo, { windowSize: s, children: /* @__PURE__ */ e.jsx(
316
- Le,
317
- {
318
- notificationData: t,
319
- users: i
320
- }
321
- ) });
322
- }, zo = ({
323
- notificationData: t,
324
- user: i
325
- }) => {
326
- const {
327
- inboxNotification: { readAt: s }
328
- } = t, n = s != null ? "read" : "unread";
329
- let r = /* @__PURE__ */ e.jsxs(Et, { className: "userText", readStatus: n, children: [
330
- st.atTheRate,
331
- Ot.user,
332
- st.space
333
- ] });
334
- if (i != null) {
335
- const l = V(i, !1);
336
- r = /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs(Et, { className: "userText", readStatus: n, children: [
337
- st.atTheRate,
338
- l || Ot.user,
339
- st.space
340
- ] }) });
341
- }
342
- return r;
343
- }, Ie = (t) => {
344
- const i = To(t);
345
- return /* @__PURE__ */ e.jsx(e.Fragment, { children: i });
346
- }, Do = (t) => {
347
- const i = C();
348
- return /* @__PURE__ */ e.jsx(Po, { windowSize: i, children: /* @__PURE__ */ e.jsx(Ie, { ...t }) });
349
- }, Re = (t) => {
350
- const { timestamp: i, readStatus: s } = t, n = ve(i);
351
- return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
352
- /* @__PURE__ */ e.jsx(
353
- Jo,
354
- {
355
- isNewNotification: n === ko.justNow,
356
- children: n
357
- }
358
- ),
359
- /* @__PURE__ */ e.jsx(Ko, { readStatus: s })
360
- ] });
361
- }, Ao = (t) => {
362
- const i = C();
363
- return /* @__PURE__ */ e.jsx(Fo, { windowSize: i, children: /* @__PURE__ */ e.jsx(Re, { ...t }) });
364
- };
365
- function Oo(t) {
366
- return "type" in t && t.type === "mention";
367
- }
368
- function Eo(t) {
369
- return "type" in t && t.type === "link";
370
- }
371
- const Mo = a.div`
372
- display: flex;
373
- flex-direction: row;
374
- align-items: center;
375
- justify-content: space-between;
376
- width: 100%;
377
- cursor: ${(t) => t.isClickable ? "pointer" : "not-allowed"};
378
-
379
- background-color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey4 : t.theme.colors.grey5};
380
-
381
- color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey1 : t.theme.colors.hero};
382
- border: 1px solid ${(t) => t.theme.colors.grey3};
383
- margin-bottom: -1px;
384
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
385
-
386
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
387
-
388
- .userText {
389
- color: ${j.brandColorJade};
390
- }
391
-
392
- :first-of-type {
393
- border-top-left-radius: inherit;
394
- border-top-right-radius: inherit;
395
- }
396
-
397
- :last-of-type {
398
- border-bottom-left-radius: inherit;
399
- border-bottom-right-radius: inherit;
400
- }
401
-
402
- ${(t) => t.isHighlighted ? M`
403
- z-index: 1;
404
- color: ${t.theme.colors.primary};
405
- border: 1px solid ${t.theme.colors.primary};
406
-
407
- .userText {
408
- color: ${j.brandColorJade};
409
- }
410
- ` : null};
411
-
412
- ${(t) => t.isClickable ? M`
413
- &:hover {
414
- z-index: 1;
415
- color: ${t.theme.colors.primary};
416
- border: 1px solid ${t.theme.colors.primary};
417
-
418
- .userText {
419
- color: ${j.brandColorJade};
420
- }
421
- }
422
- ` : null};
423
- `, Fo = a(Y)`
424
- width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
425
- gap: ${o.sp2};
426
- display: flex;
427
- align-items: center;
428
- flex-shrink: 0;
429
- justify-content: end;
430
- `, Po = a(it)`
431
- color: inherit;
432
- display: -webkit-box;
433
- overflow: hidden;
434
- -webkit-line-clamp: ${(t) => mt.lineClamp.value(t.windowSize)};
435
- -webkit-box-orient: vertical;
436
- width: ${(t) => mt.sectionWidth.valuePercentage(t.windowSize)};
437
- `, Bo = a.strong``, Go = a.code``, Uo = a.em``, Wo = a.s``, Ho = a.span``, Vo = a.a``, Yo = a(it)`
438
- color: inherit;
439
- display: -webkit-box;
440
- overflow: hidden;
441
- -webkit-line-clamp: ${(t) => mt.lineClamp.value(t.windowSize)};
442
- -webkit-box-orient: vertical;
443
- width: ${(t) => mt.sectionWidth.valuePercentage(t.windowSize)};
444
- `, Et = a(gt)`
445
- color: ${(t) => t.readStatus === "read" ? t.theme.colors.grey1 : j.brandColorJade};
446
- `, vt = a(gt)`
447
- color: inherit;
448
- `, Jo = a(he)`
449
- flex-shrink: 0;
450
- color: ${(t) => t.isNewNotification ? t.theme.colors.primary : "inherit"};
451
- `, Ko = a.div`
452
- display: flex;
453
- height: ${o.sp2};
454
- width: ${o.sp2};
455
- border-radius: ${o.sp2};
456
- flex-shrink: 0;
457
- background-color: ${(t) => t.readStatus === "unread" ? j.info : "transparent"};
458
- `, Nt = {
459
- emptyRowItemSectionWidth: new _(120, 200, 250, 330, 400),
460
- emptyLastRowItemSectionWidth: new _(x[6], 50, 60, x[11], 120)
461
- }, qo = () => {
462
- const t = C();
463
- return /* @__PURE__ */ e.jsxs(Qo, { windowSize: t, children: [
464
- /* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
465
- z,
466
- {
467
- width: Nt.emptyRowItemSectionWidth.value(t),
468
- height: x[4]
469
- }
470
- ) }),
471
- /* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
472
- z,
473
- {
474
- width: Nt.emptyRowItemSectionWidth.value(t),
475
- height: x[4]
476
- }
477
- ) }),
478
- /* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
479
- z,
480
- {
481
- width: Nt.emptyLastRowItemSectionWidth.value(t),
482
- height: 18
483
- }
484
- ) })
485
- ] });
486
- }, Qo = a.div`
487
- display: flex;
488
- align-items: center;
489
- justify-content: space-between;
490
-
491
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
492
- border: 1px solid ${(t) => t.theme.colors.grey3};
493
- margin-bottom: -1px;
494
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
495
-
496
- :hover {
497
- z-index: 1;
498
- border: ${(t) => `1px solid ${t.theme.colors.primary}`};
499
- }
500
-
501
- :first-of-type {
502
- border-top-left-radius: ${o.sp2};
503
- border-top-right-radius: ${o.sp2};
504
- }
505
-
506
- :last-of-type {
507
- border-bottom-left-radius: ${o.sp2};
508
- border-bottom-right-radius: ${o.sp2};
509
- }
510
- `, Tt = a.div`
511
- display: flex;
512
- align-items: center;
513
- position: relative;
514
- flex: 1 1 auto;
515
- justify-content: ${(t) => t.isLastItem ? "flex-end" : "start"};
516
- width: ${(t) => t.isLastItem ? "10%" : ke.valuePercentage(t.windowSize)};
517
- `, Xo = () => {
518
- const t = C();
519
- return /* @__PURE__ */ e.jsxs(Zo, { windowSize: t, children: [
520
- /* @__PURE__ */ e.jsxs(ti, { children: [
521
- /* @__PURE__ */ e.jsx(z, { width: 180, height: x[4] }),
522
- /* @__PURE__ */ e.jsx(z, { width: 180, height: x[4] })
523
- ] }),
524
- /* @__PURE__ */ e.jsx(ei, { children: /* @__PURE__ */ e.jsx(z, { width: 60, height: 18 }) })
525
- ] });
526
- }, Zo = a.div`
527
- display: flex;
528
- align-items: baseline;
529
- justify-content: space-between;
530
- flex-direction: row;
531
- gap: ${o.sp4};
532
-
533
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
534
- border: 1px solid ${(t) => t.theme.colors.grey3};
535
- margin-bottom: -1px;
536
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
537
-
538
- :hover {
539
- z-index: 1;
540
- border: ${(t) => `1px solid ${t.theme.colors.primary}`};
541
- }
542
-
543
- :first-of-type {
544
- border-top-left-radius: ${o.sp2};
545
- border-top-right-radius: ${o.sp2};
546
- }
547
-
548
- :last-of-type {
549
- border-bottom-left-radius: ${o.sp2};
550
- border-bottom-right-radius: ${o.sp2};
551
- }
552
- `, ti = a.div`
553
- display: flex;
554
- align-items: start;
555
- flex-direction: column;
556
- gap: ${o.sp2};
557
- flex: 1 1 auto;
558
- justify-content: start;
559
- `, ei = a.div`
560
- display: flex;
561
- align-items: baseline;
562
- flex-direction: row;
563
- justify-content: end;
564
- `, oi = () => C() === "small" ? /* @__PURE__ */ e.jsx(Xo, {}) : /* @__PURE__ */ e.jsx(qo, {}), ii = {
565
- marginLeft: new _(x[2], x[5], x[7])
566
- }, si = () => /* @__PURE__ */ e.jsxs(ni, { children: [
567
- /* @__PURE__ */ e.jsx(kt, { numberOfRows: 5 }),
568
- /* @__PURE__ */ e.jsx(kt, { numberOfRows: 3 })
569
- ] }), kt = ({
570
- numberOfRows: t
571
- }) => {
572
- const i = C();
573
- return /* @__PURE__ */ e.jsxs(ai, { windowSize: i, children: [
574
- /* @__PURE__ */ e.jsx(li, { children: /* @__PURE__ */ e.jsx(
575
- z,
576
- {
577
- width: x[12],
578
- height: Rt.standardRegular.lineHeightValue
579
- }
580
- ) }),
581
- /* @__PURE__ */ e.jsx(ri, { children: [...Array(t)].map((s) => /* @__PURE__ */ e.jsx(oi, {}, ft())) })
582
- ] });
583
- }, ni = a.div`
584
- display: block;
585
- min-height: 100%;
586
- flex-direction: column;
587
- width: 100%;
588
- `, ai = a.div`
589
- display: flex;
590
- flex-direction: column;
591
- margin-bottom: ${o.sp5};
592
- margin-left: ${(t) => ii.marginLeft.valuePx(t.windowSize)};
593
- `, ri = a.div`
594
- display: flex;
595
- flex-direction: column;
596
- border-radius: ${o.sp2};
597
- `, li = a.div`
598
- display: flex;
599
- padding: ${o.sp3} ${o.sp0};
600
- `, ci = ({
601
- notificationData: t,
602
- users: i,
603
- isSelectionMode: s = !1,
604
- isHighlighted: n = !1,
605
- style: r,
606
- onNotificationTileClick: l,
607
- onNotificationTileLongPress: d
608
- }) => {
609
- const c = de(), p = ue().analytics, {
610
- inboxNotification: { id: u, readAt: m, notifiedAt: f },
611
- thread: g
612
- } = t, S = m != null ? "read" : "unread", I = g.metadata.url, D = v(() => {
613
- d?.();
614
- }, [d]), R = v(
615
- ($) => {
616
- $.stopPropagation(), $.cancelable && $.preventDefault(), s ? d?.() : I != null && (l(u, le(g.metadata.url), S), g.metadata.application !== "cockpit" && p.trackCommentActivity(
617
- "notification",
618
- // pageName
619
- "clicked",
620
- // activityType
621
- g.metadata.companyName,
622
- // tenantName
623
- c.controllersList.controllers.map(
624
- (L) => V(L)
625
- ),
626
- // controllerName
627
- g.resolved ? "resolved" : "open",
628
- // status
629
- {
630
- name: me(c.loggedInUser),
631
- email: c.loggedInUser?.userEmail ?? ""
632
- },
633
- // createdBy
634
- "db notification"
635
- // source
636
- ));
637
- },
638
- [
639
- s,
640
- I,
641
- d,
642
- l,
643
- u,
644
- g.metadata.url,
645
- g.metadata.application,
646
- S,
647
- c.controllersList,
648
- c.loggedInUser,
649
- p,
650
- g.metadata.companyName,
651
- g.resolved
652
- ]
653
- ), k = ge({ onLongPress: D }, {
654
- shouldPreventDefault: !1,
655
- delay: 1e3
656
- });
657
- return /* @__PURE__ */ e.jsxs(
658
- hi,
659
- {
660
- readStatus: S,
661
- isClickable: I != null,
662
- isHighlighted: n,
663
- style: r,
664
- ...k,
665
- onClick: R,
666
- children: [
667
- /* @__PURE__ */ e.jsxs(pi, { children: [
668
- /* @__PURE__ */ e.jsx(
669
- di,
670
- {
671
- notificationData: t,
672
- users: i
673
- }
674
- ),
675
- /* @__PURE__ */ e.jsx(ui, { ...t })
676
- ] }),
677
- /* @__PURE__ */ e.jsx(mi, { timestamp: f, readStatus: S })
678
- ]
679
- }
680
- );
681
- }, di = ({
682
- notificationData: t,
683
- users: i
684
- }) => /* @__PURE__ */ e.jsx(_e, { children: /* @__PURE__ */ e.jsx(
685
- Le,
686
- {
687
- notificationData: t,
688
- users: i
689
- }
690
- ) }), ui = (t) => /* @__PURE__ */ e.jsx(_e, { children: /* @__PURE__ */ e.jsx(Ie, { ...t }) }), mi = (t) => /* @__PURE__ */ e.jsx(fi, { children: /* @__PURE__ */ e.jsx(Re, { ...t }) }), hi = a.div`
691
- display: flex;
692
- flex-direction: row;
693
- align-items: baseline;
694
- justify-content: space-between;
695
- width: 100%;
696
- gap: ${o.sp2};
697
- cursor: ${(t) => t.isClickable ? "pointer" : "not-allowed"};
698
-
699
- background-color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey4 : t.theme.colors.grey5};
700
-
701
- color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey1 : t.theme.colors.hero};
702
- border: 1px solid ${(t) => t.theme.colors.grey3};
703
- margin-bottom: -1px;
704
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
705
-
706
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
707
-
708
- .userText {
709
- color: ${j.brandColorJade};
710
- }
711
-
712
- :first-of-type {
713
- border-top-left-radius: inherit;
714
- border-top-right-radius: inherit;
715
- }
716
-
717
- :last-of-type {
718
- border-bottom-left-radius: inherit;
719
- border-bottom-right-radius: inherit;
720
- }
721
-
722
- ${(t) => t.isHighlighted ? M`
723
- z-index: 1;
724
- color: ${t.theme.colors.primary};
725
- border: 1px solid ${t.theme.colors.primary};
726
-
727
- .userText {
728
- color: ${j.brandColorJade};
729
- }
730
- ` : null};
731
-
732
- ${(t) => t.isClickable ? M`
733
- &:hover {
734
- z-index: 1;
735
- color: ${t.theme.colors.primary};
736
- border: 1px solid ${t.theme.colors.primary};
737
-
738
- .userText {
739
- color: ${j.brandColorJade};
740
- }
741
- }
742
- ` : null};
743
- `, fi = a(Y)`
744
- width: 25%;
745
- gap: ${o.sp2};
746
- display: flex;
747
- align-items: center;
748
- flex-shrink: 0;
749
- justify-content: end;
750
- `, pi = a.div`
751
- display: flex;
752
- flex-direction: column;
753
- gap: ${o.sp2};
754
- `, _e = a(it)`
755
- color: inherit;
756
- display: -webkit-box;
757
- overflow: hidden;
758
- -webkit-box-orient: vertical;
759
- `, ze = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(ci, { ...t }) : /* @__PURE__ */ e.jsx(Ro, { ...t }), {
760
- common: { all: Mt }
761
- } = F.getLocalizedStrings(), gi = ({
762
- notificationGroup: t,
763
- users: i,
764
- sectionId: s,
765
- checkBoxMode: n,
766
- style: r,
767
- isDisabled: l,
768
- onNotificationTileClick: d
769
- }) => {
770
- const c = ot(), { getValues: h } = pt(), p = h(s);
771
- return /* @__PURE__ */ e.jsx(xi, { style: r, children: /* @__PURE__ */ e.jsx(
772
- xt,
773
- {
774
- mode: n,
775
- checkBoxes: [
776
- {
777
- label: /* @__PURE__ */ e.jsx(
778
- bi,
779
- {
780
- htmlFor: `${s}.${Mt.toLocaleLowerCase()}`,
781
- style: { color: c.colors.primary },
782
- children: wt(t)
783
- }
784
- ),
785
- value: Mt.toLocaleLowerCase(),
786
- defaultChecked: !1,
787
- groupLabel: !0
788
- },
789
- ...t.notifications.map(
790
- (u, m) => {
791
- const f = m === 0, g = t.notifications.length - 1 === m;
792
- return {
793
- label: /* @__PURE__ */ e.jsx(
794
- ze,
795
- {
796
- notificationData: u,
797
- users: i,
798
- style: {
799
- borderTopLeftRadius: f ? o.sp2 : void 0,
800
- borderTopRightRadius: f ? o.sp2 : void 0,
801
- borderBottomLeftRadius: g ? o.sp2 : void 0,
802
- borderBottomRightRadius: g ? o.sp2 : void 0
803
- },
804
- isHighlighted: p?.includes(u.inboxNotification.id) === !0,
805
- onNotificationTileClick: d
806
- }
807
- ),
808
- value: u.inboxNotification.id,
809
- defaultChecked: !1,
810
- groupLabel: !1
811
- };
812
- }
813
- )
814
- ],
815
- name: s,
816
- isDisabled: l,
817
- style: { width: "100%" },
818
- checkBoxStyle: { padding: o.sp3 },
819
- labelCheckBoxStyle: { padding: o.sp3 }
820
- }
821
- ) });
822
- }, xi = a.div`
823
- display: flex;
824
- align-items: center;
825
- width: 100%;
826
- `, bi = a(bt)`
827
- display: flex;
828
- align-items: flex-start;
829
- width: 100%;
830
- padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
831
- `, {
832
- common: { all: Ft }
833
- } = F.getLocalizedStrings(), wi = ({
834
- notificationGroup: t,
835
- users: i,
836
- sectionId: s,
837
- checkBoxMode: n,
838
- style: r,
839
- isDisabled: l,
840
- onNotificationTileClick: d
841
- }) => {
842
- const c = ot(), { getValues: h } = pt(), p = h(s), u = W([]);
843
- return G(() => {
844
- u.current = u.current.slice(
845
- 0,
846
- t.notifications.length
847
- );
848
- }, [t.notifications.length]), /* @__PURE__ */ e.jsx($i, { style: r, children: /* @__PURE__ */ e.jsx(
849
- xt,
850
- {
851
- mode: n,
852
- checkBoxes: [
853
- {
854
- label: /* @__PURE__ */ e.jsx(
855
- Pt,
856
- {
857
- htmlFor: `${s}.${Ft.toLocaleLowerCase()}`,
858
- style: {
859
- color: c.colors.primary,
860
- marginLeft: o.sp2
861
- },
862
- children: wt(t)
863
- }
864
- ),
865
- value: Ft.toLocaleLowerCase(),
866
- defaultChecked: !1,
867
- groupLabel: !0
868
- },
869
- ...t.notifications.map(
870
- (m, f) => {
871
- const g = f === 0, S = t.notifications.length - 1 === f;
872
- return {
873
- label: /* @__PURE__ */ e.jsx(
874
- Pt,
875
- {
876
- ref: (I) => u.current[f] = I,
877
- htmlFor: `${s}.${m.inboxNotification.id}`,
878
- style: { padding: o.sp0 },
879
- children: /* @__PURE__ */ e.jsx(
880
- yi,
881
- {
882
- notificationData: m,
883
- users: i,
884
- style: {
885
- borderTopLeftRadius: g ? o.sp2 : void 0,
886
- borderTopRightRadius: g ? o.sp2 : void 0,
887
- borderBottomLeftRadius: S ? o.sp2 : void 0,
888
- borderBottomRightRadius: S ? o.sp2 : void 0,
889
- marginLeft: o.sp2
890
- },
891
- isHighlighted: p?.includes(m.inboxNotification.id) === !0,
892
- isSelectionMode: n === "always_on",
893
- onNotificationTileClick: d,
894
- onNotificationTileLongPress: () => {
895
- u.current[f]?.click();
896
- }
897
- }
898
- )
899
- }
900
- ),
901
- value: m.inboxNotification.id,
902
- defaultChecked: !1,
903
- groupLabel: !1
904
- };
905
- }
906
- )
907
- ],
908
- name: s,
909
- isDisabled: l,
910
- style: { width: "100%", position: "relative" },
911
- checkBoxStyle: {
912
- padding: o.sp1,
913
- zIndex: 2,
914
- left: `-${o.sp1}`,
915
- position: "absolute"
916
- },
917
- checkBoxIconStyle: {
918
- backgroundColor: c.colors.grey5
919
- }
920
- }
921
- ) });
922
- }, $i = a.div`
923
- display: flex;
924
- align-items: center;
925
- width: 100%;
926
- `, Pt = a(bt)`
927
- display: flex;
928
- align-items: flex-start;
929
- width: 100%;
930
- padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
931
- `, yi = a(ze)``, Si = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(wi, { ...t }) : /* @__PURE__ */ e.jsx(gi, { ...t }), {
932
- commentsAndNotifications: {
933
- notifications: { message: ji }
934
- }
935
- } = F.getLocalizedStrings(), Bt = {
936
- rowGap: new _(x[0], x[5], x[5])
937
- }, Ci = ({
938
- notificationGroups: t,
939
- users: i,
940
- isFetching: s,
941
- hasMore: n,
942
- sectionId: r,
943
- checkBoxMode: l,
944
- scrollYOffset: d,
945
- currentSubTab: c,
946
- isDisabled: h,
947
- onUpdateScrollYOffset: p,
948
- onFetchNotificationGroups: u,
949
- onNotificationClick: m
950
- }) => {
951
- const f = C(), g = W(null), S = W({});
952
- G(() => {
953
- g.current?.resetAfterIndex(0, !0);
954
- }, [f, g, t]), G(() => {
955
- g.current?.scrollTo(d);
956
- }, [c]);
957
- const I = v(
958
- (N) => {
959
- if (S.current?.[N] != null) {
960
- const B = f === "small" && n === !1 && N === t.length - 1 ? Bt.rowGap.value("medium-regular") : Bt.rowGap.value(f);
961
- return S.current[N] + B;
962
- }
963
- return (xe * Te.value(f) + be) * 3 + we + $e;
964
- },
965
- // eslint-disable-next-line react-hooks/exhaustive-deps
966
- [f, S, t]
967
- ), D = v(
968
- (N, B) => {
969
- S.current = { ...S.current, [N]: B }, g.current?.resetAfterIndex(0, !0);
970
- },
971
- // eslint-disable-next-line react-hooks/exhaustive-deps
972
- [f, g, t]
973
- ), R = v(() => {
974
- u();
975
- }, [u]), b = v(() => {
976
- }, []), k = se(
977
- (N) => p(N),
978
- 1e3,
979
- {
980
- trailing: !0
981
- }
982
- ), $ = (N) => !n || N < t.length, H = v(() => n && !s ? R() : b(), [n, s, R, b]), L = n ? t.length + 1 : t.length;
983
- return /* @__PURE__ */ e.jsx(Ni, { children: /* @__PURE__ */ e.jsx(Ti, { windowSize: f, children: s && t.length === 0 ? /* @__PURE__ */ e.jsx(si, {}) : s === !1 && t.length === 0 ? /* @__PURE__ */ e.jsx(
984
- fe,
985
- {
986
- message: ji.noNotificationsMessage,
987
- style: { padding: o.sp0 }
988
- }
989
- ) : /* @__PURE__ */ e.jsx(ki, { windowSize: f, children: /* @__PURE__ */ e.jsx(ne, { children: ({ height: N, width: B }) => /* @__PURE__ */ e.jsx(
990
- ae,
991
- {
992
- isItemLoaded: $,
993
- itemCount: ye,
994
- loadMoreItems: H,
995
- children: ({ onItemsRendered: J, ref: U }) => /* @__PURE__ */ e.jsx(
996
- re,
997
- {
998
- ref: (K) => {
999
- U(K), g.current = K;
1000
- },
1001
- height: N,
1002
- itemCount: L,
1003
- itemData: {
1004
- notificationGroups: t,
1005
- users: i,
1006
- sectionId: r,
1007
- checkBoxMode: l,
1008
- isDisabled: h,
1009
- isItemLoaded: $,
1010
- setRowHeight: D,
1011
- onNotificationClick: m
1012
- },
1013
- onItemsRendered: J,
1014
- itemSize: I,
1015
- width: B,
1016
- style: { willChange: "auto" },
1017
- overscanCount: Se,
1018
- onScroll: ({ scrollOffset: K }) => {
1019
- k(K);
1020
- },
1021
- initialScrollOffset: d,
1022
- children: vi
1023
- }
1024
- )
1025
- }
1026
- ) }) }) }) });
1027
- }, vi = ({ index: t, style: i, data: s }) => {
1028
- const {
1029
- notificationGroups: n,
1030
- users: r,
1031
- sectionId: l,
1032
- checkBoxMode: d,
1033
- isItemLoaded: c,
1034
- isDisabled: h,
1035
- setRowHeight: p,
1036
- onNotificationClick: u
1037
- } = s, m = W(null), f = C();
1038
- if (G(
1039
- () => {
1040
- m.current?.firstElementChild != null && p(t, m.current.firstElementChild.clientHeight);
1041
- },
1042
- // eslint-disable-next-line react-hooks/exhaustive-deps
1043
- [t, m, f, n[t]?.notifications]
1044
- ), c(t) === !0) {
1045
- const g = n[t], S = ut(g);
1046
- return /* @__PURE__ */ e.jsx(
1047
- Gt,
1048
- {
1049
- style: {
1050
- ...i,
1051
- paddingBottom: o.sp0,
1052
- width: "100%"
1053
- },
1054
- ref: m,
1055
- children: /* @__PURE__ */ e.jsx(
1056
- Si,
1057
- {
1058
- notificationGroup: g,
1059
- sectionId: `${l}.${S}`,
1060
- checkBoxMode: d,
1061
- isDisabled: h,
1062
- users: r,
1063
- onNotificationTileClick: u
1064
- }
1065
- )
1066
- },
1067
- S
1068
- );
1069
- }
1070
- return /* @__PURE__ */ e.jsx(
1071
- Gt,
1072
- {
1073
- ref: m,
1074
- style: {
1075
- ...i,
1076
- paddingBottom: o.sp0
1077
- },
1078
- children: /* @__PURE__ */ e.jsx(kt, { numberOfRows: 3 })
1079
- },
1080
- ft()
1081
- );
1082
- }, Ni = a.div`
1083
- display: block;
1084
- background-color: ${(t) => t.theme.colors.grey4};
1085
- height: 100%;
1086
- width: 100%;
1087
- `, Ti = a.div`
1088
- height: 100%;
1089
- width: 100%;
1090
- `, ki = a.div`
1091
- height: 100%;
1092
- display: flex;
1093
- flex-direction: column;
1094
- max-width: 99.9%;
1095
- `, Gt = a.div`
1096
- top: ${o.sp0};
1097
- left: ${o.sp0};
1098
- box-sizing: border-box;
1099
- `, {
1100
- common: { in: Li, strings: De },
1101
- dateFormat: Ii,
1102
- commentsAndNotifications: {
1103
- notifications: {
1104
- actionStrings: { notifications: E }
1105
- }
1106
- }
1107
- } = F.getLocalizedStrings(), Ae = (t) => {
1108
- t.sort(
1109
- (r, l) => r.createTime.isAfter(l.createTime) === !0 ? 1 : -1
1110
- );
1111
- let i = [...t];
1112
- const s = [];
1113
- let n = {
1114
- singleGroup: [],
1115
- remainingData: []
1116
- };
1117
- for (const r of Ce) {
1118
- let l = 0, d = 0, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), p = 1;
1119
- switch (r) {
1120
- case "today":
1121
- case "yesterday":
1122
- l = r === "today" ? 0 : 1, d = r === "today" ? 0 : 1, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), n = rt(
1123
- i,
1124
- c,
1125
- h
1126
- ), i = n.remainingData, s.push({
1127
- start: c,
1128
- end: h,
1129
- type: r,
1130
- notifications: n.singleGroup
1131
- });
1132
- break;
1133
- case "last_7_days_this_month":
1134
- i.length > 0 && y().date() > 2 && (c = y().subtract(Math.min(y().date() - 1, 8), "d").startOf("d"), h = y().subtract(2, "d").endOf("d"), n = rt(
1135
- i,
1136
- c,
1137
- h
1138
- ), i = n.remainingData, s.push({
1139
- start: c,
1140
- end: h,
1141
- type: r,
1142
- notifications: n.singleGroup
1143
- }));
1144
- break;
1145
- case "earlier_this_month":
1146
- i.length > 0 && y().date() > 9 && (c = y().startOf("M").startOf("d"), h = y().subtract(9, "d").endOf("d"), n = rt(
1147
- i,
1148
- c,
1149
- h
1150
- ), i = n.remainingData, s.push({
1151
- start: c,
1152
- end: h,
1153
- type: r,
1154
- notifications: n.singleGroup
1155
- }));
1156
- break;
1157
- case "earlier_that_month":
1158
- for (; i.length > 0; ) {
1159
- const u = y().subtract(p, "month").startOf("M").startOf("d"), m = y().subtract(p, "month").endOf("M").endOf("d");
1160
- p++, n = rt(
1161
- i,
1162
- u,
1163
- m
1164
- ), i = n.remainingData, s.push({
1165
- start: u,
1166
- end: m,
1167
- type: r,
1168
- notifications: n.singleGroup
1169
- });
1170
- }
1171
- break;
1172
- }
1173
- }
1174
- return s;
1175
- }, rt = (t, i, s) => {
1176
- const n = [], r = t.map((l) => ce(i, s, l.createTime) ? (n.push(l), null) : l).filter(
1177
- (l) => !!l
1178
- );
1179
- return n.sort(
1180
- (l, d) => l.createTime.isAfter(d.createTime) === !0 ? -1 : 1
1181
- ), { singleGroup: n, remainingData: r };
1182
- }, Ri = (t) => {
1183
- let i = E.newActivity;
1184
- return t.code === "in_progress" ? i = E.due.replace(
1185
- "__task_status__",
1186
- Dt(t.name.toLocaleLowerCase())
1187
- ) : i = E.due.replace(
1188
- "__task_status__",
1189
- Li.toLocaleLowerCase().concat(
1190
- De.space,
1191
- Dt(t.name.toLocaleLowerCase())
1192
- )
1193
- ), i;
1194
- }, _i = (t) => {
1195
- const {
1196
- eventData: { activities: i }
1197
- } = t;
1198
- let s = E.newActivity;
1199
- if (i.length > 0) {
1200
- const n = i[0].activityType, r = i[0].metadata.eventStatus;
1201
- switch (n) {
1202
- case "task_archived":
1203
- s = E.archive;
1204
- break;
1205
- case "task_deleted":
1206
- s = E.delete;
1207
- break;
1208
- case "task_activities":
1209
- s = E.activities;
1210
- break;
1211
- case "task_assigned":
1212
- s = E.assign;
1213
- break;
1214
- case "task_created":
1215
- s = E.create;
1216
- break;
1217
- case "task_due":
1218
- s = r != null ? Ri(r) : E.dueTomorrow;
1219
- break;
1220
- case "task_overdue":
1221
- s = E.overdue.replace(
1222
- "__date__",
1223
- i[0].metadata.additionalInfo?.dueDate.format(
1224
- Ii.visual.MMMDFormat
1225
- ) ?? De.empty
1226
- );
1227
- break;
1228
- case "task_status_updated":
1229
- s = E.statusUpdate;
1230
- break;
1231
- }
1232
- }
1233
- return s;
1234
- }, Oe = new _(3, 2, 1, 1, 1), Ee = new _(
1235
- x[8],
1236
- 33,
1237
- 33,
1238
- 33,
1239
- 35
1240
- ), ht = {
1241
- lineClamp: Oe,
1242
- sectionWidth: Ee
1243
- }, {
1244
- common: { and: Ut, other: zi, others: Di, texts: Ai, timeStrings: Oi, strings: O, tags: Ei }
1245
- } = F.getLocalizedStrings(), Mi = ({
1246
- notificationData: t,
1247
- isHighlighted: i = !1,
1248
- style: s,
1249
- onNotificationTileClick: n
1250
- }) => {
1251
- const {
1252
- status: r,
1253
- notificationId: l,
1254
- eventData: { entitiyId: d, activities: c },
1255
- createTime: h
1256
- } = t;
1257
- return /* @__PURE__ */ e.jsxs(
1258
- Hi,
1259
- {
1260
- notificationStatus: r,
1261
- isHighlighted: i,
1262
- style: s,
1263
- onClick: () => {
1264
- n(
1265
- l,
1266
- d,
1267
- r,
1268
- c.length > 0 ? c[0].activityType : void 0
1269
- );
1270
- },
1271
- children: [
1272
- /* @__PURE__ */ e.jsx(Fi, { ...t }),
1273
- /* @__PURE__ */ e.jsx(Gi, { ...t }),
1274
- /* @__PURE__ */ e.jsx(Wi, { ...t }),
1275
- /* @__PURE__ */ e.jsx(Ui, { createTime: h, notificationStatus: r })
1276
- ]
1277
- }
1278
- );
1279
- }, Me = (t) => {
1280
- const {
1281
- status: i,
1282
- eventData: { title: s }
1283
- } = t;
1284
- return /* @__PURE__ */ e.jsx(qi, { notificationStatus: i, children: s || O.hyphen });
1285
- }, Fi = (t) => {
1286
- const i = C();
1287
- return /* @__PURE__ */ e.jsx(Ki, { windowSize: i, children: /* @__PURE__ */ e.jsx(Me, { ...t }) });
1288
- }, Pi = (t) => {
1289
- const {
1290
- eventData: { activities: i }
1291
- } = t;
1292
- if (i.length > 0 && i[0].activityType === "task_status_updated") {
1293
- const s = i[0].metadata.updates.find(
1294
- (n) => n.type === "code_name_pair" && n.field === "status"
1295
- );
1296
- if (s?.oldValue.codeNamePair != null && s.newValue.codeNamePair != null)
1297
- return /* @__PURE__ */ e.jsxs(Xi, { children: [
1298
- /* @__PURE__ */ e.jsx(
1299
- Wt,
1300
- {
1301
- backgroundColor: At(
1302
- s.oldValue.codeNamePair
1303
- ),
1304
- children: s.oldValue.codeNamePair.name
1305
- }
1306
- ),
1307
- /* @__PURE__ */ e.jsx(Zi, {}),
1308
- /* @__PURE__ */ e.jsx(
1309
- Wt,
1310
- {
1311
- backgroundColor: At(
1312
- s.newValue.codeNamePair
1313
- ),
1314
- children: s.newValue.codeNamePair.name
1315
- }
1316
- )
1317
- ] });
1318
- }
1319
- return null;
1320
- }, Bi = (t) => {
1321
- const {
1322
- status: i,
1323
- eventData: { authors: s, activities: n }
1324
- } = t, r = s.length;
1325
- if (n[0].activityType === "task_due" || n[0].activityType === "task_overdue" || n[0].activityType === "task_status_updated")
1326
- return null;
1327
- let l = /* @__PURE__ */ e.jsxs(X, { className: "userText", notificationStatus: i, children: [
1328
- O.atTheRate,
1329
- Ai.user,
1330
- O.space
1331
- ] });
1332
- return r > 0 && (r > 2 ? l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1333
- /* @__PURE__ */ e.jsxs(
1334
- X,
1335
- {
1336
- className: "userText",
1337
- notificationStatus: i,
1338
- children: [
1339
- O.atTheRate,
1340
- V(s[0], !1),
1341
- O.space
1342
- ]
1343
- }
1344
- ),
1345
- Ut,
1346
- /* @__PURE__ */ e.jsxs(
1347
- X,
1348
- {
1349
- className: "userText",
1350
- notificationStatus: i,
1351
- children: [
1352
- O.space,
1353
- r - 1,
1354
- O.space,
1355
- Di,
1356
- O.space
1357
- ]
1358
- }
1359
- )
1360
- ] }) : r === 2 ? l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1361
- /* @__PURE__ */ e.jsxs(
1362
- X,
1363
- {
1364
- className: "userText",
1365
- notificationStatus: i,
1366
- children: [
1367
- O.atTheRate,
1368
- V(s[0], !1),
1369
- O.space
1370
- ]
1371
- }
1372
- ),
1373
- Ut,
1374
- /* @__PURE__ */ e.jsxs(
1375
- X,
1376
- {
1377
- className: "userText",
1378
- notificationStatus: i,
1379
- children: [
1380
- O.space,
1381
- s.length === 2 ? O.atTheRate + V(s[1], !1) : zi,
1382
- O.space
1383
- ]
1384
- }
1385
- )
1386
- ] }) : l = /* @__PURE__ */ e.jsxs(X, { className: "userText", notificationStatus: i, children: [
1387
- O.atTheRate,
1388
- V(s[0], !1),
1389
- O.space
1390
- ] })), l;
1391
- }, Fe = (t) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1392
- /* @__PURE__ */ e.jsx(Bi, { ...t }),
1393
- _i(t),
1394
- /* @__PURE__ */ e.jsx(Pi, { ...t })
1395
- ] }), Gi = (t) => {
1396
- const i = C(), {
1397
- eventData: { activities: s }
1398
- } = t;
1399
- return /* @__PURE__ */ e.jsx(
1400
- Ji,
1401
- {
1402
- windowSize: i,
1403
- statusUpdate: s.length > 0 && s[0].activityType === "task_status_updated" && s[0].metadata.updates.find(
1404
- (n) => n.field === "status"
1405
- ) != null,
1406
- children: /* @__PURE__ */ e.jsx(Fe, { ...t })
1407
- }
1408
- );
1409
- }, Pe = (t) => {
1410
- const { createTime: i, notificationStatus: s } = t, n = ve(i.toDate());
1411
- return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1412
- /* @__PURE__ */ e.jsx(
1413
- Qi,
1414
- {
1415
- isNewNotification: n === Oi.justNow,
1416
- children: n
1417
- }
1418
- ),
1419
- /* @__PURE__ */ e.jsx(es, { notificationStatus: s })
1420
- ] });
1421
- }, Ui = (t) => {
1422
- const i = C();
1423
- return /* @__PURE__ */ e.jsx(Vi, { windowSize: i, children: /* @__PURE__ */ e.jsx(Pe, { ...t }) });
1424
- }, Be = (t) => {
1425
- const {
1426
- eventData: { activities: i }
1427
- } = t;
1428
- return i[0].activityType === "task_overdue" ? /* @__PURE__ */ e.jsx(
1429
- co,
1430
- {
1431
- tagTitle: Ei.overdue,
1432
- textColor: {
1433
- color: new jt(j.alert),
1434
- backgroundColor: new jt("transparent"),
1435
- borderColor: new jt(j.alert)
1436
- },
1437
- showLoader: !1
1438
- }
1439
- ) : /* @__PURE__ */ e.jsx(ts, {});
1440
- }, Wi = (t) => {
1441
- const i = C();
1442
- return /* @__PURE__ */ e.jsx(Yi, { windowSize: i, children: /* @__PURE__ */ e.jsx(Be, { ...t }) });
1443
- }, Hi = a.div`
1444
- display: flex;
1445
- flex-direction: row;
1446
- align-items: center;
1447
- justify-content: space-between;
1448
- width: 100%;
1449
- cursor: pointer;
1450
-
1451
- background-color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey4 : t.theme.colors.grey5};
1452
-
1453
- color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : t.theme.colors.hero};
1454
- border: 1px solid ${(t) => t.theme.colors.grey3};
1455
- margin-bottom: -1px;
1456
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
1457
-
1458
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
1459
-
1460
- .userText {
1461
- color: ${j.brandColorJade};
1462
- }
1463
-
1464
- :first-of-type {
1465
- border-top-left-radius: inherit;
1466
- border-top-right-radius: inherit;
1467
- }
1468
-
1469
- :last-of-type {
1470
- border-bottom-left-radius: inherit;
1471
- border-bottom-right-radius: inherit;
1472
- }
1473
-
1474
- ${(t) => t.isHighlighted ? M`
1475
- z-index: 1;
1476
- color: ${t.theme.colors.primary};
1477
- border: 1px solid ${t.theme.colors.primary};
1478
-
1479
- .userText {
1480
- color: ${j.brandColorJade};
1481
- }
1482
- ` : null};
1483
-
1484
- &:hover {
1485
- z-index: 1;
1486
- color: ${(t) => t.theme.colors.primary};
1487
- border: 1px solid ${(t) => t.theme.colors.primary};
1488
-
1489
- .userText {
1490
- color: ${j.brandColorJade};
1491
- }
1492
- }
1493
- `, Vi = a(Y)`
1494
- width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
1495
- gap: ${o.sp2};
1496
- display: flex;
1497
- align-items: center;
1498
- flex-shrink: 0;
1499
- justify-content: end;
1500
- `, Yi = a(Y)`
1501
- width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
1502
- display: flex;
1503
- align-items: center;
1504
- flex-shrink: 0;
1505
- justify-content: end;
1506
- `, Ji = a(it)`
1507
- color: inherit;
1508
-
1509
- ${(t) => t.statusUpdate ? M`
1510
- display: flex;
1511
- flex-wrap: wrap;
1512
- gap: ${o.sp1};
1513
- ` : M`
1514
- display: -webkit-box;
1515
- overflow: hidden;
1516
- -webkit-line-clamp: ${ht.lineClamp.value(t.windowSize)};
1517
- gap: ${o.sp1};
1518
- -webkit-box-orient: vertical;
1519
- `};
1520
- width: ${(t) => ht.sectionWidth.valuePercentage(t.windowSize)};
1521
- `, Ki = a(it)`
1522
- color: inherit;
1523
- display: -webkit-box;
1524
- overflow: hidden;
1525
- -webkit-line-clamp: ${(t) => ht.lineClamp.value(t.windowSize)};
1526
- -webkit-box-orient: vertical;
1527
- width: ${(t) => ht.sectionWidth.valuePercentage(t.windowSize)};
1528
- `, X = a(gt)`
1529
- color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : j.brandColorJade};
1530
- `, qi = a(gt)`
1531
- color: inherit;
1532
- `, Qi = a(he)`
1533
- flex-shrink: 0;
1534
- color: ${(t) => t.isNewNotification ? t.theme.colors.primary : "inherit"};
1535
- `, Xi = a.div`
1536
- display: flex;
1537
- align-items: center;
1538
- flex-direction: row;
1539
- gap: ${o.sp2};
1540
- flex-wrap: wrap;
1541
- `, Wt = a(Y)`
1542
- color: ${j.neutralGrey5Light};
1543
- background: ${(t) => t.backgroundColor};
1544
- border: 1px solid ${(t) => t.backgroundColor};
1545
- padding: ${o.sp0} 6px;
1546
- border-radius: ${o.sp1};
1547
- `, Zi = a(uo)`
1548
- width: ${o.sp3};
1549
- height: ${o.sp3};
1550
- color: ${(t) => t.theme.colors.hero};
1551
- `, ts = a.div`
1552
- display: flex;
1553
- flex: 1 1 auto;
1554
- `, es = a.div`
1555
- display: flex;
1556
- height: ${o.sp2};
1557
- width: ${o.sp2};
1558
- border-radius: ${o.sp2};
1559
- flex-shrink: 0;
1560
- background-color: ${(t) => t.notificationStatus === "unread" ? j.info : "transparent"};
1561
- `, lt = {
1562
- emptyRowItemSectionWidth: new _(120, 200, 280, 330, 400),
1563
- emptyLastRowItemSectionWidth: new _(x[6], 50, 60, x[11], 120)
1564
- }, os = () => {
1565
- const t = C();
1566
- return /* @__PURE__ */ e.jsxs(is, { windowSize: t, children: [
1567
- /* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
1568
- z,
1569
- {
1570
- width: lt.emptyRowItemSectionWidth.value(t),
1571
- height: x[4]
1572
- }
1573
- ) }),
1574
- /* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
1575
- z,
1576
- {
1577
- width: lt.emptyRowItemSectionWidth.value(t),
1578
- height: x[4]
1579
- }
1580
- ) }),
1581
- /* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
1582
- z,
1583
- {
1584
- width: lt.emptyLastRowItemSectionWidth.value(t),
1585
- height: 18
1586
- }
1587
- ) }),
1588
- /* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
1589
- z,
1590
- {
1591
- width: lt.emptyLastRowItemSectionWidth.value(t),
1592
- height: 18
1593
- }
1594
- ) })
1595
- ] });
1596
- }, is = a.div`
1597
- display: flex;
1598
- align-items: center;
1599
- justify-content: space-between;
1600
-
1601
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
1602
- border: 1px solid ${(t) => t.theme.colors.grey3};
1603
- margin-bottom: -1px;
1604
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
1605
-
1606
- :hover {
1607
- z-index: 1;
1608
- border: ${(t) => `1px solid ${t.theme.colors.primary}`};
1609
- }
1610
-
1611
- :first-of-type {
1612
- border-top-left-radius: ${o.sp2};
1613
- border-top-right-radius: ${o.sp2};
1614
- }
1615
-
1616
- :last-of-type {
1617
- border-bottom-left-radius: ${o.sp2};
1618
- border-bottom-right-radius: ${o.sp2};
1619
- }
1620
- `, ct = a.div`
1621
- display: flex;
1622
- align-items: center;
1623
- position: relative;
1624
- flex: 1 1 auto;
1625
- justify-content: ${(t) => t.isLastItem ? "flex-end" : "start"};
1626
- width: ${(t) => t.isLastItem ? "10%" : Ee.valuePercentage(t.windowSize)};
1627
- `, ss = () => {
1628
- const t = C();
1629
- return /* @__PURE__ */ e.jsxs(ns, { windowSize: t, children: [
1630
- /* @__PURE__ */ e.jsxs(Ht, { children: [
1631
- /* @__PURE__ */ e.jsx(z, { width: 180, height: x[4] }),
1632
- /* @__PURE__ */ e.jsx(z, { width: 60, height: 18 })
1633
- ] }),
1634
- /* @__PURE__ */ e.jsxs(Ht, { children: [
1635
- /* @__PURE__ */ e.jsx(z, { width: 180, height: x[4] }),
1636
- /* @__PURE__ */ e.jsx(z, { width: 60, height: 18 })
1637
- ] })
1638
- ] });
1639
- }, ns = a.div`
1640
- display: flex;
1641
- flex-direction: column;
1642
- align-items: baseline;
1643
- justify-content: space-between;
1644
- gap: ${o.sp4};
1645
-
1646
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
1647
- border: 1px solid ${(t) => t.theme.colors.grey3};
1648
- margin-bottom: -1px;
1649
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
1650
-
1651
- :hover {
1652
- z-index: 1;
1653
- border: ${(t) => `1px solid ${t.theme.colors.primary}`};
1654
- }
1655
-
1656
- :first-of-type {
1657
- border-top-left-radius: ${o.sp2};
1658
- border-top-right-radius: ${o.sp2};
1659
- }
1660
-
1661
- :last-of-type {
1662
- border-bottom-left-radius: ${o.sp2};
1663
- border-bottom-right-radius: ${o.sp2};
1664
- }
1665
- `, Ht = a.div`
1666
- display: flex;
1667
- flex-direction: row;
1668
- align-items: start;
1669
- justify-content: space-between;
1670
- gap: ${o.sp2};
1671
- flex: 1 1 auto;
1672
- width: 100%;
1673
- `, as = () => C() === "small" ? /* @__PURE__ */ e.jsx(ss, {}) : /* @__PURE__ */ e.jsx(os, {}), rs = {
1674
- marginLeft: new _(x[2], x[5], x[7])
1675
- }, ls = () => /* @__PURE__ */ e.jsxs(cs, { children: [
1676
- /* @__PURE__ */ e.jsx(Lt, { numberOfRows: 5 }),
1677
- /* @__PURE__ */ e.jsx(Lt, { numberOfRows: 3 })
1678
- ] }), Lt = ({
1679
- numberOfRows: t
1680
- }) => {
1681
- const i = C();
1682
- return /* @__PURE__ */ e.jsxs(ds, { windowSize: i, children: [
1683
- /* @__PURE__ */ e.jsx(ms, { children: /* @__PURE__ */ e.jsx(
1684
- z,
1685
- {
1686
- width: x[12],
1687
- height: Rt.standardRegular.lineHeightValue
1688
- }
1689
- ) }),
1690
- /* @__PURE__ */ e.jsx(us, { children: [...Array(t)].map((s) => /* @__PURE__ */ e.jsx(as, {}, ft())) })
1691
- ] });
1692
- }, cs = a.div`
1693
- display: block;
1694
- min-height: 100%;
1695
- flex-direction: column;
1696
- width: 100%;
1697
- `, ds = a.div`
1698
- display: flex;
1699
- flex-direction: column;
1700
- margin-bottom: ${o.sp5};
1701
- margin-left: ${(t) => rs.marginLeft.valuePx(t.windowSize)};
1702
- `, us = a.div`
1703
- display: flex;
1704
- flex-direction: column;
1705
- border-radius: ${o.sp2};
1706
- `, ms = a.div`
1707
- display: flex;
1708
- padding: ${o.sp3} ${o.sp0};
1709
- `, hs = ({
1710
- notificationData: t,
1711
- isSelectionMode: i = !1,
1712
- isHighlighted: s = !1,
1713
- style: n,
1714
- onNotificationTileClick: r,
1715
- onNotificationTileLongPress: l
1716
- }) => {
1717
- const {
1718
- status: d,
1719
- createTime: c,
1720
- eventData: { entitiyId: h, activities: p },
1721
- notificationId: u
1722
- } = t, m = v(() => {
1723
- l?.();
1724
- }, [l]), f = v(
1725
- (I) => {
1726
- I.stopPropagation(), I.cancelable && I.preventDefault(), i ? l?.() : r(
1727
- u,
1728
- h,
1729
- d,
1730
- p.length > 0 ? p[0].activityType : void 0
1731
- );
1732
- },
1733
- [
1734
- u,
1735
- h,
1736
- d,
1737
- p,
1738
- i,
1739
- l,
1740
- r
1741
- ]
1742
- ), S = ge({ onLongPress: m }, {
1743
- shouldPreventDefault: !1,
1744
- delay: 1e3
1745
- });
1746
- return /* @__PURE__ */ e.jsxs(
1747
- bs,
1748
- {
1749
- notificationStatus: d,
1750
- isHighlighted: s,
1751
- style: n,
1752
- ...S,
1753
- onClick: f,
1754
- children: [
1755
- /* @__PURE__ */ e.jsxs(Vt, { children: [
1756
- /* @__PURE__ */ e.jsx(fs, { ...t }),
1757
- /* @__PURE__ */ e.jsx(gs, { createTime: c, notificationStatus: d })
1758
- ] }),
1759
- /* @__PURE__ */ e.jsxs(Vt, { children: [
1760
- /* @__PURE__ */ e.jsx(ps, { ...t }),
1761
- p.length > 0 && p[0].activityType === "task_status_updated" ? null : /* @__PURE__ */ e.jsx(xs, { ...t })
1762
- ] })
1763
- ]
1764
- }
1765
- );
1766
- }, fs = (t) => /* @__PURE__ */ e.jsx(Ge, { statusUpdate: !1, children: /* @__PURE__ */ e.jsx(Me, { ...t }) }), ps = (t) => {
1767
- const {
1768
- eventData: { activities: i }
1769
- } = t;
1770
- return /* @__PURE__ */ e.jsx(
1771
- Ge,
1772
- {
1773
- statusUpdate: i.length > 0 && i[0].activityType === "task_status_updated" && i[0].metadata.updates.find(
1774
- (s) => s.field === "status"
1775
- ) != null,
1776
- children: /* @__PURE__ */ e.jsx(Fe, { ...t })
1777
- }
1778
- );
1779
- }, gs = (t) => /* @__PURE__ */ e.jsx(ws, { children: /* @__PURE__ */ e.jsx(Pe, { ...t }) }), xs = (t) => /* @__PURE__ */ e.jsx($s, { children: /* @__PURE__ */ e.jsx(Be, { ...t }) }), bs = a.div`
1780
- display: flex;
1781
- flex-direction: column;
1782
- align-items: baseline;
1783
- justify-content: space-between;
1784
- width: 100%;
1785
- gap: ${o.sp2};
1786
- cursor: pointer;
1787
-
1788
- background-color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey4 : t.theme.colors.grey5};
1789
-
1790
- color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : t.theme.colors.hero};
1791
- border: 1px solid ${(t) => t.theme.colors.grey3};
1792
- margin-bottom: -1px;
1793
- box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
1794
-
1795
- padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
1796
-
1797
- .userText {
1798
- color: ${j.brandColorJade};
1799
- }
1800
-
1801
- :first-of-type {
1802
- border-top-left-radius: inherit;
1803
- border-top-right-radius: inherit;
1804
- }
1805
-
1806
- :last-of-type {
1807
- border-bottom-left-radius: inherit;
1808
- border-bottom-right-radius: inherit;
1809
- }
1810
-
1811
- ${(t) => t.isHighlighted ? M`
1812
- z-index: 1;
1813
- color: ${t.theme.colors.primary};
1814
- border: 1px solid ${t.theme.colors.primary};
1815
-
1816
- .userText {
1817
- color: ${j.brandColorJade};
1818
- }
1819
- ` : null};
1820
-
1821
- &:hover {
1822
- z-index: 1;
1823
- color: ${(t) => t.theme.colors.primary};
1824
- border: 1px solid ${(t) => t.theme.colors.primary};
1825
-
1826
- .userText {
1827
- color: ${j.brandColorJade};
1828
- }
1829
- }
1830
- `, ws = a(Y)`
1831
- width: 25%;
1832
- gap: ${o.sp2};
1833
- display: flex;
1834
- align-items: center;
1835
- flex-shrink: 0;
1836
- justify-content: end;
1837
- `, $s = a(Y)`
1838
- width: 25%;
1839
- display: flex;
1840
- align-items: center;
1841
- flex-shrink: 0;
1842
- justify-content: end;
1843
- `, Vt = a.div`
1844
- display: flex;
1845
- flex-direction: row;
1846
- gap: ${o.sp3};
1847
- width: 100%;
1848
- justify-content: space-between;
1849
- align-items: start;
1850
- `, Ge = a(it)`
1851
- color: inherit;
1852
- ${(t) => t.statusUpdate ? M`
1853
- display: flex;
1854
- flex-wrap: wrap;
1855
- gap: ${o.sp2};
1856
- ` : M`
1857
- display: -webkit-box;
1858
- -webkit-box-orient: horizontal;
1859
- gap: ${o.sp1};
1860
- `};
1861
- `, Ue = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(hs, { ...t }) : /* @__PURE__ */ e.jsx(Mi, { ...t }), {
1862
- common: { all: Yt }
1863
- } = F.getLocalizedStrings(), ys = ({
1864
- notificationGroup: t,
1865
- sectionId: i,
1866
- checkBoxMode: s,
1867
- style: n,
1868
- isDisabled: r,
1869
- onNotificationTileClick: l
1870
- }) => {
1871
- const d = ot(), { getValues: c } = pt(), h = c(i);
1872
- return /* @__PURE__ */ e.jsx(Ss, { style: n, children: /* @__PURE__ */ e.jsx(
1873
- xt,
1874
- {
1875
- mode: s,
1876
- checkBoxes: [
1877
- {
1878
- label: /* @__PURE__ */ e.jsx(
1879
- js,
1880
- {
1881
- htmlFor: `${i}.${Yt.toLocaleLowerCase()}`,
1882
- style: { color: d.colors.primary },
1883
- children: wt(t)
1884
- }
1885
- ),
1886
- value: Yt.toLocaleLowerCase(),
1887
- defaultChecked: !1,
1888
- groupLabel: !0
1889
- },
1890
- ...t.notifications.map(
1891
- (p, u) => {
1892
- const m = u === 0, f = t.notifications.length - 1 === u;
1893
- return {
1894
- label: /* @__PURE__ */ e.jsx(
1895
- Ue,
1896
- {
1897
- notificationData: p,
1898
- style: {
1899
- borderTopLeftRadius: m ? o.sp2 : void 0,
1900
- borderTopRightRadius: m ? o.sp2 : void 0,
1901
- borderBottomLeftRadius: f ? o.sp2 : void 0,
1902
- borderBottomRightRadius: f ? o.sp2 : void 0
1903
- },
1904
- isHighlighted: h?.includes(p.notificationId) === !0,
1905
- onNotificationTileClick: l
1906
- }
1907
- ),
1908
- value: p.notificationId,
1909
- defaultChecked: !1,
1910
- groupLabel: !1
1911
- };
1912
- }
1913
- )
1914
- ],
1915
- name: i,
1916
- isDisabled: r,
1917
- style: { width: "100%" },
1918
- checkBoxStyle: { padding: o.sp3 },
1919
- labelCheckBoxStyle: { padding: o.sp3 }
1920
- }
1921
- ) });
1922
- }, Ss = a.div`
1923
- display: flex;
1924
- align-items: center;
1925
- width: 100%;
1926
- `, js = a(bt)`
1927
- display: flex;
1928
- align-items: flex-start;
1929
- width: 100%;
1930
- padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
1931
- `, {
1932
- common: { all: Jt }
1933
- } = F.getLocalizedStrings(), Cs = ({
1934
- notificationGroup: t,
1935
- sectionId: i,
1936
- checkBoxMode: s,
1937
- style: n,
1938
- isDisabled: r,
1939
- onNotificationTileClick: l
1940
- }) => {
1941
- const d = ot(), { getValues: c } = pt(), h = c(i), p = W([]);
1942
- return G(() => {
1943
- p.current = p.current.slice(
1944
- 0,
1945
- t.notifications.length
1946
- );
1947
- }, [t.notifications.length]), /* @__PURE__ */ e.jsx(vs, { style: n, children: /* @__PURE__ */ e.jsx(
1948
- xt,
1949
- {
1950
- mode: s,
1951
- checkBoxes: [
1952
- {
1953
- label: /* @__PURE__ */ e.jsx(
1954
- Kt,
1955
- {
1956
- htmlFor: `${i}.${Jt.toLocaleLowerCase()}`,
1957
- style: {
1958
- color: d.colors.primary,
1959
- marginLeft: o.sp2
1960
- },
1961
- children: wt(t)
1962
- }
1963
- ),
1964
- value: Jt.toLocaleLowerCase(),
1965
- defaultChecked: !1,
1966
- groupLabel: !0
1967
- },
1968
- ...t.notifications.map(
1969
- (u, m) => {
1970
- const f = m === 0, g = t.notifications.length - 1 === m;
1971
- return {
1972
- label: /* @__PURE__ */ e.jsx(
1973
- Kt,
1974
- {
1975
- ref: (S) => p.current[m] = S,
1976
- htmlFor: `${i}.${u.notificationId}`,
1977
- style: { padding: o.sp0 },
1978
- children: /* @__PURE__ */ e.jsx(
1979
- Ns,
1980
- {
1981
- notificationData: u,
1982
- style: {
1983
- borderTopLeftRadius: f ? o.sp2 : void 0,
1984
- borderTopRightRadius: f ? o.sp2 : void 0,
1985
- borderBottomLeftRadius: g ? o.sp2 : void 0,
1986
- borderBottomRightRadius: g ? o.sp2 : void 0,
1987
- marginLeft: o.sp2
1988
- },
1989
- isHighlighted: h?.includes(u.notificationId) === !0,
1990
- isSelectionMode: s === "always_on",
1991
- onNotificationTileClick: l,
1992
- onNotificationTileLongPress: () => {
1993
- p.current[m]?.click();
1994
- }
1995
- }
1996
- )
1997
- }
1998
- ),
1999
- value: u.notificationId,
2000
- defaultChecked: !1,
2001
- groupLabel: !1
2002
- };
2003
- }
2004
- )
2005
- ],
2006
- name: i,
2007
- isDisabled: r,
2008
- style: { width: "100%", position: "relative" },
2009
- checkBoxStyle: {
2010
- padding: o.sp1,
2011
- zIndex: 2,
2012
- left: `-${o.sp1}`,
2013
- position: "absolute"
2014
- },
2015
- checkBoxIconStyle: {
2016
- backgroundColor: d.colors.grey5
2017
- }
2018
- }
2019
- ) });
2020
- }, vs = a.div`
2021
- display: flex;
2022
- align-items: center;
2023
- width: 100%;
2024
- `, Kt = a(bt)`
2025
- display: flex;
2026
- align-items: flex-start;
2027
- width: 100%;
2028
- padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
2029
- `, Ns = a(Ue)``, Ts = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(Cs, { ...t }) : /* @__PURE__ */ e.jsx(ys, { ...t }), {
2030
- commentsAndNotifications: {
2031
- notifications: { message: ks }
2032
- }
2033
- } = F.getLocalizedStrings(), qt = {
2034
- rowGap: new _(x[0], x[5], x[5])
2035
- }, Ls = ({
2036
- notificationGroups: t,
2037
- isFetching: i,
2038
- hasMore: s,
2039
- sectionId: n,
2040
- checkBoxMode: r,
2041
- scrollYOffset: l,
2042
- currentSubTab: d,
2043
- isDisabled: c,
2044
- onUpdateScrollYOffset: h,
2045
- onFetchNotificationGroups: p,
2046
- onNotificationClick: u
2047
- }) => {
2048
- const m = C(), f = W(null), g = W({});
2049
- G(() => {
2050
- f.current?.resetAfterIndex(0, !0);
2051
- }, [m, f, t]), G(() => {
2052
- f.current?.scrollTo(l);
2053
- }, [d]);
2054
- const S = v(
2055
- (L) => {
2056
- if (g.current?.[L] != null) {
2057
- const N = m === "small" && s === !1 && L === t.length - 1 ? qt.rowGap.value("medium-regular") : qt.rowGap.value(m);
2058
- return g.current[L] + N;
2059
- }
2060
- return (xe * Oe.value(m) + be) * 3 + we + $e;
2061
- },
2062
- // eslint-disable-next-line react-hooks/exhaustive-deps
2063
- [m, g, t]
2064
- ), I = v(
2065
- (L, N) => {
2066
- g.current = { ...g.current, [L]: N }, f.current?.resetAfterIndex(0, !0);
2067
- },
2068
- // eslint-disable-next-line react-hooks/exhaustive-deps
2069
- [m, f, t]
2070
- ), D = v(() => {
2071
- p();
2072
- }, [p]), R = v(() => {
2073
- }, []), b = se(
2074
- (L) => h(L),
2075
- 1e3,
2076
- {
2077
- trailing: !0
2078
- }
2079
- ), k = (L) => !s || L < t.length, $ = v(() => s && !i ? D() : R(), [s, i, D, R]), H = s ? t.length + 1 : t.length;
2080
- return /* @__PURE__ */ e.jsx(Rs, { children: /* @__PURE__ */ e.jsx(_s, { windowSize: m, children: i && t.length === 0 ? /* @__PURE__ */ e.jsx(ls, {}) : i === !1 && t.length === 0 ? /* @__PURE__ */ e.jsx(
2081
- fe,
2082
- {
2083
- message: ks.noNotificationsMessage,
2084
- style: { padding: o.sp0 }
2085
- }
2086
- ) : /* @__PURE__ */ e.jsx(zs, { windowSize: m, children: /* @__PURE__ */ e.jsx(ne, { children: ({ height: L, width: N }) => /* @__PURE__ */ e.jsx(
2087
- ae,
2088
- {
2089
- isItemLoaded: k,
2090
- itemCount: ye,
2091
- loadMoreItems: $,
2092
- children: ({ onItemsRendered: B, ref: J }) => /* @__PURE__ */ e.jsx(
2093
- re,
2094
- {
2095
- ref: (U) => {
2096
- J(U), f.current = U;
2097
- },
2098
- height: L,
2099
- itemCount: H,
2100
- itemData: {
2101
- notificationGroups: t,
2102
- sectionId: n,
2103
- checkBoxMode: r,
2104
- isDisabled: c,
2105
- isItemLoaded: k,
2106
- setRowHeight: I,
2107
- onNotificationClick: u
2108
- },
2109
- onItemsRendered: B,
2110
- itemSize: S,
2111
- width: N,
2112
- style: { willChange: "auto" },
2113
- overscanCount: Se,
2114
- onScroll: ({ scrollOffset: U }) => {
2115
- b(U);
2116
- },
2117
- initialScrollOffset: l,
2118
- children: Is
2119
- }
2120
- )
2121
- }
2122
- ) }) }) }) });
2123
- }, Is = ({ index: t, style: i, data: s }) => {
2124
- const {
2125
- notificationGroups: n,
2126
- sectionId: r,
2127
- checkBoxMode: l,
2128
- isItemLoaded: d,
2129
- isDisabled: c,
2130
- setRowHeight: h,
2131
- onNotificationClick: p
2132
- } = s, u = W(null), m = C();
2133
- if (G(
2134
- () => {
2135
- u.current?.firstElementChild != null && h(t, u.current.firstElementChild.clientHeight);
2136
- },
2137
- // eslint-disable-next-line react-hooks/exhaustive-deps
2138
- [t, u, m, n[t]?.notifications]
2139
- ), d(t) === !0) {
2140
- const f = n[t], g = ut(f);
2141
- return /* @__PURE__ */ e.jsx(
2142
- Qt,
2143
- {
2144
- style: {
2145
- ...i,
2146
- paddingBottom: o.sp0,
2147
- width: "100%"
2148
- },
2149
- ref: u,
2150
- children: /* @__PURE__ */ e.jsx(
2151
- Ts,
2152
- {
2153
- notificationGroup: f,
2154
- sectionId: `${r}.${g}`,
2155
- checkBoxMode: l,
2156
- isDisabled: c,
2157
- onNotificationTileClick: p
2158
- }
2159
- )
2160
- },
2161
- g
2162
- );
2163
- }
2164
- return /* @__PURE__ */ e.jsx(
2165
- Qt,
2166
- {
2167
- ref: u,
2168
- style: {
2169
- ...i,
2170
- paddingBottom: o.sp0
2171
- },
2172
- children: /* @__PURE__ */ e.jsx(Lt, { numberOfRows: 3 })
2173
- },
2174
- ft()
2175
- );
2176
- }, Rs = a.div`
2177
- display: block;
2178
- background-color: ${(t) => t.theme.colors.grey4};
2179
- height: 100%;
2180
- width: 100%;
2181
- `, _s = a.div`
2182
- height: 100%;
2183
- width: 100%;
2184
- `, zs = a.div`
2185
- height: 100%;
2186
- display: flex;
2187
- flex-direction: column;
2188
- max-width: 99.9%;
2189
- `, Qt = a.div`
2190
- top: ${o.sp0};
2191
- left: ${o.sp0};
2192
- box-sizing: border-box;
2193
- `, {
2194
- common: {
2195
- all: It,
2196
- texts: dt,
2197
- footer: Ds,
2198
- strings: { plus: As },
2199
- numbers: { maximumCount: Xt }
2200
- },
2201
- commentsAndNotifications: {
2202
- notifications: {
2203
- title: Os,
2204
- texts: We,
2205
- strings: Zt
2206
- }
2207
- }
2208
- } = F.getLocalizedStrings(), nt = {
2209
- tableContainerLeftPadding: new _(x[2], x[2], x[2]),
2210
- tableContainerRightPadding: new _(x[3], x[6], x[8]),
2211
- tabsContainerLeftRightPadding: new _(x[3], x[6], x[8]),
2212
- selectedNotificationsTextMarginLeft: new _(x[0], x[6], x[6])
2213
- }, Es = {
2214
- selectedNotificationsText: new bo(
2215
- "smallRegular",
2216
- "standardRegular"
2217
- )
2218
- }, te = "notificationsPage", Z = "commentsNotificationsTable", tt = "notificationsTable", He = 20, mn = ({
2219
- notificationView: t,
2220
- users: i,
2221
- isNotificationSettingsVisible: s,
2222
- isDisabled: n,
2223
- onNotificationClick: r,
2224
- onCommentNotificationClick: l,
2225
- onUpdateNotificationViewUIState: d,
2226
- onUpdateNotificationTabState: c,
2227
- onUpdateNotificationViewCurrentTabAndSubTab: h,
2228
- onUpdateNotificationViewSubTab: p,
2229
- onFetchMoreNotifications: u,
2230
- onUpdateNotificationStatus: m,
2231
- onSettingsClick: f,
2232
- onBackClick: g,
2233
- onMarkAllNotificationsAsRead: S
2234
- }) => {
2235
- const I = ot(), D = C(), R = Ze({
2236
- mode: "all",
2237
- reValidateMode: "onChange",
2238
- defaultValues: Q(
2239
- () => ie(t),
2240
- [t]
2241
- ),
2242
- values: Q(
2243
- () => ie(t),
2244
- [t]
2245
- )
2246
- }), {
2247
- currentTab: b,
2248
- currentSubTab: k,
2249
- notificationDetailsByTab: $,
2250
- allSubTabs: H,
2251
- allNotifications: L,
2252
- allExternalNotifications: N,
2253
- notificationsForCurrentTabAndSubTab: B,
2254
- externalNotificationsForCurrentTabAndSubTab: J
2255
- } = t, U = Q(() => Object.keys($).map(
2256
- (w) => ({
2257
- label: dt[w],
2258
- id: dt[w].toLocaleLowerCase(),
2259
- countDetails: {
2260
- count: $[w].uiState.unreadCount,
2261
- isFetching: $[w].fetchCountState.fetchState === "In-Progress"
2262
- }
2263
- })
2264
- ), [$]), K = Q(() => H.map((w) => ({
2265
- label: w === "all" ? It : dt[w],
2266
- id: w
2267
- })), [H]), Ve = Q(() => Ne(
2268
- J
2269
- ).filter((w) => w.notifications.length > 0), [J]), Ye = Q(() => Ae(B).filter(
2270
- (w) => w.notifications.length > 0
2271
- ), [B]), Je = async (w, T) => {
2272
- const P = w.split(".")[0], q = [];
2273
- P != null && (P === Z || P === tt) && (Object.values(T[P]).forEach((A) => {
2274
- q.push(
2275
- ...A.filter(
2276
- (Xe) => Xe.includes(It.toLowerCase()) === !1
2277
- )
2278
- );
2279
- }), c(
2280
- { selectedNotificationIds: q },
2281
- b
2282
- ));
2283
- };
2284
- G(() => {
2285
- const w = R.watch((T, { name: P }) => {
2286
- P != null && T != null && to(
2287
- () => Je(P, T)
2288
- );
2289
- });
2290
- return () => {
2291
- w.unsubscribe();
2292
- };
2293
- });
2294
- const $t = v(() => {
2295
- const w = [], T = $[b].selectedNotificationIdsForSubTab, P = "read";
2296
- if (b === "comments") {
2297
- const q = N.filter(
2298
- (A) => A.inboxNotification.readAt == null
2299
- ).map(
2300
- (A) => A.inboxNotification.id
2301
- );
2302
- T.forEach((A) => {
2303
- q.includes(A) && w.push(A);
2304
- });
2305
- } else {
2306
- const q = L.filter((A) => A.status !== P).map((A) => A.notificationId);
2307
- T.forEach((A) => {
2308
- q.includes(A) && w.push(A);
2309
- });
2310
- }
2311
- return w;
2312
- }, [
2313
- N,
2314
- L,
2315
- b,
2316
- $
2317
- ]), Ke = $t().length > He ? "disabled" : n, yt = R.watch(
2318
- Z
2319
- ), St = R.watch(tt), zt = v(() => {
2320
- u(b, k);
2321
- }, [u, b, k]), qe = v(() => {
2322
- if (b === "comments") {
2323
- const w = {};
2324
- Object.keys(yt).forEach((T) => {
2325
- w[T] = [];
2326
- }), R.reset(
2327
- {
2328
- [Z]: w,
2329
- [tt]: St
2330
- },
2331
- { keepDefaultValues: !1, keepDirty: !1, keepValues: !1 }
2332
- );
2333
- } else {
2334
- const w = {};
2335
- Object.keys(St).forEach((T) => {
2336
- w[T] = [];
2337
- }), R.reset(
2338
- {
2339
- [tt]: w,
2340
- [Z]: yt
2341
- },
2342
- { keepDefaultValues: !1, keepDirty: !1, keepValues: !1 }
2343
- );
2344
- }
2345
- c({ selectedNotificationIds: [] }, b);
2346
- }, [St, yt]), Qe = v(() => {
2347
- const w = $[b].selectedNotificationIdsForSubTab, T = "read", P = $t();
2348
- m(
2349
- b,
2350
- w,
2351
- T,
2352
- P
2353
- );
2354
- }, [
2355
- b,
2356
- $,
2357
- $t,
2358
- m
2359
- ]);
2360
- return /* @__PURE__ */ e.jsxs(Fs, { children: [
2361
- /* @__PURE__ */ e.jsx(
2362
- mo,
2363
- {
2364
- source: "NotificationsPage",
2365
- title: Os.notifications,
2366
- backgroundColor: I.colors.grey4,
2367
- onBackClick: g,
2368
- rightSideComponent: s === !0 ? /* @__PURE__ */ e.jsx(tn, { onClick: f }) : /* @__PURE__ */ e.jsx(Zs, {})
2369
- }
2370
- ),
2371
- /* @__PURE__ */ e.jsx(Gs, {}),
2372
- /* @__PURE__ */ e.jsx(Bs, { windowSize: D, children: /* @__PURE__ */ e.jsx(
2373
- So,
2374
- {
2375
- tabs: U,
2376
- selectedTab: b,
2377
- onTabChange: (w) => {
2378
- const T = so(w);
2379
- T != null && h(T);
2380
- },
2381
- subTabs: K,
2382
- selectedSubTab: k,
2383
- onSubTabChange: (w) => {
2384
- const T = io(w);
2385
- T != null && p(T);
2386
- },
2387
- subTabRightComponent: /* @__PURE__ */ e.jsx(
2388
- Ms,
2389
- {
2390
- notificationCount: $[b].uiState.unreadCount,
2391
- markAsAllReadUpdateState: $[b].markAsAllReadState.fetchState,
2392
- markAsReadUpdateState: $[b].markAsReadState.fetchState,
2393
- onMarkAsAllReadClick: () => {
2394
- S(b);
2395
- }
2396
- }
2397
- )
2398
- }
2399
- ) }),
2400
- /* @__PURE__ */ e.jsx(Ps, { windowSize: D, children: /* @__PURE__ */ e.jsx(eo, { ...R, children: /* @__PURE__ */ e.jsx(
2401
- "form",
2402
- {
2403
- id: oe(te),
2404
- onSubmit: R.handleSubmit(Qe),
2405
- style: { width: "100%" },
2406
- children: b === "comments" ? /* @__PURE__ */ e.jsx(
2407
- Ci,
2408
- {
2409
- users: i,
2410
- hasMore: $[b].uiState.hasMore,
2411
- isFetching: $[b].fetchState === "In-Progress",
2412
- scrollYOffset: $[b].uiState.scrollYOffset[k],
2413
- currentSubTab: k,
2414
- checkBoxMode: $[b].selectedNotificationIdsForSubTab.length > 0 ? "always_on" : "checked_or_hover",
2415
- notificationGroups: Ve,
2416
- sectionId: Z,
2417
- onFetchNotificationGroups: zt,
2418
- onUpdateScrollYOffset: (w) => d(
2419
- {
2420
- scrollYOffset: {
2421
- ...$[b].uiState.scrollYOffset,
2422
- [k]: w
2423
- }
2424
- },
2425
- b
2426
- ),
2427
- onNotificationClick: l
2428
- }
2429
- ) : /* @__PURE__ */ e.jsx(
2430
- Ls,
2431
- {
2432
- hasMore: $[b].uiState.hasMore,
2433
- isFetching: $[b].fetchState === "In-Progress",
2434
- scrollYOffset: $[b].uiState.scrollYOffset[k],
2435
- currentSubTab: k,
2436
- checkBoxMode: $[b].selectedNotificationIdsForSubTab.length > 0 ? "always_on" : "checked_or_hover",
2437
- notificationGroups: Ye,
2438
- sectionId: tt,
2439
- onFetchNotificationGroups: zt,
2440
- onUpdateScrollYOffset: (w) => d(
2441
- {
2442
- scrollYOffset: {
2443
- ...$[b].uiState.scrollYOffset,
2444
- [k]: w
2445
- }
2446
- },
2447
- b
2448
- ),
2449
- onNotificationClick: r
2450
- }
2451
- )
2452
- }
2453
- ) }) }),
2454
- $[b].selectedNotificationIdsForSubTab.length ? /* @__PURE__ */ e.jsx(
2455
- ho,
2456
- {
2457
- formId: oe(te),
2458
- primaryBtn: {
2459
- label: We.markAsRead,
2460
- isLoading: $[b].markAsReadState.fetchState === "In-Progress",
2461
- style: { width: "135px" },
2462
- isDisabled: Ke != null
2463
- },
2464
- cancelBtn: {
2465
- label: Ds.cancel,
2466
- isDisabled: $[b].markAsReadState.fetchState === "In-Progress",
2467
- style: { width: "135px" },
2468
- onClick: qe
2469
- },
2470
- helperContainerStyle: D === "small" ? { width: "100%" } : { rowGap: o.sp0 },
2471
- footerContentStyle: { gap: o.sp2 },
2472
- leftSideComponent: /* @__PURE__ */ e.jsx(Ct, { controller: D !== "small", children: /* @__PURE__ */ e.jsx(
2473
- ee,
2474
- {
2475
- selectedNotificationsCount: $[b].selectedNotificationIdsForSubTab.length
2476
- }
2477
- ) }),
2478
- topComponent: /* @__PURE__ */ e.jsx(Ct, { controller: D === "small", children: /* @__PURE__ */ e.jsx(
2479
- ee,
2480
- {
2481
- selectedNotificationsCount: $[b].selectedNotificationIdsForSubTab.length
2482
- }
2483
- ) }),
2484
- rightSideComponent: /* @__PURE__ */ e.jsx(Ct, { controller: D !== "small", children: /* @__PURE__ */ e.jsx(Hs, {}) })
2485
- }
2486
- ) : null
2487
- ] });
2488
- }, Ms = ({
2489
- markAsAllReadUpdateState: t,
2490
- markAsReadUpdateState: i,
2491
- notificationCount: s,
2492
- onMarkAsAllReadClick: n
2493
- }) => {
2494
- const r = s === 0, l = v(() => {
2495
- t !== "In-Progress" && i !== "In-Progress" && !r && n();
2496
- }, [
2497
- t,
2498
- i,
2499
- r,
2500
- n
2501
- ]);
2502
- return /* @__PURE__ */ e.jsx(
2503
- Us,
2504
- {
2505
- variant: "tertiary",
2506
- size: "small",
2507
- label: We.markAllAsRead,
2508
- onClick: l,
2509
- prefixIcon: t === "In-Progress" ? /* @__PURE__ */ e.jsx(po, { size: "Small", start: !0 }) : /* @__PURE__ */ e.jsx(Ws, { className: "mark-as-read" }),
2510
- disabled: r,
2511
- textStyle: { fontWeight: Rt.smallRegular.fontWeight },
2512
- style: {
2513
- borderRadius: o.sp1,
2514
- border: "none",
2515
- backgroundColor: "transparent",
2516
- flexShrink: 0,
2517
- padding: o.sp0,
2518
- cursor: i === "In-Progress" || t === "In-Progress" || r ? "default" : "pointer"
2519
- }
2520
- }
2521
- );
2522
- }, ee = ({
2523
- selectedNotificationsCount: t
2524
- }) => {
2525
- const i = C();
2526
- return /* @__PURE__ */ e.jsxs(Vs, { windowSize: i, children: [
2527
- /* @__PURE__ */ e.jsx(Js, { children: /* @__PURE__ */ e.jsx(Ys, { isCircular: t < 10, children: /* @__PURE__ */ e.jsx(Ks, { children: t > Xt ? `${Xt}${As}` : t }) }) }),
2528
- /* @__PURE__ */ e.jsxs(Xs, { windowSize: i, children: [
2529
- /* @__PURE__ */ e.jsx(qs, { children: t > 1 ? Zt.notificationsSelected : Zt.notificationSelected }),
2530
- t > He ? /* @__PURE__ */ e.jsx(Qs, { children: dt.maxLimit }) : null
2531
- ] })
2532
- ] });
2533
- }, Fs = a.div`
2534
- display: flex;
2535
- height: 100vh;
2536
- width: 100%;
2537
- flex-direction: column;
2538
- background-color: ${(t) => t.theme.colors.grey4};
2539
- `, Ps = a.div`
2540
- display: flex;
2541
- height: 100%;
2542
- overflow: auto;
2543
- padding-top: ${o.sp0};
2544
- padding-bottom: ${o.sp0};
2545
- padding-left: ${(t) => nt.tableContainerLeftPadding.valuePx(t.windowSize)};
2546
- padding-right: ${(t) => nt.tableContainerRightPadding.valuePx(t.windowSize)};
2547
- `, Bs = a.div`
2548
- padding-top: ${o.sp0};
2549
- padding-bottom: ${o.sp0};
2550
- padding-left: ${(t) => nt.tabsContainerLeftRightPadding.valuePx(t.windowSize)};
2551
- padding-right: ${(t) => nt.tabsContainerLeftRightPadding.valuePx(t.windowSize)};
2552
- `, Gs = a.div`
2553
- min-height: ${o.sp3};
2554
- width: 100%;
2555
- `, Us = a(go)`
2556
- .mark-as-read {
2557
- color: ${(t) => t.disabled === !0 ? t.theme.colors.grey2 : t.theme.colors.hero};
2558
- }
2559
- :hover {
2560
- .mark-as-read {
2561
- color: ${(t) => t.disabled === !0 ? t.theme.colors.grey2 : t.theme.colors.primary};
2562
- }
2563
- }
2564
- `, Ws = a($o)`
2565
- width: ${o.sp3};
2566
- height: ${o.sp3};
2567
- `, Hs = a.div``, Vs = a.div`
2568
- display: flex;
2569
- align-items: center;
2570
- flex-direction: row;
2571
- gap: ${o.sp2};
2572
- margin-left: ${(t) => nt.selectedNotificationsTextMarginLeft.valuePx(t.windowSize)};
2573
- `, Ys = a.div`
2574
- ${(t) => t.isCircular ? M`
2575
- height: ${o.sp3};
2576
- width: ${o.sp3};
2577
- padding: ${o.sp0};
2578
- ` : M`
2579
- height: 18px;
2580
- min-width: ${o.sp3};
2581
- padding: ${o.sp0} ${o.sp1};
2582
- `}
2583
- background-color: transparent;
2584
- border-radius: inherit;
2585
- `, Js = a.div`
2586
- border: 1px solid ${(t) => t.theme.colors.grey1};
2587
- border-radius: ${o.sp12};
2588
- padding: 2px;
2589
- `, Ks = a(xo)`
2590
- height: 100%;
2591
- width: 100%;
2592
- display: flex;
2593
- align-items: center;
2594
- justify-content: center;
2595
- color: ${(t) => t.theme.colors.hero};
2596
- `, qs = a(pe)`
2597
- display: flex;
2598
- `, Qs = a(wo)`
2599
- display: flex;
2600
- color: ${j.important};
2601
- margin-left: ${o.sp1};
2602
- `, Xs = a(pe)`
2603
- ${(t) => `${Es.selectedNotificationsText.style(t.windowSize)}`};
2604
- color: ${(t) => t.theme.colors.primary};
2605
- display: flex;
2606
- align-items: center;
2607
- flex-wrap: wrap;
2608
- `, Zs = a.div`
2609
- width: ${o.sp4};
2610
- height: ${o.sp4};
2611
- `, tn = a(fo)`
2612
- color: ${(t) => t.theme.colors.hero};
2613
- width: ${o.sp4};
2614
- height: ${o.sp4};
2615
- cursor: pointer;
2616
- &:hover {
2617
- color: ${(t) => t.theme.colors.primary};
2618
- }
2619
- `, oe = (t) => `${t}_form`, ie = (t) => {
2620
- const {
2621
- allNotifications: i,
2622
- allExternalNotifications: s,
2623
- notificationDetailsByTab: {
2624
- tasks: { selectedNotificationIds: n },
2625
- comments: { selectedNotificationIds: r }
2626
- }
2627
- } = t, l = {};
2628
- Ae(i).filter(
2629
- (u) => u.notifications.length > 0
2630
- ).forEach((u) => {
2631
- const m = u.notifications.map(
2632
- (f) => f.notificationId
2633
- );
2634
- l[ut(u)] = n.filter(
2635
- (f) => m.includes(f)
2636
- );
2637
- });
2638
- const c = {};
2639
- return Ne(
2640
- s
2641
- ).filter((u) => u.notifications.length > 0).forEach((u) => {
2642
- const m = u.notifications.map(
2643
- (f) => f.inboxNotification.id
2644
- );
2645
- c[ut(u)] = r.filter(
2646
- (f) => m.includes(f)
2647
- );
2648
- }), {
2649
- [Z]: c,
2650
- [tt]: l
2651
- };
2652
- }, hn = (t, i) => {
2653
- const s = [];
2654
- return Object.values(t).forEach((n) => {
2655
- n.forEach((r) => {
2656
- r.includes(It.toLocaleLowerCase()) === !1 && i.includes(r) && s.push(r);
2657
- });
2658
- }), s;
2659
- };
2660
- export {
2661
- mn as default,
2662
- hn as getSelectedNotificationIds,
2663
- oe as uniqueFormName
2664
- };