@progress/kendo-angular-popup 4.0.6-dev.202203091019 → 5.0.0-dev.202204131653
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/bundles/kendo-angular-popup.umd.js +5 -0
- package/{dist/es2015/models/position-mode.js → esm2015/kendo-angular-popup.js} +2 -1
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es → esm2015}/models/align-element-settings.interface.js +1 -0
- package/{dist/es2015 → esm2015}/models/align.interface.js +1 -0
- package/{dist/es2015 → esm2015}/models/collision.interface.js +1 -0
- package/{dist/es2015 → esm2015}/models/collision.type.js +1 -0
- package/{dist/es → esm2015}/models/margin.interface.js +1 -0
- package/{dist/es → esm2015}/models/offset.interface.js +1 -0
- package/{dist/es → esm2015}/models/popup-animation.interface.js +1 -0
- package/{dist/es → esm2015}/models/popup-ref.js +1 -0
- package/{dist/es → esm2015}/models/popup-settings.js +1 -0
- package/{dist/es → esm2015}/models/position-element-settings.interface.js +1 -0
- package/{dist/es → esm2015}/models/position-mode.js +1 -0
- package/{dist/es → esm2015}/models/position.interface.js +1 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/popup.component.js +69 -91
- package/{dist/es2015 → esm2015}/popup.module.js +16 -13
- package/{dist/es2015 → esm2015}/popup.service.js +14 -15
- package/{dist/es2015 → esm2015}/scale.js +0 -0
- package/{dist/es2015 → esm2015}/services/align.service.js +15 -11
- package/{dist/es2015 → esm2015}/services/animation.service.js +10 -10
- package/{dist/es2015 → esm2015}/services/dom.service.js +15 -14
- package/{dist/es2015 → esm2015}/services/position.service.js +14 -10
- package/{dist/es2015 → esm2015}/services/resize.service.js +10 -10
- package/{dist/es2015 → esm2015}/services/scrollable.service.js +12 -13
- package/{dist/es2015 → esm2015}/util.js +5 -10
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-popup.js} +219 -207
- package/kendo-angular-popup.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +1 -1
- package/{dist/es2015/models → models}/align-element-settings.interface.d.ts +1 -1
- package/{dist/es2015/models → models}/align.interface.d.ts +0 -0
- package/{dist/es2015/models → models}/collision.interface.d.ts +0 -0
- package/{dist/es2015/models → models}/collision.type.d.ts +0 -0
- package/{dist/es2015/models → models}/margin.interface.d.ts +0 -0
- package/{dist/es2015/models → models}/offset.interface.d.ts +0 -0
- package/{dist/es2015/models → models}/popup-animation.interface.d.ts +4 -2
- package/{dist/es2015/models → models}/popup-ref.d.ts +0 -0
- package/{dist/es2015/models → models}/popup-settings.d.ts +1 -1
- package/{dist/es2015/models → models}/position-element-settings.interface.d.ts +1 -1
- package/{dist/es2015/models → models}/position-mode.d.ts +0 -0
- package/{dist/es2015/models → models}/position.interface.d.ts +0 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +34 -99
- package/{dist/es2015/popup.component.d.ts → popup.component.d.ts} +6 -2
- package/{dist/es2015/popup.module.d.ts → popup.module.d.ts} +7 -0
- package/{dist/es2015/popup.service.d.ts → popup.service.d.ts} +5 -2
- package/{dist/es2015/scale.d.ts → scale.d.ts} +0 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/services → services}/align.service.d.ts +3 -0
- package/{dist/es2015/services → services}/animation.service.d.ts +3 -0
- package/{dist/es2015/services → services}/dom.service.d.ts +10 -7
- package/{dist/es2015/services → services}/position.service.d.ts +3 -0
- package/{dist/es2015/services → services}/resize.service.d.ts +3 -0
- package/{dist/es2015/services → services}/scrollable.service.d.ts +6 -3
- package/{dist/es2015/util.d.ts → util.d.ts} +1 -1
- package/dist/cdn/js/kendo-angular-popup.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/index.js +0 -14
- package/dist/es/models/align.interface.js +0 -4
- package/dist/es/models/collision.interface.js +0 -4
- package/dist/es/models/collision.type.js +0 -4
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/popup.component.js +0 -438
- package/dist/es/popup.module.js +0 -57
- package/dist/es/popup.service.js +0 -254
- package/dist/es/scale.js +0 -21
- package/dist/es/services/align.service.js +0 -64
- package/dist/es/services/animation.service.js +0 -137
- package/dist/es/services/dom.service.js +0 -158
- package/dist/es/services/position.service.js +0 -53
- package/dist/es/services/resize.service.js +0 -46
- package/dist/es/services/scrollable.service.js +0 -79
- package/dist/es/util.js +0 -168
- package/dist/es2015/index.d.ts +0 -14
- package/dist/es2015/index.js +0 -14
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -8
- package/dist/es2015/models/align-element-settings.interface.js +0 -4
- package/dist/es2015/models/margin.interface.js +0 -4
- package/dist/es2015/models/offset.interface.js +0 -4
- package/dist/es2015/models/popup-animation.interface.js +0 -4
- package/dist/es2015/models/popup-ref.js +0 -4
- package/dist/es2015/models/popup-settings.js +0 -4
- package/dist/es2015/models/position-element-settings.interface.js +0 -4
- package/dist/es2015/models/position.interface.js +0 -4
- package/dist/fesm5/index.js +0 -1382
- package/dist/npm/index.js +0 -23
- package/dist/npm/main.js +0 -15
- package/dist/npm/models/align-element-settings.interface.js +0 -6
- package/dist/npm/models/align.interface.js +0 -6
- package/dist/npm/models/collision.interface.js +0 -6
- package/dist/npm/models/collision.type.js +0 -6
- package/dist/npm/models/margin.interface.js +0 -6
- package/dist/npm/models/offset.interface.js +0 -6
- package/dist/npm/models/popup-animation.interface.js +0 -6
- package/dist/npm/models/popup-ref.js +0 -6
- package/dist/npm/models/popup-settings.js +0 -6
- package/dist/npm/models/position-element-settings.interface.js +0 -6
- package/dist/npm/models/position-mode.js +0 -9
- package/dist/npm/models/position.interface.js +0 -6
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/popup.component.js +0 -440
- package/dist/npm/popup.module.js +0 -59
- package/dist/npm/popup.service.js +0 -256
- package/dist/npm/scale.js +0 -23
- package/dist/npm/services/align.service.js +0 -66
- package/dist/npm/services/animation.service.js +0 -139
- package/dist/npm/services/dom.service.js +0 -160
- package/dist/npm/services/position.service.js +0 -55
- package/dist/npm/services/resize.service.js +0 -48
- package/dist/npm/services/scrollable.service.js +0 -81
- package/dist/npm/util.js +0 -173
- package/dist/systemjs/kendo-angular-popup.js +0 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@progress/kendo-angular-popup" />
|
|
9
|
+
export * from './main';
|
|
@@ -9,7 +9,7 @@ export { Margin } from './models/margin.interface';
|
|
|
9
9
|
export { PopupSettings } from './models/popup-settings';
|
|
10
10
|
export { PopupRef } from './models/popup-ref';
|
|
11
11
|
export { PositionMode } from './models/position-mode';
|
|
12
|
-
export { PopupAnimation } from './models/popup-animation.interface';
|
|
12
|
+
export { PopupAnimation, AnimationType, AnimationDirection } from './models/popup-animation.interface';
|
|
13
13
|
export { PopupService, POPUP_CONTAINER } from './popup.service';
|
|
14
14
|
export { PopupComponent } from './popup.component';
|
|
15
15
|
export { PopupModule } from './popup.module';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,7 +10,7 @@ export interface PopupAnimation {
|
|
|
10
10
|
* The type of the animation.
|
|
11
11
|
* @default 'slide'
|
|
12
12
|
*/
|
|
13
|
-
type?:
|
|
13
|
+
type?: AnimationType;
|
|
14
14
|
/**
|
|
15
15
|
* The animation duration in milliseconds.
|
|
16
16
|
* @default 100
|
|
@@ -20,5 +20,7 @@ export interface PopupAnimation {
|
|
|
20
20
|
* The animation direction. Applicable if the type is set to `slide` or `expand`.
|
|
21
21
|
* @default 'down'
|
|
22
22
|
*/
|
|
23
|
-
direction:
|
|
23
|
+
direction: AnimationDirection;
|
|
24
24
|
}
|
|
25
|
+
export declare type AnimationType = 'slide' | 'expand' | 'zoom' | 'fade';
|
|
26
|
+
export declare type AnimationDirection = 'down' | 'up' | 'left' | 'right';
|
|
File without changes
|
|
@@ -24,7 +24,7 @@ export interface PopupSettings {
|
|
|
24
24
|
/**
|
|
25
25
|
* Specifies the element which will be used as an anchor. The Popup opens next to that element.
|
|
26
26
|
*/
|
|
27
|
-
anchor?: ElementRef;
|
|
27
|
+
anchor?: ElementRef | HTMLElement;
|
|
28
28
|
/**
|
|
29
29
|
* Defines the container to which the Popup will be appended.
|
|
30
30
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,94 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-popup",
|
|
3
|
+
"version": "5.0.0-dev.202204131653",
|
|
3
4
|
"description": "Kendo UI Angular Popup component",
|
|
4
|
-
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"test:ci": "ci-angular-test",
|
|
21
|
-
"start": "gulp start",
|
|
22
|
-
"e2e:ci": "ci-angular-e2e",
|
|
23
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
24
|
-
"api-check": "gulp api-check",
|
|
25
|
-
"build-package": "gulp build-package",
|
|
26
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish && semantic-release post",
|
|
27
|
-
"ci-semantic-release": "ci-semantic-release"
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/telerik/kendo-angular-popup.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
28
14
|
},
|
|
29
15
|
"keywords": [
|
|
30
|
-
"Kendo UI",
|
|
31
16
|
"Angular",
|
|
32
|
-
"
|
|
33
|
-
"Popup"
|
|
17
|
+
"Kendo UI",
|
|
18
|
+
"Popup",
|
|
19
|
+
"Progress"
|
|
34
20
|
],
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"@angular/common": "8 - 13",
|
|
38
|
-
"@angular/core": "8 - 13",
|
|
39
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
40
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
41
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
21
|
+
"@progress": {
|
|
22
|
+
"friendlyName": "Popup"
|
|
42
23
|
},
|
|
43
24
|
"dependencies": {
|
|
44
25
|
"@progress/kendo-popup-common": "^1.7.0",
|
|
45
|
-
"@progress/kendo-schematics": "^
|
|
46
|
-
"tslib": "^
|
|
26
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
27
|
+
"tslib": "^2.3.1"
|
|
47
28
|
},
|
|
48
|
-
"
|
|
49
|
-
"@angular
|
|
50
|
-
"@angular
|
|
51
|
-
"@angular/
|
|
52
|
-
"@angular
|
|
53
|
-
"@angular/compiler": "^8.2.0",
|
|
54
|
-
"@angular/compiler-cli": "^8.2.0",
|
|
55
|
-
"@angular/core": "^8.2.0",
|
|
56
|
-
"@angular/forms": "^8.2.0",
|
|
57
|
-
"@angular/platform-browser": "^8.2.0",
|
|
58
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
59
|
-
"@angular/platform-server": "^8.2.0",
|
|
60
|
-
"@angular/router": "^8.2.0",
|
|
61
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
62
|
-
"@progress/kendo-angular-e2e": "^2.2.0",
|
|
63
|
-
"@progress/kendo-angular-intl": "^3.0.0",
|
|
64
|
-
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
65
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
66
|
-
"@progress/kendo-angular-tasks": "18.1.2-cdn-bundle-v18.10",
|
|
67
|
-
"@progress/kendo-angular-inputs": "^8.0.0",
|
|
68
|
-
"@progress/kendo-angular-buttons": "^7.0.0",
|
|
69
|
-
"@progress/kendo-drawing": "^1.5.12",
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@angular/animations": "^12.0.0 || ^13.0.0",
|
|
31
|
+
"@angular/common": "^12.0.0 || ^13.0.0",
|
|
32
|
+
"@angular/core": "^12.0.0 || ^13.0.0",
|
|
33
|
+
"@progress/kendo-angular-common": ">3.0.0-next",
|
|
70
34
|
"@progress/kendo-licensing": "^1.0.2",
|
|
71
|
-
"
|
|
72
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
73
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
74
|
-
"@telerik/semantic-prerelease": "^1.0.0",
|
|
75
|
-
"@types/jest": "^21.1.6",
|
|
76
|
-
"@types/node": "ts3.4",
|
|
77
|
-
"@types/zone.js": "0.0.27",
|
|
78
|
-
"codelyzer": "^5.0.0",
|
|
79
|
-
"core-js": "^2.2.2",
|
|
80
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
81
|
-
"ghooks": "^1.0.3",
|
|
82
|
-
"gulp": "^4.0.0",
|
|
83
|
-
"jest-cli": "^21.2.1",
|
|
84
|
-
"jest-junit": "^8.0.0",
|
|
85
|
-
"rxjs": "~6.4.0",
|
|
86
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
87
|
-
"semantic-release": "^6.3.6",
|
|
88
|
-
"tslint": "^5.20.1",
|
|
89
|
-
"typescript": "~3.4.5",
|
|
90
|
-
"validate-commit-msg": "^1.1.1",
|
|
91
|
-
"zone.js": "~0.9.1"
|
|
35
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
92
36
|
},
|
|
93
37
|
"config": {
|
|
94
38
|
"commitizen": {
|
|
@@ -113,27 +57,16 @@
|
|
|
113
57
|
"maxSubjectLength": 100
|
|
114
58
|
}
|
|
115
59
|
},
|
|
116
|
-
"
|
|
117
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
118
|
-
},
|
|
119
|
-
"repository": {
|
|
120
|
-
"type": "git",
|
|
121
|
-
"url": "https://github.com/telerik/kendo-angular-popup.git"
|
|
122
|
-
},
|
|
123
|
-
"bugs": {
|
|
124
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
125
|
-
},
|
|
126
|
-
"@progress": {
|
|
127
|
-
"friendlyName": "Popup"
|
|
128
|
-
},
|
|
129
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
60
|
+
"schematics": "./schematics/collection.json",
|
|
130
61
|
"release": {
|
|
131
62
|
"debug": false,
|
|
132
63
|
"branchTags": {
|
|
133
|
-
"develop": "dev"
|
|
64
|
+
"develop": "dev",
|
|
65
|
+
"ng12-update": "next"
|
|
134
66
|
},
|
|
135
67
|
"fallbackTags": {
|
|
136
|
-
"dev": "latest"
|
|
68
|
+
"dev": "latest",
|
|
69
|
+
"next": "latest"
|
|
137
70
|
},
|
|
138
71
|
"analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
|
|
139
72
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
@@ -141,9 +74,11 @@
|
|
|
141
74
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
142
75
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
143
76
|
},
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
77
|
+
"main": "bundles/kendo-angular-popup.umd.js",
|
|
78
|
+
"module": "fesm2015/kendo-angular-popup.js",
|
|
79
|
+
"es2015": "fesm2015/kendo-angular-popup.js",
|
|
80
|
+
"esm2015": "esm2015/kendo-angular-popup.js",
|
|
81
|
+
"fesm2015": "fesm2015/kendo-angular-popup.js",
|
|
82
|
+
"typings": "kendo-angular-popup.d.ts",
|
|
83
|
+
"sideEffects": false
|
|
149
84
|
}
|
|
@@ -16,6 +16,7 @@ import { ResizeService } from './services/resize.service';
|
|
|
16
16
|
import { ScrollableService } from './services/scrollable.service';
|
|
17
17
|
import { AnimationService } from './services/animation.service';
|
|
18
18
|
import { ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
19
20
|
/**
|
|
20
21
|
* Represents the [Kendo UI Popup component for Angular]({% slug overview_popup %}).
|
|
21
22
|
*
|
|
@@ -54,7 +55,7 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
|
|
|
54
55
|
* Specifies the element that will be used as an anchor. The Popup opens next to that element.
|
|
55
56
|
* ([see example]({% slug alignmentpositioning_popup %}#toc-aligning-to-components)).
|
|
56
57
|
*/
|
|
57
|
-
anchor: ElementRef;
|
|
58
|
+
anchor: ElementRef | HTMLElement;
|
|
58
59
|
/**
|
|
59
60
|
* Specifies the anchor pivot point
|
|
60
61
|
* ([see example]({% slug alignmentpositioning_popup %}#toc-positioning)).
|
|
@@ -236,7 +237,8 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
|
|
|
236
237
|
onResize(): void;
|
|
237
238
|
private onAnimationStart;
|
|
238
239
|
private onAnimationEnd;
|
|
239
|
-
private currentOffset;
|
|
240
|
+
private get currentOffset();
|
|
241
|
+
private set currentOffset(value);
|
|
240
242
|
private setZIndex;
|
|
241
243
|
private reposition;
|
|
242
244
|
private position;
|
|
@@ -245,4 +247,6 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
|
|
|
245
247
|
private updateFixedClass;
|
|
246
248
|
private setContainerStyle;
|
|
247
249
|
private unsubscribeReposition;
|
|
250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent, never>;
|
|
251
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "kendo-popup", ["kendo-popup"], { "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "collision": "collision"; "popupAlign": "popupAlign"; "copyAnchorStyles": "copyAnchorStyles"; "popupClass": "popupClass"; "positionMode": "positionMode"; "offset": "offset"; "margin": "margin"; }, { "anchorViewportLeave": "anchorViewportLeave"; "close": "close"; "open": "open"; "positionChange": "positionChange"; }, never, ["*"]>;
|
|
248
252
|
}
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* Copyright © 2021 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 * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./popup.component";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@progress/kendo-angular-common";
|
|
5
9
|
/**
|
|
6
10
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
7
11
|
* definition for the Popup component.
|
|
@@ -34,4 +38,7 @@
|
|
|
34
38
|
* ```
|
|
35
39
|
*/
|
|
36
40
|
export declare class PopupModule {
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupModule, never>;
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PopupModule, [typeof i1.PopupComponent], [typeof i2.CommonModule, typeof i3.ResizeSensorModule], [typeof i1.PopupComponent]>;
|
|
43
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PopupModule>;
|
|
37
44
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ApplicationRef, ComponentFactoryResolver, ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
6
6
|
import { PopupSettings } from './models/popup-settings';
|
|
7
7
|
import { PopupRef } from './models/popup-ref';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* Used to inject the Popup container. If not provided, the first root component of
|
|
10
11
|
* the application is used.
|
|
@@ -62,13 +63,13 @@ export declare class PopupService {
|
|
|
62
63
|
*
|
|
63
64
|
* @returns {ComponentRef<any>}
|
|
64
65
|
*/
|
|
65
|
-
private
|
|
66
|
+
private get rootViewContainer();
|
|
66
67
|
/**
|
|
67
68
|
* Sets or gets the HTML element of the root component container.
|
|
68
69
|
*
|
|
69
70
|
* @returns {HTMLElement}
|
|
70
71
|
*/
|
|
71
|
-
|
|
72
|
+
get rootViewContainerNode(): HTMLElement;
|
|
72
73
|
constructor(applicationRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, container: ElementRef);
|
|
73
74
|
/**
|
|
74
75
|
* Opens a Popup component. Created Popups are mounted
|
|
@@ -149,4 +150,6 @@ export declare class PopupService {
|
|
|
149
150
|
* @returns {any}
|
|
150
151
|
*/
|
|
151
152
|
private contentFrom;
|
|
153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupService, [null, null, null, { optional: true; }]>;
|
|
154
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PopupService>;
|
|
152
155
|
}
|
|
File without changes
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
1
5
|
"use strict";
|
|
2
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
7
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
8
|
function default_1(options) {
|
|
5
|
-
const finalOptions = Object.assign({}, options, { mainNgModule: 'PopupModule', package: 'popup' //package name, e.g grid
|
|
9
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PopupModule', package: 'popup' //package name, e.g grid
|
|
6
10
|
});
|
|
7
11
|
return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
|
|
8
12
|
}
|
|
9
13
|
exports.default = default_1;
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,aAAa,EAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB;OAC5C,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AARD,4BAQC"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { DOMService } from './dom.service';
|
|
6
6
|
import { OffsetPosition as Offset } from '@progress/kendo-popup-common';
|
|
7
7
|
import { AlignElementSettings } from '../models/align-element-settings.interface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -16,4 +17,6 @@ export declare class AlignService {
|
|
|
16
17
|
private absoluteRect;
|
|
17
18
|
private elementScrollPosition;
|
|
18
19
|
private relativeRect;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlignService, [null, { optional: true; }]>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AlignService>;
|
|
19
22
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
6
6
|
import { AnimationBuilder } from '@angular/animations';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -19,4 +20,6 @@ export declare class AnimationService implements OnDestroy {
|
|
|
19
20
|
private playStates;
|
|
20
21
|
private getDirection;
|
|
21
22
|
private stopPlayer;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnimationService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnimationService>;
|
|
22
25
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { ElementRef } from '@angular/core';
|
|
6
6
|
import { AlignSettings, BoundingRect, ElementRect, OffsetPosition, PositionSettings, ScrollInfo, ViewPort } from '@progress/kendo-popup-common';
|
|
7
7
|
import { Position } from '../models/position.interface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -12,24 +13,26 @@ export declare class DOMService {
|
|
|
12
13
|
addOffset(current: OffsetPosition, addition: OffsetPosition): OffsetPosition;
|
|
13
14
|
addScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
|
|
14
15
|
align(settings: AlignSettings): OffsetPosition;
|
|
15
|
-
boundingOffset(el:
|
|
16
|
-
getFontStyles(el:
|
|
16
|
+
boundingOffset(el: HTMLElement): BoundingRect;
|
|
17
|
+
getFontStyles(el: HTMLElement): any;
|
|
17
18
|
getWindow(): Window;
|
|
18
19
|
hasOffsetParent(el: ElementRef): boolean;
|
|
19
|
-
offset(el:
|
|
20
|
+
offset(el: HTMLElement): ElementRect;
|
|
20
21
|
offsetAtPoint(el: ElementRef, currentLocation: OffsetPosition): ElementRect;
|
|
21
|
-
nativeElement(el:
|
|
22
|
-
position(element:
|
|
22
|
+
nativeElement(el: any): HTMLElement;
|
|
23
|
+
position(element: HTMLElement, popup: ElementRef, scale?: number): ElementRect;
|
|
23
24
|
removeScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
|
|
24
25
|
restrictToView(settings: PositionSettings): Position;
|
|
25
26
|
scrollPosition(el: ElementRef): ScrollInfo;
|
|
26
|
-
scrollableParents(el:
|
|
27
|
+
scrollableParents(el: HTMLElement): Array<HTMLElement>;
|
|
27
28
|
stackingElementOffset(el: ElementRef): ElementRect;
|
|
28
29
|
stackingElementScroll(el: ElementRef): ScrollInfo;
|
|
29
30
|
getRelativeContextElement(el: ElementRef): HTMLElement;
|
|
30
31
|
useRelativePosition(el: ElementRef): boolean;
|
|
31
32
|
windowViewPort(el: ElementRef): ViewPort;
|
|
32
|
-
zIndex(anchor:
|
|
33
|
+
zIndex(anchor: HTMLElement, container: ElementRef): number;
|
|
33
34
|
zoomLevel(): number;
|
|
34
35
|
isZoomed(): boolean;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DOMService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DOMService>;
|
|
35
38
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { PositionElementSettings } from '../models/position-element-settings.interface';
|
|
6
6
|
import { Position } from '../models/position.interface';
|
|
7
7
|
import { DOMService } from './dom.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -13,4 +14,6 @@ export declare class PositionService {
|
|
|
13
14
|
private scale;
|
|
14
15
|
constructor(_dom: DOMService, scale?: number);
|
|
15
16
|
positionElement(settings: PositionElementSettings): Position;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PositionService, [null, { optional: true; }]>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PositionService>;
|
|
16
19
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgZone } from '@angular/core';
|
|
6
6
|
import { DOMService } from './dom.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -15,4 +16,6 @@ export declare class ResizeService {
|
|
|
15
16
|
subscribe(callback: Function): void;
|
|
16
17
|
unsubscribe(): void;
|
|
17
18
|
isUnsubscribed(): boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeService>;
|
|
18
21
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 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 {
|
|
5
|
+
import { NgZone } from '@angular/core';
|
|
6
6
|
import { DOMService } from './dom.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
@@ -17,8 +18,10 @@ export declare class ScrollableService {
|
|
|
17
18
|
private element;
|
|
18
19
|
private subscription;
|
|
19
20
|
constructor(_dom: DOMService, _zone: NgZone);
|
|
20
|
-
forElement(element:
|
|
21
|
+
forElement(element: HTMLElement): ScrollableService;
|
|
21
22
|
subscribe(callback: Function): void;
|
|
22
23
|
unsubscribe(): void;
|
|
23
|
-
isVisible(elem:
|
|
24
|
+
isVisible(elem: HTMLElement, container: any): boolean;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollableService>;
|
|
24
27
|
}
|
|
@@ -34,7 +34,7 @@ export declare const OVERFLOW_REGEXP: RegExp;
|
|
|
34
34
|
/**
|
|
35
35
|
* @hidden
|
|
36
36
|
*/
|
|
37
|
-
export declare const scrollableParents: (element: HTMLElement) => HTMLElement
|
|
37
|
+
export declare const scrollableParents: (element: HTMLElement) => Array<HTMLElement>;
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
40
40
|
*/
|