quickblox-react-ui-kit 0.5.0-beta.7 → 0.5.0-beta.9

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.
Files changed (39) hide show
  1. package/dist/App.d.ts.map +1 -1
  2. package/dist/Data/source/remote/RemoteDataSource.d.ts.map +1 -1
  3. package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts +1 -1
  4. package/dist/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.d.ts.map +1 -1
  5. package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts.map +1 -1
  6. package/dist/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.d.ts.map +1 -1
  7. package/dist/Presentation/ui-components/Message/Message.d.ts.map +1 -1
  8. package/dist/index-ui.js +100 -59
  9. package/package.json +1 -1
  10. package/src/App.tsx +0 -1
  11. package/src/Data/source/remote/RemoteDataSource.ts +0 -2
  12. package/src/Presentation/Views/Dialog/AIWidgets/AIRephraseWidget/AIRephraseWidget.tsx +1 -1
  13. package/src/Presentation/Views/Dialog/AIWidgets/AIWidgetActions/AIWidgetActions.scss +6 -6
  14. package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.scss +17 -29
  15. package/src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx +4 -13
  16. package/src/Presentation/Views/Dialog/ForwardMessageFlow/ForwardMessageFlow.scss +9 -9
  17. package/src/Presentation/Views/Dialog/ForwardMessageFlow/InputForForwarding/InputForForwarding.scss +11 -0
  18. package/src/Presentation/Views/Dialog/useDialogViewModel.ts +5 -13
  19. package/src/Presentation/Views/DialogInfo/UsersList/SingleUser/SingleUser.scss +0 -1
  20. package/src/Presentation/Views/PreviewDialog/PreviewDialog.tsx +5 -5
  21. package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +89 -29
  22. package/src/Presentation/ui-components/DialogWindow/DialogWindow.tsx +1 -1
  23. package/src/Presentation/ui-components/Message/Message.scss +1 -0
  24. package/src/Presentation/ui-components/Message/Message.tsx +8 -6
  25. package/src/Presentation/ui-components/MessageInput/MessageInput.scss +1 -1
  26. package/src/Presentation/ui-components/Toast/Toast.scss +2 -2
  27. package/storybook-static/{Presentation-ui-components-DialogWindow-DialogWindow-stories.3aa6b2c3.iframe.bundle.js → Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js} +2 -2
  28. package/storybook-static/Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js +2 -0
  29. package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.de6fb2f3.iframe.bundle.js +1 -0
  30. package/storybook-static/Presentation-ui-components-Toast-Toast-stories.5e19f10e.iframe.bundle.js +1 -0
  31. package/storybook-static/iframe.html +1 -1
  32. package/storybook-static/project.json +1 -1
  33. package/storybook-static/{runtime~main.edd70ea8.iframe.bundle.js → runtime~main.2530bea6.iframe.bundle.js} +1 -1
  34. package/webpack.app.config.js +1 -0
  35. package/storybook-static/Presentation-ui-components-Message-Message-stories.b63e0d9f.iframe.bundle.js +0 -2
  36. package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.4015ee79.iframe.bundle.js +0 -1
  37. package/storybook-static/Presentation-ui-components-Toast-Toast-stories.583afd65.iframe.bundle.js +0 -1
  38. /package/storybook-static/{Presentation-ui-components-DialogWindow-DialogWindow-stories.3aa6b2c3.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogWindow-DialogWindow-stories.e22e8be5.iframe.bundle.js.LICENSE.txt} +0 -0
  39. /package/storybook-static/{Presentation-ui-components-Message-Message-stories.b63e0d9f.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Message-Message-stories.49f0dbbf.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/App.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AACA,OAAO,YAAY,CAAC;AAkBpB,iBAAS,GAAG,4CAyOX;AAED,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AACA,OAAO,YAAY,CAAC;AAkBpB,iBAAS,GAAG,4CAwOX;AAED,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteDataSource.d.ts","sourceRoot":"","sources":["../../../../src/Data/source/remote/RemoteDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAgBL,aAAa,EACb,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAQnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAmBL,YAAY,EAWb,MAAM,uBAAuB,CAAC;AAU/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mEAAmE,CAAC;AAC1G,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAq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AC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAuCtD,OAAO,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAKnD,UAAU,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAK7C,+BAA+B,CAEnC,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;CAGjB"}
@@ -1,6 +1,6 @@
1
- import './DialogListItem.scss';
2
1
  import { FunctionTypeStringToVoid } from '../../../../../../CommonTypes/BaseViewModel';
3
2
  import { DialogType } from '../../../../../../Domain/entity/DialogTypes';
3
+ import './DialogListItem.scss';
4
4
  type DialogListItemProps = {
5
5
  name: string;
6
6
  avatar: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DialogListItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx"],"names":[],"mappings":"AACA,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAOzE,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,wBAAwB,CAAC;CACpC,CAAC;AAiDF,QAAA,MAAM,cAAc,yDAOjB,mBAAmB,4CAoBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DialogListItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/Presentation/Views/Dialog/ForwardMessageFlow/DialogsWithSearch/DialogListItem/DialogListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAOzE,OAAO,uBAAuB,CAAC;AAE/B,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,wBAAwB,CAAC;CACpC,CAAC;AAiDF,QAAA,MAAM,cAAc,yDAOjB,mBAAmB,4CAUrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDialogViewModel.d.ts","sourceRoot":"","sources":["../../../../src/Presentation/Views/Dialog/useDialogViewModel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAqCpD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,GACzB,eAAe,CAwvBjB"}
1
+ {"version":3,"file":"useDialogViewModel.d.ts","sourceRoot":"","sources":["../../../../src/Presentation/Views/Dialog/useDialogViewModel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAqCpD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,GACzB,eAAe,CAgvBjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"QuickBloxUIKitDesktopLayout.d.ts","sourceRoot":"","sources":["../../../../src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,gCAAgC,CAAC;AACxC,OAAO,oEAAoE,CAAC;AA4C5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAEpF,QAAA,MAAM,2BAA2B,qEAM9B,gCAAgC,4CAyqBlC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"QuickBloxUIKitDesktopLayout.d.ts","sourceRoot":"","sources":["../../../../src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,gCAAgC,CAAC;AACxC,OAAO,oEAAoE,CAAC;AA4C5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAEpF,QAAA,MAAM,2BAA2B,qEAM9B,gCAAgC,4CAquBlC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/Presentation/ui-components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM5C,OAAO,gBAAgB,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,Y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QAAgB,EAChB,QAAQ,EACR,UAAU,EACV,cAAc,EACd,QAAQ,GACT,EAAE,YAAY,2CAyDd"}
package/dist/index-ui.js CHANGED
@@ -207,7 +207,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.dialog-item-preview{display:flex;alig
207
207
 
208
208
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
209
209
  // Module
210
- ___CSS_LOADER_EXPORT___.push([module.id, `.forward-message-flow,.forward-message-flow *{box-sizing:border-box}.forward-message-flow{display:flex;flex-direction:column;gap:24px;align-items:flex-start;justify-content:flex-start;position:relative}.forward-message-flow-tabs{display:flex;flex-direction:column;gap:0px;align-items:flex-start;justify-content:center;align-self:stretch;flex-shrink:0;height:32px;position:relative}.forward-message-flow-tabs-buttons{display:flex;flex-direction:row;gap:0px;align-items:flex-start;justify-content:center;align-self:stretch;flex:1;position:relative}.active-tab-button{border-style:solid;border-color:var(--light-theme-mainelements, #3978fc);border-width:0px 0px 3px 0px;padding:8px 16px 8px 16px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;align-self:stretch;flex:1;position:relative}.active-tab-button-content{color:var(--light-theme-mainelements, #3978fc);text-align:left;font:var(--button-default, 700 14px/16px "Roboto", sans-serif);position:relative}.no-active-tab-button{padding:8px 16px 8px 16px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;align-self:stretch;flex:1;position:relative;cursor:pointer}.no-active-tab-button-content{color:var(--light-theme-tertiaryelements, #636d78);text-align:left;font:var(--button-default, 700 14px/16px "Roboto", sans-serif);position:relative}.forward-message-flow-tabs-buttons-divider{align-self:stretch;flex-shrink:0;position:relative;overflow:visible}.forward-message-flow-message-input{background:var(--light-theme-mainbackground, #ffffff);display:flex;flex-direction:column;gap:0px;align-items:flex-start;justify-content:center;align-self:stretch;flex-shrink:0;position:relative}.forward-message-flow-message-input-row{padding:10px 12px 10px 12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;align-self:stretch;flex-shrink:0;position:relative}.forward2{display:flex;flex-direction:column;gap:4px;align-items:flex-start;justify-content:center;flex:1;position:relative}.caption{display:flex;flex-direction:row;gap:0px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}.forward3{display:flex;flex-direction:row;gap:2px;align-items:center;justify-content:flex-start;flex-shrink:0;position:relative}.icon2{border-radius:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;position:relative}.actions-forward-filled{align-self:stretch;flex:1;position:relative;overflow:visible}.forwarded-from-name{color:var(--light-theme-tertiaryelements, #636d78);text-align:left;font:var(--label-label-medium, 500 12px/16px "Roboto", sans-serif);position:relative}.i-like-you-new-presentation-style-it-s-very{color:var(--light-theme-maintext, #0b1b0f);text-align:center;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;display:flex;align-items:center;justify-content:center}`, ""]);
210
+ ___CSS_LOADER_EXPORT___.push([module.id, `.forward-message-flow,.forward-message-flow *{box-sizing:border-box}.forward-message-flow{display:flex;flex-direction:column;gap:24px;align-items:flex-start;justify-content:flex-start;position:relative}.forward-message-flow-tabs{display:flex;flex-direction:column;gap:0px;align-items:flex-start;justify-content:center;align-self:stretch;flex-shrink:0;height:32px;position:relative}.forward-message-flow-tabs-buttons{display:flex;flex-direction:row;gap:0px;align-items:flex-start;justify-content:center;align-self:stretch;flex:1;position:relative}.active-tab-button{border-style:solid;border-color:var(--main-elements, #3978fc);border-width:0px 0px 3px 0px;padding:8px 16px 8px 16px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;align-self:stretch;flex:1;position:relative}.active-tab-button-content{color:var(--main-elements, #3978fc);text-align:left;font:var(--button-default, 700 14px/16px "Roboto", sans-serif);position:relative}.no-active-tab-button{padding:8px 16px 8px 16px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;align-self:stretch;flex:1;position:relative;cursor:pointer}.no-active-tab-button-content{color:var(--tertiary-elements, #636d78);text-align:left;font:var(--button-default, 700 14px/16px "Roboto", sans-serif);position:relative}.forward-message-flow-tabs-buttons-divider{align-self:stretch;flex-shrink:0;position:relative;overflow:visible}.forward-message-flow-message-input{background:var(--main-background);display:flex;flex-direction:column;gap:0;align-items:flex-start;justify-content:center;align-self:stretch;flex-shrink:0;position:relative}.forward-message-flow-message-input-row{padding:10px 12px 10px 12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;align-self:stretch;flex-shrink:0;position:relative}.forward2{display:flex;flex-direction:column;gap:4px;align-items:flex-start;justify-content:center;flex:1;position:relative}.caption{display:flex;flex-direction:row;gap:0;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}.forward3{display:flex;flex-direction:row;gap:2px;align-items:center;justify-content:flex-start;flex-shrink:0;position:relative}.icon2{border-radius:4px;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;position:relative}.actions-forward-filled{align-self:stretch;flex:1;position:relative;overflow:visible}.forwarded-from-name{color:var(--tertiary-elements, #636d78);text-align:left;font:var(--label-label-medium, 500 12px/16px "Roboto", sans-serif);position:relative}.i-like-you-new-presentation-style-it-s-very{color:var(--main-text, #0b1b0f);text-align:center;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;display:flex;align-items:center;justify-content:center}`, ""]);
211
211
  // Exports
212
212
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
213
213
 
@@ -320,7 +320,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.placeholder{display:flex;flex-directi
320
320
 
321
321
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
322
322
  // Module
323
- ___CSS_LOADER_EXPORT___.push([module.id, `.container{width:25%}.toast{min-height:24px;padding:4px 12px;opacity:60% !important;border-radius:4px;background-color:var(--toast-color)}.toast__body{padding:0;font-family:"Roboto";font-weight:500;font-size:12px;line-height:16px;letter-spacing:.5px;color:var(--main-background);text-align:center}`, ""]);
323
+ ___CSS_LOADER_EXPORT___.push([module.id, `.container{width:25%}.toast{min-height:24px;padding:4px 12px;opacity:60% !important;border-radius:4px;background-color:var(--caption)}.toast__body{padding:0;font-family:"Roboto";font-weight:500;font-size:12px;line-height:16px;letter-spacing:.5px;color:var(--secondary-elements);text-align:center}`, ""]);
324
324
  // Exports
325
325
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
326
326
 
@@ -57148,7 +57148,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.message-attachment-image-body{max-wid
57148
57148
 
57149
57149
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
57150
57150
  // Module
57151
- ___CSS_LOADER_EXPORT___.push([module.id, `.dialog-item-element,.dialog-item-element *{box-sizing:border-box}.dialog-item-element{background:var(--main-background, #ffffff);padding:8px 19px 8px 16px;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;flex-shrink:0;width:270px;position:relative}.dialog-item-element-avatar{flex-shrink:0;width:40px;height:40px;position:relative}.dialog-item-element-avatar-rectangle{width:40px;height:40px;position:absolute;left:0px;top:0px}.dialog-item-element-avatar-ellipse{background:var(--disabled-elements, #bcc1c5);border-radius:50%;width:40px;height:40px;position:absolute;left:0px;top:0px}.contents-user{position:absolute;left:7.14px;top:7.14px;overflow:visible}.dialog-item-element-subtitle{color:var(--main-text, #0b1b0f);text-align:left;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start}.dialog-item-element-checkbox{border-radius:4px;padding:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;position:relative}.toggle-check-on{align-self:stretch;flex:1;position:relative;overflow:visible}`, ""]);
57151
+ ___CSS_LOADER_EXPORT___.push([module.id, `.dialog-item-element,.dialog-item-element *{box-sizing:border-box}.dialog-item-element{background:var(--main-background, #ffffff);padding:8px 19px 8px 16px;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;flex-shrink:0;position:relative}.dialog-item-element-avatar{flex-shrink:0;width:40px;height:40px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background-color:var(--disabled-elements);color:var(--secondary-text)}.contents-user{position:absolute;left:7.14px;top:7.14px;overflow:visible}.dialog-item-element-subtitle{color:var(--main-text, #0b1b0f);text-align:left;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:200px}@media(max-width: 767px){.dialog-item-element-subtitle{width:120px}}.toggle-check-on{align-self:stretch;flex:1;position:relative;overflow:visible}`, ""]);
57152
57152
  // Exports
57153
57153
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
57154
57154
 
@@ -57393,7 +57393,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.section-list {
57393
57393
 
57394
57394
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
57395
57395
  // Module
57396
- ___CSS_LOADER_EXPORT___.push([module.id, `.dropdown-context-menu-tone *{box-sizing:border-box}.dropdown-context-menu-tone{position:absolute;bottom:-15px;right:0;zIndex:1;width:max-content;height:max-content;background:var(--primary-primary-a-100, #ffffff);border-radius:4px;padding:8px 0px 8px 0px;box-shadow:0px 3px 5px 0px rgba(0,0,0,.04),0px 3px 14px 0px rgba(0,0,0,.08),0px 8px 10px 0px rgba(0,0,0,.12)}.dropdown-context-menu-tone-menu-item{padding:4px 8px 4px 16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;align-self:stretch;flex-shrink:0;position:relative}.dropdown-context-menu-tone-menu-item-title{color:var(--secondary-secondary-900, #0b121b);text-align:left;font:var(--body-body-medium, 400 14px/20px "Roboto", sans-serif);position:relative;display:flex;align-items:center;justify-content:flex-start}.dropdown-context-menu-tone-menu-item-icon{border-radius:4px;padding:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;position:relative}.ai-widget-actions-render{display:flex;align-items:center;padding-right:8px}`, ""]);
57396
+ ___CSS_LOADER_EXPORT___.push([module.id, `.dropdown-context-menu-tone *{box-sizing:border-box}.dropdown-context-menu-tone{position:absolute;bottom:25px;right:0;zIndex:1;width:max-content;height:max-content;background:var(--main-background, #ffffff);border-radius:4px;padding:8px 0 8px 0;box-shadow:0 3px 5px 0 rgba(0,0,0,.04),0 3px 14px 0 rgba(0,0,0,.08),0 8px 10px 0 rgba(0,0,0,.12)}.dropdown-context-menu-tone-menu-item{padding:4px 8px 4px 16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;align-self:stretch;flex-shrink:0;position:relative}.dropdown-context-menu-tone-menu-item-title{color:var(--main-text, #0b121b);text-align:left;font:var(--body-body-medium, 400 14px/20px "Roboto", sans-serif);position:relative;display:flex;align-items:center;justify-content:flex-start}.dropdown-context-menu-tone-menu-item-icon{border-radius:4px;padding:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;position:relative}.ai-widget-actions-render{display:flex;align-items:center;padding-right:8px}`, ""]);
57397
57397
  // Exports
57398
57398
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
57399
57399
 
@@ -57447,7 +57447,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.badge{display:flex;justify-content:ce
57447
57447
 
57448
57448
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
57449
57449
  // Module
57450
- ___CSS_LOADER_EXPORT___.push([module.id, `.message-item{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:flex-start;align-self:stretch;flex-shrink:0;position:relative}.message-item__right{display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-end;width:100%}.message-item__more{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:center;align-self:stretch;flex-shrink:0;position:relative;cursor:pointer}.message-item__more__icon{border-radius:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;position:relative}.message-item__more__icon__actions{fill:var(--tertiary-elements, #636D78);path:var(--tertiary-elements, #636D78)}.message-item__outgoing{padding:0px 8px 8px 16px;display:flex;flex-direction:row;gap:8px;justify-content:flex-end;align-self:stretch;flex-shrink:0;width:320px;position:relative}.message-item__outgoing__chat{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}.message-item__outgoing__chat__bubble-background{background:var(--outgoing-background, #E7EFFF);border-radius:22px 22px 0px 22px;padding:8px 12px 8px 12px;display:flex;flex-direction:row;gap:10px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}.message-item__outgoing__chat .reply-forward-message{color:var(--secondary-text);width:100%}.message-item__incoming-mes{background:var(--secondary-background, #ffffff);padding:0px 16px 8px 8px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;align-self:stretch;flex-shrink:0;width:320px;position:relative}.message-item__incoming{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:flex-end}.message-item__incoming__chat{display:flex;flex-direction:row;gap:8px}.message-item__incoming__chat__bubble{display:flex;flex-direction:column;gap:4px;align-items:flex-end;justify-content:flex-end;flex-shrink:0;position:relative}.message-item__incoming__chat__bubble__background{background:var(--incoming-background, #e4e6e8);border-radius:22px 22px 22px 0px;padding:8px 12px 8px 12px;display:flex;flex-direction:row;gap:10px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}`, ""]);
57450
+ ___CSS_LOADER_EXPORT___.push([module.id, `.message-item{display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:flex-start;align-self:stretch;flex-shrink:0;position:relative}.message-item__right{display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-end;width:100%}.message-item__more{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:center;align-self:stretch;flex-shrink:0;position:relative;cursor:pointer}.message-item__more__icon{border-radius:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;position:relative}.message-item__more__icon__actions{fill:var(--tertiary-elements, #636D78);path:var(--tertiary-elements, #636D78)}.message-item__outgoing{padding:0px 8px 8px 16px;display:flex;flex-direction:row;gap:8px;justify-content:flex-end;align-self:stretch;flex-shrink:0;width:320px;position:relative}.message-item__outgoing__chat{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}.message-item__outgoing__chat__bubble-background{background:var(--outgoing-background, #E7EFFF);border-radius:22px 22px 0px 22px;padding:8px 12px 8px 12px;display:flex;flex-direction:row;gap:10px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative;width:100%}.message-item__outgoing__chat .reply-forward-message{color:var(--secondary-text);width:100%}.message-item__incoming-mes{background:var(--secondary-background, #ffffff);padding:0px 16px 8px 8px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;align-self:stretch;flex-shrink:0;width:320px;position:relative}.message-item__incoming{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:flex-end}.message-item__incoming__chat{display:flex;flex-direction:row;gap:8px}.message-item__incoming__chat__bubble{display:flex;flex-direction:column;gap:4px;align-items:flex-end;justify-content:flex-end;flex-shrink:0;position:relative}.message-item__incoming__chat__bubble__background{background:var(--incoming-background, #e4e6e8);border-radius:22px 22px 22px 0px;padding:8px 12px 8px 12px;display:flex;flex-direction:row;gap:10px;align-items:flex-start;justify-content:flex-start;flex-shrink:0;position:relative}`, ""]);
57451
57451
  // Exports
57452
57452
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
57453
57453
 
@@ -58545,7 +58545,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.forward-message-preview,.forward-mess
58545
58545
 
58546
58546
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
58547
58547
  // Module
58548
- ___CSS_LOADER_EXPORT___.push([module.id, `.forwarding-message-input,.forwarding-message-input *{box-sizing:border-box}.forwarding-message-input{background:var(--main-background, #ffffff);padding:10px 12px 10px 12px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:center;align-self:stretch;flex-shrink:0;position:relative}.forwarding-message-input-input{background:var(--incoming-background, #e4e6e8);border-radius:4px;padding:10px 8px 10px 16px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;flex:1;position:relative}.forwarding-message-input-input-type-message{color:var(--main-text, #636d78);background:var(--incoming-background, #e4e6e8);text-align:left;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start;resize:none;border:none;outline:none;width:100%;height:26px;min-height:26px;max-height:26px}.forwarding-message-input-icon-send{border-radius:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:44px;position:relative}.forwarding-message-input-icon-send__icon{width:24px;height:24px;cursor:pointer;fill:var(--secondary-elements)}.forwarding-message-input-icon-send__icon__send{width:24px;height:24px;cursor:pointer;fill:var(--main-elements)}.forwarding-message-input-icon-send__icon svg path{width:24px;height:24px;fill:var(--main-elements)}.forwarding-message-input-icon-send__icon--disable{fill:var(--disabled-elements);cursor:default;width:24px;height:24px}.forwarding-message-input-icon-send__icon--disable svg path{width:24px;height:24px;fill:var(--disabled-elements)}.actions-send{flex-shrink:0;position:relative;overflow:visible}`, ""]);
58548
+ ___CSS_LOADER_EXPORT___.push([module.id, `.forwarding-message-input,.forwarding-message-input *{box-sizing:border-box}.forwarding-message-input{background:var(--main-background, #ffffff);padding:10px 12px 10px 12px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:center;align-self:stretch;flex-shrink:0;position:relative}.forwarding-message-input-input{background:var(--incoming-background, #e4e6e8);border-radius:4px;padding:10px 8px 10px 16px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;flex:1;position:relative}.forwarding-message-input-input textarea{overflow:auto;scrollbar-width:none}.forwarding-message-input-input textarea::-webkit-scrollbar{display:none}.forwarding-message-input-input-type-message{color:var(--main-text, #636d78);background:var(--incoming-background, #e4e6e8);text-align:left;font:var(--body-body-large, 400 16px/24px "Roboto", sans-serif);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start;resize:none;border:none;outline:none;width:100%;height:26px;min-height:26px;max-height:26px}.forwarding-message-input-icon-send{border-radius:4px;display:flex;flex-direction:row;gap:0px;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:44px;position:relative}.forwarding-message-input-icon-send__icon{width:24px;height:24px;cursor:pointer;fill:var(--secondary-elements)}.forwarding-message-input-icon-send__icon__send{width:24px;height:24px;cursor:pointer;fill:var(--main-elements)}.forwarding-message-input-icon-send__icon svg path{width:24px;height:24px;fill:var(--main-elements)}.forwarding-message-input-icon-send__icon--disable{fill:var(--disabled-elements);cursor:default;width:24px;height:24px}.forwarding-message-input-icon-send__icon--disable svg path{width:24px;height:24px;fill:var(--disabled-elements)}.actions-send{flex-shrink:0;position:relative;overflow:visible}`, ""]);
58549
58549
  // Exports
58550
58550
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
58551
58551
 
@@ -58815,7 +58815,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.ai-assist-answer{padding:0px 0px 15px
58815
58815
 
58816
58816
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
58817
58817
  // Module
58818
- ___CSS_LOADER_EXPORT___.push([module.id, `.chat-container{width:100%}.chat-container__send-icon{display:flex;align-items:center}.chat-container__icon{width:24px;height:24px;cursor:pointer;fill:var(--secondary-elements)}.chat-container__icon__send{width:24px;height:24px;cursor:pointer;fill:var(--main-elements)}.chat-container__icon svg path{fill:var(--main-elements)}.chat-container__icon--mute{fill:var(--disabled-elements)}.chat-container__icon--mute svg path{fill:var(--disabled-elements)}.chat-container__icon--disable{fill:var(--disabled-elements);cursor:default}.chat-container__icon--disable svg path{fill:var(--disabled-elements)}.chat-container__icon--red{fill:var(--error)}.chat-container__icon--red svg path{fill:var(--error)}.chat-container__loader{fill:var(--color-background-info)}.chat-container__loader svg path{fill:var(--color-background-info)}.chat-input{min-height:54px;max-height:182px;height:54px;width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;margin:0 auto;padding-left:12px;padding-right:12px;padding-bottom:2px;gap:6px}.chat-input:disabled{background-color:dimgray;color:linen;opacity:1;cursor:not-allowed}.chat-input textarea{width:100%;height:44px;min-Height:44px;max-Height:128px;background-Color:var(--chat-input);border-Radius:4px;padding-left:16px;padding-top:8px;line-height:24px;font-size:16px;margin:0 auto;resize:none}.input-text-message *{box-sizing:border-box}.input-text-message{background:var(--chat-input);border-radius:4px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;flex:1;position:relative}.type-message{color:var(--field-border);text-align:left;font:var(--body-body-large);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start}.type-message textarea{color:var(--input-elements);font:var(--body-body-large);border:none;outline:none}.right{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:flex-end;flex-shrink:0;position:relative;margin-bottom:5px}`, ""]);
58818
+ ___CSS_LOADER_EXPORT___.push([module.id, `.chat-container{width:100%}.chat-container__send-icon{display:flex;align-items:center}.chat-container__icon{width:24px;height:24px;cursor:pointer;fill:var(--secondary-elements)}.chat-container__icon__send{width:24px;height:24px;cursor:pointer;fill:var(--main-elements)}.chat-container__icon svg path{fill:var(--main-elements)}.chat-container__icon--mute{fill:var(--disabled-elements)}.chat-container__icon--mute svg path{fill:var(--disabled-elements)}.chat-container__icon--disable{fill:var(--disabled-elements);cursor:default}.chat-container__icon--disable svg path{fill:var(--disabled-elements)}.chat-container__icon--red{fill:var(--error)}.chat-container__icon--red svg path{fill:var(--error)}.chat-container__loader{fill:var(--color-background-info)}.chat-container__loader svg path{fill:var(--color-background-info)}.chat-input{min-height:54px;max-height:182px;height:54px;width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;margin:0 auto;padding-left:12px;padding-right:12px;padding-bottom:2px;gap:6px}.chat-input:disabled{background-color:dimgray;color:linen;opacity:1;cursor:not-allowed}.chat-input textarea{width:100%;height:44px;min-Height:44px;max-Height:128px;background-Color:var(--chat-input);border-Radius:4px;padding-left:16px;padding-top:8px;line-height:24px;font-size:16px;margin:0 auto;resize:none}.input-text-message *{box-sizing:border-box}.input-text-message{background:var(--chat-input);border-radius:4px;display:flex;flex-direction:row;gap:8px;align-items:flex-end;justify-content:flex-start;flex:1;position:relative}.type-message{color:var(--field-border);text-align:left;font:var(--body-body-large);position:relative;flex:1;display:flex;align-items:center;justify-content:flex-start}.type-message textarea{color:var(--main-text);font:var(--body-body-large);border:none;outline:none}.right{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:flex-end;flex-shrink:0;position:relative;margin-bottom:5px}`, ""]);
58819
58819
  // Exports
58820
58820
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
58821
58821
 
@@ -65951,13 +65951,11 @@ class RemoteDataSource {
65951
65951
  }
65952
65952
  const firstBatch = joinDialogIds.slice(0, 12);
65953
65953
  await this.processDialogs(firstBatch);
65954
- // Оставшиеся элементы обрабатываются асинхронно в фоне
65955
65954
  const remainingDialogs = joinDialogIds.slice(12);
65956
65955
  if (remainingDialogs.length) {
65957
65956
  this.processDialogsInBackground(remainingDialogs).then();
65958
65957
  }
65959
65958
  }
65960
- // Возвращаем результат после первой партии
65961
65959
  return Promise.resolve(new RemoteDialogsDTO(dialogsDTO, currentPagination));
65962
65960
  }
65963
65961
  // async getDialogs(pagination?: Pagination): Promise<RemoteDialogsDTO> {
@@ -71851,7 +71849,9 @@ var DialogWindow_update = injectStylesIntoStyleTag_default()(DialogWindow/* defa
71851
71849
  function DialogWindow_DialogWindow_DialogWindow({ children, onClose, open = false, title, className, disableActions = false, }) {
71852
71850
  if (!open)
71853
71851
  return null;
71854
- return (0,external_commonjs_react_dom_commonjs2_react_dom_amd_react_dom_root_ReactDOM_.createPortal)((0,jsx_runtime_.jsxs)("div", { className: classnames_default()('dialog-window', className), children: [(0,jsx_runtime_.jsx)("div", { className: classnames_default()('', { 'dialog-window--disable': disableActions }) }), (0,jsx_runtime_.jsxs)("div", { className: "dialog-window__content", children: [(0,jsx_runtime_.jsx)(ui_components_Header_Header, { className: "dialog-window__header", onGoBack: onClose, title: title, children: (0,jsx_runtime_.jsx)(closereact, { onClick: onClose, className: "dialog-window__close" }) }), children] })] }), document.body);
71852
+ return (0,external_commonjs_react_dom_commonjs2_react_dom_amd_react_dom_root_ReactDOM_.createPortal)((0,jsx_runtime_.jsxs)("div", { className: classnames_default()('dialog-window', className), children: [(0,jsx_runtime_.jsx)("div", { className: classnames_default()('', { 'dialog-window--disable': disableActions }) }), (0,jsx_runtime_.jsxs)("div", { className: "dialog-window__content", children: [(0,jsx_runtime_.jsx)(ui_components_Header_Header, { className: "dialog-window__header",
71853
+ // onGoBack={onClose}
71854
+ title: title, children: (0,jsx_runtime_.jsx)(closereact, { onClick: onClose, className: "dialog-window__close" }) }), children] })] }), document.body);
71855
71855
  }
71856
71856
 
71857
71857
  ;// ./src/Presentation/ui-components/Dropdown/DropdownOption.tsx
@@ -72071,9 +72071,10 @@ var Message_update = injectStylesIntoStyleTag_default()(Message/* default */.A,
72071
72071
  function Message_Message_Message({ userName, avatar = (0,jsx_runtime_.jsx)(Avatar_Avatar_Avatar, {}), time, type, status, subtype, enableSelect = false, isSelect = false, disabled = false, onSelect, bottomPart, additionalPart, children, }) {
72072
72072
  return ((0,jsx_runtime_.jsxs)("div", { className: "message-item", children: [enableSelect && ((0,jsx_runtime_.jsx)(CheckBox_CheckBox_CheckBox, { disabled: disabled, checked: isSelect, onChange: onSelect })), type === 'outgoing' ? ((0,jsx_runtime_.jsx)("div", { className: "message-item__right", children: (0,jsx_runtime_.jsxs)("div", { className: "message-item__outgoing", children: [(0,jsx_runtime_.jsx)(TimeAndStatus_TimeAndStatus_TimeAndStatus, { status: status, time: time }), additionalPart, (0,jsx_runtime_.jsxs)("div", { className: "message-item__outgoing__chat", children: [(0,jsx_runtime_.jsx)(MessageCaption_MessageCaption_MessageCaption, { type: type, subtype: subtype, userName: userName }), (0,jsx_runtime_.jsx)("div", { className: classnames_default()(null, {
72073
72073
  'reply-forward-message': subtype === 'reply' || subtype === 'forward'
72074
- }), children: children })] })] }) })) : ((0,jsx_runtime_.jsx)(jsx_runtime_.Fragment, { children: (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming-mes", children: [avatar, (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming", children: [(0,jsx_runtime_.jsx)(MessageCaption_MessageCaption_MessageCaption, { type: type, subtype: subtype, userName: userName }), (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming__chat", children: [(0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming__chat__bubble", children: [(0,jsx_runtime_.jsx)("div", { className: classnames_default()(null, {
72075
- 'reply-forward-message': subtype === 'reply' || subtype === 'forward'
72076
- }), children: children }), bottomPart] }), additionalPart, (0,jsx_runtime_.jsx)(TimeAndStatus_TimeAndStatus_TimeAndStatus, { time: time })] })] })] }) }))] }));
72074
+ }), children: children })] })] }) })) : ((0,jsx_runtime_.jsx)(jsx_runtime_.Fragment, { children: (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming-mes", children: [avatar, (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming", children: [(0,jsx_runtime_.jsx)(MessageCaption_MessageCaption_MessageCaption, { type: type, subtype: subtype, userName: userName }), (0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming__chat", children: [(0,jsx_runtime_.jsxs)("div", { className: "message-item__incoming__chat__bubble", children: [(subtype === 'reply' || subtype === 'forward')
72075
+ ?
72076
+ (0,jsx_runtime_.jsx)("div", { className: 'reply-forward-message', children: children })
72077
+ : children, bottomPart] }), additionalPart, (0,jsx_runtime_.jsx)(TimeAndStatus_TimeAndStatus_TimeAndStatus, { time: time })] })] })] }) }))] }));
72077
72078
  }
72078
72079
 
72079
72080
  // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.scss
@@ -74156,6 +74157,7 @@ var DialogListItem_update = injectStylesIntoStyleTag_default()(DialogListItem/*
74156
74157
 
74157
74158
 
74158
74159
 
74160
+
74159
74161
  const renderAvatar = (urlAvatar, typeDialog) => {
74160
74162
  if (urlAvatar.length < 1 || urlAvatar === 'null') {
74161
74163
  switch (typeDialog) {
@@ -74174,9 +74176,7 @@ const renderAvatar = (urlAvatar, typeDialog) => {
74174
74176
  };
74175
74177
  // eslint-disable-next-line react/function-component-definition
74176
74178
  const DialogListItem_DialogListItem_DialogListItem = ({ name, avatar, typeDialog, id, checked, onSelect, }) => {
74177
- return ((0,jsx_runtime_.jsxs)("div", { className: "dialog-item-element", children: [(0,jsx_runtime_.jsxs)("div", { className: "item-element-avatar", children: [(0,jsx_runtime_.jsx)("div", { className: "item-element-avatar-rectangle" }), (0,jsx_runtime_.jsx)("div", { className: "item-element-avatar-ellipse" }), renderAvatar(avatar, typeDialog)] }), (0,jsx_runtime_.jsx)("div", { className: "dialog-item-element-subtitle", children: name }), (0,jsx_runtime_.jsx)("div", { className: "dialog-item-element-checkbox", children: (0,jsx_runtime_.jsx)("input", { type: "checkbox", checked: checked, onChange: () => {
74178
- onSelect(id);
74179
- } }) })] }));
74179
+ return ((0,jsx_runtime_.jsxs)("div", { className: "dialog-item-element", children: [(0,jsx_runtime_.jsx)("div", { className: "dialog-item-element-avatar", children: renderAvatar(avatar, typeDialog) }), (0,jsx_runtime_.jsx)("div", { className: "dialog-item-element-subtitle", children: name }), (0,jsx_runtime_.jsx)(CheckBox_CheckBox_CheckBox, { onChange: () => onSelect(id), disabled: false, checked: checked })] }));
74180
74180
  };
74181
74181
  /* harmony default export */ const DialogsWithSearch_DialogListItem_DialogListItem = (DialogListItem_DialogListItem_DialogListItem);
74182
74182
 
@@ -74652,7 +74652,7 @@ additionalSettings = undefined, }) => {
74652
74652
  const QB = getQB();
74653
74653
  setMessageContentParts(messageParts);
74654
74654
  if (messageParts &&
74655
- messageParts.length > 0 &&
74655
+ messageParts.length > 0 && messageParts[3] &&
74656
74656
  messageParts[3].includes('image')) {
74657
74657
  const fileUid = messageParts[2];
74658
74658
  let tmpFileUrl = fileUid && QB.content.privateUrl(fileUid);
@@ -74712,16 +74712,16 @@ additionalSettings = undefined, }) => {
74712
74712
  const getPreviewMessage = (message) => {
74713
74713
  if (messageContentParts && messageContentParts.length > 0) {
74714
74714
  const [, fileName, , type] = messageContentParts;
74715
- if (type.includes('audio')) {
74715
+ if (type && type.includes('audio')) {
74716
74716
  return ((0,jsx_runtime_.jsx)(PreviewFileMessage_PreviewFileMessage_PreviewFileMessage, { type: "audio", name: trimFileName(fileName) }));
74717
74717
  }
74718
- if (type.includes('video')) {
74718
+ if (type && type.includes('video')) {
74719
74719
  return ((0,jsx_runtime_.jsx)(PreviewFileMessage_PreviewFileMessage_PreviewFileMessage, { type: "video", name: trimFileName(fileName) }));
74720
74720
  }
74721
- if (type.includes('image')) {
74721
+ if (type && type.includes('image')) {
74722
74722
  return ((0,jsx_runtime_.jsx)(PreviewFileMessage_PreviewFileMessage_PreviewFileMessage, { name: trimFileName(fileName), src: fileUrl }));
74723
74723
  }
74724
- if (fileName.length > 0 && fileName.includes('.')) {
74724
+ if (fileName && fileName.length > 0 && fileName.includes('.')) {
74725
74725
  return (0,jsx_runtime_.jsx)(PreviewFileMessage_PreviewFileMessage_PreviewFileMessage, { name: trimFileName(fileName) });
74726
74726
  }
74727
74727
  return message;
@@ -75130,7 +75130,7 @@ theme = undefined, setPrevValueText, disableActions = false, }) => {
75130
75130
  });
75131
75131
  }
75132
75132
  //
75133
- items.push({
75133
+ items.unshift({
75134
75134
  title: 'Back to prev.',
75135
75135
  icon: (0,jsx_runtime_.jsx)(AIWidgets_WhiteCheckMarkIcon, {}),
75136
75136
  action: () => {
@@ -77191,9 +77191,7 @@ function useDialogViewModel(dialogType, dialogEntity) {
77191
77191
  const startPagination = new Pagination(0, 0);
77192
77192
  const [pagination, setPagination] = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useState)(startPagination);
77193
77193
  const [messages, setMessages] = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useState)([]);
77194
- // const [users, setUsers] = useState<Record<number, UserEntity>>();
77195
77194
  const [dialog, setDialog] = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useState)(dialogEntity);
77196
- // const [dialogsParticipants, setDialogsParticipants] = useState<number[]>([]);
77197
77195
  const currentContext = QuickBloxUIKitProvider_useQbInitializedDataContext();
77198
77196
  const remoteDataSourceMock = currentContext.storage.REMOTE_DATA_SOURCE;
77199
77197
  const QBConfig = currentContext.InitParams.qbConfig ||
@@ -77208,8 +77206,7 @@ function useDialogViewModel(dialogType, dialogEntity) {
77208
77206
  function informDataSources(item) {
77209
77207
  const updateCurrentDialogInDataSourceUseCase = new UpdateCurrentDialogInDataSourceUseCase(new DialogsRepository(currentContext.storage.LOCAL_DATA_SOURCE, remoteDataSourceMock), item, QBConfig);
77210
77208
  updateCurrentDialogInDataSourceUseCase.execute().catch((e) => {
77211
- console.log('useDialogViewModel Error updateCurrentDialogInDataSourceUseCase: ', parse_stringifyError(e));
77212
- throw new Error(parse_stringifyError(e));
77209
+ console.log('Error: useDialogViewModel Error updateCurrentDialogInDataSourceUseCase: ', parse_stringifyError(e));
77213
77210
  });
77214
77211
  }
77215
77212
  const getSender = async (sender_id) => {
@@ -77441,8 +77438,7 @@ function useDialogViewModel(dialogType, dialogEntity) {
77441
77438
  console.log('call release in MessagesViewModelWithMockUseCase');
77442
77439
  userTypingMessageUseCase.execute().catch((reason) => {
77443
77440
  const errorMessage = parse_stringifyError(reason);
77444
- console.log('have exception in sendTypingTextMessage: ', errorMessage);
77445
- throw new Error(errorMessage);
77441
+ console.log('Error: have exception in sendTypingTextMessage: ', errorMessage);
77446
77442
  });
77447
77443
  };
77448
77444
  const uploadFile = async (file) => {
@@ -77499,9 +77495,8 @@ function useDialogViewModel(dialogType, dialogEntity) {
77499
77495
  })
77500
77496
  .catch((reason) => {
77501
77497
  const errorMessage = parse_stringifyError(reason);
77502
- console.log('exception in sendMessage in useDialogViewModel', errorMessage);
77498
+ console.log('Error: exception in sendMessage in useDialogViewModel', errorMessage);
77503
77499
  setLoading(false);
77504
- throw new Error(errorMessage);
77505
77500
  })
77506
77501
  .finally(() => {
77507
77502
  setLoading(false);
@@ -77578,9 +77573,8 @@ function useDialogViewModel(dialogType, dialogEntity) {
77578
77573
  .execute()
77579
77574
  .catch((reason) => {
77580
77575
  const errorMessage = parse_stringifyError(reason);
77581
- console.log('exception in sendMessage in useDialogViewModel', errorMessage);
77576
+ console.log('Error: exception in sendMessage in useDialogViewModel', errorMessage);
77582
77577
  setLoading(false);
77583
- throw new Error(errorMessage);
77584
77578
  })
77585
77579
  .finally(() => {
77586
77580
  setLoading(false);
@@ -77641,9 +77635,8 @@ function useDialogViewModel(dialogType, dialogEntity) {
77641
77635
  })
77642
77636
  .catch((reason) => {
77643
77637
  const errorMessage = parse_stringifyError(reason);
77644
- console.log('exception in sendMessage in useDialogViewModel', errorMessage);
77638
+ console.log('Error: exception in sendMessage in useDialogViewModel', errorMessage);
77645
77639
  setLoading(false);
77646
- throw new Error(errorMessage);
77647
77640
  })
77648
77641
  .finally(() => {
77649
77642
  setLoading(false);
@@ -78971,12 +78964,80 @@ const QuickBloxUIKitDesktopLayout = ({ theme, AITranslate, AIRephrase, AIAssist,
78971
78964
  const [dialogsToView, setDialogsToView] = external_commonjs_react_commonjs2_react_amd_react_root_React_default().useState([]);
78972
78965
  //
78973
78966
  const [selectedItem, setSelectedItem] = external_commonjs_react_commonjs2_react_amd_react_root_React_default().useState(undefined);
78974
- const selectDialogActions = (item) => {
78975
- if (isOnline) {
78976
- if (!dialogsViewModel.loading) {
78977
- setSelectedDialog(item.entity);
78978
- // dialogsViewModel.entity = item.entity;
78967
+ const [pointerEventsValue, setPointerEventsValue] = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useState)('auto');
78968
+ const pointerEventsRef = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useRef)('auto');
78969
+ let timeout = null;
78970
+ (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useEffect)(() => {
78971
+ return () => {
78972
+ if (timeout !== null) {
78973
+ clearTimeout(timeout);
78974
+ timeout = null;
78979
78975
  }
78976
+ };
78977
+ }, []);
78978
+ (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useEffect)(() => {
78979
+ if (dialogsViewModel.loading) {
78980
+ pointerEventsRef.current = 'none';
78981
+ setPointerEventsValue('none');
78982
+ if (timeout !== null) {
78983
+ clearTimeout(timeout);
78984
+ }
78985
+ timeout = window.setTimeout(() => {
78986
+ console.warn('Forced unlock after 12 seconds due to loading timeout.');
78987
+ pointerEventsRef.current = 'auto';
78988
+ setPointerEventsValue('auto');
78989
+ // Ensure loading status is reset
78990
+ dialogsViewModel.setWaitLoadingStatus(false);
78991
+ timeout = null;
78992
+ }, 12000);
78993
+ }
78994
+ else {
78995
+ if (timeout !== null) {
78996
+ clearTimeout(timeout);
78997
+ timeout = null;
78998
+ }
78999
+ pointerEventsRef.current = 'auto';
79000
+ setPointerEventsValue('auto');
79001
+ // Ensure loading status is reset on successful load
79002
+ dialogsViewModel.setWaitLoadingStatus(false);
79003
+ }
79004
+ }, [dialogsViewModel.loading]);
79005
+ // previous version
79006
+ // let timeout: NodeJS.Timeout | number | undefined;
79007
+ //
79008
+ // useEffect(() => {
79009
+ // return () => {
79010
+ // if (timeout) {
79011
+ // clearTimeout(timeout);
79012
+ // }
79013
+ // };
79014
+ // }, []);
79015
+ //
79016
+ // useEffect(() => {
79017
+ //
79018
+ // if (dialogsViewModel.loading) {
79019
+ // setPointerEventsValue('none');
79020
+ //
79021
+ // timeout = setTimeout(() => {
79022
+ // console.warn('Forced unlock after 12 seconds due to loading timeout.');
79023
+ // setPointerEventsValue('auto');
79024
+ // }, 12000);
79025
+ // } else {
79026
+ // setPointerEventsValue('auto');
79027
+ // }
79028
+ //
79029
+ // }, [dialogsViewModel.loading]);
79030
+ (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useEffect)(() => {
79031
+ if (pointerEventsValue === 'auto') {
79032
+ dialogsViewModel.setWaitLoadingStatus(false);
79033
+ }
79034
+ }, [pointerEventsValue]);
79035
+ const selectDialogActions = (item) => {
79036
+ if (isOnline &&
79037
+ (pointerEventsValue !== 'none' ||
79038
+ pointerEventsRef.current === 'auto' ||
79039
+ !dialogsViewModel.loading)) {
79040
+ setSelectedDialog(item.entity);
78980
79041
  }
78981
79042
  };
78982
79043
  const handleSelectedDialog = (dialog, index) => {
@@ -79020,26 +79081,6 @@ const QuickBloxUIKitDesktopLayout = ({ theme, AITranslate, AIRephrase, AIAssist,
79020
79081
  const searchedDialogs = nameDialogForSearch
79021
79082
  ? dialogsToView.filter(({ entity }) => entity.name.toUpperCase().includes(nameDialogForSearch.toUpperCase()))
79022
79083
  : dialogsToView;
79023
- const [pointerEventsValue, setPointerEventsValue] = (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useState)('auto');
79024
- let timeout;
79025
- (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useEffect)(() => {
79026
- return () => {
79027
- if (timeout) {
79028
- clearTimeout(timeout);
79029
- }
79030
- };
79031
- }, []);
79032
- (0,external_commonjs_react_commonjs2_react_amd_react_root_React_.useEffect)(() => {
79033
- if (dialogsViewModel.loading) {
79034
- setPointerEventsValue('none');
79035
- timeout = setTimeout(() => {
79036
- setPointerEventsValue('auto');
79037
- }, 12000);
79038
- }
79039
- else {
79040
- setPointerEventsValue('auto');
79041
- }
79042
- }, [dialogsViewModel.loading]);
79043
79084
  function getMessageDateTimeSent(item) {
79044
79085
  let dateInt = 0;
79045
79086
  let formattedValue = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quickblox-react-ui-kit",
3
- "version": "0.5.0-beta.7",
3
+ "version": "0.5.0-beta.9",
4
4
  "main": "dist/index-ui.js",
5
5
  "types": "dist/index-ui.d.ts",
6
6
  "license": "MIT",
package/src/App.tsx CHANGED
@@ -231,7 +231,6 @@ function App() {
231
231
  path="/desktop-test-mock"
232
232
  element={
233
233
  <div>
234
- <div style={{ height: '56px' }}>Q-communicate</div>
235
234
  <QuickBloxUIKitDesktopLayout
236
235
  theme={ new DefaultTheme()}
237
236
  uikitHeightOffset="56px"
@@ -966,14 +966,12 @@ export class RemoteDataSource implements IRemoteDataSource {
966
966
  const firstBatch = joinDialogIds.slice(0, 12);
967
967
  await this.processDialogs(firstBatch);
968
968
 
969
- // Оставшиеся элементы обрабатываются асинхронно в фоне
970
969
  const remainingDialogs = joinDialogIds.slice(12);
971
970
  if (remainingDialogs.length) {
972
971
  this.processDialogsInBackground(remainingDialogs).then();
973
972
  }
974
973
  }
975
974
 
976
- // Возвращаем результат после первой партии
977
975
  return Promise.resolve(new RemoteDialogsDTO(dialogsDTO, currentPagination));
978
976
  }
979
977
 
@@ -132,7 +132,7 @@ const AIRephraseWidget = ({
132
132
  });
133
133
  }
134
134
  //
135
- items.push({
135
+ items.unshift({
136
136
  title: 'Back to prev.',
137
137
  icon: <WhiteCheckMarkIcon />,
138
138
  action: () => {
@@ -4,18 +4,18 @@
4
4
  }
5
5
  .dropdown-context-menu-tone {
6
6
  position: absolute;
7
- bottom: -15px;
7
+ bottom: 25px;
8
8
  right: 0;
9
9
  zIndex: 1;
10
10
  width: max-content;
11
11
  height: max-content;
12
12
 
13
- background: var(--primary-primary-a-100, #ffffff);
13
+ background: var(--main-background, #ffffff);
14
14
  border-radius: 4px;
15
- padding: 8px 0px 8px 0px;
15
+ padding: 8px 0 8px 0;
16
16
 
17
- box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04),
18
- 0px 3px 14px 0px rgba(0, 0, 0, 0.08), 0px 8px 10px 0px rgba(0, 0, 0, 0.12);
17
+ box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04),
18
+ 0 3px 14px 0 rgba(0, 0, 0, 0.08), 0 8px 10px 0 rgba(0, 0, 0, 0.12);
19
19
 
20
20
  }
21
21
 
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .dropdown-context-menu-tone-menu-item-title {
34
- color: var(--secondary-secondary-900, #0b121b);
34
+ color: var(--main-text, #0b121b);
35
35
  text-align: left;
36
36
  font: var(--body-body-medium, 400 14px/20px "Roboto", sans-serif);
37
37
  position: relative;
@@ -11,7 +11,7 @@
11
11
  align-items: center;
12
12
  justify-content: flex-start;
13
13
  flex-shrink: 0;
14
- width: 270px;
14
+ //width: 270px;
15
15
  position: relative;
16
16
 
17
17
  }
@@ -20,22 +20,15 @@
20
20
  width: 40px;
21
21
  height: 40px;
22
22
  position: relative;
23
- }
24
- .dialog-item-element-avatar-rectangle {
25
- width: 40px;
26
- height: 40px;
27
- position: absolute;
28
- left: 0px;
29
- top: 0px;
30
- }
31
- .dialog-item-element-avatar-ellipse {
32
- background: var(--disabled-elements, #bcc1c5);
23
+
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ overflow: hidden;
33
28
  border-radius: 50%;
34
- width: 40px;
35
- height: 40px;
36
- position: absolute;
37
- left: 0px;
38
- top: 0px;
29
+ background-color: var(--disabled-elements);
30
+ color: var(--secondary-text);
31
+
39
32
  }
40
33
  .contents-user {
41
34
  position: absolute;
@@ -52,20 +45,15 @@
52
45
  display: flex;
53
46
  align-items: center;
54
47
  justify-content: flex-start;
48
+ white-space: nowrap;
49
+ overflow: hidden;
50
+ text-overflow: ellipsis;
51
+ width: 200px;
52
+ @media (max-width: 767px) {
53
+ width: 120px;
54
+ }
55
55
  }
56
- .dialog-item-element-checkbox {
57
- border-radius: 4px;
58
- padding: 4px;
59
- display: flex;
60
- flex-direction: row;
61
- gap: 0px;
62
- align-items: center;
63
- justify-content: center;
64
- flex-shrink: 0;
65
- width: 32px;
66
- height: 32px;
67
- position: relative;
68
- }
56
+
69
57
  .toggle-check-on {
70
58
  align-self: stretch;
71
59
  flex: 1;