@progress/kendo-angular-popup 5.0.2 → 11.0.0-develop.101

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.
Files changed (68) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +4 -4
  3. package/README.md +5 -5
  4. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  5. package/{esm2015/models/align.interface.js → esm2020/models/align-element-settings.interface.mjs} +1 -1
  6. package/{esm2015/models/collision.type.js → esm2020/models/align.interface.mjs} +1 -1
  7. package/{esm2015/models/collision.interface.js → esm2020/models/collision.interface.mjs} +1 -1
  8. package/{esm2015/models/align-element-settings.interface.js → esm2020/models/collision.type.mjs} +1 -1
  9. package/esm2020/models/margin.interface.mjs +5 -0
  10. package/esm2020/models/offset.interface.mjs +5 -0
  11. package/esm2020/models/popup-animation.interface.mjs +5 -0
  12. package/esm2020/models/popup-ref.mjs +5 -0
  13. package/esm2020/models/popup-settings.mjs +5 -0
  14. package/esm2020/models/position-element-settings.interface.mjs +5 -0
  15. package/{esm2015/models/position-mode.js → esm2020/models/position-mode.mjs} +1 -1
  16. package/esm2020/models/position.interface.mjs +5 -0
  17. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +2 -2
  18. package/{esm2015/popup.component.js → esm2020/popup.component.mjs} +10 -10
  19. package/{esm2015/popup.module.js → esm2020/popup.module.mjs} +5 -5
  20. package/{esm2015/popup.service.js → esm2020/popup.service.mjs} +5 -5
  21. package/{esm2015/kendo-angular-popup.js → esm2020/progress-kendo-angular-popup.mjs} +2 -2
  22. package/{esm2015/scale.js → esm2020/scale.mjs} +1 -1
  23. package/{esm2015/services/align.service.js → esm2020/services/align.service.mjs} +5 -4
  24. package/{esm2015/services/animation.service.js → esm2020/services/animation.service.mjs} +5 -5
  25. package/{esm2015/services/dom.service.js → esm2020/services/dom.service.mjs} +9 -9
  26. package/{esm2015/services/position.service.js → esm2020/services/position.service.mjs} +5 -4
  27. package/{esm2015/services/resize.service.js → esm2020/services/resize.service.mjs} +6 -5
  28. package/{esm2015/services/scrollable.service.js → esm2020/services/scrollable.service.mjs} +6 -5
  29. package/{esm2015/util.js → esm2020/util.mjs} +7 -2
  30. package/fesm2015/progress-kendo-angular-popup.mjs +1374 -0
  31. package/{fesm2015/kendo-angular-popup.js → fesm2020/progress-kendo-angular-popup.mjs} +64 -59
  32. package/{main.d.ts → index.d.ts} +1 -1
  33. package/models/align-element-settings.interface.d.ts +1 -1
  34. package/models/align.interface.d.ts +1 -1
  35. package/models/collision.interface.d.ts +1 -1
  36. package/models/collision.type.d.ts +1 -1
  37. package/models/margin.interface.d.ts +1 -1
  38. package/models/offset.interface.d.ts +1 -1
  39. package/models/popup-animation.interface.d.ts +1 -1
  40. package/models/popup-ref.d.ts +1 -1
  41. package/models/popup-settings.d.ts +1 -1
  42. package/models/position-element-settings.interface.d.ts +1 -1
  43. package/models/position-mode.d.ts +1 -1
  44. package/models/position.interface.d.ts +1 -1
  45. package/package-metadata.d.ts +1 -1
  46. package/package.json +27 -54
  47. package/popup.component.d.ts +8 -8
  48. package/popup.module.d.ts +1 -1
  49. package/popup.service.d.ts +1 -1
  50. package/{kendo-angular-popup.d.ts → progress-kendo-angular-popup.d.ts} +2 -2
  51. package/scale.d.ts +1 -1
  52. package/schematics/ngAdd/index.js +1 -5
  53. package/services/align.service.d.ts +1 -1
  54. package/services/animation.service.d.ts +1 -1
  55. package/services/dom.service.d.ts +6 -6
  56. package/services/position.service.d.ts +1 -1
  57. package/services/resize.service.d.ts +2 -2
  58. package/services/scrollable.service.d.ts +2 -2
  59. package/util.d.ts +3 -3
  60. package/bundles/kendo-angular-popup.umd.js +0 -5
  61. package/esm2015/models/margin.interface.js +0 -5
  62. package/esm2015/models/offset.interface.js +0 -5
  63. package/esm2015/models/popup-animation.interface.js +0 -5
  64. package/esm2015/models/popup-ref.js +0 -5
  65. package/esm2015/models/popup-settings.js +0 -5
  66. package/esm2015/models/position-element-settings.interface.js +0 -5
  67. package/esm2015/models/position.interface.js +0 -5
  68. package/schematics/ngAdd/index.js.map +0 -1
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**Telerik End
8
8
 
9
9
  All available Kendo UI commercial licenses may be obtained at http://www.telerik.com/purchase/kendo-ui.
10
10
 
11
- *Copyright © 2022 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
11
+ *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
package/NOTICE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Progress Kendo UI for Angular 2022
1
+ Progress Kendo UI for Angular 2023
2
2
 
3
3
  Copyright (c) 2016-2022 Progress Software Corporation and/or one of its
4
4
  subsidiaries or affiliates. All rights reserved.
@@ -37,7 +37,7 @@ DefinitelyTyped.org | @types/prosemirror-view | 1.11.4 - Open Source | MIT-style
37
37
  Isaac Z. Schlueter | glob | 7.1.3 - Open Source | ISC-style License
38
38
  Jorik Tangelder (Eight Media) | HammerJS | 2.0.8 - Open Source | MIT-style License
39
39
  Matt Mueller | cheerio | 0.22 - Open Source | MIT-style License
40
- Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
40
+ Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
41
41
  Progress Software Corporation | jszip-esm | 1.0.0 - Open Source | MIT-style License
42
42
  Progress Software Corporation | pako-esm | 1.0.0 - Open Source | MIT-style License
43
43
  ProseMirror | prosemiror-inputrules | 1.0.1 - Open Source | MIT-style License
@@ -433,7 +433,7 @@ subject to the following terms and conditions:
433
433
  @types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
434
434
  @types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
435
435
  @types/prosemirror-transform v1*, and @types/prosemirror-view v1*. Such technologies are
436
- subject to the following terms and conditions:
436
+ subject to the following terms and conditions:
437
437
 
438
438
  This project is licensed under the MIT license.
439
439
  Copyrights are respective of each contributor listed at the beginning of each
@@ -640,7 +640,7 @@ Such technology is subject to the following terms and conditions:
640
640
  2. Special Notices Regarding Commercially Licensed Third-Party Components
641
641
  incorporated into the Product: NONE
642
642
 
643
- 3. Special Notices Regarding Progress Products incorporated into the Product:
643
+ 3. Special Notices Regarding Progress Products incorporated into the Product:
644
644
 
645
645
  (a) Progress Kendo UI for Angular 2022 incorporates Kendo UI Licensing CLI v1.1
646
646
  from Progress Software Corporation. See NOTICE.txt text file within product for
package/README.md CHANGED
@@ -22,10 +22,10 @@ The Kendo UI for Angular Popup ovelays content next to a specific anchor HTML el
22
22
 
23
23
  * [Animations](https://www.telerik.com/kendo-angular-ui/components/popup/animations/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Customize the animation of the Popup and change its direction, type, and duration, or disable it.
24
24
  * [Aligning and Positioning](https://www.telerik.com/kendo-angular-ui/components/popup/aligning-positioning/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Align the Popup components to other components and absolute points as well as to control its position and render a margin according to a specific elements.
25
- * [Document Scale](https://www.telerik.com/kendo-angular-ui/components/popup/document-scale/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—The Angular Popup provides configuration options for declaring the document scale so that it gets properly positioned.
26
- * [Styling](https://www.telerik.com/kendo-angular-ui/components/popup/styling/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Customize the appearance of the host Popup element and the elements that hold its content as well as copy the anchor font styles of the content-holding element.
27
- * [Viewport Boundary Detection](https://www.telerik.com/kendo-angular-ui/components/popup/viewport-boundary/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Set the compponent's boundary detection functionality so that when it does not fit in the viewport, it will automatically change its position.
28
- * [Angular Service](https://www.telerik.com/kendo-angular-ui/components/popup/service/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Create Popup instances from TypeScript based on user interactions and without the need to define the component in a template.
25
+ * [Document Scale](https://www.telerik.com/kendo-angular-ui/components/popup/document-scale/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—The Angular Popup provides configuration options for declaring the document scale so that it gets properly positioned.
26
+ * [Styling](https://www.telerik.com/kendo-angular-ui/components/popup/styling/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Customize the appearance of the host Popup element and the elements that hold its content as well as copy the anchor font styles of the content-holding element.
27
+ * [Viewport Boundary Detection](https://www.telerik.com/kendo-angular-ui/components/popup/viewport-boundary/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Set the compponent's boundary detection functionality so that when it does not fit in the viewport, it will automatically change its position.
28
+ * [Angular Service](https://www.telerik.com/kendo-angular-ui/components/popup/service/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-popup)—Create Popup instances from TypeScript based on user interactions and without the need to define the component in a template.
29
29
 
30
30
  ## Resources
31
31
 
@@ -41,6 +41,6 @@ The Kendo UI for Angular Popup ovelays content next to a specific anchor HTML el
41
41
  * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
42
42
  * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
43
43
 
44
- *Copyright © 2022 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
44
+ *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
45
45
 
46
46
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export { PopupService, POPUP_CONTAINER } from './popup.service';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-popup',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1668698035,
12
+ publishDate: 1673510311,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
5
+ import { Component, ElementRef, EventEmitter, Input, Output, NgZone, Renderer2, ViewChild } from '@angular/core';
6
6
  import { AlignService } from './services/align.service';
7
7
  import { DOMService } from './services/dom.service';
8
8
  import { PositionService } from './services/position.service';
@@ -130,11 +130,11 @@ export class PopupComponent {
130
130
  * </label>
131
131
  * <label>
132
132
  * <input type="radio" name="place" [value]="2" [(ngModel)]="checked" />
133
- * <span style="color: red">Red Container</span>
133
+ * <span [style.color]="'red'">Red Container</span>
134
134
  * </label>
135
135
  * <label>
136
136
  * <input type="radio" name="place" [value]="3" [(ngModel)]="checked" />
137
- * <span style="color: blue">Blue Container</span>
137
+ * <span [style.color]="'blue'">Blue Container</span>
138
138
  * </label>
139
139
  * </div>
140
140
  * <div class="example">
@@ -148,7 +148,7 @@ export class PopupComponent {
148
148
  * <li>Item3</li>
149
149
  * </ul>
150
150
  * </kendo-popup>
151
- * <span style="position: absolute; top: 400px; left: 400px">Bottom/Right</span>
151
+ * <span [style.position]="'absolute'" [style.top.px]="400" [style.left.px]="400">Bottom/Right</span>
152
152
  * </div>
153
153
  * <kendo-popup [positionMode]="mode" [anchor]="anchor" (anchorViewportLeave)="show=false" *ngIf="show && checked === 2">
154
154
  * <ul>
@@ -157,7 +157,7 @@ export class PopupComponent {
157
157
  * <li>Item3</li>
158
158
  * </ul>
159
159
  * </kendo-popup>
160
- * <span style="position: absolute; top: 600px; left: 600px">Bottom/Right</span>
160
+ * <span [style.position]="'absolute'" [style.top.px]="600" [style.left.px]="600">Bottom/Right</span>
161
161
  * </div>
162
162
  * <kendo-popup [positionMode]="mode" [anchor]="anchor" (anchorViewportLeave)="show=false" *ngIf="show && checked === 1">
163
163
  * <ul>
@@ -337,7 +337,7 @@ export class PopupComponent {
337
337
  return;
338
338
  }
339
339
  this.domService.getFontStyles(this.domService.nativeElement(this.anchor))
340
- .forEach(s => this.setContainerStyle(s.key, s.value));
340
+ .forEach((s) => this.setContainerStyle(s.key, s.value));
341
341
  }
342
342
  updateFixedClass() {
343
343
  const action = this.positionMode === 'fixed' ? 'addClass' : 'removeClass';
@@ -352,8 +352,8 @@ export class PopupComponent {
352
352
  }
353
353
  }
354
354
  }
355
- PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupComponent, deps: [{ token: i0.ElementRef }, { token: i1.AlignService }, { token: i2.DOMService }, { token: i3.PositionService }, { token: i4.ResizeService }, { token: i5.ScrollableService }, { token: i6.AnimationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
356
- PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PopupComponent, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
355
+ PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i0.ElementRef }, { token: i1.AlignService }, { token: i2.DOMService }, { token: i3.PositionService }, { token: i4.ResizeService }, { token: i5.ScrollableService }, { token: i6.AnimationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
356
+ PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopupComponent, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
357
357
  <div class="k-popup" [ngClass]="popupClass" #container>
358
358
  <ng-content></ng-content>
359
359
  <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>
@@ -361,7 +361,7 @@ PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
361
361
  </kendo-resize-sensor>
362
362
  </div>
363
363
  `, isInline: true, components: [{ type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupComponent, decorators: [{
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, decorators: [{
365
365
  type: Component,
366
366
  args: [{
367
367
  exportAs: 'kendo-popup',
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { NgModule } from '@angular/core';
@@ -42,10 +42,10 @@ const POPUP_DIRECTIVES = [PopupComponent];
42
42
  */
43
43
  export class PopupModule {
44
44
  }
45
- PopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupModule, declarations: [PopupComponent], imports: [CommonModule, ResizeSensorModule], exports: [PopupComponent] });
47
- PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupModule, providers: [PopupService], imports: [[CommonModule, ResizeSensorModule]] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupModule, decorators: [{
45
+ PopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
+ PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupModule, declarations: [PopupComponent], imports: [CommonModule, ResizeSensorModule], exports: [PopupComponent] });
47
+ PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupModule, providers: [PopupService], imports: [[CommonModule, ResizeSensorModule]] });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  declarations: [POPUP_DIRECTIVES],
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { InjectionToken, Injectable, Inject, Optional, TemplateRef } from '@angular/core';
5
+ import { ApplicationRef, ComponentFactoryResolver, ElementRef, InjectionToken, Injectable, Injector, Inject, Optional, TemplateRef } from '@angular/core';
6
6
  import { PopupComponent } from './popup.component';
7
7
  import * as i0 from "@angular/core";
8
8
  const removeElement = (element) => {
@@ -234,9 +234,9 @@ export class PopupService {
234
234
  };
235
235
  }
236
236
  }
237
- PopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
238
- PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupService });
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PopupService, decorators: [{
237
+ PopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
238
+ PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupService });
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupService, decorators: [{
240
240
  type: Injectable
241
241
  }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
242
242
  type: Inject,
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
- export * from './main';
8
+ export * from './index';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { InjectionToken } from '@angular/core';
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Injectable, Inject, Optional } from '@angular/core';
6
+ import { DOMService } from './dom.service';
6
7
  import { eitherRect, removeStackingOffset, scaleRect } from '../util';
7
8
  import { SCALE } from '../scale';
8
9
  import * as i0 from "@angular/core";
@@ -54,9 +55,9 @@ export class AlignService {
54
55
  return scaleRect(rect, scale);
55
56
  }
56
57
  }
57
- AlignService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AlignService, deps: [{ token: i1.DOMService }, { token: SCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
58
- AlignService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AlignService });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AlignService, decorators: [{
58
+ AlignService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlignService, deps: [{ token: i1.DOMService }, { token: SCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
59
+ AlignService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlignService });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlignService, decorators: [{
60
61
  type: Injectable
61
62
  }], ctorParameters: function () { return [{ type: i1.DOMService }, { type: undefined, decorators: [{
62
63
  type: Inject,
@@ -1,9 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Injectable, isDevMode, EventEmitter } from '@angular/core';
6
- import { animate, style } from '@angular/animations';
6
+ import { animate, style, AnimationBuilder } from '@angular/animations';
7
7
  import * as i0 from "@angular/core";
8
8
  import * as i1 from "@angular/animations";
9
9
  const LEFT = 'left';
@@ -128,8 +128,8 @@ export class AnimationService {
128
128
  }
129
129
  }
130
130
  }
131
- AnimationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AnimationService, deps: [{ token: i1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Injectable });
132
- AnimationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AnimationService });
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AnimationService, decorators: [{
131
+ AnimationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AnimationService, deps: [{ token: i1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Injectable });
132
+ AnimationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AnimationService });
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AnimationService, decorators: [{
134
134
  type: Injectable
135
135
  }], ctorParameters: function () { return [{ type: i1.AnimationBuilder }]; } });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Injectable } from '@angular/core';
@@ -40,25 +40,25 @@ export class DOMService {
40
40
  return [];
41
41
  }
42
42
  const computedStyles = window.getComputedStyle(el);
43
- return STYLES.map(font => ({ key: font, value: computedStyles[font] }));
43
+ return STYLES.map(key => ({ key: key, value: computedStyles[key] }));
44
44
  }
45
45
  getWindow() {
46
46
  return isWindowAvailable() ? window : null;
47
47
  }
48
48
  hasOffsetParent(el) {
49
- if (!el) {
49
+ if (!el || !isDocumentAvailable()) {
50
50
  return false;
51
51
  }
52
52
  return !!this.nativeElement(el).offsetParent;
53
53
  }
54
54
  offset(el) {
55
- if (!el) {
55
+ if (!el || !isDocumentAvailable()) {
56
56
  return null;
57
57
  }
58
58
  return offset(el);
59
59
  }
60
60
  offsetAtPoint(el, currentLocation) {
61
- if (!el) {
61
+ if (!el || !isDocumentAvailable()) {
62
62
  return null;
63
63
  }
64
64
  const element = this.nativeElement(el);
@@ -76,7 +76,7 @@ export class DOMService {
76
76
  return currentOffset;
77
77
  }
78
78
  nativeElement(el) {
79
- if (!el) {
79
+ if (!el || !isDocumentAvailable()) {
80
80
  return null;
81
81
  }
82
82
  return el.nativeElement || el;
@@ -148,8 +148,8 @@ export class DOMService {
148
148
  return this.zoomLevel() > 1;
149
149
  }
150
150
  }
151
- DOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
152
- DOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DOMService });
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DOMService, decorators: [{
151
+ DOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
152
+ DOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DOMService });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DOMService, decorators: [{
154
154
  type: Injectable
155
155
  }] });
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Inject, Injectable, Optional } from '@angular/core';
6
+ import { DOMService } from './dom.service';
6
7
  import { eitherRect, scaleRect } from '../util';
7
8
  import { SCALE } from '../scale';
8
9
  import * as i0 from "@angular/core";
@@ -43,9 +44,9 @@ export class PositionService {
43
44
  };
44
45
  }
45
46
  }
46
- PositionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PositionService, deps: [{ token: i1.DOMService }, { token: SCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
47
- PositionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PositionService });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PositionService, decorators: [{
47
+ PositionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PositionService, deps: [{ token: i1.DOMService }, { token: SCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
48
+ PositionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PositionService });
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PositionService, decorators: [{
49
50
  type: Injectable
50
51
  }], ctorParameters: function () { return [{ type: i1.DOMService }, { type: undefined, decorators: [{
51
52
  type: Inject,
@@ -1,12 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { Injectable } from '@angular/core';
5
+ import { Injectable, NgZone } from '@angular/core';
6
6
  import { fromEvent } from 'rxjs';
7
7
  import { auditTime } from 'rxjs/operators';
8
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
9
  import { FRAME_DURATION } from '../util';
10
+ import { DOMService } from './dom.service';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "./dom.service";
12
13
  /**
@@ -37,8 +38,8 @@ export class ResizeService {
37
38
  return this.subscription && this.subscription.closed;
38
39
  }
39
40
  }
40
- ResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeService, deps: [{ token: i1.DOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
41
- ResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeService });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeService, decorators: [{
41
+ ResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeService, deps: [{ token: i1.DOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
42
+ ResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeService });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeService, decorators: [{
43
44
  type: Injectable
44
45
  }], ctorParameters: function () { return [{ type: i1.DOMService }, { type: i0.NgZone }]; } });
@@ -1,11 +1,12 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { Injectable } from '@angular/core';
5
+ import { Injectable, NgZone } from '@angular/core';
6
6
  import { fromEvent, merge } from 'rxjs';
7
7
  import { auditTime } from 'rxjs/operators';
8
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
+ import { DOMService } from './dom.service';
9
10
  import { FRAME_DURATION } from '../util';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "./dom.service";
@@ -69,8 +70,8 @@ export class ScrollableService {
69
70
  return true;
70
71
  }
71
72
  }
72
- ScrollableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollableService, deps: [{ token: i1.DOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
73
- ScrollableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollableService });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScrollableService, decorators: [{
73
+ ScrollableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollableService, deps: [{ token: i1.DOMService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
74
+ ScrollableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollableService });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollableService, decorators: [{
75
76
  type: Injectable
76
77
  }], ctorParameters: function () { return [{ type: i1.DOMService }, { type: i0.NgZone }]; } });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { parents, siblingContainer } from '@progress/kendo-popup-common';
@@ -97,6 +97,7 @@ export const scrollableParents = (element) => {
97
97
  * @hidden
98
98
  */
99
99
  export const FRAME_DURATION = 1000 / 60; //1000ms divided by 60fps
100
+ // eslint-disable-next-line @typescript-eslint/ban-types
100
101
  function memoize(fun) {
101
102
  let result;
102
103
  let called = false;
@@ -119,7 +120,11 @@ export const hasRelativeStackingContext = memoize(() => {
119
120
  const top = 10;
120
121
  const parent = document.createElement("div");
121
122
  parent.style.transform = "matrix(10, 0, 0, 10, 0, 0)";
122
- parent.innerHTML = `<div style="position: fixed; top: ${top}px;">child</div>`;
123
+ const childElement = document.createElement("div");
124
+ childElement.style.position = 'fixed';
125
+ childElement.style.top = `${top}px`;
126
+ childElement.textContent = 'child';
127
+ parent.appendChild(childElement);
123
128
  document.body.appendChild(parent);
124
129
  const isDifferent = parent.children[0].getBoundingClientRect().top !== top;
125
130
  document.body.removeChild(parent);