quickblox-react-ui-kit 0.3.1-beta.1 → 0.3.1-beta.2
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/CommonTypes/CommonTypes.d.ts +1 -1
- package/dist/Data/Stubs.d.ts +1 -1
- package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts +1 -1
- package/dist/Data/dto/user/LocalUserDTO.d.ts +1 -1
- package/dist/Data/dto/user/RemoteUserDTO.d.ts +1 -1
- package/dist/Data/source/remote/RemoteDataSource.d.ts +1 -1
- package/dist/Domain/entity/UserEntity.d.ts +1 -1
- package/dist/index-ui.js +135 -257
- package/dist/index-ui.js.map +1 -1
- package/dist/qb-api-calls/index.d.ts +2 -1
- package/global.d.ts +29 -29
- package/package.json +2 -2
- package/src/CommonTypes/CommonTypes.ts +1 -0
- package/src/Data/DefaultConfigurations.ts +4 -4
- package/src/Data/Stubs.ts +17 -18
- package/src/Data/dto/dialog/RemoteDialogDTO.ts +2 -2
- package/src/Data/dto/user/LocalUserDTO.ts +2 -2
- package/src/Data/dto/user/RemoteUserDTO.ts +2 -2
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +6 -12
- package/src/Data/mapper/UserLocalDTOMapper.ts +2 -2
- package/src/Data/mapper/UserRemoteDTOMapper.ts +2 -2
- package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +9 -9
- package/src/Data/source/remote/RemoteDataSource.ts +45 -2
- package/src/Domain/entity/UserEntity.ts +1 -1
- package/src/Presentation/Views/Dialog/MessageItem/MessageItem.tsx +2 -2
- package/src/Presentation/Views/Dialog/useDialogViewModel.ts +36 -150
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +1 -0
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +3 -0
- package/src/Presentation/Views/InviteMembers/useInviteMembersViewModel.ts +11 -1
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +4 -40
- package/src/QBconfig.ts +4 -4
- package/src/qb-api-calls/index.ts +5 -0
- package/storybook-static/{703.1137fb37.iframe.bundle.js → 703.2cbec951.iframe.bundle.js} +2 -2
- package/storybook-static/{703.1137fb37.iframe.bundle.js.map → 703.2cbec951.iframe.bundle.js.map} +1 -1
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.bf8a24d1.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/project.json +1 -1
- package/storybook-static/{runtime~main.8d5710fb.iframe.bundle.js → runtime~main.af13ca55.iframe.bundle.js} +1 -1
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.0c6310aa.iframe.bundle.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QBSystemMessage, QBUser, ChatMessageAttachment, QBChatDialog, QBChatNewMessage, QBConfig } from 'quickblox';
|
|
1
|
+
import { QBSystemMessage, QBUser, ChatMessageAttachment, QBChatDialog, QBChatNewMessage, QBConfig, QBCustomField } from 'quickblox';
|
|
2
2
|
import { Tone } from '../Presentation/Views/Dialog/AIWidgets/Tone';
|
|
3
3
|
export type ProxyConfig = {
|
|
4
4
|
api: string;
|
package/dist/Data/Stubs.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare class Stubs {
|
|
|
24
24
|
static createPrivateDialogQBWithEmptyValues(): QBUIKitChatDialog;
|
|
25
25
|
static createGroupDialogQBWithEmptyValues(): QBUIKitChatDialog;
|
|
26
26
|
static createDialogEntityWithParams(dialogType: DialogType, id: string, name: string, dateSentLastMessage: number, textLastMessage: string, userIdLastMessage: number, ownerId: string, unreadMessageCount: number, updatedAt: string, participantId: number, photo?: string, participantIds?: number[]): DialogEntity;
|
|
27
|
-
static createUserEntityWithParams(id: number, full_name: string, email: string, login: string, created_at: string, updated_at: string, last_request_at:
|
|
27
|
+
static createUserEntityWithParams(id: number, full_name: string, email: string, login: string, created_at: string, updated_at: string, last_request_at: string, custom_data?: string | null, user_tags?: string | null, blob_id?: string, photo?: string): UserEntity;
|
|
28
28
|
static createDialogsForTest(): Array<DialogEntity>;
|
|
29
29
|
static createUsersForTest(): Array<UserEntity>;
|
|
30
30
|
static createMessagesForTest(): Array<MessageEntity>;
|
|
@@ -8,7 +8,7 @@ export declare class RemoteDialogDTO {
|
|
|
8
8
|
newParticipantsIds?: Array<number>;
|
|
9
9
|
updatedAt: string;
|
|
10
10
|
lastMessageText: string;
|
|
11
|
-
lastMessageUserId:
|
|
11
|
+
lastMessageUserId: number;
|
|
12
12
|
lastMessageDateSent: number;
|
|
13
13
|
lastMessageId: string;
|
|
14
14
|
unreadMessageCount: number;
|
|
@@ -44,7 +44,7 @@ export declare class RemoteDataSource implements IRemoteDataSource {
|
|
|
44
44
|
private currentDialog;
|
|
45
45
|
getCurrentDialogDTOMapper(): IDTOMapper;
|
|
46
46
|
constructor();
|
|
47
|
-
updateCurrentDialog(dto: RemoteDialogDTO): void
|
|
47
|
+
updateCurrentDialog(dto: RemoteDialogDTO): Promise<void>;
|
|
48
48
|
setUpMockStorage(): Promise<void>;
|
|
49
49
|
private createUserSession;
|
|
50
50
|
static initSDK(sdkParams: QBInitParams): boolean;
|