@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
@@ -43,18 +43,18 @@ const classes = {
43
43
  const Root = (0, material_1.styled)(Widget_1.default, {
44
44
  name: constants_1.PREFIX,
45
45
  slot: 'Root',
46
- overridesResolver: (props, styles) => styles.root
46
+ overridesResolver: (_props, styles) => styles.root
47
47
  })(() => ({}));
48
48
  const AccordionRoot = (0, material_1.styled)(material_1.Accordion, {
49
49
  name: constants_1.PREFIX,
50
50
  slot: 'AccordionRoot',
51
- overridesResolver: (props, styles) => styles.accordionRoot
51
+ overridesResolver: (_props, styles) => styles.accordionRoot
52
52
  })(() => ({}));
53
53
  const DialogRoot = (0, material_1.styled)(BaseDialog_1.default, {
54
54
  name: constants_1.PREFIX,
55
55
  slot: 'Root',
56
- overridesResolver: (props, styles) => styles.dialogRoot
57
- })(({ theme }) => ({}));
56
+ overridesResolver: (_props, styles) => styles.dialogRoot
57
+ })(() => ({}));
58
58
  const OnBoardingWidget = (inProps) => {
59
59
  // PROPS
60
60
  const props = (0, system_1.useThemeProps)({
@@ -262,8 +262,6 @@ const OnBoardingWidget = (inProps) => {
262
262
  const categoryStep = steps.find((step) => step.step === types_1.SCOnBoardingStepType.CATEGORIES);
263
263
  if ((categoryStep === null || categoryStep === void 0 ? void 0 : categoryStep.status) === types_1.SCOnBoardingStepStatusType.IN_PROGRESS && categoryStep.results.length !== 0) {
264
264
  categoryStep.results.forEach((c) => {
265
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
266
- // @ts-ignore
267
265
  const isAlreadyNotified = prevCategoriesStep === null || prevCategoriesStep === void 0 ? void 0 : prevCategoriesStep.results.some((result) => result.id === c.id);
268
266
  if (!isAlreadyNotified) {
269
267
  notifyCategoryChanges(c);
@@ -305,27 +303,18 @@ const OnBoardingWidget = (inProps) => {
305
303
  return (0, jsx_runtime_1.jsx)(HiddenPlaceholder_1.default, {});
306
304
  }
307
305
  return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsxs)(AccordionRoot, Object.assign({ defaultExpanded: true, className: classes.accordionRoot, expanded: expanded }, { children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, Object.assign({ expandIcon: (0, jsx_runtime_1.jsx)(ActionsButton_1.default, { isExpanded: expanded, onExpandChange: handleExpand, onHideOnBoarding: handlePreferencesUpdate }), "aria-controls": "accordion", id: "onBoarding-accordion" }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: expanded ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [!isMobile ? ((0, jsx_runtime_1.jsx)(material_1.CardMedia, { className: classes.logo, component: "img", src: header_1.default })) : ((0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: "h4" }, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: "secondary", fontSize: "medium" }, { children: "ai_stars" })), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.accordion.expanded.title.mobile", defaultMessage: "ui.onBoardingWidget.accordion.expanded.title.mobile", values: {
308
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
309
- // @ts-ignore
310
306
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks })
311
307
  } })] }))), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.intro }, { children: [!isMobile && ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.accordion.expanded.title", defaultMessage: "ui.onBoardingWidget.accordion.expanded.title" }) }))), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h5" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.accordion.expanded.subtitle", defaultMessage: "ui.onBoardingWidget.accordion.expanded.subtitle" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.accordion.expanded.summary", defaultMessage: "ui.onBoardingWidget.accordion.expanded.summary", values: {
312
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
313
- // @ts-ignore
314
308
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks }),
315
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
316
- // @ts-ignore
317
- icon: (...chunks) => (0, jsx_runtime_1.jsx)(material_1.Icon, { children: chunks })
309
+ icon: (...chunks) => ((0, jsx_runtime_1.jsx)(material_1.Icon, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: chunks }) }))
318
310
  } }) })] }))] })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.accordion.collapsed", defaultMessage: "ui.onBoardingWidget.accordion.collapsed", values: {
319
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
320
- // @ts-ignore
321
311
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks }),
322
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
323
- // @ts-ignore
324
- // eslint-disable-next-line prettier/prettier
325
- icon: (...chunks) => (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: "secondary", fontSize: "medium" }, { children: chunks }))
326
- } }) }))) }) })), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsx)(Widget_1.default, Object.assign({ className: classes.content, elevation: 0 }, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(material_1.CardContent, { children: [(0, jsx_runtime_1.jsx)(material_1.List, Object.assign({ className: isMobile ? classes.stepsMobile : classes.steps }, { children: steps === null || steps === void 0 ? void 0 : steps.map((step) => ((0, jsx_runtime_1.jsx)(material_1.ListItem, { children: isMobile ? ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", label: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.onBoardingWidget.${step.step}`, defaultMessage: `ui.onBoardingWidget.${step.step}` }), ' ', step.status === types_1.SCOnBoardingStepStatusType.COMPLETED && ((0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: (step === null || step === void 0 ? void 0 : step.status) === types_1.SCOnBoardingStepStatusType.COMPLETED && (step === null || step === void 0 ? void 0 : step.step) !== (_step === null || _step === void 0 ? void 0 : _step.step) ? 'success' : 'inherit' }, { children: "check" })))] }), onClick: () => handleChange(step), variant: step.step === (_step === null || _step === void 0 ? void 0 : _step.step) ? 'filled' : 'outlined', color: step.status === types_1.SCOnBoardingStepStatusType.COMPLETED ? 'success' : 'default' })) : ((0, jsx_runtime_1.jsxs)(material_1.ListItemButton, Object.assign({ onClick: () => handleChange(step), selected: (step === null || step === void 0 ? void 0 : step.step) === (_step === null || _step === void 0 ? void 0 : _step.step) }, { children: [(0, jsx_runtime_1.jsx)(material_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(material_1.Checkbox, { edge: "start", checked: step.status === types_1.SCOnBoardingStepStatusType.COMPLETED, tabIndex: -1, disableRipple: true, inputProps: { 'aria-labelledby': step.step }, size: 'small' }) }), (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.onBoardingWidget.${step.step}`, defaultMessage: `ui.onBoardingWidget.${step.step}` }) })] }))) }, step.id))) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.stepContent }, { children: [(0, jsx_runtime_1.jsx)(material_1.Fade, Object.assign({ in: true, timeout: 2400 }, { children: (0, jsx_runtime_1.jsx)(material_1.Box, { children: getStepContent() }) })), showNoCategoriesModal && ((0, jsx_runtime_1.jsx)(BaseDialog_1.default, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories", defaultMessage: "ui.onBoardingWidget.ai.no.categories" }), DialogContentProps: { dividers: false }, open: showNoCategoriesModal, onClose: () => setShowNoCategoriesModal(false), actions: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "secondary", onClick: () => setShowNoCategoriesModal(false) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories.cancel", defaultMessage: "ui.onBoardingWidget.ai.no.categories.cancel" }) })) }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "primary", onClick: handleCategoriesClick, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ fontSize: "small" }, { children: "edit" })) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories.link", defaultMessage: "ui.onBoardingWidget.ai.no.categories.link" }) })) }))), showCategoriesWarningModal && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ className: classes.dialogRoot, title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.title", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.title" }), DialogContentProps: { dividers: false }, open: showCategoriesWarningModal, onClose: () => setShowWarningCategoriesModal(false), actions: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", color: "primary", onClick: () => setShowWarningCategoriesModal(false) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.button.close", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.button.close" }) })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "contained", color: "secondary", onClick: () => startStep(types_1.SCOnBoardingStepIdType.CATEGORIES), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ fontSize: "small" }, { children: "magic_wand" })) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.button.generate", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.button.generate" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.info", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.info" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.confirm", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.confirm", values: {
327
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
328
- // @ts-ignore
312
+ icon: (...chunks) => ((0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: "secondary", fontSize: "medium" }, { children: chunks })))
313
+ } }) }))) }) })), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsx)(Widget_1.default, Object.assign({ className: classes.content, elevation: 0 }, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(material_1.CardContent, { children: [(0, jsx_runtime_1.jsx)(material_1.List, Object.assign({ className: isMobile ? classes.stepsMobile : classes.steps }, { children: steps === null || steps === void 0 ? void 0 : steps.map((step) => ((0, jsx_runtime_1.jsx)(material_1.ListItem, { children: isMobile ? ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", label: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.onBoardingWidget.${step.step}`, defaultMessage: `ui.onBoardingWidget.${step.step}` }), ' ', step.status === types_1.SCOnBoardingStepStatusType.COMPLETED && ((0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: (step === null || step === void 0 ? void 0 : step.status) === types_1.SCOnBoardingStepStatusType.COMPLETED && (step === null || step === void 0 ? void 0 : step.step) !== (_step === null || _step === void 0 ? void 0 : _step.step) ? 'success' : 'inherit' }, { children: "check" })))] }), onClick: () => handleChange(step), variant: step.step === (_step === null || _step === void 0 ? void 0 : _step.step) ? 'filled' : 'outlined', color: step.status === types_1.SCOnBoardingStepStatusType.COMPLETED ? 'success' : 'default' })) : ((0, jsx_runtime_1.jsxs)(material_1.ListItemButton, Object.assign({ onClick: () => handleChange(step), selected: (step === null || step === void 0 ? void 0 : step.step) === (_step === null || _step === void 0 ? void 0 : _step.step) }, { children: [(0, jsx_runtime_1.jsx)(material_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(material_1.Checkbox, { edge: "start", checked: step.status === types_1.SCOnBoardingStepStatusType.COMPLETED, tabIndex: -1, disableRipple: true, slotProps: {
314
+ input: {
315
+ 'aria-labelledby': `${step.step}`
316
+ }
317
+ }, size: "small" }) }), (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.onBoardingWidget.${step.step}`, defaultMessage: `ui.onBoardingWidget.${step.step}` }) })] }))) }, step.id))) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.stepContent }, { children: [(0, jsx_runtime_1.jsx)(material_1.Fade, Object.assign({ in: true, timeout: 2400 }, { children: (0, jsx_runtime_1.jsx)(material_1.Box, { children: getStepContent() }) })), showNoCategoriesModal && ((0, jsx_runtime_1.jsx)(BaseDialog_1.default, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories", defaultMessage: "ui.onBoardingWidget.ai.no.categories" }), DialogContentProps: { dividers: false }, open: showNoCategoriesModal, onClose: () => setShowNoCategoriesModal(false), actions: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "secondary", onClick: () => setShowNoCategoriesModal(false) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories.cancel", defaultMessage: "ui.onBoardingWidget.ai.no.categories.cancel" }) })) }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ color: "primary", onClick: handleCategoriesClick, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ fontSize: "small" }, { children: "edit" })) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.no.categories.link", defaultMessage: "ui.onBoardingWidget.ai.no.categories.link" }) })) }))), showCategoriesWarningModal && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ className: classes.dialogRoot, title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.title", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.title" }), DialogContentProps: { dividers: false }, open: showCategoriesWarningModal, onClose: () => setShowWarningCategoriesModal(false), actions: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", color: "primary", onClick: () => setShowWarningCategoriesModal(false) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.button.close", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.button.close" }) })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "contained", color: "secondary", onClick: () => startStep(types_1.SCOnBoardingStepIdType.CATEGORIES), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ fontSize: "small" }, { children: "magic_wand" })) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.button.generate", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.button.generate" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.info", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.info" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.ai.categories.warning.confirm", defaultMessage: "ui.onBoardingWidget.ai.categories.warning.confirm", values: {
329
318
  b: (chunks) => (0, jsx_runtime_1.jsx)("b", { children: chunks })
330
319
  } })] })) })))] }))] })) })) })] })) })));
331
320
  };
@@ -15,4 +15,4 @@ export interface AppProps {
15
15
  */
16
16
  onCompleteAction: () => void;
17
17
  }
18
- export default function App(inProps: AppProps): JSX.Element;
18
+ export default function App(inProps: AppProps): import("react/jsx-runtime").JSX.Element;
@@ -10,4 +10,4 @@ export interface AppearanceProps {
10
10
  */
11
11
  onCompleteAction: () => void;
12
12
  }
13
- export default function Appearance(inProps: AppearanceProps): JSX.Element;
13
+ export default function Appearance(inProps: AppearanceProps): import("react/jsx-runtime").JSX.Element;
@@ -55,8 +55,8 @@ const Root = (0, material_1.styled)(material_1.Box, {
55
55
  const DrawerRoot = (0, material_1.styled)(material_1.Drawer, {
56
56
  name: constants_1.PREFIX,
57
57
  slot: 'AppearanceDrawerRoot',
58
- overridesResolver: (props, styles) => styles.appearanceDrawerRoot
59
- })(({ theme }) => ({}));
58
+ overridesResolver: (_props, styles) => styles.appearanceDrawerRoot
59
+ })(() => ({}));
60
60
  function Appearance(inProps) {
61
61
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
62
62
  // PROPS
@@ -77,7 +77,7 @@ function Appearance(inProps) {
77
77
  // INTL
78
78
  const intl = (0, react_intl_1.useIntl)();
79
79
  // HANDLERS
80
- const handleTabChange = (event, newValue) => {
80
+ const handleTabChange = (_event, newValue) => {
81
81
  setTab(newValue);
82
82
  setData({});
83
83
  };
@@ -182,14 +182,18 @@ function Appearance(inProps) {
182
182
  .filter((item) => item.section === types_1.SCPreferenceSection.COLORS)
183
183
  .map((color) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6" }, { children: (0, onBoarding_1.formatColorLabel)(color) })), (0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(mui_color_input_1.MuiColorInput, { inputRef: colorRef, className: classes.color, format: "hex", value: color.value, onChange: (value) => handleColorChange(value, color.name), isAlphaHidden: true, PopoverProps: { onClose: handleClosePopover } }) })] }, color.id))), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ loading: loading || updating, disabled: loading || updating || Object.keys(data).length === 0, variant: "outlined", size: "small", color: "primary", onClick: updatePreference }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.step.appearance.titleSlogan.button", defaultMessage: "ui.onBoardingWidget.step.appearance.titleSlogan.button" }) }))] }))), tab === AppearanceTabType.LOGO && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: preferences
184
184
  .filter((item) => item.section === types_1.SCPreferenceSection.LOGO)
185
- .map((logo) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6" }, { children: (0, onBoarding_1.formatLogoLabel)(logo.name) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.logoContainer }, { children: [(0, jsx_runtime_1.jsx)("img", { src: logo.value, className: classes.logo }), (0, jsx_runtime_1.jsx)("input", { type: "file", onChange: (event) => handleUpload(event, logo.name), hidden: true, accept: ".gif,.png,.jpg,.jpeg", id: logo.name }), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ className: classes.uploadButton, onClick: () => document.getElementById(`${logo.name}`).click(), loading: Boolean(loadingLogo) && Boolean(logo.name === loadingLogo), disabled: Boolean(loadingLogo) && Boolean(logo.name !== loadingLogo) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "upload" }) }))] }))] }, logo.id))) })), tab === AppearanceTabType.SLOGAN && ((0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, fullWidth: true, label: `${intl.formatMessage(messages.titleField)}`, margin: "normal", value: ((_a = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _a === void 0 ? void 0 : _a.value) || '', name: "application_slogan1", onChange: handleChange, InputProps: {
186
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_c = (_b = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.length)
187
- ? 50 - ((_d = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _d === void 0 ? void 0 : _d.value.length)
188
- : 50 })))
189
- }, error: Boolean(((_f = (_e = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.length) > 50) }), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, fullWidth: true, label: `${intl.formatMessage(messages.sloganField)}`, margin: "normal", value: ((_g = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _g === void 0 ? void 0 : _g.value) || '', name: "application_slogan2", onChange: handleChange, InputProps: {
190
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_j = (_h = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _h === void 0 ? void 0 : _h.value) === null || _j === void 0 ? void 0 : _j.length)
191
- ? 150 - ((_k = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _k === void 0 ? void 0 : _k.value.length)
192
- : 150 })))
185
+ .map((logo) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6" }, { children: (0, onBoarding_1.formatLogoLabel)(logo.name) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.logoContainer }, { children: [(0, jsx_runtime_1.jsx)("img", { src: logo.value, className: classes.logo }), (0, jsx_runtime_1.jsx)("input", { type: "file", onChange: (event) => handleUpload(event, logo.name), hidden: true, accept: ".gif,.png,.jpg,.jpeg", id: logo.name }), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ className: classes.uploadButton, onClick: () => document.getElementById(`${logo.name}`).click(), loading: Boolean(loadingLogo) && Boolean(logo.name === loadingLogo), disabled: Boolean(loadingLogo) && Boolean(logo.name !== loadingLogo) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "upload" }) }))] }))] }, logo.id))) })), tab === AppearanceTabType.SLOGAN && ((0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, fullWidth: true, label: `${intl.formatMessage(messages.titleField)}`, margin: "normal", value: ((_a = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _a === void 0 ? void 0 : _a.value) || '', name: "application_slogan1", onChange: handleChange, slotProps: {
186
+ input: {
187
+ endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_c = (_b = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.length)
188
+ ? 50 - ((_d = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _d === void 0 ? void 0 : _d.value.length)
189
+ : 50 })))
190
+ }
191
+ }, error: Boolean(((_f = (_e = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan1')) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.length) > 50) }), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, fullWidth: true, label: `${intl.formatMessage(messages.sloganField)}`, margin: "normal", value: ((_g = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _g === void 0 ? void 0 : _g.value) || '', name: "application_slogan2", onChange: handleChange, slotProps: {
192
+ input: {
193
+ endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_j = (_h = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _h === void 0 ? void 0 : _h.value) === null || _j === void 0 ? void 0 : _j.length)
194
+ ? 150 - ((_k = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _k === void 0 ? void 0 : _k.value.length)
195
+ : 150 })))
196
+ }
193
197
  }, error: Boolean(((_m = (_l = preferences === null || preferences === void 0 ? void 0 : preferences.find((item) => item.section === 'text' && item.name === 'application_slogan2')) === null || _l === void 0 ? void 0 : _l.value) === null || _m === void 0 ? void 0 : _m.length) > 150) }), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ loading: updating, disabled: updating || Object.keys(data).length === 0, variant: "outlined", size: "small", color: "primary", onClick: updatePreference }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.onBoardingWidget.step.appearance.titleSlogan.button", defaultMessage: "ui.onBoardingWidget.step.appearance.titleSlogan.button" }) }))] }))] })) })] }))] })));
194
198
  }
195
199
  exports.default = Appearance;
@@ -15,4 +15,4 @@ export interface CategoryProps {
15
15
  */
16
16
  handleCategoriesCreation?: () => void;
17
17
  }
18
- export default function Category(inProps: CategoryProps): JSX.Element;
18
+ export default function Category(inProps: CategoryProps): import("react/jsx-runtime").JSX.Element;
@@ -15,4 +15,4 @@ export interface ContentProps {
15
15
  */
16
16
  handleContentCreation?: () => void;
17
17
  }
18
- export default function Content(inProps: ContentProps): JSX.Element;
18
+ export default function Content(inProps: ContentProps): import("react/jsx-runtime").JSX.Element;
@@ -10,4 +10,4 @@ export interface InviteProps {
10
10
  */
11
11
  onCompleteAction: () => void;
12
12
  }
13
- export default function Invite(inProps: InviteProps): JSX.Element;
13
+ export default function Invite(inProps: InviteProps): import("react/jsx-runtime").JSX.Element;
@@ -22,4 +22,4 @@ export interface ProfileProps {
22
22
  */
23
23
  onCompleteAction: () => void;
24
24
  }
25
- export default function Profile(inProps: ProfileProps): JSX.Element;
25
+ export default function Profile(inProps: ProfileProps): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ export interface PaymentDetailDialogProps extends BaseDialogProps {
3
3
  className?: string;
4
4
  disableInitialTransition?: boolean;
5
5
  }
6
- export default function PaymentDetailDialog(inProps: PaymentDetailDialogProps): JSX.Element;
6
+ export default function PaymentDetailDialog(inProps: PaymentDetailDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -16,11 +16,11 @@ const classes = {
16
16
  const Root = (0, material_1.styled)(BaseDialog_1.default, {
17
17
  slot: 'Root',
18
18
  name: PREFIX
19
- })(({ theme }) => ({}));
19
+ })(() => ({}));
20
20
  const Transition = react_1.default.forwardRef(function Transition(props, ref) {
21
21
  return (0, jsx_runtime_1.jsx)(material_1.Slide, Object.assign({ direction: "up", ref: ref }, props));
22
22
  });
23
- const NoTransition = react_1.default.forwardRef(function NoTransition(props, ref) {
23
+ const NoTransition = react_1.default.forwardRef(function NoTransition(props) {
24
24
  return (0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [" ", props.children, " "] });
25
25
  });
26
26
  function PaymentDetailDialog(inProps) {
@@ -35,6 +35,8 @@ function PaymentDetailDialog(inProps) {
35
35
  if (!isPaymentsEnabled) {
36
36
  return null;
37
37
  }
38
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ maxWidth: 'sm', fullWidth: true, title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentDetailDialog.title", defaultMessage: "ui.paymentDetailDialog.title" }), scroll: 'paper', open: true }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), TransitionComponent: Transition }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentDetailDialog.content", defaultMessage: "ui.paymentDetailDialog.content" }) })));
38
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ maxWidth: "sm", fullWidth: true, title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentDetailDialog.title", defaultMessage: "ui.paymentDetailDialog.title" }), scroll: "paper", open: true }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), slots: {
39
+ transition: Transition
40
+ } }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentDetailDialog.content", defaultMessage: "ui.paymentDetailDialog.content" }) })));
39
41
  }
40
42
  exports.default = PaymentDetailDialog;
@@ -7,4 +7,4 @@ export interface PaymentOrderProps {
7
7
  hidePaymentOrderPdfButton?: boolean;
8
8
  PaymentOrderPdfButtonComponentProps?: PaymentOrderPdfButtonProps;
9
9
  }
10
- export default function PaymentOrder(inProps: PaymentOrderProps): JSX.Element;
10
+ export default function PaymentOrder(inProps: PaymentOrderProps): import("react/jsx-runtime").JSX.Element;
@@ -14,4 +14,4 @@ export interface PaymentOrdersProps {
14
14
  */
15
15
  contentType?: SCContentType;
16
16
  }
17
- export default function PaymentOrders(inProps: PaymentOrdersProps): JSX.Element;
17
+ export default function PaymentOrders(inProps: PaymentOrdersProps): import("react/jsx-runtime").JSX.Element;
@@ -209,21 +209,25 @@ function PaymentOrders(inProps) {
209
209
  const skeleton = () => {
210
210
  return ((0, jsx_runtime_1.jsxs)(material_1.TableRow, Object.assign({ ref: ref }, { children: [(0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 20 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 30 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 80, width: 250 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 65 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 65 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 65 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 65 }) })), (0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({ component: "th", scope: "row" }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "text", height: 40, width: 65 }) }))] })));
211
211
  };
212
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ variant: "outlined", className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, className: classes.filters, gap: 3 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, sm: 12, md: 3, lg: 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.paymentOrders.search", defaultMessage: "ui.paymentOrders.search" }), variant: "outlined", onChange: handleChange, disabled: isLoading, onKeyUp: (e) => {
212
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ variant: "outlined", className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, width: "100%", className: classes.filters, gap: 3 }, { 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.paymentOrders.search", defaultMessage: "ui.paymentOrders.search" }), variant: "outlined", onChange: handleChange, disabled: isLoading, onKeyUp: (e) => {
213
213
  e.preventDefault();
214
214
  if (e.key === 'Enter') {
215
215
  fetchInvoices();
216
216
  }
217
- }, InputProps: {
218
- endAdornment: ((0, jsx_runtime_1.jsxs)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: [query.length > 0 && ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: () => {
219
- setQuery('');
220
- fetchInvoices('');
221
- }, disabled: isLoading }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))), isMobile ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { onClick: () => fetchInvoices(), disabled: isLoading })) : ((0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "contained", color: "secondary", onClick: () => fetchInvoices(), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }), disabled: isLoading }))] })))
222
- } }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, sm: 12, md: 3, lg: 3 }, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({ select: true, fullWidth: true, disabled: isLoading, size: "small", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.contentTypeFilter", defaultMessage: "ui.paymentOrders.contentTypeFilter" }), value: contentTypeFilter, onChange: handleContentTypeChange }, { children: options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: option.value }, { children: option.label }), option.value))) })) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, sm: 8, md: 4 }, { children: (0, jsx_runtime_1.jsx)(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: {
217
+ }, slotProps: {
218
+ input: {
219
+ endAdornment: ((0, jsx_runtime_1.jsxs)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: [query.length > 0 && ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: () => {
220
+ setQuery('');
221
+ fetchInvoices('');
222
+ }, disabled: isLoading }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))), isMobile ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { onClick: () => fetchInvoices(), disabled: isLoading })) : ((0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "contained", color: "secondary", onClick: () => fetchInvoices(), endIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "search" }), disabled: isLoading }))] })))
223
+ }
224
+ } }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { md: 3 } }, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({ select: true, fullWidth: true, disabled: isLoading, size: "small", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.contentTypeFilter", defaultMessage: "ui.paymentOrders.contentTypeFilter" }), value: contentTypeFilter, onChange: handleContentTypeChange }, { children: options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: option.value }, { children: option.label }), option.value))) })) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: { sm: 8, md: 4 } }, { children: (0, jsx_runtime_1.jsx)(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: {
223
225
  cancelButtonLabel: `${intl.formatMessage(messages.pickerCancelAction)}`,
224
226
  clearButtonLabel: `${intl.formatMessage(messages.pickerClearAction)}`
225
- } }, { children: (0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 6 }, { children: (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.dateFrom", defaultMessage: "ui.paymentOrders.dateFrom" }), value: startDate, slots: {
226
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { size: "small", InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.dateFrom)}`, endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) }) })))
227
+ } }, { children: (0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: 6 }, { children: (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.dateFrom", defaultMessage: "ui.paymentOrders.dateFrom" }), value: startDate, slots: {
228
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { size: "small", slotProps: {
229
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.dateFrom)}`, endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) })
230
+ } })))
227
231
  }, slotProps: {
228
232
  actionBar: {
229
233
  actions: ['cancel', 'clear', 'accept']
@@ -233,8 +237,10 @@ function PaymentOrders(inProps) {
233
237
  // @ts-ignore
234
238
  toolbarTitle: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.picker.date", defaultMessage: "ui.paymentOrders.picker.date" })
235
239
  }
236
- }, onChange: (newValue) => setStartDate(newValue) }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 6 }, { children: (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.dateTo", defaultMessage: "ui.paymentOrders.dateTo" }), value: endDate, slots: {
237
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { size: "small", InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.dateTo)}`, endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) }) })))
240
+ }, onChange: (newValue) => setStartDate(newValue) }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: 6 }, { children: (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paymentOrders.dateTo", defaultMessage: "ui.paymentOrders.dateTo" }), value: endDate, slots: {
241
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { size: "small", slotProps: {
242
+ input: Object.assign(Object.assign({}, params.slotProps.input), { placeholder: `${intl.formatMessage(messages.dateTo)}`, endAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) })
243
+ } })))
238
244
  }, slotProps: {
239
245
  actionBar: {
240
246
  actions: ['cancel', 'clear', 'accept']
@@ -1,7 +1,7 @@
1
1
  import { SCPaymentProduct, SCContentType, SCPurchasableContent, SCPaymentOrder, SCPaymentPrice, SCPaymentProductTemplateType } from '@selfcommunity/types';
2
2
  import { PaymentProductPriceProps } from '../PaymentProductPrice';
3
3
  import { WidgetProps } from '../Widget';
4
- export interface PaymentProductProps extends WidgetProps {
4
+ export interface PaymentProductProps extends Omit<WidgetProps, 'content'> {
5
5
  className?: string;
6
6
  paymentProductId?: number;
7
7
  paymentProduct?: SCPaymentProduct;
@@ -15,4 +15,4 @@ export interface PaymentProductProps extends WidgetProps {
15
15
  hidePaymentProductPrices?: boolean;
16
16
  PaymentProductPriceComponentProps?: PaymentProductPriceProps;
17
17
  }
18
- export default function PaymentProduct(inProps: PaymentProductProps): JSX.Element;
18
+ export default function PaymentProduct(inProps: PaymentProductProps): import("react/jsx-runtime").JSX.Element;
@@ -17,7 +17,7 @@ const classes = {
17
17
  const Root = (0, material_1.styled)(Widget_1.default, {
18
18
  slot: 'Root',
19
19
  name: constants_1.PREFIX
20
- })(({ theme }) => ({}));
20
+ })(() => ({}));
21
21
  function PaymentProduct(inProps) {
22
22
  // PROPS
23
23
  const props = (0, system_1.useThemeProps)({
@@ -46,7 +46,7 @@ function PaymentProductSkeleton(inProps) {
46
46
  props: inProps,
47
47
  name: `${constants_1.PREFIX}Skeleton`
48
48
  });
49
- const { className } = props, rest = tslib_1.__rest(props, ["className"]);
49
+ const rest = tslib_1.__rest(props, []);
50
50
  // HOOKS
51
51
  const theme = (0, material_1.useTheme)();
52
52
  const isMobile = (0, material_1.useMediaQuery)(theme.breakpoints.down('md'));
@@ -12,4 +12,4 @@ export interface PaymentProductPriceProps {
12
12
  onHandleActionBuy?: (price: SCPaymentPrice, contentType?: SCContentType, contentId?: string | number) => void;
13
13
  returnUrlParams?: Record<string, string>;
14
14
  }
15
- export default function PaymentProductPrice(inProps: PaymentProductPriceProps): JSX.Element;
15
+ export default function PaymentProductPrice(inProps: PaymentProductPriceProps): import("react/jsx-runtime").JSX.Element;
@@ -8,4 +8,4 @@ export interface PaymentProductsProps {
8
8
  paymentOrder?: SCPaymentOrder;
9
9
  onUpdatePaymentOrder?: (price: SCPaymentPrice, contentType?: SCContentType, contentId?: string | number) => void;
10
10
  }
11
- export default function PaymentProducts(inProps: PaymentProductsProps): JSX.Element;
11
+ export default function PaymentProducts(inProps: PaymentProductsProps): import("react/jsx-runtime").JSX.Element;
@@ -41,6 +41,6 @@ function PaymentProductsSkeleton(inProps) {
41
41
  // HOOKS
42
42
  const theme = (0, material_1.useTheme)();
43
43
  const isMobile = (0, material_1.useMediaQuery)(theme.breakpoints.down('md'));
44
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12 }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: 'outlined' }, PaymentProductSkeletonProps)) }), index))) })) })));
44
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((_product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: "outlined" }, PaymentProductSkeletonProps)) }, index))) })) })));
45
45
  }
46
46
  exports.default = PaymentProductsSkeleton;
@@ -7,4 +7,4 @@ export interface PaywallsProps {
7
7
  prefetchedPaymentContentStatus?: SCPurchasableContent;
8
8
  onUpdatePaymentOrder?: (price: SCPaymentPrice, contentType?: SCContentType, contentId?: string | number) => void;
9
9
  }
10
- export default function Paywalls(inProps: PaywallsProps): JSX.Element;
10
+ export default function Paywalls(inProps: PaywallsProps): import("react/jsx-runtime").JSX.Element;
@@ -41,6 +41,6 @@ function PaywallsSkeleton(inProps) {
41
41
  // HOOKS
42
42
  const theme = (0, material_1.useTheme)();
43
43
  const isMobile = (0, material_1.useMediaQuery)(theme.breakpoints.down('md'));
44
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12 }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: 'outlined' }, PaymentProductSkeletonProps)) }), index))) })) })));
44
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((_product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: "outlined" }, PaymentProductSkeletonProps)) }, index))) })) })));
45
45
  }
46
46
  exports.default = PaywallsSkeleton;
@@ -10,4 +10,4 @@ export interface PaywallsConfiguratorProps {
10
10
  onChangeContentAccessType?: (type: string) => void;
11
11
  disabled?: boolean;
12
12
  }
13
- export default function PaywallsConfigurator(inProps: PaywallsConfiguratorProps): JSX.Element;
13
+ export default function PaywallsConfigurator(inProps: PaywallsConfiguratorProps): import("react/jsx-runtime").JSX.Element;
@@ -15,8 +15,6 @@ const Errors_1 = require("../../constants/Errors");
15
15
  const react_intl_1 = require("react-intl");
16
16
  const payment_1 = require("../../utils/payment");
17
17
  const ClickAwayListener_1 = tslib_1.__importDefault(require("@mui/material/ClickAwayListener"));
18
- const Popper_1 = tslib_1.__importDefault(require("@mui/material/Popper"));
19
- const List_1 = tslib_1.__importDefault(require("@mui/material/List"));
20
18
  const CreatePaymentProductForm_1 = tslib_1.__importDefault(require("../CreatePaymentProductForm"));
21
19
  const classes = {
22
20
  root: `${constants_1.PREFIX}-root`,
@@ -47,7 +45,7 @@ const PaymentProductsAutocompletePopper = (0, material_1.styled)(material_1.Box,
47
45
  slot: 'PaymentProductsAutocompletePopperRoot',
48
46
  overridesResolver: (_props, styles) => styles.paymentProductsAutocompletePopperRoot
49
47
  })(() => ({}));
50
- const PaymentProductsPopper = (0, material_1.styled)(Popper_1.default, {
48
+ const PaymentProductsPopper = (0, material_1.styled)(material_1.Popper, {
51
49
  name: constants_1.PREFIX,
52
50
  slot: 'PaymentProductsPopperRoot',
53
51
  overridesResolver: (_props, styles) => styles.paymentProductsPopperRoot
@@ -217,7 +215,7 @@ function PaywallsConfigurator(inProps) {
217
215
  if (!isPaymentsEnabled) {
218
216
  return null;
219
217
  }
220
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: classes.contentAccessType }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.selectAccessType", defaultMessage: "ui.paywallsConfigurator.selectAccessType" }) }), (0, jsx_runtime_1.jsxs)(material_1.Accordion, Object.assign({ expanded: expanded === constants_1.ContentAccessType.FREE, onChange: handleChange(constants_1.ContentAccessType.FREE), disabled: disabled || loading, variant: "outlined" }, { children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, Object.assign({ expandIcon: (0, jsx_runtime_1.jsx)(material_1.Radio, { checked: expanded === constants_1.ContentAccessType.FREE }), "aria-controls": "free-content", id: "free-header" }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, { children: [(0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free", defaultMessage: "ui.paywallsConfigurator.free" }) }), ": ", (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free.label", defaultMessage: "ui.paywallsConfigurator.free.label" })] }) })), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free.info", defaultMessage: "ui.paywallsConfigurator.free.info" }) }) })] })), (0, jsx_runtime_1.jsxs)(material_1.Accordion, Object.assign({ expanded: expanded === constants_1.ContentAccessType.PAID, onChange: handleChange(constants_1.ContentAccessType.PAID), disabled: disabled || loading, variant: "outlined" }, { children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, Object.assign({ expandIcon: (0, jsx_runtime_1.jsx)(material_1.Radio, { checked: expanded === constants_1.ContentAccessType.PAID }), "aria-controls": "paid-content", id: "paid-header" }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, { children: [(0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid", defaultMessage: "ui.paywallsConfigurator.paid" }) }), ": ", (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid.label", defaultMessage: "ui.paywallsConfigurator.paid.label" })] }) })), (0, jsx_runtime_1.jsxs)(material_1.AccordionDetails, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ mb: 2 }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid.info", defaultMessage: "ui.paywallsConfigurator.paid.info" }) })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-around", alignItems: "center", spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ style: { flexGrow: 1 }, component: "div" }, { children: (0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.connected.products", defaultMessage: "ui.paywallsConfigurator.connected.products" }) }) })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "contained", size: "small", disableRipple: true, onClick: handleToggleCreatePaymentPrice, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }), className: classes.btnAddPaymentProduct }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.connected.products.btnNew", defaultMessage: "ui.paywallsConfigurator.connected.products.btnNew" }) }))] })), loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { children: [createPrice && ((0, jsx_runtime_1.jsx)(material_1.Zoom, Object.assign({ in: createPrice }, { children: (0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(CreatePaymentProductForm_1.default, { className: classes.newProduct, onCreate: handleCreatePaymentPrice, onCancel: handleToggleCreatePaymentPrice }) }) }))), (0, jsx_runtime_1.jsxs)(List_1.default, Object.assign({ dense: true, className: classes.selectedPaymentProductsList }, { children: [!value.length && ((0, jsx_runtime_1.jsx)(material_1.ListItem, Object.assign({ className: classes.noProducts, divider: true }, { children: (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: intl.formatMessage({
218
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: classes.contentAccessType }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.selectAccessType", defaultMessage: "ui.paywallsConfigurator.selectAccessType" }) }), (0, jsx_runtime_1.jsxs)(material_1.Accordion, Object.assign({ expanded: expanded === constants_1.ContentAccessType.FREE, onChange: handleChange(constants_1.ContentAccessType.FREE), disabled: disabled || loading, variant: "outlined" }, { children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, Object.assign({ expandIcon: (0, jsx_runtime_1.jsx)(material_1.Radio, { checked: expanded === constants_1.ContentAccessType.FREE }), "aria-controls": "free-content", id: "free-header" }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, { children: [(0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free", defaultMessage: "ui.paywallsConfigurator.free" }) }), ": ", (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free.label", defaultMessage: "ui.paywallsConfigurator.free.label" })] }) })), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.free.info", defaultMessage: "ui.paywallsConfigurator.free.info" }) }) })] })), (0, jsx_runtime_1.jsxs)(material_1.Accordion, Object.assign({ expanded: expanded === constants_1.ContentAccessType.PAID, onChange: handleChange(constants_1.ContentAccessType.PAID), disabled: disabled || loading, variant: "outlined" }, { children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, Object.assign({ expandIcon: (0, jsx_runtime_1.jsx)(material_1.Radio, { checked: expanded === constants_1.ContentAccessType.PAID }), "aria-controls": "paid-content", id: "paid-header" }, { children: (0, jsx_runtime_1.jsxs)(material_1.Typography, { children: [(0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid", defaultMessage: "ui.paywallsConfigurator.paid" }) }), ": ", (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid.label", defaultMessage: "ui.paywallsConfigurator.paid.label" })] }) })), (0, jsx_runtime_1.jsxs)(material_1.AccordionDetails, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ mb: 2 }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.paid.info", defaultMessage: "ui.paywallsConfigurator.paid.info" }) })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-around", alignItems: "center", spacing: 2 }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ style: { flexGrow: 1 }, component: "div" }, { children: (0, jsx_runtime_1.jsx)("b", { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.connected.products", defaultMessage: "ui.paywallsConfigurator.connected.products" }) }) })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "contained", size: "small", disableRipple: true, onClick: handleToggleCreatePaymentPrice, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }), className: classes.btnAddPaymentProduct }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.connected.products.btnNew", defaultMessage: "ui.paywallsConfigurator.connected.products.btnNew" }) }))] })), loading ? ((0, jsx_runtime_1.jsx)(Skeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { children: [createPrice && ((0, jsx_runtime_1.jsx)(material_1.Zoom, Object.assign({ in: createPrice }, { children: (0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(CreatePaymentProductForm_1.default, { className: classes.newProduct, onCreate: handleCreatePaymentPrice, onCancel: handleToggleCreatePaymentPrice }) }) }))), (0, jsx_runtime_1.jsxs)(material_1.List, Object.assign({ dense: true, className: classes.selectedPaymentProductsList }, { children: [!value.length && ((0, jsx_runtime_1.jsx)(material_1.ListItem, Object.assign({ className: classes.noProducts, divider: true }, { children: (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: intl.formatMessage({
221
219
  id: 'ui.paywallsConfigurator.connected.noProducts',
222
220
  defaultMessage: 'ui.paywallsConfigurator.connected.noProducts'
223
221
  }) }) }), -1)), value.map((p, i) => {
@@ -244,7 +242,9 @@ function PaywallsConfigurator(inProps) {
244
242
  return;
245
243
  }
246
244
  setPendingValue(newValue);
247
- }, disableCloseOnSelect: true, PopperComponent: PopperComponent, renderTags: () => null, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.noProducts", defaultMessage: "ui.paywallsConfigurator.noProducts" }), renderOption: renderOption, options: getOptions, isOptionEqualToValue: (option, value) => option.id === value.id, getOptionLabel: (option) => option.name.toString(), renderInput: (params) => ((0, jsx_runtime_1.jsx)(FilterInputRoot, { disabled: loadingProducts || loading, ref: params.InputProps.ref, inputProps: params.inputProps, autoFocus: true, placeholder: intl.formatMessage({
245
+ }, disableCloseOnSelect: true, slots: {
246
+ popper: PopperComponent
247
+ }, renderTags: () => null, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.noProducts", defaultMessage: "ui.paywallsConfigurator.noProducts" }), renderOption: renderOption, options: getOptions, isOptionEqualToValue: (option, value) => option.id === value.id, getOptionLabel: (option) => option.name.toString(), renderInput: (params) => ((0, jsx_runtime_1.jsx)(FilterInputRoot, { disabled: loadingProducts || loading, ref: params.InputProps.ref, inputProps: params.inputProps, autoFocus: true, placeholder: intl.formatMessage({
248
248
  id: 'ui.paywallsConfigurator.filterByName',
249
249
  defaultMessage: 'ui.paywallsConfigurator.filterByName'
250
250
  }) })) }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.paymentProductsPopperFooter }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "contained", size: "small", disableRipple: true, onClick: handleClose, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "check" }) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsConfigurator.popper.btnConfirm", defaultMessage: "ui.paywallsConfigurator.popper.btnConfirm" }) })) }))] }) })) })))] })] }))] }))) })));
@@ -41,6 +41,6 @@ function PaywallsConfiguratorSkeleton(inProps) {
41
41
  // HOOKS
42
42
  const theme = (0, material_1.useTheme)();
43
43
  const isMobile = (0, material_1.useMediaQuery)(theme.breakpoints.down('md'));
44
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12 }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: 'outlined' }, PaymentProductSkeletonProps)) }), index))) })) })));
44
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: { xs: 3 }, className: classes.products }, { children: [...Array(isMobile ? 1 : 2)].map((_product, index) => ((0, jsx_runtime_1.jsx)(material_1.Grid, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, Object.assign({ elevation: 0, variant: "outlined" }, PaymentProductSkeletonProps)) }, index))) })) })));
45
45
  }
46
46
  exports.default = PaywallsConfiguratorSkeleton;
@@ -5,4 +5,4 @@ export interface PaywallsDialogProps extends BaseDialogProps {
5
5
  PaywallsComponentProps: PaywallsProps;
6
6
  disableInitialTransition?: boolean;
7
7
  }
8
- export default function PaywallsDialog(inProps: PaywallsDialogProps): JSX.Element;
8
+ export default function PaywallsDialog(inProps: PaywallsDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -17,11 +17,11 @@ const classes = {
17
17
  const Root = (0, material_1.styled)(BaseDialog_1.default, {
18
18
  slot: 'Root',
19
19
  name: PREFIX
20
- })(({ theme }) => ({}));
20
+ })(() => ({}));
21
21
  const Transition = react_1.default.forwardRef(function Transition(props, ref) {
22
22
  return (0, jsx_runtime_1.jsx)(material_1.Slide, Object.assign({ direction: "up", ref: ref }, props));
23
23
  });
24
- const NoTransition = react_1.default.forwardRef(function NoTransition(props, ref) {
24
+ const NoTransition = react_1.default.forwardRef(function NoTransition(props) {
25
25
  return (0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [" ", props.children, " "] });
26
26
  });
27
27
  function PaywallsDialog(inProps) {
@@ -37,7 +37,9 @@ function PaywallsDialog(inProps) {
37
37
  if (!isPaymentsEnabled) {
38
38
  return null;
39
39
  }
40
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ maxWidth: 'sm', fullWidth: true, title: (PaywallsComponentProps && ((_a = PaywallsComponentProps.prefetchedPaymentContentStatus) === null || _a === void 0 ? void 0 : _a.payment_order)) ||
41
- (PaywallsComponentProps.content && PaywallsComponentProps.content.payment_order) ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsDialog.title.purchased", defaultMessage: "ui.paywallsDialog.title.purchased" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsDialog.title", defaultMessage: "ui.paywallsDialog.title" })), scroll: 'paper', open: true }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), TransitionComponent: Transition, DialogContentProps: { dividers: false } }, rest, { children: (0, jsx_runtime_1.jsx)(Paywalls_1.default, Object.assign({}, PaywallsComponentProps)) })));
40
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ maxWidth: "sm", fullWidth: true, title: (PaywallsComponentProps && ((_a = PaywallsComponentProps.prefetchedPaymentContentStatus) === null || _a === void 0 ? void 0 : _a.payment_order)) ||
41
+ (PaywallsComponentProps.content && PaywallsComponentProps.content.payment_order) ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsDialog.title.purchased", defaultMessage: "ui.paywallsDialog.title.purchased" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.paywallsDialog.title", defaultMessage: "ui.paywallsDialog.title" })), scroll: 'paper', open: true }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), slots: {
42
+ transition: Transition
43
+ }, DialogContentProps: { dividers: false } }, rest, { children: (0, jsx_runtime_1.jsx)(Paywalls_1.default, Object.assign({}, PaywallsComponentProps)) })));
42
44
  }
43
45
  exports.default = PaywallsDialog;
@@ -8,4 +8,4 @@ export interface PdfPreviewDialogProps extends BaseDialogProps {
8
8
  pdfUrl: string;
9
9
  disableInitialTransition?: boolean;
10
10
  }
11
- export default function PdfPreviewDialog(inProps: PdfPreviewDialogProps): JSX.Element;
11
+ export default function PdfPreviewDialog(inProps: PdfPreviewDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -58,6 +58,8 @@ function PdfPreviewDialog(inProps) {
58
58
  if (!isPaymentsEnabled) {
59
59
  return null;
60
60
  }
61
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ fullScreen: true, scroll: "paper", open: true, maxWidth: "md" }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), TransitionComponent: Transition, DialogContentProps: { sx: { overflow: 'hidden' } } }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.AppBar, Object.assign({ sx: { position: 'fixed', top: 0 } }, { children: (0, jsx_runtime_1.jsxs)(material_1.Toolbar, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6", component: "div", sx: { flexGrow: 1 } }, { children: title })), pdfUrl && ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ edge: "end", color: "inherit", onClick: handleDownload, "aria-label": "close" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "download" }) }))), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ edge: "end", color: "inherit", onClick: onClose, "aria-label": "close", sx: { ml: 2 } }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))] }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, className: classes.content }, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12, justifyContent: "center", alignContent: "center" }, { children: (0, jsx_runtime_1.jsx)(PdfPreview_1.default, Object.assign({}, PdfPreviewComponentProps, { pdfUrl: pdfUrl })) })) }))] })));
61
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ fullScreen: true, scroll: "paper", open: true, maxWidth: "md" }, (disableInitialTransition ? { TransitionComponent: NoTransition } : { TransitionComponent: Transition }), { className: (0, classnames_1.default)(classes.root, className), slots: {
62
+ transition: Transition
63
+ }, DialogContentProps: { sx: { overflow: 'hidden' } } }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.AppBar, Object.assign({ sx: { position: 'fixed', top: 0 } }, { children: (0, jsx_runtime_1.jsxs)(material_1.Toolbar, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6", component: "div", sx: { flexGrow: 1 } }, { children: title })), pdfUrl && ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ edge: "end", color: "inherit", onClick: handleDownload, "aria-label": "close" }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "download" }) }))), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ edge: "end", color: "inherit", onClick: onClose, "aria-label": "close", sx: { ml: 2 } }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))] }) })), (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ container: true, width: "100%", className: classes.content }, { children: (0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ justifyContent: "center", alignContent: "center" }, { children: (0, jsx_runtime_1.jsx)(PdfPreview_1.default, Object.assign({}, PdfPreviewComponentProps, { pdfUrl: pdfUrl })) })) }))] })));
62
64
  }
63
65
  exports.default = PdfPreviewDialog;
@@ -293,13 +293,13 @@ function PlatformWidget(inProps) {
293
293
  /**
294
294
  * Render tutorial
295
295
  */
296
- const tutorial = ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, spacing: isAdmin ? 1 : 3, justifyContent: "center", className: classes.tutorial }, { children: [!isTutorialOpen && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: "auto", alignItems: "center", justifyContent: "center" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: "medium", onClick: handleOpenTutorial }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "info" }) })) }))), (0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: isTutorialOpen, className: classes.tutorialContent }, { children: isTutorialOpen && ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ item: true, xs: "auto" }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: 'body2', className: classes.tutorialTitle, component: 'div' }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grow, Object.assign({ in: true, timeout: 1000 }, { children: (0, jsx_runtime_1.jsx)("span", { children: actions[tutorialIndex].title }) })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: 'small', className: classes.tutorialTitleClose, onClick: handleCloseTutorial }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))] })), (0, jsx_runtime_1.jsx)(material_1.Grow, Object.assign({ in: true, timeout: 1200 }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: 'body2', className: classes.tutorialDesc }, { children: actions[tutorialIndex].content })) })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.divider }), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", spacing: 2, className: classes.tutorialControls }, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "text", size: "small", onClick: handlePrevious, className: (0, classnames_1.default)(classes.btnStep, classes.btnPreviousStep) }, { children: tutorialIndex === 0 ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.skip", defaultMessage: "ui.platformWidget.tutorial.skip" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.previous", defaultMessage: "ui.platformWidget.tutorial.previous" })) })), (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ component: 'div' }, { children: [tutorialIndex + 1, "/", actions.length] })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "contained", size: "small", color: "primary", onClick: handleNext, className: (0, classnames_1.default)(classes.btnStep, classes.btnNextStep) }, { children: tutorialIndex === actions.length - 1 ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.close", defaultMessage: "ui.platformWidget.tutorial.close" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.next", defaultMessage: "ui.platformWidget.tutorial.next" })) }))] }))] }))) }))] })));
296
+ const tutorial = ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: isAdmin ? 1 : 3, justifyContent: "center", className: classes.tutorial }, { children: [!isTutorialOpen && ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "auto", alignItems: "center", justifyContent: "center" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: "medium", onClick: handleOpenTutorial }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "info" }) })) }))), (0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: isTutorialOpen, className: classes.tutorialContent }, { children: isTutorialOpen && ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ size: "auto" }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ variant: 'body2', className: classes.tutorialTitle, component: 'div' }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grow, Object.assign({ in: true, timeout: 1000 }, { children: (0, jsx_runtime_1.jsx)("span", { children: actions[tutorialIndex].title }) })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: 'small', className: classes.tutorialTitleClose, onClick: handleCloseTutorial }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) }))] })), (0, jsx_runtime_1.jsx)(material_1.Grow, Object.assign({ in: true, timeout: 1200 }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: 'body2', className: classes.tutorialDesc }, { children: actions[tutorialIndex].content })) })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.divider }), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", spacing: 2, className: classes.tutorialControls }, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "text", size: "small", onClick: handlePrevious, className: (0, classnames_1.default)(classes.btnStep, classes.btnPreviousStep) }, { children: tutorialIndex === 0 ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.skip", defaultMessage: "ui.platformWidget.tutorial.skip" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.previous", defaultMessage: "ui.platformWidget.tutorial.previous" })) })), (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ component: 'div' }, { children: [tutorialIndex + 1, "/", actions.length] })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "contained", size: "small", color: "primary", onClick: handleNext, className: (0, classnames_1.default)(classes.btnStep, classes.btnNextStep) }, { children: tutorialIndex === actions.length - 1 ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.close", defaultMessage: "ui.platformWidget.tutorial.close" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.tutorial.next", defaultMessage: "ui.platformWidget.tutorial.next" })) }))] }))] }))) }))] })));
297
297
  /**
298
298
  * Renders platform card
299
299
  */
300
- const content = ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, spacing: isAdmin ? 1 : 3, justifyContent: "center", className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: 12 }, { children: title ? (title) : ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.title }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.title.tooltip", defaultMessage: "ui.platformWidget.title.tooltip" }), placement: "top" }, { children: (0, jsx_runtime_1.jsx)("img", { src: logo_1.default, alt: "logo" }) })) }))) })), (0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ item: true, xs: 12, className: classes.actions }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 1, className: classes.action }), actions.map((a, i) => {
301
- return ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ item: true, xs: "auto", className: (0, classnames_1.default)(classes.action, { [classes.actionHighlighted]: tutorialIndex === i && isTutorialOpen }) }, { children: a.render }), i));
302
- }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 1, className: classes.action })] }))] })));
300
+ const content = ((0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ container: true, width: "100%", spacing: isAdmin ? 1 : 3, justifyContent: "center", className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "grow" }, { children: title ? (title) : ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.title }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.platformWidget.title.tooltip", defaultMessage: "ui.platformWidget.title.tooltip" }), placement: "top" }, { children: (0, jsx_runtime_1.jsx)("img", { src: logo_1.default, alt: "logo" }) })) }))) })), (0, jsx_runtime_1.jsxs)(material_1.Grid, Object.assign({ className: classes.actions }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { size: 1, className: classes.action }), actions.map((a, i) => {
301
+ return ((0, jsx_runtime_1.jsx)(material_1.Grid, Object.assign({ size: "auto", className: (0, classnames_1.default)(classes.action, { [classes.actionHighlighted]: tutorialIndex === i && isTutorialOpen }) }, { children: a.render }), i));
302
+ }), (0, jsx_runtime_1.jsx)(material_1.Grid, { size: 1, className: classes.action })] }))] })));
303
303
  /**
304
304
  * Renders root object (if not hidden by autoHide prop)
305
305
  */