quickblox-react-ui-kit 0.3.1-beta.8 → 0.3.1
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/index-ui.js
CHANGED
|
@@ -18406,7 +18406,8 @@ var RemoteDataSource = /** @class */ (function () {
|
|
|
18406
18406
|
_c.sent();
|
|
18407
18407
|
if (!(newDTO.type === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_14__.DialogType.group)) return [3 /*break*/, 5];
|
|
18408
18408
|
// eslint-disable-next-line no-await-in-loop
|
|
18409
|
-
return [4 /*yield*/, (0,_qb_api_calls__WEBPACK_IMPORTED_MODULE_9__.QBJoinGroupDialog)(newDTO.id).catch(function () {
|
|
18409
|
+
return [4 /*yield*/, (0,_qb_api_calls__WEBPACK_IMPORTED_MODULE_9__.QBJoinGroupDialog)(newDTO.id).catch(function (reason) {
|
|
18410
|
+
console.log('getDialogs. QBJoinGroupDialog error', reason);
|
|
18410
18411
|
throw new _exception_RemoteDataSourceException__WEBPACK_IMPORTED_MODULE_1__.RemoteDataSourceException(_exception_RemoteDataSourceException__WEBPACK_IMPORTED_MODULE_1__.INCORRECT_REMOTE_DATASOURCE_DATA_EXCEPTION_MESSAGE, _exception_RemoteDataSourceException__WEBPACK_IMPORTED_MODULE_1__.INCORRECT_REMOTE_DATASOURCE_DATA_EXCEPTION_CODE);
|
|
18411
18412
|
})];
|
|
18412
18413
|
case 4:
|
|
@@ -30168,7 +30169,12 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
|
|
|
30168
30169
|
}, users: userViewModel.users, rootStyles: {
|
|
30169
30170
|
minHeight: clientContainerHeight,
|
|
30170
30171
|
maxHeight: clientContainerHeight,
|
|
30171
|
-
},
|
|
30172
|
+
},
|
|
30173
|
+
// subHeaderContent={
|
|
30174
|
+
// <div>
|
|
30175
|
+
// <p>v0.3.1-beta.5</p>
|
|
30176
|
+
// </div>
|
|
30177
|
+
// }
|
|
30172
30178
|
// upHeaderContent={<CompanyLogo />}
|
|
30173
30179
|
dialog: selectedDialog, dialogViewModel: dialogsViewModel, onCloseDialogInformationHandler: informationCloseHandler }))) }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui_components_DialogWindow_DialogWindow__WEBPACK_IMPORTED_MODULE_33__["default"], __assign({ open: isOpen, title: "Leave dialog?", onClose: handleDialogOnClick }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-leave-container" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui_components_Button_Button__WEBPACK_IMPORTED_MODULE_32__["default"], __assign({ variant: "outlined", onClick: handleDialogOnClick }, { children: "Cancel" })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui_components_Button_Button__WEBPACK_IMPORTED_MODULE_32__["default"], __assign({ variant: "danger", onClick: handleLeaveDialog }, { children: "Leave" }))] })) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui_components_DialogWindow_DialogWindow__WEBPACK_IMPORTED_MODULE_33__["default"], __assign({ title: "New dialog", onClose: newModal.toggleModal, open: newModal.isOpen, className: isMobile
|
|
30174
30180
|
? 'dialog-list-new-dialog-mobile-container'
|