@progress/kendo-angular-dialog 15.3.0-develop.5 → 15.3.0-develop.7
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/common/util.d.ts +0 -7
- package/esm2020/common/util.mjs +0 -10
- package/esm2020/dialog/dialog.component.mjs +2 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/window/window.component.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dialog.mjs +3 -13
- package/fesm2020/progress-kendo-angular-dialog.mjs +3 -13
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +1 -1
package/common/util.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Renderer2 } from '@angular/core';
|
|
6
5
|
import { Observable } from 'rxjs';
|
|
7
6
|
/**
|
|
8
7
|
* @hidden
|
|
@@ -51,12 +50,6 @@ export declare const isVisible: (element: any) => boolean;
|
|
|
51
50
|
* @hidden
|
|
52
51
|
*/
|
|
53
52
|
export declare const isFocusable: (element: any, checkVisibility?: boolean) => boolean;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export declare const setHTMLAttributes: (attributes: {
|
|
58
|
-
[key: string]: string;
|
|
59
|
-
}, renderer: Renderer2, element: Element) => void;
|
|
60
53
|
/**
|
|
61
54
|
* Receives CSS class declarations either as an object, string or array and returns an array of the class names.
|
|
62
55
|
*
|
package/esm2020/common/util.mjs
CHANGED
|
@@ -75,16 +75,6 @@ export const isFocusable = (element, checkVisibility = true) => {
|
|
|
75
75
|
}
|
|
76
76
|
return false;
|
|
77
77
|
};
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
export const setHTMLAttributes = (attributes, renderer, element) => {
|
|
82
|
-
for (const attribute in attributes) {
|
|
83
|
-
if (attribute) {
|
|
84
|
-
renderer.setAttribute(element, attribute, attributes[attribute]);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
78
|
/**
|
|
89
79
|
* Receives CSS class declarations either as an object, string or array and returns an array of the class names.
|
|
90
80
|
*
|
|
@@ -9,8 +9,8 @@ import { DialogTitleBarComponent } from './dialog-titlebar.component';
|
|
|
9
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
|
-
import { hasClasses, Keys, isPresent, isFocusable, DIALOG_ELEMENTS_HANDLING_ARROWS, DIALOG_ELEMENTS_HANDLING_ESC_KEY, createValueWithUnit,
|
|
13
|
-
import { focusableSelector, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
12
|
+
import { hasClasses, Keys, isPresent, isFocusable, DIALOG_ELEMENTS_HANDLING_ARROWS, DIALOG_ELEMENTS_HANDLING_ESC_KEY, createValueWithUnit, parseCSSClassNames, findPrimaryButton } from '../common/util';
|
|
13
|
+
import { focusableSelector, shouldShowValidationUI, setHTMLAttributes } from '@progress/kendo-angular-common';
|
|
14
14
|
import { DialogCloseResult } from './models/dialog-close-result';
|
|
15
15
|
import { DIALOG_LOCALIZATION_SERVICE } from './../localization/dialog-localization.service';
|
|
16
16
|
import { take } from 'rxjs/operators';
|
|
@@ -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: '15.3.0-develop.
|
|
12
|
+
publishDate: 1710842375,
|
|
13
|
+
version: '15.3.0-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Input, Output, HostBinding, EventEmitter, ContentChild, ElementRef, Renderer2, ViewChildren, QueryList, HostListener, NgZone, ViewChild } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { isChanged, isDocumentAvailable, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
7
|
+
import { isChanged, isDocumentAvailable, shouldShowValidationUI, setHTMLAttributes } from '@progress/kendo-angular-common';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
11
|
import { DragResizeService } from './drag-resize.service';
|
|
12
|
-
import { OFFSET_STYLES, isPresent, isTruthy, hasClasses, WINDOW_CLASSES, parseCSSClassNames
|
|
12
|
+
import { OFFSET_STYLES, isPresent, isTruthy, hasClasses, WINDOW_CLASSES, parseCSSClassNames } from '../common/util';
|
|
13
13
|
import { RESIZE_DIRECTIONS } from "../common/util";
|
|
14
14
|
import { ResizeHandleDirective } from './window-resize-handle.directive';
|
|
15
15
|
import { WindowTitleBarComponent } from './window-titlebar.component';
|
|
@@ -17,7 +17,7 @@ import * as i2 from '@progress/kendo-angular-buttons';
|
|
|
17
17
|
import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
18
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
19
19
|
import * as i1$1 from '@progress/kendo-angular-common';
|
|
20
|
-
import { shouldShowValidationUI, isDocumentAvailable, focusableSelector, DraggableDirective, isChanged, WatermarkModule, DraggableModule } from '@progress/kendo-angular-common';
|
|
20
|
+
import { shouldShowValidationUI, setHTMLAttributes, isDocumentAvailable, focusableSelector, DraggableDirective, isChanged, WatermarkModule, DraggableModule } from '@progress/kendo-angular-common';
|
|
21
21
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
22
22
|
import * as i3 from '@progress/kendo-angular-icons';
|
|
23
23
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
@@ -93,16 +93,6 @@ const isFocusable = (element, checkVisibility = true) => {
|
|
|
93
93
|
}
|
|
94
94
|
return false;
|
|
95
95
|
};
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
const setHTMLAttributes = (attributes, renderer, element) => {
|
|
100
|
-
for (const attribute in attributes) {
|
|
101
|
-
if (attribute) {
|
|
102
|
-
renderer.setAttribute(element, attribute, attributes[attribute]);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
96
|
/**
|
|
107
97
|
* Receives CSS class declarations either as an object, string or array and returns an array of the class names.
|
|
108
98
|
*
|
|
@@ -624,8 +614,8 @@ const packageMetadata = {
|
|
|
624
614
|
name: '@progress/kendo-angular-dialog',
|
|
625
615
|
productName: 'Kendo UI for Angular',
|
|
626
616
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
627
|
-
publishDate:
|
|
628
|
-
version: '15.3.0-develop.
|
|
617
|
+
publishDate: 1710842375,
|
|
618
|
+
version: '15.3.0-develop.7',
|
|
629
619
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
630
620
|
};
|
|
631
621
|
|
|
@@ -17,7 +17,7 @@ import * as i2 from '@progress/kendo-angular-buttons';
|
|
|
17
17
|
import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
18
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
19
19
|
import * as i1$1 from '@progress/kendo-angular-common';
|
|
20
|
-
import { shouldShowValidationUI, isDocumentAvailable, focusableSelector, DraggableDirective, isChanged, WatermarkModule, DraggableModule } from '@progress/kendo-angular-common';
|
|
20
|
+
import { shouldShowValidationUI, setHTMLAttributes, isDocumentAvailable, focusableSelector, DraggableDirective, isChanged, WatermarkModule, DraggableModule } from '@progress/kendo-angular-common';
|
|
21
21
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
22
22
|
import * as i3 from '@progress/kendo-angular-icons';
|
|
23
23
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
@@ -93,16 +93,6 @@ const isFocusable = (element, checkVisibility = true) => {
|
|
|
93
93
|
}
|
|
94
94
|
return false;
|
|
95
95
|
};
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
const setHTMLAttributes = (attributes, renderer, element) => {
|
|
100
|
-
for (const attribute in attributes) {
|
|
101
|
-
if (attribute) {
|
|
102
|
-
renderer.setAttribute(element, attribute, attributes[attribute]);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
96
|
/**
|
|
107
97
|
* Receives CSS class declarations either as an object, string or array and returns an array of the class names.
|
|
108
98
|
*
|
|
@@ -620,8 +610,8 @@ const packageMetadata = {
|
|
|
620
610
|
name: '@progress/kendo-angular-dialog',
|
|
621
611
|
productName: 'Kendo UI for Angular',
|
|
622
612
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
623
|
-
publishDate:
|
|
624
|
-
version: '15.3.0-develop.
|
|
613
|
+
publishDate: 1710842375,
|
|
614
|
+
version: '15.3.0-develop.7',
|
|
625
615
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
626
616
|
};
|
|
627
617
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "15.3.0-develop.
|
|
3
|
+
"version": "15.3.0-develop.7",
|
|
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": "13 - 17",
|
|
28
28
|
"@angular/platform-browser": "13 - 17",
|
|
29
29
|
"@progress/kendo-licensing": "^1.0.2",
|
|
30
|
-
"@progress/kendo-angular-buttons": "15.3.0-develop.
|
|
31
|
-
"@progress/kendo-angular-common": "15.3.0-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "15.3.0-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "15.3.0-develop.
|
|
30
|
+
"@progress/kendo-angular-buttons": "15.3.0-develop.7",
|
|
31
|
+
"@progress/kendo-angular-common": "15.3.0-develop.7",
|
|
32
|
+
"@progress/kendo-angular-icons": "15.3.0-develop.7",
|
|
33
|
+
"@progress/kendo-angular-l10n": "15.3.0-develop.7",
|
|
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": "15.3.0-develop.
|
|
38
|
+
"@progress/kendo-angular-schematics": "15.3.0-develop.7",
|
|
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': '15.3.0-develop.
|
|
7
|
+
'@progress/kendo-angular-popup': '15.3.0-develop.7',
|
|
8
8
|
// Peer dependency of icons
|
|
9
9
|
'@progress/kendo-svg-icons': '^2.0.0'
|
|
10
10
|
} });
|