@nice2dev/ui-communication 1.0.29 → 1.1.5
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/__tests__/setup.d.ts +0 -1
- package/dist/collaboration/collaborative-form.d.ts +0 -1
- package/dist/components/NiceCallScreen.d.ts +0 -1
- package/dist/components/NiceChannelView.d.ts +0 -1
- package/dist/components/NiceChatWindow.d.ts +0 -1
- package/dist/components/NiceCollaborativeEditor.d.ts +0 -1
- package/dist/components/NiceCommunication.d.ts +0 -1
- package/dist/components/NiceMessenger.d.ts +0 -1
- package/dist/components/NicePresenceIndicator.d.ts +0 -1
- package/dist/components/NiceRecordingPanel.d.ts +0 -1
- package/dist/components/NiceStorageSettings.d.ts +0 -1
- package/dist/components/NiceTeamsWorkspace.d.ts +0 -1
- package/dist/components/NiceVideoConference.d.ts +0 -1
- package/dist/components/NiceWhiteboard.d.ts +0 -1
- package/dist/hooks/useCommunication.d.ts +1 -2
- package/dist/hooks/useWhiteboard.d.ts +0 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +20 -7
- package/dist/services/encryptionService.d.ts +0 -1
- package/dist/services/recordingService.d.ts +0 -1
- package/dist/services/storageService.d.ts +0 -1
- package/dist/transport/communicationTransport.d.ts +0 -1
- package/dist/types/communicationTypes.d.ts +0 -1
- package/package.json +14 -12
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceCallScreenProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceCallScreen({ session, currentUser, localStream, enableScreenSharing, enableRecording, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceCallScreenProps): React.JSX.Element;
|
|
5
4
|
export default NiceCallScreen;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceChannelViewProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceChannelView({ channel, messages, users, currentUser, team: _team, isLoading, hasMore, enableThreads, enableReactions, enableAttachments, onSendMessage, onEditMessage: _onEditMessage, onDeleteMessage: _onDeleteMessage, onReactToMessage, onPinMessage: _onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChannelViewProps): React.JSX.Element;
|
|
5
4
|
export default NiceChannelView;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceChatWindowProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceChatWindow({ conversation, messages, users, currentUser, isLoading, hasMore, showHeader, showUserAvatars, enableReactions, enableThreads, enableAttachments, placeholder, maxMessageLength, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChatWindowProps): React.JSX.Element;
|
|
5
4
|
export default NiceChatWindow;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceCollaborativeEditorProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceCollaborativeEditor({ editorType, sessionId, currentUser, participants: propParticipants, onOperation: _onOperation, onParticipantJoin: _onParticipantJoin, onParticipantLeave: _onParticipantLeave, onCursorMove, isReadOnly, showParticipants, showCursors, pendingOperations, conflictCount, className, style, children, 'data-testid': testId, }: NiceCollaborativeEditorProps): React.JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceMessengerProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceMessenger({ conversations, messages, users, currentUser, activeConversationId, teams, enableGroupConversations, showPresence, enableSearch, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onCreateConversation, className, style, id, 'data-testid': testId, }: NiceMessengerProps): React.JSX.Element;
|
|
5
4
|
export default NiceMessenger;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NicePresenceIndicatorProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NicePresenceIndicator({ status, size, showLabel, showTooltip, className, style, id, 'data-testid': testId, }: NicePresenceIndicatorProps): React.JSX.Element;
|
|
5
4
|
export default NicePresenceIndicator;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceRecordingPanelProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceRecordingPanel({ recordings: externalRecordings, onRecordingStart, onRecordingStop, onRecordingPause, onRecordingResume, onRecordingDelete, onRecordingDownload, activeRecordingId, sessionType, className, style, 'data-testid': testId, }: NiceRecordingPanelProps): React.JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceStorageSettingsProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceStorageSettings({ storageConfig, encryptionConfig, onStorageConfigChange, onEncryptionConfigChange, currentUsageBytes, showEncryption, showRetention, showQuota, className, style, 'data-testid': testId, }: NiceStorageSettingsProps): React.JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceTeamsWorkspaceProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceTeamsWorkspace({ currentUser, users, teams, conversations, messages, activeCall, incomingCall, meetings, transport: _transport, rtcConfig: _rtcConfig, enableCalls, enableMeetings, enableScreenSharing, enableWhiteboard, storageConfig, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onAcceptCall, onDeclineCall, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, className, style, id, 'data-testid': testId, }: NiceTeamsWorkspaceProps): React.JSX.Element;
|
|
5
4
|
export default NiceTeamsWorkspace;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceVideoConferenceProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceVideoConference({ session, currentUser, localStream, enableScreenSharing, enableRecording, enableTranscription, enableRaiseHand, maxGridCols, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceVideoConferenceProps): React.JSX.Element;
|
|
5
4
|
export default NiceVideoConference;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { NiceWhiteboardProps } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export declare function NiceWhiteboard({ session: initialSession, currentUser, onOperation, remoteOperations, readonly, enableLayers, enableExport, enableLaserPointer: _enableLaserPointer, enableVectorEditor, enableDiagramEditor, onExport, onSessionUpdate, storageConfig, className, style, 'data-testid': testId, }: NiceWhiteboardProps): React.JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ICommunicationTransport } from '../transport/communicationTransport';
|
|
2
2
|
import { CallSession, CallType, ChatMessage, CommunicationMode, CommunicationUser, Conversation, IncomingCall, MessageContentType, RTCTransportConfig, TransportType } from '../types/communicationTypes';
|
|
3
|
-
|
|
4
3
|
export interface CommunicationState {
|
|
5
4
|
isConnected: boolean;
|
|
6
5
|
activeCall: CallSession | null;
|
|
@@ -38,7 +37,7 @@ export declare function useCommunication(options: UseCommunicationOptions): {
|
|
|
38
37
|
readonly startScreenShare: () => Promise<void>;
|
|
39
38
|
readonly stopScreenShare: () => void;
|
|
40
39
|
readonly toggleHand: () => void;
|
|
41
|
-
readonly transport: import('react').
|
|
40
|
+
readonly transport: import('react').RefObject<ICommunicationTransport | null>;
|
|
42
41
|
};
|
|
43
42
|
export declare function buildOptimisticMessage(conversationId: string, authorId: string, content: string, contentType?: MessageContentType): ChatMessage;
|
|
44
43
|
export declare function findConversationPartner(conversation: Conversation, currentUserId: string, users: CommunicationUser[]): CommunicationUser | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { WhiteboardSession, WhiteboardObject, WhiteboardLayer, WhiteboardCollaborator, WhiteboardOperation, WhiteboardToolType, WhiteboardViewport, CommunicationUser, StorageConfig } from '../types/communicationTypes';
|
|
2
|
-
|
|
3
2
|
export interface WhiteboardState {
|
|
4
3
|
session: WhiteboardSession;
|
|
5
4
|
activeTool: WhiteboardToolType;
|