@progress/kendo-angular-conversational-ui 27.0.0-develop.1 → 27.0.0-develop.11
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.
|
@@ -217,8 +217,8 @@ const packageMetadata = {
|
|
|
217
217
|
productName: 'Kendo UI for Angular',
|
|
218
218
|
productCode: 'KENDOUIANGULAR',
|
|
219
219
|
productCodes: ['KENDOUIANGULAR'],
|
|
220
|
-
publishDate:
|
|
221
|
-
version: '27.0.0-develop.
|
|
220
|
+
publishDate: 1795799311,
|
|
221
|
+
version: '27.0.0-develop.11',
|
|
222
222
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
223
223
|
};
|
|
224
224
|
|
|
@@ -2543,8 +2543,11 @@ const scrollButtonThreshold = 100;
|
|
|
2543
2543
|
* Pins a scroll container to a computed target across layout shifts.
|
|
2544
2544
|
* Observers extend the idle window until layout has settled; the initial and
|
|
2545
2545
|
* final pins bracket the settle window so the viewport lands exactly on target.
|
|
2546
|
+
* A newer call on the same element supersedes an unfinished one.
|
|
2546
2547
|
*/
|
|
2548
|
+
const activeSettles = new WeakMap();
|
|
2547
2549
|
const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeoutMs = 1000) => {
|
|
2550
|
+
activeSettles.get(el)?.();
|
|
2548
2551
|
const pin = () => {
|
|
2549
2552
|
const t = computeTarget();
|
|
2550
2553
|
if (t !== null) {
|
|
@@ -2558,10 +2561,7 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2558
2561
|
let mutationObserver = null;
|
|
2559
2562
|
let resizeObserver = null;
|
|
2560
2563
|
let finished = false;
|
|
2561
|
-
const
|
|
2562
|
-
if (finished) {
|
|
2563
|
-
return;
|
|
2564
|
-
}
|
|
2564
|
+
const dispose = () => {
|
|
2565
2565
|
finished = true;
|
|
2566
2566
|
if (mutationObserver) {
|
|
2567
2567
|
mutationObserver.disconnect();
|
|
@@ -2571,6 +2571,15 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2571
2571
|
}
|
|
2572
2572
|
clearTimeout(idleTimer);
|
|
2573
2573
|
clearTimeout(safetyTimer);
|
|
2574
|
+
if (activeSettles.get(el) === dispose) {
|
|
2575
|
+
activeSettles.delete(el);
|
|
2576
|
+
}
|
|
2577
|
+
};
|
|
2578
|
+
const finish = () => {
|
|
2579
|
+
if (finished) {
|
|
2580
|
+
return;
|
|
2581
|
+
}
|
|
2582
|
+
dispose();
|
|
2574
2583
|
pin();
|
|
2575
2584
|
zone.run(() => {
|
|
2576
2585
|
onComplete();
|
|
@@ -2608,6 +2617,7 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2608
2617
|
return;
|
|
2609
2618
|
}
|
|
2610
2619
|
safetyTimer = setTimeout(finish, timeoutMs);
|
|
2620
|
+
activeSettles.set(el, dispose);
|
|
2611
2621
|
resetIdle();
|
|
2612
2622
|
});
|
|
2613
2623
|
};
|
|
@@ -9586,7 +9596,7 @@ class MessageListComponent {
|
|
|
9586
9596
|
const isActionClick = closest(next, (node) => node?.classList?.contains('k-context-menu-popup')) ||
|
|
9587
9597
|
closest(next, (node) => node?.classList?.contains('k-menu-popup'));
|
|
9588
9598
|
if (outside && !isActionClick) {
|
|
9589
|
-
this.
|
|
9599
|
+
this.updateSelection(null, false);
|
|
9590
9600
|
}
|
|
9591
9601
|
}
|
|
9592
9602
|
isOwnMessage(msg) {
|
|
@@ -9624,6 +9634,9 @@ class MessageListComponent {
|
|
|
9624
9634
|
return;
|
|
9625
9635
|
}
|
|
9626
9636
|
}
|
|
9637
|
+
this.updateSelection(item, true);
|
|
9638
|
+
}
|
|
9639
|
+
updateSelection(item, syncRender) {
|
|
9627
9640
|
if (!this.chatService.toggleMessageState) {
|
|
9628
9641
|
const prevItem = this.selectedItem;
|
|
9629
9642
|
if (prevItem) {
|
|
@@ -9634,7 +9647,12 @@ class MessageListComponent {
|
|
|
9634
9647
|
this.selectedItem = item;
|
|
9635
9648
|
}
|
|
9636
9649
|
this.chatService.layoutChangeInProgress = true;
|
|
9637
|
-
|
|
9650
|
+
if (syncRender) {
|
|
9651
|
+
this.cdr.detectChanges();
|
|
9652
|
+
}
|
|
9653
|
+
else {
|
|
9654
|
+
this.cdr.markForCheck();
|
|
9655
|
+
}
|
|
9638
9656
|
}
|
|
9639
9657
|
this.chatService.toggleMessageState = false;
|
|
9640
9658
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "27.0.0-develop.
|
|
10
|
+
"publishDate": 1795799311,
|
|
11
|
+
"version": "27.0.0-develop.11",
|
|
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": "27.0.0-develop.
|
|
3
|
+
"version": "27.0.0-develop.11",
|
|
4
4
|
"description": "Kendo UI for Angular Conversational UI components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"package": {
|
|
112
112
|
"productName": "Kendo UI for Angular",
|
|
113
113
|
"productCode": "KENDOUIANGULAR",
|
|
114
|
-
"publishDate":
|
|
114
|
+
"publishDate": 1795799311,
|
|
115
115
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
@@ -120,24 +120,24 @@
|
|
|
120
120
|
"@angular/core": "21 - 22",
|
|
121
121
|
"@angular/platform-browser": "21 - 22",
|
|
122
122
|
"@progress/kendo-licensing": "^1.13.1",
|
|
123
|
-
"@progress/kendo-angular-buttons": "27.0.0-develop.
|
|
124
|
-
"@progress/kendo-angular-inputs": "27.0.0-develop.
|
|
125
|
-
"@progress/kendo-angular-indicators": "27.0.0-develop.
|
|
126
|
-
"@progress/kendo-angular-layout": "27.0.0-develop.
|
|
127
|
-
"@progress/kendo-angular-icons": "27.0.0-develop.
|
|
128
|
-
"@progress/kendo-angular-common": "27.0.0-develop.
|
|
129
|
-
"@progress/kendo-angular-intl": "27.0.0-develop.
|
|
130
|
-
"@progress/kendo-angular-l10n": "27.0.0-develop.
|
|
131
|
-
"@progress/kendo-angular-menu": "27.0.0-develop.
|
|
132
|
-
"@progress/kendo-angular-popup": "27.0.0-develop.
|
|
133
|
-
"@progress/kendo-angular-toolbar": "27.0.0-develop.
|
|
134
|
-
"@progress/kendo-angular-tooltip": "27.0.0-develop.
|
|
135
|
-
"@progress/kendo-angular-upload": "27.0.0-develop.
|
|
123
|
+
"@progress/kendo-angular-buttons": "27.0.0-develop.11",
|
|
124
|
+
"@progress/kendo-angular-inputs": "27.0.0-develop.11",
|
|
125
|
+
"@progress/kendo-angular-indicators": "27.0.0-develop.11",
|
|
126
|
+
"@progress/kendo-angular-layout": "27.0.0-develop.11",
|
|
127
|
+
"@progress/kendo-angular-icons": "27.0.0-develop.11",
|
|
128
|
+
"@progress/kendo-angular-common": "27.0.0-develop.11",
|
|
129
|
+
"@progress/kendo-angular-intl": "27.0.0-develop.11",
|
|
130
|
+
"@progress/kendo-angular-l10n": "27.0.0-develop.11",
|
|
131
|
+
"@progress/kendo-angular-menu": "27.0.0-develop.11",
|
|
132
|
+
"@progress/kendo-angular-popup": "27.0.0-develop.11",
|
|
133
|
+
"@progress/kendo-angular-toolbar": "27.0.0-develop.11",
|
|
134
|
+
"@progress/kendo-angular-tooltip": "27.0.0-develop.11",
|
|
135
|
+
"@progress/kendo-angular-upload": "27.0.0-develop.11",
|
|
136
136
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"tslib": "^2.3.1",
|
|
140
|
-
"@progress/kendo-angular-schematics": "27.0.0-develop.
|
|
140
|
+
"@progress/kendo-angular-schematics": "27.0.0-develop.11"
|
|
141
141
|
},
|
|
142
142
|
"schematics": "./schematics/collection.json",
|
|
143
143
|
"module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
|