@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EACL,QAAQ,EACR,iBAAiB,EAClB,MAAM,8CAA8C,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;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@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
header:
|
|
1
|
+
const t = "_root_10w7v_1", e = "_header_10w7v_17", o = "_section_10w7v_39", _ = "_leftSidebar_10w7v_55", n = "_rightSidebar_10w7v_71", r = "_main_10w7v_87", i = "_workContent_10w7v_103", a = {
|
|
2
|
+
root: t,
|
|
3
|
+
header: e,
|
|
4
4
|
section: o,
|
|
5
5
|
leftSidebar: _,
|
|
6
6
|
rightSidebar: n,
|
|
@@ -9,11 +9,11 @@ const e = "_root_9zlef_1", t = "_header_9zlef_9", o = "_section_9zlef_20", _ = "
|
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
a as default,
|
|
12
|
-
|
|
12
|
+
e as header,
|
|
13
13
|
_ as leftSidebar,
|
|
14
14
|
r as main,
|
|
15
15
|
n as rightSidebar,
|
|
16
|
-
|
|
16
|
+
t as root,
|
|
17
17
|
o as section,
|
|
18
18
|
i as workContent
|
|
19
19
|
};
|
|
@@ -14,8 +14,6 @@ interface AttachmentsGalleryContextValue {
|
|
|
14
14
|
setZoomPercentage: (value: number) => void;
|
|
15
15
|
transformRefs: React.MutableRefObject<ReactZoomPanPinchContentRef[]>;
|
|
16
16
|
prevIndexRef: React.MutableRefObject<number>;
|
|
17
|
-
videoRefreshKey: number;
|
|
18
|
-
refreshVideo: () => void;
|
|
19
17
|
}
|
|
20
18
|
export declare const useAttachmentsGalleryContext: () => AttachmentsGalleryContextValue;
|
|
21
19
|
interface AttachmentsGalleryProviderProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsGalleryContext.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentsGalleryModal/AttachmentsGalleryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"AttachmentsGalleryContext.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentsGalleryModal/AttachmentsGalleryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,UAAU,8BAA8B;IACtC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,2BAA2B,EAAE,CAAC,CAAC;IACrE,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;CAC9C;AAKD,eAAO,MAAM,4BAA4B,sCAQxC,CAAC;AAEF,UAAU,+BAA+B;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,0BAA0B,GAAI,6BAGxC,+BAA+B,4CA6BjC,CAAC"}
|
|
@@ -1,44 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as e, useRef as
|
|
3
|
-
const
|
|
4
|
-
const t =
|
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import { useState as e, useRef as n, createContext as P, useContext as S } from "react";
|
|
3
|
+
const o = P(null), G = () => {
|
|
4
|
+
const t = S(o);
|
|
5
5
|
if (!t)
|
|
6
6
|
throw new Error(
|
|
7
7
|
"useAttachmentsGalleryContext must be used within AttachmentsGalleryProvider"
|
|
8
8
|
);
|
|
9
9
|
return t;
|
|
10
|
-
},
|
|
10
|
+
}, p = ({
|
|
11
11
|
children: t,
|
|
12
|
-
initialIndex:
|
|
12
|
+
initialIndex: r
|
|
13
13
|
}) => {
|
|
14
|
-
const [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
);
|
|
18
|
-
return /* @__PURE__ */ A(
|
|
19
|
-
s.Provider,
|
|
14
|
+
const [s, l] = e(null), [c, a] = e(!1), [m, x] = e(!1), [u, d] = e(r ?? 0), [f, i] = e(100), h = n([]), v = n(0);
|
|
15
|
+
return /* @__PURE__ */ C(
|
|
16
|
+
o.Provider,
|
|
20
17
|
{
|
|
21
18
|
value: {
|
|
22
|
-
embla:
|
|
23
|
-
setEmbla:
|
|
24
|
-
canScrollPrev:
|
|
19
|
+
embla: s,
|
|
20
|
+
setEmbla: l,
|
|
21
|
+
canScrollPrev: c,
|
|
25
22
|
setCanScrollPrev: a,
|
|
26
23
|
canScrollNext: m,
|
|
27
|
-
setCanScrollNext:
|
|
28
|
-
selectedIndex:
|
|
24
|
+
setCanScrollNext: x,
|
|
25
|
+
selectedIndex: u,
|
|
29
26
|
setSelectedIndex: d,
|
|
30
27
|
zoomPercentage: f,
|
|
31
28
|
setZoomPercentage: i,
|
|
32
29
|
transformRefs: h,
|
|
33
|
-
prevIndexRef: v
|
|
34
|
-
videoRefreshKey: C,
|
|
35
|
-
refreshVideo: P
|
|
30
|
+
prevIndexRef: v
|
|
36
31
|
},
|
|
37
32
|
children: t
|
|
38
33
|
}
|
|
39
34
|
);
|
|
40
35
|
};
|
|
41
36
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
p as AttachmentsGalleryProvider,
|
|
38
|
+
G as useAttachmentsGalleryContext
|
|
44
39
|
};
|
|
@@ -3,30 +3,30 @@ import { memo as P } from "react";
|
|
|
3
3
|
import { TransformWrapper as F, TransformComponent as T } from "react-zoom-pan-pinch";
|
|
4
4
|
import { Box as a } from "@mantine/core";
|
|
5
5
|
import { BaseLoader as U } from "../../Loaders/BaseLoader.js";
|
|
6
|
-
import {
|
|
7
|
-
import { TRANSFORM_COMPONENT_STYLES as
|
|
6
|
+
import { ShakaVideoPlayer as E } from "./ShakePlayer/ShakaPlayer.js";
|
|
7
|
+
import { TRANSFORM_COMPONENT_STYLES as p, ZOOM_CONFIG as s } from "../constants.js";
|
|
8
8
|
import { useGetPreviewUrl as O } from "../hooks/useGetPreviewUrl.js";
|
|
9
9
|
import { usePanning as b } from "../hooks/usePanning.js";
|
|
10
10
|
import { ErrorSection as t } from "./ErrorSection.js";
|
|
11
11
|
import { UnsupportedSection as x } from "./UnsupportedSection.js";
|
|
12
12
|
import i from "../styles.module.css.js";
|
|
13
|
-
const
|
|
14
|
-
({ onTransformed:
|
|
13
|
+
const h = P(
|
|
14
|
+
({ onTransformed: S, attachment: e, isActive: n, ref: N }) => {
|
|
15
15
|
const {
|
|
16
|
-
isError:
|
|
16
|
+
isError: m,
|
|
17
17
|
setIsError: g,
|
|
18
18
|
fileUrl: o,
|
|
19
19
|
isFetching: l,
|
|
20
|
-
isVideo:
|
|
21
|
-
isPdf:
|
|
20
|
+
isVideo: f,
|
|
21
|
+
isPdf: c,
|
|
22
22
|
isAudio: u,
|
|
23
|
-
isSupported:
|
|
24
|
-
} = O(e), y = b({ isFetching: l, isVideo:
|
|
25
|
-
return
|
|
23
|
+
isSupported: d
|
|
24
|
+
} = O(e), y = b({ isFetching: l, isVideo: f });
|
|
25
|
+
return f && !l && d ? /* @__PURE__ */ r("div", { style: p, children: /* @__PURE__ */ r(a, { className: i.videoContainer, children: /* @__PURE__ */ r(
|
|
26
26
|
E,
|
|
27
27
|
{
|
|
28
|
-
isActive:
|
|
29
|
-
autoPlay:
|
|
28
|
+
isActive: n,
|
|
29
|
+
autoPlay: n,
|
|
30
30
|
attachmentId: e.id
|
|
31
31
|
}
|
|
32
32
|
) }) }) : /* @__PURE__ */ r(
|
|
@@ -35,15 +35,15 @@ const Z = P(
|
|
|
35
35
|
panning: {
|
|
36
36
|
disabled: !0
|
|
37
37
|
},
|
|
38
|
-
onTransformed:
|
|
38
|
+
onTransformed: S,
|
|
39
39
|
initialScale: s.initialScale,
|
|
40
40
|
minScale: s.minScale,
|
|
41
41
|
maxScale: s.maxScale,
|
|
42
42
|
limitToBounds: !0,
|
|
43
|
-
disabled: l ||
|
|
43
|
+
disabled: l || c || u || !d,
|
|
44
44
|
disablePadding: !0,
|
|
45
45
|
centerZoomedOut: !0,
|
|
46
|
-
ref:
|
|
46
|
+
ref: N,
|
|
47
47
|
wheel: {
|
|
48
48
|
disabled: !1,
|
|
49
49
|
step: s.wheelStep
|
|
@@ -54,28 +54,28 @@ const Z = P(
|
|
|
54
54
|
children: /* @__PURE__ */ r(
|
|
55
55
|
T,
|
|
56
56
|
{
|
|
57
|
-
wrapperStyle:
|
|
58
|
-
contentStyle:
|
|
57
|
+
wrapperStyle: p,
|
|
58
|
+
contentStyle: p,
|
|
59
59
|
wrapperProps: y,
|
|
60
|
-
children:
|
|
60
|
+
children: d ? l ? /* @__PURE__ */ r(U, {}) : c ? m || !(e?.Url || o) ? /* @__PURE__ */ r(t, {}) : /* @__PURE__ */ r(a, { className: i.pdfContainer, children: /* @__PURE__ */ r(
|
|
61
61
|
"iframe",
|
|
62
62
|
{
|
|
63
63
|
title: e.originalFileName || "pdf",
|
|
64
64
|
src: e?.Url ?? o ?? "",
|
|
65
65
|
className: i.pdfFrame
|
|
66
66
|
}
|
|
67
|
-
) }) : u ?
|
|
67
|
+
) }) : u ? m || !(e?.Url || o) ? /* @__PURE__ */ r(t, {}) : /* @__PURE__ */ C(a, { className: i.audioContainer, children: [
|
|
68
68
|
/* @__PURE__ */ r(a, { className: i.audioName, children: e.originalFileName || "audio" }),
|
|
69
69
|
/* @__PURE__ */ r(
|
|
70
70
|
"audio",
|
|
71
71
|
{
|
|
72
72
|
src: e?.Url ?? o ?? "",
|
|
73
73
|
controls: !0,
|
|
74
|
-
autoPlay:
|
|
74
|
+
autoPlay: n,
|
|
75
75
|
className: i.audioElement
|
|
76
76
|
}
|
|
77
77
|
)
|
|
78
|
-
] }) :
|
|
78
|
+
] }) : m ? /* @__PURE__ */ r(t, {}) : /* @__PURE__ */ r(
|
|
79
79
|
"img",
|
|
80
80
|
{
|
|
81
81
|
onError: () => g(!0),
|
|
@@ -97,5 +97,5 @@ const Z = P(
|
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
h as GallerySlide
|
|
101
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentsGalleryModal/components/ModalHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentsGalleryModal/components/ModalHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQrD,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,aAAa,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,WAAW,iEACK,gBAAgB,6CA2I5C,CAAC"}
|
|
@@ -1,184 +1,132 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { Box as
|
|
5
|
-
import { IconDownload as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
_();
|
|
20
|
-
const { t: n } = x("ui"), { t: p } = x(), u = O(null), {
|
|
21
|
-
zoomPercentage: F,
|
|
22
|
-
transformRefs: f,
|
|
23
|
-
selectedIndex: g,
|
|
24
|
-
videoRefreshKey: D,
|
|
25
|
-
refreshVideo: c
|
|
26
|
-
} = Q(), t = I?.[g], v = t ? W(t) : null, { status: l } = $(
|
|
27
|
-
v?.isVideo ? t?.id : void 0,
|
|
28
|
-
D
|
|
29
|
-
), s = l?.videoId ?? null, [N, w] = Z(!1), d = j(
|
|
30
|
-
() => s ? J(s, {
|
|
31
|
-
baseUrl: L().apiBaseUrl
|
|
32
|
-
}) : null,
|
|
33
|
-
[s]
|
|
34
|
-
), R = () => {
|
|
35
|
-
S({
|
|
36
|
-
animationRef: u,
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as v, useRef as I } from "react";
|
|
3
|
+
import { useTranslation as F } from "react-i18next";
|
|
4
|
+
import { Box as C, Tooltip as t, ActionIcon as i, Flex as s, Text as u } from "@mantine/core";
|
|
5
|
+
import { IconDownload as f, IconMinus as N, IconPlus as R, IconX as k } from "@tabler/icons-react";
|
|
6
|
+
import { getFileIcons as T } from "../../../helpers/getFileIcons.js";
|
|
7
|
+
import { getFileType as Z } from "../../../helpers/getFileType.js";
|
|
8
|
+
import { useAttachmentsGalleryContext as j } from "../AttachmentsGalleryContext.js";
|
|
9
|
+
import { getAttachmentFormat as D, zoomStep as p } from "../helpers.js";
|
|
10
|
+
import { useDownloadFile as M } from "../hooks/useDownloadFile.js";
|
|
11
|
+
import { useZoomReset as O } from "../hooks/useZoomReset.js";
|
|
12
|
+
import n from "../styles.module.css.js";
|
|
13
|
+
const U = v(
|
|
14
|
+
({ onClose: w, attachments: z }) => {
|
|
15
|
+
O();
|
|
16
|
+
const { t: r } = F("ui"), c = I(null), { zoomPercentage: y, transformRefs: m, selectedIndex: a } = j(), o = z?.[a], b = () => {
|
|
17
|
+
p({
|
|
18
|
+
animationRef: c,
|
|
37
19
|
dir: "in",
|
|
38
|
-
activeRef:
|
|
20
|
+
activeRef: m.current[a]
|
|
39
21
|
});
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
animationRef:
|
|
22
|
+
}, x = () => {
|
|
23
|
+
p({
|
|
24
|
+
animationRef: c,
|
|
43
25
|
dir: "out",
|
|
44
|
-
activeRef:
|
|
26
|
+
activeRef: m.current[a]
|
|
45
27
|
});
|
|
46
|
-
}, { isFetching:
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
children:
|
|
63
|
-
|
|
64
|
-
|
|
28
|
+
}, { isFetching: d, onDownload: g, isMobile: h } = M(o), A = o ? D(o).isImage : !1;
|
|
29
|
+
return /* @__PURE__ */ l(
|
|
30
|
+
C,
|
|
31
|
+
{
|
|
32
|
+
style: {
|
|
33
|
+
borderRadius: 8,
|
|
34
|
+
display: "grid",
|
|
35
|
+
gridTemplateColumns: "1fr auto 1fr",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
flex: "none",
|
|
38
|
+
gap: 12
|
|
39
|
+
},
|
|
40
|
+
px: 8,
|
|
41
|
+
py: 8,
|
|
42
|
+
bg: "var(--mantine-color-dark-6)",
|
|
43
|
+
children: [
|
|
44
|
+
h ? /* @__PURE__ */ e(t, { withArrow: !0, label: r("gallery.download"), children: /* @__PURE__ */ e(
|
|
45
|
+
i,
|
|
46
|
+
{
|
|
47
|
+
className: n.headerAction,
|
|
48
|
+
size: "lg",
|
|
49
|
+
variant: "subtle",
|
|
50
|
+
loading: d,
|
|
51
|
+
onClick: g,
|
|
52
|
+
children: /* @__PURE__ */ e(f, { size: 20 })
|
|
53
|
+
}
|
|
54
|
+
) }) : /* @__PURE__ */ l(s, { align: "center", gap: 8, ml: 6, miw: 0, children: [
|
|
55
|
+
o ? T(
|
|
56
|
+
Z(
|
|
57
|
+
o.contentType ?? "",
|
|
58
|
+
!1,
|
|
59
|
+
o.originalFileName
|
|
60
|
+
),
|
|
61
|
+
!1,
|
|
62
|
+
20
|
|
63
|
+
) : null,
|
|
64
|
+
/* @__PURE__ */ e(u, { fw: 500, fz: 14, c: "var(--app-gallary-text)", truncate: !0, children: o?.originalFileName || "" })
|
|
65
|
+
] }),
|
|
66
|
+
A ? /* @__PURE__ */ l(s, { gap: "xs", children: [
|
|
67
|
+
/* @__PURE__ */ e(t, { withArrow: !0, label: r("gallery.zoomOut"), children: /* @__PURE__ */ e(
|
|
68
|
+
i,
|
|
65
69
|
{
|
|
66
|
-
className:
|
|
70
|
+
className: n.headerAction,
|
|
67
71
|
size: "lg",
|
|
68
72
|
variant: "subtle",
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
children: /* @__PURE__ */ e(A, { size: 20 })
|
|
73
|
+
onClick: x,
|
|
74
|
+
children: /* @__PURE__ */ e(N, { size: 20 })
|
|
72
75
|
}
|
|
73
|
-
) })
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
] }) : /* @__PURE__ */ e("div", {}),
|
|
126
|
-
/* @__PURE__ */ o(m, { justify: "end", gap: "xs", children: [
|
|
127
|
-
d && !l?.isProcessing && /* @__PURE__ */ e(i, { withArrow: !0, label: p("editor.video.player.settings"), children: /* @__PURE__ */ e(
|
|
128
|
-
a,
|
|
129
|
-
{
|
|
130
|
-
className: r.headerAction,
|
|
131
|
-
size: "lg",
|
|
132
|
-
variant: "subtle",
|
|
133
|
-
onClick: () => w(!0),
|
|
134
|
-
children: /* @__PURE__ */ e(H, { size: 20 })
|
|
135
|
-
}
|
|
136
|
-
) }),
|
|
137
|
-
!y && /* @__PURE__ */ e(i, { withArrow: !0, label: n("gallery.download"), children: /* @__PURE__ */ e(
|
|
138
|
-
a,
|
|
139
|
-
{
|
|
140
|
-
className: r.headerAction,
|
|
141
|
-
size: "lg",
|
|
142
|
-
variant: "subtle",
|
|
143
|
-
loading: b,
|
|
144
|
-
onClick: z,
|
|
145
|
-
children: /* @__PURE__ */ e(A, { size: 20 })
|
|
146
|
-
}
|
|
147
|
-
) }),
|
|
148
|
-
/* @__PURE__ */ e(i, { withArrow: !0, label: n("gallery.close"), children: /* @__PURE__ */ e(
|
|
149
|
-
a,
|
|
150
|
-
{
|
|
151
|
-
className: r.headerAction,
|
|
152
|
-
size: "lg",
|
|
153
|
-
variant: "subtle",
|
|
154
|
-
onClick: C,
|
|
155
|
-
children: /* @__PURE__ */ e(K, { size: 20 })
|
|
156
|
-
}
|
|
157
|
-
) })
|
|
158
|
-
] })
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
d && s && /* @__PURE__ */ e(
|
|
163
|
-
ee,
|
|
164
|
-
{
|
|
165
|
-
opened: N,
|
|
166
|
-
onClose: () => w(!1),
|
|
167
|
-
dataSource: d,
|
|
168
|
-
videoId: s,
|
|
169
|
-
chaptersDisabled: l?.chaptersDisabled,
|
|
170
|
-
onChaptersSaved: c,
|
|
171
|
-
onSubtitlesSaved: c,
|
|
172
|
-
onPosterChange: c,
|
|
173
|
-
onChaptersDisabledChange: (M) => {
|
|
174
|
-
d.setChaptersDisabled(M).then(c).catch(() => {
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
)
|
|
179
|
-
] });
|
|
76
|
+
) }),
|
|
77
|
+
/* @__PURE__ */ l(
|
|
78
|
+
u,
|
|
79
|
+
{
|
|
80
|
+
fw: 500,
|
|
81
|
+
fz: 14,
|
|
82
|
+
c: "var(--app-gallary-text)",
|
|
83
|
+
miw: 50,
|
|
84
|
+
ta: "center",
|
|
85
|
+
children: [
|
|
86
|
+
y,
|
|
87
|
+
"%"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ e(t, { withArrow: !0, label: r("gallery.zoomIn"), children: /* @__PURE__ */ e(
|
|
92
|
+
i,
|
|
93
|
+
{
|
|
94
|
+
className: n.headerAction,
|
|
95
|
+
size: "lg",
|
|
96
|
+
variant: "subtle",
|
|
97
|
+
onClick: b,
|
|
98
|
+
children: /* @__PURE__ */ e(R, { size: 20 })
|
|
99
|
+
}
|
|
100
|
+
) })
|
|
101
|
+
] }) : /* @__PURE__ */ e("div", {}),
|
|
102
|
+
/* @__PURE__ */ l(s, { justify: "end", gap: "xs", children: [
|
|
103
|
+
!h && /* @__PURE__ */ e(t, { withArrow: !0, label: r("gallery.download"), children: /* @__PURE__ */ e(
|
|
104
|
+
i,
|
|
105
|
+
{
|
|
106
|
+
className: n.headerAction,
|
|
107
|
+
size: "lg",
|
|
108
|
+
variant: "subtle",
|
|
109
|
+
loading: d,
|
|
110
|
+
onClick: g,
|
|
111
|
+
children: /* @__PURE__ */ e(f, { size: 20 })
|
|
112
|
+
}
|
|
113
|
+
) }),
|
|
114
|
+
/* @__PURE__ */ e(t, { withArrow: !0, label: r("gallery.close"), children: /* @__PURE__ */ e(
|
|
115
|
+
i,
|
|
116
|
+
{
|
|
117
|
+
className: n.headerAction,
|
|
118
|
+
size: "lg",
|
|
119
|
+
variant: "subtle",
|
|
120
|
+
onClick: w,
|
|
121
|
+
children: /* @__PURE__ */ e(k, { size: 20 })
|
|
122
|
+
}
|
|
123
|
+
) })
|
|
124
|
+
] })
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
);
|
|
180
128
|
}
|
|
181
129
|
);
|
|
182
130
|
export {
|
|
183
|
-
|
|
131
|
+
U as ModalHeader
|
|
184
132
|
};
|
package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
"vod-player": "_vod-
|
|
3
|
-
"vod-player__player": "_vod-
|
|
1
|
+
const _ = {
|
|
2
|
+
"vod-player": "_vod-player_11682_1",
|
|
3
|
+
"vod-player__player": "_vod-player__player_11682_25"
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,45 +1,41 @@
|
|
|
1
|
-
const
|
|
2
|
-
container:
|
|
3
|
-
root:
|
|
1
|
+
const n = "_container_nqf56_1", o = "_root_nqf56_13", t = "_carouselRoot_nqf56_27", e = "_carouselViewport_nqf56_35", a = "_carouselSlide_nqf56_43", _ = "_navButton_nqf56_57", r = "_navButtonPrev_nqf56_83", i = "_navButtonNext_nqf56_91", c = "_headerAction_nqf56_99", d = "_modalContent_nqf56_127", s = "_modalBody_nqf56_137", u = "_videoContainer_nqf56_149", f = "_imageContainer_nqf56_159", l = "_pdfContainer_nqf56_173", m = "_pdfFrame_nqf56_189", q = "_audioContainer_nqf56_203", v = "_audioName_nqf56_233", C = "_audioElement_nqf56_249", B = {
|
|
2
|
+
container: n,
|
|
3
|
+
root: o,
|
|
4
4
|
carouselRoot: t,
|
|
5
5
|
carouselViewport: e,
|
|
6
6
|
carouselSlide: a,
|
|
7
7
|
navButton: _,
|
|
8
|
-
navButtonPrev:
|
|
9
|
-
navButtonNext:
|
|
8
|
+
navButtonPrev: r,
|
|
9
|
+
navButtonNext: i,
|
|
10
10
|
headerAction: c,
|
|
11
|
-
modalContent:
|
|
12
|
-
modalBody:
|
|
13
|
-
videoContainer:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
audioName: f,
|
|
21
|
-
audioElement: x
|
|
11
|
+
modalContent: d,
|
|
12
|
+
modalBody: s,
|
|
13
|
+
videoContainer: u,
|
|
14
|
+
imageContainer: f,
|
|
15
|
+
pdfContainer: l,
|
|
16
|
+
pdfFrame: m,
|
|
17
|
+
audioContainer: q,
|
|
18
|
+
audioName: v,
|
|
19
|
+
audioElement: C
|
|
22
20
|
};
|
|
23
21
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
q as audioContainer,
|
|
23
|
+
C as audioElement,
|
|
24
|
+
v as audioName,
|
|
27
25
|
t as carouselRoot,
|
|
28
26
|
a as carouselSlide,
|
|
29
27
|
e as carouselViewport,
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
n as container,
|
|
29
|
+
B as default,
|
|
32
30
|
c as headerAction,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
f as imageContainer,
|
|
32
|
+
s as modalBody,
|
|
33
|
+
d as modalContent,
|
|
36
34
|
_ as navButton,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
d as videoContainer,
|
|
44
|
-
p as videoPlayerFill
|
|
35
|
+
i as navButtonNext,
|
|
36
|
+
r as navButtonPrev,
|
|
37
|
+
l as pdfContainer,
|
|
38
|
+
m as pdfFrame,
|
|
39
|
+
o as root,
|
|
40
|
+
u as videoContainer
|
|
45
41
|
};
|
|
@@ -4,7 +4,9 @@ interface CommentAttachmentsPreviewProps {
|
|
|
4
4
|
mode: 'draft' | 'view';
|
|
5
5
|
onRemove?: (index: number) => void;
|
|
6
6
|
parentIsExisting?: boolean;
|
|
7
|
+
/** When `voice`, audio attachments render as a compact waveform note. */
|
|
8
|
+
audioVariant?: 'voice';
|
|
7
9
|
}
|
|
8
|
-
export declare const AttachmentsPreview: ({ files, onRemove, mode, parentIsExisting, }: CommentAttachmentsPreviewProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export declare const AttachmentsPreview: ({ files, onRemove, mode, parentIsExisting, audioVariant, }: CommentAttachmentsPreviewProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
11
|
export {};
|
|
10
12
|
//# sourceMappingURL=AttachmentsPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsPreview.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentsPreview/AttachmentsPreview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttachmentsPreview.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentsPreview/AttachmentsPreview.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AA6FhE,UAAU,8BAA8B;IACtC,KAAK,EAAE,oBAAoB,CAAC,cAAc,EAAE,CAAC;IAC7C,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,GAAI,4DAMhC,8BAA8B,mDAsXhC,CAAC"}
|