quickblox-react-ui-kit 0.4.6-beta.4 → 0.4.7
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 +12 -0
- package/dist/Data/source/remote/RemoteDataSource.d.ts +5 -0
- package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts +1 -1
- package/dist/Presentation/Views/Flow/CreateDialog/CreateDialog.d.ts +1 -0
- package/dist/Presentation/ui-components/DialogItemPreview/DialogItemPreview.d.ts +3 -3
- package/dist/Presentation/ui-components/Header/Header.d.ts +1 -1
- package/dist/index-ui.d.ts +47 -3
- package/dist/index-ui.js +25470 -17586
- package/dist/index-ui.js.map +1 -1
- package/global.d.ts +3 -202
- package/package.json +1 -1
- package/src/App.scss +5 -0
- package/src/App.tsx +58 -33
- package/src/CommonTypes/CommonTypes.ts +13 -0
- package/src/Data/DefaultConfigurations.ts +4 -0
- package/src/Data/source/remote/RemoteDataSource.ts +210 -148
- package/src/Domain/use_cases/CreateDialogUseCase.ts +0 -1
- package/src/Domain/use_cases/ForwardMessagesUseCase.ts +0 -1
- package/src/Domain/use_cases/GetAllDialogsUseCase.ts +0 -1
- package/src/Domain/use_cases/GetAllDialogsUseCaseWithMock.ts +0 -2
- package/src/Domain/use_cases/GetAllMessagesForDialog.ts +0 -1
- package/src/Domain/use_cases/GetAllUsersUseCase.ts +0 -1
- package/src/Domain/use_cases/GetDialogByIdUseCase.ts +0 -2
- package/src/Domain/use_cases/GetUsersByIdsUseCase.ts +0 -1
- package/src/Domain/use_cases/LeaveDialogUseCase.ts +0 -1
- package/src/Domain/use_cases/RemoveUsersFromTheDialogUseCase.ts +0 -1
- package/src/Domain/use_cases/ReplyMessagesUseCase.ts +0 -2
- package/src/Domain/use_cases/SendTextMessageUseCase.ts +0 -3
- package/src/Domain/use_cases/SubscribeToDialogEventsUseCase.ts +0 -26
- package/src/Domain/use_cases/SubscribeToDialogsUpdatesUseCase.ts +0 -1
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +1 -2
- package/src/Domain/use_cases/UpdateCurrentDialogInDataSourceUseCase.ts +0 -2
- package/src/Domain/use_cases/UpdateDialogUseCase.ts +0 -2
- package/src/Domain/use_cases/UploadFileUseCase.ts +0 -2
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +0 -2
- package/src/Domain/use_cases/ai/AIAnswerAssistUseCase.ts +0 -2
- package/src/Domain/use_cases/ai/AIAnswerAssistWithProxyUseCase.ts +0 -3
- package/src/Domain/use_cases/ai/AIAnswerAssistWithSDKUseCase.ts +0 -2
- package/src/Domain/use_cases/ai/AIRephraseUseCase.ts +0 -3
- package/src/Domain/use_cases/ai/AIRephraseWithProxyUseCase.ts +0 -3
- package/src/Domain/use_cases/ai/AITranslateUseCase.ts +0 -2
- package/src/Domain/use_cases/ai/AITranslateWithProxyUseCase.ts +0 -3
- package/src/Domain/use_cases/ai/AITranslateWithSDKUseCase.ts +0 -3
- package/src/Domain/use_cases/base/Subscribable/SubscriptionPerformer.ts +0 -1
- package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +1 -1
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +12 -6
- package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx +4 -2
- package/src/Presentation/Views/Dialog/Dialog.scss +7 -1
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +17 -29
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +8 -13
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +9 -9
- package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +11 -0
- package/src/Presentation/Views/Dialog/MessageContextMenu/MessageContextMenu.tsx +3 -2
- package/src/Presentation/Views/Dialog/useDialogViewModel.ts +10 -21
- package/src/Presentation/Views/DialogInfo/DialogInfo.scss +19 -25
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +2 -2
- package/src/Presentation/Views/DialogInfo/DialogMemberButton/DialogMembersButton.scss +0 -17
- package/src/Presentation/Views/DialogInfo/MembersList/MembersList.scss +9 -1
- package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +0 -1
- package/src/Presentation/Views/DialogInfo/UsersList/useUsersListViewModel.ts +2 -4
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +0 -1
- package/src/Presentation/Views/EditDialog/EditDialog.scss +1 -38
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss +17 -42
- package/src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx +45 -39
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +6 -2
- package/src/Presentation/Views/InviteMembers/InviteMembers.scss +4 -33
- package/src/Presentation/Views/InviteMembers/InviteMembers.tsx +23 -4
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.scss +8 -0
- package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +8 -5
- package/src/Presentation/components/UI/Buttons/MainButton/MainButton.css +5 -10
- package/src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.scss +0 -5
- package/src/Presentation/components/containers/ColumnContainer/ColumnContainer.scss +1 -10
- package/src/Presentation/layouts/TestStage/LoginView/Login.scss +6 -3
- package/src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx +1 -33
- package/src/Presentation/themes/styles/_theme_colors_scheme.scss +1 -1
- package/src/Presentation/themes/styles/_theme_dark.scss +5 -4
- package/src/Presentation/themes/styles/_theme_light.scss +3 -2
- package/src/Presentation/ui-components/Avatar/Avatar.scss +8 -5
- package/src/Presentation/ui-components/Avatar/Avatar.tsx +2 -1
- package/src/Presentation/ui-components/Badge/Badge.tsx +1 -0
- package/src/Presentation/ui-components/Button/Button.scss +5 -6
- package/src/Presentation/ui-components/Button/Button.tsx +7 -2
- package/src/Presentation/ui-components/CheckBox/CheckBox.scss +23 -0
- package/src/Presentation/ui-components/CheckBox/CheckBox.tsx +19 -7
- package/src/Presentation/ui-components/DialogBanner/DialogBanner.tsx +1 -0
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.scss +3 -3
- package/src/Presentation/ui-components/DialogItemPreview/DialogItemPreview.tsx +3 -3
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.scss +7 -4
- package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +1 -1
- package/src/Presentation/ui-components/Dropdown/Dropdown.tsx +1 -1
- package/src/Presentation/ui-components/Dropdown/DropdownOption.tsx +2 -1
- package/src/Presentation/ui-components/Header/Header.scss +9 -2
- package/src/Presentation/ui-components/Header/Header.tsx +1 -1
- package/src/Presentation/ui-components/Loader/Loader.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/AudioBubble/AudioBubble.scss +1 -0
- package/src/Presentation/ui-components/Message/Bubble/FileBubble/FileBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/ImageBubble/ImageBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.scss +13 -3
- package/src/Presentation/ui-components/Message/Bubble/TextBubble/TextBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/Bubble/VideoBubble/VideoBubble.tsx +1 -0
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.scss +0 -3
- package/src/Presentation/ui-components/Message/FileUrl/FileUrl.tsx +1 -0
- package/src/Presentation/ui-components/Message/Message.scss +5 -1
- package/src/Presentation/ui-components/MessageInput/MessageInput.scss +5 -1
- package/src/Presentation/ui-components/MessageInput/MessageInput.tsx +1 -1
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +1 -1
- package/src/Presentation/ui-components/MessageSeparator/MessageSeparator.scss +13 -13
- package/src/Presentation/ui-components/Placeholder/Placeholder.scss +5 -0
- package/src/Presentation/ui-components/Placeholder/Placeholder.tsx +1 -1
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.scss +4 -1
- package/src/Presentation/ui-components/PreviewFileMessage/PreviewFileMessage.tsx +1 -0
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.scss +5 -1
- package/src/Presentation/ui-components/SettingsItem/SettingsItem.tsx +1 -1
- package/src/Presentation/ui-components/TextField/TextField.scss +5 -3
- package/src/Presentation/ui-components/Toast/Toast.scss +3 -3
- package/src/Presentation/ui-components/Toast/ToastProvider.tsx +2 -2
- package/src/Presentation/ui-components/UserListItem/UserListItem.scss +11 -3
- package/src/Presentation/ui-components/UserListItem/UserListItem.tsx +1 -0
- package/src/QBconfig.ts +2 -0
- package/src/hooks/useQuickBloxUIKit.ts +101 -18
- package/src/index-ui.ts +111 -18
- package/src/qb-api-calls/index.ts +52 -3
- package/storybook-static/{217.3c66ff1e.iframe.bundle.js → 217.07d5c7a3.iframe.bundle.js} +3 -3
- package/storybook-static/{217.3c66ff1e.iframe.bundle.js.map → 217.07d5c7a3.iframe.bundle.js.map} +1 -1
- package/storybook-static/735.6ee62079.iframe.bundle.js +2 -0
- package/storybook-static/{844.6041e1a5.iframe.bundle.js → 844.e8bfd664.iframe.bundle.js} +3 -3
- package/storybook-static/{844.6041e1a5.iframe.bundle.js.map → 844.e8bfd664.iframe.bundle.js.map} +1 -1
- package/storybook-static/{961.c94da456.iframe.bundle.js → 961.d47fc2bc.iframe.bundle.js} +2 -2
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.a5ba7608.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.c8824861.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Button-Button-stories.fa2aa72c.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.b6998344.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.a724643f.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.a03feb06.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Header-Header-stories.978f0af5.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.4e80520d.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Message-Message-stories.213a90f6.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.be8aa2d9.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.e7f5a274.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.969cfe2e.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.4f00432b.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.1713eab7.iframe.bundle.js +2 -0
- package/storybook-static/iframe.html +2 -2
- package/storybook-static/project.json +1 -1
- package/storybook-static/{runtime~main.5a7ba727.iframe.bundle.js → runtime~main.17766d00.iframe.bundle.js} +1 -1
- package/storybook-static/sb-manager/globals-runtime.js +1 -1
- package/storybook-static/735.82f96f8a.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Button-Button-stories.1e4ae2b4.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.4e25a94d.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.8321872b.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Header-Header-stories.1cff200a.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.4aa88de3.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.19812f7d.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.5e19f10e.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.d2f60e13.iframe.bundle.js +0 -2
- /package/storybook-static/{217.3c66ff1e.iframe.bundle.js.LICENSE.txt → 217.07d5c7a3.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{735.82f96f8a.iframe.bundle.js.LICENSE.txt → 735.6ee62079.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{844.6041e1a5.iframe.bundle.js.LICENSE.txt → 844.e8bfd664.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{961.c94da456.iframe.bundle.js.LICENSE.txt → 961.d47fc2bc.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Avatar-avatar-stories.b363e9a1.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Avatar-avatar-stories.a5ba7608.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Badge-Badge-stories.85dd97b0.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Badge-Badge-stories.c8824861.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Button-Button-stories.1e4ae2b4.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Button-Button-stories.fa2aa72c.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.4e25a94d.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.b6998344.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogWindow-DialogWindow-stories.a724643f.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Dropdown-Dropdown-stories.8321872b.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Dropdown-Dropdown-stories.a03feb06.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Header-Header-stories.1cff200a.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Header-Header-stories.978f0af5.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Loader-Loader-stories.7391dde4.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Loader-Loader-stories.4e80520d.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Message-Message-stories.213a90f6.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-SettingsItem-SettingsItem-stories.d74853ab.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-SettingsItem-SettingsItem-stories.e7f5a274.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-TextField-TextField-stories.19812f7d.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-TextField-TextField-stories.969cfe2e.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-UserListItem-UserListItem-stories.d2f60e13.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-UserListItem-UserListItem-stories.1713eab7.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -19,7 +19,6 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
19
19
|
eventMessagesRepository: EventMessagesRepository,
|
|
20
20
|
nameSubscription: string = SubscriptionPerformer.DEFAULT_SUBSCRIPTION_NAME,
|
|
21
21
|
) {
|
|
22
|
-
console.log('CONSTRUCTOR SubscribeToDialogsUpdatesUseCaseWithMock');
|
|
23
22
|
super();
|
|
24
23
|
this.callBackExecute = undefined;
|
|
25
24
|
|
|
@@ -75,19 +74,10 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
updateMessageStatusEventHandler(dialogEventInfo: DialogEventInfo): void {
|
|
78
|
-
console.log(
|
|
79
|
-
'execute newDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
80
|
-
JSON.stringify(dialogEventInfo),
|
|
81
|
-
);
|
|
82
|
-
|
|
83
77
|
this.informSubscribers(dialogEventInfo);
|
|
84
78
|
}
|
|
85
79
|
|
|
86
80
|
newMessageEventHandler(messageEntity: MessageEntity): void {
|
|
87
|
-
console.log(
|
|
88
|
-
'execute newDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
89
|
-
JSON.stringify(messageEntity),
|
|
90
|
-
);
|
|
91
81
|
const messageInfo: DialogEventInfo = {
|
|
92
82
|
messageInfo: messageEntity,
|
|
93
83
|
notificationTypes: NotificationTypes.UPDATE_DIALOG,
|
|
@@ -99,10 +89,6 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
99
89
|
}
|
|
100
90
|
|
|
101
91
|
updateDialogEventHandler(messageEntity: MessageEntity): void {
|
|
102
|
-
console.log(
|
|
103
|
-
'execute updateDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
104
|
-
JSON.stringify(messageEntity),
|
|
105
|
-
);
|
|
106
92
|
const messageInfo: DialogEventInfo = {
|
|
107
93
|
messageInfo: messageEntity,
|
|
108
94
|
notificationTypes: NotificationTypes.UPDATE_DIALOG,
|
|
@@ -114,10 +100,6 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
114
100
|
}
|
|
115
101
|
|
|
116
102
|
leaveDialogEventHandler(messageEntity: MessageEntity): void {
|
|
117
|
-
console.log(
|
|
118
|
-
'execute leaveDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
119
|
-
JSON.stringify(messageEntity),
|
|
120
|
-
);
|
|
121
103
|
const messageInfo: DialogEventInfo = {
|
|
122
104
|
messageInfo: messageEntity,
|
|
123
105
|
notificationTypes: NotificationTypes.DELETE_LEAVE_DIALOG,
|
|
@@ -129,10 +111,6 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
129
111
|
}
|
|
130
112
|
|
|
131
113
|
removeUserDialogEventHandler(messageEntity: MessageEntity): void {
|
|
132
|
-
console.log(
|
|
133
|
-
'execute removeUserDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
134
|
-
JSON.stringify(messageEntity),
|
|
135
|
-
);
|
|
136
114
|
const messageInfo: DialogEventInfo = {
|
|
137
115
|
messageInfo: messageEntity,
|
|
138
116
|
notificationTypes: NotificationTypes.REMOVE_USER,
|
|
@@ -144,10 +122,6 @@ export class SubscribeToDialogEventsUseCase extends BaseUseCase<
|
|
|
144
122
|
}
|
|
145
123
|
|
|
146
124
|
newDialogEventHandler(messageEntity: MessageEntity): void {
|
|
147
|
-
console.log(
|
|
148
|
-
'execute newDialogEventHandler in SubscribeToDialogEventsUseCase:',
|
|
149
|
-
JSON.stringify(messageEntity),
|
|
150
|
-
);
|
|
151
125
|
const messageInfo: DialogEventInfo = {
|
|
152
126
|
messageInfo: messageEntity,
|
|
153
127
|
notificationTypes: NotificationTypes.NEW_DIALOG,
|
|
@@ -14,7 +14,6 @@ export class SubscribeToDialogsUpdatesUseCase extends BaseUseCase<
|
|
|
14
14
|
private dialogs: Array<DialogEntity> = [];
|
|
15
15
|
|
|
16
16
|
constructor(dialogRepository: DialogsRepository) {
|
|
17
|
-
console.log('CONSTRUCTOR SubscribeToDialogsUpdatesUseCase');
|
|
18
17
|
super();
|
|
19
18
|
this.callBackExecute = undefined;
|
|
20
19
|
|
|
@@ -19,7 +19,7 @@ export class SyncDialogsUseCase extends BaseUseCase<boolean, boolean> {
|
|
|
19
19
|
|
|
20
20
|
private timer2Id: NodeJS.Timer | undefined;
|
|
21
21
|
|
|
22
|
-
private timerId: NodeJS.Timer | undefined;
|
|
22
|
+
private timerId: NodeJS.Timer | undefined | null = null;
|
|
23
23
|
|
|
24
24
|
constructor(
|
|
25
25
|
dialogRepository: DialogsRepository,
|
|
@@ -27,7 +27,6 @@ export class SyncDialogsUseCase extends BaseUseCase<boolean, boolean> {
|
|
|
27
27
|
eventMessagesRepository: EventMessagesRepository,
|
|
28
28
|
) {
|
|
29
29
|
super();
|
|
30
|
-
console.log('CONSTRUCTOR SyncDialogsUseCaseWithMock');
|
|
31
30
|
this.callBackExecute = undefined;
|
|
32
31
|
|
|
33
32
|
this.dialogRepository = dialogRepository;
|
|
@@ -18,14 +18,12 @@ export class UpdateCurrentDialogInDataSourceUseCase
|
|
|
18
18
|
updateDialog: GroupDialogEntity,
|
|
19
19
|
qbConfig: QBUIKitConfig,
|
|
20
20
|
) {
|
|
21
|
-
console.log('CONSTRUCTOR UpdateCurrentDialogInDataSourceUseCase');
|
|
22
21
|
this.dialogRepository = dialogRepository;
|
|
23
22
|
this.updateDialog = updateDialog;
|
|
24
23
|
this.qbConfig = qbConfig;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
async execute(): Promise<DialogEntity> {
|
|
28
|
-
console.log('execute UpdateCurrentDialogInDataSourceUseCase');
|
|
29
27
|
const result: DialogEntity =
|
|
30
28
|
await this.dialogRepository.updateCurrentDialogInLocalDataSource(
|
|
31
29
|
this.updateDialog,
|
|
@@ -22,7 +22,6 @@ export class UpdateDialogUseCase implements IUseCase<void, DialogEntity> {
|
|
|
22
22
|
updateDialog: GroupDialogEntity,
|
|
23
23
|
textInformationMessage: string,
|
|
24
24
|
) {
|
|
25
|
-
console.log('CONSTRUCTOR UpdateDialogUseCase');
|
|
26
25
|
this.dialogRepository = dialogRepository;
|
|
27
26
|
this.updateDialog = updateDialog;
|
|
28
27
|
this.eventMessagesRepository = eventMessagesRepository;
|
|
@@ -30,7 +29,6 @@ export class UpdateDialogUseCase implements IUseCase<void, DialogEntity> {
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
async execute(): Promise<DialogEntity> {
|
|
33
|
-
console.log('execute UpdateDialogUseCase');
|
|
34
32
|
const result: DialogEntity =
|
|
35
33
|
await this.dialogRepository.updateDialogInRemote(this.updateDialog);
|
|
36
34
|
|
|
@@ -8,13 +8,11 @@ export class UploadFileUseCase implements IUseCase<void, FileEntity> {
|
|
|
8
8
|
private fileEntity: FileEntity;
|
|
9
9
|
|
|
10
10
|
constructor(fileRepository: FileRepository, fileEntity: FileEntity) {
|
|
11
|
-
console.log('CONSTRUCTOR UploadFileUseCase');
|
|
12
11
|
this.fileRepository = fileRepository;
|
|
13
12
|
this.fileEntity = fileEntity;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
async execute(): Promise<FileEntity> {
|
|
17
|
-
console.log('execute UploadFileUseCase');
|
|
18
16
|
const result: FileEntity = await this.fileRepository.saveFileInRemote(
|
|
19
17
|
this.fileEntity,
|
|
20
18
|
);
|
|
@@ -20,14 +20,12 @@ export class UserTypingMessageUseCase implements IUseCase<void, void> {
|
|
|
20
20
|
dialog: DialogEntity,
|
|
21
21
|
senderId: number,
|
|
22
22
|
) {
|
|
23
|
-
console.log('CONSTRUCTOR SendUserIsTypingMessageUseCase');
|
|
24
23
|
this.messagesRepository = messagesRepository;
|
|
25
24
|
this.dialog = dialog;
|
|
26
25
|
this.senderId = senderId;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
async execute(): Promise<void> {
|
|
30
|
-
console.log('execute SendUserIsTypingMessageUseCase');
|
|
31
29
|
this._typingTime = Date.now();
|
|
32
30
|
if (!this._typingTimer) {
|
|
33
31
|
await this.messagesRepository.typingMessageStart(
|
|
@@ -27,7 +27,6 @@ export class AIAnswerAssistUseCase implements IUseCase<void, string> {
|
|
|
27
27
|
sessionToken: string,
|
|
28
28
|
openAIModel = 'gpt-3.5-turbo',
|
|
29
29
|
) {
|
|
30
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
31
30
|
this.api = api;
|
|
32
31
|
this.openAIModel = openAIModel;
|
|
33
32
|
this.port = port;
|
|
@@ -38,7 +37,6 @@ export class AIAnswerAssistUseCase implements IUseCase<void, string> {
|
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
async execute(): Promise<string> {
|
|
41
|
-
console.log('execute AIRephraseUseCase');
|
|
42
40
|
const settings =
|
|
43
41
|
QBAIAnswerAssistant.createDefaultAIAnswerAssistantSettings();
|
|
44
42
|
|
|
@@ -27,7 +27,6 @@ export class AIAnswerAssistWithProxyUseCase implements IUseCase<void, string> {
|
|
|
27
27
|
sessionToken: string,
|
|
28
28
|
openAIModel = 'gpt-3.5-turbo',
|
|
29
29
|
) {
|
|
30
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
31
30
|
this.api = api;
|
|
32
31
|
this.openAIModel = openAIModel;
|
|
33
32
|
this.port = port;
|
|
@@ -38,8 +37,6 @@ export class AIAnswerAssistWithProxyUseCase implements IUseCase<void, string> {
|
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
async execute(): Promise<string> {
|
|
41
|
-
console.log('execute AIRephraseUseCase');
|
|
42
|
-
|
|
43
40
|
const settings =
|
|
44
41
|
QBAIAnswerAssistant.createDefaultAIAnswerAssistantSettings();
|
|
45
42
|
|
|
@@ -22,7 +22,6 @@ export class AIAnswerAssistWithSDKUseCase implements IUseCase<void, string> {
|
|
|
22
22
|
dataSource: IRemoteDataSource,
|
|
23
23
|
smartChatAssistantId: string,
|
|
24
24
|
) {
|
|
25
|
-
console.log('CONSTRUCTOR AIAnswerAssistWithSDKUseCase');
|
|
26
25
|
this.textToSend = textToSend;
|
|
27
26
|
this.dialogMessages = dialogMessages;
|
|
28
27
|
this.dataSource = dataSource;
|
|
@@ -30,7 +29,6 @@ export class AIAnswerAssistWithSDKUseCase implements IUseCase<void, string> {
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
async execute(): Promise<string> {
|
|
33
|
-
console.log('execute AIAnswerAssistWithSDKUseCase');
|
|
34
32
|
const history: AIChatMessage[] = this.dialogMessages.map(
|
|
35
33
|
(msg: IChatMessage) => {
|
|
36
34
|
return {
|
|
@@ -31,7 +31,6 @@ export class AIRephraseUseCase implements IUseCase<void, string> {
|
|
|
31
31
|
sessionToken: string,
|
|
32
32
|
openAIModel = 'gpt-3.5-turbo',
|
|
33
33
|
) {
|
|
34
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
35
34
|
this.api = api;
|
|
36
35
|
this.openAIModel = openAIModel;
|
|
37
36
|
this.port = port;
|
|
@@ -43,8 +42,6 @@ export class AIRephraseUseCase implements IUseCase<void, string> {
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
async execute(): Promise<string> {
|
|
46
|
-
console.log('execute AIRephraseUseCase');
|
|
47
|
-
|
|
48
45
|
const settings = QBAIRephrase.createDefaultAIRephraseSettings();
|
|
49
46
|
|
|
50
47
|
settings.apiKey = this.sessionToken;
|
|
@@ -31,7 +31,6 @@ export class AIRephraseWithProxyUseCase implements IUseCase<void, string> {
|
|
|
31
31
|
sessionToken: string,
|
|
32
32
|
openAIModel = 'gpt-3.5-turbo',
|
|
33
33
|
) {
|
|
34
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
35
34
|
this.api = api;
|
|
36
35
|
this.openAIModel = openAIModel;
|
|
37
36
|
this.port = port;
|
|
@@ -43,8 +42,6 @@ export class AIRephraseWithProxyUseCase implements IUseCase<void, string> {
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
async execute(): Promise<string> {
|
|
46
|
-
console.log('execute AIRephraseUseCase');
|
|
47
|
-
|
|
48
45
|
const settings = QBAIRephrase.createDefaultAIRephraseSettings();
|
|
49
46
|
|
|
50
47
|
settings.token = this.sessionToken;
|
|
@@ -29,7 +29,6 @@ export class AITranslateUseCase implements IUseCase<void, string> {
|
|
|
29
29
|
sessionToken: string,
|
|
30
30
|
openAIModel = 'gpt-3.5-turbo',
|
|
31
31
|
) {
|
|
32
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
33
32
|
this.api = api;
|
|
34
33
|
this.openAIModel = openAIModel;
|
|
35
34
|
this.port = port;
|
|
@@ -41,7 +40,6 @@ export class AITranslateUseCase implements IUseCase<void, string> {
|
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
async execute(): Promise<string> {
|
|
44
|
-
console.log('execute AIRephraseUseCase');
|
|
45
43
|
const settings: AITranslateSettings =
|
|
46
44
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
47
45
|
QBAITranslate.createDefaultAITranslateSettings();
|
|
@@ -30,7 +30,6 @@ export class AITranslateWithProxyUseCase implements IUseCase<void, string> {
|
|
|
30
30
|
sessionToken: string,
|
|
31
31
|
openAIModel = 'gpt-3.5-turbo',
|
|
32
32
|
) {
|
|
33
|
-
console.log('CONSTRUCTOR AIRephraseUseCase');
|
|
34
33
|
this.api = api;
|
|
35
34
|
this.openAIModel = openAIModel;
|
|
36
35
|
this.port = port;
|
|
@@ -42,8 +41,6 @@ export class AITranslateWithProxyUseCase implements IUseCase<void, string> {
|
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
async execute(): Promise<string> {
|
|
45
|
-
console.log('execute AIRephraseUseCase');
|
|
46
|
-
|
|
47
44
|
const settings: AITranslateSettings =
|
|
48
45
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
49
46
|
QBAITranslate.createDefaultAITranslateSettings();
|
|
@@ -82,7 +82,6 @@ export class AITranslateWithSDKUseCase implements IUseCase<void, string> {
|
|
|
82
82
|
dataSource: IRemoteDataSource,
|
|
83
83
|
smartChatAssistantId: string,
|
|
84
84
|
) {
|
|
85
|
-
console.log('CONSTRUCTOR AITranslateWithSDKUseCase');
|
|
86
85
|
this.dataSource = dataSource;
|
|
87
86
|
this.textToSend = textToSend;
|
|
88
87
|
this.language = language;
|
|
@@ -94,8 +93,6 @@ export class AITranslateWithSDKUseCase implements IUseCase<void, string> {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
async execute(): Promise<string> {
|
|
97
|
-
console.log('execute AITranslateWithSDKUseCase');
|
|
98
|
-
|
|
99
96
|
const response: AIAnswerResponse = await this.dataSource.translate(
|
|
100
97
|
this.textToSend,
|
|
101
98
|
this.getLanguageCode(this.language),
|
|
@@ -50,7 +50,6 @@ export class SubscriptionPerformer<TArg> implements ISubscribable<TArg> {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
constructor() {
|
|
53
|
-
console.log('CONSTRUCTOR SubscriptionPerformer');
|
|
54
53
|
// this.onEventByTypeSubscribers[EventMessageType.LocalMessage] = [];
|
|
55
54
|
this.onEventByTypeSubscribers[EventMessageType.LocalMessage] =
|
|
56
55
|
this.subscribers;
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
}
|
|
5
5
|
.dropdown-context-menu-tone {
|
|
6
6
|
position: absolute;
|
|
7
|
-
bottom:
|
|
7
|
+
bottom: 25px;
|
|
8
8
|
right: 0;
|
|
9
9
|
zIndex: 1;
|
|
10
10
|
width: max-content;
|
|
11
11
|
height: max-content;
|
|
12
12
|
|
|
13
|
-
background: var(--
|
|
13
|
+
background: var(--main-background, #ffffff);
|
|
14
14
|
border-radius: 4px;
|
|
15
|
-
padding: 8px
|
|
15
|
+
padding: 8px 0 8px 0;
|
|
16
16
|
|
|
17
|
-
box-shadow:
|
|
18
|
-
|
|
17
|
+
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04),
|
|
18
|
+
0 3px 14px 0 rgba(0, 0, 0, 0.08), 0 8px 10px 0 rgba(0, 0, 0, 0.12);
|
|
19
19
|
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.dropdown-context-menu-tone-menu-item-title {
|
|
34
|
-
color: var(--
|
|
34
|
+
color: var(--main-text, #0b121b);
|
|
35
35
|
text-align: left;
|
|
36
36
|
font: var(--body-body-medium, 400 14px/20px "Roboto", sans-serif);
|
|
37
37
|
position: relative;
|
|
@@ -53,3 +53,9 @@
|
|
|
53
53
|
height: 24px;
|
|
54
54
|
position: relative;
|
|
55
55
|
}
|
|
56
|
+
|
|
57
|
+
.ai-widget-actions-render {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
padding-right: 8px;
|
|
61
|
+
}
|
|
@@ -17,7 +17,7 @@ type ContextMenuProps = {
|
|
|
17
17
|
|
|
18
18
|
const ContextMenuStyles: { [key: string]: CSSProperties } = {
|
|
19
19
|
contextMenuIcon: {
|
|
20
|
-
display: 'inline-block',
|
|
20
|
+
// display: 'inline-block',
|
|
21
21
|
position: 'relative',
|
|
22
22
|
maxWidth: '42px',
|
|
23
23
|
maxHeight: '42px',
|
|
@@ -84,7 +84,9 @@ function AIWidgetActions({
|
|
|
84
84
|
|
|
85
85
|
return (
|
|
86
86
|
<div style={ContextMenuStyles.contextMenuIcon}>
|
|
87
|
-
<div onClick={handleClick}>
|
|
87
|
+
<div className="ai-widget-actions-render" onClick={handleClick}>
|
|
88
|
+
{widgetToRender || <EditDots />}
|
|
89
|
+
</div>
|
|
88
90
|
{menuVisible && (
|
|
89
91
|
// <div ref={contextMenuRef} style={ContextMenuStyles.contextMenuContent}>
|
|
90
92
|
<div
|
|
@@ -26,7 +26,13 @@ $message-view-container-ai-translate-text-color: var(--tertiary-elements);
|
|
|
26
26
|
&--header{
|
|
27
27
|
min-height: $message-view-container-header-min-height;
|
|
28
28
|
max-height: $message-view-container-header-min-height;
|
|
29
|
-
width: 100
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
.dialog-header{
|
|
32
|
+
&__title {
|
|
33
|
+
font: var(--title-title-medium);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
&--information{
|
|
32
38
|
background-color: $message-view-container-information-background-color;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: flex-start;
|
|
13
13
|
flex-shrink: 0;
|
|
14
|
-
width: 270px;
|
|
14
|
+
//width: 270px;
|
|
15
15
|
position: relative;
|
|
16
16
|
|
|
17
17
|
}
|
|
@@ -20,22 +20,15 @@
|
|
|
20
20
|
width: 40px;
|
|
21
21
|
height: 40px;
|
|
22
22
|
position: relative;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
left: 0px;
|
|
29
|
-
top: 0px;
|
|
30
|
-
}
|
|
31
|
-
.dialog-item-element-avatar-ellipse {
|
|
32
|
-
background: var(--disabled-elements, #bcc1c5);
|
|
23
|
+
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
overflow: hidden;
|
|
33
28
|
border-radius: 50%;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
left: 0px;
|
|
38
|
-
top: 0px;
|
|
29
|
+
background-color: var(--disabled-elements);
|
|
30
|
+
color: var(--secondary-text);
|
|
31
|
+
|
|
39
32
|
}
|
|
40
33
|
.contents-user {
|
|
41
34
|
position: absolute;
|
|
@@ -52,20 +45,15 @@
|
|
|
52
45
|
display: flex;
|
|
53
46
|
align-items: center;
|
|
54
47
|
justify-content: flex-start;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
width: 200px;
|
|
52
|
+
@media (max-width: 767px) {
|
|
53
|
+
width: 120px;
|
|
54
|
+
}
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
padding: 4px;
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
gap: 0px;
|
|
62
|
-
align-items: center;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
flex-shrink: 0;
|
|
65
|
-
width: 32px;
|
|
66
|
-
height: 32px;
|
|
67
|
-
position: relative;
|
|
68
|
-
}
|
|
56
|
+
|
|
69
57
|
.toggle-check-on {
|
|
70
58
|
align-self: stretch;
|
|
71
59
|
flex: 1;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import './DialogListItem.scss';
|
|
3
2
|
import { FunctionTypeStringToVoid } from '../../../../../../CommonTypes/BaseViewModel';
|
|
4
3
|
import { DialogType } from '../../../../../../Domain/entity/DialogTypes';
|
|
5
4
|
import User from '../../../../../components/UI/svgs/Icons/Contents/User';
|
|
@@ -7,6 +6,8 @@ import GroupChat from '../../../../../components/UI/svgs/Icons/Contents/GroupCha
|
|
|
7
6
|
import PublicChannel from '../../../../../components/UI/svgs/Icons/Contents/PublicChannel';
|
|
8
7
|
import UserAvatar from '../../../../EditDialog/UserAvatar/UserAvatar';
|
|
9
8
|
import { IconTheme } from '../../../../../components/UI/svgs/Icons/IconsCommonTypes';
|
|
9
|
+
import CheckBox from '../../../../../ui-components/CheckBox/CheckBox';
|
|
10
|
+
import './DialogListItem.scss';
|
|
10
11
|
|
|
11
12
|
type DialogListItemProps = {
|
|
12
13
|
name: string;
|
|
@@ -74,21 +75,15 @@ const DialogListItem: React.FC<DialogListItemProps> = ({
|
|
|
74
75
|
}: DialogListItemProps) => {
|
|
75
76
|
return (
|
|
76
77
|
<div className="dialog-item-element">
|
|
77
|
-
<div className="item-element-avatar">
|
|
78
|
-
<div className="item-element-avatar-rectangle" />
|
|
79
|
-
<div className="item-element-avatar-ellipse" />
|
|
78
|
+
<div className="dialog-item-element-avatar">
|
|
80
79
|
{renderAvatar(avatar, typeDialog)}
|
|
81
80
|
</div>
|
|
82
81
|
<div className="dialog-item-element-subtitle">{name}</div>
|
|
83
|
-
<
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
onSelect(id);
|
|
89
|
-
}}
|
|
90
|
-
/>
|
|
91
|
-
</div>
|
|
82
|
+
<CheckBox
|
|
83
|
+
onChange={() => onSelect(id)}
|
|
84
|
+
disabled={false}
|
|
85
|
+
checked={checked}
|
|
86
|
+
/>
|
|
92
87
|
</div>
|
|
93
88
|
);
|
|
94
89
|
};
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
.active-tab-button {
|
|
35
35
|
border-style: solid;
|
|
36
|
-
border-color: var(--
|
|
36
|
+
border-color: var(--main-elements, #3978fc);
|
|
37
37
|
border-width: 0px 0px 3px 0px;
|
|
38
38
|
padding: 8px 16px 8px 16px;
|
|
39
39
|
display: flex;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
position: relative;
|
|
47
47
|
}
|
|
48
48
|
.active-tab-button-content {
|
|
49
|
-
color: var(--
|
|
49
|
+
color: var(--main-elements, #3978fc);
|
|
50
50
|
text-align: left;
|
|
51
51
|
font: var(--button-default, 700 14px/16px "Roboto", sans-serif);
|
|
52
52
|
position: relative;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
}
|
|
66
66
|
.no-active-tab-button-content {
|
|
67
|
-
color: var(--
|
|
67
|
+
color: var(--tertiary-elements, #636d78);
|
|
68
68
|
text-align: left;
|
|
69
69
|
font: var(--button-default, 700 14px/16px "Roboto", sans-serif);
|
|
70
70
|
position: relative;
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
overflow: visible;
|
|
77
77
|
}
|
|
78
78
|
.forward-message-flow-message-input {
|
|
79
|
-
background: var(--
|
|
79
|
+
background: var(--main-background);
|
|
80
80
|
display: flex;
|
|
81
81
|
flex-direction: column;
|
|
82
|
-
gap:
|
|
82
|
+
gap: 0;
|
|
83
83
|
align-items: flex-start;
|
|
84
84
|
justify-content: center;
|
|
85
85
|
align-self: stretch;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
.caption {
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: row;
|
|
111
|
-
gap:
|
|
111
|
+
gap: 0;
|
|
112
112
|
align-items: flex-start;
|
|
113
113
|
justify-content: flex-start;
|
|
114
114
|
flex-shrink: 0;
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
border-radius: 4px;
|
|
128
128
|
display: flex;
|
|
129
129
|
flex-direction: row;
|
|
130
|
-
gap:
|
|
130
|
+
gap: 0;
|
|
131
131
|
align-items: center;
|
|
132
132
|
justify-content: center;
|
|
133
133
|
flex-shrink: 0;
|
|
@@ -142,13 +142,13 @@
|
|
|
142
142
|
overflow: visible;
|
|
143
143
|
}
|
|
144
144
|
.forwarded-from-name {
|
|
145
|
-
color: var(--
|
|
145
|
+
color: var(--tertiary-elements, #636d78);
|
|
146
146
|
text-align: left;
|
|
147
147
|
font: var(--label-label-medium, 500 12px/16px "Roboto", sans-serif);
|
|
148
148
|
position: relative;
|
|
149
149
|
}
|
|
150
150
|
.i-like-you-new-presentation-style-it-s-very {
|
|
151
|
-
color: var(--
|
|
151
|
+
color: var(--main-text, #0b1b0f);
|
|
152
152
|
text-align: center;
|
|
153
153
|
font: var(--body-body-large, 400 16px/24px "Roboto", sans-serif);
|
|
154
154
|
position: relative;
|
package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss
CHANGED
|
@@ -25,6 +25,15 @@
|
|
|
25
25
|
justify-content: flex-start;
|
|
26
26
|
flex: 1;
|
|
27
27
|
position: relative;
|
|
28
|
+
|
|
29
|
+
textarea {
|
|
30
|
+
overflow: auto;
|
|
31
|
+
scrollbar-width: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
textarea::-webkit-scrollbar {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
.forwarding-message-input-input-type-message {
|
|
30
39
|
color: var(--main-text, #636d78);
|
|
@@ -43,6 +52,8 @@
|
|
|
43
52
|
height: 26px;
|
|
44
53
|
min-height: 26px;
|
|
45
54
|
max-height: 26px;
|
|
55
|
+
|
|
56
|
+
|
|
46
57
|
}
|
|
47
58
|
|
|
48
59
|
.forwarding-message-input-icon-send {
|
|
@@ -57,7 +57,8 @@ export default function MessageContextMenu({
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
return (
|
|
60
|
-
|
|
60
|
+
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
61
|
+
<>
|
|
61
62
|
{enableForwarding || enableReplying ? (
|
|
62
63
|
<Dropdown
|
|
63
64
|
options={options}
|
|
@@ -73,6 +74,6 @@ export default function MessageContextMenu({
|
|
|
73
74
|
<MoreSvg className="message-context-menu-actions__icon" />
|
|
74
75
|
</div>
|
|
75
76
|
)}
|
|
76
|
-
|
|
77
|
+
</>
|
|
77
78
|
);
|
|
78
79
|
}
|