@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.
- package/dist/assets/default-workspace-avatar.jpg.js +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +32 -32
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/AppContainer.js +76 -71
- package/dist/components/AppContainer/AppContainer.module.css.js +14 -14
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +77 -49
- package/dist/components/AppContainer/components/NavbarContent.d.ts.map +1 -1
- package/dist/components/AppContainer/components/NavbarContent.js +16 -2
- package/dist/components/AppContainer/components/ToolSidebar.d.ts +5 -0
- package/dist/components/AppContainer/components/ToolSidebar.d.ts.map +1 -1
- package/dist/components/AppContainer/components/ToolSidebar.js +42 -30
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +90 -90
- package/dist/components/AppContainer/types.d.ts +12 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +0 -2
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +17 -22
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +22 -22
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +120 -172
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +28 -32
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +3 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +237 -93
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +22 -20
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +4 -4
- package/dist/components/Chat/CallMessage/CallMessage.module.css.js +8 -8
- package/dist/components/Chat/ChatBubble/ChatBubble.module.css.js +1 -1
- package/dist/components/Chat/ChatHeader/ChatHeader.module.css.js +1 -1
- package/dist/components/Chat/ChatInput/ChatInput.module.css.js +44 -44
- package/dist/components/Chat/ChatInput/index.d.ts +13 -1
- package/dist/components/Chat/ChatInput/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatInput/index.js +264 -164
- package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts +16 -0
- package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts.map +1 -0
- package/dist/components/Chat/ChatInput/useVoiceRecorder.js +83 -0
- package/dist/components/Chat/ChatLayout/ChatLayout.module.css.js +4 -4
- package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +20 -16
- package/dist/components/Chat/ChatMessage/index.d.ts +16 -0
- package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatMessage/index.js +153 -118
- package/dist/components/Chat/ChatPill/ChatPill.module.css.js +1 -1
- package/dist/components/Chat/DialogItem/DialogItem.module.css.js +4 -4
- package/dist/components/Chat/DialogList/DialogList.module.css.js +1 -1
- package/dist/components/Chat/MediaDocument/MediaDocument.module.css.js +4 -4
- package/dist/components/Chat/MessageActions/MessageActions.module.css.js +1 -1
- package/dist/components/Chat/MessageActions/index.d.ts +2 -0
- package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageActions/index.js +188 -50
- package/dist/components/Chat/MessageAuthor/index.d.ts +7 -1
- package/dist/components/Chat/MessageAuthor/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageAuthor/index.js +39 -25
- package/dist/components/Chat/MessageForward/MessageForward.module.css.js +1 -1
- package/dist/components/Chat/MessageList/MessageList.module.css.js +14 -12
- package/dist/components/Chat/MessageList/index.d.ts +17 -25
- package/dist/components/Chat/MessageList/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageList/index.js +201 -149
- package/dist/components/Chat/MessageMeta/MessageMeta.module.css.js +3 -3
- package/dist/components/Chat/MessageReactions/MessageReactions.module.css.js +12 -12
- package/dist/components/Chat/MessageReply/MessageReply.module.css.js +7 -7
- package/dist/components/Chat/MessageStatus/MessageStatus.module.css.js +8 -8
- package/dist/components/Chat/ServiceMessage/ServiceMessage.module.css.js +1 -1
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.module.css.js +32 -26
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerList.js +83 -72
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +1 -0
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +94 -85
- package/dist/components/ColorPicker/icons.js +5 -5
- package/dist/components/ColorPicker/types.d.ts +6 -0
- package/dist/components/ColorPicker/types.d.ts.map +1 -1
- package/dist/components/ColorPicker/types.js +53 -11
- package/dist/components/ColorPicker/useRecentColors.d.ts +3 -1
- package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -1
- package/dist/components/ColorPicker/useRecentColors.js +43 -20
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +2 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +29 -26
- package/dist/components/CommentComposer/index.d.ts +1 -1
- package/dist/components/CommentComposer/index.d.ts.map +1 -1
- package/dist/components/CommentComposer/index.js +70 -68
- package/dist/components/CommentComposer/types.d.ts +6 -0
- package/dist/components/CommentComposer/types.d.ts.map +1 -1
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
- package/dist/components/CustomKBD/index.js +21 -22
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +129 -121
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EntityTitle/EntityTitle.d.ts +3 -4
- package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
- package/dist/components/EntityTitle/EntityTitle.js +81 -80
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.module.css.js +7 -7
- package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/helpers/conditions.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/conditions.js +33 -17
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
- package/dist/components/Loaders/styles.module.css.js +6 -6
- package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +23 -23
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/InfiniteScroll.d.ts +12 -0
- package/dist/components/Notification/InfiniteScroll.d.ts.map +1 -0
- package/dist/components/Notification/InfiniteScroll.js +42 -0
- package/dist/components/Notification/Notification.d.ts +4 -1
- package/dist/components/Notification/Notification.d.ts.map +1 -1
- package/dist/components/Notification/Notification.module.css.js +28 -4
- package/dist/components/Notification/atoms/ActionBadge.d.ts +11 -0
- package/dist/components/Notification/atoms/ActionBadge.d.ts.map +1 -0
- package/dist/components/Notification/atoms/ActionBadge.js +53 -0
- package/dist/components/Notification/atoms/ArchiveIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/ArchiveIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/ArchiveIcon.js +40 -0
- package/dist/components/Notification/atoms/InboxIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/InboxIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/InboxIcon.js +33 -0
- package/dist/components/Notification/atoms/MarkReadIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/MarkReadIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/MarkReadIcon.js +33 -0
- package/dist/components/Notification/atoms/ResourceIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/ResourceIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/TabBadge.d.ts +7 -0
- package/dist/components/Notification/atoms/TabBadge.d.ts.map +1 -0
- package/dist/components/Notification/atoms/TabBadge.js +32 -0
- package/dist/components/Notification/atoms/UnreadDot.d.ts +6 -0
- package/dist/components/Notification/atoms/UnreadDot.d.ts.map +1 -0
- package/dist/components/Notification/atoms/UnreadDot.js +23 -0
- package/dist/components/Notification/atoms/index.d.ts +5 -0
- package/dist/components/Notification/atoms/index.d.ts.map +1 -0
- package/dist/components/Notification/hooks/index.d.ts +8 -0
- package/dist/components/Notification/hooks/index.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxActions.d.ts +12 -0
- package/dist/components/Notification/hooks/useInboxActions.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxActions.js +58 -0
- package/dist/components/Notification/hooks/useInboxLoader.d.ts +8 -0
- package/dist/components/Notification/hooks/useInboxLoader.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxLoader.js +49 -0
- package/dist/components/Notification/hooks/useNotificationItem.d.ts +26 -0
- package/dist/components/Notification/hooks/useNotificationItem.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationItem.js +51 -0
- package/dist/components/Notification/hooks/useNotificationStore.d.ts +49 -0
- package/dist/components/Notification/hooks/useNotificationStore.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationStore.js +139 -0
- package/dist/components/Notification/hooks/useNotificationStream.d.ts +2 -0
- package/dist/components/Notification/hooks/useNotificationStream.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationStream.js +86 -0
- package/dist/components/Notification/hooks/useNotificationTime.d.ts +2 -0
- package/dist/components/Notification/hooks/useNotificationTime.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationTime.js +23 -0
- package/dist/components/Notification/hooks/useNotificationsApi.d.ts +25 -0
- package/dist/components/Notification/hooks/useNotificationsApi.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationsApi.js +64 -0
- package/dist/components/Notification/lib/api.d.ts +4 -0
- package/dist/components/Notification/lib/api.d.ts.map +1 -0
- package/dist/components/Notification/lib/api.js +19 -0
- package/dist/components/Notification/lib/index.d.ts +5 -0
- package/dist/components/Notification/lib/index.d.ts.map +1 -0
- package/dist/components/Notification/lib/notificationText.d.ts +10 -0
- package/dist/components/Notification/lib/notificationText.d.ts.map +1 -0
- package/dist/components/Notification/lib/notificationText.js +131 -0
- package/dist/components/Notification/lib/stripHtml.d.ts +2 -0
- package/dist/components/Notification/lib/stripHtml.d.ts.map +1 -0
- package/dist/components/Notification/lib/stripHtml.js +6 -0
- package/dist/components/Notification/lib/types.d.ts +45 -0
- package/dist/components/Notification/lib/types.d.ts.map +1 -0
- package/dist/components/Notification/lib/types.js +9 -0
- package/dist/components/Notification/molecules/InboxEmpty.d.ts +8 -0
- package/dist/components/Notification/molecules/InboxEmpty.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxEmpty.js +21 -0
- package/dist/components/Notification/molecules/InboxHeader.d.ts +17 -0
- package/dist/components/Notification/molecules/InboxHeader.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxHeader.js +73 -0
- package/dist/components/Notification/molecules/InboxTabs.d.ts +15 -0
- package/dist/components/Notification/molecules/InboxTabs.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxTabs.js +60 -0
- package/dist/components/Notification/molecules/NotificationActions.d.ts +9 -0
- package/dist/components/Notification/molecules/NotificationActions.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationActions.js +64 -0
- package/dist/components/Notification/molecules/NotificationAvatar.d.ts +17 -0
- package/dist/components/Notification/molecules/NotificationAvatar.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationAvatar.js +38 -0
- package/dist/components/Notification/molecules/NotificationContent.d.ts +22 -0
- package/dist/components/Notification/molecules/NotificationContent.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationContent.js +183 -0
- package/dist/components/Notification/molecules/index.d.ts +7 -0
- package/dist/components/Notification/molecules/index.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxItem.d.ts +14 -0
- package/dist/components/Notification/organisms/InboxItem.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxItem.js +100 -0
- package/dist/components/Notification/organisms/InboxPanel.d.ts +4 -0
- package/dist/components/Notification/organisms/InboxPanel.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxPanel.js +99 -0
- package/dist/components/Notification/organisms/index.d.ts +3 -0
- package/dist/components/Notification/organisms/index.d.ts.map +1 -0
- package/dist/components/PillTabs/PillTabs.module.css.js +1 -1
- package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
- package/dist/components/SettingsSection/styles.module.css.js +1 -1
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
- package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
- package/dist/components/modals/RemoveConfirmModal.js +27 -26
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/config/envConfig.d.ts +2 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +29 -28
- package/dist/helpers/getFileIcons.js +5 -5
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +11 -2
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +1 -0
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +560 -571
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +1 -1
- package/dist/lang/locales/ui_ru.json.js +1 -1
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.context.js +15 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.js +228 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.module.css.js +4 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioControls.js +19 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioMuteButton.js +30 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioPlayButton.js +40 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSkipButton.js +28 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpectrum.js +137 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpeedControl.js +31 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeDisplay.js +44 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeline.js +71 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioVolumeSlider.js +43 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioWaveform.js +166 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/use-audio.js +201 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.context.js +15 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.js +272 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.module.css.js +4 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoCaptionsButton.js +55 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoControls.js +30 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoFullscreenButton.js +31 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoMuteButton.js +29 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPiPButton.js +29 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPlayButton.js +28 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoSkipButton.js +27 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeDisplay.js +44 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeline.js +70 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/use-video.js +170 -0
- package/docs/README.md +499 -499
- package/package.json +80 -79
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts +0 -15
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.js +0 -36
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts +0 -14
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.js +0 -31
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts +0 -18
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.js +0 -35
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts +0 -33
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.js +0 -70
- package/dist/components/Notification/Notification.js +0 -119
- package/dist/components/Notification/NotificationCard.d.ts +0 -10
- package/dist/components/Notification/NotificationCard.d.ts.map +0 -1
- package/dist/components/Notification/NotificationCard.js +0 -93
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +0 -24
- package/dist/components/VideoPlayer/VideoPlayer.d.ts.map +0 -1
- package/dist/components/VideoPlayer/VideoPlayer.js +0 -727
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts +0 -8
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/MobileDrawer/index.js +0 -67
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts +0 -7
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/SelectListOptionButton.js +0 -44
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts +0 -9
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/StoryboardPreview.js +0 -38
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts +0 -33
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoCustomControls.js +0 -601
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts +0 -25
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoIcons.js +0 -145
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts +0 -27
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoMenu.js +0 -77
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts +0 -17
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.js +0 -289
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts +0 -10
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.js +0 -55
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts +0 -10
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSelect.js +0 -168
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts +0 -12
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.js +0 -48
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts +0 -25
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.js +0 -384
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts +0 -21
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.js +0 -264
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts +0 -10
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.js +0 -39
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +0 -14
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.js +0 -360
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts +0 -16
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts +0 -14
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts +0 -4
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.js +0 -14
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts +0 -22
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.js +0 -211
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts +0 -11
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.js +0 -41
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts +0 -10
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.js +0 -69
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts +0 -21
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts.map +0 -1
- package/dist/components/VideoPlayer/hooks/useStoryboard.js +0 -91
- package/dist/components/VideoPlayer/index.d.ts +0 -11
- package/dist/components/VideoPlayer/index.d.ts.map +0 -1
- package/dist/components/VideoPlayer/types.d.ts +0 -101
- package/dist/components/VideoPlayer/types.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/chapters.d.ts +0 -8
- package/dist/components/VideoPlayer/utils/chapters.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/chapters.js +0 -38
- package/dist/components/VideoPlayer/utils/storyboard.d.ts +0 -5
- package/dist/components/VideoPlayer/utils/storyboard.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/storyboard.js +0 -47
- package/dist/components/VideoPlayer/utils/subtitles.d.ts +0 -18
- package/dist/components/VideoPlayer/utils/subtitles.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/subtitles.js +0 -23
- package/dist/components/VideoPlayer/utils/touch.d.ts +0 -3
- package/dist/components/VideoPlayer/utils/touch.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/touch.js +0 -5
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts +0 -10
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.js +0 -22
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts +0 -69
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts.map +0 -1
- package/dist/components/VideoPlayer/utils/videoSettings.js +0 -90
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts +0 -19
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts.map +0 -1
- package/dist/videoSettings/createVideoSettingsDataSource.js +0 -127
|
@@ -1,40 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Box as
|
|
3
|
-
import
|
|
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:
|
|
10
|
-
fontFamily:
|
|
11
|
-
fw:
|
|
12
|
-
bbw:
|
|
13
|
-
br:
|
|
14
|
-
onClick:
|
|
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
|
-
...
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
|
|
16
|
+
...c
|
|
17
|
+
}) => /* @__PURE__ */ l(
|
|
18
|
+
n,
|
|
19
19
|
{
|
|
20
|
-
...
|
|
21
|
-
className:
|
|
22
|
-
onClick:
|
|
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:
|
|
28
|
-
fz:
|
|
27
|
+
fw: i,
|
|
28
|
+
fz: m,
|
|
29
29
|
style: {
|
|
30
|
-
borderRadius:
|
|
31
|
-
borderBottomWidth:
|
|
32
|
-
fontFamily:
|
|
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,
|
|
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
|
|
2
|
-
import { useState as d,
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { Popover as j, Center as
|
|
5
|
-
import { getEnvConfig as
|
|
6
|
-
import { usePlatform as
|
|
7
|
-
import { FilePickerGiphy as
|
|
8
|
-
import { IconEntity as
|
|
9
|
-
import { EmojiPanel as
|
|
10
|
-
import { IconsPanel as
|
|
11
|
-
import
|
|
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:
|
|
14
|
-
value:
|
|
15
|
-
querySearch:
|
|
16
|
-
children:
|
|
44
|
+
project: l,
|
|
45
|
+
value: e,
|
|
46
|
+
querySearch: n,
|
|
47
|
+
children: N,
|
|
17
48
|
onChange: p,
|
|
18
|
-
position:
|
|
19
|
-
popoverProps:
|
|
49
|
+
position: R = "bottom-start",
|
|
50
|
+
popoverProps: b,
|
|
20
51
|
showIcons: u,
|
|
21
|
-
showColors:
|
|
22
|
-
showGifs:
|
|
23
|
-
onSelectGif:
|
|
24
|
-
defaultActiveTab:
|
|
25
|
-
showEmojis:
|
|
26
|
-
withinPortal:
|
|
27
|
-
locales:
|
|
28
|
-
openWhen:
|
|
29
|
-
triggerRegex:
|
|
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:
|
|
32
|
-
keepOpenOnRandom:
|
|
33
|
-
showRandomButton:
|
|
34
|
-
closeOnSelect:
|
|
62
|
+
showRemoveButton: M = !0,
|
|
63
|
+
keepOpenOnRandom: z = !1,
|
|
64
|
+
showRandomButton: A = !0,
|
|
65
|
+
closeOnSelect: y = !0
|
|
35
66
|
}) => {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
77
|
+
g,
|
|
71
78
|
m,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
79
|
+
T,
|
|
80
|
+
n,
|
|
81
|
+
k,
|
|
82
|
+
c
|
|
76
83
|
]);
|
|
77
|
-
const
|
|
78
|
-
return /* @__PURE__ */
|
|
84
|
+
const $ = typeof n == "string";
|
|
85
|
+
return /* @__PURE__ */ h(
|
|
79
86
|
j,
|
|
80
87
|
{
|
|
81
|
-
withinPortal:
|
|
88
|
+
withinPortal: L,
|
|
82
89
|
opened: f,
|
|
83
|
-
onChange:
|
|
84
|
-
position:
|
|
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
|
-
...
|
|
114
|
+
...b || {},
|
|
108
115
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
|
|
116
|
+
/* @__PURE__ */ o(j.Target, { children: /* @__PURE__ */ o(
|
|
117
|
+
V,
|
|
111
118
|
{
|
|
112
|
-
onClick:
|
|
113
|
-
children:
|
|
119
|
+
onClick: g === "click" && !b?.disabled ? () => s(!f) : void 0,
|
|
120
|
+
children: N ?? H
|
|
114
121
|
}
|
|
115
122
|
) }),
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
|
|
123
|
+
/* @__PURE__ */ o(j.Dropdown, { w: "380px", children: /* @__PURE__ */ h(
|
|
124
|
+
i,
|
|
118
125
|
{
|
|
119
|
-
value:
|
|
120
|
-
onChange:
|
|
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
|
-
|
|
138
|
-
|
|
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
|
-
|
|
147
|
-
|
|
153
|
+
c && /* @__PURE__ */ o(
|
|
154
|
+
i.Tab,
|
|
148
155
|
{
|
|
149
|
-
className:
|
|
156
|
+
className: a.originalTab,
|
|
150
157
|
h: "100%",
|
|
151
158
|
p: 0,
|
|
152
159
|
value: "emojis",
|
|
153
|
-
children: /* @__PURE__ */
|
|
160
|
+
children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.emojis })
|
|
154
161
|
}
|
|
155
162
|
),
|
|
156
|
-
u && /* @__PURE__ */
|
|
157
|
-
|
|
163
|
+
u && /* @__PURE__ */ o(
|
|
164
|
+
i.Tab,
|
|
158
165
|
{
|
|
159
|
-
className:
|
|
166
|
+
className: a.originalTab,
|
|
160
167
|
h: "100%",
|
|
161
168
|
p: 0,
|
|
162
169
|
value: "icons",
|
|
163
|
-
children: /* @__PURE__ */
|
|
170
|
+
children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.icons })
|
|
164
171
|
}
|
|
165
172
|
),
|
|
166
|
-
|
|
167
|
-
|
|
173
|
+
v && /* @__PURE__ */ o(
|
|
174
|
+
i.Tab,
|
|
168
175
|
{
|
|
169
|
-
className:
|
|
176
|
+
className: a.originalTab,
|
|
170
177
|
h: "100%",
|
|
171
178
|
p: 0,
|
|
172
179
|
value: "gifs",
|
|
173
|
-
children: /* @__PURE__ */
|
|
180
|
+
children: /* @__PURE__ */ o(P, { className: a.customTab, px: "sm", h: 36, children: t.gifs })
|
|
174
181
|
}
|
|
175
182
|
),
|
|
176
|
-
!!String(
|
|
177
|
-
|
|
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
|
|
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:
|
|
199
|
-
querySearch:
|
|
205
|
+
value: e,
|
|
206
|
+
querySearch: n,
|
|
200
207
|
locales: t,
|
|
201
|
-
setRandomIcon:
|
|
202
|
-
showRandomButton:
|
|
203
|
-
onClose:
|
|
208
|
+
setRandomIcon: O,
|
|
209
|
+
showRandomButton: A,
|
|
210
|
+
onClose: y ? () => s(!1) : () => {
|
|
204
211
|
}
|
|
205
212
|
}
|
|
206
213
|
) }),
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
|
|
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__ */
|
|
215
|
-
|
|
221
|
+
children: /* @__PURE__ */ o(
|
|
222
|
+
W,
|
|
216
223
|
{
|
|
217
|
-
project:
|
|
224
|
+
project: l,
|
|
218
225
|
onChange: p,
|
|
219
|
-
value:
|
|
226
|
+
value: e,
|
|
220
227
|
locales: t,
|
|
221
|
-
showColors:
|
|
222
|
-
keepOpenOnRandom:
|
|
223
|
-
onClose:
|
|
228
|
+
showColors: w,
|
|
229
|
+
keepOpenOnRandom: z,
|
|
230
|
+
onClose: y ? () => s(!1) : () => {
|
|
224
231
|
}
|
|
225
232
|
}
|
|
226
233
|
)
|
|
227
234
|
}
|
|
228
235
|
),
|
|
229
|
-
|
|
230
|
-
|
|
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__ */
|
|
237
|
-
|
|
243
|
+
children: /* @__PURE__ */ o(
|
|
244
|
+
_,
|
|
238
245
|
{
|
|
239
|
-
onChange: (
|
|
240
|
-
|
|
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 = "
|
|
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:
|
|
4
|
-
originalTab:
|
|
5
|
-
customTab:
|
|
3
|
+
randomIcon: s,
|
|
4
|
+
originalTab: a,
|
|
5
|
+
customTab: n
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
n as customTab,
|
|
9
|
+
t as default,
|
|
10
10
|
o as item,
|
|
11
|
-
|
|
12
|
-
|
|
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: ({
|
|
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
|
-
|
|
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,
|
|
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
|
|
2
|
-
import { useRef as x, useLayoutEffect as F } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
e.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
-
|
|
86
|
+
j as EntityTitle
|
|
86
87
|
};
|