quickblox-react-ui-kit 0.2.8-beta.7 → 0.2.8-beta.8

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
@@ -78,30 +78,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
78
78
  }());
79
79
 
80
80
 
81
- /***/ }),
82
-
83
- /***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/CreateDialog/CreateDialog.scss":
84
- /*!********************************************************************************************************************************************!*\
85
- !*** ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/CreateDialog/CreateDialog.scss ***!
86
- \********************************************************************************************************************************************/
87
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
88
-
89
- "use strict";
90
- __webpack_require__.r(__webpack_exports__);
91
- /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js");
92
- /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
93
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
94
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
95
- // Imports
96
-
97
-
98
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
99
- // Module
100
- ___CSS_LOADER_EXPORT___.push([module.id, ".create-dialog-container {\n min-height: 312px;\n max-height: 312px;\n height: 312px;\n}\n.create-dialog-container--btn-wrapper {\n height: 64px;\n width: 332px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: center;\n gap: 16px;\n cursor: pointer;\n border-radius: 4px;\n border: 1px solid var(--tertiary-elements);\n}\n.create-dialog-container--btn-wrapper__text {\n min-height: 24px;\n font-family: \"Roboto\";\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.15px;\n flex: 2 2 268px;\n letter-spacing: 0.15px;\n}\n.create-dialog-container--btn-wrapper__icon {\n min-height: 24px;\n margin-left: 10px;\n flex: 1 1 24px;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/Views/CreateDialog/CreateDialog.scss"],"names":[],"mappings":"AAGA;EACE,iBAH+B;EAI/B,iBAJ+B;EAK/B,aAL+B;AAGjC;AAIE;EACE,YAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,2BAAA;EACA,mBAAA;EACA,SAAA;EACA,eAAA;EACA,kBAAA;EAEA,0CAAA;AAHJ;AAKI;EACE,gBAAA;EAEA,qBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;EACA,iBAAA;EACA,sBAAA;EACA,eAAA;EACA,sBAAA;AAJN;AAQI;EACE,gBAAA;EACA,iBAAA;EACA,cAAA;AANN","sourcesContent":["$create-dialog-container-width: 380px;\n$create-dialog-container-height: 312px;\n\n.create-dialog-container {\n min-height: $create-dialog-container-height;\n max-height: $create-dialog-container-height;\n height: $create-dialog-container-height;\n //border: 1px solid green;\n &--btn-wrapper{\n height: 64px;\n width: 332px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: center;\n gap: 16px;\n cursor: pointer;\n border-radius: 4px;\n\n border: 1px solid var(--tertiary-elements);\n\n &__text{\n min-height: 24px;\n // margin: 16px 16px 16px 16px;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.15px;\n flex: 2 2 268px;\n letter-spacing: 0.15px;\n\n //border: 1px solid orange;\n }\n &__icon{\n min-height: 24px;\n margin-left: 10px;\n flex: 1 1 24px;\n\n // border: 1px solid red;\n }\n }\n}\n"],"sourceRoot":""}]);
101
- // Exports
102
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
103
-
104
-
105
81
  /***/ }),
106
82
 
107
83
  /***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss":
@@ -961,7 +937,7 @@ __webpack_require__.r(__webpack_exports__);
961
937
 
962
938
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
963
939
  // Module
964
- ___CSS_LOADER_EXPORT___.push([module.id, ".dialog-information-container {\n min-height: 800px;\n max-height: 800px;\n height: 800px;\n border: 1px solid var(--divider);\n}\n\n.header-dialog-info,\n.header-dialog-info * {\n box-sizing: border-box;\n}\n\n.header-dialog-info {\n background: var(--color-background, #ffffff);\n padding: 16px 16px 16px 24px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.header-dialog-info-headline {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--title-title-large);\n position: relative;\n}\n\n.header-dialog-info-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 32px;\n height: 32px;\n position: relative;\n}\n\n.dialog-information-profile,\n.dialog-information-profile * {\n box-sizing: border-box;\n}\n\n.dialog-information-profile {\n background: var(--color-background, #ffffff);\n padding: 24px 0px 24px 0px;\n align-self: stretch;\n flex-flow: column;\n flex-shrink: 0;\n height: 160px;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.dialog-information-profile-avatar {\n height: 80px;\n left: 140px;\n top: 24px;\n}\n\n.dialog-info-profile-avatar-default-icon {\n display: flex;\n justify-content: center;\n}\n\n.dialog-info-profile-avatar-ellipse {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 50%;\n position: absolute;\n height: 81px;\n width: 81px;\n top: 24px;\n}\n\n.dialog-info-profile-avatar-contents {\n height: auto;\n position: absolute;\n right: 17.86%;\n left: 17.86%;\n width: 64.29%;\n bottom: 17.86%;\n top: 17.86%;\n height: 64.29%;\n overflow: visible;\n}\n\n.dialog-information-profile-dialog-name {\n margin-top: 8px;\n color: var(--main-text, #0b1b0f);\n text-align: center;\n font: var(--title-title-medium);\n left: 134.5px;\n top: 112px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dialog-information-profile-edit {\n position: relative;\n right: -10px;\n border-radius: 4px;\n padding: 8px 56px 0px 0px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 8px;\n}\n\n.dialog-information-profile-edit-button {\n color: var(--main-elements, #3978fc);\n text-align: left;\n font: var(--button-default);\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings,\n.dialog-info-action-wrapper-settings * {\n box-sizing: border-box;\n}\n\n.dialog-info-action-wrapper-settings {\n background: var(--color-background, #ffffff);\n padding: 16px;\n display: flex;\n flex-direction: row;\n gap: 16px;\n align-items: center;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.dialog-info-action-wrapper-settings-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-subtitle {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--body-body-large);\n position: relative;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.dialog-info-action-wrapper-settings-contents {\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n overflow: visible;\n}\n\n.dialog-info-action-wrapper-settings-right {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n justify-content: flex-end;\n flex-shrink: 0;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-right-badge {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 30px;\n padding: 2px 6px 2px 6px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-right-badge-title {\n color: var(--color-background, #ffffff);\n text-align: center;\n font: var(--label-label-medium);\n position: relative;\n padding: 0px 5px 0px 5px;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/Views/DialogInfo/DialogInfo.scss"],"names":[],"mappings":"AAGA;EACE,iBAJoC;EAKpC,iBALoC;EAMpC,aANoC;EAOpC,gCAAA;AAFF;;AAKA;;EAEE,sBAAA;AAFF;;AAIA;EACE,4CAAA;EACA,4BAAA;EACA,aAAA;EACA,mBAAA;EACA,mBAAA;EACA,8BAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,uCAAA;AADF;;AAGA;EACE,gCAAA;EACA,gBAAA;EACA,8BAAA;EACA,kBAAA;AAAF;;AAEA;EACE,kBAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;AACF;;AAEA;;EAEE,sBAAA;AACF;;AACA;EACE,4CAAA;EACA,0BAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,aAAA;EACA,kBAAA;EACA,uCAAA;AAEF;;AAAA;EAEE,YAAA;EAEA,WAAA;EACA,SAAA;AACF;;AACA;EACE,aAAA;EACA,uBAAA;AAEF;;AAAA;EACE,6CAAA;EACA,kBAAA;EACA,kBAAA;EACA,YAAA;EACA,WAAA;EACA,SAAA;AAGF;;AADA;EACE,YAAA;EACA,kBAAA;EACA,aAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,WAAA;EACA,cAAA;EACA,iBAAA;AAIF;;AAFA;EACE,eAAA;EACA,gCAAA;EACA,kBAAA;EACA,+BAAA;EAEA,aAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;AAIF;;AAFA;EACE,kBAAA;EACA,YAAA;EAEA,kBAAA;EACA,yBAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,kBAAA;EAEA,QAAA;AAGF;;AADA;EACE,oCAAA;EACA,gBAAA;EACA,2BAAA;EACA,kBAAA;AAIF;;AAAA;;EAEE,sBAAA;AAGF;;AADA;EACE,4CAAA;EACA,aAAA;EACA,aAAA;EACA,mBAAA;EACA,SAAA;EACA,mBAAA;EACA,2BAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,uCAAA;AAIF;;AAFA;EACE,kBAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;AAKF;;AAHA;EACE,gCAAA;EACA,gBAAA;EACA,4BAAA;EACA,kBAAA;EACA,OAAA;EACA,aAAA;EACA,mBAAA;EACA,2BAAA;AAMF;;AAHA;EACE,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;AAMF;;AAHA;EACE,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,yBAAA;EACA,cAAA;EACA,kBAAA;AAMF;;AAJA;EACE,6CAAA;EACA,mBAAA;EACA,wBAAA;EACA,aAAA;EACA,sBAAA;EACA,SAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,kBAAA;AAOF;;AALA;EACE,uCAAA;EACA,kBAAA;EACA,+BAAA;EACA,kBAAA;EACA,wBAAA;AAQF","sourcesContent":["$dialog-information-container-height: 800px;\n$dialog-information-container-dialog-information-height: 64px;\n\n.dialog-information-container {\n min-height: $dialog-information-container-height;\n max-height: $dialog-information-container-height;\n height: $dialog-information-container-height;\n border: 1px solid var(--divider);\n\n}\n.header-dialog-info,\n.header-dialog-info * {\n box-sizing: border-box;\n}\n.header-dialog-info {\n background: var(--color-background, #ffffff);\n padding: 16px 16px 16px 24px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.header-dialog-info-headline {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--title-title-large);\n position: relative;\n}\n.header-dialog-info-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 32px;\n height: 32px;\n position: relative;\n}\n\n.dialog-information-profile,\n.dialog-information-profile * {\n box-sizing: border-box;\n}\n.dialog-information-profile {\n background: var(--color-background, #ffffff);\n padding: 24px 0px 24px 0px;\n align-self: stretch;\n flex-flow: column;\n flex-shrink: 0;\n height: 160px;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.dialog-information-profile-avatar {\n // width: 80px;\n height: 80px;\n // position: absolute;\n left: 140px;\n top: 24px;\n}\n.dialog-info-profile-avatar-default-icon {\n display: flex;\n justify-content: center;\n}\n.dialog-info-profile-avatar-ellipse {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 50%;\n position: absolute;\n height: 81px;\n width: 81px;\n top: 24px;\n}\n.dialog-info-profile-avatar-contents {\n height: auto;\n position: absolute;\n right: 17.86%;\n left: 17.86%;\n width: 64.29%;\n bottom: 17.86%;\n top: 17.86%;\n height: 64.29%;\n overflow: visible;\n}\n.dialog-information-profile-dialog-name {\n margin-top: 8px;\n color: var(--main-text, #0b1b0f);\n text-align: center;\n font: var(--title-title-medium);\n // position: absolute;\n left: 134.5px;\n top: 112px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.dialog-information-profile-edit {\n position: relative;\n right: -10px;\n //top: 30px;\n border-radius: 4px;\n padding: 8px 56px 0px 0px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n position: absolute;\n //left: 294px;\n top: 8px;\n}\n.dialog-information-profile-edit-button {\n color: var(--main-elements, #3978fc);\n text-align: left;\n font: var(--button-default);\n position: relative;\n}\n\n\n.dialog-info-action-wrapper-settings,\n.dialog-info-action-wrapper-settings * {\n box-sizing: border-box;\n}\n.dialog-info-action-wrapper-settings {\n background: var(--color-background, #ffffff);\n padding: 16px;\n display: flex;\n flex-direction: row;\n gap: 16px;\n align-items: center;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.dialog-info-action-wrapper-settings-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-subtitle {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--body-body-large);\n position: relative;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.dialog-info-action-wrapper-settings-contents {\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n overflow: visible;\n}\n\n.dialog-info-action-wrapper-settings-right {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n justify-content: flex-end;\n flex-shrink: 0;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-right-badge {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 30px;\n padding: 2px 6px 2px 6px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-right-badge-title {\n color: var(--color-background, #ffffff);\n text-align: center;\n font: var(--label-label-medium);\n position: relative;\n padding: 0px 5px 0px 5px;\n}\n\n"],"sourceRoot":""}]);
940
+ ___CSS_LOADER_EXPORT___.push([module.id, ".header-dialog-info,\n.header-dialog-info * {\n box-sizing: border-box;\n}\n\n.header-dialog-info {\n background: var(--color-background, #ffffff);\n padding: 16px 16px 16px 24px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.header-dialog-info-headline {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--title-title-large);\n position: relative;\n}\n\n.header-dialog-info-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 32px;\n height: 32px;\n position: relative;\n}\n\n.dialog-information-profile,\n.dialog-information-profile * {\n box-sizing: border-box;\n}\n\n.dialog-information-profile {\n background: var(--color-background, #ffffff);\n padding: 24px 0px 24px 0px;\n align-self: stretch;\n flex-flow: column;\n flex-shrink: 0;\n height: 160px;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.dialog-information-profile-avatar {\n height: 80px;\n left: 140px;\n top: 24px;\n}\n\n.dialog-info-profile-avatar-default-icon {\n display: flex;\n justify-content: center;\n}\n\n.dialog-info-profile-avatar-ellipse {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 50%;\n position: absolute;\n height: 81px;\n width: 81px;\n top: 24px;\n}\n\n.dialog-info-profile-avatar-contents {\n height: auto;\n position: absolute;\n right: 17.86%;\n left: 17.86%;\n width: 64.29%;\n bottom: 17.86%;\n top: 17.86%;\n height: 64.29%;\n overflow: visible;\n}\n\n.dialog-information-profile-dialog-name {\n margin-top: 8px;\n color: var(--main-text, #0b1b0f);\n text-align: center;\n font: var(--title-title-medium);\n left: 134.5px;\n top: 112px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dialog-information-profile-edit {\n position: relative;\n right: -10px;\n border-radius: 4px;\n padding: 8px 56px 0px 0px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 8px;\n}\n\n.dialog-information-profile-edit-button {\n color: var(--main-elements, #3978fc);\n text-align: left;\n font: var(--button-default);\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings,\n.dialog-info-action-wrapper-settings * {\n box-sizing: border-box;\n}\n\n.dialog-info-action-wrapper-settings {\n background: var(--color-background, #ffffff);\n padding: 16px;\n display: flex;\n flex-direction: row;\n gap: 16px;\n align-items: center;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n\n.dialog-info-action-wrapper-settings-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-subtitle {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--body-body-large);\n position: relative;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.dialog-info-action-wrapper-settings-contents {\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n overflow: visible;\n}\n\n.dialog-info-action-wrapper-settings-right {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n justify-content: flex-end;\n flex-shrink: 0;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-right-badge {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 30px;\n padding: 2px 6px 2px 6px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n position: relative;\n}\n\n.dialog-info-action-wrapper-settings-right-badge-title {\n color: var(--color-background, #ffffff);\n text-align: center;\n font: var(--label-label-medium);\n position: relative;\n padding: 0px 5px 0px 5px;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/Views/DialogInfo/DialogInfo.scss"],"names":[],"mappings":"AAUA;;EAEE,sBAAA;AATF;;AAWA;EACE,4CAAA;EACA,4BAAA;EACA,aAAA;EACA,mBAAA;EACA,mBAAA;EACA,8BAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,uCAAA;AARF;;AAUA;EACE,gCAAA;EACA,gBAAA;EACA,8BAAA;EACA,kBAAA;AAPF;;AASA;EACE,kBAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;AANF;;AASA;;EAEE,sBAAA;AANF;;AAQA;EACE,4CAAA;EACA,0BAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,aAAA;EACA,kBAAA;EACA,uCAAA;AALF;;AAOA;EAEE,YAAA;EAEA,WAAA;EACA,SAAA;AANF;;AAQA;EACE,aAAA;EACA,uBAAA;AALF;;AAOA;EACE,6CAAA;EACA,kBAAA;EACA,kBAAA;EACA,YAAA;EACA,WAAA;EACA,SAAA;AAJF;;AAMA;EACE,YAAA;EACA,kBAAA;EACA,aAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,WAAA;EACA,cAAA;EACA,iBAAA;AAHF;;AAKA;EACE,eAAA;EACA,gCAAA;EACA,kBAAA;EACA,+BAAA;EAEA,aAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;AAHF;;AAKA;EACE,kBAAA;EACA,YAAA;EAEA,kBAAA;EACA,yBAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,kBAAA;EAEA,QAAA;AAJF;;AAMA;EACE,oCAAA;EACA,gBAAA;EACA,2BAAA;EACA,kBAAA;AAHF;;AAOA;;EAEE,sBAAA;AAJF;;AAMA;EACE,4CAAA;EACA,aAAA;EACA,aAAA;EACA,mBAAA;EACA,SAAA;EACA,mBAAA;EACA,2BAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,uCAAA;AAHF;;AAKA;EACE,kBAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;AAFF;;AAIA;EACE,gCAAA;EACA,gBAAA;EACA,4BAAA;EACA,kBAAA;EACA,OAAA;EACA,aAAA;EACA,mBAAA;EACA,2BAAA;AADF;;AAIA;EACE,cAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;AADF;;AAIA;EACE,aAAA;EACA,mBAAA;EACA,QAAA;EACA,mBAAA;EACA,yBAAA;EACA,cAAA;EACA,kBAAA;AADF;;AAGA;EACE,6CAAA;EACA,mBAAA;EACA,wBAAA;EACA,aAAA;EACA,sBAAA;EACA,SAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,kBAAA;AAAF;;AAEA;EACE,uCAAA;EACA,kBAAA;EACA,+BAAA;EACA,kBAAA;EACA,wBAAA;AACF","sourcesContent":["$dialog-information-container-height: 800px;\n$dialog-information-container-dialog-information-height: 64px;\n\n.dialog-information-container {\n // min-height: $dialog-information-container-height;\n // max-height: $dialog-information-container-height;\n // height: $dialog-information-container-height;\n // border: 1px solid var(--divider);\n\n}\n.header-dialog-info,\n.header-dialog-info * {\n box-sizing: border-box;\n}\n.header-dialog-info {\n background: var(--color-background, #ffffff);\n padding: 16px 16px 16px 24px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.header-dialog-info-headline {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--title-title-large);\n position: relative;\n}\n.header-dialog-info-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 32px;\n height: 32px;\n position: relative;\n}\n\n.dialog-information-profile,\n.dialog-information-profile * {\n box-sizing: border-box;\n}\n.dialog-information-profile {\n background: var(--color-background, #ffffff);\n padding: 24px 0px 24px 0px;\n align-self: stretch;\n flex-flow: column;\n flex-shrink: 0;\n height: 160px;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.dialog-information-profile-avatar {\n // width: 80px;\n height: 80px;\n // position: absolute;\n left: 140px;\n top: 24px;\n}\n.dialog-info-profile-avatar-default-icon {\n display: flex;\n justify-content: center;\n}\n.dialog-info-profile-avatar-ellipse {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 50%;\n position: absolute;\n height: 81px;\n width: 81px;\n top: 24px;\n}\n.dialog-info-profile-avatar-contents {\n height: auto;\n position: absolute;\n right: 17.86%;\n left: 17.86%;\n width: 64.29%;\n bottom: 17.86%;\n top: 17.86%;\n height: 64.29%;\n overflow: visible;\n}\n.dialog-information-profile-dialog-name {\n margin-top: 8px;\n color: var(--main-text, #0b1b0f);\n text-align: center;\n font: var(--title-title-medium);\n // position: absolute;\n left: 134.5px;\n top: 112px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.dialog-information-profile-edit {\n position: relative;\n right: -10px;\n //top: 30px;\n border-radius: 4px;\n padding: 8px 56px 0px 0px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n position: absolute;\n //left: 294px;\n top: 8px;\n}\n.dialog-information-profile-edit-button {\n color: var(--main-elements, #3978fc);\n text-align: left;\n font: var(--button-default);\n position: relative;\n}\n\n\n.dialog-info-action-wrapper-settings,\n.dialog-info-action-wrapper-settings * {\n box-sizing: border-box;\n}\n.dialog-info-action-wrapper-settings {\n background: var(--color-background, #ffffff);\n padding: 16px;\n display: flex;\n flex-direction: row;\n gap: 16px;\n align-items: center;\n justify-content: flex-start;\n align-self: stretch;\n flex-shrink: 0;\n position: relative;\n border-bottom: 1px solid var(--divider);\n}\n.dialog-info-action-wrapper-settings-icon {\n border-radius: 4px;\n padding: 4px;\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-subtitle {\n color: var(--main-text, #0b1b0f);\n text-align: left;\n font: var(--body-body-large);\n position: relative;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.dialog-info-action-wrapper-settings-contents {\n flex-shrink: 0;\n width: 24px;\n height: 24px;\n position: relative;\n overflow: visible;\n}\n\n.dialog-info-action-wrapper-settings-right {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n justify-content: flex-end;\n flex-shrink: 0;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-right-badge {\n background: var(--disabled-elements, #bcc1c5);\n border-radius: 30px;\n padding: 2px 6px 2px 6px;\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n position: relative;\n}\n.dialog-info-action-wrapper-settings-right-badge-title {\n color: var(--color-background, #ffffff);\n text-align: center;\n font: var(--label-label-medium);\n position: relative;\n padding: 0px 5px 0px 5px;\n}\n\n"],"sourceRoot":""}]);
965
941
  // Exports
966
942
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
967
943
 
@@ -1136,6 +1112,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".user-avatar-wrapper {\n border-radiu
1136
1112
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1137
1113
 
1138
1114
 
1115
+ /***/ }),
1116
+
1117
+ /***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss":
1118
+ /*!*************************************************************************************************************************************************!*\
1119
+ !*** ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss ***!
1120
+ \*************************************************************************************************************************************************/
1121
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1122
+
1123
+ "use strict";
1124
+ __webpack_require__.r(__webpack_exports__);
1125
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js");
1126
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
1127
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
1128
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
1129
+ // Imports
1130
+
1131
+
1132
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1133
+ // Module
1134
+ ___CSS_LOADER_EXPORT___.push([module.id, ".create-dialog-container {\n min-height: 312px;\n max-height: 312px;\n height: 312px;\n}\n.create-dialog-container--btn-wrapper {\n height: 64px;\n width: 332px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: center;\n gap: 16px;\n cursor: pointer;\n border-radius: 4px;\n border: 1px solid var(--tertiary-elements);\n}\n.create-dialog-container--btn-wrapper__text {\n min-height: 24px;\n font-family: \"Roboto\";\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.15px;\n flex: 2 2 268px;\n letter-spacing: 0.15px;\n}\n.create-dialog-container--btn-wrapper__icon {\n min-height: 24px;\n margin-left: 10px;\n flex: 1 1 24px;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss"],"names":[],"mappings":"AAGA;EACE,iBAH+B;EAI/B,iBAJ+B;EAK/B,aAL+B;AAGjC;AAIE;EACE,YAAA;EACA,YAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,2BAAA;EACA,mBAAA;EACA,SAAA;EACA,eAAA;EACA,kBAAA;EAEA,0CAAA;AAHJ;AAKI;EACE,gBAAA;EAEA,qBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;EACA,iBAAA;EACA,sBAAA;EACA,eAAA;EACA,sBAAA;AAJN;AAQI;EACE,gBAAA;EACA,iBAAA;EACA,cAAA;AANN","sourcesContent":["$create-dialog-container-width: 380px;\n$create-dialog-container-height: 312px;\n\n.create-dialog-container {\n min-height: $create-dialog-container-height;\n max-height: $create-dialog-container-height;\n height: $create-dialog-container-height;\n //border: 1px solid green;\n &--btn-wrapper{\n height: 64px;\n width: 332px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: center;\n gap: 16px;\n cursor: pointer;\n border-radius: 4px;\n\n border: 1px solid var(--tertiary-elements);\n\n &__text{\n min-height: 24px;\n // margin: 16px 16px 16px 16px;\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0.15px;\n flex: 2 2 268px;\n letter-spacing: 0.15px;\n\n //border: 1px solid orange;\n }\n &__icon{\n min-height: 24px;\n margin-left: 10px;\n flex: 1 1 24px;\n\n // border: 1px solid red;\n }\n }\n}\n"],"sourceRoot":""}]);
1135
+ // Exports
1136
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1137
+
1138
+
1139
1139
  /***/ }),
1140
1140
 
1141
1141
  /***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/InviteMembers/InviteMembers.scss":
@@ -1611,7 +1611,7 @@ __webpack_require__.r(__webpack_exports__);
1611
1611
 
1612
1612
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1613
1613
  // Module
1614
- ___CSS_LOADER_EXPORT___.push([module.id, ".desktop-layout-main-container {\n border: 1px solid #6c38cc;\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n margin: 0 auto;\n}\n.desktop-layout-main-container__item-left {\n flex: 1 1 320px;\n}\n.desktop-layout-main-container__item-right {\n flex: 1 1 320px;\n width: 100%;\n}\n.desktop-layout-main-container__item-center {\n width: 100%;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/layouts/Desktop/DesktopLayout.scss"],"names":[],"mappings":"AAMA;EACE,yBAAA;EAIA,aAAA;EACA,qBAAA;EACA,2BAAA;EACA,uBAAA;EACA,cAAA;AARF;AAUE;EAEE,eAAA;AATJ;AAYE;EAEE,eAAA;EAEA,WAAA;AAZJ;AAcE;EAGE,WAAA;AAdJ","sourcesContent":["$desktop-main-container-max-width: 1360px;\n$desktop-main-container-min-height: 800px;\n$desktop-main-container-item-width: 320px;\n$desktop-main-container-item-center-width: 720px;\n// $desktop-main-container-item-center-width: 1040px;\n\n.desktop-layout-main-container{\n border: 1px solid #6c38cc;\n // min-height: $desktop-main-container-min-height;\n // max-width: $desktop-main-container-max-width;\n // height: calc(100vh - 128px);\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n margin: 0 auto;\n\n &__item-left {\n // border-bottom: 1px solid var(--divider);\n flex: 1 1 $desktop-main-container-item-width;\n // max-width: $desktop-main-container-item-width\n }\n &__item-right {\n // border: 1px solid var(--divider);\n flex: 1 1 $desktop-main-container-item-width;\n // max-width: $desktop-main-container-item-width\n width: 100%;\n }\n &__item-center {\n // border: 1px solid var(--divider);\n // flex: 3 2 $desktop-main-container-item-center-width;\n width: 100%;\n // min-width: 320px;\n }\n}\n\n\n\n"],"sourceRoot":""}]);
1614
+ ___CSS_LOADER_EXPORT___.push([module.id, ".desktop-layout-main-container {\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n margin: 0 auto;\n}\n.desktop-layout-main-container__item-left {\n border-bottom: 1px solid var(--divider);\n flex: 1 1 320px;\n height: 100%;\n}\n.desktop-layout-main-container__item-right {\n border: 1px solid var(--divider);\n flex: 1 1 320px;\n width: 100%;\n height: 100%;\n}\n.desktop-layout-main-container__item-center {\n border: 1px solid var(--divider);\n height: 100%;\n width: 100%;\n}", "",{"version":3,"sources":["webpack://./src/Presentation/layouts/Desktop/DesktopLayout.scss"],"names":[],"mappings":"AAMA;EAKE,aAAA;EACA,qBAAA;EACA,2BAAA;EACA,uBAAA;EACA,cAAA;AATF;AAWE;EACE,uCAAA;EACA,eAAA;EAEA,YAAA;AAVJ;AAYE;EACE,gCAAA;EACA,eAAA;EAEA,WAAA;EACA,YAAA;AAXJ;AAaE;EACE,gCAAA;EAEA,YAAA;EACA,WAAA;AAZJ","sourcesContent":["$desktop-main-container-max-width: 1360px;\n$desktop-main-container-min-height: 800px;\n$desktop-main-container-item-width: 320px;\n$desktop-main-container-item-center-width: 720px;\n// $desktop-main-container-item-center-width: 1040px;\n\n.desktop-layout-main-container{\n // border: 1px solid #6c38cc;\n // min-height: $desktop-main-container-min-height;\n // max-width: $desktop-main-container-max-width;\n // height: calc(100vh - 128px);\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-start;\n align-items: flex-start;\n margin: 0 auto;\n\n &__item-left {\n border-bottom: 1px solid var(--divider);\n flex: 1 1 $desktop-main-container-item-width;\n // max-width: $desktop-main-container-item-width\n height: 100%;\n }\n &__item-right {\n border: 1px solid var(--divider);\n flex: 1 1 $desktop-main-container-item-width;\n // max-width: $desktop-main-container-item-width\n width: 100%;\n height: 100%;\n }\n &__item-center {\n border: 1px solid var(--divider);\n // flex: 3 2 $desktop-main-container-item-center-width;\n height: 100%;\n width: 100%;\n // min-width: 320px;\n }\n}\n\n\n\n"],"sourceRoot":""}]);
1615
1615
  // Exports
1616
1616
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1617
1617
 
@@ -3164,58 +3164,6 @@ if (false) {} else {
3164
3164
  }
3165
3165
 
3166
3166
 
3167
- /***/ }),
3168
-
3169
- /***/ "./src/Presentation/Views/CreateDialog/CreateDialog.scss":
3170
- /*!***************************************************************!*\
3171
- !*** ./src/Presentation/Views/CreateDialog/CreateDialog.scss ***!
3172
- \***************************************************************/
3173
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3174
-
3175
- "use strict";
3176
- __webpack_require__.r(__webpack_exports__);
3177
- /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
3178
- /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
3179
- /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js");
3180
- /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
3181
- /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js");
3182
- /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
3183
- /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
3184
- /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
3185
- /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js");
3186
- /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
3187
- /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js");
3188
- /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
3189
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./CreateDialog.scss */ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/CreateDialog/CreateDialog.scss");
3190
-
3191
-
3192
-
3193
-
3194
-
3195
-
3196
-
3197
-
3198
-
3199
-
3200
-
3201
- var options = {};
3202
-
3203
- options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
3204
- options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
3205
-
3206
- options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
3207
-
3208
- options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
3209
- options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
3210
-
3211
- var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);
3212
-
3213
-
3214
-
3215
-
3216
- /* harmony default export */ __webpack_exports__["default"] = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
3217
-
3218
-
3219
3167
  /***/ }),
3220
3168
 
3221
3169
  /***/ "./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss":
@@ -5452,6 +5400,58 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
5452
5400
  /* harmony default export */ __webpack_exports__["default"] = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_UserAvatar_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_UserAvatar_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_UserAvatar_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
5453
5401
 
5454
5402
 
5403
+ /***/ }),
5404
+
5405
+ /***/ "./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss":
5406
+ /*!********************************************************************!*\
5407
+ !*** ./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss ***!
5408
+ \********************************************************************/
5409
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
5410
+
5411
+ "use strict";
5412
+ __webpack_require__.r(__webpack_exports__);
5413
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
5414
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
5415
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/style-loader/dist/runtime/styleDomAPI.js");
5416
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
5417
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/style-loader/dist/runtime/insertBySelector.js");
5418
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
5419
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
5420
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
5421
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/style-loader/dist/runtime/insertStyleElement.js");
5422
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
5423
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/style-loader/dist/runtime/styleTagTransform.js");
5424
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
5425
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/sass-loader/dist/cjs.js!./CreateDialog.scss */ "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss");
5426
+
5427
+
5428
+
5429
+
5430
+
5431
+
5432
+
5433
+
5434
+
5435
+
5436
+
5437
+ var options = {};
5438
+
5439
+ options.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
5440
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
5441
+
5442
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
5443
+
5444
+ options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
5445
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
5446
+
5447
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);
5448
+
5449
+
5450
+
5451
+
5452
+ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_CreateDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
5453
+
5454
+
5455
5455
  /***/ }),
5456
5456
 
5457
5457
  /***/ "./src/Presentation/Views/InviteMembers/InviteMembers.scss":
@@ -18691,21 +18691,20 @@ var SubscriptionPerformer = /** @class */ (function () {
18691
18691
 
18692
18692
  /***/ }),
18693
18693
 
18694
- /***/ "./src/Presentation/Views/CreateDialog/CreateDialog.tsx":
18695
- /*!**************************************************************!*\
18696
- !*** ./src/Presentation/Views/CreateDialog/CreateDialog.tsx ***!
18697
- \**************************************************************/
18694
+ /***/ "./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx":
18695
+ /*!********************************************************************************************!*\
18696
+ !*** ./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx ***!
18697
+ \********************************************************************************************/
18698
18698
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18699
18699
 
18700
18700
  "use strict";
18701
18701
  __webpack_require__.r(__webpack_exports__);
18702
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18703
+ /* harmony export */ "default": function() { return /* binding */ AIAssistComponent; }
18704
+ /* harmony export */ });
18702
18705
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
18703
- /* harmony import */ var _CreateDialog_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateDialog.scss */ "./src/Presentation/Views/CreateDialog/CreateDialog.scss");
18704
- /* harmony import */ var _components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/containers/ColumnContainer/ColumnContainer */ "./src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx");
18705
- /* harmony import */ var _components_UI_svgs_Icons_Contents_Chat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/UI/svgs/Icons/Contents/Chat */ "./src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx");
18706
- /* harmony import */ var _components_UI_svgs_Icons_Contents_GroupChat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/UI/svgs/Icons/Contents/GroupChat */ "./src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx");
18707
- /* harmony import */ var _components_UI_svgs_Icons_Contents_PublicChannel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/UI/svgs/Icons/Contents/PublicChannel */ "./src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx");
18708
- /* harmony import */ var _components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/UI/Buttons/ActiveButton/ActiveButton */ "./src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx");
18706
+ /* harmony import */ var _AIAssistComponent_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AIAssistComponent.scss */ "./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss");
18707
+ /* harmony import */ var _components_UI_svgs_Icons_AIWidgets_BotIcon_BotIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon */ "./src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx");
18709
18708
  var __assign = (undefined && undefined.__assign) || function () {
18710
18709
  __assign = Object.assign || function(t) {
18711
18710
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -18720,293 +18719,75 @@ var __assign = (undefined && undefined.__assign) || function () {
18720
18719
 
18721
18720
 
18722
18721
 
18723
-
18724
-
18725
-
18726
-
18727
- // eslint-disable-next-line react/function-component-definition,@typescript-eslint/no-unused-vars
18728
- var CreateDialog = function (_a) {
18729
- var createPrivateDialogClickHandler = _a.createPrivateDialogClickHandler, createPrivateDialogTouchHandler = _a.createPrivateDialogTouchHandler, createGroupDialogClickHandler = _a.createGroupDialogClickHandler, createGroupDialogTouchHandler = _a.createGroupDialogTouchHandler, createPublicDialogClickHandler = _a.createPublicDialogClickHandler, createPublicDialogTouchHandler = _a.createPublicDialogTouchHandler;
18730
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_2__["default"], __assign({ gapBetweenItem: "8px" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_Chat__WEBPACK_IMPORTED_MODULE_3__["default"], { width: "24", height: "24", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Private" }))] })), clickAction: createPrivateDialogClickHandler, touchAction: createPrivateDialogTouchHandler }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_GroupChat__WEBPACK_IMPORTED_MODULE_4__["default"], { width: "32", height: "32", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Group" }))] })), clickAction: createGroupDialogClickHandler, touchAction: createGroupDialogTouchHandler }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_PublicChannel__WEBPACK_IMPORTED_MODULE_5__["default"], { width: "32", height: "32", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Public" }))] })), clickAction: createPublicDialogClickHandler, touchAction: createPublicDialogTouchHandler })] })));
18731
- };
18732
- /* harmony default export */ __webpack_exports__["default"] = (CreateDialog);
18722
+ function AIAssistComponent(props) {
18723
+ var onAssistAnswer = props.onAssistAnswer, waitAIWidget = props.waitAIWidget;
18724
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-assist-answer", style: {
18725
+ cursor: waitAIWidget ? '' : 'pointer',
18726
+ } }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-assist-icon", onClick: onAssistAnswer }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_AIWidgets_BotIcon_BotIcon__WEBPACK_IMPORTED_MODULE_2__["default"], { width: "24", height: "25", applyZoom: true, color: "var(--primary)" }) }) })) })));
18727
+ }
18733
18728
 
18734
18729
 
18735
18730
  /***/ }),
18736
18731
 
18737
- /***/ "./src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx":
18738
- /*!*************************************************************************!*\
18739
- !*** ./src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx ***!
18740
- \*************************************************************************/
18732
+ /***/ "./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx":
18733
+ /*!**************************************************************************************************!*\
18734
+ !*** ./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx ***!
18735
+ \**************************************************************************************************/
18741
18736
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18742
18737
 
18743
18738
  "use strict";
18744
18739
  __webpack_require__.r(__webpack_exports__);
18740
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18741
+ /* harmony export */ "default": function() { return /* binding */ AITranslateComponent; }
18742
+ /* harmony export */ });
18745
18743
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
18746
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
18747
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
18748
- /* harmony import */ var _CreateDialog_CreateDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../CreateDialog/CreateDialog */ "./src/Presentation/Views/CreateDialog/CreateDialog.tsx");
18749
- /* harmony import */ var _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Domain/entity/DialogTypes */ "./src/Domain/entity/DialogTypes.ts");
18750
- /* harmony import */ var _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../EditDialog/EditDialog */ "./src/Presentation/Views/EditDialog/EditDialog.tsx");
18751
- /* harmony import */ var _InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../InviteMembers/InviteMembers */ "./src/Presentation/Views/InviteMembers/InviteMembers.tsx");
18752
- /* harmony import */ var _providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../providers/ModalContextProvider/Modal */ "./src/Presentation/providers/ModalContextProvider/Modal.tsx");
18753
- /* harmony import */ var _Data_Stubs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Data/Stubs */ "./src/Data/Stubs.ts");
18754
- /* harmony import */ var _utils_parse__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../utils/parse */ "./src/utils/parse.ts");
18755
- /* harmony import */ var _providers_QuickBloxUIKitProvider_QuickBloxUIKitProvider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider */ "./src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx");
18756
- var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
18757
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18758
- return new (P || (P = Promise))(function (resolve, reject) {
18759
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18760
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18761
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18762
- step((generator = generator.apply(thisArg, _arguments || [])).next());
18763
- });
18764
- };
18765
- var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
18766
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
18767
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
18768
- function verb(n) { return function (v) { return step([n, v]); }; }
18769
- function step(op) {
18770
- if (f) throw new TypeError("Generator is already executing.");
18771
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18772
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18773
- if (y = 0, t) op = [op[0] & 2, t.value];
18774
- switch (op[0]) {
18775
- case 0: case 1: t = op; break;
18776
- case 4: _.label++; return { value: op[1], done: false };
18777
- case 5: _.label++; y = op[1]; op = [0]; continue;
18778
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
18779
- default:
18780
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
18781
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
18782
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
18783
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
18784
- if (t[2]) _.ops.pop();
18785
- _.trys.pop(); continue;
18786
- }
18787
- op = body.call(thisArg, _);
18788
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
18789
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
18790
- }
18744
+ /* harmony import */ var _AITranslateComponent_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AITranslateComponent.scss */ "./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss");
18745
+ /* harmony import */ var _AIWidgets_AIWidgetActions_AIWidgetActions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../AIWidgets/AIWidgetActions/AIWidgetActions */ "./src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx");
18746
+ /* harmony import */ var _components_UI_svgs_Icons_Media_Translate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/UI/svgs/Icons/Media/Translate */ "./src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx");
18747
+ var __assign = (undefined && undefined.__assign) || function () {
18748
+ __assign = Object.assign || function(t) {
18749
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18750
+ s = arguments[i];
18751
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
18752
+ t[p] = s[p];
18753
+ }
18754
+ return t;
18755
+ };
18756
+ return __assign.apply(this, arguments);
18791
18757
  };
18792
18758
 
18793
18759
 
18794
18760
 
18795
18761
 
18762
+ function AITranslateComponent(props) {
18763
+ var onTranslate = props.onTranslate, onClickOriginalText = props.onClickOriginalText, originalTextMessage = props.originalTextMessage, waitAITranslateWidget = props.waitAITranslateWidget, languagesForAITranslate = props.languagesForAITranslate;
18764
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "translate-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "translate-caption" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-translate-action", style: {
18765
+ cursor: waitAITranslateWidget ? '' : 'pointer',
18766
+ }, onClick: function () {
18767
+ if (waitAITranslateWidget)
18768
+ return;
18769
+ if (originalTextMessage) {
18770
+ onTranslate('');
18771
+ }
18772
+ else {
18773
+ onClickOriginalText();
18774
+ }
18775
+ } }, { children: originalTextMessage ? 'Show translation' : 'Show original' })) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AIWidgets_AIWidgetActions_AIWidgetActions__WEBPACK_IMPORTED_MODULE_2__["default"], { disabled: !waitAITranslateWidget, widgetToRender: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "icon-translate", style: {
18776
+ cursor: waitAITranslateWidget ? '' : 'pointer',
18777
+ } }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Media_Translate__WEBPACK_IMPORTED_MODULE_3__["default"], { width: "16", height: "16", applyZoom: true, color: "var(--tertiary-elements)" }) })), items: languagesForAITranslate.map(function (item) {
18778
+ return {
18779
+ title: item,
18780
+ action: function () {
18781
+ if (!props.waitAITranslateWidget) {
18782
+ props.onTranslate(item);
18783
+ }
18784
+ },
18785
+ };
18786
+ }) })] })));
18787
+ }
18796
18788
 
18797
18789
 
18798
-
18799
-
18800
-
18801
-
18802
- // eslint-disable-next-line react/function-component-definition
18803
- var CreateNewDialogFlow = function (_a) {
18804
- var dialogsViewModel = _a.dialogsViewModel;
18805
- var handleModal = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_6__.ModalContext).handleModal;
18806
- var currentContext = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_providers_QuickBloxUIKitProvider_QuickBloxUIKitProvider__WEBPACK_IMPORTED_MODULE_9__.qbDataContext);
18807
- var remoteDataSourceMock = currentContext.storage.REMOTE_DATA_SOURCE;
18808
- var setUpDialogType = 1;
18809
- var setDialogTitle = 2;
18810
- var inviteUsers = 3;
18811
- var _b = react__WEBPACK_IMPORTED_MODULE_1___default().useState(setUpDialogType), stepToCreate = _b[0], setNumStepToCreate = _b[1];
18812
- var _c = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(), selectedDialogType = _c[0], setSelectedDialogType = _c[1];
18813
- var _d = react__WEBPACK_IMPORTED_MODULE_1___default().useState('NOT DEFINE'), dialogName = _d[0], setDialogName = _d[1];
18814
- var _e = react__WEBPACK_IMPORTED_MODULE_1___default().useState(undefined), uidAvatar = _e[0], setUidAvatar = _e[1];
18815
- (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
18816
- if (
18817
- // selectedDialogType === DialogType.private ||
18818
- selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group) {
18819
- setNumStepToCreate(setDialogTitle);
18820
- }
18821
- else if (selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]) {
18822
- setNumStepToCreate(inviteUsers);
18823
- }
18824
- }, [selectedDialogType]);
18825
- var getDialogNameHandler = function (params) {
18826
- console.log(params.dialogTitle);
18827
- setDialogName(params.dialogTitle);
18828
- var newUidAvatar = '';
18829
- console.log('before urlPhoto: ', newUidAvatar);
18830
- if (params.dialogAvatar) {
18831
- if (params.dialogAvatar !== 'null') {
18832
- dialogsViewModel
18833
- .uploadFile(params.dialogAvatar)
18834
- // eslint-disable-next-line promise/always-return
18835
- .then(function (uploadedFile) {
18836
- newUidAvatar = uploadedFile.uid;
18837
- console.log('after urlPhoto: ', newUidAvatar);
18838
- setUidAvatar(newUidAvatar);
18839
- setNumStepToCreate(inviteUsers);
18840
- })
18841
- .catch(function (error) {
18842
- console.log((0,_utils_parse__WEBPACK_IMPORTED_MODULE_8__.stringifyError)(error));
18843
- });
18844
- }
18845
- else {
18846
- setUidAvatar('null');
18847
- }
18848
- }
18849
- else {
18850
- setNumStepToCreate(inviteUsers);
18851
- }
18852
- };
18853
- var getDialogParticipantsHandler = function (participants) { return __awaiter(void 0, void 0, void 0, function () {
18854
- var dialog;
18855
- return __generator(this, function (_a) {
18856
- switch (_a.label) {
18857
- case 0:
18858
- if (!(selectedDialogType &&
18859
- (_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group === selectedDialogType ||
18860
- (selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"] && participants.length > 0)))) return [3 /*break*/, 2];
18861
- dialog = _Data_Stubs__WEBPACK_IMPORTED_MODULE_7__.Stubs.createDialogEntityByTypeWithDefaultValues(selectedDialogType);
18862
- dialog.name = dialogName;
18863
- dialog.photo = uidAvatar || '';
18864
- dialog.participantIds = participants;
18865
- dialog.type = selectedDialogType;
18866
- // eslint-disable-next-line promise/always-return
18867
- return [4 /*yield*/, dialogsViewModel
18868
- .createDialog(dialog)
18869
- // eslint-disable-next-line promise/always-return
18870
- .then(function (newEntity) {
18871
- handleModal(false, '', '', false, false);
18872
- console.log("HAVE CREATED DIALOG from param: ".concat(JSON.stringify(newEntity), " from viewmodel ").concat(JSON.stringify(dialogsViewModel.entity), " "));
18873
- })
18874
- .catch(function (e) {
18875
- console.log('Have exception: ', (0,_utils_parse__WEBPACK_IMPORTED_MODULE_8__.stringifyError)(e));
18876
- })];
18877
- case 1:
18878
- // eslint-disable-next-line promise/always-return
18879
- _a.sent();
18880
- _a.label = 2;
18881
- case 2: return [2 /*return*/];
18882
- }
18883
- });
18884
- }); };
18885
- var closeModal = function () {
18886
- handleModal(false, '', '', false, false);
18887
- };
18888
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { children: [stepToCreate === setUpDialogType && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_CreateDialog_CreateDialog__WEBPACK_IMPORTED_MODULE_2__["default"], { createPrivateDialogClickHandler: function () {
18889
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]);
18890
- }, createPrivateDialogTouchHandler: function () {
18891
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]);
18892
- }, createGroupDialogClickHandler: function () {
18893
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group);
18894
- }, createGroupDialogTouchHandler: function () {
18895
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group);
18896
- }, createPublicDialogClickHandler: function () {
18897
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["public"]);
18898
- }, createPublicDialogTouchHandler: function () {
18899
- setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["public"]);
18900
- } })), stepToCreate === setDialogTitle && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__["default"], { nameDialog: "", typeDialog: selectedDialogType, typeAddEditDialog: _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__.TypeOpenDialog.create, clickUpdatedHandler: getDialogNameHandler, clickCancelHandler: function () {
18901
- closeModal();
18902
- } }) })), stepToCreate === inviteUsers && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_5__["default"], { applyInviteUsersHandler: function (selectedUsers) {
18903
- getDialogParticipantsHandler(selectedUsers);
18904
- }, cancelInviteMembersHandler: function () {
18905
- closeModal();
18906
- }, typeDialog: selectedDialogType || _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group, typeAddEditDialog: _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__.TypeOpenDialog.create, idOwnerDialog: remoteDataSourceMock.authInformation.userId.toString() }))] }));
18907
- };
18908
- /* harmony default export */ __webpack_exports__["default"] = (CreateNewDialogFlow);
18909
-
18910
-
18911
- /***/ }),
18912
-
18913
- /***/ "./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx":
18914
- /*!********************************************************************************************!*\
18915
- !*** ./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.tsx ***!
18916
- \********************************************************************************************/
18917
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18918
-
18919
- "use strict";
18920
- __webpack_require__.r(__webpack_exports__);
18921
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18922
- /* harmony export */ "default": function() { return /* binding */ AIAssistComponent; }
18923
- /* harmony export */ });
18924
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
18925
- /* harmony import */ var _AIAssistComponent_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AIAssistComponent.scss */ "./src/Presentation/Views/Dialog/AIComponents/AIAssistComponent/AIAssistComponent.scss");
18926
- /* harmony import */ var _components_UI_svgs_Icons_AIWidgets_BotIcon_BotIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon */ "./src/Presentation/components/UI/svgs/Icons/AIWidgets/BotIcon/BotIcon.tsx");
18927
- var __assign = (undefined && undefined.__assign) || function () {
18928
- __assign = Object.assign || function(t) {
18929
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18930
- s = arguments[i];
18931
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
18932
- t[p] = s[p];
18933
- }
18934
- return t;
18935
- };
18936
- return __assign.apply(this, arguments);
18937
- };
18938
-
18939
-
18940
-
18941
- function AIAssistComponent(props) {
18942
- var onAssistAnswer = props.onAssistAnswer, waitAIWidget = props.waitAIWidget;
18943
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-assist-answer", style: {
18944
- cursor: waitAIWidget ? '' : 'pointer',
18945
- } }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-assist-icon", onClick: onAssistAnswer }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_AIWidgets_BotIcon_BotIcon__WEBPACK_IMPORTED_MODULE_2__["default"], { width: "24", height: "25", applyZoom: true, color: "var(--primary)" }) }) })) })));
18946
- }
18947
-
18948
-
18949
- /***/ }),
18950
-
18951
- /***/ "./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx":
18952
- /*!**************************************************************************************************!*\
18953
- !*** ./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.tsx ***!
18954
- \**************************************************************************************************/
18955
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18956
-
18957
- "use strict";
18958
- __webpack_require__.r(__webpack_exports__);
18959
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18960
- /* harmony export */ "default": function() { return /* binding */ AITranslateComponent; }
18961
- /* harmony export */ });
18962
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
18963
- /* harmony import */ var _AITranslateComponent_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AITranslateComponent.scss */ "./src/Presentation/Views/Dialog/AIComponents/AITranslateComponent/AITranslateComponent.scss");
18964
- /* harmony import */ var _AIWidgets_AIWidgetActions_AIWidgetActions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../AIWidgets/AIWidgetActions/AIWidgetActions */ "./src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.tsx");
18965
- /* harmony import */ var _components_UI_svgs_Icons_Media_Translate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../components/UI/svgs/Icons/Media/Translate */ "./src/Presentation/components/UI/svgs/Icons/Media/Translate/index.tsx");
18966
- var __assign = (undefined && undefined.__assign) || function () {
18967
- __assign = Object.assign || function(t) {
18968
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18969
- s = arguments[i];
18970
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
18971
- t[p] = s[p];
18972
- }
18973
- return t;
18974
- };
18975
- return __assign.apply(this, arguments);
18976
- };
18977
-
18978
-
18979
-
18980
-
18981
- function AITranslateComponent(props) {
18982
- var onTranslate = props.onTranslate, onClickOriginalText = props.onClickOriginalText, originalTextMessage = props.originalTextMessage, waitAITranslateWidget = props.waitAITranslateWidget, languagesForAITranslate = props.languagesForAITranslate;
18983
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "translate-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "translate-caption" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "ai-translate-action", style: {
18984
- cursor: waitAITranslateWidget ? '' : 'pointer',
18985
- }, onClick: function () {
18986
- if (waitAITranslateWidget)
18987
- return;
18988
- if (originalTextMessage) {
18989
- onTranslate('');
18990
- }
18991
- else {
18992
- onClickOriginalText();
18993
- }
18994
- } }, { children: originalTextMessage ? 'Show translation' : 'Show original' })) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_AIWidgets_AIWidgetActions_AIWidgetActions__WEBPACK_IMPORTED_MODULE_2__["default"], { disabled: !waitAITranslateWidget, widgetToRender: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "icon-translate", style: {
18995
- cursor: waitAITranslateWidget ? '' : 'pointer',
18996
- } }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Media_Translate__WEBPACK_IMPORTED_MODULE_3__["default"], { width: "16", height: "16", applyZoom: true, color: "var(--tertiary-elements)" }) })), items: languagesForAITranslate.map(function (item) {
18997
- return {
18998
- title: item,
18999
- action: function () {
19000
- if (!props.waitAITranslateWidget) {
19001
- props.onTranslate(item);
19002
- }
19003
- },
19004
- };
19005
- }) })] })));
19006
- }
19007
-
19008
-
19009
- /***/ }),
18790
+ /***/ }),
19010
18791
 
19011
18792
  /***/ "./src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx":
19012
18793
  /*!***************************************************************************************!*\
@@ -23436,12 +23217,11 @@ __webpack_require__.r(__webpack_exports__);
23436
23217
  /* harmony import */ var _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../EditDialog/EditDialog */ "./src/Presentation/Views/EditDialog/EditDialog.tsx");
23437
23218
  /* harmony import */ var _InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../InviteMembers/InviteMembers */ "./src/Presentation/Views/InviteMembers/InviteMembers.tsx");
23438
23219
  /* harmony import */ var _Domain_entity_PublicDialogEntity__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../Domain/entity/PublicDialogEntity */ "./src/Domain/entity/PublicDialogEntity.ts");
23439
- /* harmony import */ var _YesNoQuestion_YesNoQuestion__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../YesNoQuestion/YesNoQuestion */ "./src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx");
23440
- /* harmony import */ var _MembersList_MembersList__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./MembersList/MembersList */ "./src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx");
23441
- /* harmony import */ var _utils_parse__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../../utils/parse */ "./src/utils/parse.ts");
23442
- /* harmony import */ var _EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../EditDialog/UserAvatar/UserAvatar */ "./src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx");
23443
- /* harmony import */ var _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../components/UI/Buttons/MainButton/MainButton */ "./src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx");
23444
- /* harmony import */ var _providers_QuickBloxUIKitProvider_useQbInitializedDataContext__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../providers/QuickBloxUIKitProvider/useQbInitializedDataContext */ "./src/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts");
23220
+ /* harmony import */ var _MembersList_MembersList__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./MembersList/MembersList */ "./src/Presentation/Views/DialogInfo/MembersList/MembersList.tsx");
23221
+ /* harmony import */ var _EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../EditDialog/UserAvatar/UserAvatar */ "./src/Presentation/Views/EditDialog/UserAvatar/UserAvatar.tsx");
23222
+ /* harmony import */ var _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../components/UI/Buttons/MainButton/MainButton */ "./src/Presentation/components/UI/Buttons/MainButton/MainButton.tsx");
23223
+ /* harmony import */ var _providers_QuickBloxUIKitProvider_useQbInitializedDataContext__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../providers/QuickBloxUIKitProvider/useQbInitializedDataContext */ "./src/Presentation/providers/QuickBloxUIKitProvider/useQbInitializedDataContext.ts");
23224
+ /* harmony import */ var _Flow_LeaveDialogFlow_LeaveDialogFlow__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../Flow/LeaveDialogFlow/LeaveDialogFlow */ "./src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx");
23445
23225
  var __assign = (undefined && undefined.__assign) || function () {
23446
23226
  __assign = Object.assign || function(t) {
23447
23227
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -23517,7 +23297,6 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
23517
23297
 
23518
23298
 
23519
23299
 
23520
-
23521
23300
 
23522
23301
 
23523
23302
  // eslint-disable-next-line react/function-component-definition
@@ -23528,7 +23307,7 @@ var DialogInfo = function (_a) {
23528
23307
  _d = _a.theme,
23529
23308
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
23530
23309
  theme = _d === void 0 ? undefined : _d, _e = _a.subHeaderContent, subHeaderContent = _e === void 0 ? undefined : _e, _f = _a.upHeaderContent, upHeaderContent = _f === void 0 ? undefined : _f, _g = _a.rootStyles, rootStyles = _g === void 0 ? {} : _g;
23531
- var currentContext = (0,_providers_QuickBloxUIKitProvider_useQbInitializedDataContext__WEBPACK_IMPORTED_MODULE_30__["default"])();
23310
+ var currentContext = (0,_providers_QuickBloxUIKitProvider_useQbInitializedDataContext__WEBPACK_IMPORTED_MODULE_28__["default"])();
23532
23311
  var currentUserId =
23533
23312
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
23534
23313
  (_b = currentContext.storage.REMOTE_DATA_SOURCE.authInformation) === null || _b === void 0 ? void 0 : _b.userId.toString();
@@ -23561,20 +23340,7 @@ var DialogInfo = function (_a) {
23561
23340
  handleModal(false, '', '', false, false);
23562
23341
  };
23563
23342
  var leaveDialogHandler = function () {
23564
- handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_3__["default"], __assign({ gapBetweenItem: "8px" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_YesNoQuestion_YesNoQuestion__WEBPACK_IMPORTED_MODULE_25__["default"], { noActionCaption: "Cancel", yesActionCaption: "Leave", ClickYesActionHandler: function () {
23565
- dialogViewModel
23566
- .deleteDialog(((dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity) || dialog))
23567
- .then(function (result) {
23568
- if (result)
23569
- closeModal();
23570
- return result;
23571
- })
23572
- .catch(function (e) {
23573
- console.log('exception in DeleteDialogHandler', (0,_utils_parse__WEBPACK_IMPORTED_MODULE_27__.stringifyError)(e));
23574
- });
23575
- }, ClickNoActionHandler: function () {
23576
- closeModal();
23577
- } }) })), 'Leave dialog?', false, true);
23343
+ handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Flow_LeaveDialogFlow_LeaveDialogFlow__WEBPACK_IMPORTED_MODULE_29__["default"], { dialog: ((dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity) || dialog), dialogsViewModel: dialogViewModel }), 'Leave dialog?', false, true);
23578
23344
  };
23579
23345
  var showMembersDialogHandler = function () {
23580
23346
  setShowMembersDialog(!showMembersDialog);
@@ -23585,7 +23351,7 @@ var DialogInfo = function (_a) {
23585
23351
  if (dialogEntity.type === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_17__.DialogType.group) {
23586
23352
  var groupDialogEntity = dialogEntity;
23587
23353
  if (groupDialogEntity.photo) {
23588
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_28__["default"], { urlAvatar: groupDialogEntity.photo, iconTheme: { width: '81px', height: '81px' } }));
23354
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_26__["default"], { urlAvatar: groupDialogEntity.photo, iconTheme: { width: '81px', height: '81px' } }));
23589
23355
  }
23590
23356
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-default-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-ellipse" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-contents" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_GroupChat__WEBPACK_IMPORTED_MODULE_7__["default"], { width: "51", height: "51", color: "var(--secondary-text)" }) })) })) })));
23591
23357
  }
@@ -23595,7 +23361,7 @@ var DialogInfo = function (_a) {
23595
23361
  if (dialogEntity.type === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_17__.DialogType["public"]) {
23596
23362
  var publicDialogEntity = dialogEntity;
23597
23363
  if (publicDialogEntity.photo) {
23598
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_28__["default"], { urlAvatar: publicDialogEntity.photo, iconTheme: { width: '81px', height: '81px' } }));
23364
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_UserAvatar_UserAvatar__WEBPACK_IMPORTED_MODULE_26__["default"], { urlAvatar: publicDialogEntity.photo, iconTheme: { width: '81px', height: '81px' } }));
23599
23365
  }
23600
23366
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-default-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-ellipse" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-profile-avatar-contents" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_PublicChannel__WEBPACK_IMPORTED_MODULE_18__["default"], { width: "51", height: "51", color: "var(--secondary-text)" }) })) })) })));
23601
23367
  }
@@ -23672,7 +23438,7 @@ var DialogInfo = function (_a) {
23672
23438
  };
23673
23439
  var useSubContent = subHeaderContent || false;
23674
23440
  var useUpContent = upHeaderContent || false;
23675
- return isAllMembersShow ? ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_MembersList_MembersList__WEBPACK_IMPORTED_MODULE_26__["default"], { closeInformationHandler: function () {
23441
+ return isAllMembersShow ? ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_MembersList_MembersList__WEBPACK_IMPORTED_MODULE_25__["default"], { closeInformationHandler: function () {
23676
23442
  setIsAllMembersShow(false);
23677
23443
  }, members: userViewModel.users })) : ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-information-container", style: __assign({}, rootStyles) }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_3__["default"], { children: [useUpContent && upHeaderContent, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "header-dialog-info" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "header-dialog-info-headline" }, { children: "Dialog information" })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "header-dialog-info-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_ActiveSvg_ActiveSvg__WEBPACK_IMPORTED_MODULE_13__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Navigation_Close__WEBPACK_IMPORTED_MODULE_4__["default"], { applyZoom: true, color: "var(--secondary-elements)" }), onClick: onCloseDialogInformationHandler }) }))] })), useSubContent && subHeaderContent, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-information-profile" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-information-profile-avatar" }, { children: renderIconForTypeDialog((dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity) || dialog) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-information-profile-dialog-name" }, { children: ((_c = dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity) === null || _c === void 0 ? void 0 : _c.name) || (dialog === null || dialog === void 0 ? void 0 : dialog.name) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-information-profile-edit" }, { children: dialog.type !== _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_17__.DialogType["private"] &&
23678
23444
  dialog.ownerId === currentUserId ? ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-information-profile-edit-button" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_20__["default"], { content: "Edit", clickAction: function () {
@@ -23686,7 +23452,7 @@ var DialogInfo = function (_a) {
23686
23452
  width: '44px',
23687
23453
  } }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Placeholders_LoaderComponent_LoaderComponent__WEBPACK_IMPORTED_MODULE_12__["default"], { width: "44", height: "44" }) }))), (userViewModel === null || userViewModel === void 0 ? void 0 : userViewModel.error) && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Placeholders_ErrorComponent_ErrorComponent__WEBPACK_IMPORTED_MODULE_11__["default"], { title: userViewModel === null || userViewModel === void 0 ? void 0 : userViewModel.error, ClickActionHandler: function () {
23688
23454
  console.log('call retry after error...');
23689
- } })), userViewModel.users && userViewModel.users.length > 0 && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_UsersList_UsersList__WEBPACK_IMPORTED_MODULE_9__["default"], { usersFirstPageToView: userViewModel.users, allUsers: userViewModel.users, usersInDialogCount: userViewModel.users.length }) }))), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_29__["default"], { title: "Invite members", clickHandler: function () {
23455
+ } })), userViewModel.users && userViewModel.users.length > 0 && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_UsersList_UsersList__WEBPACK_IMPORTED_MODULE_9__["default"], { usersFirstPageToView: userViewModel.users, allUsers: userViewModel.users, usersInDialogCount: userViewModel.users.length }) }))), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_27__["default"], { title: "Invite members", clickHandler: function () {
23690
23456
  handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_23__["default"], { participants: _Domain_entity_PublicDialogEntity__WEBPACK_IMPORTED_MODULE_24__.PublicDialogEntity.getParticipants((dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity) || dialog), applyInviteUsersHandler: function (usersForInvite,
23691
23457
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
23692
23458
  usersForRemove) {
@@ -23722,7 +23488,7 @@ var DialogInfo = function (_a) {
23722
23488
  }, cancelInviteMembersHandler: function () {
23723
23489
  closeModal();
23724
23490
  }, typeAddEditDialog: _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_22__.TypeOpenDialog.edit, typeDialog: dialog.type, idOwnerDialog: dialog.ownerId }), 'Edit dialog', false, false);
23725
- }, typeButton: _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_29__.TypeButton.outlined, disabled: dialog.ownerId !== currentUserId }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_29__["default"], { title: "See all members", typeButton: _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_29__.TypeButton.outlined, clickHandler: function () { return setIsAllMembersShow(true); } })] }))] })) : null })] })) : null, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_ActiveSvg_ActiveSvg__WEBPACK_IMPORTED_MODULE_13__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Navigation_Search__WEBPACK_IMPORTED_MODULE_8__["default"], { width: "24", height: "24", applyZoom: true }), onClick: function () { return searchDialogHandler(); }, onTouch: function () { return searchDialogHandler(); } }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-subtitle" }, { children: "Search in dialog" }))] })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_ActiveSvg_ActiveSvg__WEBPACK_IMPORTED_MODULE_13__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Navigation_Leave__WEBPACK_IMPORTED_MODULE_14__["default"], { width: "24", height: "24", applyZoom: true, color: "var(--error)" }), onClick: function () {
23491
+ }, typeButton: _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_27__.TypeButton.outlined, disabled: dialog.ownerId !== currentUserId }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_27__["default"], { title: "See all members", typeButton: _components_UI_Buttons_MainButton_MainButton__WEBPACK_IMPORTED_MODULE_27__.TypeButton.outlined, clickHandler: function () { return setIsAllMembersShow(true); } })] }))] })) : null })] })) : null, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_ActiveSvg_ActiveSvg__WEBPACK_IMPORTED_MODULE_13__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Navigation_Search__WEBPACK_IMPORTED_MODULE_8__["default"], { width: "24", height: "24", applyZoom: true }), onClick: function () { return searchDialogHandler(); }, onTouch: function () { return searchDialogHandler(); } }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-subtitle" }, { children: "Search in dialog" }))] })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-info-action-wrapper-settings" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-info-action-wrapper-settings-icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_ActiveSvg_ActiveSvg__WEBPACK_IMPORTED_MODULE_13__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Navigation_Leave__WEBPACK_IMPORTED_MODULE_14__["default"], { width: "24", height: "24", applyZoom: true, color: "var(--error)" }), onClick: function () {
23726
23492
  leaveDialogHandler();
23727
23493
  }, onTouch: function () {
23728
23494
  leaveDialogHandler();
@@ -24060,7 +23826,7 @@ __webpack_require__.r(__webpack_exports__);
24060
23826
  /* harmony import */ var _components_UI_Placeholders_ErrorComponent_ErrorComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../components/UI/Placeholders/ErrorComponent/ErrorComponent */ "./src/Presentation/components/UI/Placeholders/ErrorComponent/ErrorComponent.tsx");
24061
23827
  /* harmony import */ var _DialogListHeader_DialogListHeader__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DialogListHeader/DialogListHeader */ "./src/Presentation/Views/DialogListHeader/DialogListHeader.tsx");
24062
23828
  /* harmony import */ var _providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../providers/ModalContextProvider/Modal */ "./src/Presentation/providers/ModalContextProvider/Modal.tsx");
24063
- /* harmony import */ var _CreateDialogFlow_CreateNewDialogFlow__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../CreateDialogFlow/CreateNewDialogFlow */ "./src/Presentation/Views/CreateDialogFlow/CreateNewDialogFlow.tsx");
23829
+ /* harmony import */ var _Flow_CreateDialogFlow_CreateNewDialogFlow__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Flow/CreateDialogFlow/CreateNewDialogFlow */ "./src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx");
24064
23830
  /* harmony import */ var _utils_DateTimeFormatter__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../utils/DateTimeFormatter */ "./src/utils/DateTimeFormatter.ts");
24065
23831
  /* harmony import */ var _components_UI_svgs_Icons_Navigation_Search__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../components/UI/svgs/Icons/Navigation/Search */ "./src/Presentation/components/UI/svgs/Icons/Navigation/Search/index.tsx");
24066
23832
  /* harmony import */ var _components_UI_svgs_Icons_Actions_Remove__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../components/UI/svgs/Icons/Actions/Remove */ "./src/Presentation/components/UI/svgs/Icons/Actions/Remove/index.tsx");
@@ -24101,7 +23867,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
24101
23867
 
24102
23868
  // eslint-disable-next-line react/function-component-definition
24103
23869
  var DialogList = function (_a) {
24104
- var header = _a.header, subHeaderContent = _a.subHeaderContent, upHeaderContent = _a.upHeaderContent, onDialogSelectHandler = _a.onDialogSelectHandler, dialogsViewModel = _a.dialogsViewModel, _b = _a.additionalSettings, additionalSettings = _b === void 0 ? undefined : _b, _c = _a.scrollableHeight, scrollableHeight = _c === void 0 ? 736 : _c;
23870
+ var header = _a.header, subHeaderContent = _a.subHeaderContent, upHeaderContent = _a.upHeaderContent, onDialogSelectHandler = _a.onDialogSelectHandler, onLeaveDialog = _a.onLeaveDialog, dialogsViewModel = _a.dialogsViewModel, _b = _a.additionalSettings, additionalSettings = _b === void 0 ? undefined : _b, _c = _a.scrollableHeight, scrollableHeight = _c === void 0 ? 736 : _c;
24105
23871
  var dialogs = [];
24106
23872
  var _d = react__WEBPACK_IMPORTED_MODULE_1___default().useState([]), dialogsToView = _d[0], setDialogsToView = _d[1];
24107
23873
  var _e = react__WEBPACK_IMPORTED_MODULE_1___default().useState({ selectedIndex: undefined, item: undefined }), selectedItem = _e[0], setSelectedItem = _e[1];
@@ -24176,7 +23942,7 @@ var DialogList = function (_a) {
24176
23942
  setShowSearchDialogs(!showSearchDialogs);
24177
23943
  setNameDialogForSearch('');
24178
23944
  }, clickActionHandler: function () {
24179
- handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_CreateDialogFlow_CreateNewDialogFlow__WEBPACK_IMPORTED_MODULE_11__["default"], { dialogsViewModel: dialogsViewModel }), 'New dialog', false, false, {
23945
+ handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Flow_CreateDialogFlow_CreateNewDialogFlow__WEBPACK_IMPORTED_MODULE_11__["default"], { dialogsViewModel: dialogsViewModel }), 'New dialog', false, false, {
24180
23946
  minHeight: '200px',
24181
23947
  minWidth: '380px',
24182
23948
  maxWidth: '380px',
@@ -24228,7 +23994,7 @@ var DialogList = function (_a) {
24228
23994
  colorTheme: additionalSettings === null || additionalSettings === void 0 ? void 0 : additionalSettings.themePreview,
24229
23995
  }, title: "".concat(item.entity.name || ''), unreadMessageCount: item.entity.unreadMessageCount > 0
24230
23996
  ? item.entity.unreadMessageCount
24231
- : undefined, message_date_time_sent: getMessageDateTimeSent(), previewMessage: item.entity.lastMessage.text, dialogAvatar: getDialogAvatar(item) }) }), index));
23997
+ : undefined, message_date_time_sent: getMessageDateTimeSent(), previewMessage: item.entity.lastMessage.text, dialogAvatar: getDialogAvatar(item), onLeaveDialog: onLeaveDialog }) }), index));
24232
23998
  };
24233
23999
  var loaderTheme = {
24234
24000
  color: 'var(--color-background-info)',
@@ -24975,6 +24741,284 @@ var UserAvatar = function (_a) {
24975
24741
  /* harmony default export */ __webpack_exports__["default"] = (UserAvatar);
24976
24742
 
24977
24743
 
24744
+ /***/ }),
24745
+
24746
+ /***/ "./src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx":
24747
+ /*!*******************************************************************!*\
24748
+ !*** ./src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx ***!
24749
+ \*******************************************************************/
24750
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24751
+
24752
+ "use strict";
24753
+ __webpack_require__.r(__webpack_exports__);
24754
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
24755
+ /* harmony import */ var _CreateDialog_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateDialog.scss */ "./src/Presentation/Views/Flow/CreateDialog/CreateDialog.scss");
24756
+ /* harmony import */ var _components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/containers/ColumnContainer/ColumnContainer */ "./src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx");
24757
+ /* harmony import */ var _components_UI_svgs_Icons_Contents_Chat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/UI/svgs/Icons/Contents/Chat */ "./src/Presentation/components/UI/svgs/Icons/Contents/Chat/index.tsx");
24758
+ /* harmony import */ var _components_UI_svgs_Icons_Contents_GroupChat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/UI/svgs/Icons/Contents/GroupChat */ "./src/Presentation/components/UI/svgs/Icons/Contents/GroupChat/index.tsx");
24759
+ /* harmony import */ var _components_UI_svgs_Icons_Contents_PublicChannel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../components/UI/svgs/Icons/Contents/PublicChannel */ "./src/Presentation/components/UI/svgs/Icons/Contents/PublicChannel/index.tsx");
24760
+ /* harmony import */ var _components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../components/UI/Buttons/ActiveButton/ActiveButton */ "./src/Presentation/components/UI/Buttons/ActiveButton/ActiveButton.tsx");
24761
+ var __assign = (undefined && undefined.__assign) || function () {
24762
+ __assign = Object.assign || function(t) {
24763
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
24764
+ s = arguments[i];
24765
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
24766
+ t[p] = s[p];
24767
+ }
24768
+ return t;
24769
+ };
24770
+ return __assign.apply(this, arguments);
24771
+ };
24772
+
24773
+
24774
+
24775
+
24776
+
24777
+
24778
+
24779
+ // eslint-disable-next-line react/function-component-definition,@typescript-eslint/no-unused-vars
24780
+ var CreateDialog = function (_a) {
24781
+ var createPrivateDialogClickHandler = _a.createPrivateDialogClickHandler, createPrivateDialogTouchHandler = _a.createPrivateDialogTouchHandler, createGroupDialogClickHandler = _a.createGroupDialogClickHandler, createGroupDialogTouchHandler = _a.createGroupDialogTouchHandler, createPublicDialogClickHandler = _a.createPublicDialogClickHandler, createPublicDialogTouchHandler = _a.createPublicDialogTouchHandler;
24782
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_2__["default"], __assign({ gapBetweenItem: "8px" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_Chat__WEBPACK_IMPORTED_MODULE_3__["default"], { width: "24", height: "24", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Private" }))] })), clickAction: createPrivateDialogClickHandler, touchAction: createPrivateDialogTouchHandler }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_GroupChat__WEBPACK_IMPORTED_MODULE_4__["default"], { width: "32", height: "32", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Group" }))] })), clickAction: createGroupDialogClickHandler, touchAction: createGroupDialogTouchHandler }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_Buttons_ActiveButton_ActiveButton__WEBPACK_IMPORTED_MODULE_6__["default"], { content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "create-dialog-container--btn-wrapper" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__icon" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_UI_svgs_Icons_Contents_PublicChannel__WEBPACK_IMPORTED_MODULE_5__["default"], { width: "32", height: "32", applyZoom: true }) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "create-dialog-container--btn-wrapper__text" }, { children: "Public" }))] })), clickAction: createPublicDialogClickHandler, touchAction: createPublicDialogTouchHandler })] })));
24783
+ };
24784
+ /* harmony default export */ __webpack_exports__["default"] = (CreateDialog);
24785
+
24786
+
24787
+ /***/ }),
24788
+
24789
+ /***/ "./src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx":
24790
+ /*!******************************************************************************!*\
24791
+ !*** ./src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx ***!
24792
+ \******************************************************************************/
24793
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24794
+
24795
+ "use strict";
24796
+ __webpack_require__.r(__webpack_exports__);
24797
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
24798
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
24799
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
24800
+ /* harmony import */ var _CreateDialog_CreateDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../CreateDialog/CreateDialog */ "./src/Presentation/Views/Flow/CreateDialog/CreateDialog.tsx");
24801
+ /* harmony import */ var _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Domain/entity/DialogTypes */ "./src/Domain/entity/DialogTypes.ts");
24802
+ /* harmony import */ var _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../EditDialog/EditDialog */ "./src/Presentation/Views/EditDialog/EditDialog.tsx");
24803
+ /* harmony import */ var _InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../InviteMembers/InviteMembers */ "./src/Presentation/Views/InviteMembers/InviteMembers.tsx");
24804
+ /* harmony import */ var _providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../providers/ModalContextProvider/Modal */ "./src/Presentation/providers/ModalContextProvider/Modal.tsx");
24805
+ /* harmony import */ var _Data_Stubs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../Data/Stubs */ "./src/Data/Stubs.ts");
24806
+ /* harmony import */ var _utils_parse__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../utils/parse */ "./src/utils/parse.ts");
24807
+ /* harmony import */ var _providers_QuickBloxUIKitProvider_QuickBloxUIKitProvider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider */ "./src/Presentation/providers/QuickBloxUIKitProvider/QuickBloxUIKitProvider.tsx");
24808
+ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
24809
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
24810
+ return new (P || (P = Promise))(function (resolve, reject) {
24811
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
24812
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
24813
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
24814
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
24815
+ });
24816
+ };
24817
+ var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
24818
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24819
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24820
+ function verb(n) { return function (v) { return step([n, v]); }; }
24821
+ function step(op) {
24822
+ if (f) throw new TypeError("Generator is already executing.");
24823
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
24824
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
24825
+ if (y = 0, t) op = [op[0] & 2, t.value];
24826
+ switch (op[0]) {
24827
+ case 0: case 1: t = op; break;
24828
+ case 4: _.label++; return { value: op[1], done: false };
24829
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24830
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
24831
+ default:
24832
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
24833
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
24834
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
24835
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
24836
+ if (t[2]) _.ops.pop();
24837
+ _.trys.pop(); continue;
24838
+ }
24839
+ op = body.call(thisArg, _);
24840
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
24841
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
24842
+ }
24843
+ };
24844
+
24845
+
24846
+
24847
+
24848
+
24849
+
24850
+
24851
+
24852
+
24853
+
24854
+ // eslint-disable-next-line react/function-component-definition
24855
+ var CreateNewDialogFlow = function (_a) {
24856
+ var dialogsViewModel = _a.dialogsViewModel;
24857
+ var handleModal = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_6__.ModalContext).handleModal;
24858
+ var currentContext = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_providers_QuickBloxUIKitProvider_QuickBloxUIKitProvider__WEBPACK_IMPORTED_MODULE_9__.qbDataContext);
24859
+ var remoteDataSourceMock = currentContext.storage.REMOTE_DATA_SOURCE;
24860
+ var setUpDialogType = 1;
24861
+ var setDialogTitle = 2;
24862
+ var inviteUsers = 3;
24863
+ var _b = react__WEBPACK_IMPORTED_MODULE_1___default().useState(setUpDialogType), stepToCreate = _b[0], setNumStepToCreate = _b[1];
24864
+ var _c = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(), selectedDialogType = _c[0], setSelectedDialogType = _c[1];
24865
+ var _d = react__WEBPACK_IMPORTED_MODULE_1___default().useState('NOT DEFINE'), dialogName = _d[0], setDialogName = _d[1];
24866
+ var _e = react__WEBPACK_IMPORTED_MODULE_1___default().useState(undefined), uidAvatar = _e[0], setUidAvatar = _e[1];
24867
+ (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
24868
+ if (
24869
+ // selectedDialogType === DialogType.private ||
24870
+ selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group) {
24871
+ setNumStepToCreate(setDialogTitle);
24872
+ }
24873
+ else if (selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]) {
24874
+ setNumStepToCreate(inviteUsers);
24875
+ }
24876
+ }, [selectedDialogType]);
24877
+ var getDialogNameHandler = function (params) {
24878
+ console.log(params.dialogTitle);
24879
+ setDialogName(params.dialogTitle);
24880
+ var newUidAvatar = '';
24881
+ console.log('before urlPhoto: ', newUidAvatar);
24882
+ if (params.dialogAvatar) {
24883
+ if (params.dialogAvatar !== 'null') {
24884
+ dialogsViewModel
24885
+ .uploadFile(params.dialogAvatar)
24886
+ // eslint-disable-next-line promise/always-return
24887
+ .then(function (uploadedFile) {
24888
+ newUidAvatar = uploadedFile.uid;
24889
+ console.log('after urlPhoto: ', newUidAvatar);
24890
+ setUidAvatar(newUidAvatar);
24891
+ setNumStepToCreate(inviteUsers);
24892
+ })
24893
+ .catch(function (error) {
24894
+ console.log((0,_utils_parse__WEBPACK_IMPORTED_MODULE_8__.stringifyError)(error));
24895
+ });
24896
+ }
24897
+ else {
24898
+ setUidAvatar('null');
24899
+ }
24900
+ }
24901
+ else {
24902
+ setNumStepToCreate(inviteUsers);
24903
+ }
24904
+ };
24905
+ var getDialogParticipantsHandler = function (participants) { return __awaiter(void 0, void 0, void 0, function () {
24906
+ var dialog;
24907
+ return __generator(this, function (_a) {
24908
+ switch (_a.label) {
24909
+ case 0:
24910
+ if (!(selectedDialogType &&
24911
+ (_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group === selectedDialogType ||
24912
+ (selectedDialogType === _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"] && participants.length > 0)))) return [3 /*break*/, 2];
24913
+ dialog = _Data_Stubs__WEBPACK_IMPORTED_MODULE_7__.Stubs.createDialogEntityByTypeWithDefaultValues(selectedDialogType);
24914
+ dialog.name = dialogName;
24915
+ dialog.photo = uidAvatar || '';
24916
+ dialog.participantIds = participants;
24917
+ dialog.type = selectedDialogType;
24918
+ // eslint-disable-next-line promise/always-return
24919
+ return [4 /*yield*/, dialogsViewModel
24920
+ .createDialog(dialog)
24921
+ // eslint-disable-next-line promise/always-return
24922
+ .then(function (newEntity) {
24923
+ handleModal(false, '', '', false, false);
24924
+ console.log("HAVE CREATED DIALOG from param: ".concat(JSON.stringify(newEntity), " from viewmodel ").concat(JSON.stringify(dialogsViewModel.entity), " "));
24925
+ })
24926
+ .catch(function (e) {
24927
+ console.log('Have exception: ', (0,_utils_parse__WEBPACK_IMPORTED_MODULE_8__.stringifyError)(e));
24928
+ })];
24929
+ case 1:
24930
+ // eslint-disable-next-line promise/always-return
24931
+ _a.sent();
24932
+ _a.label = 2;
24933
+ case 2: return [2 /*return*/];
24934
+ }
24935
+ });
24936
+ }); };
24937
+ var closeModal = function () {
24938
+ handleModal(false, '', '', false, false);
24939
+ };
24940
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { children: [stepToCreate === setUpDialogType && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_CreateDialog_CreateDialog__WEBPACK_IMPORTED_MODULE_2__["default"], { createPrivateDialogClickHandler: function () {
24941
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]);
24942
+ }, createPrivateDialogTouchHandler: function () {
24943
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["private"]);
24944
+ }, createGroupDialogClickHandler: function () {
24945
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group);
24946
+ }, createGroupDialogTouchHandler: function () {
24947
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group);
24948
+ }, createPublicDialogClickHandler: function () {
24949
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["public"]);
24950
+ }, createPublicDialogTouchHandler: function () {
24951
+ setSelectedDialogType(_Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType["public"]);
24952
+ } })), stepToCreate === setDialogTitle && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__["default"], { nameDialog: "", typeDialog: selectedDialogType, typeAddEditDialog: _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__.TypeOpenDialog.create, clickUpdatedHandler: getDialogNameHandler, clickCancelHandler: function () {
24953
+ closeModal();
24954
+ } }) })), stepToCreate === inviteUsers && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InviteMembers_InviteMembers__WEBPACK_IMPORTED_MODULE_5__["default"], { applyInviteUsersHandler: function (selectedUsers) {
24955
+ getDialogParticipantsHandler(selectedUsers);
24956
+ }, cancelInviteMembersHandler: function () {
24957
+ closeModal();
24958
+ }, typeDialog: selectedDialogType || _Domain_entity_DialogTypes__WEBPACK_IMPORTED_MODULE_3__.DialogType.group, typeAddEditDialog: _EditDialog_EditDialog__WEBPACK_IMPORTED_MODULE_4__.TypeOpenDialog.create, idOwnerDialog: remoteDataSourceMock.authInformation.userId.toString() }))] }));
24959
+ };
24960
+ /* harmony default export */ __webpack_exports__["default"] = (CreateNewDialogFlow);
24961
+
24962
+
24963
+ /***/ }),
24964
+
24965
+ /***/ "./src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx":
24966
+ /*!*************************************************************************!*\
24967
+ !*** ./src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx ***!
24968
+ \*************************************************************************/
24969
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24970
+
24971
+ "use strict";
24972
+ __webpack_require__.r(__webpack_exports__);
24973
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
24974
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
24975
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
24976
+ /* harmony import */ var _YesNoQuestion_YesNoQuestion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../YesNoQuestion/YesNoQuestion */ "./src/Presentation/Views/YesNoQuestion/YesNoQuestion.tsx");
24977
+ /* harmony import */ var _utils_parse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../utils/parse */ "./src/utils/parse.ts");
24978
+ /* harmony import */ var _components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/containers/ColumnContainer/ColumnContainer */ "./src/Presentation/components/containers/ColumnContainer/ColumnContainer.tsx");
24979
+ /* harmony import */ var _providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../providers/ModalContextProvider/Modal */ "./src/Presentation/providers/ModalContextProvider/Modal.tsx");
24980
+ var __assign = (undefined && undefined.__assign) || function () {
24981
+ __assign = Object.assign || function(t) {
24982
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
24983
+ s = arguments[i];
24984
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
24985
+ t[p] = s[p];
24986
+ }
24987
+ return t;
24988
+ };
24989
+ return __assign.apply(this, arguments);
24990
+ };
24991
+
24992
+
24993
+
24994
+
24995
+
24996
+
24997
+ // eslint-disable-next-line react/function-component-definition
24998
+ var LeaveDialogFlow = function (_a) {
24999
+ var dialogsViewModel = _a.dialogsViewModel, dialog = _a.dialog;
25000
+ var handleModal = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_providers_ModalContextProvider_Modal__WEBPACK_IMPORTED_MODULE_5__.ModalContext).handleModal;
25001
+ var closeModal = function () {
25002
+ handleModal(false, '', '', false, false);
25003
+ };
25004
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_containers_ColumnContainer_ColumnContainer__WEBPACK_IMPORTED_MODULE_4__["default"], __assign({ gapBetweenItem: "8px" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_YesNoQuestion_YesNoQuestion__WEBPACK_IMPORTED_MODULE_2__["default"], { noActionCaption: "Cancel", yesActionCaption: "Leave", ClickYesActionHandler: function () {
25005
+ dialogsViewModel
25006
+ .deleteDialog(dialog)
25007
+ .then(function (result) {
25008
+ if (result)
25009
+ closeModal();
25010
+ return result;
25011
+ })
25012
+ .catch(function (e) {
25013
+ console.log('exception in LeaveDialogFlow', (0,_utils_parse__WEBPACK_IMPORTED_MODULE_3__.stringifyError)(e));
25014
+ });
25015
+ }, ClickNoActionHandler: function () {
25016
+ closeModal();
25017
+ } }) })));
25018
+ };
25019
+ /* harmony default export */ __webpack_exports__["default"] = (LeaveDialogFlow);
25020
+
25021
+
24978
25022
  /***/ }),
24979
25023
 
24980
25024
  /***/ "./src/Presentation/Views/InviteMembers/InviteMembers.tsx":
@@ -25577,7 +25621,7 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
25577
25621
 
25578
25622
  // eslint-disable-next-line react/function-component-definition
25579
25623
  var PreviewDialog = function (_a) {
25580
- var typeDialog = _a.typeDialog, dialogViewModel = _a.dialogViewModel, dialogAvatar = _a.dialogAvatar, title = _a.title, previewMessage = _a.previewMessage, unreadMessageCount = _a.unreadMessageCount, message_date_time_sent = _a.message_date_time_sent, _b = _a.theme, theme = _b === void 0 ? undefined : _b,
25624
+ var typeDialog = _a.typeDialog, dialogViewModel = _a.dialogViewModel, dialogAvatar = _a.dialogAvatar, title = _a.title, previewMessage = _a.previewMessage, unreadMessageCount = _a.unreadMessageCount, message_date_time_sent = _a.message_date_time_sent, _b = _a.theme, theme = _b === void 0 ? undefined : _b, onLeaveDialog = _a.onLeaveDialog,
25581
25625
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
25582
25626
  _c = _a.additionalSettings,
25583
25627
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -25763,33 +25807,70 @@ var PreviewDialog = function (_a) {
25763
25807
  }
25764
25808
  return result;
25765
25809
  }
25766
- if (message.includes('[Forwarded_Message]')) {
25810
+ if (message.includes(_Data_source_remote_Mapper_MessageDTOMapper__WEBPACK_IMPORTED_MODULE_15__.MessageDTOMapper.FORWARD_MESSAGE_PREFIX)) {
25767
25811
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: "Forwarded message" });
25768
25812
  }
25769
- if (message.includes('[Replied_Message]')) {
25813
+ if (message.includes(_Data_source_remote_Mapper_MessageDTOMapper__WEBPACK_IMPORTED_MODULE_15__.MessageDTOMapper.REPLY_MESSAGE_PREFIX)) {
25770
25814
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: "Replied Message" });
25771
25815
  }
25772
25816
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: message.split(' ').length >= 1 && message.split(' ')[0].length < 23
25773
25817
  ? message
25774
25818
  : "".concat(message.substring(0, 25), " ...") }));
25775
25819
  };
25820
+ var LONG_TAP_DURATION = 500; // in milliseconds
25821
+ var VERY_LONG_TAP_DURATION = 2000; // in milliseconds
25822
+ var _g = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0), touchDuration = _g[0], setTouchDuration = _g[1];
25823
+ var touchTimer = null;
25824
+ var handleTouchStart = function () {
25825
+ // Если предыдущий таймер еще активен, отменяем его
25826
+ if (touchTimer !== null) {
25827
+ clearTimeout(touchTimer);
25828
+ }
25829
+ // Запуск нового таймера
25830
+ touchTimer = setTimeout(function () {
25831
+ setTouchDuration(Date.now());
25832
+ }, VERY_LONG_TAP_DURATION);
25833
+ };
25834
+ var handleTouchEndOrCancel = function (event) {
25835
+ // Если таймер был установлен, отменяем его
25836
+ if (touchTimer !== null) {
25837
+ clearTimeout(touchTimer);
25838
+ if (Date.now() - touchDuration > VERY_LONG_TAP_DURATION) {
25839
+ console.log('Very long tap detected');
25840
+ // Call context menu here
25841
+ }
25842
+ else if (Date.now() - touchDuration > LONG_TAP_DURATION) {
25843
+ console.log('Long tap detected');
25844
+ // Select the element here
25845
+ if (dialogViewModel && dialogViewModel.itemTouchActionHandler) {
25846
+ var it_1 = dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.item;
25847
+ dialogViewModel.itemTouchActionHandler(it_1);
25848
+ }
25849
+ }
25850
+ else {
25851
+ console.log('Short tap detected');
25852
+ // Do something for short taps here
25853
+ }
25854
+ // Reset touchDuration
25855
+ setTouchDuration(0);
25856
+ // Prevent unwanted click events after touch ends
25857
+ event.preventDefault();
25858
+ }
25859
+ };
25776
25860
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-container", style: haveHover
25777
25861
  ? {
25778
25862
  background: 'var(--divider)',
25779
25863
  }
25780
25864
  : {}, onMouseEnter: function () { return setHaveHover(true); }, onMouseLeave: function () { return setHaveHover(false); } }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-container-left" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview", onClick: function () {
25781
25865
  if (dialogViewModel && dialogViewModel.itemClickActionHandler) {
25782
- var it_1 = dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.item;
25783
- dialogViewModel.itemClickActionHandler(it_1);
25784
- }
25785
- }, onTouchStart: function () {
25786
- if (dialogViewModel && dialogViewModel.itemTouchActionHandler) {
25787
25866
  var it_2 = dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.item;
25788
- dialogViewModel.itemTouchActionHandler(it_2);
25867
+ dialogViewModel.itemClickActionHandler(it_2);
25789
25868
  }
25790
- } }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-avatar" }, { children: avatar })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text-subtitle" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-caption-name" }, { children: title })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-caption2-time" }, { children: message_date_time_sent }))] })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text-subtitle-message" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-text" }, { children: getPreviewMessage(previewMessage || '') })), unreadMessageCount > 0 && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-message-badge" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-message-badge-v" }, { children: unreadMessageCount })) })))] }))] }))] })) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-container-right" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-icon-close" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_PreviewDialogContextMenu_PreviewDialogContextMenu__WEBPACK_IMPORTED_MODULE_14__["default"], { dialog: dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity,
25869
+ }, onTouchStart: handleTouchStart, onTouchEnd: handleTouchEndOrCancel, onTouchCancel: handleTouchEndOrCancel }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-avatar" }, { children: avatar })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text-subtitle" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-caption-name" }, { children: title })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-caption2-time" }, { children: message_date_time_sent }))] })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", __assign({ className: "dialog-preview-text-subtitle-message" }, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-text" }, { children: getPreviewMessage(previewMessage || '') })), unreadMessageCount > 0 && ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-message-badge" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-text-subtitle-message-badge-v" }, { children: unreadMessageCount })) })))] }))] }))] })) })), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-container-right" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "dialog-preview-icon-close" }, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_PreviewDialogContextMenu_PreviewDialogContextMenu__WEBPACK_IMPORTED_MODULE_14__["default"], { dialog: dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity,
25791
25870
  // onLeave={() => console.log('call leave dialog')}
25792
- onLeave: function () { return console.log('call leave dialog'); }, enableLeaveDialog: true }) })) }))] })));
25871
+ onLeave: function () {
25872
+ return onLeaveDialog(dialogViewModel === null || dialogViewModel === void 0 ? void 0 : dialogViewModel.entity);
25873
+ }, enableLeaveDialog: true }) })) }))] })));
25793
25874
  };
25794
25875
  /* harmony default export */ __webpack_exports__["default"] = (PreviewDialog);
25795
25876
 
@@ -26351,13 +26432,14 @@ var __assign = (undefined && undefined.__assign) || function () {
26351
26432
  // eslint-disable-next-line react/function-component-definition
26352
26433
  var ActiveSvg = function (_a) {
26353
26434
  var content = _a.content, onTouch = _a.onTouch, onClick = _a.onClick;
26354
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "active-svg-container", onTouchStart: function () {
26435
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", __assign({ className: "active-svg-container", onTouchStart: function (event) {
26355
26436
  // eslint-disable-next-line no-unused-expressions
26356
26437
  onTouch && typeof onTouch === 'function'
26357
26438
  ? onTouch()
26358
26439
  : function () {
26359
26440
  console.log('touched');
26360
26441
  };
26442
+ event.preventDefault();
26361
26443
  }, onClick: function () {
26362
26444
  // eslint-disable-next-line no-unused-expressions
26363
26445
  onClick && typeof onClick === 'function'
@@ -28186,6 +28268,7 @@ __webpack_require__.r(__webpack_exports__);
28186
28268
  /* harmony import */ var _Views_Dialog_DialogHeader_RenderRightActions_RenderRightActions__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../Views/Dialog/DialogHeader/RenderRightActions/RenderRightActions */ "./src/Presentation/Views/Dialog/DialogHeader/RenderRightActions/RenderRightActions.tsx");
28187
28269
  /* harmony import */ var _Views_Dialog_DialogHeader_RenderLeftActions_RenderLeftActions__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../Views/Dialog/DialogHeader/RenderLeftActions/RenderLeftActions */ "./src/Presentation/Views/Dialog/DialogHeader/RenderLeftActions/RenderLeftActions.tsx");
28188
28270
  /* harmony import */ var _Data_source_remote_Mapper_MessageDTOMapper__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../../Data/source/remote/Mapper/MessageDTOMapper */ "./src/Data/source/remote/Mapper/MessageDTOMapper.ts");
28271
+ /* harmony import */ var _Views_Flow_LeaveDialogFlow_LeaveDialogFlow__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../Views/Flow/LeaveDialogFlow/LeaveDialogFlow */ "./src/Presentation/Views/Flow/LeaveDialogFlow/LeaveDialogFlow.tsx");
28189
28272
  var __assign = (undefined && undefined.__assign) || function () {
28190
28273
  __assign = Object.assign || function(t) {
28191
28274
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -28284,6 +28367,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
28284
28367
 
28285
28368
 
28286
28369
 
28370
+
28287
28371
 
28288
28372
 
28289
28373
  var QuickBloxUIKitDesktopLayout = function (_a) {
@@ -28487,7 +28571,7 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
28487
28571
  setSelectedDialog(undefined);
28488
28572
  }
28489
28573
  }, [dialogsViewModel.entity]);
28490
- var _x = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true), needDialogInformation = _x[0], setNeedDialogInformation = _x[1];
28574
+ var _x = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), needDialogInformation = _x[0], setNeedDialogInformation = _x[1];
28491
28575
  var informationCloseHandler = function () {
28492
28576
  setNeedDialogInformation(false);
28493
28577
  };
@@ -28581,7 +28665,7 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
28581
28665
  var replyData = {
28582
28666
  messagesToReply: messagesToReply,
28583
28667
  relatedFileMessage: fileToSend,
28584
- relatedTextMessage: messageText || '[Replied_Message]',
28668
+ relatedTextMessage: messageText || _Data_source_remote_Mapper_MessageDTOMapper__WEBPACK_IMPORTED_MODULE_43__.MessageDTOMapper.REPLY_MESSAGE_PREFIX,
28585
28669
  };
28586
28670
  repliedActions(replyData);
28587
28671
  }
@@ -28985,7 +29069,8 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
28985
29069
  var _14 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true), showDialogList = _14[0], setShowDialogList = _14[1];
28986
29070
  var _15 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true), showDialogMessages = _15[0], setShowDialogMessages = _15[1];
28987
29071
  var _16 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false), showDialogInformation = _16[0], setShowDialogInformation = _16[1];
28988
- var isMobile = (0,_components_containers_SectionList_hooks__WEBPACK_IMPORTED_MODULE_40__.useMobileLayout)()[0];
29072
+ var _17 = (0,_components_containers_SectionList_hooks__WEBPACK_IMPORTED_MODULE_40__.useMobileLayout)(), isMobile = _17[0], width = _17[1], height = _17[2], breakpoint = _17[3];
29073
+ var _18 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0), clientHeight = _18[0], setClientHeight = _18[1];
28989
29074
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
28990
29075
  if (isMobile) {
28991
29076
  if (!selectedDialog) {
@@ -29011,6 +29096,9 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
29011
29096
  setShowDialogMessages(true);
29012
29097
  setShowDialogInformation(true);
29013
29098
  }
29099
+ //
29100
+ var sizeChangingLogString = "height: ".concat(height.toString(), " clientHeight: ").concat(clientHeight, " width: ").concat(width.toString(), " breakpont: ").concat(breakpoint.toString(), " isMobile:\n ").concat(isMobile === null || isMobile === void 0 ? void 0 : isMobile.toString(), " selectedDialog:\n ").concat(selectedDialog ? 'true' : 'false', " showDialogMessages:\n ").concat(showDialogMessages === null || showDialogMessages === void 0 ? void 0 : showDialogMessages.toString(), " showDialogList:\n ").concat(showDialogList === null || showDialogList === void 0 ? void 0 : showDialogList.toString(), " showDialogInformation:\n ").concat(showDialogInformation === null || showDialogInformation === void 0 ? void 0 : showDialogInformation.toString());
29101
+ console.log(sizeChangingLogString);
29014
29102
  }, [isMobile]);
29015
29103
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
29016
29104
  var _a;
@@ -29038,14 +29126,16 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
29038
29126
  }
29039
29127
  }
29040
29128
  }, [needDialogInformation]);
29041
- var _17 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0), clientHeight = _17[0], setClientHeight = _17[1];
29042
29129
  var handleHeightChange = function (newHeight) {
29043
29130
  console.log('The new height is:', newHeight);
29044
29131
  setClientHeight(newHeight);
29045
29132
  };
29046
29133
  // const uikitHeight = '100vh';
29047
29134
  // const workHeight = `calc(${uikitHeight} - 128px - 16px)`;
29048
- var workHeight = "calc(100vh - ".concat(uikitHeightOffset, " - 16px)");
29135
+ var workHeight = "calc(100vh - ".concat(uikitHeightOffset, " - 32px)");
29136
+ var leaveDialogHandler = function (dialog) {
29137
+ handleModal(true, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Views_Flow_LeaveDialogFlow_LeaveDialogFlow__WEBPACK_IMPORTED_MODULE_44__["default"], { dialog: dialog, dialogsViewModel: dialogsViewModel }), 'Leave dialog?', false, true);
29138
+ };
29049
29139
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_DesktopLayout__WEBPACK_IMPORTED_MODULE_6__["default"], { mainContainerStyles: { height: workHeight }, onHeightChange: handleHeightChange, theme: theme, dialogsView: showDialogList ? ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_Views_DialogList_DialogList__WEBPACK_IMPORTED_MODULE_4__["default"], { scrollableHeight: clientHeight - 64,
29050
29140
  // rootStyles={{
29051
29141
  // minHeight: `${clientHeight}px)`,
@@ -29056,7 +29146,7 @@ var QuickBloxUIKitDesktopLayout = function (_a) {
29056
29146
  // }}
29057
29147
  // subHeaderContent={<CompanyLogo />}
29058
29148
  // upHeaderContent={<CompanyLogo />}
29059
- dialogsViewModel: dialogsViewModel, onDialogSelectHandler: selectDialogActions, additionalSettings: {
29149
+ dialogsViewModel: dialogsViewModel, onDialogSelectHandler: selectDialogActions, onLeaveDialog: leaveDialogHandler, additionalSettings: {
29060
29150
  withoutHeader: false,
29061
29151
  themeHeader: theme,
29062
29152
  themePreview: theme,