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
|
@@ -43,15 +43,12 @@ export default function useDialogViewModel(
|
|
|
43
43
|
dialogType: DialogType,
|
|
44
44
|
dialogEntity: DialogEntity,
|
|
45
45
|
): DialogViewModel {
|
|
46
|
-
console.log('useDialogViewModel');
|
|
47
46
|
const [loading, setLoading] = useState(false);
|
|
48
47
|
const [error, setError] = useState('');
|
|
49
48
|
const startPagination: Pagination = new Pagination(0, 0);
|
|
50
49
|
const [pagination, setPagination] = useState<Pagination>(startPagination);
|
|
51
50
|
const [messages, setMessages] = useState<MessageEntity[]>([]);
|
|
52
|
-
// const [users, setUsers] = useState<Record<number, UserEntity>>();
|
|
53
51
|
const [dialog, setDialog] = useState<DialogEntity>(dialogEntity);
|
|
54
|
-
// const [dialogsParticipants, setDialogsParticipants] = useState<number[]>([]);
|
|
55
52
|
|
|
56
53
|
const currentContext = useQbInitializedDataContext();
|
|
57
54
|
const remoteDataSourceMock: RemoteDataSource =
|
|
@@ -83,10 +80,9 @@ export default function useDialogViewModel(
|
|
|
83
80
|
|
|
84
81
|
updateCurrentDialogInDataSourceUseCase.execute().catch((e) => {
|
|
85
82
|
console.log(
|
|
86
|
-
'useDialogViewModel Error updateCurrentDialogInDataSourceUseCase: ',
|
|
83
|
+
'Error: useDialogViewModel Error updateCurrentDialogInDataSourceUseCase: ',
|
|
87
84
|
stringifyError(e),
|
|
88
85
|
);
|
|
89
|
-
throw new Error(stringifyError(e));
|
|
90
86
|
});
|
|
91
87
|
}
|
|
92
88
|
|
|
@@ -175,7 +171,7 @@ export default function useDialogViewModel(
|
|
|
175
171
|
console.log(
|
|
176
172
|
`DIALOG: ${JSON.stringify(dialogEntity)} WITH ${
|
|
177
173
|
data.ResultData.length
|
|
178
|
-
} messages
|
|
174
|
+
} messages.`,
|
|
179
175
|
);
|
|
180
176
|
|
|
181
177
|
messagesDialog = data.ResultData;
|
|
@@ -243,7 +239,7 @@ export default function useDialogViewModel(
|
|
|
243
239
|
return obj;
|
|
244
240
|
});
|
|
245
241
|
|
|
246
|
-
console.log(`result messages:${
|
|
242
|
+
console.log(`result messages, count:${ResultMessages.length}`);
|
|
247
243
|
setMessages((prevState) => {
|
|
248
244
|
const newItems: MessageEntity[] =
|
|
249
245
|
currentPagination === undefined ||
|
|
@@ -254,12 +250,9 @@ export default function useDialogViewModel(
|
|
|
254
250
|
return newItems;
|
|
255
251
|
});
|
|
256
252
|
setLoading(false);
|
|
257
|
-
console.log('EXECUTE USE CASE MessagesViewModelWithMockUseCase EXECUTED');
|
|
258
253
|
}
|
|
259
254
|
|
|
260
255
|
const dialogUpdateHandler = (dialogInfo: DialogEventInfo) => {
|
|
261
|
-
console.log('call dialogUpdateHandler in useDialogViewModel');
|
|
262
|
-
|
|
263
256
|
if (dialogInfo.eventMessageType === EventMessageType.LocalMessage) {
|
|
264
257
|
if (dialogInfo.messageStatus) {
|
|
265
258
|
if (
|
|
@@ -408,13 +401,13 @@ export default function useDialogViewModel(
|
|
|
408
401
|
);
|
|
409
402
|
|
|
410
403
|
const sendTypingTextMessage = () => {
|
|
411
|
-
console.log('call release in MessagesViewModelWithMockUseCase');
|
|
412
404
|
userTypingMessageUseCase.execute().catch((reason) => {
|
|
413
405
|
const errorMessage: string = stringifyError(reason);
|
|
414
406
|
|
|
415
|
-
console.log(
|
|
416
|
-
|
|
417
|
-
|
|
407
|
+
console.log(
|
|
408
|
+
'Error: have exception in sendTypingTextMessage: ',
|
|
409
|
+
errorMessage,
|
|
410
|
+
);
|
|
418
411
|
});
|
|
419
412
|
};
|
|
420
413
|
|
|
@@ -490,11 +483,10 @@ export default function useDialogViewModel(
|
|
|
490
483
|
const errorMessage: string = stringifyError(reason);
|
|
491
484
|
|
|
492
485
|
console.log(
|
|
493
|
-
'exception in sendMessage in useDialogViewModel',
|
|
486
|
+
'Error: exception in sendMessage in useDialogViewModel',
|
|
494
487
|
errorMessage,
|
|
495
488
|
);
|
|
496
489
|
setLoading(false);
|
|
497
|
-
throw new Error(errorMessage);
|
|
498
490
|
})
|
|
499
491
|
.finally(() => {
|
|
500
492
|
setLoading(false);
|
|
@@ -572,7 +564,6 @@ export default function useDialogViewModel(
|
|
|
572
564
|
};
|
|
573
565
|
|
|
574
566
|
const sendAttachmentMessage = async (newMessage: File): Promise<boolean> => {
|
|
575
|
-
console.log('call sendAttachmentMessage');
|
|
576
567
|
setLoading(true);
|
|
577
568
|
const currentUserId = REMOTE_DATA_SOURCE.authInformation?.userId || 0;
|
|
578
569
|
|
|
@@ -614,11 +605,10 @@ export default function useDialogViewModel(
|
|
|
614
605
|
const errorMessage: string = stringifyError(reason);
|
|
615
606
|
|
|
616
607
|
console.log(
|
|
617
|
-
'exception in sendMessage in useDialogViewModel',
|
|
608
|
+
'Error: exception in sendMessage in useDialogViewModel',
|
|
618
609
|
errorMessage,
|
|
619
610
|
);
|
|
620
611
|
setLoading(false);
|
|
621
|
-
throw new Error(errorMessage);
|
|
622
612
|
})
|
|
623
613
|
.finally(() => {
|
|
624
614
|
setLoading(false);
|
|
@@ -707,11 +697,10 @@ export default function useDialogViewModel(
|
|
|
707
697
|
const errorMessage: string = stringifyError(reason);
|
|
708
698
|
|
|
709
699
|
console.log(
|
|
710
|
-
'exception in sendMessage in useDialogViewModel',
|
|
700
|
+
'Error: exception in sendMessage in useDialogViewModel',
|
|
711
701
|
errorMessage,
|
|
712
702
|
);
|
|
713
703
|
setLoading(false);
|
|
714
|
-
throw new Error(errorMessage);
|
|
715
704
|
})
|
|
716
705
|
.finally(() => {
|
|
717
706
|
setLoading(false);
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
$dialog-information-container-height: 800px;
|
|
2
2
|
$dialog-information-container-dialog-information-height: 64px;
|
|
3
3
|
|
|
4
|
-
.dialog-information-container {
|
|
5
|
-
// min-height: $dialog-information-container-height;
|
|
6
|
-
// max-height: $dialog-information-container-height;
|
|
7
|
-
// height: $dialog-information-container-height;
|
|
8
|
-
// border: 1px solid var(--divider);
|
|
9
|
-
}
|
|
10
4
|
.header-dialog-info,
|
|
11
5
|
.header-dialog-info * {
|
|
12
6
|
box-sizing: border-box;
|
|
13
7
|
}
|
|
14
8
|
.header-dialog-info {
|
|
15
|
-
background: var(--color-background, #ffffff);
|
|
16
9
|
padding: 16px 16px 16px 24px;
|
|
17
10
|
display: flex;
|
|
18
11
|
flex-direction: row;
|
|
@@ -20,28 +13,38 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
20
13
|
justify-content: space-between;
|
|
21
14
|
align-self: stretch;
|
|
22
15
|
flex-shrink: 0;
|
|
16
|
+
font: var(--title-title-large);
|
|
23
17
|
position: relative;
|
|
24
18
|
border-bottom: 1px solid var(--divider);
|
|
25
19
|
height: $dialog-information-container-dialog-information-height;
|
|
20
|
+
|
|
21
|
+
.dialog-header__icon {
|
|
22
|
+
svg {
|
|
23
|
+
width: 24px;
|
|
24
|
+
height: 24px;
|
|
25
|
+
fill: var(--secondary-elements);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
26
28
|
}
|
|
29
|
+
.header-dialog-info-icon {
|
|
30
|
+
width: 24px;
|
|
31
|
+
height: 24px;
|
|
32
|
+
fill: var(--secondary-elements);
|
|
33
|
+
}
|
|
34
|
+
|
|
27
35
|
.header-dialog-info-headline {
|
|
28
36
|
color: var(--main-text, #0b1b0f);
|
|
29
37
|
text-align: left;
|
|
30
38
|
font: var(--title-title-large);
|
|
31
39
|
position: relative;
|
|
32
40
|
}
|
|
33
|
-
|
|
34
|
-
width: 24px;
|
|
35
|
-
height: 24px;
|
|
36
|
-
fill: var(--secondary-elements);
|
|
37
|
-
}
|
|
41
|
+
|
|
38
42
|
|
|
39
43
|
.dialog-information-profile,
|
|
40
44
|
.dialog-information-profile * {
|
|
41
45
|
box-sizing: border-box;
|
|
42
46
|
}
|
|
43
47
|
.dialog-information-profile {
|
|
44
|
-
background: var(--color-background, #ffffff);
|
|
45
48
|
padding: 24px 0px 24px 0px;
|
|
46
49
|
align-self: stretch;
|
|
47
50
|
flex-flow: column;
|
|
@@ -51,9 +54,7 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
51
54
|
border-bottom: 1px solid var(--divider);
|
|
52
55
|
}
|
|
53
56
|
.dialog-information-profile-avatar {
|
|
54
|
-
// width: 80px;
|
|
55
57
|
height: 80px;
|
|
56
|
-
// position: absolute;
|
|
57
58
|
left: 140px;
|
|
58
59
|
top: 24px;
|
|
59
60
|
}
|
|
@@ -62,7 +63,6 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
62
63
|
justify-content: center;
|
|
63
64
|
}
|
|
64
65
|
.dialog-info-profile-avatar-ellipse {
|
|
65
|
-
background: var(--disabled-elements, #bcc1c5);
|
|
66
66
|
border-radius: 50%;
|
|
67
67
|
position: absolute;
|
|
68
68
|
height: 81px;
|
|
@@ -70,7 +70,6 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
70
70
|
top: 24px;
|
|
71
71
|
}
|
|
72
72
|
.dialog-info-profile-avatar-contents {
|
|
73
|
-
height: auto;
|
|
74
73
|
position: absolute;
|
|
75
74
|
right: 17.86%;
|
|
76
75
|
left: 17.86%;
|
|
@@ -85,7 +84,6 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
85
84
|
color: var(--main-text, #0b1b0f);
|
|
86
85
|
text-align: center;
|
|
87
86
|
font: var(--title-title-medium);
|
|
88
|
-
// position: absolute;
|
|
89
87
|
left: 134.5px;
|
|
90
88
|
top: 112px;
|
|
91
89
|
display: flex;
|
|
@@ -93,18 +91,15 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
93
91
|
justify-content: center;
|
|
94
92
|
}
|
|
95
93
|
.dialog-information-profile-edit {
|
|
96
|
-
position: relative;
|
|
97
94
|
right: -10px;
|
|
98
|
-
//top: 30px;
|
|
99
95
|
border-radius: 4px;
|
|
100
96
|
padding: 8px 56px 0px 0px;
|
|
101
97
|
display: flex;
|
|
102
98
|
flex-direction: row;
|
|
103
|
-
gap:
|
|
99
|
+
gap: 0;
|
|
104
100
|
align-items: center;
|
|
105
101
|
justify-content: center;
|
|
106
102
|
position: absolute;
|
|
107
|
-
//left: 294px;
|
|
108
103
|
top: 8px;
|
|
109
104
|
}
|
|
110
105
|
.dialog-information-profile-edit-button {
|
|
@@ -124,7 +119,6 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
124
119
|
box-sizing: border-box;
|
|
125
120
|
}
|
|
126
121
|
.dialog-info-action-wrapper-settings {
|
|
127
|
-
background: var(--color-background, #ffffff);
|
|
128
122
|
padding: 16px;
|
|
129
123
|
display: flex;
|
|
130
124
|
flex-direction: row;
|
|
@@ -149,7 +143,7 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
149
143
|
padding: 4px;
|
|
150
144
|
display: flex;
|
|
151
145
|
flex-direction: row;
|
|
152
|
-
gap:
|
|
146
|
+
gap: 0;
|
|
153
147
|
align-items: center;
|
|
154
148
|
justify-content: center;
|
|
155
149
|
flex-shrink: 0;
|
|
@@ -202,7 +196,7 @@ $dialog-information-container-dialog-information-height: 64px;
|
|
|
202
196
|
text-align: center;
|
|
203
197
|
font: var(--label-label-medium);
|
|
204
198
|
position: relative;
|
|
205
|
-
padding:
|
|
199
|
+
padding: 0 5px 0 5px;
|
|
206
200
|
}
|
|
207
201
|
|
|
208
202
|
.dialog-info-leave {
|
|
@@ -397,8 +397,8 @@ const DialogInfo: React.FC<HeaderDialogsProps> = ({
|
|
|
397
397
|
>
|
|
398
398
|
<EditDialog
|
|
399
399
|
disableActions={disableAction}
|
|
400
|
-
nameDialog={dialogViewModel?.entity
|
|
401
|
-
typeDialog={dialogViewModel?.entity
|
|
400
|
+
nameDialog={dialogViewModel?.entity?.name || dialog?.name}
|
|
401
|
+
typeDialog={dialogViewModel?.entity?.type || dialog?.type}
|
|
402
402
|
ulrIcon={getUrlAvatar(dialogViewModel?.entity || dialog)}
|
|
403
403
|
typeAddEditDialog={TypeOpenDialog.edit}
|
|
404
404
|
clickUpdatedHandler={getDialogUpdatedInfoHandler}
|
|
@@ -1,41 +1,24 @@
|
|
|
1
1
|
.dialog-members-btn {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
|
|
4
|
-
/* Auto layout */
|
|
5
|
-
|
|
6
4
|
display: flex;
|
|
7
5
|
flex-direction: row;
|
|
8
6
|
justify-content: center;
|
|
9
7
|
align-items: center;
|
|
10
8
|
padding: 8px 10px;
|
|
11
|
-
|
|
12
|
-
// width: 143px;
|
|
13
9
|
height: 32px;
|
|
14
10
|
|
|
15
|
-
/* Secondary/Secondary-500 */
|
|
16
11
|
|
|
17
12
|
border: 1px solid var(--secondary-elements);
|
|
18
13
|
border-radius: 4px;
|
|
19
|
-
|
|
20
|
-
/* Inside auto layout */
|
|
21
|
-
|
|
22
14
|
flex: none;
|
|
23
15
|
order: 0;
|
|
24
16
|
flex-grow: 0;
|
|
25
|
-
|
|
26
|
-
/* Button/Default */
|
|
27
|
-
|
|
28
|
-
font-family: 'Roboto';
|
|
29
17
|
font-style: normal;
|
|
30
18
|
font-weight: 700;
|
|
31
19
|
font-size: 14px;
|
|
32
20
|
line-height: 16px;
|
|
33
|
-
/* identical to box height, or 114% */
|
|
34
|
-
|
|
35
21
|
letter-spacing: 0.4px;
|
|
36
|
-
|
|
37
|
-
/* Secondary/Secondary-500 */
|
|
38
|
-
|
|
39
22
|
color: var(--secondary-elements);
|
|
40
23
|
|
|
41
24
|
cursor: pointer;
|
|
@@ -6,7 +6,6 @@ $members-container-header-height: 64px;
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
}
|
|
8
8
|
.members-container-header {
|
|
9
|
-
background: var(--color-background, #ffffff);
|
|
10
9
|
padding: 16px 16px 16px 24px;
|
|
11
10
|
display: flex;
|
|
12
11
|
flex-direction: row;
|
|
@@ -21,6 +20,15 @@ $members-container-header-height: 64px;
|
|
|
21
20
|
border-width: 0 0 1px 0;
|
|
22
21
|
|
|
23
22
|
height: $members-container-header-height;
|
|
23
|
+
|
|
24
|
+
.dialog-header__icon {
|
|
25
|
+
svg {
|
|
26
|
+
width: 24px;
|
|
27
|
+
height: 24px;
|
|
28
|
+
fill: var(--main-text);
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
24
32
|
}
|
|
25
33
|
.members-container-header-left {
|
|
26
34
|
display: flex;
|
|
@@ -13,7 +13,6 @@ import { DefaultConfigurations } from '../../../../Data/DefaultConfigurations';
|
|
|
13
13
|
export default function useUsersListViewModel(
|
|
14
14
|
dialogEntity?: DialogEntity,
|
|
15
15
|
): UsersListViewModel {
|
|
16
|
-
console.log('create useUsersListViewModel');
|
|
17
16
|
const [loading, setLoading] = useState(false);
|
|
18
17
|
const [error, setError] = useState('error with getting user list');
|
|
19
18
|
const [users, setUsers] = useState<UserEntity[]>([]);
|
|
@@ -26,8 +25,9 @@ export default function useUsersListViewModel(
|
|
|
26
25
|
const { regexUserName } = QBConfig.appConfig;
|
|
27
26
|
const regex = regexUserName ? new RegExp(regexUserName) : null;
|
|
28
27
|
|
|
28
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29
29
|
function logData(message: string, data: any) {
|
|
30
|
-
console.log(`${message} :`, JSON.stringify(data));
|
|
30
|
+
// console.log(`${message} :`, JSON.stringify(data));
|
|
31
31
|
}
|
|
32
32
|
function handleSuccessfulFetch(participants: Array<number>, data: any) {
|
|
33
33
|
logData('have getUsers', data);
|
|
@@ -84,7 +84,6 @@ export default function useUsersListViewModel(
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
async function getUsers() {
|
|
87
|
-
console.log('call getUsers in useUsersListViewModel');
|
|
88
87
|
const participants: Array<number> =
|
|
89
88
|
// eslint-disable-next-line no-nested-ternary
|
|
90
89
|
dialog?.type === DialogType.group
|
|
@@ -94,7 +93,6 @@ export default function useUsersListViewModel(
|
|
|
94
93
|
: [];
|
|
95
94
|
|
|
96
95
|
await fetchUsersData(participants);
|
|
97
|
-
console.log('EXECUTE USE CASES getUsers');
|
|
98
96
|
}
|
|
99
97
|
async function getUserById(id: number): Promise<UserEntity> {
|
|
100
98
|
const response = await getUsersData([id]);
|
|
@@ -38,7 +38,6 @@ export default function useDialogListViewModel(
|
|
|
38
38
|
currentContext: QBDataContextType,
|
|
39
39
|
initPagination?: Pagination,
|
|
40
40
|
): DialogListViewModel {
|
|
41
|
-
console.log('3.1. useDialogListViewModel');
|
|
42
41
|
const startPagination: Pagination = initPagination || new Pagination();
|
|
43
42
|
const [loading, setLoading] = useState(false);
|
|
44
43
|
const [error, setError] = useState('');
|
|
@@ -4,13 +4,9 @@ $create-dialog-container-width: 332px;
|
|
|
4
4
|
$create-dialog-container-height: 180px;
|
|
5
5
|
|
|
6
6
|
.edit-container {
|
|
7
|
-
//border: 1px solid blue;
|
|
8
7
|
min-height: $container-height;
|
|
9
8
|
max-height: $container-height;
|
|
10
9
|
height: $container-height;
|
|
11
|
-
//min-width: $container-width;
|
|
12
|
-
//max-width: $container-width;
|
|
13
|
-
//width: $container-width;
|
|
14
10
|
width: 100%;
|
|
15
11
|
|
|
16
12
|
display: flex;
|
|
@@ -21,13 +17,9 @@ $create-dialog-container-height: 180px;
|
|
|
21
17
|
}
|
|
22
18
|
|
|
23
19
|
.edit-btn-container {
|
|
24
|
-
//border: 3px solid black;
|
|
25
20
|
min-height: 34px;
|
|
26
21
|
max-height: 34px;
|
|
27
22
|
height: 34px;
|
|
28
|
-
//min-width: $container-width;
|
|
29
|
-
//max-width: $container-width;
|
|
30
|
-
//width: $container-width;
|
|
31
23
|
width: 100%;
|
|
32
24
|
|
|
33
25
|
display: flex;
|
|
@@ -41,13 +33,8 @@ $create-dialog-container-height: 180px;
|
|
|
41
33
|
min-height: $create-dialog-container-height;
|
|
42
34
|
max-height: $create-dialog-container-height;
|
|
43
35
|
height: $create-dialog-container-height;
|
|
44
|
-
//min-width: $create-dialog-container-width;
|
|
45
|
-
//max-width: $create-dialog-container-width;
|
|
46
|
-
//width: $create-dialog-container-width;
|
|
47
36
|
width: 100%;
|
|
48
37
|
|
|
49
|
-
//border: 3px solid green;
|
|
50
|
-
|
|
51
38
|
margin-bottom: 24px;
|
|
52
39
|
|
|
53
40
|
&--disable {
|
|
@@ -69,21 +56,14 @@ $create-dialog-container-height: 180px;
|
|
|
69
56
|
justify-content: flex-start;
|
|
70
57
|
align-items: flex-start;
|
|
71
58
|
|
|
72
|
-
//border: 1px solid blue;
|
|
73
|
-
|
|
74
59
|
&__inf {
|
|
75
60
|
min-height: 20px;
|
|
76
|
-
|
|
77
|
-
font-family: 'Roboto';
|
|
78
61
|
font-style: normal;
|
|
79
62
|
font-weight: 400;
|
|
80
63
|
font-size: 14px;
|
|
81
64
|
line-height: 20px;
|
|
82
65
|
letter-spacing: 0.25px;
|
|
83
66
|
color: var(--main-text);
|
|
84
|
-
// color: var(--color-background);
|
|
85
|
-
|
|
86
|
-
//border: 1px solid orange;
|
|
87
67
|
}
|
|
88
68
|
|
|
89
69
|
&__icon-container {
|
|
@@ -100,8 +80,6 @@ $create-dialog-container-height: 180px;
|
|
|
100
80
|
max-height: 56px;
|
|
101
81
|
height: 56px;
|
|
102
82
|
min-width: 56px;
|
|
103
|
-
max-width: 56px;
|
|
104
|
-
height: 56px;
|
|
105
83
|
margin-top: 8px;
|
|
106
84
|
|
|
107
85
|
background-color: var(--disabled-elements);
|
|
@@ -111,12 +89,6 @@ $create-dialog-container-height: 180px;
|
|
|
111
89
|
display: flex;
|
|
112
90
|
justify-content: center;
|
|
113
91
|
align-items: center;
|
|
114
|
-
|
|
115
|
-
//border: 1px solid red;
|
|
116
|
-
|
|
117
|
-
&__content {
|
|
118
|
-
// margin: 10px;
|
|
119
|
-
}
|
|
120
92
|
}
|
|
121
93
|
|
|
122
94
|
&__upload {
|
|
@@ -128,23 +100,17 @@ $create-dialog-container-height: 180px;
|
|
|
128
100
|
padding-left: 16px;
|
|
129
101
|
padding-top: 20px;
|
|
130
102
|
|
|
131
|
-
font-family: 'Roboto';
|
|
132
103
|
font-style: normal;
|
|
133
104
|
font-weight: 700;
|
|
134
105
|
font-size: 14px;
|
|
135
106
|
line-height: 16px;
|
|
136
107
|
letter-spacing: 0.4px;
|
|
137
108
|
color: var(--color-icon);
|
|
138
|
-
//cursor: pointer;
|
|
139
|
-
|
|
140
|
-
// border: 1px solid green;
|
|
141
109
|
}
|
|
142
110
|
}
|
|
143
111
|
|
|
144
112
|
&__upload-error {
|
|
145
113
|
min-height: 20px;
|
|
146
|
-
|
|
147
|
-
font-family: 'Roboto';
|
|
148
114
|
font-style: normal;
|
|
149
115
|
font-weight: 400;
|
|
150
116
|
font-size: 14px;
|
|
@@ -156,16 +122,13 @@ $create-dialog-container-height: 180px;
|
|
|
156
122
|
|
|
157
123
|
&__dialog-name-inf {
|
|
158
124
|
min-height: 20px;
|
|
159
|
-
|
|
160
|
-
font-family: 'Roboto';
|
|
161
125
|
font-style: normal;
|
|
162
126
|
font-weight: 400;
|
|
163
127
|
font-size: 14px;
|
|
164
128
|
line-height: 20px;
|
|
165
129
|
letter-spacing: 0.25px;
|
|
166
130
|
margin-top: 24px;
|
|
167
|
-
|
|
168
|
-
//border: 1px solid orange;
|
|
131
|
+
color: var(--main-text);
|
|
169
132
|
}
|
|
170
133
|
|
|
171
134
|
&__text-field {
|
|
@@ -2,46 +2,13 @@ $create-dialog-container-width: 380px;
|
|
|
2
2
|
$create-dialog-container-height: 312px;
|
|
3
3
|
|
|
4
4
|
.create-dialog-container {
|
|
5
|
-
min-height: $create-dialog-container-height;
|
|
6
|
-
max-height: $create-dialog-container-height;
|
|
7
|
-
height: $create-dialog-container-height;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
// display: flex;
|
|
13
|
-
// flex-direction: row;
|
|
14
|
-
// flex-wrap: nowrap;
|
|
15
|
-
// justify-content: flex-start;
|
|
16
|
-
// align-items: center;
|
|
17
|
-
// gap: 16px;
|
|
18
|
-
// cursor: pointer;
|
|
19
|
-
// border-radius: 4px;
|
|
20
|
-
//
|
|
21
|
-
// border: 1px solid var(--tertiary-elements);
|
|
22
|
-
//
|
|
23
|
-
// &__text{
|
|
24
|
-
// min-height: 24px;
|
|
25
|
-
// // margin: 16px 16px 16px 16px;
|
|
26
|
-
// font-family: 'Roboto';
|
|
27
|
-
// font-style: normal;
|
|
28
|
-
// font-weight: 400;
|
|
29
|
-
// font-size: 16px;
|
|
30
|
-
// line-height: 24px;
|
|
31
|
-
// letter-spacing: 0.15px;
|
|
32
|
-
// flex: 2 2 268px;
|
|
33
|
-
// letter-spacing: 0.15px;
|
|
34
|
-
//
|
|
35
|
-
// //border: 1px solid orange;
|
|
36
|
-
// }
|
|
37
|
-
// &__icon{
|
|
38
|
-
// min-height: 24px;
|
|
39
|
-
// margin-left: 10px;
|
|
40
|
-
// flex: 1 1 24px;
|
|
41
|
-
//
|
|
42
|
-
// // border: 1px solid red;
|
|
43
|
-
// }
|
|
44
|
-
//}
|
|
5
|
+
//min-height: $create-dialog-container-height;
|
|
6
|
+
//max-height: $create-dialog-container-height;
|
|
7
|
+
//height: $create-dialog-container-height;
|
|
8
|
+
|
|
9
|
+
.column-container {
|
|
10
|
+
width: 330px;
|
|
11
|
+
}
|
|
45
12
|
}
|
|
46
13
|
|
|
47
14
|
|
|
@@ -52,7 +19,7 @@ $create-dialog-container-height: 312px;
|
|
|
52
19
|
.item-type-dialog {
|
|
53
20
|
border-radius: 4px;
|
|
54
21
|
border-style: solid;
|
|
55
|
-
border-color: var(--
|
|
22
|
+
border-color: var(--tertiary-elements, #636d78);
|
|
56
23
|
border-width: 1px;
|
|
57
24
|
padding: 16px;
|
|
58
25
|
display: flex;
|
|
@@ -78,7 +45,7 @@ $create-dialog-container-height: 312px;
|
|
|
78
45
|
position: relative;
|
|
79
46
|
}
|
|
80
47
|
.item-type-dialog-name {
|
|
81
|
-
color: var(--
|
|
48
|
+
color: var(--main-text, #0b1b0f);
|
|
82
49
|
text-align: left;
|
|
83
50
|
font-family: var(
|
|
84
51
|
--body-body-medium-font-family,
|
|
@@ -91,3 +58,11 @@ $create-dialog-container-height: 312px;
|
|
|
91
58
|
position: relative;
|
|
92
59
|
flex: 1;
|
|
93
60
|
}
|
|
61
|
+
|
|
62
|
+
@media only screen and (max-width: 980px) {
|
|
63
|
+
.create-dialog-container {
|
|
64
|
+
.column-container {
|
|
65
|
+
width: unset;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|