@layers-app/shared 0.4.7 → 0.4.8

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 (378) hide show
  1. package/dist/assets/default-workspace-avatar.jpg.js +1 -1
  2. package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
  3. package/dist/components/AliasTextInput/AliasTextInput.js +32 -32
  4. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
  5. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  6. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  7. package/dist/components/AppContainer/AppContainer.js +76 -71
  8. package/dist/components/AppContainer/AppContainer.module.css.js +14 -14
  9. package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
  10. package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +77 -49
  11. package/dist/components/AppContainer/components/NavbarContent.d.ts.map +1 -1
  12. package/dist/components/AppContainer/components/NavbarContent.js +16 -2
  13. package/dist/components/AppContainer/components/ToolSidebar.d.ts +5 -0
  14. package/dist/components/AppContainer/components/ToolSidebar.d.ts.map +1 -1
  15. package/dist/components/AppContainer/components/ToolSidebar.js +42 -30
  16. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +90 -90
  17. package/dist/components/AppContainer/types.d.ts +12 -0
  18. package/dist/components/AppContainer/types.d.ts.map +1 -1
  19. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  20. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +0 -2
  21. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts.map +1 -1
  22. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +17 -22
  23. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +22 -22
  24. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
  25. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +120 -172
  26. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  27. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +28 -32
  28. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +3 -1
  29. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  30. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +237 -93
  31. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +22 -20
  32. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +4 -4
  33. package/dist/components/Chat/CallMessage/CallMessage.module.css.js +8 -8
  34. package/dist/components/Chat/ChatBubble/ChatBubble.module.css.js +1 -1
  35. package/dist/components/Chat/ChatHeader/ChatHeader.module.css.js +1 -1
  36. package/dist/components/Chat/ChatInput/ChatInput.module.css.js +44 -44
  37. package/dist/components/Chat/ChatInput/index.d.ts +13 -1
  38. package/dist/components/Chat/ChatInput/index.d.ts.map +1 -1
  39. package/dist/components/Chat/ChatInput/index.js +264 -164
  40. package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts +16 -0
  41. package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts.map +1 -0
  42. package/dist/components/Chat/ChatInput/useVoiceRecorder.js +83 -0
  43. package/dist/components/Chat/ChatLayout/ChatLayout.module.css.js +4 -4
  44. package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +20 -16
  45. package/dist/components/Chat/ChatMessage/index.d.ts +16 -0
  46. package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -1
  47. package/dist/components/Chat/ChatMessage/index.js +153 -118
  48. package/dist/components/Chat/ChatPill/ChatPill.module.css.js +1 -1
  49. package/dist/components/Chat/DialogItem/DialogItem.module.css.js +4 -4
  50. package/dist/components/Chat/DialogList/DialogList.module.css.js +1 -1
  51. package/dist/components/Chat/MediaDocument/MediaDocument.module.css.js +4 -4
  52. package/dist/components/Chat/MessageActions/MessageActions.module.css.js +1 -1
  53. package/dist/components/Chat/MessageActions/index.d.ts +2 -0
  54. package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
  55. package/dist/components/Chat/MessageActions/index.js +188 -50
  56. package/dist/components/Chat/MessageAuthor/index.d.ts +7 -1
  57. package/dist/components/Chat/MessageAuthor/index.d.ts.map +1 -1
  58. package/dist/components/Chat/MessageAuthor/index.js +39 -25
  59. package/dist/components/Chat/MessageForward/MessageForward.module.css.js +1 -1
  60. package/dist/components/Chat/MessageList/MessageList.module.css.js +14 -12
  61. package/dist/components/Chat/MessageList/index.d.ts +17 -25
  62. package/dist/components/Chat/MessageList/index.d.ts.map +1 -1
  63. package/dist/components/Chat/MessageList/index.js +201 -149
  64. package/dist/components/Chat/MessageMeta/MessageMeta.module.css.js +3 -3
  65. package/dist/components/Chat/MessageReactions/MessageReactions.module.css.js +12 -12
  66. package/dist/components/Chat/MessageReply/MessageReply.module.css.js +7 -7
  67. package/dist/components/Chat/MessageStatus/MessageStatus.module.css.js +8 -8
  68. package/dist/components/Chat/ServiceMessage/ServiceMessage.module.css.js +1 -1
  69. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  70. package/dist/components/ColorPicker/ColorPicker.module.css.js +32 -26
  71. package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -1
  72. package/dist/components/ColorPicker/ColorPickerList.js +83 -72
  73. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +1 -0
  74. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
  75. package/dist/components/ColorPicker/ColorPickerToolbar.js +94 -85
  76. package/dist/components/ColorPicker/icons.js +5 -5
  77. package/dist/components/ColorPicker/types.d.ts +6 -0
  78. package/dist/components/ColorPicker/types.d.ts.map +1 -1
  79. package/dist/components/ColorPicker/types.js +53 -11
  80. package/dist/components/ColorPicker/useRecentColors.d.ts +3 -1
  81. package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -1
  82. package/dist/components/ColorPicker/useRecentColors.js +43 -20
  83. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  84. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +2 -1
  85. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  86. package/dist/components/CommentComposer/CommentEditorHotkeys.js +29 -26
  87. package/dist/components/CommentComposer/index.d.ts +1 -1
  88. package/dist/components/CommentComposer/index.d.ts.map +1 -1
  89. package/dist/components/CommentComposer/index.js +70 -68
  90. package/dist/components/CommentComposer/types.d.ts +6 -0
  91. package/dist/components/CommentComposer/types.d.ts.map +1 -1
  92. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  93. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  94. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  95. package/dist/components/CustomKBD/index.js +21 -22
  96. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
  97. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  98. package/dist/components/EmojiPicker/EmojiPicker.js +129 -121
  99. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  100. package/dist/components/EntityTitle/EntityTitle.d.ts +3 -4
  101. package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
  102. package/dist/components/EntityTitle/EntityTitle.js +81 -80
  103. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  104. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  105. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  106. package/dist/components/FilePicker/FilePicker.module.css.js +7 -7
  107. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  108. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  109. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  110. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  111. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  112. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  113. package/dist/components/FormViewer/helpers/conditions.d.ts.map +1 -1
  114. package/dist/components/FormViewer/helpers/conditions.js +33 -17
  115. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  116. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  117. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  118. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  119. package/dist/components/Loaders/styles.module.css.js +6 -6
  120. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  121. package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +23 -23
  122. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  123. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  124. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  125. package/dist/components/Notification/InfiniteScroll.d.ts +12 -0
  126. package/dist/components/Notification/InfiniteScroll.d.ts.map +1 -0
  127. package/dist/components/Notification/InfiniteScroll.js +42 -0
  128. package/dist/components/Notification/Notification.d.ts +4 -1
  129. package/dist/components/Notification/Notification.d.ts.map +1 -1
  130. package/dist/components/Notification/Notification.module.css.js +28 -4
  131. package/dist/components/Notification/atoms/ActionBadge.d.ts +11 -0
  132. package/dist/components/Notification/atoms/ActionBadge.d.ts.map +1 -0
  133. package/dist/components/Notification/atoms/ActionBadge.js +53 -0
  134. package/dist/components/Notification/atoms/ArchiveIcon.d.ts +7 -0
  135. package/dist/components/Notification/atoms/ArchiveIcon.d.ts.map +1 -0
  136. package/dist/components/Notification/atoms/ArchiveIcon.js +40 -0
  137. package/dist/components/Notification/atoms/InboxIcon.d.ts +7 -0
  138. package/dist/components/Notification/atoms/InboxIcon.d.ts.map +1 -0
  139. package/dist/components/Notification/atoms/InboxIcon.js +33 -0
  140. package/dist/components/Notification/atoms/MarkReadIcon.d.ts +7 -0
  141. package/dist/components/Notification/atoms/MarkReadIcon.d.ts.map +1 -0
  142. package/dist/components/Notification/atoms/MarkReadIcon.js +33 -0
  143. package/dist/components/Notification/atoms/ResourceIcon.d.ts +7 -0
  144. package/dist/components/Notification/atoms/ResourceIcon.d.ts.map +1 -0
  145. package/dist/components/Notification/atoms/TabBadge.d.ts +7 -0
  146. package/dist/components/Notification/atoms/TabBadge.d.ts.map +1 -0
  147. package/dist/components/Notification/atoms/TabBadge.js +32 -0
  148. package/dist/components/Notification/atoms/UnreadDot.d.ts +6 -0
  149. package/dist/components/Notification/atoms/UnreadDot.d.ts.map +1 -0
  150. package/dist/components/Notification/atoms/UnreadDot.js +23 -0
  151. package/dist/components/Notification/atoms/index.d.ts +5 -0
  152. package/dist/components/Notification/atoms/index.d.ts.map +1 -0
  153. package/dist/components/Notification/hooks/index.d.ts +8 -0
  154. package/dist/components/Notification/hooks/index.d.ts.map +1 -0
  155. package/dist/components/Notification/hooks/useInboxActions.d.ts +12 -0
  156. package/dist/components/Notification/hooks/useInboxActions.d.ts.map +1 -0
  157. package/dist/components/Notification/hooks/useInboxActions.js +58 -0
  158. package/dist/components/Notification/hooks/useInboxLoader.d.ts +8 -0
  159. package/dist/components/Notification/hooks/useInboxLoader.d.ts.map +1 -0
  160. package/dist/components/Notification/hooks/useInboxLoader.js +49 -0
  161. package/dist/components/Notification/hooks/useNotificationItem.d.ts +26 -0
  162. package/dist/components/Notification/hooks/useNotificationItem.d.ts.map +1 -0
  163. package/dist/components/Notification/hooks/useNotificationItem.js +51 -0
  164. package/dist/components/Notification/hooks/useNotificationStore.d.ts +49 -0
  165. package/dist/components/Notification/hooks/useNotificationStore.d.ts.map +1 -0
  166. package/dist/components/Notification/hooks/useNotificationStore.js +139 -0
  167. package/dist/components/Notification/hooks/useNotificationStream.d.ts +2 -0
  168. package/dist/components/Notification/hooks/useNotificationStream.d.ts.map +1 -0
  169. package/dist/components/Notification/hooks/useNotificationStream.js +86 -0
  170. package/dist/components/Notification/hooks/useNotificationTime.d.ts +2 -0
  171. package/dist/components/Notification/hooks/useNotificationTime.d.ts.map +1 -0
  172. package/dist/components/Notification/hooks/useNotificationTime.js +23 -0
  173. package/dist/components/Notification/hooks/useNotificationsApi.d.ts +25 -0
  174. package/dist/components/Notification/hooks/useNotificationsApi.d.ts.map +1 -0
  175. package/dist/components/Notification/hooks/useNotificationsApi.js +64 -0
  176. package/dist/components/Notification/lib/api.d.ts +4 -0
  177. package/dist/components/Notification/lib/api.d.ts.map +1 -0
  178. package/dist/components/Notification/lib/api.js +19 -0
  179. package/dist/components/Notification/lib/index.d.ts +5 -0
  180. package/dist/components/Notification/lib/index.d.ts.map +1 -0
  181. package/dist/components/Notification/lib/notificationText.d.ts +10 -0
  182. package/dist/components/Notification/lib/notificationText.d.ts.map +1 -0
  183. package/dist/components/Notification/lib/notificationText.js +131 -0
  184. package/dist/components/Notification/lib/stripHtml.d.ts +2 -0
  185. package/dist/components/Notification/lib/stripHtml.d.ts.map +1 -0
  186. package/dist/components/Notification/lib/stripHtml.js +6 -0
  187. package/dist/components/Notification/lib/types.d.ts +45 -0
  188. package/dist/components/Notification/lib/types.d.ts.map +1 -0
  189. package/dist/components/Notification/lib/types.js +9 -0
  190. package/dist/components/Notification/molecules/InboxEmpty.d.ts +8 -0
  191. package/dist/components/Notification/molecules/InboxEmpty.d.ts.map +1 -0
  192. package/dist/components/Notification/molecules/InboxEmpty.js +21 -0
  193. package/dist/components/Notification/molecules/InboxHeader.d.ts +17 -0
  194. package/dist/components/Notification/molecules/InboxHeader.d.ts.map +1 -0
  195. package/dist/components/Notification/molecules/InboxHeader.js +73 -0
  196. package/dist/components/Notification/molecules/InboxTabs.d.ts +15 -0
  197. package/dist/components/Notification/molecules/InboxTabs.d.ts.map +1 -0
  198. package/dist/components/Notification/molecules/InboxTabs.js +60 -0
  199. package/dist/components/Notification/molecules/NotificationActions.d.ts +9 -0
  200. package/dist/components/Notification/molecules/NotificationActions.d.ts.map +1 -0
  201. package/dist/components/Notification/molecules/NotificationActions.js +64 -0
  202. package/dist/components/Notification/molecules/NotificationAvatar.d.ts +17 -0
  203. package/dist/components/Notification/molecules/NotificationAvatar.d.ts.map +1 -0
  204. package/dist/components/Notification/molecules/NotificationAvatar.js +38 -0
  205. package/dist/components/Notification/molecules/NotificationContent.d.ts +22 -0
  206. package/dist/components/Notification/molecules/NotificationContent.d.ts.map +1 -0
  207. package/dist/components/Notification/molecules/NotificationContent.js +183 -0
  208. package/dist/components/Notification/molecules/index.d.ts +7 -0
  209. package/dist/components/Notification/molecules/index.d.ts.map +1 -0
  210. package/dist/components/Notification/organisms/InboxItem.d.ts +14 -0
  211. package/dist/components/Notification/organisms/InboxItem.d.ts.map +1 -0
  212. package/dist/components/Notification/organisms/InboxItem.js +100 -0
  213. package/dist/components/Notification/organisms/InboxPanel.d.ts +4 -0
  214. package/dist/components/Notification/organisms/InboxPanel.d.ts.map +1 -0
  215. package/dist/components/Notification/organisms/InboxPanel.js +99 -0
  216. package/dist/components/Notification/organisms/index.d.ts +3 -0
  217. package/dist/components/Notification/organisms/index.d.ts.map +1 -0
  218. package/dist/components/PillTabs/PillTabs.module.css.js +1 -1
  219. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  220. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  221. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  222. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  223. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  224. package/dist/components/modals/RemoveConfirmModal.js +27 -26
  225. package/dist/components/table/FrontTable.d.ts.map +1 -1
  226. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  227. package/dist/config/envConfig.d.ts +2 -0
  228. package/dist/config/envConfig.d.ts.map +1 -1
  229. package/dist/config/envConfig.js +29 -28
  230. package/dist/helpers/getFileIcons.js +5 -5
  231. package/dist/helpers/getFileType.d.ts.map +1 -1
  232. package/dist/helpers/getFileType.js +11 -2
  233. package/dist/helpers/platform.d.ts +1 -1
  234. package/dist/helpers/platform.d.ts.map +1 -1
  235. package/dist/helpers/platform.js +1 -0
  236. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  237. package/dist/helpers/showNotifications.module.css.js +1 -1
  238. package/dist/index.css +1 -1
  239. package/dist/index.d.ts +0 -2
  240. package/dist/index.d.ts.map +1 -1
  241. package/dist/index.js +560 -571
  242. package/dist/lang/locales/ui_en.json.js +1 -1
  243. package/dist/lang/locales/ui_es.json.js +1 -1
  244. package/dist/lang/locales/ui_ru.json.js +1 -1
  245. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.context.js +15 -0
  246. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.js +228 -0
  247. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.module.css.js +4 -0
  248. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioControls.js +19 -0
  249. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioMuteButton.js +30 -0
  250. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioPlayButton.js +40 -0
  251. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSkipButton.js +28 -0
  252. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpectrum.js +137 -0
  253. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpeedControl.js +31 -0
  254. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeDisplay.js +44 -0
  255. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeline.js +71 -0
  256. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioVolumeSlider.js +43 -0
  257. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioWaveform.js +166 -0
  258. package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/use-audio.js +201 -0
  259. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.context.js +15 -0
  260. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.js +272 -0
  261. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.module.css.js +4 -0
  262. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoCaptionsButton.js +55 -0
  263. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoControls.js +30 -0
  264. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoFullscreenButton.js +31 -0
  265. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoMuteButton.js +29 -0
  266. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPiPButton.js +29 -0
  267. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPlayButton.js +28 -0
  268. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoSkipButton.js +27 -0
  269. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeDisplay.js +44 -0
  270. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeline.js +70 -0
  271. package/dist/node_modules/@gfazioli/mantine-video/dist/esm/use-video.js +170 -0
  272. package/docs/README.md +499 -499
  273. package/package.json +80 -79
  274. package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts +0 -15
  275. package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts.map +0 -1
  276. package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.js +0 -36
  277. package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts +0 -14
  278. package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts.map +0 -1
  279. package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.js +0 -31
  280. package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts +0 -18
  281. package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts.map +0 -1
  282. package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.js +0 -35
  283. package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts +0 -33
  284. package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts.map +0 -1
  285. package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.js +0 -70
  286. package/dist/components/Notification/Notification.js +0 -119
  287. package/dist/components/Notification/NotificationCard.d.ts +0 -10
  288. package/dist/components/Notification/NotificationCard.d.ts.map +0 -1
  289. package/dist/components/Notification/NotificationCard.js +0 -93
  290. package/dist/components/VideoPlayer/VideoPlayer.d.ts +0 -24
  291. package/dist/components/VideoPlayer/VideoPlayer.d.ts.map +0 -1
  292. package/dist/components/VideoPlayer/VideoPlayer.js +0 -727
  293. package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts +0 -8
  294. package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts.map +0 -1
  295. package/dist/components/VideoPlayer/components/MobileDrawer/index.js +0 -67
  296. package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts +0 -7
  297. package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts.map +0 -1
  298. package/dist/components/VideoPlayer/components/SelectListOptionButton.js +0 -44
  299. package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts +0 -9
  300. package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts.map +0 -1
  301. package/dist/components/VideoPlayer/components/StoryboardPreview.js +0 -38
  302. package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts +0 -33
  303. package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts.map +0 -1
  304. package/dist/components/VideoPlayer/components/VideoCustomControls.js +0 -601
  305. package/dist/components/VideoPlayer/components/VideoIcons.d.ts +0 -25
  306. package/dist/components/VideoPlayer/components/VideoIcons.d.ts.map +0 -1
  307. package/dist/components/VideoPlayer/components/VideoIcons.js +0 -145
  308. package/dist/components/VideoPlayer/components/VideoMenu.d.ts +0 -27
  309. package/dist/components/VideoPlayer/components/VideoMenu.d.ts.map +0 -1
  310. package/dist/components/VideoPlayer/components/VideoMenu.js +0 -77
  311. package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts +0 -17
  312. package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts.map +0 -1
  313. package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.js +0 -289
  314. package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts +0 -10
  315. package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts.map +0 -1
  316. package/dist/components/VideoPlayer/components/VideoQualityMenu/index.js +0 -55
  317. package/dist/components/VideoPlayer/components/VideoSelect.d.ts +0 -10
  318. package/dist/components/VideoPlayer/components/VideoSelect.d.ts.map +0 -1
  319. package/dist/components/VideoPlayer/components/VideoSelect.js +0 -168
  320. package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts +0 -12
  321. package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts.map +0 -1
  322. package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.js +0 -48
  323. package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts +0 -25
  324. package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts.map +0 -1
  325. package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.js +0 -384
  326. package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts +0 -21
  327. package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts.map +0 -1
  328. package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.js +0 -264
  329. package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts +0 -10
  330. package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts.map +0 -1
  331. package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.js +0 -39
  332. package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +0 -14
  333. package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +0 -1
  334. package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.js +0 -360
  335. package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts +0 -16
  336. package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts.map +0 -1
  337. package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts +0 -14
  338. package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts.map +0 -1
  339. package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts +0 -4
  340. package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts.map +0 -1
  341. package/dist/components/VideoPlayer/components/VideoSettingsModal/context.js +0 -14
  342. package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts +0 -22
  343. package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts.map +0 -1
  344. package/dist/components/VideoPlayer/components/VideoSettingsModal/index.js +0 -211
  345. package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts +0 -11
  346. package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts.map +0 -1
  347. package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.js +0 -41
  348. package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts +0 -10
  349. package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts.map +0 -1
  350. package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.js +0 -69
  351. package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts +0 -21
  352. package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts.map +0 -1
  353. package/dist/components/VideoPlayer/hooks/useStoryboard.js +0 -91
  354. package/dist/components/VideoPlayer/index.d.ts +0 -11
  355. package/dist/components/VideoPlayer/index.d.ts.map +0 -1
  356. package/dist/components/VideoPlayer/types.d.ts +0 -101
  357. package/dist/components/VideoPlayer/types.d.ts.map +0 -1
  358. package/dist/components/VideoPlayer/utils/chapters.d.ts +0 -8
  359. package/dist/components/VideoPlayer/utils/chapters.d.ts.map +0 -1
  360. package/dist/components/VideoPlayer/utils/chapters.js +0 -38
  361. package/dist/components/VideoPlayer/utils/storyboard.d.ts +0 -5
  362. package/dist/components/VideoPlayer/utils/storyboard.d.ts.map +0 -1
  363. package/dist/components/VideoPlayer/utils/storyboard.js +0 -47
  364. package/dist/components/VideoPlayer/utils/subtitles.d.ts +0 -18
  365. package/dist/components/VideoPlayer/utils/subtitles.d.ts.map +0 -1
  366. package/dist/components/VideoPlayer/utils/subtitles.js +0 -23
  367. package/dist/components/VideoPlayer/utils/touch.d.ts +0 -3
  368. package/dist/components/VideoPlayer/utils/touch.d.ts.map +0 -1
  369. package/dist/components/VideoPlayer/utils/touch.js +0 -5
  370. package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts +0 -10
  371. package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts.map +0 -1
  372. package/dist/components/VideoPlayer/utils/videoPlayerUtils.js +0 -22
  373. package/dist/components/VideoPlayer/utils/videoSettings.d.ts +0 -69
  374. package/dist/components/VideoPlayer/utils/videoSettings.d.ts.map +0 -1
  375. package/dist/components/VideoPlayer/utils/videoSettings.js +0 -90
  376. package/dist/videoSettings/createVideoSettingsDataSource.d.ts +0 -19
  377. package/dist/videoSettings/createVideoSettingsDataSource.d.ts.map +0 -1
  378. package/dist/videoSettings/createVideoSettingsDataSource.js +0 -127
@@ -1,40 +1,39 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { Box as f } from "@mantine/core";
3
- import n from "./CustomKBD.module.css.js";
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { Box as n } from "@mantine/core";
3
+ import f from "./CustomKBD.module.css.js";
4
4
  const B = ({
5
5
  value: o,
6
6
  miw: r = 31,
7
7
  w: t = 16,
8
8
  mr: e = 0,
9
- fz: s = 12,
10
- fontFamily: m = "Space Mono",
11
- fw: a = 400,
12
- bbw: d = 2,
13
- br: i = 4,
14
- onClick: p = () => {
9
+ fz: m = 12,
10
+ fontFamily: s = "Space Mono",
11
+ fw: i = 400,
12
+ bbw: p = 2,
13
+ br: d = 4,
14
+ onClick: a = () => {
15
15
  },
16
- ...l
17
- }) => /* @__PURE__ */ c(
18
- f,
16
+ ...c
17
+ }) => /* @__PURE__ */ l(
18
+ n,
19
19
  {
20
- ...l,
21
- className: n.root,
22
- onClick: p,
20
+ ...c,
21
+ className: f.root,
22
+ onClick: a,
23
23
  py: 2,
24
24
  miw: r,
25
25
  w: t,
26
26
  mr: e,
27
- fw: a,
28
- fz: s,
27
+ fw: i,
28
+ fz: m,
29
29
  style: {
30
- borderRadius: i,
31
- borderBottomWidth: d,
32
- fontFamily: m
30
+ borderRadius: d,
31
+ borderBottomWidth: p,
32
+ fontFamily: s
33
33
  },
34
34
  children: o
35
35
  }
36
36
  );
37
37
  export {
38
- B as CustomKBD,
39
- B as default
38
+ B as CustomKBD
40
39
  };
@@ -56,5 +56,6 @@ export type EmojiPickerLocales = {
56
56
  gifs?: string;
57
57
  emojiCategory?: Record<string, string>;
58
58
  };
59
+ export declare function useEmojiPickerLocales(override?: EmojiPickerLocales): EmojiPickerLocales;
59
60
  export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, showGifs, onSelectGif, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, keepOpenOnRandom, showRandomButton, closeOnSelect, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
60
61
  //# sourceMappingURL=EmojiPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,gBAAgB,EAEhB,YAAY,EAEb,MAAM,eAAe,CAAC;AAWvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,mSAuBzB,iBAAiB,CAAC,gBAAgB,CAAC,4CA2PrC,CAAC"}
1
+ {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,gBAAgB,EAEhB,YAAY,EAEb,MAAM,eAAe,CAAC;AAWvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,wBAAgB,qBAAqB,CACnC,QAAQ,CAAC,EAAE,kBAAkB,GAC5B,kBAAkB,CA8BpB;AAED,eAAO,MAAM,WAAW,GAAI,mSAuBzB,iBAAiB,CAAC,gBAAgB,CAAC,4CAgOrC,CAAC"}
@@ -1,87 +1,94 @@
1
- import { jsxs as b, jsx as i } from "react/jsx-runtime";
2
- import { useState as d, useMemo as U, useEffect as N } from "react";
3
- import { useTranslation as V } from "react-i18next";
4
- import { Popover as j, Center as X, Tabs as o, Flex as P, Button as Y } from "@mantine/core";
5
- import { getEnvConfig as Z } from "../../config/envConfig.js";
6
- import { usePlatform as q } from "../../hooks/usePlatform.js";
7
- import { FilePickerGiphy as S } from "../FilePicker/FilePickerGiphy.js";
8
- import { IconEntity as W } from "../ProjectIcon/ProjectIcon.js";
9
- import { EmojiPanel as _ } from "./EmojiPanel.js";
10
- import { IconsPanel as ee } from "./IconsPanel.js";
11
- import l from "./EmojiPicker.module.css.js";
1
+ import { jsxs as h, jsx as o } from "react/jsx-runtime";
2
+ import { useState as d, useEffect as C, useMemo as K } from "react";
3
+ import { useTranslation as U } from "react-i18next";
4
+ import { Popover as j, Center as V, Tabs as i, Flex as P, Button as X } from "@mantine/core";
5
+ import { getEnvConfig as Y } from "../../config/envConfig.js";
6
+ import { usePlatform as Z } from "../../hooks/usePlatform.js";
7
+ import { FilePickerGiphy as _ } from "../FilePicker/FilePickerGiphy.js";
8
+ import { IconEntity as q } from "../ProjectIcon/ProjectIcon.js";
9
+ import { EmojiPanel as S } from "./EmojiPanel.js";
10
+ import { IconsPanel as W } from "./IconsPanel.js";
11
+ import a from "./EmojiPicker.module.css.js";
12
+ function ee(l) {
13
+ const { t: e } = U("ui");
14
+ return K(
15
+ () => ({
16
+ emojis: e("emojis"),
17
+ remove: e("remove"),
18
+ search: e("search"),
19
+ random: e("random"),
20
+ searchResults: e("emojiPicker.searchResults"),
21
+ icons: e("emojiPicker.icons"),
22
+ gifs: e("emojiPicker.gifs"),
23
+ searchNoResults: e("emojiPicker.searchNoResults"),
24
+ chooseColor: e("emojiPicker.chooseColor"),
25
+ emojiCategory: {
26
+ frequent: e("emojiPicker.categories.frequent"),
27
+ people: e("emojiPicker.categories.people"),
28
+ nature: e("emojiPicker.categories.nature"),
29
+ foods: e("emojiPicker.categories.foods"),
30
+ activity: e("emojiPicker.categories.activity"),
31
+ places: e("emojiPicker.categories.places"),
32
+ objects: e("emojiPicker.categories.objects"),
33
+ symbols: e("emojiPicker.categories.symbols"),
34
+ flags: e("emojiPicker.categories.flags"),
35
+ additional: e("emojiPicker.categories.additional"),
36
+ ...l?.emojiCategory
37
+ },
38
+ ...l
39
+ }),
40
+ [e, l]
41
+ );
42
+ }
12
43
  const de = ({
13
- project: R,
14
- value: s,
15
- querySearch: c,
16
- children: w,
44
+ project: l,
45
+ value: e,
46
+ querySearch: n,
47
+ children: N,
17
48
  onChange: p,
18
- position: D = "bottom-start",
19
- popoverProps: k,
49
+ position: R = "bottom-start",
50
+ popoverProps: b,
20
51
  showIcons: u,
21
- showColors: I,
22
- showGifs: E,
23
- onSelectGif: F,
24
- defaultActiveTab: L = null,
25
- showEmojis: n = !0,
26
- withinPortal: M = !1,
27
- locales: g,
28
- openWhen: h = "click",
29
- triggerRegex: y = /(^|\s):([^\s:]{1,})$/,
52
+ showColors: w,
53
+ showGifs: D,
54
+ onSelectGif: E,
55
+ defaultActiveTab: I = null,
56
+ showEmojis: c = !0,
57
+ withinPortal: L = !1,
58
+ locales: F,
59
+ openWhen: g = "click",
60
+ triggerRegex: k = /(^|\s):([^\s:]{1,})$/,
30
61
  typingSeq: m,
31
- showRemoveButton: z = !0,
32
- keepOpenOnRandom: A = !1,
33
- showRandomButton: B = !0,
34
- closeOnSelect: v = !0
62
+ showRemoveButton: M = !0,
63
+ keepOpenOnRandom: z = !1,
64
+ showRandomButton: A = !0,
65
+ closeOnSelect: y = !0
35
66
  }) => {
36
- const { t: e } = V("ui"), G = q(), x = !!E && G.has("giphy") && Z().media?.giphyEnabled !== !1, [f, r] = d(!1), [H, T] = d(L), [O, Q] = d(s || null), [C, $] = d(null), t = U(() => ({
37
- emojis: e("emojis"),
38
- remove: e("remove"),
39
- search: e("search"),
40
- random: e("random"),
41
- searchResults: e("emojiPicker.searchResults"),
42
- icons: e("emojiPicker.icons"),
43
- gifs: e("emojiPicker.gifs"),
44
- searchNoResults: e("emojiPicker.searchNoResults"),
45
- chooseColor: e("emojiPicker.chooseColor"),
46
- emojiCategory: {
47
- frequent: e("emojiPicker.categories.frequent"),
48
- people: e("emojiPicker.categories.people"),
49
- nature: e("emojiPicker.categories.nature"),
50
- foods: e("emojiPicker.categories.foods"),
51
- activity: e("emojiPicker.categories.activity"),
52
- places: e("emojiPicker.categories.places"),
53
- objects: e("emojiPicker.categories.objects"),
54
- symbols: e("emojiPicker.categories.symbols"),
55
- flags: e("emojiPicker.categories.flags"),
56
- additional: e("emojiPicker.categories.additional"),
57
- ...g?.emojiCategory
58
- },
59
- ...g
60
- }), [e, g]);
61
- N(() => {
62
- const a = u && W.parse(s)?.icon ? "icons" : n ? "emojis" : null;
63
- !f && a && T(a);
64
- }, [f, n, u, s]), N(() => {
65
- if (h !== "realtime" || typeof m != "number" || C === m) return;
66
- $(m);
67
- const a = c ?? "", K = !!n && y.test(a);
68
- r(K);
67
+ const B = Z(), v = !!D && B.has("giphy") && Y().media?.giphyEnabled !== !1, [f, s] = d(!1), [G, x] = d(I), [H, O] = d(e || null), [T, Q] = d(null), t = ee(F);
68
+ C(() => {
69
+ const r = u && q.parse(e)?.icon ? "icons" : c ? "emojis" : null;
70
+ !f && r && x(r);
71
+ }, [f, c, u, e]), C(() => {
72
+ if (g !== "realtime" || typeof m != "number" || T === m) return;
73
+ Q(m);
74
+ const r = n ?? "", J = !!c && k.test(r);
75
+ s(J);
69
76
  }, [
70
- h,
77
+ g,
71
78
  m,
72
- C,
73
- c,
74
- y,
75
- n
79
+ T,
80
+ n,
81
+ k,
82
+ c
76
83
  ]);
77
- const J = typeof c == "string";
78
- return /* @__PURE__ */ b(
84
+ const $ = typeof n == "string";
85
+ return /* @__PURE__ */ h(
79
86
  j,
80
87
  {
81
- withinPortal: M,
88
+ withinPortal: L,
82
89
  opened: f,
83
- onChange: r,
84
- position: D,
90
+ onChange: s,
91
+ position: R,
85
92
  radius: "var(--mantine-spacing-sm)",
86
93
  styles: {
87
94
  dropdown: {
@@ -104,20 +111,20 @@ const de = ({
104
111
  ]
105
112
  }
106
113
  },
107
- ...k || {},
114
+ ...b || {},
108
115
  children: [
109
- /* @__PURE__ */ i(j.Target, { children: /* @__PURE__ */ i(
110
- X,
116
+ /* @__PURE__ */ o(j.Target, { children: /* @__PURE__ */ o(
117
+ V,
111
118
  {
112
- onClick: h === "click" && !k?.disabled ? () => r(!f) : void 0,
113
- children: w ?? O
119
+ onClick: g === "click" && !b?.disabled ? () => s(!f) : void 0,
120
+ children: N ?? H
114
121
  }
115
122
  ) }),
116
- /* @__PURE__ */ i(j.Dropdown, { w: "380px", children: /* @__PURE__ */ b(
117
- o,
123
+ /* @__PURE__ */ o(j.Dropdown, { w: "380px", children: /* @__PURE__ */ h(
124
+ i,
118
125
  {
119
- value: H,
120
- onChange: T,
126
+ value: G,
127
+ onChange: x,
121
128
  keepMounted: !1,
122
129
  h: "100%",
123
130
  styles: {
@@ -134,8 +141,8 @@ const de = ({
134
141
  }
135
142
  },
136
143
  children: [
137
- !J && /* @__PURE__ */ b(
138
- o.List,
144
+ !$ && /* @__PURE__ */ h(
145
+ i.List,
139
146
  {
140
147
  style: {
141
148
  gap: "4px"
@@ -143,38 +150,38 @@ const de = ({
143
150
  h: 54,
144
151
  px: 8,
145
152
  children: [
146
- n && /* @__PURE__ */ i(
147
- o.Tab,
153
+ c && /* @__PURE__ */ o(
154
+ i.Tab,
148
155
  {
149
- className: l.originalTab,
156
+ className: a.originalTab,
150
157
  h: "100%",
151
158
  p: 0,
152
159
  value: "emojis",
153
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.emojis })
160
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.emojis })
154
161
  }
155
162
  ),
156
- u && /* @__PURE__ */ i(
157
- o.Tab,
163
+ u && /* @__PURE__ */ o(
164
+ i.Tab,
158
165
  {
159
- className: l.originalTab,
166
+ className: a.originalTab,
160
167
  h: "100%",
161
168
  p: 0,
162
169
  value: "icons",
163
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.icons })
170
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.icons })
164
171
  }
165
172
  ),
166
- x && /* @__PURE__ */ i(
167
- o.Tab,
173
+ v && /* @__PURE__ */ o(
174
+ i.Tab,
168
175
  {
169
- className: l.originalTab,
176
+ className: a.originalTab,
170
177
  h: "100%",
171
178
  p: 0,
172
179
  value: "gifs",
173
- children: /* @__PURE__ */ i(P, { className: l.customTab, px: "sm", h: 36, children: t.gifs })
180
+ children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.gifs })
174
181
  }
175
182
  ),
176
- !!String(s) && z && /* @__PURE__ */ i(
177
- Y,
183
+ !!String(e) && M && /* @__PURE__ */ o(
184
+ X,
178
185
  {
179
186
  variant: "subtle",
180
187
  fz: "sm",
@@ -191,53 +198,53 @@ const de = ({
191
198
  ]
192
199
  }
193
200
  ),
194
- /* @__PURE__ */ i(o.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ i(
195
- _,
201
+ /* @__PURE__ */ o(i.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ o(
202
+ S,
196
203
  {
197
204
  onChange: p,
198
- value: s,
199
- querySearch: c,
205
+ value: e,
206
+ querySearch: n,
200
207
  locales: t,
201
- setRandomIcon: Q,
202
- showRandomButton: B,
203
- onClose: v ? () => r(!1) : () => {
208
+ setRandomIcon: O,
209
+ showRandomButton: A,
210
+ onClose: y ? () => s(!1) : () => {
204
211
  }
205
212
  }
206
213
  ) }),
207
- /* @__PURE__ */ i(
208
- o.Panel,
214
+ /* @__PURE__ */ o(
215
+ i.Panel,
209
216
  {
210
217
  mah: 470,
211
218
  h: "100%",
212
219
  style: { overflow: "auto" },
213
220
  value: "icons",
214
- children: /* @__PURE__ */ i(
215
- ee,
221
+ children: /* @__PURE__ */ o(
222
+ W,
216
223
  {
217
- project: R,
224
+ project: l,
218
225
  onChange: p,
219
- value: s,
226
+ value: e,
220
227
  locales: t,
221
- showColors: I,
222
- keepOpenOnRandom: A,
223
- onClose: v ? () => r(!1) : () => {
228
+ showColors: w,
229
+ keepOpenOnRandom: z,
230
+ onClose: y ? () => s(!1) : () => {
224
231
  }
225
232
  }
226
233
  )
227
234
  }
228
235
  ),
229
- x && /* @__PURE__ */ i(
230
- o.Panel,
236
+ v && /* @__PURE__ */ o(
237
+ i.Panel,
231
238
  {
232
239
  mah: 470,
233
240
  style: { overflow: "auto" },
234
241
  p: "sm",
235
242
  value: "gifs",
236
- children: /* @__PURE__ */ i(
237
- S,
243
+ children: /* @__PURE__ */ o(
244
+ _,
238
245
  {
239
- onChange: (a) => {
240
- F?.(a), r(!1);
246
+ onChange: (r) => {
247
+ E?.(r), s(!1);
241
248
  }
242
249
  }
243
250
  )
@@ -251,5 +258,6 @@ const de = ({
251
258
  );
252
259
  };
253
260
  export {
254
- de as EmojiPicker
261
+ de as EmojiPicker,
262
+ ee as useEmojiPickerLocales
255
263
  };
@@ -1,13 +1,13 @@
1
- const o = "_item_o1hlf_1", a = "_randomIcon_o1hlf_26", n = "_originalTab_o1hlf_30", t = "_customTab_o1hlf_36", _ = {
1
+ const o = "_item_s1gb0_1", s = "_randomIcon_s1gb0_51", a = "_originalTab_s1gb0_59", n = "_customTab_s1gb0_71", t = {
2
2
  item: o,
3
- randomIcon: a,
4
- originalTab: n,
5
- customTab: t
3
+ randomIcon: s,
4
+ originalTab: a,
5
+ customTab: n
6
6
  };
7
7
  export {
8
- t as customTab,
9
- _ as default,
8
+ n as customTab,
9
+ t as default,
10
10
  o as item,
11
- n as originalTab,
12
- a as randomIcon
11
+ a as originalTab,
12
+ s as randomIcon
13
13
  };
@@ -3,17 +3,16 @@ declare global {
3
3
  isTitleFocused: boolean;
4
4
  }
5
5
  }
6
- export declare const EntityTitle: ({ lock, title, handleTitle, error, isReadOnly, accessEdit, nowrap, maxLength, fw, onPressEnter, }: {
6
+ export declare const EntityTitle: import("react").MemoExoticComponent<({ title, handleTitle, placeholder, error, isReadOnly, nowrap, maxLength, fw, onPressEnter, onBlur, }: {
7
7
  title: string;
8
- lock?: boolean;
9
8
  handleTitle?: (title: string) => void;
10
9
  placeholder?: string;
11
10
  error?: boolean;
12
11
  isReadOnly?: boolean;
13
- accessEdit?: boolean;
14
12
  nowrap?: boolean;
15
13
  maxLength?: number;
16
14
  fw?: number;
17
15
  onPressEnter?: () => void;
18
- }) => import("react/jsx-runtime").JSX.Element;
16
+ onBlur?: () => void;
17
+ }) => import("react/jsx-runtime").JSX.Element>;
19
18
  //# sourceMappingURL=EntityTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityTitle.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTitle/EntityTitle.tsx"],"names":[],"mappings":"AAcA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,cAAc,EAAE,OAAO,CAAC;KACzB;CACF;AAED,eAAO,MAAM,WAAW,GAAI,mGAWzB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,4CA8FA,CAAC"}
1
+ {"version":3,"file":"EntityTitle.d.ts","sourceRoot":"","sources":["../../../src/components/EntityTitle/EntityTitle.tsx"],"names":[],"mappings":"AAcA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,cAAc,EAAE,OAAO,CAAC;KACzB;CACF;AAED,eAAO,MAAM,WAAW,6IAYnB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,6CA+FF,CAAC"}
@@ -1,86 +1,87 @@
1
- import { jsx as r, Fragment as v } from "react/jsx-runtime";
2
- import { useRef as x, useLayoutEffect as F } from "react";
3
- import { useTranslation as T } from "react-i18next";
4
- import { useLocation as D } from "react-router-dom";
5
- import { Textarea as E } from "@mantine/core";
1
+ import { jsx as r, Fragment as g } from "react/jsx-runtime";
2
+ import { memo as v, useRef as x, useLayoutEffect as F } from "react";
3
+ import { useLocation as T } from "react-router-dom";
4
+ import { Textarea as D } from "@mantine/core";
6
5
  import s from "./EntityTitle.module.css.js";
7
- const q = ({
8
- lock: c,
9
- title: t,
10
- handleTitle: u,
11
- error: i,
12
- isReadOnly: f = !1,
13
- accessEdit: m = !0,
14
- nowrap: d = !1,
15
- maxLength: h = 255,
16
- fw: p,
17
- onPressEnter: w
18
- }) => {
19
- const { t: y } = T("projects"), g = D(), { isNewPage: a } = g.state || {}, o = x(null), l = !m || c || f;
20
- return F(() => {
21
- if ((a || t === "") && o.current) {
22
- const e = o.current;
23
- requestAnimationFrame(() => {
24
- a && (e.focus(), e.setSelectionRange(
25
- e.value.length,
26
- e.value.length
27
- ));
28
- });
29
- }
30
- }, [a, o.current, l]), /* @__PURE__ */ r(v, { children: l ? /* @__PURE__ */ r(
31
- "h1",
32
- {
33
- style: {
34
- overflowWrap: "anywhere"
35
- },
36
- "data-empty": String(!t),
37
- className: s.EntityTitle,
38
- children: t
39
- }
40
- ) : /* @__PURE__ */ r(
41
- E,
42
- {
43
- "data-mantine-stop-propagation": "true",
44
- ref: o,
45
- onKeyDown: (e) => {
46
- e.key === "Enter" && (w?.(), e.preventDefault());
47
- },
48
- onBlur: (e) => {
49
- window.isTitleFocused = !1;
50
- const n = e.currentTarget.value.trim();
51
- n !== t && u?.(n);
52
- },
53
- onChange: (e) => {
54
- const n = e.currentTarget.value;
55
- u?.(n);
56
- },
57
- onFocus: () => {
58
- window.isTitleFocused = !0;
59
- },
60
- value: t,
61
- placeholder: y("common.taskName"),
62
- maxLength: h,
63
- unstyled: !0,
64
- autosize: !0,
65
- "data-autofocus": !0,
66
- "data-error": !!i,
67
- classNames: {
68
- input: s.textareaInput,
69
- root: s.textareaRoot
70
- },
71
- styles: {
72
- input: {
73
- fontWeight: p || 400,
74
- ...d && {
75
- whiteSpace: "nowrap",
76
- overflowX: "auto",
77
- overflowY: "hidden"
6
+ const j = v(
7
+ ({
8
+ title: t,
9
+ handleTitle: u,
10
+ placeholder: c,
11
+ error: i,
12
+ isReadOnly: f = !1,
13
+ nowrap: d = !1,
14
+ maxLength: m = 255,
15
+ fw: h,
16
+ onPressEnter: p,
17
+ onBlur: w
18
+ }) => {
19
+ const y = T(), { isNewPage: a } = y.state || {}, n = x(null), l = f;
20
+ return F(() => {
21
+ if ((a || t === "") && n.current) {
22
+ const e = n.current;
23
+ requestAnimationFrame(() => {
24
+ a && (e.focus(), e.setSelectionRange(
25
+ e.value.length,
26
+ e.value.length
27
+ ));
28
+ });
29
+ }
30
+ }, [a, n.current, l]), /* @__PURE__ */ r(g, { children: l ? /* @__PURE__ */ r(
31
+ "h1",
32
+ {
33
+ style: {
34
+ overflowWrap: "anywhere"
35
+ },
36
+ "data-empty": String(!t),
37
+ className: s.EntityTitle,
38
+ children: t
39
+ }
40
+ ) : /* @__PURE__ */ r(
41
+ D,
42
+ {
43
+ "data-mantine-stop-propagation": "true",
44
+ ref: n,
45
+ onKeyDown: (e) => {
46
+ e.key === "Enter" && (p?.(), e.preventDefault());
47
+ },
48
+ onBlur: (e) => {
49
+ window.isTitleFocused = !1;
50
+ const o = e.currentTarget.value.trim();
51
+ w?.(), o !== t && u?.(o);
52
+ },
53
+ onChange: (e) => {
54
+ const o = e.currentTarget.value;
55
+ u?.(o);
56
+ },
57
+ onFocus: () => {
58
+ window.isTitleFocused = !0;
59
+ },
60
+ value: t,
61
+ placeholder: c,
62
+ maxLength: m,
63
+ unstyled: !0,
64
+ autosize: !0,
65
+ "data-autofocus": !0,
66
+ "data-error": !!i,
67
+ classNames: {
68
+ input: s.textareaInput,
69
+ root: s.textareaRoot
70
+ },
71
+ styles: {
72
+ input: {
73
+ fontWeight: h || 400,
74
+ ...d && {
75
+ whiteSpace: "nowrap",
76
+ overflowX: "auto",
77
+ overflowY: "hidden"
78
+ }
78
79
  }
79
80
  }
80
81
  }
81
- }
82
- ) });
83
- };
82
+ ) });
83
+ }
84
+ );
84
85
  export {
85
- q as EntityTitle
86
+ j as EntityTitle
86
87
  };
@@ -1,4 +1,4 @@
1
- const t = "_textareaRoot_1ubu6_27", e = "_textareaInput_1ubu6_31", a = {
1
+ const t = "_textareaRoot_1bpsw_53", e = "_textareaInput_1bpsw_61", a = {
2
2
  textareaRoot: t,
3
3
  textareaInput: e
4
4
  };