@progress/kendo-angular-conversational-ui 24.0.0-develop.14 → 24.0.0-develop.16
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/chat/chat.component.d.ts
CHANGED
|
@@ -244,68 +244,44 @@ export declare class ChatComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
244
244
|
*/
|
|
245
245
|
pageSize: number;
|
|
246
246
|
/**
|
|
247
|
-
* Sets the minimum distance
|
|
248
|
-
*
|
|
249
|
-
* scrolling them out of view.
|
|
250
|
-
*
|
|
251
|
-
* Accepts a percentage string relative to the visible area height (for example, `'30%'`)
|
|
252
|
-
* or a pixel value as a number. Negative values scroll the message fully to the bottom.
|
|
247
|
+
* Sets the minimum distance from the top of the visible message area that prevents auto-scrolling when a new receiver message arrives.
|
|
248
|
+
* Accepts a percentage string (for example, `'30%'`) or a pixel value as a number. Set to `0` to always auto-scroll to new messages.
|
|
253
249
|
*
|
|
254
250
|
* Has no effect on author messages, which always scroll to the bottom.
|
|
255
251
|
*
|
|
252
|
+
* For more details, refer to the [Auto-Scroll Threshold](slug:scroll_modes_chat#auto-scroll-threshold) article.
|
|
253
|
+
*
|
|
256
254
|
* @default '20%'
|
|
257
255
|
*/
|
|
258
256
|
autoScrollThreshold: number | string;
|
|
259
257
|
/**
|
|
260
|
-
* Sets the total number of messages in the conversation.
|
|
261
|
-
*
|
|
262
|
-
* When `messages.length` equals `total` (or `total` is not set), the Chat operates in
|
|
263
|
-
* **built-in mode** and manages rendering internally. When `messages.length < total`,
|
|
264
|
-
* the Chat operates in **remote mode** — the consumer manages data via
|
|
265
|
-
* [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) events.
|
|
266
|
-
*
|
|
267
|
-
* Only relevant when [`scrollMode`](slug:api_conversational-ui_chatcomponent#scrollMode)
|
|
268
|
-
* is `'endless'`.
|
|
258
|
+
* Sets the total number of messages in the conversation when using endless scrolling with remote data source. For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
269
259
|
*/
|
|
270
260
|
total: number;
|
|
271
261
|
/**
|
|
272
|
-
* Sets the index in the
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* and the consumer prepends messages, `startIndex` decreases. The Chat uses this to
|
|
276
|
-
* compute the correct range for the next
|
|
277
|
-
* [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) call.
|
|
278
|
-
*
|
|
279
|
-
* Ignored in built-in mode.
|
|
262
|
+
* Sets the index of the first message in the currently loaded batch within the full conversation.
|
|
263
|
+
* Used with remote data sources in endless scroll mode to compute the range for the next [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) call.
|
|
264
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
280
265
|
*/
|
|
281
266
|
startIndex: number;
|
|
282
267
|
/**
|
|
283
|
-
* Sets the exclusive end index of the
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
* and the consumer appends messages, `endIndex` increases. The Chat uses this to know
|
|
287
|
-
* whether more messages exist below the current batch.
|
|
288
|
-
*
|
|
289
|
-
* Ignored in built-in mode.
|
|
268
|
+
* Sets the exclusive end index of the currently loaded batch within the full conversation.
|
|
269
|
+
* Used with remote data sources in endless scroll mode to determine whether more messages exist beyond the current batch.
|
|
270
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
290
271
|
*/
|
|
291
272
|
endIndex: number;
|
|
292
273
|
/**
|
|
293
274
|
* Sets the full set of pinned messages in the conversation.
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
* render the pinned message indicator when the pinned message is outside the current
|
|
297
|
-
* batch. In built-in mode, the Chat has all messages and can look them up directly.
|
|
275
|
+
* Used with remote data sources in endless scroll mode to render the pinned message indicator when the pinned message is outside the currently loaded batch.
|
|
276
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
298
277
|
*
|
|
299
278
|
* @default []
|
|
300
279
|
*/
|
|
301
280
|
pinnedMessages: Message[];
|
|
302
281
|
/**
|
|
303
|
-
* Sets the reply targets
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
* render reply previews when the replied-to message is not in the current batch.
|
|
307
|
-
* The consumer resolves this after each data fetch by finding which `replyToId`
|
|
308
|
-
* targets are missing from the batch and fetching only those.
|
|
282
|
+
* Sets the messages that serve as reply targets for messages in the currently loaded batch but exist outside it.
|
|
283
|
+
* Used with remote data sources in endless scroll mode to render reply previews when the replied-to message is not in the current batch.
|
|
284
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
309
285
|
*
|
|
310
286
|
* @default []
|
|
311
287
|
*/
|
|
@@ -215,8 +215,8 @@ const packageMetadata = {
|
|
|
215
215
|
productName: 'Kendo UI for Angular',
|
|
216
216
|
productCode: 'KENDOUIANGULAR',
|
|
217
217
|
productCodes: ['KENDOUIANGULAR'],
|
|
218
|
-
publishDate:
|
|
219
|
-
version: '24.0.0-develop.
|
|
218
|
+
publishDate: 1777884265,
|
|
219
|
+
version: '24.0.0-develop.16',
|
|
220
220
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
221
221
|
};
|
|
222
222
|
|
|
@@ -9190,68 +9190,44 @@ class ChatComponent {
|
|
|
9190
9190
|
*/
|
|
9191
9191
|
pageSize = 50;
|
|
9192
9192
|
/**
|
|
9193
|
-
* Sets the minimum distance
|
|
9194
|
-
*
|
|
9195
|
-
* scrolling them out of view.
|
|
9196
|
-
*
|
|
9197
|
-
* Accepts a percentage string relative to the visible area height (for example, `'30%'`)
|
|
9198
|
-
* or a pixel value as a number. Negative values scroll the message fully to the bottom.
|
|
9193
|
+
* Sets the minimum distance from the top of the visible message area that prevents auto-scrolling when a new receiver message arrives.
|
|
9194
|
+
* Accepts a percentage string (for example, `'30%'`) or a pixel value as a number. Set to `0` to always auto-scroll to new messages.
|
|
9199
9195
|
*
|
|
9200
9196
|
* Has no effect on author messages, which always scroll to the bottom.
|
|
9201
9197
|
*
|
|
9198
|
+
* For more details, refer to the [Auto-Scroll Threshold](slug:scroll_modes_chat#auto-scroll-threshold) article.
|
|
9199
|
+
*
|
|
9202
9200
|
* @default '20%'
|
|
9203
9201
|
*/
|
|
9204
9202
|
autoScrollThreshold = '20%';
|
|
9205
9203
|
/**
|
|
9206
|
-
* Sets the total number of messages in the conversation.
|
|
9207
|
-
*
|
|
9208
|
-
* When `messages.length` equals `total` (or `total` is not set), the Chat operates in
|
|
9209
|
-
* **built-in mode** and manages rendering internally. When `messages.length < total`,
|
|
9210
|
-
* the Chat operates in **remote mode** — the consumer manages data via
|
|
9211
|
-
* [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) events.
|
|
9212
|
-
*
|
|
9213
|
-
* Only relevant when [`scrollMode`](slug:api_conversational-ui_chatcomponent#scrollMode)
|
|
9214
|
-
* is `'endless'`.
|
|
9204
|
+
* Sets the total number of messages in the conversation when using endless scrolling with remote data source. For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
9215
9205
|
*/
|
|
9216
9206
|
total;
|
|
9217
9207
|
/**
|
|
9218
|
-
* Sets the index in the
|
|
9219
|
-
*
|
|
9220
|
-
*
|
|
9221
|
-
* and the consumer prepends messages, `startIndex` decreases. The Chat uses this to
|
|
9222
|
-
* compute the correct range for the next
|
|
9223
|
-
* [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) call.
|
|
9224
|
-
*
|
|
9225
|
-
* Ignored in built-in mode.
|
|
9208
|
+
* Sets the index of the first message in the currently loaded batch within the full conversation.
|
|
9209
|
+
* Used with remote data sources in endless scroll mode to compute the range for the next [`loadMore`](slug:api_conversational-ui_chatcomponent#loadMore) call.
|
|
9210
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
9226
9211
|
*/
|
|
9227
9212
|
startIndex;
|
|
9228
9213
|
/**
|
|
9229
|
-
* Sets the exclusive end index of the
|
|
9230
|
-
*
|
|
9231
|
-
*
|
|
9232
|
-
* and the consumer appends messages, `endIndex` increases. The Chat uses this to know
|
|
9233
|
-
* whether more messages exist below the current batch.
|
|
9234
|
-
*
|
|
9235
|
-
* Ignored in built-in mode.
|
|
9214
|
+
* Sets the exclusive end index of the currently loaded batch within the full conversation.
|
|
9215
|
+
* Used with remote data sources in endless scroll mode to determine whether more messages exist beyond the current batch.
|
|
9216
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
9236
9217
|
*/
|
|
9237
9218
|
endIndex;
|
|
9238
9219
|
/**
|
|
9239
9220
|
* Sets the full set of pinned messages in the conversation.
|
|
9240
|
-
*
|
|
9241
|
-
*
|
|
9242
|
-
* render the pinned message indicator when the pinned message is outside the current
|
|
9243
|
-
* batch. In built-in mode, the Chat has all messages and can look them up directly.
|
|
9221
|
+
* Used with remote data sources in endless scroll mode to render the pinned message indicator when the pinned message is outside the currently loaded batch.
|
|
9222
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
9244
9223
|
*
|
|
9245
9224
|
* @default []
|
|
9246
9225
|
*/
|
|
9247
9226
|
pinnedMessages = [];
|
|
9248
9227
|
/**
|
|
9249
|
-
* Sets the reply targets
|
|
9250
|
-
*
|
|
9251
|
-
*
|
|
9252
|
-
* render reply previews when the replied-to message is not in the current batch.
|
|
9253
|
-
* The consumer resolves this after each data fetch by finding which `replyToId`
|
|
9254
|
-
* targets are missing from the batch and fetching only those.
|
|
9228
|
+
* Sets the messages that serve as reply targets for messages in the currently loaded batch but exist outside it.
|
|
9229
|
+
* Used with remote data sources in endless scroll mode to render reply previews when the replied-to message is not in the current batch.
|
|
9230
|
+
* For more details, refer to the [Endless Scrolling with Remote Data](slug:scroll_modes_chat#remote-data) section in the documentation.
|
|
9255
9231
|
*
|
|
9256
9232
|
* @default []
|
|
9257
9233
|
*/
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1777884265,
|
|
11
|
+
"version": "24.0.0-develop.16",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-conversational-ui",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.16",
|
|
4
4
|
"description": "Kendo UI for Angular Conversational UI components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"package": {
|
|
92
92
|
"productName": "Kendo UI for Angular",
|
|
93
93
|
"productCode": "KENDOUIANGULAR",
|
|
94
|
-
"publishDate":
|
|
94
|
+
"publishDate": 1777884265,
|
|
95
95
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
@@ -101,22 +101,22 @@
|
|
|
101
101
|
"@angular/core": "19 - 21",
|
|
102
102
|
"@angular/platform-browser": "19 - 21",
|
|
103
103
|
"@progress/kendo-licensing": "^1.11.0",
|
|
104
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
105
|
-
"@progress/kendo-angular-inputs": "24.0.0-develop.
|
|
106
|
-
"@progress/kendo-angular-layout": "24.0.0-develop.
|
|
107
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
108
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
109
|
-
"@progress/kendo-angular-intl": "24.0.0-develop.
|
|
110
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
111
|
-
"@progress/kendo-angular-menu": "24.0.0-develop.
|
|
112
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
113
|
-
"@progress/kendo-angular-toolbar": "24.0.0-develop.
|
|
114
|
-
"@progress/kendo-angular-upload": "24.0.0-develop.
|
|
104
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.16",
|
|
105
|
+
"@progress/kendo-angular-inputs": "24.0.0-develop.16",
|
|
106
|
+
"@progress/kendo-angular-layout": "24.0.0-develop.16",
|
|
107
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.16",
|
|
108
|
+
"@progress/kendo-angular-common": "24.0.0-develop.16",
|
|
109
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.16",
|
|
110
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.16",
|
|
111
|
+
"@progress/kendo-angular-menu": "24.0.0-develop.16",
|
|
112
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.16",
|
|
113
|
+
"@progress/kendo-angular-toolbar": "24.0.0-develop.16",
|
|
114
|
+
"@progress/kendo-angular-upload": "24.0.0-develop.16",
|
|
115
115
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
118
|
"tslib": "^2.3.1",
|
|
119
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
119
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.16"
|
|
120
120
|
},
|
|
121
121
|
"schematics": "./schematics/collection.json",
|
|
122
122
|
"module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
|