@selfcommunity/react-ui 0.11.0-alpha.99 → 0.11.0-mui7.13

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 (616) hide show
  1. package/lib/cjs/assets/composer/avi.d.ts +2 -0
  2. package/lib/cjs/assets/composer/avi.js +3 -0
  3. package/lib/cjs/assets/composer/doc.d.ts +2 -0
  4. package/lib/cjs/assets/composer/doc.js +3 -0
  5. package/lib/cjs/assets/composer/fallback.d.ts +2 -0
  6. package/lib/cjs/assets/composer/fallback.js +3 -0
  7. package/lib/cjs/assets/composer/jpg.d.ts +2 -0
  8. package/lib/cjs/assets/composer/jpg.js +3 -0
  9. package/lib/cjs/assets/composer/mp3.d.ts +2 -0
  10. package/lib/cjs/assets/composer/mp3.js +3 -0
  11. package/lib/cjs/assets/composer/pdf.d.ts +2 -0
  12. package/lib/cjs/assets/composer/pdf.js +3 -0
  13. package/lib/cjs/assets/composer/ppt.d.ts +2 -0
  14. package/lib/cjs/assets/composer/ppt.js +3 -0
  15. package/lib/cjs/assets/composer/psd.d.ts +2 -0
  16. package/lib/cjs/assets/composer/psd.js +3 -0
  17. package/lib/cjs/assets/composer/txt.d.ts +2 -0
  18. package/lib/cjs/assets/composer/txt.js +3 -0
  19. package/lib/cjs/assets/composer/xls.d.ts +2 -0
  20. package/lib/cjs/assets/composer/xls.js +3 -0
  21. package/lib/cjs/assets/courses/clapping.d.ts +2 -1
  22. package/lib/cjs/assets/courses/clapping.js +1 -2
  23. package/lib/cjs/components/BottomNavigation/BottomNavigation.d.ts +1 -1
  24. package/lib/cjs/components/BuyButton/BuyButton.js +7 -3
  25. package/lib/cjs/components/Categories/Categories.js +1 -1
  26. package/lib/cjs/components/Categories/Skeleton.js +1 -1
  27. package/lib/cjs/components/Category/Category.js +2 -4
  28. package/lib/cjs/components/CategoryAutocomplete/CategoryAutocomplete.d.ts +1 -1
  29. package/lib/cjs/components/CategoryAutocomplete/CategoryAutocomplete.js +4 -4
  30. package/lib/cjs/components/Checkout/Checkout.d.ts +1 -1
  31. package/lib/cjs/components/Checkout/CheckoutHeaderInfoWidget.d.ts +1 -1
  32. package/lib/cjs/components/Checkout/Skeleton.js +1 -3
  33. package/lib/cjs/components/CheckoutReturnDialog/CheckoutReturnDialog.d.ts +1 -1
  34. package/lib/cjs/components/CheckoutReturnDialog/CheckoutReturnDialog.js +3 -3
  35. package/lib/cjs/components/CommentObjectReply/CommentObjectReply.js +1 -1
  36. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +1 -1
  37. package/lib/cjs/components/CommunityPaywalls/CommunityPaywalls.d.ts +1 -1
  38. package/lib/cjs/components/CommunityPaywalls/CommunityPaywalls.js +3 -4
  39. package/lib/cjs/components/CommunityPaywalls/Skeleton.d.ts +3 -3
  40. package/lib/cjs/components/CommunityPaywalls/Skeleton.js +2 -3
  41. package/lib/cjs/components/Composer/Attributes/Attributes.js +1 -1
  42. package/lib/cjs/components/Composer/Composer.js +18 -14
  43. package/lib/cjs/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +5 -3
  44. package/lib/cjs/components/Composer/Content/ContentLesson/ContentLesson.js +2 -2
  45. package/lib/cjs/components/Composer/Content/ContentPoll/ContentPoll.js +12 -8
  46. package/lib/cjs/components/Composer/Content/ContentPost/ContentPost.js +2 -2
  47. package/lib/cjs/components/Composer/Layer/AudienceLayer/AudienceLayer.d.ts +1 -1
  48. package/lib/cjs/components/Composer/Layer/AudienceLayer/AudienceLayer.js +33 -29
  49. package/lib/cjs/components/Composer/Layer/CategoryLayer/CategoryLayer.d.ts +1 -1
  50. package/lib/cjs/components/Composer/Layer/CloseLayer/CloseLayer.d.ts +1 -1
  51. package/lib/cjs/components/Composer/Layer/LocationLayer/LocationLayer.d.ts +1 -1
  52. package/lib/cjs/components/Composer/Layer/ScheduledLayer/ScheduledLayer.d.ts +1 -1
  53. package/lib/cjs/components/ComposerIconButton/ComposerIconButton.d.ts +1 -1
  54. package/lib/cjs/components/ConsentSolution/ConsentSolution.js +3 -2
  55. package/lib/cjs/components/CourseCompletedDialog/CourseCompletedDialog.d.ts +1 -1
  56. package/lib/cjs/components/CourseCompletedDialog/CourseCompletedDialog.js +2 -2
  57. package/lib/cjs/components/CourseDashboard/Header/Skeleton.d.ts +1 -1
  58. package/lib/cjs/components/CourseDashboard/Header.d.ts +1 -1
  59. package/lib/cjs/components/CourseDashboard/Student/ActionButton.d.ts +1 -1
  60. package/lib/cjs/components/CourseDashboard/Student/Skeleton.d.ts +1 -1
  61. package/lib/cjs/components/CourseDashboard/Student.d.ts +1 -1
  62. package/lib/cjs/components/CourseDashboard/Student.js +3 -3
  63. package/lib/cjs/components/CourseDashboard/Teacher/Comments.d.ts +1 -1
  64. package/lib/cjs/components/CourseDashboard/Teacher/Info.d.ts +1 -1
  65. package/lib/cjs/components/CourseDashboard/Teacher/Skeleton.d.ts +1 -1
  66. package/lib/cjs/components/CourseDashboard/Teacher/Students.d.ts +1 -1
  67. package/lib/cjs/components/CourseDashboard/Teacher.d.ts +1 -1
  68. package/lib/cjs/components/CourseDashboard/Teacher.js +1 -1
  69. package/lib/cjs/components/CourseDashboard/index.d.ts +2 -2
  70. package/lib/cjs/components/CourseForm/CourseForm.js +8 -4
  71. package/lib/cjs/components/CourseForm/Dialog.d.ts +1 -1
  72. package/lib/cjs/components/CourseForm/Skeleton.d.ts +1 -1
  73. package/lib/cjs/components/CourseParticipantsButton/CourseParticipantsButton.d.ts +1 -1
  74. package/lib/cjs/components/Courses/Courses.d.ts +0 -4
  75. package/lib/cjs/components/Courses/Courses.js +9 -10
  76. package/lib/cjs/components/Courses/Skeleton.js +1 -1
  77. package/lib/cjs/components/CreateEventWidget/CreateEventWidget.d.ts +1 -1
  78. package/lib/cjs/components/CreateEventWidget/Skeleton.d.ts +1 -1
  79. package/lib/cjs/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +7 -1
  80. package/lib/cjs/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +4 -7
  81. package/lib/cjs/components/CreatePaymentProductForm/CreatePaymentProductForm.d.ts +1 -1
  82. package/lib/cjs/components/CreatePaymentProductForm/CreatePaymentProductForm.js +5 -3
  83. package/lib/cjs/components/EditCourse/Customize.d.ts +1 -1
  84. package/lib/cjs/components/EditCourse/EditCourse.d.ts +1 -1
  85. package/lib/cjs/components/EditCourse/EditCourse.js +1 -1
  86. package/lib/cjs/components/EditCourse/Lessons/AddButton.d.ts +1 -1
  87. package/lib/cjs/components/EditCourse/Lessons/ChangeLessonStatus.d.ts +1 -1
  88. package/lib/cjs/components/EditCourse/Lessons/FieldName.d.ts +1 -1
  89. package/lib/cjs/components/EditCourse/Lessons/Skeleton.d.ts +1 -1
  90. package/lib/cjs/components/EditCourse/Lessons.d.ts +1 -1
  91. package/lib/cjs/components/EditCourse/MenuRow.d.ts +1 -1
  92. package/lib/cjs/components/EditCourse/Options/Skeleton.d.ts +1 -1
  93. package/lib/cjs/components/EditCourse/Options/SwitchForm.d.ts +1 -1
  94. package/lib/cjs/components/EditCourse/Options.d.ts +1 -1
  95. package/lib/cjs/components/EditCourse/Requests.d.ts +1 -1
  96. package/lib/cjs/components/EditCourse/Skeleton.d.ts +1 -1
  97. package/lib/cjs/components/EditCourse/Status.d.ts +1 -1
  98. package/lib/cjs/components/EditCourse/Users/Skeleton.d.ts +1 -1
  99. package/lib/cjs/components/EditCourse/Users.d.ts +1 -1
  100. package/lib/cjs/components/Editor/Editor.d.ts +1 -1
  101. package/lib/cjs/components/Editor/Editor.js +3 -3
  102. package/lib/cjs/components/Editor/nodes/HashtagNode.d.ts +1 -1
  103. package/lib/cjs/components/Editor/nodes/HashtagNode.js +4 -4
  104. package/lib/cjs/components/Editor/nodes/ImageNode.d.ts +1 -1
  105. package/lib/cjs/components/Editor/nodes/ImageNode.js +6 -6
  106. package/lib/cjs/components/Editor/nodes/MentionNode.d.ts +1 -1
  107. package/lib/cjs/components/Editor/nodes/MentionNode.js +4 -4
  108. package/lib/cjs/components/Editor/plugins/ApiPlugin.d.ts +2 -2
  109. package/lib/cjs/components/Editor/plugins/EmojiPlugin.js +4 -2
  110. package/lib/cjs/components/Editor/plugins/FloatingLinkPlugin.js +6 -4
  111. package/lib/cjs/components/Editor/plugins/MediaPlugin.d.ts +1 -1
  112. package/lib/cjs/components/Editor/plugins/MediaPlugin.js +9 -4
  113. package/lib/cjs/components/Editor/plugins/MentionsPlugin.d.ts +2 -2
  114. package/lib/cjs/components/Editor/shared/useDecorators.d.ts +2 -2
  115. package/lib/cjs/components/EventAutocomplete/EventAutocomplete.js +5 -3
  116. package/lib/cjs/components/EventForm/EventAddress.js +6 -2
  117. package/lib/cjs/components/EventForm/EventForm.js +20 -12
  118. package/lib/cjs/components/EventForm/types.d.ts +5 -5
  119. package/lib/cjs/components/EventInfoWidget/EventInfoWidget.d.ts +1 -1
  120. package/lib/cjs/components/EventInfoWidget/Skeleton.d.ts +1 -1
  121. package/lib/cjs/components/EventInfoWidget/index.d.ts +1 -1
  122. package/lib/cjs/components/EventInviteButton/EventInviteButton.js +3 -1
  123. package/lib/cjs/components/EventMediaWidget/EventMediaWidget.d.ts +1 -1
  124. package/lib/cjs/components/EventMediaWidget/Skeleton.d.ts +2 -2
  125. package/lib/cjs/components/EventMediaWidget/TriggerButton.d.ts +1 -1
  126. package/lib/cjs/components/EventMediaWidget/asUploadButton.d.ts +2 -2
  127. package/lib/cjs/components/EventMediaWidget/index.d.ts +2 -1
  128. package/lib/cjs/components/EventMembersWidget/EventMembersWidget.d.ts +1 -1
  129. package/lib/cjs/components/EventMembersWidget/EventMembersWidget.js +3 -3
  130. package/lib/cjs/components/EventMembersWidget/Skeleton.d.ts +1 -1
  131. package/lib/cjs/components/EventMembersWidget/Skeleton.js +1 -1
  132. package/lib/cjs/components/EventMembersWidget/TabContentComponent.d.ts +1 -1
  133. package/lib/cjs/components/EventMembersWidget/index.d.ts +1 -1
  134. package/lib/cjs/components/EventParticipantsButton/EventParticipantsButton.d.ts +1 -1
  135. package/lib/cjs/components/EventSubscribeButton/EventSubscribeButton.js +10 -2
  136. package/lib/cjs/components/Events/Events.d.ts +0 -4
  137. package/lib/cjs/components/Events/Events.js +14 -9
  138. package/lib/cjs/components/Events/LocationEventsFilter.js +5 -1
  139. package/lib/cjs/components/Events/OngoingEventsFilter.js +6 -2
  140. package/lib/cjs/components/Events/PastEventsFilter.js +6 -2
  141. package/lib/cjs/components/Events/Skeleton.js +1 -1
  142. package/lib/cjs/components/Feed/Feed.d.ts +2 -2
  143. package/lib/cjs/components/Feed/Feed.js +10 -11
  144. package/lib/cjs/components/Feed/Skeleton.d.ts +1 -1
  145. package/lib/cjs/components/Feed/Skeleton.js +1 -1
  146. package/lib/cjs/components/FeedObject/Actions/Actions.js +2 -3
  147. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
  148. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +19 -17
  149. package/lib/cjs/components/FeedObject/FeedObject.js +1 -1
  150. package/lib/cjs/components/FooterWidget/FooterWidget.d.ts +1 -1
  151. package/lib/cjs/components/GroupActionsMenu/index.js +9 -1
  152. package/lib/cjs/components/GroupAutocomplete/GroupAutocomplete.js +5 -3
  153. package/lib/cjs/components/GroupForm/GroupForm.js +8 -18
  154. package/lib/cjs/components/GroupInviteButton/GroupInviteButton.js +8 -6
  155. package/lib/cjs/components/GroupSettingsIconButton/GroupSettingsIconButton.js +9 -3
  156. package/lib/cjs/components/Groups/Groups.js +9 -9
  157. package/lib/cjs/components/Groups/Skeleton.js +1 -2
  158. package/lib/cjs/components/Incubator/Incubator.js +2 -2
  159. package/lib/cjs/components/Incubator/Skeleton.js +1 -1
  160. package/lib/cjs/components/LessonReleaseMenu/LessonReleaseMenu.js +12 -6
  161. package/lib/cjs/components/LiveStreamForm/LiveStreamForm.js +13 -9
  162. package/lib/cjs/components/LiveStreamForm/types.d.ts +3 -3
  163. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/ControlBar.d.ts +2 -2
  164. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/DisconnectButton.js +5 -1
  165. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/FocusLayout.d.ts +4 -4
  166. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamSettingsMenu.js +7 -3
  167. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantPlaceholder.d.ts +1 -1
  168. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTile.d.ts +2 -2
  169. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/PreJoin.d.ts +1 -1
  170. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/RecordingIndicator.d.ts +1 -1
  171. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/SettingsMenuToggle.d.ts +1 -1
  172. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/TrackToggle.d.ts +1 -1
  173. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/VideoConference.d.ts +1 -1
  174. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/utils.d.ts +2 -2
  175. package/lib/cjs/components/LiveStreamRoom/types.d.ts +1 -1
  176. package/lib/cjs/components/LocationAutocomplete/LocationAutocomplete.js +8 -8
  177. package/lib/cjs/components/MyEventsWidget/MyEventsWidget.d.ts +1 -1
  178. package/lib/cjs/components/MyEventsWidget/Skeleton.d.ts +1 -1
  179. package/lib/cjs/components/MyEventsWidget/index.d.ts +1 -1
  180. package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerContent.d.ts +1 -1
  181. package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerSkeleton.d.ts +1 -1
  182. package/lib/cjs/components/NavigationMenuIconButton/DefaultHeaderContent.d.ts +2 -2
  183. package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -1
  184. package/lib/cjs/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +9 -1
  185. package/lib/cjs/components/NavigationToolbar/NavigationToolbar.d.ts +1 -1
  186. package/lib/cjs/components/NavigationToolbar/NotificationMenu.d.ts +1 -1
  187. package/lib/cjs/components/NavigationToolbar/NotificationMenu.js +2 -5
  188. package/lib/cjs/components/NavigationToolbarMobile/NavigationToolbarMobile.d.ts +1 -1
  189. package/lib/cjs/components/OnBoardingWidget/ActionsButton.js +12 -4
  190. package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.d.ts +1 -1
  191. package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.js +11 -22
  192. package/lib/cjs/components/OnBoardingWidget/Steps/App/App.d.ts +1 -1
  193. package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.d.ts +1 -1
  194. package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.js +15 -11
  195. package/lib/cjs/components/OnBoardingWidget/Steps/Category/Category.d.ts +1 -1
  196. package/lib/cjs/components/OnBoardingWidget/Steps/Content/Content.d.ts +1 -1
  197. package/lib/cjs/components/OnBoardingWidget/Steps/Invite/Invite.d.ts +1 -1
  198. package/lib/cjs/components/OnBoardingWidget/Steps/Profile/Profile.d.ts +1 -1
  199. package/lib/cjs/components/PaymentDetailDialog/PaymentDetailDialog.d.ts +1 -1
  200. package/lib/cjs/components/PaymentDetailDialog/PaymentDetailDialog.js +5 -3
  201. package/lib/cjs/components/PaymentOrder/PaymentOrder.d.ts +1 -1
  202. package/lib/cjs/components/PaymentOrders/PaymentOrders.d.ts +1 -1
  203. package/lib/cjs/components/PaymentOrders/PaymentOrders.js +17 -11
  204. package/lib/cjs/components/PaymentProduct/PaymentProduct.d.ts +2 -2
  205. package/lib/cjs/components/PaymentProduct/PaymentProduct.js +1 -1
  206. package/lib/cjs/components/PaymentProduct/Skeleton.js +1 -1
  207. package/lib/cjs/components/PaymentProductPrice/PaymentProductPrice.d.ts +1 -1
  208. package/lib/cjs/components/PaymentProducts/PaymentProducts.d.ts +1 -1
  209. package/lib/cjs/components/PaymentProducts/Skeleton.js +1 -1
  210. package/lib/cjs/components/Paywalls/Paywalls.d.ts +1 -1
  211. package/lib/cjs/components/Paywalls/Skeleton.js +1 -1
  212. package/lib/cjs/components/PaywallsConfigurator/PaywallsConfigurator.d.ts +1 -1
  213. package/lib/cjs/components/PaywallsConfigurator/PaywallsConfigurator.js +5 -5
  214. package/lib/cjs/components/PaywallsConfigurator/Skeleton.js +1 -1
  215. package/lib/cjs/components/PaywallsDialog/PaywallsDialog.d.ts +1 -1
  216. package/lib/cjs/components/PaywallsDialog/PaywallsDialog.js +6 -4
  217. package/lib/cjs/components/PdfPreviewDialog/PdfPreviewDialog.d.ts +1 -1
  218. package/lib/cjs/components/PdfPreviewDialog/PdfPreviewDialog.js +3 -1
  219. package/lib/cjs/components/PlatformWidget/PlatformWidget.js +4 -4
  220. package/lib/cjs/components/PlatformWidget/Skeleton.js +1 -1
  221. package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +3 -3
  222. package/lib/cjs/components/PrivateMessageComponent/Skeleton.d.ts +1 -1
  223. package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +1 -1
  224. package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -4
  225. package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +9 -1
  226. package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +10 -8
  227. package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.d.ts +1 -1
  228. package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  229. package/lib/cjs/components/RelatedEventsWidget/RelatedEventsWidget.d.ts +1 -1
  230. package/lib/cjs/components/RelatedEventsWidget/Skeleton.d.ts +1 -1
  231. package/lib/cjs/components/RelatedEventsWidget/index.d.ts +1 -1
  232. package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.d.ts +1 -1
  233. package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.js +9 -7
  234. package/lib/cjs/components/SearchDialog/SearchDialog.d.ts +1 -1
  235. package/lib/cjs/components/SuggestedEventsWidget/Arrow.d.ts +1 -1
  236. package/lib/cjs/components/SuggestedEventsWidget/Skeleton.d.ts +1 -1
  237. package/lib/cjs/components/SuggestedEventsWidget/SuggestedEventsWidget.d.ts +1 -1
  238. package/lib/cjs/components/SuggestedEventsWidget/index.d.ts +1 -1
  239. package/lib/cjs/components/TagAutocomplete/TagAutocomplete.js +62 -20
  240. package/lib/cjs/components/UserActionIconButton/UserActionIconButton.js +9 -8
  241. package/lib/cjs/components/UserAutocomplete/UserAutocomplete.js +33 -18
  242. package/lib/cjs/components/UserBillingInfo/Skeleton.js +1 -1
  243. package/lib/cjs/components/UserBillingInfo/UserBillingInfo.d.ts +2 -2
  244. package/lib/cjs/components/UserBillingInfo/UserBillingInfo.js +30 -21
  245. package/lib/cjs/components/UserInfoDialog/UserInfoDialog.d.ts +1 -1
  246. package/lib/cjs/components/UserLiveStreamWidget/Skeleton.d.ts +1 -1
  247. package/lib/cjs/components/UserLiveStreamWidget/UserLiveStreamWidget.d.ts +1 -1
  248. package/lib/cjs/components/UserLiveStreamWidget/index.d.ts +1 -1
  249. package/lib/cjs/components/UserPaymentMethods/Skeleton.d.ts +1 -1
  250. package/lib/cjs/components/UserPaymentMethods/UserPaymentMethods.d.ts +2 -2
  251. package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +9 -5
  252. package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
  253. package/lib/cjs/components/Widget/index.d.ts +1 -1
  254. package/lib/cjs/shared/AccordionLessons/AccordionLessons.d.ts +1 -1
  255. package/lib/cjs/shared/AccordionLessons/Skeleton.d.ts +1 -1
  256. package/lib/cjs/shared/AddUsersButton/AddUsersButton.d.ts +1 -1
  257. package/lib/cjs/shared/AddUsersButton/AddUsersButton.js +3 -1
  258. package/lib/cjs/shared/AutoPlayer/index.d.ts +1 -1
  259. package/lib/cjs/shared/BaseDialog/BaseDialog.d.ts +1 -1
  260. package/lib/cjs/shared/Calendar/index.d.ts +1 -1
  261. package/lib/cjs/shared/CopyTextArea/index.js +13 -6
  262. package/lib/cjs/shared/CourseTypePopover/CourseTypePopover.d.ts +1 -1
  263. package/lib/cjs/shared/CourseUsersTable/ChangeUsersStatus.d.ts +1 -1
  264. package/lib/cjs/shared/CourseUsersTable/CourseUsersTable.d.ts +2 -2
  265. package/lib/cjs/shared/CourseUsersTable/CourseUsersTable.js +5 -3
  266. package/lib/cjs/shared/CourseUsersTable/RowSkeleton.d.ts +1 -1
  267. package/lib/cjs/shared/CourseUsersTable/SeeProgressButton.d.ts +1 -1
  268. package/lib/cjs/shared/CourseUsersTable/Skeleton.d.ts +1 -1
  269. package/lib/cjs/shared/DateTimeAgo/index.js +2 -2
  270. package/lib/cjs/shared/EmptyStatus/EmptyStatus.d.ts +1 -1
  271. package/lib/cjs/shared/EventActionsMenu/index.js +9 -1
  272. package/lib/cjs/shared/EventInfoDetails/index.d.ts +1 -1
  273. package/lib/cjs/shared/InfiniteScroll/index.d.ts +2 -2
  274. package/lib/cjs/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.d.ts +1 -1
  275. package/lib/cjs/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.d.ts +1 -1
  276. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.d.ts +1 -1
  277. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.d.ts +1 -1
  278. package/lib/cjs/shared/InfiniteScroll/stories/ScrolleableTop.d.ts +1 -1
  279. package/lib/cjs/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.d.ts +1 -1
  280. package/lib/cjs/shared/Lightbox/BaseLightbox.d.ts +1 -1
  281. package/lib/cjs/shared/Lightbox/Lightbox.d.ts +1 -1
  282. package/lib/cjs/shared/LiveStreamInfoDetails/index.d.ts +1 -1
  283. package/lib/cjs/shared/Media/File/DisplayComponent.js +7 -30
  284. package/lib/cjs/shared/Media/File/DocComponent.d.ts +2 -3
  285. package/lib/cjs/shared/Media/File/DocComponent.js +45 -5
  286. package/lib/cjs/shared/Media/File/PreviewComponent.d.ts +1 -1
  287. package/lib/cjs/shared/Media/File/PreviewComponent.js +1 -1
  288. package/lib/cjs/shared/Media/File/TriggerButton.js +32 -8
  289. package/lib/cjs/shared/Media/File/asUploadButton.d.ts +1 -1
  290. package/lib/cjs/shared/Media/Link/LayerComponent.d.ts +1 -1
  291. package/lib/cjs/shared/Media/Link/PreviewComponent.d.ts +1 -1
  292. package/lib/cjs/shared/Media/Link/UrlTextField/index.d.ts +1 -1
  293. package/lib/cjs/shared/Media/Link/UrlTextField/index.js +3 -1
  294. package/lib/cjs/shared/MetadataField/MetadataField.d.ts +1 -1
  295. package/lib/cjs/shared/PasswordTextField/index.js +6 -4
  296. package/lib/cjs/shared/ProgressBar/index.d.ts +1 -1
  297. package/lib/cjs/shared/StickyBox/index.d.ts +4 -4
  298. package/lib/cjs/shared/TagChip/index.d.ts +7 -48
  299. package/lib/cjs/shared/TagChip/index.js +8 -4
  300. package/lib/cjs/shared/Tags/index.js +2 -2
  301. package/lib/cjs/shared/UpScalingTierBadge/UpScalingTierBadge.d.ts +1 -1
  302. package/lib/cjs/shared/UsernameTextField/index.d.ts +1 -1
  303. package/lib/cjs/shared/VirtualizedScroller/VirtualScrollerChild.d.ts +1 -1
  304. package/lib/cjs/types/composer.d.ts +1 -1
  305. package/lib/cjs/utils/buttonCounters.d.ts +1 -1
  306. package/lib/esm/assets/composer/avi.d.ts +2 -0
  307. package/lib/esm/assets/composer/avi.js +1 -0
  308. package/lib/esm/assets/composer/doc.d.ts +2 -0
  309. package/lib/esm/assets/composer/doc.js +1 -0
  310. package/lib/esm/assets/composer/fallback.d.ts +2 -0
  311. package/lib/esm/assets/composer/fallback.js +1 -0
  312. package/lib/esm/assets/composer/jpg.d.ts +2 -0
  313. package/lib/esm/assets/composer/jpg.js +1 -0
  314. package/lib/esm/assets/composer/mp3.d.ts +2 -0
  315. package/lib/esm/assets/composer/mp3.js +1 -0
  316. package/lib/esm/assets/composer/pdf.d.ts +2 -0
  317. package/lib/esm/assets/composer/pdf.js +1 -0
  318. package/lib/esm/assets/composer/ppt.d.ts +2 -0
  319. package/lib/esm/assets/composer/ppt.js +1 -0
  320. package/lib/esm/assets/composer/psd.d.ts +2 -0
  321. package/lib/esm/assets/composer/psd.js +1 -0
  322. package/lib/esm/assets/composer/txt.d.ts +2 -0
  323. package/lib/esm/assets/composer/txt.js +1 -0
  324. package/lib/esm/assets/composer/xls.d.ts +2 -0
  325. package/lib/esm/assets/composer/xls.js +1 -0
  326. package/lib/esm/assets/courses/clapping.d.ts +2 -1
  327. package/lib/esm/assets/courses/clapping.js +1 -1
  328. package/lib/esm/components/BottomNavigation/BottomNavigation.d.ts +1 -1
  329. package/lib/esm/components/BuyButton/BuyButton.js +7 -3
  330. package/lib/esm/components/Categories/Categories.js +1 -1
  331. package/lib/esm/components/Categories/Skeleton.js +1 -1
  332. package/lib/esm/components/Category/Category.js +3 -5
  333. package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.d.ts +1 -1
  334. package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.js +5 -5
  335. package/lib/esm/components/Checkout/Checkout.d.ts +1 -1
  336. package/lib/esm/components/Checkout/CheckoutHeaderInfoWidget.d.ts +1 -1
  337. package/lib/esm/components/Checkout/Skeleton.js +2 -4
  338. package/lib/esm/components/CheckoutReturnDialog/CheckoutReturnDialog.d.ts +1 -1
  339. package/lib/esm/components/CheckoutReturnDialog/CheckoutReturnDialog.js +3 -3
  340. package/lib/esm/components/CommentObjectReply/CommentObjectReply.js +1 -1
  341. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +1 -1
  342. package/lib/esm/components/CommunityPaywalls/CommunityPaywalls.d.ts +1 -1
  343. package/lib/esm/components/CommunityPaywalls/CommunityPaywalls.js +3 -4
  344. package/lib/esm/components/CommunityPaywalls/Skeleton.d.ts +3 -3
  345. package/lib/esm/components/CommunityPaywalls/Skeleton.js +2 -3
  346. package/lib/esm/components/Composer/Attributes/Attributes.js +1 -1
  347. package/lib/esm/components/Composer/Composer.js +18 -14
  348. package/lib/esm/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +5 -3
  349. package/lib/esm/components/Composer/Content/ContentLesson/ContentLesson.js +2 -2
  350. package/lib/esm/components/Composer/Content/ContentPoll/ContentPoll.js +12 -8
  351. package/lib/esm/components/Composer/Content/ContentPost/ContentPost.js +2 -2
  352. package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.d.ts +1 -1
  353. package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.js +34 -30
  354. package/lib/esm/components/Composer/Layer/CategoryLayer/CategoryLayer.d.ts +1 -1
  355. package/lib/esm/components/Composer/Layer/CloseLayer/CloseLayer.d.ts +1 -1
  356. package/lib/esm/components/Composer/Layer/LocationLayer/LocationLayer.d.ts +1 -1
  357. package/lib/esm/components/Composer/Layer/ScheduledLayer/ScheduledLayer.d.ts +1 -1
  358. package/lib/esm/components/ComposerIconButton/ComposerIconButton.d.ts +1 -1
  359. package/lib/esm/components/ConsentSolution/ConsentSolution.js +3 -2
  360. package/lib/esm/components/CourseCompletedDialog/CourseCompletedDialog.d.ts +1 -1
  361. package/lib/esm/components/CourseCompletedDialog/CourseCompletedDialog.js +2 -2
  362. package/lib/esm/components/CourseDashboard/Header/Skeleton.d.ts +1 -1
  363. package/lib/esm/components/CourseDashboard/Header.d.ts +1 -1
  364. package/lib/esm/components/CourseDashboard/Student/ActionButton.d.ts +1 -1
  365. package/lib/esm/components/CourseDashboard/Student/Skeleton.d.ts +1 -1
  366. package/lib/esm/components/CourseDashboard/Student.d.ts +1 -1
  367. package/lib/esm/components/CourseDashboard/Student.js +3 -3
  368. package/lib/esm/components/CourseDashboard/Teacher/Comments.d.ts +1 -1
  369. package/lib/esm/components/CourseDashboard/Teacher/Info.d.ts +1 -1
  370. package/lib/esm/components/CourseDashboard/Teacher/Skeleton.d.ts +1 -1
  371. package/lib/esm/components/CourseDashboard/Teacher/Students.d.ts +1 -1
  372. package/lib/esm/components/CourseDashboard/Teacher.d.ts +1 -1
  373. package/lib/esm/components/CourseDashboard/Teacher.js +1 -1
  374. package/lib/esm/components/CourseDashboard/index.d.ts +2 -2
  375. package/lib/esm/components/CourseForm/CourseForm.js +8 -4
  376. package/lib/esm/components/CourseForm/Dialog.d.ts +1 -1
  377. package/lib/esm/components/CourseForm/Skeleton.d.ts +1 -1
  378. package/lib/esm/components/CourseParticipantsButton/CourseParticipantsButton.d.ts +1 -1
  379. package/lib/esm/components/Courses/Courses.d.ts +0 -4
  380. package/lib/esm/components/Courses/Courses.js +9 -9
  381. package/lib/esm/components/Courses/Skeleton.js +1 -1
  382. package/lib/esm/components/CreateEventWidget/CreateEventWidget.d.ts +1 -1
  383. package/lib/esm/components/CreateEventWidget/Skeleton.d.ts +1 -1
  384. package/lib/esm/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +7 -1
  385. package/lib/esm/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +5 -8
  386. package/lib/esm/components/CreatePaymentProductForm/CreatePaymentProductForm.d.ts +1 -1
  387. package/lib/esm/components/CreatePaymentProductForm/CreatePaymentProductForm.js +5 -3
  388. package/lib/esm/components/EditCourse/Customize.d.ts +1 -1
  389. package/lib/esm/components/EditCourse/EditCourse.d.ts +1 -1
  390. package/lib/esm/components/EditCourse/EditCourse.js +1 -1
  391. package/lib/esm/components/EditCourse/Lessons/AddButton.d.ts +1 -1
  392. package/lib/esm/components/EditCourse/Lessons/ChangeLessonStatus.d.ts +1 -1
  393. package/lib/esm/components/EditCourse/Lessons/FieldName.d.ts +1 -1
  394. package/lib/esm/components/EditCourse/Lessons/Skeleton.d.ts +1 -1
  395. package/lib/esm/components/EditCourse/Lessons.d.ts +1 -1
  396. package/lib/esm/components/EditCourse/MenuRow.d.ts +1 -1
  397. package/lib/esm/components/EditCourse/Options/Skeleton.d.ts +1 -1
  398. package/lib/esm/components/EditCourse/Options/SwitchForm.d.ts +1 -1
  399. package/lib/esm/components/EditCourse/Options.d.ts +1 -1
  400. package/lib/esm/components/EditCourse/Requests.d.ts +1 -1
  401. package/lib/esm/components/EditCourse/Skeleton.d.ts +1 -1
  402. package/lib/esm/components/EditCourse/Status.d.ts +1 -1
  403. package/lib/esm/components/EditCourse/Users/Skeleton.d.ts +1 -1
  404. package/lib/esm/components/EditCourse/Users.d.ts +1 -1
  405. package/lib/esm/components/Editor/Editor.d.ts +1 -1
  406. package/lib/esm/components/Editor/Editor.js +3 -3
  407. package/lib/esm/components/Editor/nodes/HashtagNode.d.ts +1 -1
  408. package/lib/esm/components/Editor/nodes/HashtagNode.js +4 -4
  409. package/lib/esm/components/Editor/nodes/ImageNode.d.ts +1 -1
  410. package/lib/esm/components/Editor/nodes/ImageNode.js +6 -6
  411. package/lib/esm/components/Editor/nodes/MentionNode.d.ts +1 -1
  412. package/lib/esm/components/Editor/nodes/MentionNode.js +4 -4
  413. package/lib/esm/components/Editor/plugins/ApiPlugin.d.ts +2 -2
  414. package/lib/esm/components/Editor/plugins/EmojiPlugin.js +4 -2
  415. package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +6 -4
  416. package/lib/esm/components/Editor/plugins/MediaPlugin.d.ts +1 -1
  417. package/lib/esm/components/Editor/plugins/MediaPlugin.js +11 -6
  418. package/lib/esm/components/Editor/plugins/MentionsPlugin.d.ts +2 -2
  419. package/lib/esm/components/Editor/shared/useDecorators.d.ts +2 -2
  420. package/lib/esm/components/EventAutocomplete/EventAutocomplete.js +6 -4
  421. package/lib/esm/components/EventForm/EventAddress.js +6 -2
  422. package/lib/esm/components/EventForm/EventForm.js +20 -12
  423. package/lib/esm/components/EventForm/types.d.ts +5 -5
  424. package/lib/esm/components/EventInfoWidget/EventInfoWidget.d.ts +1 -1
  425. package/lib/esm/components/EventInfoWidget/Skeleton.d.ts +1 -1
  426. package/lib/esm/components/EventInfoWidget/index.d.ts +1 -1
  427. package/lib/esm/components/EventInviteButton/EventInviteButton.js +3 -1
  428. package/lib/esm/components/EventMediaWidget/EventMediaWidget.d.ts +1 -1
  429. package/lib/esm/components/EventMediaWidget/Skeleton.d.ts +2 -2
  430. package/lib/esm/components/EventMediaWidget/TriggerButton.d.ts +1 -1
  431. package/lib/esm/components/EventMediaWidget/asUploadButton.d.ts +2 -2
  432. package/lib/esm/components/EventMediaWidget/index.d.ts +2 -1
  433. package/lib/esm/components/EventMembersWidget/EventMembersWidget.d.ts +1 -1
  434. package/lib/esm/components/EventMembersWidget/EventMembersWidget.js +3 -3
  435. package/lib/esm/components/EventMembersWidget/Skeleton.d.ts +1 -1
  436. package/lib/esm/components/EventMembersWidget/Skeleton.js +1 -1
  437. package/lib/esm/components/EventMembersWidget/TabContentComponent.d.ts +1 -1
  438. package/lib/esm/components/EventMembersWidget/index.d.ts +1 -1
  439. package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.d.ts +1 -1
  440. package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.js +10 -2
  441. package/lib/esm/components/Events/Events.d.ts +0 -4
  442. package/lib/esm/components/Events/Events.js +14 -8
  443. package/lib/esm/components/Events/LocationEventsFilter.js +5 -1
  444. package/lib/esm/components/Events/OngoingEventsFilter.js +6 -2
  445. package/lib/esm/components/Events/PastEventsFilter.js +6 -2
  446. package/lib/esm/components/Events/Skeleton.js +1 -1
  447. package/lib/esm/components/Feed/Feed.d.ts +2 -2
  448. package/lib/esm/components/Feed/Feed.js +11 -12
  449. package/lib/esm/components/Feed/Skeleton.d.ts +1 -1
  450. package/lib/esm/components/Feed/Skeleton.js +2 -2
  451. package/lib/esm/components/FeedObject/Actions/Actions.js +2 -3
  452. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
  453. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +19 -17
  454. package/lib/esm/components/FeedObject/FeedObject.js +1 -1
  455. package/lib/esm/components/FooterWidget/FooterWidget.d.ts +1 -1
  456. package/lib/esm/components/GroupActionsMenu/index.js +9 -1
  457. package/lib/esm/components/GroupAutocomplete/GroupAutocomplete.js +6 -4
  458. package/lib/esm/components/GroupForm/GroupForm.js +8 -18
  459. package/lib/esm/components/GroupInviteButton/GroupInviteButton.js +8 -6
  460. package/lib/esm/components/GroupSettingsIconButton/GroupSettingsIconButton.js +9 -3
  461. package/lib/esm/components/Groups/Groups.js +9 -9
  462. package/lib/esm/components/Groups/Skeleton.js +1 -2
  463. package/lib/esm/components/Incubator/Incubator.js +2 -2
  464. package/lib/esm/components/Incubator/Skeleton.js +1 -1
  465. package/lib/esm/components/LessonReleaseMenu/LessonReleaseMenu.js +12 -6
  466. package/lib/esm/components/LiveStreamForm/LiveStreamForm.js +13 -9
  467. package/lib/esm/components/LiveStreamForm/types.d.ts +3 -3
  468. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/ControlBar.d.ts +2 -2
  469. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/DisconnectButton.js +5 -1
  470. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/FocusLayout.d.ts +4 -4
  471. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamSettingsMenu.js +7 -3
  472. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantPlaceholder.d.ts +1 -1
  473. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTile.d.ts +2 -2
  474. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/PreJoin.d.ts +1 -1
  475. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/RecordingIndicator.d.ts +1 -1
  476. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/SettingsMenuToggle.d.ts +1 -1
  477. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/TrackToggle.d.ts +1 -1
  478. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/VideoConference.d.ts +1 -1
  479. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/utils.d.ts +2 -2
  480. package/lib/esm/components/LiveStreamRoom/types.d.ts +1 -1
  481. package/lib/esm/components/LocationAutocomplete/LocationAutocomplete.js +9 -9
  482. package/lib/esm/components/MyEventsWidget/MyEventsWidget.d.ts +1 -1
  483. package/lib/esm/components/MyEventsWidget/Skeleton.d.ts +1 -1
  484. package/lib/esm/components/MyEventsWidget/index.d.ts +1 -1
  485. package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerContent.d.ts +1 -1
  486. package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerSkeleton.d.ts +1 -1
  487. package/lib/esm/components/NavigationMenuIconButton/DefaultHeaderContent.d.ts +2 -2
  488. package/lib/esm/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -1
  489. package/lib/esm/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +9 -1
  490. package/lib/esm/components/NavigationToolbar/NavigationToolbar.d.ts +1 -1
  491. package/lib/esm/components/NavigationToolbar/NotificationMenu.d.ts +1 -1
  492. package/lib/esm/components/NavigationToolbar/NotificationMenu.js +2 -5
  493. package/lib/esm/components/NavigationToolbarMobile/NavigationToolbarMobile.d.ts +1 -1
  494. package/lib/esm/components/OnBoardingWidget/ActionsButton.js +12 -4
  495. package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.d.ts +1 -1
  496. package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.js +11 -22
  497. package/lib/esm/components/OnBoardingWidget/Steps/App/App.d.ts +1 -1
  498. package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.d.ts +1 -1
  499. package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.js +15 -11
  500. package/lib/esm/components/OnBoardingWidget/Steps/Category/Category.d.ts +1 -1
  501. package/lib/esm/components/OnBoardingWidget/Steps/Content/Content.d.ts +1 -1
  502. package/lib/esm/components/OnBoardingWidget/Steps/Invite/Invite.d.ts +1 -1
  503. package/lib/esm/components/OnBoardingWidget/Steps/Profile/Profile.d.ts +1 -1
  504. package/lib/esm/components/PaymentDetailDialog/PaymentDetailDialog.d.ts +1 -1
  505. package/lib/esm/components/PaymentDetailDialog/PaymentDetailDialog.js +5 -3
  506. package/lib/esm/components/PaymentOrder/PaymentOrder.d.ts +1 -1
  507. package/lib/esm/components/PaymentOrders/PaymentOrders.d.ts +1 -1
  508. package/lib/esm/components/PaymentOrders/PaymentOrders.js +17 -11
  509. package/lib/esm/components/PaymentProduct/PaymentProduct.d.ts +2 -2
  510. package/lib/esm/components/PaymentProduct/PaymentProduct.js +1 -1
  511. package/lib/esm/components/PaymentProduct/Skeleton.js +1 -1
  512. package/lib/esm/components/PaymentProductPrice/PaymentProductPrice.d.ts +1 -1
  513. package/lib/esm/components/PaymentProducts/PaymentProducts.d.ts +1 -1
  514. package/lib/esm/components/PaymentProducts/Skeleton.js +1 -1
  515. package/lib/esm/components/Paywalls/Paywalls.d.ts +1 -1
  516. package/lib/esm/components/Paywalls/Skeleton.js +1 -1
  517. package/lib/esm/components/PaywallsConfigurator/PaywallsConfigurator.d.ts +1 -1
  518. package/lib/esm/components/PaywallsConfigurator/PaywallsConfigurator.js +4 -4
  519. package/lib/esm/components/PaywallsConfigurator/Skeleton.js +1 -1
  520. package/lib/esm/components/PaywallsDialog/PaywallsDialog.d.ts +1 -1
  521. package/lib/esm/components/PaywallsDialog/PaywallsDialog.js +6 -4
  522. package/lib/esm/components/PdfPreviewDialog/PdfPreviewDialog.d.ts +1 -1
  523. package/lib/esm/components/PdfPreviewDialog/PdfPreviewDialog.js +3 -1
  524. package/lib/esm/components/PlatformWidget/PlatformWidget.js +4 -4
  525. package/lib/esm/components/PlatformWidget/Skeleton.js +1 -1
  526. package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +3 -3
  527. package/lib/esm/components/PrivateMessageComponent/Skeleton.d.ts +1 -1
  528. package/lib/esm/components/PrivateMessageComponent/Skeleton.js +1 -1
  529. package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -4
  530. package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +9 -1
  531. package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +10 -8
  532. package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.d.ts +1 -1
  533. package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  534. package/lib/esm/components/RelatedEventsWidget/RelatedEventsWidget.d.ts +1 -1
  535. package/lib/esm/components/RelatedEventsWidget/Skeleton.d.ts +1 -1
  536. package/lib/esm/components/RelatedEventsWidget/index.d.ts +1 -1
  537. package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.d.ts +1 -1
  538. package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.js +9 -7
  539. package/lib/esm/components/SearchDialog/SearchDialog.d.ts +1 -1
  540. package/lib/esm/components/SuggestedEventsWidget/Arrow.d.ts +1 -1
  541. package/lib/esm/components/SuggestedEventsWidget/Skeleton.d.ts +1 -1
  542. package/lib/esm/components/SuggestedEventsWidget/SuggestedEventsWidget.d.ts +1 -1
  543. package/lib/esm/components/SuggestedEventsWidget/index.d.ts +1 -1
  544. package/lib/esm/components/TagAutocomplete/TagAutocomplete.js +66 -24
  545. package/lib/esm/components/UserActionIconButton/UserActionIconButton.js +10 -9
  546. package/lib/esm/components/UserAutocomplete/UserAutocomplete.js +35 -20
  547. package/lib/esm/components/UserBillingInfo/Skeleton.js +1 -1
  548. package/lib/esm/components/UserBillingInfo/UserBillingInfo.d.ts +2 -2
  549. package/lib/esm/components/UserBillingInfo/UserBillingInfo.js +30 -21
  550. package/lib/esm/components/UserInfoDialog/UserInfoDialog.d.ts +1 -1
  551. package/lib/esm/components/UserLiveStreamWidget/Skeleton.d.ts +1 -1
  552. package/lib/esm/components/UserLiveStreamWidget/UserLiveStreamWidget.d.ts +1 -1
  553. package/lib/esm/components/UserLiveStreamWidget/index.d.ts +1 -1
  554. package/lib/esm/components/UserPaymentMethods/Skeleton.d.ts +1 -1
  555. package/lib/esm/components/UserPaymentMethods/UserPaymentMethods.d.ts +2 -2
  556. package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +9 -5
  557. package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
  558. package/lib/esm/components/Widget/index.d.ts +1 -1
  559. package/lib/esm/shared/AccordionLessons/AccordionLessons.d.ts +1 -1
  560. package/lib/esm/shared/AccordionLessons/Skeleton.d.ts +1 -1
  561. package/lib/esm/shared/AddUsersButton/AddUsersButton.d.ts +1 -1
  562. package/lib/esm/shared/AddUsersButton/AddUsersButton.js +3 -1
  563. package/lib/esm/shared/AutoPlayer/index.d.ts +1 -1
  564. package/lib/esm/shared/BaseDialog/BaseDialog.d.ts +1 -1
  565. package/lib/esm/shared/Calendar/index.d.ts +1 -1
  566. package/lib/esm/shared/CopyTextArea/index.js +13 -6
  567. package/lib/esm/shared/CourseTypePopover/CourseTypePopover.d.ts +1 -1
  568. package/lib/esm/shared/CourseUsersTable/ChangeUsersStatus.d.ts +1 -1
  569. package/lib/esm/shared/CourseUsersTable/CourseUsersTable.d.ts +2 -2
  570. package/lib/esm/shared/CourseUsersTable/CourseUsersTable.js +5 -3
  571. package/lib/esm/shared/CourseUsersTable/RowSkeleton.d.ts +1 -1
  572. package/lib/esm/shared/CourseUsersTable/SeeProgressButton.d.ts +1 -1
  573. package/lib/esm/shared/CourseUsersTable/Skeleton.d.ts +1 -1
  574. package/lib/esm/shared/DateTimeAgo/index.js +2 -2
  575. package/lib/esm/shared/EmptyStatus/EmptyStatus.d.ts +1 -1
  576. package/lib/esm/shared/EventActionsMenu/index.js +9 -1
  577. package/lib/esm/shared/EventInfoDetails/index.d.ts +1 -1
  578. package/lib/esm/shared/InfiniteScroll/index.d.ts +2 -2
  579. package/lib/esm/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.d.ts +1 -1
  580. package/lib/esm/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.d.ts +1 -1
  581. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.d.ts +1 -1
  582. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.d.ts +1 -1
  583. package/lib/esm/shared/InfiniteScroll/stories/ScrolleableTop.d.ts +1 -1
  584. package/lib/esm/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.d.ts +1 -1
  585. package/lib/esm/shared/Lightbox/BaseLightbox.d.ts +1 -1
  586. package/lib/esm/shared/Lightbox/Lightbox.d.ts +1 -1
  587. package/lib/esm/shared/LiveStreamInfoDetails/index.d.ts +1 -1
  588. package/lib/esm/shared/Media/File/DisplayComponent.js +9 -32
  589. package/lib/esm/shared/Media/File/DocComponent.d.ts +2 -3
  590. package/lib/esm/shared/Media/File/DocComponent.js +44 -5
  591. package/lib/esm/shared/Media/File/PreviewComponent.d.ts +1 -1
  592. package/lib/esm/shared/Media/File/PreviewComponent.js +1 -1
  593. package/lib/esm/shared/Media/File/TriggerButton.js +33 -9
  594. package/lib/esm/shared/Media/File/asUploadButton.d.ts +1 -1
  595. package/lib/esm/shared/Media/Link/LayerComponent.d.ts +1 -1
  596. package/lib/esm/shared/Media/Link/PreviewComponent.d.ts +1 -1
  597. package/lib/esm/shared/Media/Link/UrlTextField/index.d.ts +1 -1
  598. package/lib/esm/shared/Media/Link/UrlTextField/index.js +3 -1
  599. package/lib/esm/shared/MetadataField/MetadataField.d.ts +1 -1
  600. package/lib/esm/shared/PasswordTextField/index.js +6 -4
  601. package/lib/esm/shared/ProgressBar/index.d.ts +1 -1
  602. package/lib/esm/shared/StickyBox/index.d.ts +4 -4
  603. package/lib/esm/shared/TagChip/index.d.ts +7 -48
  604. package/lib/esm/shared/TagChip/index.js +9 -5
  605. package/lib/esm/shared/Tags/index.js +2 -2
  606. package/lib/esm/shared/UpScalingTierBadge/UpScalingTierBadge.d.ts +1 -1
  607. package/lib/esm/shared/UsernameTextField/index.d.ts +1 -1
  608. package/lib/esm/shared/VirtualizedScroller/VirtualScrollerChild.d.ts +1 -1
  609. package/lib/esm/types/composer.d.ts +1 -1
  610. package/lib/esm/utils/buttonCounters.d.ts +1 -1
  611. package/lib/umd/155.js +2 -0
  612. package/lib/umd/{250.js.LICENSE.txt → 155.js.LICENSE.txt} +2 -0
  613. package/lib/umd/react-ui.js +1 -1
  614. package/lib/umd/react-ui.js.LICENSE.txt +1 -1
  615. package/package.json +204 -206
  616. package/lib/umd/250.js +0 -2
@@ -7,10 +7,10 @@
7
7
  */
8
8
  import type { LexicalEditor } from 'lexical';
9
9
  import * as React from 'react';
10
- declare type ErrorBoundaryProps = {
10
+ type ErrorBoundaryProps = {
11
11
  children: JSX.Element;
12
12
  onError: (error: Error) => void;
13
13
  };
14
- export declare type ErrorBoundaryType = React.ComponentClass<ErrorBoundaryProps> | React.FC<ErrorBoundaryProps>;
14
+ export type ErrorBoundaryType = React.ComponentClass<ErrorBoundaryProps> | React.FC<ErrorBoundaryProps>;
15
15
  export declare function useDecorators(editor: LexicalEditor, ErrorBoundary: ErrorBoundaryType): Array<JSX.Element>;
16
16
  export {};
@@ -16,7 +16,7 @@ const classes = {
16
16
  const Root = (0, material_1.styled)(material_1.Autocomplete, {
17
17
  name: PREFIX,
18
18
  slot: 'Root',
19
- overridesResolver: (props, styles) => styles.root
19
+ overridesResolver: (_props, styles) => styles.root
20
20
  })(() => ({}));
21
21
  /**
22
22
  * > API documentation for the Community-JS Event Autocomplete component. Learn about the available props and the CSS API.
@@ -72,7 +72,7 @@ const EventAutocomplete = (inProps) => {
72
72
  const handleClose = () => {
73
73
  setOpen(false);
74
74
  };
75
- const handleChange = (e, value) => {
75
+ const handleChange = (_e, value) => {
76
76
  setValue(value);
77
77
  };
78
78
  // Render
@@ -87,7 +87,9 @@ const EventAutocomplete = (inProps) => {
87
87
  const parts = (0, parse_1.default)(option.name, matches);
88
88
  return ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.name, src: option.image_small, sx: { marginRight: 1 } }), (0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: parts.map((part, index) => ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ sx: { fontWeight: part.highlight ? 700 : 400, marginRight: 0.2 } }, { children: part.text }), index))) })] })));
89
89
  }, renderInput: (params) => {
90
- return ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, TextFieldProps, { margin: "dense", InputProps: Object.assign(Object.assign({}, params.InputProps), { autoComplete: 'events', endAdornment: ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [isLoading ? (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "inherit", size: 20 }) : null, params.InputProps.endAdornment] })) }) })));
90
+ return ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, TextFieldProps, { margin: "dense", slotProps: {
91
+ input: Object.assign(Object.assign({}, params.InputProps), { autoComplete: 'events', endAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isLoading && (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "inherit", size: 20 }), params.InputProps.endAdornment] })) })
92
+ } })));
91
93
  } }, rest)));
92
94
  };
93
95
  exports.default = EventAutocomplete;
@@ -153,8 +153,12 @@ function EventAddress(inProps) {
153
153
  if (!isInPersonTabActive && !isOnlineTabActive && !isLiveTabActive) {
154
154
  return null;
155
155
  }
156
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Tabs, Object.assign({ className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth" }, { children: [isInPersonTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add_location_alt" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) })), isOnlineTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "play_circle_outline" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })), isLiveTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.LIVESTREAM, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "photo_camera" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.liveStream.label", defaultMessage: "ui.eventForm.address.liveStream.label" }) }))] })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.tabContent }, { children: [isInPersonTabActive && location === types_1.SCEventLocationType.PERSON && ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { disabled: !geocodingApiKey, size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.placeholder", defaultMessage: "ui.eventForm.address.live.placeholder" }), variant: "outlined", fullWidth: true, InputProps: Object.assign(Object.assign({}, params.InputProps), { endAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add_location_alt" }) })), params.InputProps.endAdornment] })) }) }))) })), isOnlineTabActive && location === types_1.SCEventLocationType.ONLINE && ((0, jsx_runtime_1.jsx)(UrlTextField_1.default, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), InputProps: {
157
- endAdornment: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "play_circle_outline" })
156
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Tabs, Object.assign({ className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth" }, { children: [isInPersonTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add_location_alt" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) })), isOnlineTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "play_circle_outline" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })), isLiveTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.LIVESTREAM, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "photo_camera" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.liveStream.label", defaultMessage: "ui.eventForm.address.liveStream.label" }) }))] })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.tabContent }, { children: [isInPersonTabActive && location === types_1.SCEventLocationType.PERSON && ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { disabled: !geocodingApiKey, size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.placeholder", defaultMessage: "ui.eventForm.address.live.placeholder" }), variant: "outlined", fullWidth: true, slotProps: {
157
+ input: Object.assign(Object.assign({}, params.InputProps), { endAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add_location_alt" }) })), params.InputProps.endAdornment] })) })
158
+ } }))) })), isOnlineTabActive && location === types_1.SCEventLocationType.ONLINE && ((0, jsx_runtime_1.jsx)(UrlTextField_1.default, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), slotProps: {
159
+ input: {
160
+ endAdornment: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "play_circle_outline" })
161
+ }
158
162
  }, value: event ? event.link : '', onChange: handleLinkChange })), isLiveTabActive && location === types_1.SCEventLocationType.LIVESTREAM && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(LiveStream_1.default, { template: liveStream_1.SCLiveStreamTemplateType.SNIPPET, liveStream: liveStream, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) }), (0, jsx_runtime_1.jsx)(LiveStreamFormSettings_1.default, { settings: liveStream.settings || constants_2.LIVESTREAM_DEFAULT_SETTINGS, onChange: handleLiveStreamSettingsChange })] }))] }))] })));
159
163
  }
160
164
  exports.default = EventAddress;
@@ -372,12 +372,16 @@ function EventForm(inProps) {
372
372
  /**
373
373
  * Renders root object
374
374
  */
375
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ style: _backgroundCover, classes: { root: classes.cover } }, { children: (0, jsx_runtime_1.jsx)(UploadEventCover_1.default, { isCreationMode: true, onChange: handleChangeCover }) })), Boolean(error['coverError']) && (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ color: "error" }, { children: error['coverError'] })), (0, jsx_runtime_1.jsxs)(material_1.FormGroup, Object.assign({ className: classes.form }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { required: true, className: classes.name, placeholder: `${intl.formatMessage(messages.name)}`, margin: "normal", value: field.name, name: "name", onChange: handleChange, InputProps: {
376
- endAdornment: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: Event_1.EVENT_TITLE_MAX_LENGTH - field.name.length }))
375
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ style: _backgroundCover, classes: { root: classes.cover } }, { children: (0, jsx_runtime_1.jsx)(UploadEventCover_1.default, { isCreationMode: true, onChange: handleChangeCover }) })), Boolean(error['coverError']) && (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ color: "error" }, { children: error['coverError'] })), (0, jsx_runtime_1.jsxs)(material_1.FormGroup, Object.assign({ className: classes.form }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { required: true, className: classes.name, placeholder: `${intl.formatMessage(messages.name)}`, margin: "normal", value: field.name, name: "name", onChange: handleChange, slotProps: {
376
+ input: {
377
+ endAdornment: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: Event_1.EVENT_TITLE_MAX_LENGTH - field.name.length }))
378
+ }
377
379
  }, error: Boolean(field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH) || Boolean(error['nameError']), helperText: field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.name.error.maxLength", defaultMessage: "ui.eventForm.name.error.maxLength" })) : error['nameError'] ? (error['nameError']) : null }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.dateTime }, { children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, Object.assign({ dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default, localeText: {
378
380
  cancelButtonLabel: `${intl.formatMessage(messages.pickerCancelAction)}`
379
381
  } }, { children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, disablePast: !event, minDate: minStartDate, label: field.startDate && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.placeholder", defaultMessage: "ui.eventForm.date.placeholder" }), value: field.startDate, slots: {
380
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) }) })))
382
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { slotProps: {
383
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.startDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) })
384
+ } })))
381
385
  }, slotProps: {
382
386
  toolbar: {
383
387
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
@@ -388,7 +392,9 @@ function EventForm(inProps) {
388
392
  handleChangeDateTime(value, 'startDate');
389
393
  handleChangeDateTime(value, 'startTime');
390
394
  } }), (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileTimePicker, { className: classes.picker, disablePast: disablePastStartTime, minTime: minStartTime, label: field.startTime && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.placeholder", defaultMessage: "ui.eventForm.time.placeholder" }), value: field.startTime, slots: {
391
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) }) })))
395
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { slotProps: {
396
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.startTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) })
397
+ } })))
392
398
  }, slotProps: {
393
399
  toolbar: {
394
400
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
@@ -406,7 +412,9 @@ function EventForm(inProps) {
406
412
  }, startAdornment: (0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "frequency" }) }) })) }, { children: Object.values(types_1.SCEventRecurrenceType).map((f) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: f }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.frequency.${f}.placeholder`, defaultMessage: `ui.eventForm.frequency.${f}.placeholder` }) }), f))) }))] })), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.dateTime }, { children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, Object.assign({ dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default, localeText: {
407
413
  cancelButtonLabel: `${intl.formatMessage(messages.pickerCancelAction)}`
408
414
  } }, { children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, minDate: field.startDate, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.end.placeholder", defaultMessage: "ui.eventForm.date.end.placeholder" }), value: field.endDate, slots: {
409
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "calendar_off" }) }) }))) }) })))
415
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { slotProps: {
416
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.endDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "calendar_off" }) }) }))) })
417
+ } })))
410
418
  }, slotProps: {
411
419
  toolbar: {
412
420
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
@@ -417,7 +425,9 @@ function EventForm(inProps) {
417
425
  handleChangeDateTime(value, 'endDate');
418
426
  handleChangeDateTime(value, 'endTime');
419
427
  }, shouldDisableDate: shouldDisableDate }), (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileTimePicker, { className: classes.picker, disablePast: disablePastEndTime, label: field.endTime && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.end.placeholder", defaultMessage: "ui.eventForm.time.end.placeholder" }), value: field.endTime, slots: {
420
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) }) })))
428
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { slotProps: {
429
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.endTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) })
430
+ } })))
421
431
  }, slotProps: {
422
432
  toolbar: {
423
433
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
@@ -434,15 +444,13 @@ function EventForm(inProps) {
434
444
  geolocation: field.geolocation,
435
445
  live_stream: Object.assign(Object.assign({ title: field.name || `${intl.formatMessage(messages.name)}` }, (event && ((_e = event.live_stream) === null || _e === void 0 ? void 0 : _e.created_at) && { created_at: field.startDate })), { settings: field.liveStreamSettings })
436
446
  }) }, EventAddressComponentProps)), privateEnabled && ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.privacySection }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1, alignItems: "center", justifyContent: "center" }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: !field.isPublic }) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "private" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.private", defaultMessage: "ui.eventForm.privacy.private" })] })), (0, jsx_runtime_1.jsx)(material_1.Switch, { className: classes.switch, checked: field.isPublic, onChange: () => setField((prev) => (Object.assign(Object.assign({}, prev), { ['isPublic']: !field.isPublic }))), disabled: (event === null || event === void 0 ? void 0 : event.privacy) === types_1.SCEventPrivacyType.PRIVATE }), (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: field.isPublic }) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "public" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public", defaultMessage: "ui.eventForm.privacy.public" })] }))] })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", textAlign: "center", className: classes.privacySectionInfo }, { children: field.isPublic ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public.info", defaultMessage: "ui.eventForm.privacy.public.info", values: {
437
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
438
- // @ts-ignores
439
447
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks })
440
448
  } })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.private.info", defaultMessage: "ui.eventForm.private.public.info", values: {
441
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
442
- // @ts-ignore
443
449
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks })
444
- } })) }))] }))), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, className: classes.description, placeholder: `${intl.formatMessage(messages.description)}`, margin: "normal", value: field.description, name: "description", onChange: handleChange, InputProps: {
445
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_f = field.description) === null || _f === void 0 ? void 0 : _f.length) ? Event_1.EVENT_DESCRIPTION_MAX_LENGTH - field.description.length : Event_1.EVENT_DESCRIPTION_MAX_LENGTH })))
450
+ } })) }))] }))), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, className: classes.description, placeholder: `${intl.formatMessage(messages.description)}`, margin: "normal", value: field.description, name: "description", onChange: handleChange, slotProps: {
451
+ input: {
452
+ endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_f = field.description) === null || _f === void 0 ? void 0 : _f.length) ? Event_1.EVENT_DESCRIPTION_MAX_LENGTH - field.description.length : Event_1.EVENT_DESCRIPTION_MAX_LENGTH })))
453
+ }
446
454
  }, error: Boolean(((_g = field.description) === null || _g === void 0 ? void 0 : _g.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH), helperText: ((_h = field.description) === null || _h === void 0 ? void 0 : _h.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.description.error.maxLength", defaultMessage: "ui.eventForm.description.error.maxLength" })) : null }), isPaymentsEnabled && isStaff && ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.paywallsConfiguratorWrap }, { children: (0, jsx_runtime_1.jsx)(PaywallsConfigurator_1.default, Object.assign({}, (event && { contentId: event.id }), { contentType: types_1.SCContentType.EVENT, onChangeContentAccessType: handleChangeContentAccessType, onChangePaymentProducts: handleChangePaymentsProducts })) }))), genericError && ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.genericError }, { children: (0, jsx_runtime_1.jsx)(material_1.Alert, Object.assign({ variant: "filled", severity: "error" }, { children: genericError })) }))), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.actions }, { children: (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ loading: field.isSubmitting, disabled: !field.name ||
447
455
  !field.startDate ||
448
456
  !field.startTime ||
@@ -1,10 +1,10 @@
1
1
  import { SCEventLocationType, SCEventRecurrenceType, SCLiveStreamSettingsType } from '@selfcommunity/types';
2
2
  import { ContentAccessType } from '../PaywallsConfigurator/constants';
3
- export declare type Place = {
3
+ export type Place = {
4
4
  description: string;
5
5
  id?: string;
6
6
  };
7
- export declare type Geolocation = {
7
+ export type Geolocation = {
8
8
  location: SCEventLocationType;
9
9
  geolocation?: string;
10
10
  lat?: number;
@@ -12,7 +12,7 @@ export declare type Geolocation = {
12
12
  link?: string;
13
13
  liveStreamSettings?: SCLiveStreamSettingsType;
14
14
  };
15
- export declare type InitialFieldState = Geolocation & {
15
+ export type InitialFieldState = Geolocation & {
16
16
  imageOriginal: string | ArrayBuffer;
17
17
  imageOriginalFile: string | Blob;
18
18
  startDate: Date | null;
@@ -27,5 +27,5 @@ export declare type InitialFieldState = Geolocation & {
27
27
  products: number[];
28
28
  contentAccessType: ContentAccessType;
29
29
  };
30
- export declare type FieldStateKeys = keyof InitialFieldState;
31
- export declare type FieldStateValues = InitialFieldState[FieldStateKeys];
30
+ export type FieldStateKeys = keyof InitialFieldState;
31
+ export type FieldStateValues = InitialFieldState[FieldStateKeys];
@@ -21,4 +21,4 @@ export interface EventInfoWidgetProps extends WidgetProps {
21
21
  */
22
22
  [p: string]: any;
23
23
  }
24
- export default function EventInfoWidget(inProps: EventInfoWidgetProps): JSX.Element;
24
+ export default function EventInfoWidget(inProps: EventInfoWidgetProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function EventInfoWigetSkeleton(): JSX.Element;
1
+ export default function EventInfoWigetSkeleton(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import EventInfoWidget, { EventInfoWidgetProps } from './EventInfoWidget';
2
2
  import EventInfoWidgetSkeleton from './Skeleton';
3
3
  export default EventInfoWidget;
4
- export { EventInfoWidgetSkeleton, type EventInfoWidgetProps };
4
+ export { EventInfoWidgetSkeleton, EventInfoWidgetProps };
@@ -244,7 +244,9 @@ function EventInviteButton(inProps) {
244
244
  /**
245
245
  * Renders root object
246
246
  */
247
- return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), onClick: handleClose, variant: scEvent ? 'contained' : 'outlined', color: scEvent ? 'secondary' : 'inherit', startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }) }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton", defaultMessage: "ui.eventInviteButton" }) })), open && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ DialogContentProps: { dividers: false }, open: true, className: classes.dialogRoot, title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClose }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ className: classes.dialogTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.title", defaultMessage: "ui.eventInviteButton.dialog.title" }) })), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ size: "small", color: "secondary", variant: "contained", onClick: handleSendInvitations, loading: isSending, disabled: !invited.length }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.button.end", defaultMessage: "ui.eventInviteButton.dialog.button.end" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(material_1.Autocomplete, { className: classes.autocomplete, loading: loading, size: "small", multiple: true, freeSolo: true, disableClearable: true, options: suggested, onChange: handleChange, onInputChange: handleInputChange, inputValue: value, filterOptions: filterOptions, value: invited, getOptionLabel: (option) => (option ? option.username : '...'), isOptionEqualToValue: (option, value) => (option ? value.id === option.id : false), renderTags: () => null, renderOption: (props, option) => ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ ml: 1 }, { children: option.username }))] }))), renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { variant: "outlined", placeholder: `${intl.formatMessage(messages.placeholder)}`, InputProps: Object.assign(Object.assign({}, params.InputProps), { className: classes.input, startAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ className: classes.icon }, { children: "search" })) })), params.InputProps.startAdornment] })) }) }))) }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.invitedBox }, { children: invited.map((option, index) => ((0, jsx_runtime_1.jsx)(material_1.Chip, { avatar: (0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), label: option.username, onDelete: () => {
247
+ return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), onClick: handleClose, variant: scEvent ? 'contained' : 'outlined', color: scEvent ? 'secondary' : 'inherit', startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }) }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton", defaultMessage: "ui.eventInviteButton" }) })), open && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ DialogContentProps: { dividers: false }, open: true, className: classes.dialogRoot, title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClose }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ className: classes.dialogTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.title", defaultMessage: "ui.eventInviteButton.dialog.title" }) })), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ size: "small", color: "secondary", variant: "contained", onClick: handleSendInvitations, loading: isSending, disabled: !invited.length }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.button.end", defaultMessage: "ui.eventInviteButton.dialog.button.end" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(material_1.Autocomplete, { className: classes.autocomplete, loading: loading, size: "small", multiple: true, freeSolo: true, disableClearable: true, options: suggested, onChange: handleChange, onInputChange: handleInputChange, inputValue: value, filterOptions: filterOptions, value: invited, getOptionLabel: (option) => (option ? option.username : '...'), isOptionEqualToValue: (option, value) => (option ? value.id === option.id : false), renderTags: () => null, renderOption: (props, option) => ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ ml: 1 }, { children: option.username }))] }))), renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { variant: "outlined", placeholder: `${intl.formatMessage(messages.placeholder)}`, slotProps: {
248
+ input: Object.assign(Object.assign({}, params.InputProps), { className: classes.input, startAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ className: classes.icon }, { children: "search" })) })), params.InputProps.startAdornment] })) })
249
+ } }))) }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.invitedBox }, { children: invited.map((option, index) => ((0, jsx_runtime_1.jsx)(material_1.Chip, { avatar: (0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), label: option.username, onDelete: () => {
248
250
  handleDelete(option);
249
251
  }, style: { marginRight: 8 } }, index))) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.suggested }, { children: [list.length !== 0 && ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", fontWeight: "bold" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.content.list", defaultMessage: "ui.eventInviteButton.dialog.content.list" }) }))), list.slice(0, 5).map((user, index) => ((0, jsx_runtime_1.jsx)(User_1.default, { elevation: 0, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}), user: user, userId: user.id, buttonProps: { onClick: () => handleUserInvite(user) } }, index)))] }))] })) })))] }));
250
252
  }
@@ -38,4 +38,4 @@ export interface EventMediaWidgetProps extends WidgetProps {
38
38
  */
39
39
  [p: string]: any;
40
40
  }
41
- export default function EventMediaWidget(inProps: EventMediaWidgetProps): JSX.Element;
41
+ export default function EventMediaWidget(inProps: EventMediaWidgetProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- export default function EventMediaWidgetSkeleton(): JSX.Element;
2
- export declare function EventMediaSkeleton(): JSX.Element;
1
+ export default function EventMediaWidgetSkeleton(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function EventMediaSkeleton(): import("react/jsx-runtime").JSX.Element;
@@ -13,5 +13,5 @@ export interface TriggerIconButtonProps extends LoadingButtonProps {
13
13
  */
14
14
  isSquare?: boolean;
15
15
  }
16
- declare const _default: import("react").ForwardRefExoticComponent<Pick<TriggerIconButtonProps, "id" | "role" | "className" | "style" | "classes" | "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "variant" | "name" | "type" | "href" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loadingIndicator" | "loadingPosition" | "onAdd" | "isSquare"> & import("react").RefAttributes<HTMLButtonElement>>;
16
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<TriggerIconButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
17
17
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { UploadButtonProps } from '@rpldy/upload-button';
2
2
  import type { ComponentType } from 'react';
3
- declare type FileInputProps = {
3
+ type FileInputProps = {
4
4
  accept: string;
5
5
  };
6
- declare const asUploadButton: (Component: ComponentType<any>, inputProps: FileInputProps) => import("react").ForwardRefExoticComponent<Pick<UploadButtonProps<Element>, "id" | "className" | "text" | "children" | "onClick" | "method" | "headers" | "paramName" | "params" | "forceJsonResponse" | "withCredentials" | "formatGroupParamName" | "sendWithFormData" | "formDataAllowUndefined" | "formatServerResponse" | "isSuccessfulCall" | "destination" | "fileFilter" | "autoUpload" | "clearPendingOnAdd" | "grouped" | "maxGroupSize" | "inputFieldName" | "fastAbortThreshold" | "userData" | "extraProps"> & import("react").RefAttributes<any>>;
6
+ declare const asUploadButton: (Component: ComponentType<any>, inputProps: FileInputProps) => import("react").ForwardRefExoticComponent<Omit<UploadButtonProps<Element>, "ref"> & import("react").RefAttributes<any>>;
7
7
  export default asUploadButton;
@@ -1,4 +1,5 @@
1
1
  import EventMediaWidget, { EventMediaWidgetProps } from './EventMediaWidget';
2
2
  import EventMediaWidgetSkeleton from './Skeleton';
3
3
  export default EventMediaWidget;
4
- export { EventMediaWidgetSkeleton, type EventMediaWidgetProps };
4
+ export { EventMediaWidgetSkeleton };
5
+ export { EventMediaWidgetProps };
@@ -44,4 +44,4 @@ export interface EventMembersWidgetProps extends WidgetProps {
44
44
  */
45
45
  [p: string]: any;
46
46
  }
47
- export default function EventMembersWidget(inProps: EventMembersWidgetProps): JSX.Element;
47
+ export default function EventMembersWidget(inProps: EventMembersWidgetProps): import("react/jsx-runtime").JSX.Element;
@@ -189,12 +189,12 @@ function EventMembersWidget(inProps) {
189
189
  (tabValue === types_1.TabContentType.PARTICIPANTS && participants.isLoadingNext && !participants.initialized)) {
190
190
  return (0, jsx_runtime_1.jsx)(Skeleton_1.default, {});
191
191
  }
192
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, rest, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h5", className: classes.title }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: title, defaultMessage: title }) })), (0, jsx_runtime_1.jsxs)(lab_1.TabContext, Object.assign({ value: tabValue }, { children: [(0, jsx_runtime_1.jsxs)(lab_1.TabList, Object.assign({ className: classes.tabsWrapper, onChange: handleTabChange, textColor: "primary", indicatorColor: "primary", variant: "fullWidth" }, { children: [(0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: participantsCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.participants", defaultMessage: "ui.eventMembersWidget.participants" }) }))] })), value: types_1.TabContentType.PARTICIPANTS }), hasAllow && ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: invitedCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.invited", defaultMessage: "ui.eventMembersWidget.invited" }) }))] })), value: types_1.TabContentType.INVITED })), hasAllow && ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: requestsCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.requests", defaultMessage: "ui.eventMembersWidget.requests" }) }))] })), value: types_1.TabContentType.REQUESTS }))] })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.PARTICIPANTS, className: classes.tabPanel }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.PARTICIPANTS, state: participants, dispatch: dispatchParticipants, userProps: userProps, dialogProps: dialogProps, actionProps: {
192
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, rest, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h5", className: classes.title }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: title, defaultMessage: title }) })), (0, jsx_runtime_1.jsxs)(lab_1.TabContext, Object.assign({ value: tabValue }, { children: [(0, jsx_runtime_1.jsxs)(lab_1.TabList, Object.assign({ className: classes.tabsWrapper, onChange: handleTabChange, textColor: "primary", indicatorColor: "primary", variant: "fullWidth" }, { children: [(0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: participantsCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.participants", defaultMessage: "ui.eventMembersWidget.participants" }) }))] })), value: types_1.TabContentType.PARTICIPANTS }), hasAllow && ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: invitedCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.invited", defaultMessage: "ui.eventMembersWidget.invited" }) }))] })), value: types_1.TabContentType.INVITED })), hasAllow && ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3" }, { children: requestsCount })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "subtitle2" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMembersWidget.requests", defaultMessage: "ui.eventMembersWidget.requests" }) }))] })), value: types_1.TabContentType.REQUESTS }))] })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.PARTICIPANTS, sx: { className: classes.tabPanel } }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.PARTICIPANTS, state: participants, dispatch: dispatchParticipants, userProps: userProps, dialogProps: dialogProps, actionProps: {
193
193
  scEvent
194
- }, handleRefresh: handleRefresh }) })), hasAllow && ((0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.INVITED, className: classes.tabPanel }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.INVITED, state: invited, dispatch: dispatchInvited, userProps: userProps, dialogProps: dialogProps, actionProps: {
194
+ }, handleRefresh: handleRefresh }) })), hasAllow && ((0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.INVITED, sx: { className: classes.tabPanel } }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.INVITED, state: invited, dispatch: dispatchInvited, userProps: userProps, dialogProps: dialogProps, actionProps: {
195
195
  scEvent,
196
196
  setCount: setInvitedCount
197
- }, handleRefresh: handleRefresh }) }))), hasAllow && ((0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.REQUESTS, className: classes.tabPanel }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.REQUESTS, state: requests, dispatch: dispatchRequests, userProps: userProps, dialogProps: dialogProps, actionProps: {
197
+ }, handleRefresh: handleRefresh }) }))), hasAllow && ((0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: types_1.TabContentType.REQUESTS, sx: { className: classes.tabPanel } }, { children: (0, jsx_runtime_1.jsx)(TabContentComponent_1.default, { tabValue: types_1.TabContentType.REQUESTS, state: requests, dispatch: dispatchRequests, userProps: userProps, dialogProps: dialogProps, actionProps: {
198
198
  scEvent,
199
199
  count: requestsCount,
200
200
  setCount: setRequestsCount,
@@ -1,2 +1,2 @@
1
1
  import 'swiper/css';
2
- export default function EventMembersWidgetSkeleton(): JSX.Element;
2
+ export default function EventMembersWidgetSkeleton(): import("react/jsx-runtime").JSX.Element;
@@ -24,6 +24,6 @@ const Root = (0, system_1.styled)(Widget_1.default, {
24
24
  overridesResolver: (_props, styles) => styles.skeletonRoot
25
25
  })(() => ({}));
26
26
  function EventMembersWidgetSkeleton() {
27
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "53px", height: "25px", className: classes.title }), (0, jsx_runtime_1.jsxs)(lab_1.TabContext, Object.assign({ value: "1" }, { children: [(0, jsx_runtime_1.jsx)(system_1.Box, Object.assign({ className: classes.tabsWrapper }, { children: (0, jsx_runtime_1.jsx)(lab_1.TabList, Object.assign({ variant: "fullWidth" }, { children: [1, 2, 3].map((_element, i) => ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "26px", height: "24px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "106px", height: "19px" })] })), value: `${i + 1}` }, i))) })) })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: "1", className: classes.tabPanel }, { children: (0, jsx_runtime_1.jsxs)(material_1.List, { children: [[1, 2, 3, 4].map((_element, i) => ((0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(User_1.UserSkeleton, {}) }, i))), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { className: classes.actionButton, animation: "wave", width: "52px", height: "20px" })] }) })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, { value: "2", className: classes.tabPanel }), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, { value: "3", className: classes.tabPanel })] }))] })) })));
27
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "53px", height: "25px", className: classes.title }), (0, jsx_runtime_1.jsxs)(lab_1.TabContext, Object.assign({ value: "1" }, { children: [(0, jsx_runtime_1.jsx)(system_1.Box, Object.assign({ className: classes.tabsWrapper }, { children: (0, jsx_runtime_1.jsx)(lab_1.TabList, Object.assign({ variant: "fullWidth" }, { children: [1, 2, 3].map((_element, i) => ((0, jsx_runtime_1.jsx)(material_1.Tab, { label: (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.tabLabelWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "26px", height: "24px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "106px", height: "19px" })] })), value: `${i + 1}` }, i))) })) })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, Object.assign({ value: "1", sx: { className: classes.tabPanel } }, { children: (0, jsx_runtime_1.jsxs)(material_1.List, { children: [[1, 2, 3, 4].map((_element, i) => ((0, jsx_runtime_1.jsx)(material_1.ListItem, { children: (0, jsx_runtime_1.jsx)(User_1.UserSkeleton, {}) }, i))), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { className: classes.actionButton, animation: "wave", width: "52px", height: "20px" })] }) })), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, { value: "2", sx: { className: classes.tabPanel } }), (0, jsx_runtime_1.jsx)(lab_1.TabPanel, { value: "3", sx: { className: classes.tabPanel } })] }))] })) })));
28
28
  }
29
29
  exports.default = EventMembersWidgetSkeleton;
@@ -26,5 +26,5 @@ interface TabComponentProps {
26
26
  };
27
27
  handleRefresh?: (tabValue: TabContentType) => void;
28
28
  }
29
- export default function TabContentComponent(props: TabComponentProps): JSX.Element;
29
+ export default function TabContentComponent(props: TabComponentProps): import("react/jsx-runtime").JSX.Element;
30
30
  export {};
@@ -1,4 +1,4 @@
1
1
  import EventMembersWidget, { EventMembersWidgetProps } from './EventMembersWidget';
2
2
  import EventMembersWidgetSkeleton from './Skeleton';
3
3
  export default EventMembersWidget;
4
- export { EventMembersWidgetSkeleton, type EventMembersWidgetProps };
4
+ export { EventMembersWidgetSkeleton, EventMembersWidgetProps };
@@ -48,4 +48,4 @@ export interface EventParticipantsButtonProps extends Pick<ButtonProps, Exclude<
48
48
 
49
49
  * @param inProps
50
50
  */
51
- export default function EventParticipantsButton(inProps: EventParticipantsButtonProps): JSX.Element;
51
+ export default function EventParticipantsButton(inProps: EventParticipantsButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -150,7 +150,11 @@ function EventSubscribeButton(inProps) {
150
150
  }
151
151
  }, [scUserContext.user, status, scContext.settings]);
152
152
  function renderMenuItems() {
153
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { children: options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ className: classes.item, disabled: loading }, { children: (0, jsx_runtime_1.jsx)(material_1.FormControlLabel, { label: option.label, control: loading ? ((0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "primary", size: 20 })) : ((0, jsx_runtime_1.jsx)(material_1.Checkbox, { size: "small", checked: status === option.value, value: option.value, onChange: handleToggleAction, name: `${option.value}-option`, inputProps: { 'aria-label': `${option.label}` } })), labelPlacement: "start" }) }), option.value))) }));
153
+ return ((0, jsx_runtime_1.jsx)(material_1.Box, { children: options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ className: classes.item, disabled: loading }, { children: (0, jsx_runtime_1.jsx)(material_1.FormControlLabel, { label: option.label, control: loading ? ((0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "primary", size: 20 })) : ((0, jsx_runtime_1.jsx)(material_1.Checkbox, { size: "small", checked: status === option.value, value: option.value, onChange: handleToggleAction, name: `${option.value}-option`, slotProps: {
154
+ input: {
155
+ 'aria-label': `${option.label}`
156
+ }
157
+ } })), labelPlacement: "start" }) }), option.value))) }));
154
158
  }
155
159
  /**
156
160
  * Get current translated status
@@ -185,6 +189,10 @@ function EventSubscribeButton(inProps) {
185
189
  ((_b = scEvent.paywalls) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
186
190
  (scEvent.privacy === types_1.SCEventPrivacyType.PUBLIC ||
187
191
  (scEvent.privacy === types_1.SCEventPrivacyType.PRIVATE && status && status !== types_1.SCEventSubscriptionStatusType.REQUESTED)) ? ((0, jsx_runtime_1.jsx)(BuyButtonRoot, { contentType: types_1.SCContentType.EVENT, content: scEvent, showTicket: true })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (scEvent === null || scEvent === void 0 ? void 0 : scEvent.privacy) === types_1.SCEventPrivacyType.PRIVATE && (!status || status === types_1.SCEventSubscriptionStatusType.REQUESTED) ? ((0, jsx_runtime_1.jsx)(RequestRoot, Object.assign({ className: (0, classnames_1.default)(classes.requestRoot, className), variant: "outlined", size: "small", loading: scUserContext.user ? scEventsManager.isLoading(scEvent) : null, onClick: handleToggleAction }, rest, { children: getStatus }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(SelectRoot, Object.assign({ className: (0, classnames_1.default)(classes.selectRoot, className, { [classes.going]: status && status === types_1.SCEventSubscriptionStatusType.GOING }, { [classes.notGoing]: status && status === types_1.SCEventSubscriptionStatusType.NOT_GOING }), onClick: handleOpen, endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: open ? 'expand_less' : 'expand_more' }), startIcon: status &&
188
- status !== types_1.SCEventSubscriptionStatusType.SUBSCRIBED && ((0, jsx_runtime_1.jsx)(material_1.Icon, { children: status === types_1.SCEventSubscriptionStatusType.GOING ? 'circle_checked' : 'circle_closed' })) }, rest, { children: getStatus })), open && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isMobile ? ((0, jsx_runtime_1.jsx)(SwipeableDrawerRoot, Object.assign({ className: classes.drawerRoot, PaperProps: { className: classes.paper }, open: true, onClose: handleClose, onOpen: handleOpen, anchor: "bottom", disableSwipeToOpen: true }, { children: renderMenuItems() }))) : ((0, jsx_runtime_1.jsx)(MenuRoot, Object.assign({ className: classes.menuRoot, anchorEl: anchorEl, open: true, onClose: handleClose }, { children: renderMenuItems() }))) }))] })) })) }));
192
+ status !== types_1.SCEventSubscriptionStatusType.SUBSCRIBED && ((0, jsx_runtime_1.jsx)(material_1.Icon, { children: status === types_1.SCEventSubscriptionStatusType.GOING ? 'circle_checked' : 'circle_closed' })) }, rest, { children: getStatus })), open && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isMobile ? ((0, jsx_runtime_1.jsx)(SwipeableDrawerRoot, Object.assign({ className: classes.drawerRoot, slotProps: {
193
+ paper: {
194
+ className: classes.paper
195
+ }
196
+ }, open: true, onClose: handleClose, onOpen: handleOpen, anchor: "bottom", disableSwipeToOpen: true }, { children: renderMenuItems() }))) : ((0, jsx_runtime_1.jsx)(MenuRoot, Object.assign({ className: classes.menuRoot, anchorEl: anchorEl, open: true, onClose: handleClose }, { children: renderMenuItems() }))) }))] })) })) }));
189
197
  }
190
198
  exports.default = EventSubscribeButton;
@@ -1,12 +1,8 @@
1
1
  import { GridProps } from '@mui/material';
2
2
  import { EndpointType } from '@selfcommunity/api-services';
3
- import React from 'react';
4
3
  import { CreateEventButtonProps } from '../CreateEventButton';
5
4
  import { EventProps, EventSkeletonProps } from '../Event';
6
5
  import { EventsSkeletonProps } from '../Events/Skeleton';
7
- export declare const EventsChipRoot: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
- ref?: React.Ref<HTMLDivElement>;
9
- }, "avatar" | "className" | "style" | "classes" | "label" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "size" | "icon" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
6
  export interface EventsProps {
11
7
  /**
12
8
  * Overrides or extends the styles applied to the component.
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventsChipRoot = void 0;
4
3
  const tslib_1 = require("tslib");
5
4
  const jsx_runtime_1 = require("react/jsx-runtime");
6
5
  const material_1 = require("@mui/material");
@@ -46,10 +45,10 @@ const Root = (0, material_1.styled)(material_1.Box, {
46
45
  name: constants_1.PREFIX,
47
46
  slot: 'Root'
48
47
  })(() => ({}));
49
- exports.EventsChipRoot = (0, material_1.styled)(material_1.Chip, {
48
+ const EventsChipRoot = (0, material_1.styled)(material_1.Chip, {
50
49
  name: constants_1.PREFIX,
51
50
  slot: 'EventsChipRoot',
52
- shouldForwardProp: (prop) => prop !== 'showFollowed' && prop !== 'showPastEvents' && prop !== 'showOngoingEvents'
51
+ shouldForwardProp: (prop) => prop !== 'showFollowed'
53
52
  })(() => ({}));
54
53
  /**
55
54
  * > API documentation for the Community-JS Events component. Learn about the available props and the CSS API.
@@ -223,18 +222,24 @@ function Events(inProps) {
223
222
  /**
224
223
  * Renders events list
225
224
  */
226
- const content = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [showFilters && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, className: classes.filters, gap: 2 }, { children: filters ? (filters) : showUserEvents ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true }, { children: (0, jsx_runtime_1.jsx)(exports.EventsChipRoot, { color: showMyEvents ? 'secondary' : 'default', variant: showMyEvents ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByCreatedByMe", defaultMessage: "ui.events.filterByCreatedByMe" }), onClick: () => setShowMyEvents(!showMyEvents),
225
+ const content = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [showFilters && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", className: classes.filters, gap: 2 }, { children: filters ? (filters) : showUserEvents ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: (0, jsx_runtime_1.jsx)(EventsChipRoot, { color: showMyEvents ? 'secondary' : 'default', variant: showMyEvents ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByCreatedByMe", defaultMessage: "ui.events.filterByCreatedByMe" }), onClick: () => setShowMyEvents(!showMyEvents),
227
226
  // @ts-expect-error this is needed to use showFollowed into SCEvents
228
- showFollowed: showMyEvents, deleteIcon: showMyEvents ? (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) : null, onDelete: showMyEvents ? () => setShowMyEvents(false) : null, disabled: loading }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true }, { children: (0, jsx_runtime_1.jsx)(PastEventsFilter_1.default, { showPastEvents: showPastEvents, handleClick: handleChipPastClick, handleDeleteClick: handleDeletePastClick, disabled: loading }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, md: 2 }, { children: (0, jsx_runtime_1.jsx)(LocationEventsFilter_1.default, { value: location, disabled: loading, handleOnChange: handleOnChangeLocation }) }))] })) : general ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, md: 3 }, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, { className: classes.search, size: 'small', fullWidth: true, value: query, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByName", defaultMessage: "ui.events.filterByName" }), variant: "outlined", onChange: handleOnChangeFilterName, disabled: loading, onKeyUp: (e) => {
227
+ showFollowed: showMyEvents, deleteIcon: showMyEvents ? (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) : null, onDelete: showMyEvents ? () => setShowMyEvents(false) : null, disabled: loading }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: (0, jsx_runtime_1.jsx)(PastEventsFilter_1.default, { showPastEvents: showPastEvents, handleClick: handleChipPastClick, handleDeleteClick: handleDeletePastClick, disabled: loading }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: (0, jsx_runtime_1.jsx)(LocationEventsFilter_1.default, { value: location, disabled: loading, handleOnChange: handleOnChangeLocation }) }))] })) : general ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 3 } }, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, { className: classes.search, size: "small", fullWidth: true, value: query, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByName", defaultMessage: "ui.events.filterByName" }), variant: "outlined", onChange: handleOnChangeFilterName, disabled: loading, onKeyUp: (e) => {
229
228
  e.preventDefault();
230
229
  if (e.key === 'Enter') {
231
230
  fetchEvents();
232
231
  }
233
- }, InputProps: {
234
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: isMobile ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: () => fetchEvents(), disabled: loading }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }) }))) : ((0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "contained", color: "secondary", onClick: () => fetchEvents(), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }), disabled: loading })) })))
235
- } }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, md: 2 }, { children: (0, jsx_runtime_1.jsxs)(material_1.FormControl, Object.assign({ fullWidth: true }, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByDate", defaultMessage: "ui.events.filterByDate" }) }), (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ disabled: showOngoingEvents || loading, size: 'small', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByDate", defaultMessage: "ui.events.filterByDate" }), value: dateSearch, onChange: handleOnChangeTimeFrame, renderValue: (selected) => options.find((option) => option.value === selected).label }, { children: options.map((option) => ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ value: option.value }, { children: [(0, jsx_runtime_1.jsx)(material_1.Radio, { checked: dateSearch === option.value, value: option.value, name: "radio-button-select", inputProps: { 'aria-label': option.label } }), option.label] }), option.value))) }))] })) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, md: 2 }, { children: (0, jsx_runtime_1.jsx)(LocationEventsFilter_1.default, { value: location, disabled: loading, handleOnChange: handleOnChangeLocation }) })), authUserId && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true }, { children: (0, jsx_runtime_1.jsx)(exports.EventsChipRoot, { color: showFollowed ? 'secondary' : 'default', variant: showFollowed ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByFollowedInterest", defaultMessage: "ui.events.filterByFollowedInterest" }), onClick: handleChipClick,
232
+ }, slotProps: {
233
+ input: {
234
+ endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: isMobile ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: () => fetchEvents(), disabled: loading }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }) }))) : ((0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "contained", color: "secondary", onClick: () => fetchEvents(), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }), disabled: loading })) })))
235
+ }
236
+ } }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 2 } }, { children: (0, jsx_runtime_1.jsxs)(material_1.FormControl, Object.assign({ fullWidth: true }, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByDate", defaultMessage: "ui.events.filterByDate" }) }), (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ disabled: showOngoingEvents || loading, size: "small", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByDate", defaultMessage: "ui.events.filterByDate" }), value: dateSearch, onChange: handleOnChangeTimeFrame, renderValue: (selected) => options.find((option) => option.value === selected).label }, { children: options.map((option) => ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ value: option.value }, { children: [(0, jsx_runtime_1.jsx)(material_1.Radio, { checked: dateSearch === option.value, value: option.value, name: "radio-button-select", slotProps: {
237
+ input: {
238
+ 'aria-label': `${option.label}`
239
+ }
240
+ } }), option.label] }), option.value))) }))] })) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 2 } }, { children: (0, jsx_runtime_1.jsx)(LocationEventsFilter_1.default, { value: location, disabled: loading, handleOnChange: handleOnChangeLocation }) })), authUserId && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: (0, jsx_runtime_1.jsx)(EventsChipRoot, { color: showFollowed ? 'secondary' : 'default', variant: showFollowed ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByFollowedInterest", defaultMessage: "ui.events.filterByFollowedInterest" }), onClick: handleChipClick,
236
241
  // @ts-expect-error this is needed to use showFollowed into SCEvents
237
- showFollowed: showFollowed, deleteIcon: showFollowed ? (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) : null, onDelete: showFollowed ? handleDeleteClick : null, disabled: loading }) }))), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true }, { children: (0, jsx_runtime_1.jsx)(OngoingEventsFilter_1.default, { showOngoingEvents: showOngoingEvents, handleClick: handleChipOngoingClick, handleDeleteClick: handleDeleteOngoingClick, disabled: dateSearch !== types_1.SCEventDateFilterType.ALL || loading }) }))] })) : null }))), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({}, EventsSkeletonComponentProps, { EventSkeletonProps: EventSkeletonComponentProps }))) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: !events.length ? ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.noResults }, { children: general ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Event_1.EventSkeleton, Object.assign({}, EventSkeletonComponentProps, { skeletonsAnimation: false, actions: (onlyStaffEnabled && react_core_1.UserUtils.isStaff(scUserContext.user)) || !onlyStaffEnabled ? ((0, jsx_runtime_1.jsx)(CreateEventButton_1.default, Object.assign({}, CreateEventButtonProps))) : null })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.noEvents.title", defaultMessage: "ui.events.noEvents.title" }) }))] })) : showUserEvents ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.noEvents.title.personal", defaultMessage: "ui.events.noEvents.title.personal" }) })) })) : null }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, spacing: { xs: 2 }, className: classes.events }, GridContainerComponentProps, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [events.map((event) => ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, sm: 12, md: 6, className: classes.item }, GridItemComponentProps, { children: (0, jsx_runtime_1.jsx)(Event_1.default, Object.assign({ event: event, eventId: event.id }, EventComponentProps)) }), event.id))), authUserId && events.length % 2 !== 0 && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, sm: 12, md: 6, className: classes.itemSkeleton }, GridItemComponentProps, { children: (0, jsx_runtime_1.jsx)(Event_1.EventSkeleton, Object.assign({}, EventSkeletonComponentProps, { skeletonsAnimation: false, actions: (0, jsx_runtime_1.jsx)(CreateEventButton_1.default, Object.assign({ variant: "outlined", color: "primary", size: "small" }, CreateEventButtonProps, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.skeleton.action.add", defaultMessage: "ui.events.skeleton.action.add" }) })) })) }), 'skeleton-item'))] }) })), Boolean(next) && ((0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "secondary", variant: "text", onClick: handleNext, className: classes.showMore }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.button.seeMore", defaultMessage: "ui.events.button.seeMore" }) })))] })) })) })] }));
242
+ showFollowed: showFollowed, deleteIcon: showFollowed ? (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) : null, onDelete: showFollowed ? handleDeleteClick : null, disabled: loading }) }))), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: (0, jsx_runtime_1.jsx)(OngoingEventsFilter_1.default, { showOngoingEvents: showOngoingEvents, handleClick: handleChipOngoingClick, handleDeleteClick: handleDeleteOngoingClick, disabled: dateSearch !== types_1.SCEventDateFilterType.ALL || loading }) }))] })) : null }))), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({}, EventsSkeletonComponentProps, { EventSkeletonProps: EventSkeletonComponentProps }))) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: !events.length ? ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.noResults }, { children: general ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Event_1.EventSkeleton, Object.assign({}, EventSkeletonComponentProps, { skeletonsAnimation: false, actions: (onlyStaffEnabled && react_core_1.UserUtils.isStaff(scUserContext.user)) || !onlyStaffEnabled ? ((0, jsx_runtime_1.jsx)(CreateEventButton_1.default, Object.assign({}, CreateEventButtonProps))) : null })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.noEvents.title", defaultMessage: "ui.events.noEvents.title" }) }))] })) : showUserEvents ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.noEvents.title.personal", defaultMessage: "ui.events.noEvents.title.personal" }) })) })) : null }))) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: { xs: 2 }, className: classes.events }, GridContainerComponentProps, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [events.map((event) => ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 6 }, className: classes.item }, GridItemComponentProps, { children: (0, jsx_runtime_1.jsx)(Event_1.default, Object.assign({ event: event, eventId: event.id }, EventComponentProps)) }), event.id))), authUserId && events.length % 2 !== 0 && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 6 }, className: classes.itemSkeleton }, GridItemComponentProps, { children: (0, jsx_runtime_1.jsx)(Event_1.EventSkeleton, Object.assign({}, EventSkeletonComponentProps, { skeletonsAnimation: false, actions: (0, jsx_runtime_1.jsx)(CreateEventButton_1.default, Object.assign({ variant: "outlined", color: "primary", size: "small" }, CreateEventButtonProps, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.skeleton.action.add", defaultMessage: "ui.events.skeleton.action.add" }) })) })) }), "skeleton-item"))] }) })), Boolean(next) && ((0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "secondary", variant: "text", onClick: handleNext, className: classes.showMore }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.button.seeMore", defaultMessage: "ui.events.button.seeMore" }) })))] })) })) })] }));
238
243
  /**
239
244
  * Renders root object (if content availability community option is false and user is anonymous, component is hidden)
240
245
  */
@@ -39,6 +39,10 @@ function LocationEventsFilter(inProps) {
39
39
  if (autoHide) {
40
40
  return null;
41
41
  }
42
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), fullWidth: true }, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByLocation", defaultMessage: "ui.events.filterByLocation" }) }), (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ disabled: disabled, size: 'small', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.location", defaultMessage: "ui.events.location" }), value: value, onChange: handleOnChange, renderValue: (selected) => locationOptions.find((option) => option.value === selected).label }, { children: locationOptions.map((option) => ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ value: option.value }, { children: [(0, jsx_runtime_1.jsx)(material_1.Radio, { checked: value === option.value, value: option.value, name: "radio-button-select", inputProps: { 'aria-label': option.label } }), option.label] }), option.value))) }))] })));
42
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), fullWidth: true }, { children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByLocation", defaultMessage: "ui.events.filterByLocation" }) }), (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ disabled: disabled, size: 'small', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.location", defaultMessage: "ui.events.location" }), value: value, onChange: handleOnChange, renderValue: (selected) => locationOptions.find((option) => option.value === selected).label }, { children: locationOptions.map((option) => ((0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ value: option.value }, { children: [(0, jsx_runtime_1.jsx)(material_1.Radio, { checked: value === option.value, value: option.value, name: "radio-button-select", slotProps: {
43
+ input: {
44
+ 'aria-label': `${option.label}`
45
+ }
46
+ } }), option.label] }), option.value))) }))] })));
43
47
  }
44
48
  exports.default = LocationEventsFilter;
@@ -5,7 +5,11 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const material_1 = require("@mui/material");
6
6
  const react_intl_1 = require("react-intl");
7
7
  const constants_1 = require("./constants");
8
- const Events_1 = require("./Events");
8
+ const EventsChipRoot = (0, material_1.styled)(material_1.Chip, {
9
+ name: constants_1.PREFIX,
10
+ slot: 'EventsChipRoot',
11
+ shouldForwardProp: (prop) => prop !== 'showOngoingEvents'
12
+ })(() => ({}));
9
13
  function OngoingEventsFilter(inProps) {
10
14
  // PROPS
11
15
  const props = (0, material_1.useThemeProps)({
@@ -16,7 +20,7 @@ function OngoingEventsFilter(inProps) {
16
20
  if (autoHide) {
17
21
  return null;
18
22
  }
19
- return ((0, jsx_runtime_1.jsx)(Events_1.EventsChipRoot, Object.assign({ color: showOngoingEvents ? 'secondary' : 'default', variant: showOngoingEvents ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByOngoingEvents", defaultMessage: "ui.events.filterByOngoingEvents" }), onClick: handleClick,
23
+ return ((0, jsx_runtime_1.jsx)(EventsChipRoot, Object.assign({ color: showOngoingEvents ? 'secondary' : 'default', variant: showOngoingEvents ? 'filled' : 'outlined', label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.events.filterByOngoingEvents", defaultMessage: "ui.events.filterByOngoingEvents" }), onClick: handleClick,
20
24
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
21
25
  // @ts-ignore
22
26
  showOngoingEvents: showOngoingEvents, deleteIcon: showOngoingEvents ? (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) : null, onDelete: showOngoingEvents ? handleDeleteClick : undefined }, rest)));