@progress/kendo-angular-dialog 16.11.0-develop.6 → 16.11.0-develop.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.
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dialog',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.11.0-develop.
|
|
12
|
+
publishDate: 1727788667,
|
|
13
|
+
version: '16.11.0-develop.8',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable, NgZone, EventEmitter } from "@angular/core";
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
|
-
import { tap, map, switchMap, takeUntil } from 'rxjs/operators';
|
|
7
|
+
import { tap, map, switchMap, takeUntil, take } from 'rxjs/operators';
|
|
8
8
|
import { isPresent, OFFSET_STYLES, preventDefault } from '../common/util';
|
|
9
9
|
import { scrollPosition, offset, getDocumentElement, positionWithScroll, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -189,6 +189,11 @@ export class DragResizeService {
|
|
|
189
189
|
this.options = Object.assign({}, this.restoreOptions);
|
|
190
190
|
}
|
|
191
191
|
this.options.state = 'default';
|
|
192
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
193
|
+
if (!isPresent(this.options.left) || !isPresent(this.options.top)) {
|
|
194
|
+
this.center();
|
|
195
|
+
}
|
|
196
|
+
});
|
|
192
197
|
this.stateChange.emit('default');
|
|
193
198
|
}
|
|
194
199
|
storeOptions() {
|
|
@@ -616,8 +616,8 @@ const packageMetadata = {
|
|
|
616
616
|
name: '@progress/kendo-angular-dialog',
|
|
617
617
|
productName: 'Kendo UI for Angular',
|
|
618
618
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
619
|
-
publishDate:
|
|
620
|
-
version: '16.11.0-develop.
|
|
619
|
+
publishDate: 1727788667,
|
|
620
|
+
version: '16.11.0-develop.8',
|
|
621
621
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
622
622
|
};
|
|
623
623
|
|
|
@@ -1701,6 +1701,11 @@ class DragResizeService {
|
|
|
1701
1701
|
this.options = Object.assign({}, this.restoreOptions);
|
|
1702
1702
|
}
|
|
1703
1703
|
this.options.state = 'default';
|
|
1704
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
1705
|
+
if (!isPresent(this.options.left) || !isPresent(this.options.top)) {
|
|
1706
|
+
this.center();
|
|
1707
|
+
}
|
|
1708
|
+
});
|
|
1704
1709
|
this.stateChange.emit('default');
|
|
1705
1710
|
}
|
|
1706
1711
|
storeOptions() {
|
|
@@ -612,8 +612,8 @@ const packageMetadata = {
|
|
|
612
612
|
name: '@progress/kendo-angular-dialog',
|
|
613
613
|
productName: 'Kendo UI for Angular',
|
|
614
614
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
615
|
-
publishDate:
|
|
616
|
-
version: '16.11.0-develop.
|
|
615
|
+
publishDate: 1727788667,
|
|
616
|
+
version: '16.11.0-develop.8',
|
|
617
617
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
618
618
|
};
|
|
619
619
|
|
|
@@ -1695,6 +1695,11 @@ class DragResizeService {
|
|
|
1695
1695
|
this.options = Object.assign({}, this.restoreOptions);
|
|
1696
1696
|
}
|
|
1697
1697
|
this.options.state = 'default';
|
|
1698
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
1699
|
+
if (!isPresent(this.options.left) || !isPresent(this.options.top)) {
|
|
1700
|
+
this.center();
|
|
1701
|
+
}
|
|
1702
|
+
});
|
|
1698
1703
|
this.stateChange.emit('default');
|
|
1699
1704
|
}
|
|
1700
1705
|
storeOptions() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "16.11.0-develop.
|
|
3
|
+
"version": "16.11.0-develop.8",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"@angular/core": "15 - 18",
|
|
28
28
|
"@angular/platform-browser": "15 - 18",
|
|
29
29
|
"@progress/kendo-licensing": "^1.0.2",
|
|
30
|
-
"@progress/kendo-angular-buttons": "16.11.0-develop.
|
|
31
|
-
"@progress/kendo-angular-common": "16.11.0-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "16.11.0-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "16.11.0-develop.
|
|
30
|
+
"@progress/kendo-angular-buttons": "16.11.0-develop.8",
|
|
31
|
+
"@progress/kendo-angular-common": "16.11.0-develop.8",
|
|
32
|
+
"@progress/kendo-angular-icons": "16.11.0-develop.8",
|
|
33
|
+
"@progress/kendo-angular-l10n": "16.11.0-develop.8",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "16.11.0-develop.
|
|
38
|
+
"@progress/kendo-angular-schematics": "16.11.0-develop.8",
|
|
39
39
|
"@progress/kendo-popup-common": "^1.7.0"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
|
|
6
6
|
// Peer dependency of buttons
|
|
7
|
-
'@progress/kendo-angular-popup': '16.11.0-develop.
|
|
7
|
+
'@progress/kendo-angular-popup': '16.11.0-develop.8',
|
|
8
8
|
// Peer dependency of icons
|
|
9
9
|
'@progress/kendo-svg-icons': '^3.0.0'
|
|
10
10
|
} });
|